@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&display=swap');

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #082b45;
    --muted: #475569;
    --border: #e2e8f0;
    --primary: #0b3b5c;
    --primary-dark: #082b45;
    --accent: #d63a24;
    --coral: #f04e37;
    --sun: #ffb627;
    --lake-50: #eef6fb;
    --lake-100: #d6e9f5;
    --lake-800: #0b3b5c;
    --lake-900: #082b45;
    --lake-950: #051b2e;
    --success: #15803d;
    --success-bg: #dcfce7;
    --warning: #b45309;
    --warning-bg: #fef3c7;
    --danger: #b91c1c;
    --danger-bg: #fee2e2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Cabinet Grotesk', 'Fraunces', sans-serif;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Top Navigation Bar */
.navbar {
    background: #ffffff;
    color: #1f2937;
    padding: 12px 24px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-title {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-title img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.15s ease;
}

.brand-title:hover img {
    transform: scale(1.03);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 20px;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: #00008b;
    text-decoration: underline;
}

.nav-links a.active {
    color: #00008b;
    font-weight: 900;
    border-bottom: 2px solid #00008b;
    background: transparent;
}

.nav-links a .chevron {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.15s ease;
}

.nav-links a.active .chevron {
    transform: rotate(180deg);
}

/* Join Button */
.nav-links a.btn-join {
    background-color: #00008b !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
    border: none !important;
    transition: background-color 0.15s ease, transform 0.1s ease !important;
}

.nav-links a.btn-join:hover {
    background-color: #1e3a8a !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Secondary Sub-Navbar (Dark Navy - Image 2) */
.secondary-navbar {
    background: #0f172a;
    color: #ffffff;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    padding: 10px 24px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.secondary-navbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
}

.secondary-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-badge {
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.secondary-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.secondary-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.secondary-link-contributor:hover {
    color: #fde68a;
}

.secondary-sep {
    color: #475569;
}

.secondary-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 6px;
    line-height: 1;
    transition: color 0.15s ease;
}

.secondary-close:hover {
    color: #ffffff;
}

/* Drawer Header & Backdrop for Responsive Navigation */
.drawer-header {
    display: none;
}

.nav-backdrop {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        width: 38px;
        height: 38px;
        font-size: 20px;
        cursor: pointer;
        color: #0f172a;
        margin-left: auto;
    }
    .mobile-nav-toggle:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.6);
        z-index: 9998;
    }
    .nav-backdrop.open {
        display: block;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -340px !important;
        width: 320px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        box-shadow: -6px 0 28px rgba(0, 0, 0, 0.22) !important;
        z-index: 9999 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 24px 20px !important;
        gap: 6px !important;
        border-top: none !important;
        margin-top: 0 !important;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    .nav-links.open {
        right: 0 !important;
    }

    .nav-links .drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 12px;
    }
    .nav-links .drawer-close-btn {
        background: #f1f5f9;
        border: none;
        border-radius: 8px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 700;
        color: #475569;
        cursor: pointer;
        transition: background 0.15s ease;
    }
    .nav-links .drawer-close-btn:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    .nav-links a {
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 10px;
        color: #1e293b;
        display: block;
        text-align: left;
    }
    .nav-links a:hover {
        background: #f8fafc;
        color: #00008b;
        text-decoration: none;
    }
    .nav-links a.active {
        background: #eff6ff;
        color: #00008b;
        border-bottom: none;
    }
    .secondary-navbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .secondary-close {
        align-self: flex-end;
        margin-top: -24px;
    }
}


/* Layout Containers */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
}

.hero h1 {
    margin: 0 0 12px 0;
    font-size: 32px;
    line-height: 1.2;
}

.hero p {
    margin: 0 0 18px 0;
    color: #cbd5e1;
    font-size: 16px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    border: 1.5px solid #1d4ed8;
    color: #00008b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 139, 0.08);
}
.badge-pill-success {
    background: #dcfce7;
    border-color: #16a34a;
    color: #14532d;
}
.badge-pill-warning {
    background: #fef3c7;
    border-color: #d97706;
    color: #78350f;
}
.badge-pill-purple {
    background: #f3e8ff;
    border-color: #9333ea;
    color: #581c87;
}

/* Cards & Grids */
.card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.card h2, .card h3 {
    margin-top: 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 780px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background: #e2e8f0;
    text-decoration: none;
}

.btn-success {
    background: var(--success);
    color: #ffffff;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    border: 1px solid transparent;
}
.status-approved, .status-active {
    background: #dcfce7;
    color: #14532d;
    border-color: #86efac;
}
.status-pending {
    background: #fef3c7;
    color: #78350f;
    border-color: #fcd34d;
}
.status-rejected, .status-unsubscribed {
    background: #fee2e2;
    color: #7f1d1d;
    border-color: #fca5a5;
}

/* 7-Day Hours Schedule Matrix & Dynamic Multi-Date Rows */
.hours-matrix {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    margin-top: 10px;
}
.hours-day-row {
    display: grid;
    grid-template-columns: 140px 140px 140px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid #f1f5f9;
}
.hours-day-row:last-child {
    border-bottom: none;
}
.hours-day-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
}
.hours-closed-badge {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
}
@media (max-width: 900px) {
    .hours-day-row {
        grid-template-columns: 1fr;
        gap: 8px;
        background: #f8fafc;
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 8px;
        border-bottom: none;
    }
}
.multi-date-container {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px;
    margin-top: 10px;
}
.multi-date-row {
    display: grid;
    grid-template-columns: 160px 130px 130px 1fr auto;
    gap: 8px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
@media (max-width: 900px) {
    .multi-date-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
.schedule-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.schedule-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    color: #1e293b;
    transition: all 0.15s ease;
}
.schedule-type-btn.active {
    background: #00008b;
    color: #ffffff;
    border-color: #00008b;
    box-shadow: 0 4px 10px rgba(0, 0, 139, 0.2);
}

.tabs {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 16px;
    border: 2px solid #cbd5e1;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 800;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    background: #e2e8f0;
    color: #00008b;
    border-color: #94a3b8;
}

.tab-btn.active {
    background: #00008b !important;
    color: #ffffff !important;
    border-color: #00008b !important;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 0, 139, 0.25);
}

/* Distinctive high-contrast tab identities */
.tab-btn-event {
    background: #eff6ff;
    color: #1e40af;
    border-color: #93c5fd;
}
.tab-btn-event:hover {
    background: #dbeafe;
    border-color: #60a5fa;
}
.tab-btn-event.active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
}

.tab-btn-sale {
    background: #f0fdf4;
    color: #166534;
    border-color: #86efac;
}
.tab-btn-sale:hover {
    background: #dcfce7;
    border-color: #4ade80;
}
.tab-btn-sale.active {
    background: #15803d !important;
    color: #ffffff !important;
    border-color: #166534 !important;
}

.tab-btn-dining {
    background: #fffbeb;
    color: #92400e;
    border-color: #fcd34d;
}
.tab-btn-dining:hover {
    background: #fef3c7;
    border-color: #fbbf24;
}
.tab-btn-dining.active {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #b45309 !important;
}

.tab-btn-my-items {
    background: #faf5ff;
    color: #6b21a8;
    border-color: #d8b4fe;
}
.tab-btn-my-items:hover {
    background: #f3e8ff;
    border-color: #c084fc;
}
.tab-btn-my-items.active {
    background: #7e22ce !important;
    color: #ffffff !important;
    border-color: #6b21a8 !important;
}

.tab-btn-scrape {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}
.tab-btn-scrape:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.tab-btn-scrape.active {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #1e293b !important;
}

/* Form Error Banner - styled like bug report button (white text on red background) */
.form-error-banner {
    display: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #dc2626;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    border: 1px solid #b91c1c;
    line-height: 1.5;
}

/* Full form repetition card */
.multi-date-card {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}
.multi-date-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

/* Data Tables */
.table-wrap {
    overflow-x: auto;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

table.data-table th,
table.data-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

table.data-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
}

/* Stat Boxes */
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    margin-top: 4px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #86efac;
}

.alert-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid #fde68a;
}


/* Modal Overlays & Edit Dialogs */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-dialog {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    padding: 26px;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer {
    text-align: center;
    padding: 28px 20px;
    color: var(--muted);
    font-size: 16px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

/* Unified Admin Navigation Sub-Bar with Robust Pill Buttons */
.admin-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.admin-nav-group-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-nav-group-primary a {
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: 9999px;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.admin-nav-group-primary a:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
}

.admin-nav-group-primary a.active {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0369a1;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
}

.admin-nav-group-external {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-nav-group-external .external-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.admin-nav-group-external a {
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 9999px;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.admin-nav-group-external a:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
}

.admin-nav-group-external a.btn-crm-link {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.admin-nav-group-external a.btn-crm-link:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
    color: #3730a3;
}

/* ========================================================================= */
/* STANDARD MAIN SITE HEADER & ANNOUNCEMENT BAR                              */
/* ========================================================================= */
.site-announcement-bar {
    width: 100%;
    background-color: #00008b;
    color: #ffffff;
    overflow: hidden;
    padding: 2px 0;
    border-bottom: 1px solid #1e3a8a;
    user-select: none;
    display: flex;
    align-items: center;
    min-height: 22px;
}

.site-announcement-bar {
    background-color: #051b2e !important; /* lake-950 */
    color: #ffe29a !important; /* sun-200 */
    font-family: 'Satoshi', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 4px 0 !important;
    letter-spacing: 0.02em !important;
}

.site-announcement-bar marquee {
    width: 100%;
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffe29a;
    line-height: 1.25;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-bottom: 4px solid #f04e37 !important; /* Design B coral-500 accent stripe matching Home */
    box-shadow: 0 8px 24px -16px rgba(8, 43, 69, 0.35) !important;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.site-header-inner {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
}

.site-header-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.site-header-logo {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
    transition: transform 0.15s ease;
}

@media (min-width: 768px) {
    .site-header-inner {
        padding: 10px 32px !important;
    }

    .site-header-logo {
        height: 50px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {
    .site-header-inner {
        padding: 10px 20px !important;
        justify-content: flex-start !important;
        gap: 14px !important;
    }

    .site-nav-links {
        gap: 2px !important;
    }

    .site-nav-link,
    .site-nav-dropdown-trigger {
        font-size: 19px !important;
        padding: 6px 8px !important;
    }

    .site-header-logo {
        height: 48px !important;
    }
}

@media (min-width: 1280px) {
    .site-header-inner {
        padding: 10px 48px !important;
        justify-content: flex-start !important;
        gap: 24px !important;
    }

    .site-header-logo {
        height: 55px !important;
    }
}

.drawer-header-mobile img {
    height: 40px !important;
    width: auto !important;
}

.site-header-logo:hover {
    transform: scale(1.04);
}

.site-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (min-width: 1025px) {
    .site-header-nav {
        flex: 1 1 auto !important;
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        overflow: visible !important;
    }

    .site-header-auth {
        margin-left: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        width: auto !important;
        margin-top: 0 !important;
    }

    .site-header-nav .nav-login-btn,
    .site-header-nav #user-badge,
    .site-header-nav .user-badge {
        margin-left: 0 !important;
    }

    /* On desktop, hide standalone logout button from top bar; it is accessed via the account dropdown */
    #btn-logout,
    .btn-logout {
        display: none !important;
    }

    .mobile-nav-toggle-btn,
    .mobile-quick-approvals-badge,
    .drawer-header-mobile {
        display: none !important;
    }

    .site-nav-dropdown:hover .site-nav-chevron,
    .site-nav-dropdown.open .site-nav-chevron,
    .site-account-dropdown-wrap.open .site-nav-chevron {
        transform: rotate(180deg) !important;
        color: #d63a24 !important;
    }
}

.site-header-nav .nav-link {
    color: #082b45 !important; /* lake-900 */
    font-size: 19px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 8px 13px !important;
    border-radius: 9999px !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    border: none !important;
}

.site-header-nav .nav-link:hover {
    color: #082b45 !important;
    background-color: #eef6fb !important; /* lake-50 hover */
    text-decoration: none !important;
}

.site-header-nav .nav-link.active {
    color: #ffffff !important;
    background-color: #0b3b5c !important; /* lake-800 solid active pill */
    font-weight: 800 !important;
    border: none !important;
}

/* Newsletter Dropdown in Static Header */
.site-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    padding-top: 6px;
    width: 256px;
    z-index: 1100;
}

.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown.open .site-nav-dropdown-menu {
    display: block;
}

.site-nav-dropdown-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(8, 43, 69, 0.15), 0 8px 10px -6px rgba(8, 43, 69, 0.1);
    border: 1px solid #e2e8f0;
    padding: 6px;
}

.site-nav-dropdown-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease !important;
    width: 100% !important;
}

.site-nav-dropdown-item:hover {
    background-color: #eef6fb !important;
    text-decoration: none !important;
}

.site-nav-dropdown-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0b3b5c !important;
    line-height: 1.3 !important;
}

.site-nav-dropdown-sub {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 2px !important;
    white-space: normal !important;
}

.site-nav-dropdown-divider {
    border-top: 1px solid #f1f5f9;
    margin: 4px 0;
}

/* "GET THE NEWSLETTER" button on desktop static header */
.site-header-auth .nav-newsletter-btn,
.nav-newsletter-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 9999px !important;
    background-color: #d63a24 !important; /* coral-600 */
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    box-shadow: 0 4px 0 0 rgba(5, 27, 46, 0.9) !important; /* Design B pop-sm */
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
}

.site-header-auth .nav-newsletter-btn:hover,
.nav-newsletter-btn:hover {
    background-color: #ffb627 !important; /* sun-400 */
    color: #051b2e !important; /* lake-950 */
    transform: translateY(-1px) !important;
}

.site-header-nav .nav-login-btn,
.site-header-auth .nav-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 9999px !important;
    border: 2px solid #0b3b5c !important; /* lake-800 border */
    background: transparent !important;
    color: #082b45 !important; /* lake-900 */
    font-weight: 900 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.site-header-nav .nav-login-btn:hover,
.site-header-auth .nav-login-btn:hover {
    background-color: #0b3b5c !important;
    color: #ffffff !important;
    transform: none !important;
}

#user-badge,
.user-badge {
    display: inline-flex;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    background-color: rgba(238, 246, 251, 0.95) !important; /* lake-50 */
    border: 1px solid #a9d0ea !important; /* lake-200 */
    color: #0b3b5c !important; /* lake-800 */
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 2px rgba(8, 43, 69, 0.05) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    max-width: 210px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
#user-badge:empty,
.user-badge:empty {
    display: none !important;
    padding: 0 !important;
    border: 0 !important;
}

#user-badge:hover,
.user-badge:hover {
    background-color: #d6e9f5 !important;
    border-color: #6faed6 !important;
}

#btn-logout,
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 9999px;
    background-color: #e11d48 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

#btn-logout:hover,
.btn-logout:hover {
    background-color: #be123c !important;
    color: #ffffff !important;
}

.mobile-nav-toggle-btn {
    display: none;
    width: 48px;
    height: 48px;
    background: #0c3d63;
    border: none;
    color: #ffffff;
    border-radius: 9999px;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.mobile-nav-toggle-btn:hover {
    background: #134e7a;
}

.mobile-quick-approvals-badge {
    display: none;
    background: #eff6ff;
    color: #00008b !important;
    border: 1px solid #bfdbfe;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    margin-left: auto;
    margin-right: 8px;
}

@media (max-width: 1024px) {
    .mobile-quick-approvals-badge {
        display: inline-flex !important;
        align-items: center !important;
    }

    .mobile-nav-toggle-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
    }

    .mobile-quick-approvals-badge + .mobile-nav-toggle-btn {
        margin-left: 0 !important;
    }

    .nav-backdrop.open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.6) !important;
        z-index: 9998 !important;
    }

    .site-header-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 320px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25) !important;
        padding: 20px 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }

    .site-header-nav.open,
    .site-header-nav.drawer-open {
        display: flex !important;
    }

    /* v58.6 mobile menu fix: the drawer sits inside the sticky header, whose z-index (1000)
       caps it below the dark backdrop (9998). Lift the header above the backdrop while open.
       Kept as separate rules so a browser without :has() still applies the class rule. */
    .site-header.nav-drawer-active {
        z-index: 10001 !important;
    }
    .site-header:has(.site-header-nav.open) {
        z-index: 10001 !important;
    }
    .site-header:has(.site-header-nav.drawer-open) {
        z-index: 10001 !important;
    }

    .drawer-header-mobile {
        order: -2 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-bottom: 14px !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .drawer-close-btn,
    button.drawer-close-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        font-size: 22px !important;
        border-radius: 8px !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        cursor: pointer !important;
        color: #334155 !important;
        line-height: 1 !important;
    }

    /* FIRST ITEM IN DRAWER MENU STACK: Login / Log Out + Account Pill */
    .site-header-auth {
        order: -1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 2px !important;
        margin-bottom: 6px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .site-header-nav .nav-link {
        width: 100% !important;
        font-size: 15px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        justify-content: space-between !important;
    }

    .site-header-nav .nav-link:hover {
        background: #f1f5f9 !important;
        text-decoration: none !important;
    }

    .site-nav-dropdown {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .site-nav-dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        padding-top: 4px !important;
        padding-left: 12px !important;
    }

    .site-nav-dropdown.mobile-expanded .site-nav-dropdown-menu {
        display: block !important;
    }

    .site-nav-dropdown.mobile-expanded .site-nav-chevron,
    .site-account-dropdown-wrap.open .site-nav-chevron {
        transform: rotate(180deg) !important;
    }

    .site-nav-dropdown-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .site-header-nav .nav-login-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        margin-top: 4px !important;
    }

    #user-badge,
    .user-badge {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        margin: 4px 0 !important;
    }

    #btn-logout,
    .btn-logout {
        width: 100% !important;
        padding: 12px 16px !important;
        margin: 4px 0 !important;
    }
}

/* ========================================================================= */
/* STANDARD MAIN SITE 4-COLUMN FOOTER                                        */
/* ========================================================================= */
/* COMPACT ACCORDION FOOTER (Desktop Compact, Mobile/Tablet Collapsed Tabs)  */
/* ========================================================================= */
.site-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 32px 20px 20px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-footer-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e293b;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: none;
    display: block;
}

.footer-desc {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.footer-briefing-box {
    padding-top: 4px;
}

.footer-briefing-title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cbd5e1;
    display: block;
    margin-bottom: 2px;
}

.footer-briefing-desc {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.footer-weather-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #1e293b;
    border: 1px solid #334155;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease;
}

.footer-weather-btn:hover {
    background: #334155;
    text-decoration: none;
    color: #ffffff;
}

.footer-heading {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    margin: 0 0 6px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-badge {
    padding: 1px 5px;
    border-radius: 4px;
    background: #3b82f6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.footer-bottom-row {
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #64748b;
}

.footer-bottom-row a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Accordion Specific Styling */
.footer-accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-accordion summary::-webkit-details-marker {
    display: none;
}
.footer-accordion-icon {
    display: inline-block;
    font-size: 16px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    margin-left: 6px;
}
.footer-accordion[open] .footer-accordion-icon {
    transform: rotate(180deg);
}

/* Tablet & Mobile: Collapsible Accordion Tabs */
@media (max-width: 1023px) {
    .site-footer {
        padding: 20px 14px 16px;
        margin-top: 24px;
    }
    .footer-briefing-box {
        display: none; /* Hide dense paragraph on mobile to minimize vertical scrolling */
    }
    .footer-col:first-child {
        padding-bottom: 12px;
        border-bottom: 1px solid #1e293b;
        margin-bottom: 4px;
    }
    .footer-accordion {
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid #1e293b;
        border-radius: 12px;
        overflow: hidden;
    }
    .footer-accordion summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        margin: 0;
        cursor: pointer;
        font-size: 16px;
        font-weight: 800;
        color: #f1f5f9;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        user-select: none;
        background: transparent;
    }
    .footer-accordion-icon {
        display: inline-block;
        font-size: 16px;
        color: #94a3b8;
        transition: transform 0.2s ease;
    }
    .footer-accordion[open] .footer-accordion-icon {
        transform: rotate(180deg);
    }
    .footer-accordion > .footer-links {
        padding: 6px 14px 12px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .footer-accordion:not([open]) > .footer-links {
        display: none !important;
    }
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Enforce hiding login button when user is authenticated */
body.user-authenticated #nav-login-btn,
body.user-authenticated .nav-login-btn,
.user-authenticated #nav-login-btn,
.user-authenticated .nav-login-btn {
    display: none !important;
}

/* Staff Operations & Account Menu Popover for Static /news/*.html Header */
.site-account-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .site-account-dropdown-wrap {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

.site-account-popover {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 310px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.14), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    z-index: 1200;
    text-align: left;
}

.site-account-dropdown-wrap.open .site-account-popover {
    display: block;
}

@media (max-width: 1024px) {
    .site-account-popover {
        position: static !important;
        width: 100% !important;
        margin-top: 6px !important;
        box-shadow: none !important;
        border: 1px solid #bfdbfe !important;
        background: #f8fafc !important;
    }

    /* Collapse redundant .admin-sidebar on Tablet & Mobile across all admin pages
       (Staff links are accessible in the top header popover & .admin-nav-bar pills) */
    .admin-shell {
        flex-direction: column !important;
    }
    .admin-sidebar:not(.open) {
        display: none !important;
    }
    .admin-content-area {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
    }
}

/* Design B Card, Input & Surface Polish for Static Interior Pages */
.hamper-input {
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    background: #ffffff !important;
    color: #082b45 !important;
    font-family: 'Satoshi', sans-serif !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.hamper-input:focus {
    outline: none !important;
    border-color: #0b3b5c !important;
    box-shadow: 0 0 0 3px rgba(11, 59, 92, 0.15) !important;
}

.card,
[class*="rounded-2xl"][class*="border"],
[class*="rounded-3xl"][class*="border"] {
    font-family: 'Satoshi', sans-serif !important;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
    color: #082b45;
}



/* ============================================================================
   v67.7 Readability, Accessibility & Print Elevation
   Evenly elevates body & card content (+35-50% over tiny 12-14px text) while
   keeping the top nav bar and pill badges compact so nothing wraps awkwardly.
   ============================================================================ */
main, .container, .biz-wrap {
    font-size: 17px;
    line-height: 1.6;
}
main p, .card p, .biz-card p {
    font-size: max(16px, 1em);
    line-height: 1.6;
}
main input, main select, main textarea,
.biz-wrap input, .biz-wrap select, .biz-wrap textarea,
.form-control, input[type="date"], input[type="datetime-local"] {
    font-size: max(16px, 1rem);
    min-height: 44px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.admin-shell {
    display: block !important;
    min-height: 0 !important;
}
.admin-content-area {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
main .btn, .biz-wrap .btn {
    min-height: 42px;
}
.badge-pill {
    white-space: nowrap;
    flex-shrink: 0;
}
:focus-visible {
    outline: 3px solid #FFB627;
    outline-offset: 2px;
}
@media print {
    .site-announcement-bar,
    .site-header,
    .site-footer,
    .no-print,
    .biz-range,
    button,
    #btn-logout {
        display: none !important;
    }
    body, .admin-shell, .biz-wrap {
        background: #ffffff !important;
        color: #0f172a !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .card, .biz-card, .biz-tile {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        break-inside: avoid;
    }
}

/* Mobile-safe announcement ticker (replaces legacy <marquee>) */
.site-announcement-bar {
    overflow: hidden;
    max-width: 100%;
}
.wg-ticker {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
}
.wg-ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: wg-ticker-scroll 34s linear infinite;
}
.wg-ticker:hover .wg-ticker-track {
    animation-play-state: paused;
}
@keyframes wg-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .wg-ticker-track {
        padding-left: 0;
        animation: none;
        white-space: normal;
    }
}
.card, .table-wrap {
    min-width: 0;
    max-width: 100%;
}
.admin-content-area {
    min-width: 0;
}

/* Row 2 Admin Operations Bar (rendered below main header only when staff is signed in) */
.wg-admin-bar {
    background: #0b3b5c;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    width: 100%;
    max-width: 100%;
}
.wg-admin-bar-row {
    max-width: 1440px;
    margin: 0 auto;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 1025px) {
    .wg-admin-bar-row {
        justify-content: center;
    }
}
.wg-admin-bar-approvals {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #fcd34d;
    color: #051b2e !important;
    font-size: max(16px, 1rem);
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}
.wg-admin-bar-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: max(16px, 1rem);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.wg-admin-bar-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}
.wg-admin-bar-btn.active {
    background: #ffffff;
    color: #0b3b5c;
}
.wg-admin-bar-panel {
    background: #ffffff;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px -10px rgba(8, 43, 69, 0.25);
}
.wg-admin-bar-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 8px;
}
.wg-admin-bar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    font-size: max(16px, 1rem);
    font-weight: 700;
    color: #1f2937;
    text-decoration: none !important;
}
.wg-admin-bar-link:hover,
.wg-admin-bar-link.current {
    background: #eff6ff;
    color: #00008b;
    border-color: #bfdbfe;
}


.mobile-quick-logout-btn { display: none; background: #e11d48; color: #ffffff; border: none; border-radius: 9999px; font-weight: 800; font-size: max(16px, 1rem); min-height: 44px; padding: 0 12px; margin-left: 6px; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1024px) { .mobile-quick-logout-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; } body.wg-staff-mobile-clean .site-header-auth { display: none !important; } }

/* GLOBAL 18px MINIMUM TEXT & 44x44px TOUCH TARGET FLOOR (Approved 2026-12-03) */
body,
p,
li,
td,
th,
label,
small,
main span,
main div,
main a,
section span,
section div,
section a,
.card span,
.card div,
.card a,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
button,
a.btn,
summary,
.btn,
.form-control,
.site-account-popover a,
.site-account-popover summary,
.site-account-popover button,
.site-account-popover-group a,
.wg-admin-bar-btn,
.wg-admin-bar-link,
.footer-links li a,
.footer-desc,
.footer-bottom-row,
.footer-bottom-row a {
    font-size: max(18px, 1rem) !important;
}
button:not(.no-min-touch),
[role="button"],
.btn,
a.btn,
input:not([type="checkbox"]):not([type="radio"]),
select,
summary,
.footer-links li a,
.footer-bottom-row a,
.site-account-popover a,
.site-account-popover button,
.wg-admin-bar-btn,
.wg-admin-bar-link,
.mobile-nav-toggle-btn,
.drawer-close-btn {
    min-height: 44px !important;
    min-width: 44px !important;
}
.site-nav-more-menu,
.site-nav-more-menu * {
    font-size: 15px !important;
    line-height: 1.35 !important;
}
.site-nav-more-menu {
    max-height: 75vh !important;
    overflow-y: auto !important;
}
