/* ===== WingMan - Enodia Design System Mockup ===== */

/* --- CSS Custom Properties (Theme Tokens) --- */
:root {
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aaa;
    --text-disabled: #b0b0c0;
    --text-inverse: #ffffff;

    --bg-canvas: #f4f5f7;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f8f9fb;
    --bg-sidebar: #1a1a2e;
    --bg-chrome: #ffffff;
    --bg-hover: rgba(0, 0, 0, 0.04);
    --bg-active: rgba(59, 130, 246, 0.08);

    --border-default: #e2e4e9;
    --border-light: #f0f1f3;
    --border-strong: #c8cad0;

    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-primary-light: #eff6ff;

    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-success: #22c55e;
    --color-info: #06b6d4;
    --color-purple: #8b5cf6;
    --primary: #4f46e5;
    --indigo-50: #eef2ff;
    --color-indigo: #6366f1;
    --color-teal: #14b8a6;
    --color-pink: #ec4899;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --width-sidebar: 240px;
    --height-chrome: 51px;
    --transition-layout: 260ms cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Cascadia Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-canvas);
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
}

/* --- App Shell --- */
.app-shell { display: grid; grid-template-columns: var(--width-sidebar) 1fr; height: 100vh; overflow: hidden; }
.app-sidebar { background: var(--bg-sidebar); color: var(--text-inverse); display: flex; flex-direction: column; height: 100vh; overflow: hidden; width: var(--width-sidebar); z-index: 60; }
.app-workspace { display: grid; grid-template-rows: var(--height-chrome) 1fr; overflow: hidden; min-width: 0; }

/* --- Chrome --- */
.app-chrome { background: var(--bg-chrome); border-bottom: 1px solid var(--border-default); display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; height: var(--height-chrome); z-index: 30; }
.topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.topbar-right { display: flex; align-items: center; gap: 0.5rem; }

/* --- Frame --- */
.app-frame { overflow: auto; background: var(--bg-canvas); }
.frame-canvas { padding: 1.5rem; max-width: 100%; }

/* --- Sidebar --- */
.sidebar-top { padding: 1rem 1rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-inverse); }
.sidebar-brand-icon { width: 36px; height: 36px; background: var(--color-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.sidebar-brand-text { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.sidebar-brand-sub { font-size: 0.6875rem; color: rgba(255,255,255,0.5); font-weight: 400; }
.sidebar-body { flex: 1; overflow-y: auto; padding: 0.5rem 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
.sidebar-section { padding: 0 0.5rem; margin-bottom: 0.25rem; }
.sidebar-section-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); padding: 0.75rem 0.75rem 0.375rem; }
.sidebar-item { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.75rem; border-radius: var(--radius-md); color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.8125rem; font-weight: 450; transition: all 150ms ease; cursor: pointer; }
.sidebar-item:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.95); }
.sidebar-item.active { background: rgba(59, 130, 246, 0.2); color: #ffffff; font-weight: 500; }
.sidebar-item-icon { width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; flex-shrink: 0; opacity: 0.7; }
.sidebar-item.active .sidebar-item-icon { opacity: 1; }
.sidebar-footer { padding: 0.75rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.6875rem; color: rgba(255,255,255,0.35); }

/* --- Typography --- */
.page-title { font-size: 1.5rem; font-weight: 300; color: var(--text-primary); letter-spacing: -0.02em; }
.panel-title { font-size: 1.125rem; font-weight: 300; color: var(--text-primary); }
.section-title { font-size: 0.9375rem; font-weight: 500; color: var(--text-primary); }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-success { color: var(--color-success) !important; }
.text-warning { color: var(--color-warning) !important; }

/* --- Cards --- */
.card { background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 1.25rem; }
.card-footer { padding: 0.75rem 1.25rem; border-top: 1px solid var(--border-light); background: var(--bg-surface-alt); }
.card-flat { box-shadow: none; }

/* --- Tables --- */
.table-container { border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-sm); }
table.table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
table.table thead th { padding: 0.625rem 0.875rem; text-align: left; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); background: var(--bg-surface-alt); border-bottom: 1px solid var(--border-default); white-space: nowrap; }
table.table tbody td { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--border-light); color: var(--text-primary); vertical-align: middle; }
table.table tbody tr:last-child td { border-bottom: none; }
table.table tbody tr:hover { background: var(--bg-hover); }
table.table .col-num { text-align: right; font-variant-numeric: tabular-nums; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; padding: 0.5rem 1rem; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; line-height: 1.25; border: 1px solid transparent; cursor: pointer; transition: all 150ms ease; text-decoration: none; white-space: nowrap; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-primary { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-danger { background: var(--color-danger); color: white; }
.btn-success { background: var(--color-success); color: white; }
.btn-sm { padding: 0.3125rem 0.75rem; font-size: 0.75rem; }
.btn-xs { padding: 0.1875rem 0.5rem; font-size: 0.6875rem; }
.btn-icon { padding: 0.5rem; aspect-ratio: 1; }
.btn-group { display: inline-flex; }
.btn-group > .btn { border-radius: 0; }
.btn-group > .btn:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.btn-group > .btn:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.btn-group > .btn + .btn { margin-left: -1px; }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.6875rem; font-weight: 500; line-height: 1.5; white-space: nowrap; background: var(--bg-surface-alt); color: var(--text-secondary); border: 1px solid var(--border-default); }
.badge-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.badge-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge-info { background: #ecfeff; color: #155e75; border-color: #a5f3fc; }
.badge-purple { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }
.badge-indigo { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }

/* --- Forms --- */
.form-group { margin-bottom: 1rem; }
.form-group-compact { margin-bottom: 0.625rem; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.375rem; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-control { display: block; width: 100%; padding: 0.5rem 0.75rem; font-size: 0.8125rem; font-family: var(--font-sans); color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-md); transition: border-color 150ms ease, box-shadow 150ms ease; line-height: 1.5; }
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L6 9.31 2.22 5.53a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; }
.form-check input[type="checkbox"], .form-check input[type="radio"] { width: 1rem; height: 1rem; accent-color: var(--color-primary); }
.form-check-label { font-size: 0.8125rem; color: var(--text-primary); cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.form-col-12 { grid-column: span 12; }
.form-col-6 { grid-column: span 6; }
.form-col-4 { grid-column: span 4; }
.form-col-3 { grid-column: span 3; }

/* --- Schedule Grid --- */
.schedule-grid { position: relative; overflow-x: auto; }
.schedule-header { display: flex; background: var(--bg-surface-alt); border-bottom: 1px solid var(--border-default); font-size: 0.6875rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; }
.schedule-header-label { width: 140px; padding: 0.5rem 0.75rem; border-right: 1px solid var(--border-default); flex-shrink: 0; }
.schedule-header-times { display: flex; flex: 1; }
.schedule-header-time { flex: 1; padding: 0.5rem 0.25rem; text-align: center; border-right: 1px solid var(--border-light); min-width: 60px; }
.schedule-section-label { padding: 0.375rem 0.75rem; background: var(--bg-surface-alt); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid var(--border-default); }
.schedule-row { display: flex; border-bottom: 1px solid var(--border-light); min-height: 36px; }
.schedule-row:hover { background: var(--bg-hover); }
.schedule-row-label { width: 140px; flex-shrink: 0; padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 450; color: var(--text-primary); border-right: 1px solid var(--border-default); display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-row-timeline { flex: 1; position: relative; display: flex; }
.schedule-row-slot { flex: 1; border-right: 1px solid var(--border-light); min-width: 60px; }
.schedule-block { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; padding: 0 0.375rem; font-size: 0.6875rem; font-weight: 500; color: white; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; transition: opacity 150ms ease; z-index: 1; }
.schedule-block:hover { opacity: 0.85; }
.schedule-block.type-dual { background: #3b82f6; }
.schedule-block.type-solo { background: #22c55e; }
.schedule-block.type-checkout { background: #f59e0b; }
.schedule-block.type-instructor { background: #8b5cf6; }
.schedule-now-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--color-danger); z-index: 5; }

/* --- Calendar --- */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; }
.calendar-header-cell { padding: 0.5rem; text-align: center; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); background: var(--bg-surface-alt); border-bottom: 1px solid var(--border-default); }
.calendar-day { min-height: 80px; padding: 0.375rem; border-bottom: 1px solid var(--border-light); border-right: 1px solid var(--border-light); background: var(--bg-surface); font-size: 0.75rem; }
.calendar-day:nth-child(7n) { border-right: none; }
.calendar-day.other-month { background: var(--bg-surface-alt); }
.calendar-day.other-month .calendar-date { color: var(--text-muted); }
.calendar-day.today { background: var(--color-primary-light); }
.calendar-date { font-weight: 600; font-size: 0.8125rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.calendar-event { padding: 0.125rem 0.375rem; border-radius: 3px; font-size: 0.625rem; font-weight: 500; margin-bottom: 0.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: white; }

/* --- User Menu --- */
.user-menu { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; border-radius: var(--radius-md); cursor: pointer; transition: background 150ms ease; }
.user-menu:hover { background: var(--bg-hover); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 600; }
.user-name { font-size: 0.8125rem; font-weight: 500; }

/* --- Stat Cards --- */
.stat-card { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 450; }

/* --- Empty State --- */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; text-align: center; color: var(--text-muted); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state-title { font-size: 1rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.25rem; }
.empty-state-text { font-size: 0.8125rem; max-width: 320px; }

/* --- Toolbar --- */
.toolbar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; flex-wrap: wrap; }
.toolbar-separator { width: 1px; height: 1.5rem; background: var(--border-default); margin: 0 0.25rem; }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--text-muted); list-style: none; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }

/* --- Notification dot --- */
.notification-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.notification-dot.success { background: var(--color-success); }
.notification-dot.danger { background: var(--color-danger); }

/* --- Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.w-full { width: 100%; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.8125rem; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: var(--font-mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Placeholder pages */
.placeholder-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}
.placeholder-card {
    text-align: center;
    max-width: 480px;
}
.placeholder-illustration {
    margin-bottom: 2rem;
}
.placeholder-illustration img {
    width: 200px;
    height: 160px;
}
.placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--indigo-50, #eef2ff);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.placeholder-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}
.placeholder-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.placeholder-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    background: var(--indigo-50, #eef2ff);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}
.placeholder-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Sidebar Toggle & Overlay (hidden on desktop) --- */
.sidebar-toggle { display: none; background: none; border: none; font-size: 1.125rem; color: var(--text-secondary); cursor: pointer; padding: 0.375rem; border-radius: var(--radius-md); transition: background 150ms ease; }
.sidebar-toggle:hover { background: var(--bg-hover); }
.sidebar-overlay { display: none; }

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
    :root { --width-sidebar: 220px; }
    .frame-canvas { padding: 1.25rem; }
    .schedule-row-label, .schedule-header-label { width: 120px; }
}

/* --- Mobile / Tablet Portrait (max 768px) --- */
@media (max-width: 768px) {
    /* Shell: single column, no sidebar in grid */
    .app-shell { grid-template-columns: 1fr; }

    /* Sidebar: off-canvas drawer */
    .app-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
    }
    .app-shell.sidebar-open .app-sidebar { transform: translateX(0); }

    /* Overlay backdrop */
    .sidebar-overlay {
        display: block; position: fixed; inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 190;
        opacity: 0; pointer-events: none;
        transition: opacity 300ms ease;
    }
    .app-shell.sidebar-open .sidebar-overlay { opacity: 1; pointer-events: auto; }

    /* Hamburger toggle visible */
    .sidebar-toggle { display: flex; }

    /* Chrome: compact */
    .user-name { display: none; }
    .toolbar-separator { display: none; }
    .topbar-right .btn-sm { padding: 0.3125rem 0.5rem; }

    /* Forms: full width columns */
    .form-col-6, .form-col-4, .form-col-3 { grid-column: span 12; }

    /* Stats grid */
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }

    /* Card header: wrap on mobile */
    .card-header { flex-wrap: wrap; gap: 0.75rem; }

    /* Schedule grid: reduce label width, allow scroll */
    .schedule-row-label, .schedule-header-label { width: 100px; font-size: 0.6875rem; }
    .schedule-header-time { min-width: 50px; }
    .schedule-row-slot { min-width: 50px; }

    /* Tables: horizontal scroll */
    .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Calendar */
    .calendar-day { min-height: 60px; padding: 0.25rem; }
    .calendar-date { font-size: 0.75rem; }
    .calendar-event { font-size: 0.5625rem; }

    /* Page title */
    .page-title { font-size: 1.25rem; }

    /* Frame padding */
    .frame-canvas { padding: 1rem; }
}

/* --- Small Phones (max 480px) --- */
@media (max-width: 480px) {
    /* Stats: single column */
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }

    /* Even more compact padding */
    .frame-canvas { padding: 0.75rem; }
    .card-body { padding: 1rem; }
    .card-header { padding: 0.75rem 1rem; }

    /* Schedule */
    .schedule-row-label, .schedule-header-label { width: 80px; font-size: 0.625rem; }
    .schedule-block { font-size: 0.5625rem; padding: 0 0.25rem; }

    /* Calendar: very compact */
    .calendar-day { min-height: 48px; }
    .calendar-header-cell { padding: 0.375rem 0.25rem; font-size: 0.625rem; }
    .calendar-event { font-size: 0.5rem; padding: 0.0625rem 0.25rem; }

    /* Stat cards */
    .stat-value { font-size: 1.5rem; }

    /* Placeholder pages */
    .placeholder-illustration img { width: 160px; height: 128px; }
    .placeholder-title { font-size: 1.25rem; }

    /* Breadcrumb: truncate long titles */
    .breadcrumb { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 50vw; }
}
