/*
 * EagleVAMS - Custom Theme Overrides
 * Inspired by modern Virtual Operations sites (IVAO)
 * Inter is loaded from layouts/app.blade.php.
 *
 * Colours come from the tokens below. Light is the default; dark is applied by
 * data-bs-theme="dark" on <html> (set from localStorage "theme", shared with the
 * Filament admin panel). Never hard-code #fff/#000 in components - use a token.
 */

:root {
    /* Brand (same in both themes) */
    --vams-primary: #0D2C99; /* IVAO Blue */
    --vams-secondary: #1440cc; /* IVAO Light Blue */
    --vams-navy: #071459;
    --vams-accent: #3b82f6; /* Blue 500 */
    --vams-gold: #f59e0b; /* Highlights: main homebase, own squadron */
    --vams-radius: 1rem;

    /* Theme tokens: light */
    --vams-bg-body: #f3f4f6;
    --vams-surface: #ffffff;
    --vams-surface-2: #f8fafc;
    --vams-row-hover: #fafbff;
    --vams-text-dark: #111827;
    --vams-heading: #071459;
    --vams-text-muted: #6b7280;
    --vams-border: #e5e7eb;
    --vams-primary-text: #0D2C99; /* primary used as text/icon colour */
    --vams-primary-soft: rgba(13, 44, 153, 0.08);
    --vams-chip-bg: #071459;
    --vams-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    --vams-shadow-hover: 0 12px 24px -8px rgba(7, 20, 89, 0.18);
    --vams-bg-card: var(--vams-surface); /* legacy alias */

    --bs-primary: var(--vams-primary);
    --bs-primary-rgb: 13, 44, 153;
    --bs-secondary: var(--vams-secondary);
    /* Bootstrap's default link blue (#0d6efd) clashes with the palette. */
    --bs-link-color: var(--vams-primary-text);
    --bs-link-color-rgb: 13, 44, 153;
    --bs-link-hover-color: var(--vams-secondary);
    --bs-link-hover-color-rgb: 20, 64, 204;
    --bs-focus-ring-color: rgba(59, 130, 246, 0.25);

    --bs-body-font-family: 'Inter', system-ui, sans-serif;
    --bs-heading-font-family: 'Inter', system-ui, sans-serif;
}

/* Theme tokens: dark */
:root[data-bs-theme="dark"] {
    color-scheme: dark;
    --vams-bg-body: #0b1020;
    --vams-surface: #141b2e;
    --vams-surface-2: #1a2238;
    --vams-row-hover: #19213a;
    --vams-text-dark: #e5e7eb;
    --vams-heading: #e8edff;
    --vams-text-muted: #9aa4b8;
    --vams-border: #263049;
    --vams-primary-text: #8fb0ff;
    --vams-primary-soft: rgba(96, 140, 255, 0.14);
    --vams-chip-bg: #24326b;
    --vams-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    --vams-shadow-hover: 0 12px 28px -8px rgba(0, 0, 0, 0.6);

    --bs-link-color-rgb: 143, 176, 255;
    --bs-link-hover-color: #b7ccff;
    --bs-link-hover-color-rgb: 183, 204, 255;
    --bs-body-bg: var(--vams-surface);
    --bs-body-color: var(--vams-text-dark);
    --bs-emphasis-color: #ffffff;
    --bs-secondary-color: var(--vams-text-muted);
    --bs-tertiary-bg: var(--vams-surface-2);
    --bs-secondary-bg: var(--vams-surface-2);
    --bs-border-color: var(--vams-border);
    --bs-heading-color: var(--vams-heading);
}

/* Base Body Styling */
body {
    background-color: var(--vams-bg-body) !important;
    color: var(--vams-text-dark) !important;
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    color: var(--vams-heading);
    letter-spacing: -0.025em;
}

/* Navbar / Header */
.navbar {
    background-color: rgba(7, 20, 89, 0.95) !important; /* Navy */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
[data-bs-theme="dark"] .navbar { background-color: rgba(8, 13, 36, 0.92) !important; }

.navbar-brand, .navbar-brand:hover {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    white-space: nowrap !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.vams-navbar { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.vams-navbar .navbar-brand img { height: 30px; }
.vams-navbar .navbar-nav .nav-link { font-size: 0.92rem; padding: 0.45rem 0.75rem !important; white-space: nowrap !important; }
.vams-navbar .dropdown-toggle::after { margin-left: 0.4em; vertical-align: 0.15em; opacity: 0.6; }
.vams-navbar .navbar-toggler { border-color: rgba(255, 255, 255, 0.2); }

/* Area switcher: Site / Dashboard / Management (mirrored in filament/site-links). */
.area-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.area-switch a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, padding 0.15s;
}
.area-switch a:not(.active) .area-label {
    display: none;
}
.area-switch a:not(.active) {
    padding: 0.3rem 0.55rem;
}
.area-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.area-switch a.active { background: #fff; color: var(--vams-navy); }
.area-switch a.is-management.active { background: var(--vams-gold); color: #1f2937; }

.nav-icon-btn {
    position: relative;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 0; background: transparent; color: rgba(255, 255, 255, 0.8);
}
.nav-icon-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-icon-btn::after { display: none !important; }
.nav-icon-btn .nav-badge {
    position: absolute; top: 3px; right: 2px;
    min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 999px; background: #dc3545; color: #fff;
    font-size: 0.62rem; font-weight: 700; line-height: 17px; text-align: center;
    border: 2px solid var(--vams-navy);
}
/* Theme toggle shows the icon of the theme you'd switch to. */
.theme-toggle .fa-sun { display: none; }
[data-bs-theme="dark"] .theme-toggle .fa-sun { display: inline-block; }
[data-bs-theme="dark"] .theme-toggle .fa-moon { display: none; }

.nav-user { display: inline-flex !important; align-items: center; gap: 0.55rem; padding: 0.25rem 0.6rem 0.25rem 0.3rem !important; border-radius: 999px !important; }
.nav-user .nav-user-text { line-height: 1.1; text-align: left; }
.nav-user .nav-user-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.nav-user .nav-user-role { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.04em; }
.avatar-initials {
    width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--vams-accent), var(--vams-secondary));
    color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}

/* Dropdowns */
.dropdown-menu {
    --bs-dropdown-bg: var(--vams-surface);
    --bs-dropdown-color: var(--vams-text-dark);
    --bs-dropdown-border-color: var(--vams-border);
    --bs-dropdown-header-color: var(--vams-text-muted);
    --bs-dropdown-divider-bg: var(--vams-border);
    background-color: var(--vams-surface);
    border: 1px solid var(--vams-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
}
.dropdown-item {
    color: var(--vams-text-dark);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--vams-surface-2);
    color: var(--vams-primary-text);
}
.dropdown-item.active, .dropdown-item:active { background-color: var(--vams-primary-soft); color: var(--vams-primary-text); }
/* Icon menus: wide enough that the one-line description never wraps. */
.dropdown-menu.dropdown-icons { min-width: 300px; }
.dropdown-mega { min-width: 600px; padding: 0.75rem; }
.dropdown-mega .dropdown-header, .dropdown-icons .dropdown-header { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--vams-text-muted); padding: 0.35rem 1rem; }
.dropdown-item .dd-title { display: block; font-weight: 600; font-size: 0.9rem; }
.dropdown-item .dd-desc { display: block; font-size: 0.75rem; color: var(--vams-text-muted); font-weight: 400; white-space: nowrap; }
.dropdown-item.has-icon { display: flex; gap: 0.75rem; align-items: center; padding: 0.55rem 0.85rem; }
.dropdown-item.has-icon > i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 0.55rem; display: inline-flex; align-items: center; justify-content: center; background: var(--vams-primary-soft); color: var(--vams-primary-text); font-size: 0.85rem; }
.notif-menu { min-width: 340px; }

@media (max-width: 991.98px) {
    .dropdown-mega, .dropdown-menu.dropdown-icons { min-width: 0; }
    .dropdown-item .dd-desc { white-space: normal; }
    .vams-navbar .navbar-collapse { padding: 0.75rem 0 0.5rem; }
    .area-switch { margin: 0.5rem 0; }
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-primary {
    background-color: var(--vams-primary);
    border-color: var(--vams-primary);
    color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--vams-secondary);
    border-color: var(--vams-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(13, 44, 153, 0.2);
}
[data-bs-theme="dark"] .btn-primary { background-color: #2048d4; border-color: #2048d4; }
[data-bs-theme="dark"] .btn-primary:hover { background-color: #3b63ec; border-color: #3b63ec; }
.btn-outline-primary {
    color: var(--vams-primary-text);
    border-color: var(--vams-primary-text);
}
.btn-outline-primary:hover {
    background-color: var(--vams-primary);
    border-color: var(--vams-primary);
    color: #ffffff;
}
[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: var(--vams-text-dark); --bs-btn-border-color: var(--vams-border); --bs-btn-hover-bg: var(--vams-surface-2); --bs-btn-hover-border-color: var(--vams-border); --bs-btn-hover-color: #fff; }

/* Bootstrap components that hard-code its default blue */
.btn-primary, .btn-outline-primary {
    --bs-btn-active-bg: var(--vams-navy);
    --bs-btn-active-border-color: var(--vams-navy);
    --bs-btn-disabled-color: var(--vams-primary-text);
    --bs-btn-disabled-border-color: var(--vams-primary-text);
}
.btn-primary { --bs-btn-disabled-bg: var(--vams-primary); --bs-btn-disabled-color: #fff; }
.btn-link { --bs-btn-color: var(--vams-primary-text); --bs-btn-hover-color: var(--vams-secondary); }
.nav-pills {
    --bs-nav-link-color: var(--vams-text-muted);
    --bs-nav-link-hover-color: var(--vams-primary-text);
    --bs-nav-pills-link-active-bg: var(--vams-primary);
    --bs-nav-link-font-weight: 600;
}
.nav-pills .nav-link { border-radius: 0.6rem; }
.page-link { --bs-pagination-color: var(--vams-primary-text); --bs-pagination-bg: var(--vams-surface); --bs-pagination-border-color: var(--vams-border); --bs-pagination-active-bg: var(--vams-primary); --bs-pagination-active-border-color: var(--vams-primary); --bs-pagination-hover-color: var(--vams-secondary); --bs-pagination-hover-bg: var(--vams-surface-2); --bs-pagination-disabled-bg: var(--vams-surface); }
.form-check-input:checked { background-color: var(--vams-primary); border-color: var(--vams-primary); }
.accent-start { box-shadow: inset 4px 0 0 var(--tone, var(--vams-primary)), var(--vams-shadow) !important; }

/* Cards */
.card {
    --bs-card-bg: var(--vams-surface);
    --bs-card-color: var(--vams-text-dark);
    background-color: var(--vams-surface);
    border: 1px solid var(--vams-border);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    color: var(--vams-text-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
:root:not([data-bs-theme="dark"]) .card { border-color: rgba(0, 0, 0, 0.05); }
.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--vams-border);
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}
.card-footer { background-color: transparent; border-top-color: var(--vams-border); }
/* Legacy "bg-primary" card headers: render as the clean header used site-wide. */
.card-header.bg-primary,
.card-header.bg-dark {
    background: var(--vams-surface) !important;
    border-bottom: 1px solid var(--vams-border);
    padding: 1rem 1.5rem;
}
.card-header.bg-primary,
.card-header.bg-primary.text-white,
.card-header.bg-primary h5,
.card-header.bg-dark,
.card-header.bg-dark.text-white,
.card-header.bg-dark h5 {
    color: var(--vams-heading) !important;
}
.card-header.bg-primary h5, .card-header.bg-dark h5 { font-size: 1rem; font-weight: 700; }
.card-header.bg-primary .btn-light, .card-header.bg-dark .btn-light { background: var(--vams-primary-soft); border-color: transparent; color: var(--vams-primary-text); }

/* Modals, list groups, alerts */
.modal-content { --bs-modal-bg: var(--vams-surface); border-radius: 1rem; border: 1px solid var(--vams-border); }
.list-group { --bs-list-group-bg: var(--vams-surface); --bs-list-group-color: var(--vams-text-dark); --bs-list-group-border-color: var(--vams-border); --bs-list-group-action-hover-bg: var(--vams-surface-2); }

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--vams-navy);
    padding: 120px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(7, 20, 89, 0.95) 0%, rgba(13, 44, 153, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: #fff !important;
}

/* Statistics Band */
.stats-band {
    background-color: var(--vams-surface);
    border-top: 1px solid var(--vams-border);
    border-bottom: 1px solid var(--vams-border);
}
.stat-item h3 {
    color: var(--vams-primary-text);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

/* Feature Icons */
.feature-icon {
    background: var(--vams-primary-soft) !important;
    color: var(--vams-primary-text) !important;
}

/* Footer */
.footer {
    background-color: var(--vams-navy) !important;
    border-top: none;
}
[data-bs-theme="dark"] .footer { background-color: #080d24 !important; border-top: 1px solid var(--vams-border); }
.footer p, .footer span, .footer div {
    color: rgba(255,255,255,0.7) !important;
}
.footer span.fw-bold {
    color: #fff !important;
}

/* Forms */
.form-control, .form-select {
    background-color: var(--vams-surface);
    border: 1px solid var(--vams-border);
    color: var(--vams-text-dark);
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
}
.form-control:focus, .form-select:focus {
    background-color: var(--vams-surface);
    color: var(--vams-text-dark);
    border-color: var(--vams-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.form-control::placeholder {
    color: var(--vams-text-muted);
}
.form-control[readonly], .form-control:disabled { background-color: var(--vams-surface-2); }
.input-group-text { background-color: var(--vams-surface-2); border-color: var(--vams-border); color: var(--vams-text-muted); }

/* Tables */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--vams-text-dark);
    --bs-table-border-color: var(--vams-border);
    --bs-table-hover-bg: var(--vams-row-hover);
    --bs-table-hover-color: var(--vams-text-dark);
    --bs-table-striped-color: var(--vams-text-dark);
    color: var(--vams-text-dark);
}
.table thead th {
    background-color: var(--vams-surface-2);
    color: var(--vams-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: none;
    padding: 1rem;
}
.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--vams-border);
}

.text-muted {
    color: var(--vams-text-muted) !important;
}
.bg-light, .bg-white {
    background-color: var(--vams-surface) !important;
}
.text-white {
    color: #ffffff !important;
}
.text-navy { color: var(--vams-heading) !important; }
.min-w-0 { min-width: 0; }
/* Navy text that stays navy in dark mode (for white buttons on photos/hero bands). */
.text-navy-fixed { color: var(--vams-navy) !important; }
.text-primary { color: var(--vams-primary-text) !important; }
code { color: #d6336c; }
[data-bs-theme="dark"] code { color: #f18bb3; }
hr { border-color: var(--vams-border); opacity: 1; }

/* Maps: darken OpenStreetMap tiles in dark mode */
[data-bs-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.9); }
[data-bs-theme="dark"] .leaflet-container { background: #1b2233; }
[data-bs-theme="dark"] .leaflet-popup-content-wrapper, [data-bs-theme="dark"] .leaflet-popup-tip { background: var(--vams-surface); color: var(--vams-text-dark); }

/* =====================================================================
 * Shared page components - every inner page is built from these so the
 * site reads as one design (see components/page-header.blade.php).
 * ===================================================================== */

/* Page header band */
.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--vams-radius);
    padding: 1.75rem 2rem;
    margin-bottom: 1.25rem;
    color: #fff;
    background: linear-gradient(120deg, var(--vams-navy) 0%, var(--vams-primary) 70%, var(--vams-secondary) 100%);
    box-shadow: 0 10px 30px rgba(7, 20, 89, 0.15);
}
[data-bs-theme="dark"] .page-hero { background: linear-gradient(120deg, #0a1240 0%, #10257f 70%, #1736a8 100%); box-shadow: none; border: 1px solid var(--vams-border); }
.page-hero::before {
    content: "";
    position: absolute;
    right: -60px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero .page-hero-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
}
.page-hero .page-hero-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.65); }
.page-hero h1 { color: #fff !important; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.1rem 0 0; }
.page-hero .page-hero-sub { color: rgba(255, 255, 255, 0.78); margin: 0.35rem 0 0; font-size: 0.95rem; max-width: 46rem; }
.page-hero .btn-light { color: var(--vams-navy); background: #fff; border-color: #fff; }
.page-hero .btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.page-hero .btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (max-width: 767.98px) {
    .page-hero { padding: 1.25rem; }
    .page-hero .page-hero-icon { width: 42px; height: 42px; font-size: 1.1rem; }
}

/* Section tabs (Activities sub-navigation) */
.section-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.35rem;
    margin-bottom: 1.5rem;
    background: var(--vams-surface);
    border-radius: 0.85rem;
    box-shadow: var(--vams-shadow);
    overflow-x: auto;
    scrollbar-width: none;
}
.section-tabs::-webkit-scrollbar { display: none; }
.section-tabs a {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.88rem; font-weight: 600;
    color: var(--vams-text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.section-tabs a:hover { color: var(--vams-primary-text); background: var(--vams-surface-2); }
.section-tabs a.active { color: #fff; background: var(--vams-primary); }
[data-bs-theme="dark"] .section-tabs a.active { background: #2048d4; }
.section-tabs a .tab-count { font-size: 0.7rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--vams-primary-soft); color: var(--vams-primary-text); }
.section-tabs a.active .tab-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.section-tabs .tabs-divider { width: 1px; margin: 0.4rem 0.25rem; background: var(--vams-border); flex-shrink: 0; }

/* Section label (small uppercase heading) */
.section-label {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--vams-text-muted);
    margin: 0 0 0.85rem;
}
.section-label .section-hint { font-size: 0.8rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--vams-text-muted); }
.section-label a { font-size: 0.78rem; text-transform: none; letter-spacing: 0; font-weight: 600; text-decoration: none; }

/* Panel: plain surface block with padding (profile widgets, sidebars) */
.panel { background: var(--vams-surface); border-radius: var(--vams-radius); box-shadow: var(--vams-shadow); padding: 1.35rem 1.5rem; border: 1px solid transparent; }
[data-bs-theme="dark"] .panel { border-color: var(--vams-border); }
.panel.is-flush { padding: 0; overflow: hidden; }
.panel.is-flush .section-label { padding: 1.1rem 1.35rem 0; }

/* Stat tiles */
.stat-tile {
    background: var(--vams-surface);
    border-radius: var(--vams-radius);
    padding: 1rem 1.15rem;
    height: 100%;
    box-shadow: var(--vams-shadow);
    display: flex; align-items: center; gap: 0.9rem;
    color: inherit; text-decoration: none;
    border: 1px solid transparent;
}
[data-bs-theme="dark"] .stat-tile { border-color: var(--vams-border); }
a.stat-tile { transition: transform 0.15s, box-shadow 0.15s; }
a.stat-tile:hover { transform: translateY(-2px); box-shadow: var(--vams-shadow-hover); }
.stat-tile .stat-icon {
    width: 42px; height: 42px; border-radius: 0.75rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--vams-primary-soft); color: var(--vams-primary-text);
}
.stat-tile .stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vams-text-muted); font-weight: 600; }
.stat-tile .stat-value { font-size: 1.35rem; font-weight: 700; color: var(--vams-text-dark); line-height: 1.2; }
.stat-tile .stat-note { font-size: 0.75rem; color: var(--vams-text-muted); }

/* Tones: set --tone / --tone-soft for pills, tiles and icons */
.tone-success { --tone: #059669; --tone-soft: rgba(5, 150, 105, 0.1); }
.tone-warning { --tone: #b45309; --tone-soft: rgba(245, 158, 11, 0.14); }
.tone-danger  { --tone: #dc2626; --tone-soft: rgba(220, 38, 38, 0.1); }
.tone-info    { --tone: #0284c7; --tone-soft: rgba(2, 132, 199, 0.1); }
.tone-muted   { --tone: #4b5563; --tone-soft: rgba(107, 114, 128, 0.12); }
.tone-primary { --tone: var(--vams-primary-text); --tone-soft: var(--vams-primary-soft); }
[data-bs-theme="dark"] .tone-success { --tone: #34d399; --tone-soft: rgba(52, 211, 153, 0.14); }
[data-bs-theme="dark"] .tone-warning { --tone: #fbbf24; --tone-soft: rgba(251, 191, 36, 0.14); }
[data-bs-theme="dark"] .tone-danger  { --tone: #f87171; --tone-soft: rgba(248, 113, 113, 0.14); }
[data-bs-theme="dark"] .tone-info    { --tone: #38bdf8; --tone-soft: rgba(56, 189, 248, 0.14); }
[data-bs-theme="dark"] .tone-muted   { --tone: #b6bfcf; --tone-soft: rgba(182, 191, 207, 0.12); }
.stat-tile[class*="tone-"] .stat-icon, .tile-link[class*="tone-"] .tile-icon { background: var(--tone-soft); color: var(--tone); }

/* Status pills */
.status-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 600; line-height: 1.3;
    white-space: nowrap;
    background: var(--tone-soft, var(--vams-primary-soft));
    color: var(--tone, var(--vams-primary-text));
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.no-dot::before { display: none; }
.status-pill.on-dark { background: rgba(255, 255, 255, 0.14); color: #fff; }
/* On dark hero bands the tone shows as a coloured dot only. */
.status-pill.on-dark[class*="tone-"]::before { background: var(--tone); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.status-pill.on-dark.tone-success { --tone: #34d399; }
.status-pill.on-dark.tone-warning { --tone: #fbbf24; }
.status-pill.on-dark.tone-muted { --tone: #cbd5e1; }

/* ICAO chips & route */
.icao-chip {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.4rem;
    background: var(--vams-chip-bg); color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.route { display: inline-flex; align-items: center; gap: 0.45rem; }
.route .route-line { color: var(--vams-text-muted); font-size: 0.75rem; }
.type-chip {
    display: inline-block; padding: 0.1rem 0.45rem; margin: 0 0.2rem 0.2rem 0;
    border-radius: 0.35rem; border: 1px solid var(--vams-border); background: var(--vams-surface);
    font-size: 0.75rem; font-weight: 600; color: var(--vams-text-dark);
}

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.empty-state.is-compact { padding: 1.5rem 1rem; }
.empty-state .empty-icon {
    width: 64px; height: 64px; margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--vams-primary-soft); color: var(--vams-primary-text);
    font-size: 1.5rem;
}
.empty-state.is-compact .empty-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 0.6rem; }
.empty-state h5 { margin-bottom: 0.35rem; }
.empty-state p { color: var(--vams-text-muted); max-width: 30rem; margin: 0 auto; }

/* Quick action tiles */
.tile-link {
    display: flex; gap: 0.9rem; align-items: flex-start;
    height: 100%;
    padding: 1.1rem 1.2rem;
    background: var(--vams-surface);
    border-radius: var(--vams-radius);
    box-shadow: var(--vams-shadow);
    border: 1px solid transparent;
    color: var(--vams-text-dark); text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
[data-bs-theme="dark"] .tile-link { border-color: var(--vams-border); }
.tile-link:hover { transform: translateY(-2px); box-shadow: var(--vams-shadow-hover); color: var(--vams-text-dark); }
.tile-link .tile-icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--vams-primary-soft); color: var(--vams-primary-text); font-size: 1.05rem;
}
.tile-link .tile-title { font-weight: 700; color: var(--vams-heading); display: flex; align-items: center; gap: 0.5rem; }
.tile-link .tile-desc { font-size: 0.83rem; color: var(--vams-text-muted); margin-top: 0.15rem; }
.tile-link .tile-arrow { margin-left: auto; color: var(--vams-text-muted); align-self: center; transition: transform 0.15s; }
.tile-link:hover .tile-arrow { transform: translateX(3px); color: var(--vams-primary-text); }

.icon-badge {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 0.65rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--tone-soft, var(--vams-primary-soft)); color: var(--tone, var(--vams-primary-text)); font-size: 0.9rem;
}

/* Media cards (events, tours, squadrons) */
.media-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; border: none; box-shadow: var(--vams-shadow); }
[data-bs-theme="dark"] .media-card { border: 1px solid var(--vams-border); }
.media-card:hover { box-shadow: var(--vams-shadow-hover); }
.media-card .media-cover {
    position: relative; height: 160px; flex-shrink: 0;
    /* Set --cover: url(...) inline; the gradient stays underneath if the image fails. */
    background-image: var(--cover, none), linear-gradient(120deg, var(--vams-navy), var(--vams-primary));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.media-card .media-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 89, 0) 40%, rgba(7, 20, 89, 0.65) 100%); }
.media-card .media-cover .cover-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(255, 255, 255, 0.25); }
.media-card .media-badges { position: absolute; z-index: 1; top: 0.75rem; left: 0.75rem; right: 0.75rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.media-card .media-badges .status-pill { background: var(--vams-surface); }
.media-card .card-body { display: flex; flex-direction: column; padding: 1.15rem 1.25rem 1.25rem; }
.media-card .card-title { font-size: 1.08rem; margin-bottom: 0.35rem; }
.media-card .meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.82rem; color: var(--vams-text-muted); margin-bottom: 0.75rem; }
.media-card .meta-row i { width: 14px; text-align: center; margin-right: 0.3rem; color: var(--vams-primary-text); }

/* Date block (events, training) */
.date-block {
    width: 58px; flex-shrink: 0;
    border-radius: 0.75rem; overflow: hidden; text-align: center;
    background: var(--vams-surface); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.date-block .date-month { background: var(--vams-primary); color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.15rem 0; }
.date-block .date-day { font-size: 1.35rem; font-weight: 800; color: var(--vams-heading); line-height: 1.5; }
.date-block.is-muted .date-month { background: #9ca3af; }
[data-bs-theme="dark"] .date-block.is-muted .date-month { background: #4b5563; }

/* Progress */
.progress { --bs-progress-bg: var(--vams-border); }
.progress.progress-slim { height: 6px; border-radius: 999px; background: var(--vams-border); }
.progress.progress-slim .progress-bar { border-radius: 999px; background: linear-gradient(90deg, var(--vams-accent), var(--vams-primary)); }
.progress.progress-slim .progress-bar.is-done { background: #059669; }

/* Filter chips + search */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-chips button {
    border: 1px solid var(--vams-border); background: var(--vams-surface);
    padding: 0.35rem 0.8rem; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600; color: var(--vams-text-muted);
    transition: all 0.15s;
}
.filter-chips button:hover { border-color: var(--vams-primary-text); color: var(--vams-primary-text); }
.filter-chips button.active { background: var(--vams-chip-bg); border-color: var(--vams-chip-bg); color: #fff; }
.filter-chips button .chip-count { opacity: 0.7; margin-left: 0.2rem; }
.search-input { position: relative; }
.search-input i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--vams-text-muted); font-size: 0.85rem; }
.search-input .form-control { padding-left: 2.3rem; }

/* List rows inside a card (missions, training, activity feed) */
.list-rows > .list-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--vams-border); color: inherit; text-decoration: none; }
.list-rows > .list-row:last-child { border-bottom: none; }
.list-rows > .list-row:hover { background: var(--vams-row-hover); }
.list-row .row-main { flex: 1; min-width: 0; }
.list-row .row-title { font-weight: 700; color: var(--vams-heading); }
.list-row .row-meta { font-size: 0.8rem; color: var(--vams-text-muted); }

/* Flight board (Daily Ops) */
.flight-board .board-head,
.flight-board .list-row { display: grid; grid-template-columns: 120px minmax(170px, 1.2fr) 90px minmax(110px, 1fr) 130px 110px; gap: 1rem; }
.flight-board .board-head { padding: 0.7rem 1.25rem; background: var(--vams-surface-2); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vams-text-muted); border-top-left-radius: var(--vams-radius); border-top-right-radius: var(--vams-radius); }
.flight-board .flight-no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; color: var(--vams-heading); font-size: 1rem; letter-spacing: 0.03em; }
.flight-board .dep-time { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.flight-board .board-action { text-align: right; }
.flight-board .cell-label { display: none; }
@media (max-width: 991.98px) {
    .flight-board .board-head { display: none; }
    .flight-board .list-row { grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
    .flight-board .cell-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vams-text-muted); font-weight: 600; }
    .flight-board .board-action { text-align: left; }
}

/* Library layout (documents + wiki in one place) */
.library { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.library-nav { position: sticky; top: 84px; overflow: hidden; padding: 0; }
.library-nav .library-nav-head { padding: 1rem 1.1rem; background: linear-gradient(120deg, var(--vams-navy), var(--vams-primary)); color: #fff; }
.library-nav .library-nav-head .form-control { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); color: #fff; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.library-nav .library-nav-head .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.library-nav .library-nav-head .search-input i { color: rgba(255, 255, 255, 0.6); }
.library-nav .library-nav-body { padding: 0.5rem; max-height: calc(100vh - 230px); overflow-y: auto; }
.library-nav .library-group { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vams-heading); padding: 0.85rem 0.75rem 0.15rem; display: flex; align-items: center; gap: 0.5rem; }
.library-nav .library-group i { color: var(--vams-primary-text); }
.library-nav .library-cat { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--vams-text-muted); padding: 0.6rem 0.75rem 0.25rem; }
.library-nav .library-link {
    display: flex; align-items: center; gap: 0.6rem; width: 100%;
    padding: 0.45rem 0.75rem; border: 0; border-radius: 0.5rem; background: none; text-align: left;
    font-size: 0.88rem; font-weight: 500; color: var(--vams-text-dark); text-decoration: none;
}
.library-nav .library-link i { width: 16px; text-align: center; color: var(--vams-text-muted); font-size: 0.8rem; }
.library-nav .library-link:hover { background: var(--vams-surface-2); color: var(--vams-primary-text); }
.library-nav .library-link.active { background: var(--vams-primary-soft); color: var(--vams-primary-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--vams-primary-text); }
.library-nav .library-link.active i { color: var(--vams-primary-text); }
.library-content { padding: 2rem 2.25rem; }
.library-kind { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 991.98px) {
    .library { grid-template-columns: 1fr; }
    .library-nav { position: static; }
    .library-nav .library-nav-body { max-height: 280px; }
    .library-content { padding: 1.25rem; }
}

/* Long-form content (wiki pages, documents) */
.prose-vams { font-size: 1.02rem; line-height: 1.75; color: var(--vams-text-dark); }
.prose-vams h1, .prose-vams h2, .prose-vams h3, .prose-vams h4 { color: var(--vams-heading); margin-top: 1.75rem; margin-bottom: 0.75rem; font-weight: 700; }
.prose-vams a { color: var(--vams-primary-text); }
.prose-vams img { max-width: 100%; height: auto; border-radius: 0.75rem; }
.prose-vams table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.prose-vams table td, .prose-vams table th { border: 1px solid var(--vams-border); padding: 0.5rem 0.75rem; }
.prose-vams blockquote { border-left: 4px solid var(--vams-accent); background: var(--vams-primary-soft); padding: 0.75rem 1rem; border-radius: 0 0.5rem 0.5rem 0; }
/* Rich-text from the editor may carry inline light colours; keep it readable in dark mode. */
[data-bs-theme="dark"] .prose-vams [style*="color"] { color: inherit !important; }
[data-bs-theme="dark"] .prose-vams [style*="background"] { background: transparent !important; }

.callout { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1rem; border-radius: 0.75rem; background: var(--vams-primary-soft); color: var(--vams-heading); font-size: 0.92rem; border-left: 4px solid var(--vams-primary-text); }
.callout i { margin-top: 0.2rem; color: var(--vams-primary-text); }
.callout a { color: var(--vams-primary-text); font-weight: 600; }

/* =====================================================================
 * Profile / dashboard (profile/show + partials)
 * ===================================================================== */
.profile-hero {
    position: relative; overflow: hidden;
    border-radius: var(--vams-radius);
    min-height: 220px;
    display: flex; align-items: center;
    background: var(--vams-navy) center / cover no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #fff;
}
.profile-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 89, 0.94) 0%, rgba(7, 20, 89, 0.7) 50%, rgba(7, 20, 89, 0.2) 100%); }
.profile-hero .profile-hero-body { position: relative; z-index: 1; flex: 1; min-width: 0; padding: 2rem 2.25rem; display: flex; gap: 1.5rem; align-items: center; }
.profile-hero .profile-avatar {
    width: 96px; height: 96px; border-radius: 1.5rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--vams-accent), var(--vams-secondary));
    border: 3px solid rgba(255, 255, 255, 0.35);
    font-size: 2rem; font-weight: 800; letter-spacing: 0.02em; color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.profile-hero .profile-avatar img { width: 70%; height: 70%; object-fit: contain; }
.profile-hero .profile-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
.profile-hero .profile-name { color: #fff !important; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; margin: 0.2rem 0 0.35rem; letter-spacing: -0.02em; }
.profile-hero .profile-sub { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; }
.profile-hero .profile-sub a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, 0.5); }
.profile-hero .profile-sub a:hover { border-bottom-style: solid; }
.profile-hero .rank-insignia { height: 1.4em; vertical-align: -0.35em; margin-right: 0.3rem; }
.profile-hero .profile-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.25rem; }
.profile-hero .profile-actions { position: absolute; z-index: 1; top: 1.25rem; right: 1.25rem; display: flex; gap: 0.5rem; }
.profile-hero .profile-actions .btn { backdrop-filter: blur(4px); }
.profile-hero .rank-meter { margin-top: 1.1rem; max-width: 420px; }
.profile-hero .rank-meter .progress { height: 6px; background: rgba(255, 255, 255, 0.18); border-radius: 999px; }
.profile-hero .rank-meter .progress-bar { background: var(--vams-gold); border-radius: 999px; }
.profile-hero .rank-meter small { color: rgba(255, 255, 255, 0.75); }
.profile-hero.is-compact { min-height: 0; }
.profile-hero.is-compact .profile-hero-body { padding: 1.75rem 2rem; }
@media (max-width: 767.98px) {
    .profile-hero { flex-direction: column; align-items: stretch; }
    .profile-hero .profile-hero-body { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
    .profile-hero .profile-avatar { width: 72px; height: 72px; font-size: 1.5rem; border-radius: 1.1rem; }
    .profile-hero .profile-actions { position: static; padding: 0 1.5rem 1.5rem; }
}

.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.quick-actions a {
    display: flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.9rem 0.5rem;
    border-radius: 0.85rem; background: var(--vams-surface-2); color: var(--vams-text-dark); text-decoration: none;
    font-size: 0.8rem; font-weight: 600; text-align: center; transition: background 0.15s, color 0.15s;
}
.quick-actions a i { font-size: 1.1rem; color: var(--vams-primary-text); }
.quick-actions a:hover { background: var(--vams-primary-soft); color: var(--vams-primary-text); }
@media (max-width: 575.98px) { .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.6rem; }
.award-tile { text-align: center; padding: 0.75rem 0.4rem; border-radius: 0.85rem; background: var(--vams-surface-2); border: 1px solid var(--vams-border); }
.award-tile img { height: 44px; max-width: 100%; object-fit: contain; margin-bottom: 0.35rem; }
.award-tile .award-icon { font-size: 1.8rem; color: var(--vams-gold); margin-bottom: 0.35rem; }
.award-tile .award-name { font-size: 0.72rem; font-weight: 600; line-height: 1.2; display: block; color: var(--vams-text-dark); }
.award-tile .award-date { font-size: 0.65rem; color: var(--vams-text-muted); }

.feed-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center; background: var(--tone-soft, var(--vams-primary-soft)); color: var(--tone, var(--vams-primary-text)); font-size: 0.9rem; }
.mini-map { height: 320px; width: 100%; border-radius: 0 0 var(--vams-radius) var(--vams-radius); z-index: 1; }
.req-row { margin-bottom: 0.7rem; }
.req-row:last-child { margin-bottom: 0; }
.notam-item { padding: 0.65rem 0.8rem; border-radius: 0.65rem; background: var(--vams-surface-2); border-left: 3px solid #dc3545; margin-bottom: 0.5rem; }
.notam-item:last-child { margin-bottom: 0; }
.notam-item .notam-title { font-weight: 600; font-size: 0.88rem; color: var(--vams-text-dark); }
.notam-item .notam-date { font-size: 0.7rem; color: var(--vams-text-muted); }
.pending-pill { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.8rem; border-radius: 0.65rem; background: rgba(245, 158, 11, 0.12); font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--vams-text-dark); text-decoration: none; }
.pending-pill:last-child { margin-bottom: 0; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.fact-list .fact { background: var(--vams-surface-2); border-radius: 0.65rem; padding: 0.55rem 0.75rem; min-width: 0; }
.fact-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vams-text-muted); font-weight: 700; }
.fact-value { font-weight: 700; color: var(--vams-heading); font-size: 0.95rem; }

/* Squadron roster */
.roster-table td { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.roster-member { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.roster-member:hover .row-title { color: var(--vams-primary-text); }
.roster-member .avatar-initials { width: 36px; height: 36px; }

@media print {
    .vams-navbar, .footer, .library-nav, .page-hero .btn { display: none !important; }
    .library { display: block; }
}
