@charset "UTF-8";
/* ==========================================================================
   DESIGN TOKENS -- all theming flows through these variables.
   To override for a year/brand, set new values in :root via theme.js
   or a per-page <style> block. Never hardcode colors/fonts elsewhere.
   ========================================================================== */
:root {
    /* -- Brand Colors -- */
    --color-teal:        #2dbfc7;   /* primary brand -- matches 2026 logo */
    --color-teal-dark:   #1f9aa1;   /* hover / active */
    --color-teal-light:  #e6f9fa;   /* chip / tag backgrounds */
    --color-teal-muted:  #f0fbfc;   /* very light tint */

    /* -- Neutrals -- */
    --color-dark:        #1a1a1a;   /* headings, body text */
    --color-dark-2:      #333333;
    --color-mid:         #555555;
    --color-muted:       #666666;
    --color-subtle:      #888888;
    --color-faint:       #999999;
    --color-white:       #ffffff;

    /* -- Surfaces -- */
    --color-light-gray:  #f4f4f4;
    --color-off-white:   #fafaf8;
    --color-bg:          #ffffff;
    --color-surface:     var(--color-off-white); /* alias */

    /* -- Neutral Aliases -- */
    --color-gray:        var(--color-mid);       /* alias */

    /* -- Borders -- */
    --color-border:      #e1e1e1;
    --color-border-light:#eeeeee;
    --color-border-mid:  #cccccc;

    /* -- Semantic / Status -- */
    --color-danger:      #dc3545;
    --color-danger-bg:   #fdecea;
    --color-warning:     #f0ad4e;
    --color-warning-bg:  #fff8e1;
    --color-success:     #28a745;
    --color-success-bg:  #e8f8f5;
    --color-info-bg:     #e1e1e1;

    /* -- Typography -- */
    --font-body:         'Roboto Condensed', sans-serif;
    --font-display:      'Permanent Marker', cursive;
    --base-size:         18px;

    /* -- Type Scale -- */
    --text-xs:           0.72rem;
    --text-sm:           0.82rem;
    --text-base:         1rem;
    --text-lg:           1.2rem;
    --text-xl:           1.5rem;
    --text-2xl:          1.8rem;
    --text-3xl:          2.4rem;
    --text-hero:         3rem;

    /* -- Spacing -- */
    --space-xs:          4px;
    --space-sm:          8px;
    --space-md:          16px;
    --space-lg:          24px;
    --space-xl:          32px;
    --space-2xl:         48px;
    --space-3xl:         64px;

    /* -- Radii -- */
    --radius-sm:         4px;
    --radius-md:         8px;
    --radius-lg:         16px;

    /* -- Shadows -- */
    --shadow-sm:         0 2px 6px rgba(0,0,0,0.06);
    --shadow-md:         0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:         0 8px 24px rgba(0,0,0,0.12);
    --shadow-card:       0 4px 15px rgba(0,0,0,0.05);

    /* -- Legacy aliases (keep for backward compat) -- */
    --border-color:      var(--color-border);
}

/* 1. Global Reset & Foundation */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-size: var(--base-size);
    color: var(--color-dark);
    line-height: 1.4;
    background-color: var(--color-off-white);
    padding-top: 60px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Sitewide Announcement Banner */
.site-banner {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    padding: 10px 24px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
}
.site-banner-inner {
    max-width: 900px;
    margin: 0 auto;
}
.site-banner--info    { background: var(--color-teal); color: var(--color-white); }
.site-banner--warning { background: var(--color-warning); color: #1a1a1a; }
.site-banner--alert   { background: var(--color-danger);  color: var(--color-white); }

/* 3. Global Navigation */
.main-nav {
    background: var(--color-bg);
    border-bottom: 1px solid var(--border-color);
    height: 60px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.main-nav--admin {
    background: var(--color-teal-muted);
    border-bottom-color: var(--color-teal-light);
}

.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 100%;
}

.nav-logo { height: 40px; display: flex; align-items: center; }
.nav-logo img { height: 100%; width: auto; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--color-teal); }

/* RESTORED: Join the Lineup Button Styling */
.nav-links a.active-highlight {
    color: white !important;
    background-color: var(--color-teal);
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin-left: -20px;
}

.nav-links a.active-highlight:hover {
    background-color: var(--color-teal-dark);
}

/* Host: Outline CTA button */
.nav-links a.nav-outline {
    color: var(--color-teal) !important;
    border: 2px solid var(--color-teal);
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a.nav-outline:hover {
    background-color: var(--color-teal);
    color: var(--color-white) !important;
}
.nav-links a.active {
    color: var(--color-teal) !important;
    font-weight: 700;
}

/* Utility nav items (Settings, Logout) — de-emphasized */
.nav-links a.nav-utility {
    font-weight: 400;
    color: var(--color-subtle);
    font-size: 0.8rem;
}
.nav-links a.nav-utility:hover { color: var(--color-teal); }
.nav-links a.nav-utility.active { color: var(--color-teal) !important; font-weight: 700; }

/* 3. Branding & Headers */
.hero-section, .sub-header {
    background-color: var(--color-dark);
    background-image: url('../img/medford-background-1.svg');
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section { padding: 80px 0; min-height: 450px; }
.logo-main {
    width: 560px;
    max-width: 88vw;
    height: 240px;
    background-image: url('../img/medford-porchfest-2026-white-teal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.sub-header { padding: 60px 0; min-height: 250px; }
.sub-header h1 { color: var(--color-white); margin: 0; }

/* 4. Typography */
h1, .display-font {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-dark);
}

h2 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 2rem 0 1rem;
}

/* Admin section headings use form-section-heading class, not h2 sizing */

/* 5. Performer Gallery & Social Icons */
.filter-bar { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; padding: 10px 0; }

.performer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.band-card {
    background: var(--color-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex; 
    flex-direction: column;
    position: relative;
}
.band-info { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.band-genre { color: var(--color-teal); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 8px; }
.porch-meta { display: block; font-size: 0.8rem; color: var(--color-subtle); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.gig-genre  { font-size: 0.75rem; color: var(--color-teal); text-transform: uppercase; font-weight: 700; margin-left: 8px; }

/* 6. Map Page Layout */
.location-card {
    background: var(--color-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(0,128,128,0.1);
}

.porch-address {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.location-gigs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

.gig-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px solid var(--color-border-light);
    font-size: 0.9rem;
}

.time-badge {
    background: var(--color-light-gray);
    color: var(--color-mid);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.gig-band {
    font-weight: 700;
    color: var(--color-dark);
    flex-grow: 1;
}

.gig-band.tba { color: var(--color-faint); font-weight: 400; font-style: italic; }

/* Map popup */
.map-popup { font-family: var(--font-body); min-width: 160px; }
.map-popup b { display: block; margin-bottom: 6px; font-size: 0.95rem; }
/* SLICK SOCIAL TRAY */
.band-social-tray {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 15px;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-subtle);
    transition: fill 0.3s ease;
}

.social-icon:hover { fill: var(--color-teal); }

/* 6. Admin & Form Layouts */
.admin-module { max-width: 800px; margin: 40px auto; padding: 40px; background: var(--color-bg); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.admin-form-group { margin-bottom: 25px; width: 100%; }
.admin-label { display: block; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; color: var(--color-muted); margin-bottom: 8px; text-align: left; }
.admin-input { width: 100%; display: block; padding: 12px; font-family: var(--font-body); font-size: 1rem; border: 1px solid var(--color-border-mid); border-radius: 4px; }

/* 7. Buttons */
/* -- Button System -- */
.btn-primary,
.btn-outline,
.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

/* Filled -- primary action */
.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}
.btn-primary:hover {
    background-color: var(--color-teal-dark);
    border-color: var(--color-teal-dark);
}

/* Outlined -- secondary action */
.btn-outline {
    background-color: transparent;
    color: var(--color-teal);
    border-color: var(--color-teal);
}
.btn-outline:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
}

/* Ghost -- tertiary / nav style */
.btn-ghost {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    background-color: var(--color-light-gray);
}

/* Size modifiers */
.btn-lg  { padding: 16px 48px; font-size: 1.1rem; }
.btn-sm  { padding: 8px 18px;  font-size: var(--text-xs); letter-spacing: 0.08em; }

/* Color modifiers */
.btn-danger  { background-color: var(--color-danger); border-color: var(--color-danger); color: var(--color-white); }
.btn-danger:hover { filter: brightness(0.9); }

/* Geocode button */
.btn-geocode {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border: 1.5px solid var(--color-teal);
    border-radius: 4px;
    background: none;
    color: var(--color-teal);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.btn-geocode:hover { background: var(--color-teal); color: #fff; }
.btn-geocode:disabled { opacity: 0.5; cursor: default; }

/* Export button */
.btn-export {
    background: #f8f8f8;
    color: var(--color-dark);
    border: 1px solid var(--color-border) !important;
}
.btn-export:hover { background: #eee; }
.btn-export.export-btn-active {
    background: #fff;
    border-color: var(--color-border) !important;
    border-bottom-color: #fff !important;
    position: relative;
    z-index: 501;
    clip-path: inset(-10px -10px 0px -10px); /* clip bottom so border doesn't show outside rounded corners */
}


/* Export popover */
/* Tab bar row — tabs left, export button right */
.tab-bar-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 0;
    width: 100%;
}
.tab-bar-row .admin-tabs {
    border-bottom: none;
    flex: 1 1 auto;
    min-width: 0;
}
.tab-bar-row .btn-export {
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 4px;
}

.export-popover {
    position: absolute;
    z-index: 500;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px 0 8px 8px; /* top-right squared — JS overrides with exact button corner radius */
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    width: 290px;
    font-family: var(--font-body);
}
.export-popover-header {
    padding: 12px 16px 10px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border-light);
}
.export-popover-body {
    padding: 10px 16px;
}
.export-hint {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin: 0 0 8px;
}
.export-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-dark);
    padding: 4px 0;
    cursor: pointer;
    line-height: 1.3;
}
.export-check-label input { cursor: pointer; accent-color: var(--color-teal); }
.export-popover-footer {
    padding: 10px 16px 14px;
    border-top: 1px solid var(--color-border-light);
}

/* Matches popover */
.matches-popover { width: 420px; }
.matches-popover .export-popover-body { max-height: 480px; overflow-y: auto; }

.matches-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin: 12px 0 6px;
}
.matches-section-label:first-child { margin-top: 0; }

.matches-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.matches-row-info { min-width: 0; }
.matches-row-name { font-size: 0.82rem; font-weight: 700; }
.matches-row-sub  { font-size: 0.75rem; color: var(--color-muted); }
.matches-row-status { font-size: 0.72rem; margin-left: 6px; }
.matches-row-status--pending { color: var(--color-warning); }
.matches-row-status--missing { color: var(--color-danger); }
.matches-row-action { flex-shrink: 0; }
.matches-empty { color: var(--color-muted); font-size: 0.82rem; margin: 0 0 12px; }

/* Radio promo popover */
.radio-genre-btn {
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
    border: 1px solid var(--color-border); border-radius: 20px;
    background: white; color: var(--color-muted); cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.04em;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.radio-genre-btn--active {
    background: var(--color-teal); color: white; border-color: var(--color-teal);
}
.radio-stream-link {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.7rem; font-weight: 700; padding: 1px 6px;
    border-radius: 3px; text-decoration: none; margin-right: 4px;
    text-transform: capitalize;
}
.radio-stream-link--bandcamp  { background: #1da0c3; color: white; }
.radio-stream-link--spotify   { background: #1db954; color: white; }
.radio-stream-link--soundcloud{ background: #f50; color: white; }
.radio-stream-link--tidal     { background: #000; color: white; }
.radio-stream-link--youtube   { background: #f00; color: white; }

/* Row email icon button (paper plane) */
.row-email-cell { width: 36px; text-align: center; padding: 0 4px !important; }
.row-email-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}
.row-email-btn--ready    { color: var(--color-teal); }
.row-email-btn--ready:hover  { background: #e8f8f5; }
.row-email-btn--sent     { color: #28a745; }
.row-email-btn--sent:hover   { background: #eafaf0; }
.row-email-btn--disabled { color: #ccc; cursor: default; }

/* Admin table action buttons */
.btn-email {
    background: #f0faf8;
    color: var(--color-teal);
    border: 1px solid var(--color-teal) !important;
}
.btn-email:hover { background: var(--color-teal); color: #fff; }

.btn-edit,
.btn-delete,
.btn-approve,
.btn-revoke,
.btn-reject {
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 8. Textarea */
.admin-textarea {
    width: 100%;
    display: block;
    padding: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border-mid);
    border-radius: 4px;
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* 9. Page content spacing */
.content-area { padding: 40px 0; }

/* 10. Admin Tab System */
/* -- Tab Component (used across all admin pages) -- */
.admin-tabs,
.tab-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    border-bottom: 2px solid var(--color-border);
    flex-wrap: wrap;
}
.tab-btn {
    padding: 12px 16px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--color-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover {
    color: var(--color-dark);
    background: var(--color-light-gray);
}
.tab-btn.active {
    color: var(--color-dark);
    border-bottom: 3px solid var(--color-teal);
    background: var(--color-bg);
}
.tab-content {
    display: none;
    padding-top: var(--space-xl);
}
.tab-content.active {
    display: block;
}

/* 11. Badges */
.badge { font-size: 0.75rem; padding: 4px 12px; border-radius: 14px; font-family: var(--font-body); font-weight: 700; line-height: 1; text-transform: uppercase; }
.badge-alert { background: var(--color-danger); color: white; display: none; }
.badge-warning { background: var(--color-warning); color: white; }
.badge-success { background: var(--color-success); color: white; }
.badge-info { background: var(--color-info-bg); color: var(--color-muted); }
.badge-withdrawn { background: var(--color-warning-bg); color: #856404; border: 1px solid #ffc107; }

.location-type-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 5px;
    line-height: 1.4;
}
.location-type-business  { background: #fff3cd; color: #8a5c00; border: 1px solid #ffc107; }
.location-type-community { background: #d4e8f5; color: #1a4060; border: 1px solid #90c4e4; }

/* 12. Tab Content Panels */
/* tab-content defined above in Tab Component block */

/* 13. Admin Accordion Table */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }
.admin-table--fixed { table-layout: fixed; }
.admin-table--fixed td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-table--fixed td.row-email-cell { overflow: visible; white-space: normal; }
.admin-table th { background: var(--color-light-gray); text-transform: uppercase; font-size: 0.8rem; padding: 15px; text-align: left; }
.admin-table td { padding: 14px 15px; border-bottom: 1px solid var(--color-border-light); vertical-align: middle; font-size: 0.95rem; }
.band-row:hover td { background: var(--color-off-white); }

.details-drawer { display: none; background: var(--color-off-white); border-bottom: 3px solid var(--color-teal); }
.details-drawer.open { display: table-row; }
.band-row { cursor: pointer; }
.band-row td { user-select: none; }
.details-content {
    padding: 20px 24px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    box-sizing: border-box;
}
/* POI drawer uses 3 columns: Details / Location / Flags */
.details-content--poi {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.details-content .drawer-col { min-width: 0; align-content: start; }
.drawer-loading { padding: 20px; color: #999; font-size: 0.85rem; }
.slot-checkbox-group { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 0; }
.slot-checkbox-label { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 400; text-transform: none; color: #333; cursor: pointer; }
.slot-checkbox-label input[type="checkbox"] { accent-color: var(--color-teal); width: 14px; height: 14px; }
.details-content .drawer-col input,
.details-content .drawer-col textarea,
.details-content .drawer-col select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}
.drawer-section-label {
    color: var(--color-teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-group label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--color-subtle); }
.field-group input, .field-group textarea { padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 0.95rem; }

/* 14. Small Action Buttons */
/* btn-sm, btn-edit, btn-delete defined above in Button System */
.btn-approve { background: var(--color-success); color: white; }
.btn-approve:disabled { background: #ccc; color: #888; cursor: not-allowed; }
.btn-revoke  { background: var(--color-warning); color: white; }
.btn-reject  { background: var(--color-danger); color: white; }
.btn-edit    { background: var(--color-subtle); color: white; }
.btn-delete  { background: var(--color-dark); color: white; }

.drawer-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}
/* Prevent social link inputs from overflowing their cells */
.details-content .drawer-col input[type="url"] {
    font-size: 0.78rem;
    padding: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* 15. MAP FILTER SELECTS -- custom arrow, suppress native OS chrome */
/* Applies globally so both #genre-filter and #time-filter get identical treatment */
.map-filter-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dbfc7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.65rem center !important;
    background-size: 1em !important;
    padding-right: 2rem !important;
}
/* -- AD2: Last-touched row highlight -- */
.band-row.last-touched { background: var(--color-teal-light) !important; }
.last-touched td { color: var(--color-teal); font-weight: 700; }
.coord-warning-icon { color: var(--color-warning); cursor: help; }
.btn--result-success { background: var(--color-teal) !important; color: white !important; }
.btn--result-error   { background: var(--color-error, #c0392b) !important; color: white !important; }

/* ── Bulk Send Modal (admin-emails.html) ──────────────────────────────────── */
.bulk-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 500;
    align-items: center; justify-content: center;
}
.bulk-modal-overlay.open { display: flex; }
.bulk-modal {
    background: #fff; border-radius: 8px;
    width: 660px; max-width: calc(100vw - 32px);
    max-height: calc(100vh - 64px);
    display: flex; flex-direction: column;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    position: relative; overflow: hidden;
}
.bulk-modal-header {
    padding: 20px 52px 16px 24px;
    border-bottom: 1px solid var(--color-border-light);
    background: var(--color-dark); color: #fff; flex-shrink: 0;
}
.bulk-modal-step-label {
    font-size: 0.72rem; text-transform: uppercase;
    color: #aaa; letter-spacing: 0.06em; margin-bottom: 4px;
}
.bulk-modal-header h3 {
    font-family: var(--font-body); font-weight: 700;
    font-size: 1.05rem; text-transform: uppercase; margin: 0;
}
.bulk-modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: #aaa;
    font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px;
}
.bulk-modal-close:hover { color: #fff; }
.bulk-modal-close:disabled { opacity: 0.4; cursor: not-allowed; }
.bulk-phase { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.bulk-modal-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.bulk-modal-footer {
    padding: 14px 24px; border-top: 1px solid var(--color-border-light);
    display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0;
}
.bulk-preview-audience-line {
    font-size: 0.9rem; font-weight: 600; margin: 0 0 14px;
    color: var(--color-teal);
}
.bulk-preview-email {
    border: 1px solid var(--color-border);
    border-radius: 6px; padding: 16px 18px;
    background: #fafafa; max-height: 300px; overflow-y: auto;
    margin-bottom: 16px; font-size: 0.88rem;
}
.bulk-preview-subject {
    margin-bottom: 10px; padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-light);
}
.bulk-preview-body { line-height: 1.65; }
.bulk-modal-checkbox-row { margin: 0 0 4px; }
.bulk-modal-checkbox-row label {
    display: flex; gap: 10px; align-items: flex-start;
    cursor: pointer; font-size: 0.9rem; line-height: 1.4;
}
.bulk-modal-checkbox-row input[type="checkbox"] {
    margin-top: 2px; flex-shrink: 0; width: 15px; height: 15px; cursor: pointer;
}
.bulk-test-sent-msg {
    background: #f0faf4; border: 1px solid #b2dfcc;
    border-radius: 6px; padding: 12px 16px;
    margin-bottom: 12px; color: #1a7a4a; font-size: 0.9rem;
}
.bulk-test-sent-msg i { margin-right: 6px; }
.bulk-recipient-reminder {
    font-size: 0.85rem; color: #555; margin: 0 0 16px;
    padding: 10px 14px; background: #f5f5f5;
    border-left: 3px solid var(--color-teal);
    border-radius: 0 4px 4px 0;
}
.bulk-final-hint { font-size: 0.9rem; color: #444; margin: 0 0 16px; line-height: 1.5; }
.compose-inline-error { color: #c00; font-size: 0.82rem; margin: 4px 0 0; display: block; }
.btn-bulk-send-inactive { opacity: 0.45; cursor: not-allowed; }

/* -- MOB1: Hamburger button (hidden on desktop) -- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
    flex-shrink: 0;
}
.nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sheet handle is mobile-only */
.sheet-handle { display: none; }
/* ==========================================================================
   CONTENT HERO -- shared dark hero for faq, volunteer, sponsors, etc.
   Usage: <section class="content-hero"> with .content-hero-inner inside
   ========================================================================== */
.content-hero {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}
.content-hero::before,
.content-hero::before {
    width: 600px; height: 600px;
    top: -200px; right: -100px;
    background: radial-gradient(circle, rgba(0,128,128,0.12) 0%, transparent 65%);
}
.content-hero::after {
    width: 400px; height: 400px;
    bottom: -150px; left: -80px;
    background: radial-gradient(circle, rgba(0,128,128,0.08) 0%, transparent 65%);
}
.content-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}
.content-hero-eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-teal);
    margin-bottom: var(--space-sm);
}/* h1 inside hero must override the global dark color */
.content-hero h1 {
    color: var(--color-white);
}
/* Links inside hero (e.g. email address) */
.content-hero a {
    color: var(--color-white);
    text-decoration: underline;
    opacity: 0.85;
}
.content-hero a:hover {
    opacity: 1;
}
.content-hero-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    max-width: 560px;
}

/* Date chips (used on FAQ pages) */
.content-dates-strip {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}
.content-date-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 10px var(--space-md);
}
.content-date-chip-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal);
}
.content-date-chip-value {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-white);
}

/* CTA strip (dark panel at bottom of content pages) */
.content-cta-strip {
    margin-top: var(--space-2xl);
    background: var(--color-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.content-cta-text {
    font-family: var(--font-body);
    color: var(--color-white);
}

/* ==========================================================================
   PAGE-SPECIFIC COMPONENT STYLES
   ========================================================================== */

/* -- performers.html -- */
.performers-controls {
      position: sticky;
      top: 60px;
      z-index: 100;
      background: white;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      border-bottom: 1px solid var(--color-border-light);
      margin-bottom: 32px;
    }
    .performers-controls-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .performers-controls label {
      font-family: var(--font-body);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-subtle);
    }
    .performers-controls select,
    .performers-controls input[type="text"] {
      font-family: var(--font-body);
      font-size: 0.88rem;
      padding: 7px 12px;
      border: 1.5px solid var(--color-border);
      border-radius: 4px;
      background: white;
      color: #1a1a1a;
      cursor: pointer;
    }
    .performers-controls select:focus,
    .performers-controls input[type="text"]:focus { outline: none; border-color: var(--color-teal); }
    .performers-count {
      margin-left: auto;
      font-family: var(--font-body);
      font-size: 0.82rem;
      color: #aaa;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Grid */
    .performer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
      margin-bottom: 80px;
    }

    /* Card */
    .band-card {
      background: #fff;
      border: 1.5px solid #e8e8e8;
      border-radius: 6px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
    }
    .band-card:hover {
      border-color: var(--color-teal);
      box-shadow: 0 6px 24px rgba(0,128,128,0.13);
      transform: translateY(-2px);
    }

    /* Square photo */
    .band-photo-wrap {
      position: relative;
      width: 100%;
      padding-top: 100%;
      overflow: hidden;
      flex-shrink: 0;
    }
    .band-photo {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s ease;
    }
    .band-card:hover .band-photo { transform: scale(1.03); }

    /* Placeholder -- teal gradient with big centered note */
    .band-photo-placeholder {
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, var(--color-teal-dark) 0%, #003838 100%);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .band-photo-placeholder svg {
      width: 72px;
      height: 72px;
      opacity: 0.25;
    }

    /* Name + meta overlay at bottom of photo */
    .band-photo-overlay {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 48px 14px 12px;
      background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
    }
    .band-name-overlay {
      font-family: var(--font-body);
      font-size: 1.2rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 5px;
    }
    .band-overlay-meta {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .overlay-porch-badge {
      font-family: var(--font-body);
      font-size: 0.68rem;
      font-weight: 700;
      color: #1a1a1a;
      background: rgba(255,255,255,0.92);
      padding: 2px 6px;
      border-radius: 3px;
      text-decoration: none;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .overlay-porch-badge:hover { background: #fff; }
    .overlay-address {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.8);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      min-width: 0;
    }
    .overlay-time {
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      color: #fff;
      background: var(--color-teal);
      padding: 2px 6px;
      border-radius: 3px;
      white-space: nowrap;
      flex-shrink: 0;
      margin-left: auto;
    }

    /* Card body */
    .band-info {
      padding: 14px 14px 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .band-genre-pill {
      display: inline-block;
      align-self: flex-start;
      font-family: var(--font-body);
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-teal);
      background: #e8f8f5;
      padding: 2px 8px;
      border-radius: 3px;
    }
    .band-bio-text {
      font-size: 0.88rem;
      color: var(--color-mid);
      line-height: 1.6;
    }

    /* Also at this porch */
    .also-at-porch {
      background: #f7f7f7;
      border-radius: 4px;
      padding: 9px 11px;
    }
    .also-at-label {
      font-family: var(--font-body);
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #bbb;
      margin-bottom: 6px;
    }
    .also-at-row {
      display: flex;
      align-items: center;
      gap: 7px;
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--color-mid);
      margin-bottom: 3px;
    }
    .also-at-row:last-child { margin-bottom: 0; }
    .also-time {
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--color-teal);
      background: #e8f8f5;
      padding: 1px 5px;
      border-radius: 3px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* Social tray */
    .band-social-tray {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
      padding-top: 8px;
      border-top: 1px solid #f0f0f0;
      margin-top: auto;
    }
    .band-social-tray a { display: flex; align-items: center; }
    .social-icon {
      width: 19px;
      height: 19px;
      fill: #bbb;
      transition: fill 0.15s;
    }
    .band-social-tray a:hover .social-icon { fill: var(--color-teal); }

/* -- faq-performers.html -- */
/* -- FAQ Page Layout -- */

    /* -- FAQ Body -- */
    .faq-body {
      max-width: 760px;
      margin: 0 auto;
      padding: 56px 24px 80px;
    }
    .faq-section-title {
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--color-faint);
      margin-bottom: 20px;
    }

    /* -- Accordion -- */
    .faq-accordion { border-top: 2px solid var(--color-dark); }
    .faq-item { border-bottom: 1px solid #e8e8e4; }
    .faq-question {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 0;
      cursor: pointer;
      background: none;
      border: none;
      width: 100%;
      text-align: left;
    }
    .faq-question:hover .faq-q-text { color: var(--color-teal); }
    .faq-q-text {
      font-family: var(--font-body);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--color-dark);
      line-height: 1.4;
      transition: color 0.15s;
    }
    .faq-icon {
      flex-shrink: 0;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--color-dark);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
      margin-top: 1px;
      transition: background 0.2s, transform 0.25s;
    }
    .faq-item.open .faq-icon {
      background: var(--color-teal);
      transform: rotate(45deg);
    }
    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.28s ease;
    }
    .faq-item.open .faq-answer { grid-template-rows: 1fr; }
    .faq-answer-inner {
      overflow: hidden;
    }
    .faq-answer-content {
      font-family: var(--font-body);
      font-size: 0.97rem;
      color: #444;
      line-height: 1.7;
      padding-bottom: 20px;
    }
    .faq-answer-content ul {
      margin: 8px 0 8px 20px;
      padding: 0;
    }
    .faq-answer-content li { margin-bottom: 6px; }
    .faq-answer-content a { color: var(--color-teal); font-weight: 700; }
    .faq-answer-content strong { color: var(--color-dark); }

    /* -- CTA strip -- */

    .faq-footnote {
      margin-top: 32px;
      font-family: var(--font-body);
      font-size: 0.8rem;
      color: #aaa;
      font-style: italic;
    }

/* -- faq-host.html -- */
.faq-body {
      max-width: 760px;
      margin: 0 auto;
      padding: 56px 24px 80px;
    }
    .faq-section-title {
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--color-faint);
      margin-bottom: 20px;
    }
    .faq-accordion { border-top: 2px solid var(--color-dark); }
    .faq-item { border-bottom: 1px solid #e8e8e4; }
    .faq-question {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 0;
      cursor: pointer;
      background: none;
      border: none;
      width: 100%;
      text-align: left;
    }
    .faq-question:hover .faq-q-text { color: var(--color-teal); }
    .faq-q-text {
      font-family: var(--font-body);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--color-dark);
      line-height: 1.4;
      transition: color 0.15s;
    }
    .faq-icon {
      flex-shrink: 0;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--color-dark);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
      margin-top: 1px;
      transition: background 0.2s, transform 0.25s;
    }
    .faq-item.open .faq-icon { background: var(--color-teal); transform: rotate(45deg); }
    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.28s ease;
    }
    .faq-item.open .faq-answer { grid-template-rows: 1fr; }
    .faq-answer-inner { overflow: hidden; }
    .faq-answer-content {
      font-family: var(--font-body);
      font-size: 0.97rem;
      color: #444;
      line-height: 1.7;
      padding-bottom: 20px;
    }
    .faq-answer-content ul { margin: 8px 0 8px 20px; padding: 0; }
    .faq-answer-content li { margin-bottom: 6px; }
    .faq-answer-content a { color: var(--color-teal); font-weight: 700; }
    .faq-answer-content strong { color: var(--color-dark); }
    .faq-footnote {
      margin-top: 32px;
      font-family: var(--font-body);
      font-size: 0.8rem;
      color: #aaa;
      font-style: italic;
    }

/* -- volunteer.html -- */
/* -- Content -- */
    .vol-body {
      max-width: 760px;
      margin: 0 auto;
      padding: 56px 24px 80px;
    }

    /* Role cards */
    .vol-roles {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
      margin: 32px 0 48px;
    }
    .vol-role-card {
      background: #f7f7f5;
      border-radius: 10px;
      padding: 24px 20px;
      border-left: 4px solid var(--color-teal);
    }
    .vol-role-icon {
      font-size: 1.8rem;
      margin-bottom: 10px;
      display: block;
    }
    .vol-role-title {
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-dark);
      margin-bottom: 6px;
    }
    .vol-role-desc {
      font-family: var(--font-body);
      font-size: 0.88rem;
      color: var(--color-muted);
      line-height: 1.5;
    }

    .vol-section-title {
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--color-faint);
      margin-bottom: 16px;
    }

    .vol-intro {
      font-family: var(--font-body);
      font-size: 1.05rem;
      color: #444;
      line-height: 1.7;
      margin-bottom: 32px;
    }

    /* CTA */
    .vol-cta {
      background: var(--color-dark);
      border-radius: 12px;
      padding: 40px 32px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .vol-cta::before {
      content: '';
      position: absolute;
      top: -40px; right: -40px;
      width: 200px; height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,188,188,0.15) 0%, transparent 70%);
    }
    .vol-cta h2 {
      font-family: var(--font-display);
      font-size: 2rem;
      color: white;
      margin: 0 0 12px;
      position: relative;
    }
    .vol-cta p {
      font-family: var(--font-body);
      font-size: 1rem;
      color: rgba(255,255,255,0.65);
      margin: 0 0 28px;
      position: relative;
    }
    .vol-cta a {
      display: inline-block;
      background: var(--color-teal);
      color: white;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 14px 32px;
      border-radius: 4px;
      text-decoration: none;
      position: relative;
    }
    .vol-cta a:hover { background: var(--color-teal-dark); color: white; }

    .vol-fine-print {
      margin-top: 40px;
      padding: 20px 24px;
      background: #f7f7f5;
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 0.83rem;
      color: var(--color-subtle);
      font-style: italic;
      line-height: 1.6;
    }

/* -- sponsors.html -- */
.spon-body {
      max-width: 760px;
      margin: 0 auto;
      padding: 56px 24px 80px;
    }

    .spon-section-title {
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--color-faint);
      margin-bottom: 20px;
      margin-top: 48px;
    }
    .spon-section-title:first-child { margin-top: 0; }

    .spon-intro {
      font-family: var(--font-body);
      font-size: 1.05rem;
      color: #444;
      line-height: 1.7;
    }
    .spon-intro a { color: var(--color-teal); font-weight: 700; }

    /* Sponsor logo grid */
    .spon-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 24px;
      margin: 24px 0;
    }
    .spon-card {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f7f7f5;
      border-radius: 10px;
      padding: 28px 20px;
      min-height: 120px;
      text-decoration: none;
      border: 2px solid transparent;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .spon-card:hover {
      border-color: var(--color-teal);
      box-shadow: 0 4px 16px rgba(0,188,188,0.12);
    }
    .spon-card img {
      max-width: 100%;
      max-height: 80px;
      object-fit: contain;
      filter: grayscale(20%);
      transition: filter 0.2s;
    }
    .spon-card:hover img { filter: grayscale(0%); }

    /* Text credit */
    .spon-text-credits {
      margin-top: 16px;
    }
    .spon-text-credit {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 0;
      border-bottom: 1px solid var(--color-border-light);
      font-family: var(--font-body);
      font-size: 0.97rem;
      color: #444;
    }
    .spon-text-credit::before {
      content: ''\2665'';
      color: var(--color-teal);
      font-size: 1rem;
      flex-shrink: 0;
    }

    /* Donate CTA */
    .spon-donate {
      margin-top: 48px;
      background: linear-gradient(135deg, var(--color-dark) 0%, #1a2a2a 100%);
      border-radius: 12px;
      padding: 40px 32px;
      position: relative;
      overflow: hidden;
    }
    .spon-donate::before {
      content: '';
      position: absolute;
      bottom: -60px; right: -60px;
      width: 280px; height: 280px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,188,188,0.12) 0%, transparent 70%);
    }
    .spon-donate h2 {
      font-family: var(--font-display);
      font-size: 1.8rem;
      color: white;
      margin: 0 0 12px;
      position: relative;
    }
    .spon-donate p {
      font-family: var(--font-body);
      font-size: 0.97rem;
      color: rgba(255,255,255,0.65);
      line-height: 1.6;
      margin: 0 0 24px;
      max-width: 480px;
      position: relative;
    }
    .spon-donate-note {
      display: block;
      margin-top: 12px;
      font-family: var(--font-body);
      font-size: 0.78rem;
      color: rgba(255,255,255,0.4);
      position: relative;
    }

/* -- admin-login.html -- */
/* Note: body/root overrides kept in admin-login.html inline style only */

    .login-card {
      background: #fff;
      border-radius: 16px;
      padding: 48px 40px 40px;
      width: 100%;
      max-width: 420px;
      position: relative;
      box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    }

    .login-logo {
      display: block;
      width: 180px;
      margin: 0 auto 32px;
    }

    .login-title {
      font-family: var(--font-display);
      font-size: 1.6rem;
      color: var(--color-dark);
      text-align: center;
      margin-bottom: 6px;
    }

    .login-sub {
      font-size: 0.85rem;
      color: var(--color-subtle);
      text-align: center;
      margin-bottom: 32px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    .login-field {
      margin-bottom: 16px;
    }

    .login-field label {
      display: block;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-muted);
      margin-bottom: 6px;
    }

    .login-field input {
      width: 100%;
      padding: 12px 14px;
      border: 2px solid #e8e8e4;
      border-radius: 6px;
      font-family: var(--font-body);
      font-size: 1rem;
      color: var(--color-dark);
      background: #fafaf8;
      transition: border-color 0.15s;
      outline: none;
    }
    .login-field input:focus {
      border-color: var(--color-teal);
      background: #fff;
    }

    .login-error {
      margin-top: 16px;
      padding: 12px 14px;
      background: #fff0f0;
      border: 1px solid #ffcccc;
      border-radius: 6px;
      font-size: 0.88rem;
      color: #c0392b;
      display: none;
      text-align: center;
    }
    .login-error.visible { display: block; }

    .login-footer {
      margin-top: 24px;
      text-align: center;
      font-size: 0.78rem;
      color: #bbb;
    }
    .login-footer a {
      color: var(--color-teal);
      text-decoration: none;
    }

/* -- map.html -- */
/* Fix: html+body need explicit height so Leaflet measures container correctly */
/* Without this, body padding-top causes Leaflet to read y:8285 instead of viewport height */
html { height: 100%; }
body.map-page { height: 100%; padding-top: 0; }

/* -- Map page layout -- */
    .map-page-layout {
      display: grid;
      grid-template-columns: 1fr 420px;
      grid-template-rows: 1fr;
      height: calc(100vh - 60px);
      overflow: hidden;
      position: fixed;
      top: 60px; left: 0; right: 0; bottom: 0;
    }

    /* -- Map pane -- */
    #map-pane {
      position: relative;
      height: 100%;
    }

    #map-container {
      width: 100%;
      height: 100%;
    }

    /* -- List pane -- */
    #list-pane {
      display: flex;
      flex-direction: column;
      height: 100%;
      background: #fafaf8;
      border-left: 2px solid var(--color-dark);
      overflow: visible;
    }

    /* -- Filter bar -- */
    .map-filter-bar {
      padding: 16px 16px 12px;
      background: var(--color-dark);
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-shrink: 0;
      min-height: 0;
      overflow: visible;
      box-sizing: border-box;
      width: 100%;
      position: relative;
      z-index: 200;
    }

    /* Filter toggle bar -- slim always-visible row above the tray */
    .filter-toggle-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 16px;
      background: var(--color-dark);
      cursor: pointer;
      flex-shrink: 0;
      user-select: none;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .filter-toggle-bar:hover { background: rgba(0,0,0,0.7); }
    .filter-toggle-label {
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 700;
      color: rgba(255,255,255,0.65);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .filter-active-badge {
      color: var(--color-teal);
      font-size: 0.6rem;
      margin-left: 6px;
    }
    .filter-clear-btn {
      margin-left: auto;
      background: none;
      border: 1px solid rgba(255,255,255,0.25);
      color: rgba(255,255,255,0.6);
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 3px 8px;
      border-radius: 3px;
      cursor: pointer;
    }
    .filter-clear-btn:hover { border-color: var(--color-teal); color: var(--color-teal); }


    .map-search-input {
      width: 100%;
      padding: 8px 12px;
      border: none;
      border-radius: 4px;
      font-family: var(--font-body);
      font-size: 0.9rem;
      background: rgba(255,255,255,0.12);
      color: white;
      outline: none;
      box-sizing: border-box;
    }

    .map-search-input::placeholder { color: rgba(255,255,255,0.5); }
    .map-search-input:focus { background: rgba(255,255,255,0.2); }

    .map-filter-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .map-filter-select {
      padding: 7px 10px;
      border: none;
      border-radius: 4px;
      font-family: var(--font-body);
      font-size: 0.82rem;
      background: rgba(255,255,255,0.12);
      color: white;
      outline: none;
      cursor: pointer;
      width: 100%;
      appearance: none;
      -webkit-appearance: none;
    }

    .map-filter-select option { background: #1a1a1a; color: white; }

    /* -- Custom dropdown (replaces native <select> on map filter bar) -- */
    .cdd-wrap {
      position: relative;
      width: 100%;
    }
    .cdd-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 10px;
      border-radius: 4px;
      background: rgba(255,255,255,0.12);
      color: white;
      font-family: var(--font-body);
      font-size: 0.82rem;
      cursor: pointer;
      user-select: none;
      transition: background 0.15s;
    }
    .cdd-trigger:hover { background: rgba(255,255,255,0.2); }
    .cdd-wrap.open .cdd-trigger { background: rgba(255,255,255,0.22); border-radius: 4px 4px 0 0; }
    .cdd-arrow {
      font-size: 1rem;
      line-height: 1;
      color: var(--color-teal);
      transition: transform 0.18s;
      flex-shrink: 0;
      margin-left: 6px;
    }
    .cdd-wrap.open .cdd-arrow { transform: rotate(180deg); }
    .cdd-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #1e2124;
      border: 1px solid rgba(255,255,255,0.15);
      border-top: none;
      border-radius: 0 0 6px 6px;
      max-height: 220px;
      overflow-y: auto;
      z-index: 9999;
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    }
    .cdd-wrap.open .cdd-menu { display: block; }
    .cdd-option {
      padding: 8px 12px;
      font-family: var(--font-body);
      font-size: 0.82rem;
      color: rgba(255,255,255,0.85);
      cursor: pointer;
      transition: background 0.1s;
    }
    .cdd-option:hover { background: rgba(255,255,255,0.1); color: white; }
    .cdd-option.cdd-selected { color: var(--color-teal); font-weight: 700; }

    .map-result-count {
      font-family: var(--font-body);
      font-size: 0.75rem;
      color: rgba(255,255,255,0.55);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* -- Sheet content: scroll container on both desktop + mobile -- */
    .sheet-content {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      min-height: 0;
    }

    /* -- Scrollable card list -- */
    #schedule-list {
      padding: 10px 12px;
      scroll-behavior: smooth;
    }

    #schedule-list::-webkit-scrollbar { width: 4px; }
    #schedule-list::-webkit-scrollbar-track { background: transparent; }
    #schedule-list::-webkit-scrollbar-thumb { background: var(--color-border-mid); border-radius: 2px; }

    /* -- Porch cards -- */
    .location-card {
      background: white;
      border: 1.5px solid #e8e8e8;
      border-radius: 6px;
      padding: 12px 14px;
      margin-bottom: 8px;
      cursor: pointer;
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    }

    .location-card:hover {
      border-color: var(--color-teal);
      box-shadow: 0 2px 8px rgba(0,128,128,0.12);
    }

    .location-card.active {
      border-color: var(--color-teal);
      border-width: 2px;
      box-shadow: 0 2px 12px rgba(0,128,128,0.2);
    }

    .location-card.dimmed {
      opacity: 0.35;
    }

    .porch-header {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 4px;
    }

    .porch-number {
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      color: white;
      background: var(--color-teal);
      padding: 1px 6px;
      border-radius: 3px;
      flex-shrink: 0;
    }

    .porch-address {
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--color-dark);
      margin: 0;
    }

    .porch-meta {
      font-size: 0.72rem;
      color: var(--color-faint);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: block;
      margin-bottom: 8px;
    }

    /* -- Gig rows -- */
    .location-gigs { display: flex; flex-direction: column; gap: 4px; }

    .gig-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
    }

    .time-badge {
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--color-teal);
      background: #e8f8f5;
      padding: 2px 6px;
      border-radius: 3px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .gig-band {
      font-family: var(--font-body);
      font-weight: 700;
      color: var(--color-dark);
    }

    .gig-band.tba { color: #bbb; font-weight: 400; font-style: italic; }

    .gig-genre {
      font-size: 0.7rem;
      color: #aaa;
      margin-left: auto;
      text-align: right;
    }

    /* -- Expand chevron -- */
    .expand-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--color-light-gray);
      border: none;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      margin-left: auto;
      transition: background 0.15s, transform 0.2s;
      color: var(--color-faint);
      font-size: 0.7rem;
    }
    .expand-toggle:hover { background: #e8f8f5; color: var(--color-teal); }
    .expand-toggle.open { transform: rotate(180deg); background: #e8f8f5; color: var(--color-teal); }

    /* -- Detail panel -- */
    .porch-detail {
      display: none;
      border-top: 1px solid var(--color-border-light);
      margin-top: 10px;
      padding-top: 10px;
    }
    .porch-detail.open { display: block; }

    .detail-band {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid var(--color-light-gray);
    }
    .detail-band:last-child { border-bottom: none; }

    .detail-thumb {
      width: 52px;
      height: 52px;
      border-radius: 4px;
      object-fit: cover;
      flex-shrink: 0;
      background: var(--color-border-light);
    }
    .detail-thumb-placeholder {
      width: 52px;
      height: 52px;
      border-radius: 4px;
      background: #e8f8f5;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-teal);
      font-size: 1.2rem;
    }

    .detail-info { flex: 1; min-width: 0; }
    .detail-name {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.9rem;
      color: var(--color-dark);
      margin-bottom: 2px;
    }
    .detail-meta {
      font-size: 0.72rem;
      color: var(--color-subtle);
      margin-bottom: 4px;
    }
    .detail-bio {
      font-size: 0.78rem;
      color: var(--color-mid);
      line-height: 1.5;
      margin-bottom: 6px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .detail-socials {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .detail-social-link {
      font-size: 0.7rem;
      font-family: var(--font-body);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--color-teal);
      text-decoration: none;
      padding: 2px 6px;
      border: 1px solid var(--color-teal);
      border-radius: 3px;
      white-space: nowrap;
    }
    .detail-social-link:hover { background: var(--color-teal); color: white; }

    .no-bands-yet {
      font-size: 0.78rem;
      color: #bbb;
      font-style: italic;
    }

    /* -- Nearby row -- */
    .map-nearby-label {
        font-family: var(--font-body);
        font-size: 0.7rem;
        color: rgba(255,255,255,0.45);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 4px;
    }
    .map-nearby-row {
      display: flex;
      gap: 6px;
      align-items: center;
    }

    .map-nearby-row input {
      flex: 1;
      padding: 7px 10px;
      border: none;
      border-radius: 4px;
      font-family: var(--font-body);
      font-size: 0.85rem;
      background: rgba(255,255,255,0.12);
      color: white;
      outline: none;
    }
    .map-nearby-row input::placeholder { color: rgba(255,255,255,0.4); }
    .map-nearby-row input:focus { background: rgba(255,255,255,0.2); }

    .nearby-go-btn {
      padding: 7px 12px;
      background: var(--color-teal);
      color: white;
      border: none;
      border-radius: 4px;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.85rem;
      cursor: pointer;
      white-space: nowrap;
    }
    .nearby-go-btn:hover { background: var(--color-teal-dark); }

    .nearby-clear-btn {
      padding: 7px 8px;
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      border: none;
      border-radius: 4px;
      font-size: 0.8rem;
      cursor: pointer;
      line-height: 1;
    }
    .nearby-clear-btn:hover { background: rgba(255,255,255,0.2); }

    .nearby-radius-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 2px 0;
    }

    .nearby-radius-row label {
      font-family: var(--font-body);
      font-size: 0.72rem;
      color: rgba(255,255,255,0.5);
      white-space: nowrap;
    }

    .nearby-radius-row input[type=range] {
      flex: 1;
      accent-color: var(--color-teal);
      height: 3px;
      cursor: pointer;
    }

    #nearby-radius-label {
      font-family: var(--font-body);
      font-size: 0.72rem;
      color: rgba(255,255,255,0.7);
      font-weight: 700;
      min-width: 32px;
      text-align: right;
    }

    #nearby-status {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.5);
      min-height: 14px;
    }

    .filter-divider {
      border: none;
      border-top: 1px solid rgba(255,255,255,0.1);
      margin: 4px 0;
    }

    /* -- Empty state -- */
    .map-empty-state {
      text-align: center;
      padding: 40px 20px;
      color: #aaa;
      font-family: var(--font-body);
    }

    .map-empty-state h3 {
      font-family: var(--font-display);
      font-size: 1.2rem;
      color: var(--color-border-mid);
      margin-bottom: 8px;
    }

    /* -- Map popup -- */
    .map-popup { font-family: var(--font-body); min-width: 180px; }
    .map-popup strong { font-size: 0.95rem; display: block; margin-bottom: 6px; }
    .map-popup .popup-num { 
      display: inline-block; background: var(--color-teal); color: white;
      font-size: 0.65rem; font-weight: 700; padding: 1px 5px; border-radius: 3px;
      margin-right: 5px; vertical-align: middle;
    }
    .map-popup .popup-gig { font-size: 0.8rem; color: var(--color-mid); margin-top: 3px; }
    .map-popup .popup-gig .t { color: var(--color-teal); font-weight: 700; margin-right: 4px; }

    /* Mobile overrides handled in mobile.css */

/* -- admin-schedule.html -- */
.st-toolbar { margin-bottom: 0; }
.st-search-count {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--color-muted);
    white-space: nowrap;
    font-weight: 600;
}
.st-wrap { margin-top: 16px; overflow-x: auto; }

    /* -- Row = label + track -- */
    .gantt-row {
      display: flex;
      align-items: stretch;
      margin-bottom: 3px;
    }
    .gantt-label {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      flex: 0 0 220px;
      border: 1px solid #e0e0e0;
      border-right: none;
      border-radius: 4px 0 0 4px;
      overflow: hidden;
      box-sizing: border-box;
      background: #f8f8f8;
    }
    .gantt-label-num {
      flex: 0 0 32px;
      background: var(--color-teal);
      color: #fff;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      writing-mode: horizontal-tb;
    }
    .gantt-label-num.empty {
      background: #e0e0e0;
    }
    .gantt-label-info {
      flex: 1;
      padding: 10px 10px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }
    .gantt-corner {
      background: #2a2a2a;
      color: #fff;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      align-items: flex-end;
      padding-bottom: 6px;
      min-height: 42px;
      border-color: #2a2a2a;
    }
    .gantt-corner .gantt-label-num {
      background: #1a1a1a;
    }
    .gantt-corner .gantt-label-info {
      justify-content: flex-end;
      padding-bottom: 6px;
    }

    /* -- Track: 20 bg columns + absolutely placed band blocks -- */
    .gantt-track {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(20, 1fr);
      position: relative;
      border: 1px solid #e0e0e0;
      border-radius: 0 4px 4px 0;
      min-width: 600px;
      overflow: visible;
    }
    .gantt-header-row .gantt-track {
      min-height: 42px;
      border-color: #2a2a2a;
      background: #2a2a2a;
    }

    /* Header cells */
    .gantt-header-cell {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.68rem;
      color: #fff;
      display: flex;
      align-items: flex-end;
      padding: 0 3px 5px;
      overflow: visible;
      white-space: nowrap;
      border-right: 1px solid #383838;
    }
    .gantt-header-cell.gantt-hour-mark {
      border-right-color: var(--color-muted);
      color: #fff;
    }
    .gantt-header-cell:not(.gantt-hour-mark) {
      color: transparent;
      font-size: 0;
    }

    /* Background availability cells */
    .gantt-bg-cell {
      min-height: 76px;
      border-right: 1px solid #f0f0f0;
      box-sizing: border-box;
      grid-row: 1;
    }
    .gantt-bg-cell:nth-child(4n) { border-right-color: var(--color-border); }
    .gantt-bg-cell.available {
      background: #fff;
      cursor: pointer;
    }
    .gantt-bg-cell.available:hover { background: #f5fcfa; }
    .gantt-bg-cell.unavail {
      background: repeating-linear-gradient(
        45deg,
        #f7f7f7 0px, #f7f7f7 4px,
        #eeeeee 4px, #eeeeee 8px
      );
      cursor: default;
    }
    .gantt-bg-cell.drag-over {
      background: rgba(0,128,128,0.12) !important;
      box-shadow: inset 0 0 0 1px var(--color-teal);
      z-index: 1;
      position: relative;
    }
    /* First dragged-over cell gets left border to show start point */
    .gantt-bg-cell.drag-over-start {
      box-shadow: inset 2px 0 0 var(--color-teal), inset 0 0 0 1px var(--color-teal);
    }

    /* Band block overlay grid -- sits on top of bg cells */
    .gantt-band-layer {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: repeat(20, 1fr);
      pointer-events: none;
      padding: 5px 2px;
      box-sizing: border-box;
      align-items: stretch;
    }

    /* Individual band block */
    .gantt-band {
      pointer-events: all;
      background: #e8f8f5;
      border: 1.5px solid var(--color-teal);
      border-radius: 4px;
      display: flex;
      align-items: stretch;
      overflow: hidden;
      cursor: grab;
      margin: 5px 2px;
      transition: box-shadow 0.15s;
      grid-row: 1;
      min-width: 0;
    }
    .gantt-band:hover  { box-shadow: 0 2px 8px rgba(0,128,128,0.3); }
    .gantt-band:active { cursor: grabbing; }
    /* Pre-arranged match = teal (matches panel convention) */
    .gantt-band.pre-arranged {
      background: #e8f8f5;
      border-color: var(--color-teal);
      border-width: 2px;
    }
    /* Regular assignment = neutral gray */
    .gantt-band:not(.pre-arranged) {
      background: #f5f5f5;
      border-color: #bbb;
    }
    .gantt-band:not(.pre-arranged) .gantt-band-name { color: var(--color-dark-2); }
    .gantt-band:not(.pre-arranged) .gantt-band-meta { color: #777; }
    .gantt-band:not(.pre-arranged) .gantt-unassign {
      border-left-color: rgba(0,0,0,0.1);
    }
    .gantt-band-inner {
      flex: 1 1 0;
      padding: 4px 6px 6px;
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .gantt-band-name {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.76rem;
      color: var(--color-dark);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.4;
    }
    .gantt-band-meta {
      font-size: 0.6rem;
      color: var(--color-mid);
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .gantt-band .st-jump-link { font-size: 0.58rem; margin-top: 2px; }
    .gantt-unassign {
      flex: 0 0 18px;
      background: none;
      border: none;
      border-left: 1px solid rgba(0,128,128,0.2);
      color: #bbb;
      cursor: pointer;
      font-size: 0.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: background 0.15s, color 0.15s;
    }
    .gantt-unassign:hover { background: rgba(231,76,60,0.12); color: #e74c3c; }

    .gantt-adj-controls {
        flex: 0 0 16px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        border-left: 1px solid rgba(0,128,128,0.2);
        min-width: 16px;
        background: rgba(0,128,128,0.06);
    }
    .gantt-adj-btn {
        flex: 1;
        font-size: 0.65rem;
        font-weight: 700;
        width: 16px;
        border: none;
        background: none;
        color: var(--color-teal);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        line-height: 1;
        transition: background 0.12s;
    }
    .gantt-adj-btn:first-child { border-bottom: 1px solid rgba(0,128,128,0.2); }
    .gantt-adj-btn:hover { background: rgba(0,128,128,0.12); }

    /* -- Porch label internals -- */
    .porch-num { color: var(--color-teal); font-weight: 700; margin-right: 4px; }
    .st-porch-name {
      font-family: var(--font-body);
      font-weight: 700; font-size: 0.85rem;
      color: var(--color-dark); line-height: 1.2;
    }
    .st-porch-type { font-size: 0.68rem; color: var(--color-faint); text-transform: uppercase; margin-top: 2px; }
    .st-jump-link {
      font-size: 0.66rem; color: var(--color-teal);
      text-decoration: none; margin-top: 3px;
      opacity: 0.7; transition: opacity 0.15s; display: block;
    }
    .st-jump-link:hover { opacity: 1; text-decoration: underline; }

    /* Unscheduled match indicator */
    .gantt-label--has-match {
      background: linear-gradient(to right, #e8f8f5, #f5faf9) !important;
      border-left: 3px solid var(--color-teal);
    }
    .gantt-label--has-match .gantt-label-num {
      background: var(--color-teal) !important;
    }
    .st-match-pip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--color-teal);
      color: white;
      font-size: 0.6rem;
      font-weight: 700;
      vertical-align: middle;
      margin-left: 4px;
      line-height: 1;
      cursor: default;
    }

    /* -- Stats -- */
    .st-stats { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
    .st-stat {
      background: #fff; border: 1px solid #e0e0e0;
      border-radius: 6px; padding: 12px 20px;
      text-align: center; min-width: 90px;
    }
    .st-stat-num {
      font-family: var(--font-body);
      font-weight: 700; font-size: 1.8rem;
      color: var(--color-dark); line-height: 1;
    }
    .st-stat-num.teal { color: var(--color-teal); }
    .st-stat-label {
      font-size: 0.68rem; text-transform: uppercase;
      color: var(--color-faint); margin-top: 4px; letter-spacing: 0.05em;
    }

    /* -- Panel -- */
    .st-panel-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.3); z-index: 100;
    }
    .st-panel-overlay.open { display: block; }
    .st-panel {
      position: fixed; top: 0; right: -420px;
      width: 400px; height: 100vh; background: #fff;
      box-shadow: -4px 0 20px rgba(0,0,0,0.15);
      z-index: 101; transition: right 0.3s ease;
      display: flex; flex-direction: column;
    }
    .st-panel.open { right: 0; }
    .st-panel-header {
      padding: 20px 24px 16px; border-bottom: 1px solid var(--color-border-light);
      background: var(--color-dark); color: #fff; position: relative;
    }
    .st-panel-header h3 {
      font-family: var(--font-body);
      font-weight: 700; font-size: 1rem;
      text-transform: uppercase; margin: 0 0 2px;
    }
    .st-panel-header p { font-size: 0.8rem; color: #aaa; margin: 0; }
    .st-panel-close {
      position: absolute; top: 16px; right: 16px;
      background: none; border: none; color: #aaa;
      font-size: 1.4rem; cursor: pointer; line-height: 1;
    }
    .st-panel-close:hover { color: #fff; }
    .st-panel-body { flex: 1; overflow-y: auto; padding: 0; }
    .st-panel-search {
      padding: 12px 16px;
      border-bottom: 1px solid var(--color-border-light);
      position: sticky;
      top: 0;
      background: #fff;
      z-index: 1;
    }
    .st-panel-search input {
      width: 100%;
      box-sizing: border-box;
      padding: 8px 12px;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      font-family: var(--font-body);
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .st-panel-search input:focus { border-color: var(--color-teal); }
    .st-panel-list { padding: 12px 16px; }

    /* Email panel content */
    .email-panel-content { padding: 16px; }
    .email-panel-field { margin-bottom: 14px; }
    .email-panel-label {
        display: block;
        font-family: var(--font-body);
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--color-muted);
        margin-bottom: 4px;
    }
    .email-panel-value {
        font-family: var(--font-body);
        font-size: 0.88rem;
        color: var(--color-dark);
        font-weight: 600;
    }
    .email-panel-body-preview {
        font-family: var(--font-body);
        font-size: 0.78rem;
        line-height: 1.6;
        color: #444;
        background: #f8f8f8;
        border: 1px solid var(--color-border-light);
        border-radius: 6px;
        padding: 12px 14px;
        white-space: pre-wrap;
        word-break: break-word;
        max-height: 320px;
        overflow-y: auto;
        margin: 0;
    }
    .email-panel-actions {
        display: flex;
        gap: 10px;
        margin: 16px 0 10px;
        flex-wrap: wrap;
    }
    .email-open-mail {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .email-copy-btn { display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s, color 0.2s; }
    .email-panel-hint {
        font-size: 0.72rem;
        color: var(--color-muted);
        line-height: 1.5;
        border-top: 1px solid var(--color-border-light);
        padding-top: 10px;
        margin: 0;
    }

    /* ── Email panel v2: sections, history, compose ─────────────── */
    .email-section {
        border-top: 1px solid var(--color-border-light);
        padding: 12px 0 4px;
    }
    .email-section:first-child { border-top: none; }
    .email-section-label {
        display: block;
        font-family: var(--font-body);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--color-muted);
        margin-bottom: 6px;
    }
    .email-history-section { padding-bottom: 0; }
    .email-section-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        padding: 0 0 10px;
        cursor: pointer;
        font-family: var(--font-body);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-dark);
        text-align: left;
    }
    .email-section-toggle:hover { color: var(--color-teal); }
    .email-section-chevron {
        font-size: 0.7rem;
        color: var(--color-muted);
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }
    .email-history-body { padding-bottom: 8px; }
    .email-history-item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 2px 8px;
        padding: 6px 0;
        border-bottom: 1px solid var(--color-border-light);
        font-size: 0.75rem;
    }
    .email-history-item:last-child { border-bottom: none; }
    .email-history-item--error { opacity: 0.6; }
    .email-history-date  { color: var(--color-muted); font-size: 0.72rem; white-space: nowrap; }
    .email-history-subject { font-weight: 600; color: var(--color-dark); }
    .email-history-to    { color: var(--color-muted); grid-column: 2; }
    .email-history-by    { color: var(--color-muted); grid-column: 2; font-size: 0.72rem; }
    .email-history-empty { color: var(--color-muted); font-size: 0.8rem; font-style: italic; margin: 0 0 8px; }
    .email-recipients-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
    .email-recipient-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        cursor: pointer;
        padding: 3px 0;
    }
    .email-recipient-row input[type="checkbox"] { flex-shrink: 0; }
    .email-recipient-addr { color: var(--color-muted); font-size: 0.75rem; margin-left: auto; }
    .email-mode-selector { display: flex; gap: 20px; margin-bottom: 4px; }
    .email-mode-option {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        cursor: pointer;
    }
    .email-tpl-vars { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
    .btn-tpl-var {
        font-family: var(--font-body);
        font-size: 0.72rem;
        font-weight: 600;
        padding: 3px 7px;
        border: 1px solid var(--color-border);
        border-radius: 3px;
        background: var(--color-light-bg, #f5f5f5);
        color: var(--color-dark);
        cursor: pointer;
        transition: background 0.15s;
    }
    .btn-tpl-var:hover { background: var(--color-teal); color: #fff; border-color: var(--color-teal); }
    .email-panel-send-row {
        padding: 14px 0 6px;
        border-top: 1px solid var(--color-border-light);
        margin-top: 8px;
    }

    /* ── admin-emails.html: bulk compose, history, templates ────── */
    .compose-preview-box {
        border: 1px solid var(--color-border-light);
        border-radius: 6px;
        padding: 14px;
        background: var(--color-light-bg, #fafafa);
        font-size: 0.82rem;
        line-height: 1.55;
        min-height: 60px;
    }
    .compose-preview-recipients { margin-bottom: 8px; }
    .compose-preview-chip {
        display: inline-block;
        background: #e8f4f0;
        border-radius: 3px;
        padding: 2px 7px;
        font-size: 0.75rem;
        margin: 2px 3px 2px 0;
        color: var(--color-dark);
    }
    .compose-preview-chip--more { background: #eee; color: #888; }
    .compose-preview-subject { font-weight: 700; margin: 6px 0 4px; }
    .compose-preview-body { color: var(--color-dark); }
    .rate-bar {
        height: 8px;
        background: #ddd;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 4px;
    }
    .rate-bar-fill { height: 100%; background: var(--color-teal); border-radius: 4px; transition: width 0.3s; }
    .rate-bar--amber .rate-bar-fill { background: #d4850a; }
    .rate-bar--red   .rate-bar-fill { background: #c0392b; }
    .rate-bar-label  { font-size: 0.78rem; color: var(--color-muted); }
    .history-row { cursor: pointer; }
    .history-row:hover td { background: #f5fffe; }
    .history-row--error td { opacity: 0.65; }
    .history-detail-cell { background: #f9f9f9; padding: 10px 16px; font-size: 0.82rem; color: var(--color-dark); }
    .history-type-badge {
        display: inline-block;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 3px;
        background: #e0e0e0;
        color: #333;
    }
    .history-type-badge--host-confirmation      { background: #d0ede4; color: #1a6040; }
    .history-type-badge--performer-confirmation { background: #d4e8f5; color: #1a4060; }
    .history-type-badge--custom                 { background: #ece4f5; color: #4a1a80; }
    .templates-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 20px;
    }
    .template-card {
        border: 1px solid var(--color-border-light);
        border-radius: 8px;
        overflow: hidden;
    }
    .template-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        background: var(--color-light-bg, #f5f5f5);
        border-bottom: 1px solid var(--color-border-light);
        gap: 10px;
    }
    .template-card-name { font-weight: 700; font-size: 0.88rem; }
    .template-card-subject { padding: 8px 14px; font-size: 0.8rem; color: var(--color-muted); background: #fff; }
    .template-card-body {
        margin: 0;
        padding: 10px 14px;
        font-family: var(--font-body);
        font-size: 0.78rem;
        line-height: 1.6;
        white-space: pre-wrap;
        word-break: break-word;
        max-height: 220px;
        overflow-y: auto;
        background: #fff;
        color: var(--color-dark);
    }

    /* Bulk send button — visually inactive when subject/body empty, but still clickable */
    .btn-bulk-send-inactive {
        opacity: 0.45;
        cursor: not-allowed;
    }

    /* Inline validation error shown below a field */
    .compose-inline-error {
        display: block;
        font-size: 0.78rem;
        color: #c0392b;
        margin-top: 5px;
        font-weight: 600;
    }

    /* ── Release Notes / Changelog ─────────────────────────────── */
    .changelog-wrap { max-width: 760px; padding: 8px 0 40px; }
    .changelog-entry {
        border-left: 3px solid var(--color-teal);
        padding: 0 0 32px 24px;
        margin-bottom: 8px;
        position: relative;
    }
    .changelog-entry::before {
        content: '';
        position: absolute;
        left: -7px;
        top: 6px;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: var(--color-teal);
        border: 2px solid #fff;
        box-shadow: 0 0 0 1px var(--color-teal);
    }
    .changelog-header { margin-bottom: 10px; }
    .changelog-date {
        font-family: var(--font-body);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--color-muted);
    }
    .changelog-title {
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 700;
        color: var(--color-dark);
        margin: 4px 0 0;
    }
    .changelog-items {
        margin: 0;
        padding-left: 18px;
        list-style: disc;
    }
    .changelog-items li {
        font-family: var(--font-body);
        font-size: 0.88rem;
        line-height: 1.6;
        color: #444;
        margin-bottom: 6px;
    }
    .changelog-items code {
        font-family: monospace;
        font-size: 0.82rem;
        background: #f0f0f0;
        padding: 1px 4px;
        border-radius: 3px;
        color: var(--color-dark);
    }

    .st-band-option {
      border: 1px solid #e0e0e0; border-radius: 6px;
      padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      display: flex; align-items: center;
      justify-content: space-between; gap: 10px;
    }
    .st-band-option:hover { border-color: var(--color-teal); background: #f0faf8; }
    /* Tier 1 & 2: teal border -- mutual or band-requested */
    .st-band-option.pre-arranged-match {
      border-color: var(--color-teal); border-width: 2px; background: #f0faf8;
    }
    /* Tier 3: gray border -- host-requested only */
    .st-band-option.host-match {
      border-color: #bbb; border-width: 2px; background: #f9f9f9;
    }
    .st-band-option.blocked-option {
      opacity: 0.45; cursor: not-allowed;
      pointer-events: none; background: #f9f9f9;
    }
    .st-option-name {
      font-family: var(--font-body);
      font-weight: 700; font-size: 0.9rem;
    }
    .st-option-meta { font-size: 0.75rem; color: var(--color-subtle); margin-top: 2px; }
    .st-option-badge {
      font-size: 0.65rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.05em;
      padding: 3px 7px; border-radius: 3px;
      white-space: nowrap; flex-shrink: 0;
    }
    .st-option-badge.match    { background: #e8f8f5; color: var(--color-teal); }
    .st-option-badge.overlength { background: #fef0e7; color: #e67e22; }

    .st-empty-state { text-align: center; padding: 60px 20px; color: var(--color-faint); }
    .st-empty-state h3 {
      font-family: var(--font-body);
      font-size: 1.2rem; margin-bottom: 8px;
    }

/* -- admin-settings.html -- */
/* -- Bulk Import -- */
    .bulk-drop-zone {
      border: 2px dashed var(--color-border-mid);
      border-radius: 8px;
      padding: 32px 24px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      background: #fafafa;
      margin-bottom: 16px;
    }
    .bulk-drop-zone:hover, .bulk-drop-zone.drag-active {
      border-color: var(--color-teal);
      background: #f0faf8;
    }
    .bulk-drop-zone input[type="file"] { display: none; }
    .bulk-drop-icon { font-size: 2rem; margin-bottom: 8px; }
    .bulk-drop-label {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.9rem;
      color: var(--color-mid);
    }
    .bulk-drop-sub { font-size: 0.8rem; color: var(--color-faint); margin-top: 4px; }
    .bulk-drop-link { color: var(--color-teal); text-decoration: underline; cursor: pointer; }

    .bulk-preview-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.8rem;
      margin-bottom: 8px;
    }
    .bulk-preview-table th {
      background: #f0f0f0;
      padding: 6px 10px;
      text-align: left;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--color-muted);
      white-space: nowrap;
    }
    .bulk-preview-table td {
      padding: 6px 10px;
      border-bottom: 1px solid var(--color-border-light);
      max-width: 160px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .bulk-type-badge {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 700;
      font-family: var(--font-body);
    }
    .bulk-type-performers { background: #e8f8f5; color: var(--color-teal); }
    .bulk-type-hosts      { background: #fff3e0; color: #e67e22; }

    .bulk-status {
      display: none;
      padding: 10px 16px;
      border-radius: 6px;
      font-size: 0.85rem;
      margin-top: 12px;
    }
    .bulk-status-success { background: #e8f8f5; color: var(--color-teal-dark); border: 1px solid #b2dfdb; }
    .bulk-status-warning { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }
    .bulk-status-error   { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }

    .test-data-panel {
      background: #fff8f0;
      border: 1px solid #ffe0b2;
      border-radius: 8px;
      padding: 20px 24px;
      margin-top: 24px;
    }
    .test-data-panel h3 {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 1rem;
      text-transform: uppercase;
      color: var(--color-warning);
      margin: 0 0 8px;
    }
    #test-data-count {
      font-size: 0.85rem;
      color: var(--color-subtle);
      margin-bottom: 12px;
    }

    /* Template download links */
    .csv-template-links {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .csv-template-link {
      font-size: 0.8rem;
      color: var(--color-teal);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 0;
    }
    .csv-template-link:hover { text-decoration: underline; }

    .tab-content .admin-module { margin-top: 0 !important; }

    /* Two-col layout for Site Controls */
    .settings-two-col {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 32px;
      align-items: start;
    }
    @media (max-width: 900px) {
      .settings-two-col { grid-template-columns: 1fr; }
      .settings-col-side { order: -1; }
    }
    .settings-col-main {}
    .settings-col-side {
      position: sticky;
      top: 80px;
    }
    .settings-side-card {
      background: #f7f7f5;
      border-radius: 8px;
      padding: 16px 20px;
    }
    .settings-side-title {
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-faint);
      margin-bottom: 12px;
    }
    .settings-side-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 8px 0;
      border-bottom: 1px solid var(--color-border-light);
      font-family: var(--font-body);
      font-size: 0.85rem;
    }
    .settings-side-item:last-child { border-bottom: none; }
    .settings-side-card .btn-primary { margin-top: 12px; }
    .settings-side-label { color: var(--color-faint); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
    .settings-side-item a { color: var(--color-teal); font-weight: 700; text-decoration: none; }
    .settings-side-item a:hover { text-decoration: underline; }

    .bulk-two-col {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 32px;
      align-items: start;
    }
    @media (max-width: 900px) {
      .bulk-two-col { grid-template-columns: 1fr; }
    }
    .bulk-col-import {}
    .bulk-col-nuke {}



    /* -- Renumber Tool -- */
    .renumber-panel {
      background: #f0faf8;
      border: 1px solid #b2dfdb;
      border-radius: 8px;
      padding: 20px 24px;
      margin-top: 24px;
    }
    .renumber-panel h3 {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 1rem;
      text-transform: uppercase;
      color: var(--color-teal);
      margin: 0 0 6px;
    }
    .renumber-panel p {
      font-size: 0.85rem;
      color: var(--color-muted);
      margin: 0 0 14px;
    }
    .renumber-status {
      font-size: 0.82rem;
      margin-top: 10px;
      min-height: 1.2em;
    }
    .renumber-success { color: var(--color-teal-dark); }
    .renumber-warning { color: var(--color-warning); }

/* ==========================================================================
   UTILITY CLASSES -- replace common inline style patterns
   ========================================================================== */

/* Admin module full-width variant */
.admin-module-full { max-width: 100%; margin-top: 0; }

/* Form section heading */
.form-section-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin: 0 0 1rem;
}

/* Two-column form grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Form section divider */
.form-divider {
    margin: var(--space-lg) 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

/* Checkbox row label */
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-teal);
    flex-shrink: 0;
}

/* Helper / hint text below form fields */
.field-hint {
    font-size: var(--text-xs);
    color: var(--color-faint);
    margin-top: var(--space-xs);
}

/* Stacked checkbox group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

/* "Coming soon" / empty state centered panel */
.empty-state {
    max-width: 560px;
    margin: 80px auto;
    text-align: center;
    padding: 0 var(--space-lg);
}
.empty-state-icon { font-size: var(--text-hero); margin-bottom: var(--space-lg); }
.empty-state-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}
.empty-state-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-mid);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

/* -- Submit Forms (submit.html, submit-host.html) -- */
.submit-page-bg { background-color: var(--color-light-gray); }
.submit-card {
    background: var(--color-bg);
    max-width: 900px;
    margin: 40px auto;
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}.submit-section-heading:first-child { margin-top: 0; }
.quantity-row {
    display: flex;
    align-items: center;
    gap: 8px;
}.quantity-display {
    font-size: var(--text-base);
    font-weight: 700;
    min-width: 80px;
    text-align: center;
}

/* -- Label sub-text (muted inline label annotations) -- */
.label-note {
    font-weight: 400;
    text-transform: none;
    color: var(--color-faint);
    font-size: var(--text-sm);
}

/* -- Settings section sub-heading -- */
.settings-sub-heading {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: var(--text-base);
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}

/* -- Settings section divider -- */
.settings-divider {
    border: none;
    border-top: 1px solid var(--color-border-light);
    margin: var(--space-lg) 0;
}

/* -- Two-col form grid (settings) -- */
.settings-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* -- Admin empty/loading state -- */
.admin-empty-state {
    text-align: center;
    padding: 60px;
    color: var(--color-faint);
    font-family: var(--font-body);
}

/* -- Submit form step headings (teal underline variant) -- */
.submit-step-heading {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: var(--text-xl);
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}
/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-light-gray);
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-3xl) 0 var(--space-2xl);
    margin-top: auto;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    gap: var(--space-3xl);
    align-items: start;
}

/* -- Logo column -- */
.footer-logo {
    display: block;
}
.footer-logo img {
    width: 160px;
    height: auto;
    display: block;
}
.footer-tagline {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-top: var(--space-sm);
    line-height: 1.5;
}

/* -- Nav column -- */
.footer-nav-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-2xl);
}
.footer-nav-group-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-teal);
    margin-bottom: var(--space-sm);
}
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-nav-list a {
    font-size: 0.9rem;
    color: var(--color-mid);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-nav-list a:hover {
    color: var(--color-teal);
}

/* -- Contact column -- */
.footer-contact-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-teal);
    margin-bottom: var(--space-sm);
}
.footer-contact-email {
    font-size: 0.9rem;
    color: var(--color-mid);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-md);
    transition: color 0.15s;
}
.footer-contact-email:hover {
    color: var(--color-teal);
}
.footer-social-links {
    display: flex;
    gap: var(--space-sm);
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-social-link:hover {
    color: var(--color-teal);
    border-color: var(--color-teal);
    background: var(--color-teal-light);
}
.footer-social-link.hidden { display: none; }

/* -- Bottom bar -- */
.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-faint);
}

/* ==========================================================================
   HOME PAGE (index.html)
   ========================================================================== */

/* -- CTA Strip -- */
.home-cta-strip {
    display: none;
    background-color: var(--color-teal);
    padding: 20px 24px;
    text-align: center;
}
.home-cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
}
.home-cta-strip-msg {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.home-cta-strip .btn-primary {
    background: var(--color-white);
    color: var(--color-teal);
    border-color: var(--color-white);
    padding: 10px 28px;
    white-space: nowrap;
}
.home-cta-strip .btn-primary:hover {
    background: var(--color-teal-light);
    border-color: var(--color-teal-light);
    color: var(--color-teal-dark);
}

/* -- Intro -- */
.home-intro {
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}
.home-intro-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}
.home-intro-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-teal);
    margin-bottom: 20px;
}
.home-intro h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 24px;
    line-height: 1.1;
}
.home-intro-body {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--color-mid);
    margin-bottom: 32px;
}
.home-event-chips {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-event-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-teal-light);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    min-width: 110px;
}
.home-event-chip-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-teal);
    margin-bottom: 4px;
}
.home-event-chip-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
}

/* -- Get Involved -- */
.home-involved {
    padding: 72px 0;
    background: var(--color-surface);
}
.home-involved-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.home-section-heading {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-teal);
    text-align: center;
    margin-bottom: 48px;
}
.home-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-light);
    transition: box-shadow 0.2s, transform 0.2s;
}
.home-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.home-card-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1;
    color: var(--color-teal);
}
.home-social-link i { font-size: 1rem; }
.home-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.1;
}
.home-card-body {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-muted);
    flex: 1;
    margin-bottom: 24px;
}
.home-card .btn-outline {
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 0.82rem;
}

/* -- Support -- */
.home-support {
    padding: 64px 0;
    border-top: 1px solid var(--color-border-light);
}
.home-support-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.home-support-body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-mid);
    margin-bottom: 32px;
}
.home-support-body a { color: var(--color-teal); text-decoration: underline; }
.home-support-body a:hover { color: var(--color-teal-dark); }
.home-sign-off {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.home-contact {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 24px;
}
.home-contact a { color: var(--color-teal); text-decoration: none; }
.home-contact a:hover { text-decoration: underline; }
.home-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.home-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    text-decoration: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px 18px;
    transition: color 0.2s, border-color 0.2s;
}
.home-social-link:hover {
    color: var(--color-teal);
    border-color: var(--color-teal);
}
.home-social-link.hidden { display: none; }

/* ==========================================================================
   CANCEL BUTTON (performer + host drawers)
   ========================================================================== */
.btn-withdraw {
    background: #fff3cd;
    color: #856404;
    border: 1.5px solid #ffc107;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 8px 18px;
    font-size: var(--text-xs);
}
.btn-withdraw:hover {
    background: #ffc107;
    color: #fff;
}

/* ==========================================================================
   SNAPSHOT PANEL (admin-settings: Schedule Snapshot tab)
   ========================================================================== */
.snapshot-panel {
    max-width: 680px;
}
.snapshot-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 4px;
}
.snapshot-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
}
.snapshot-badge-auto {
    background: var(--color-teal-light);
    color: var(--color-teal-dark);
}
.snapshot-badge-live {
    background: #ffc107;
    color: #6d4c00;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}
.snapshot-status-msg {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}
.snapshot-status-info    { background: var(--color-teal-light); color: var(--color-teal-dark); }
.snapshot-status-warning { background: #fff3cd; color: #856404; }
.snapshot-status-error   { background: #fde8e8; color: #c0392b; }
.snapshot-event-day-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

/* Toggle switch (reused for event-day-mode) */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.2s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--color-teal); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ==========================================================================
   Feedback Widget (floating button + panel)
   ========================================================================== */

#pf-feedback-btn {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    z-index: 9999;
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: 10px 18px 10px 14px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: var(--shadow-lg);
    transition: background 0.18s, transform 0.18s;
    user-select: none;
}
#pf-feedback-btn:hover {
    background: var(--color-teal);
    transform: translateY(-2px);
}
#pf-feedback-btn svg { flex-shrink: 0; }

#pf-feedback-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 80px var(--space-lg);
}
#pf-feedback-overlay.open { display: flex; }

#pf-feedback-panel {
    background: var(--color-white);
    border-radius: var(--radius-md);
    width: 360px;
    max-width: calc(100vw - 48px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.32,0.72,0,1), opacity 0.2s ease;
    font-family: var(--font-body);
}
#pf-feedback-overlay.open #pf-feedback-panel {
    transform: translateY(0);
    opacity: 1;
}

#pf-feedback-header {
    background: var(--color-dark);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#pf-feedback-header h3 {
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}
#pf-feedback-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}
#pf-feedback-close:hover { color: var(--color-white); }

#pf-feedback-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-field label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    margin-bottom: 5px;
}
.pf-field input,
.pf-field select,
.pf-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-dark);
    background: var(--color-off-white);
    outline: none;
    transition: border-color 0.15s;
    resize: none;
}
.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus {
    border-color: var(--color-teal);
    background: var(--color-white);
}
.pf-field textarea { height: 90px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-helper { font-size: var(--text-xs); color: var(--color-faint); line-height: 1.4; margin-top: -4px; }

#pf-feedback-submit {
    background: var(--color-teal);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s, transform 0.1s;
}
#pf-feedback-submit:hover  { background: var(--color-teal-dark); }
#pf-feedback-submit:active { transform: scale(0.98); }
#pf-feedback-submit:disabled { background: var(--color-border-mid); cursor: not-allowed; }

#pf-feedback-success {
    display: none;
    padding: var(--space-xl) 18px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#pf-feedback-success svg { color: var(--color-teal); }
#pf-feedback-success p  { font-size: var(--text-sm); color: var(--color-mid); margin: 0; line-height: 1.5; }
#pf-feedback-success strong { color: var(--color-dark); }

#pf-feedback-page-note {
    font-size: 0.68rem;
    color: var(--color-border-mid);
    text-align: center;
    padding: 0 18px 14px;
    word-break: break-all;
}


/* ==========================================================================
   Feedback Admin Panel (admin-settings.html Feedback tab)
   ========================================================================== */

/* Kanban board: 3-column grid */
.feedback-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
}

/* Column container */
.feedback-col {
    border-radius: var(--radius-md);
    padding: 14px;
}
.feedback-col--high   { background: var(--color-danger-bg); }
.feedback-col--medium { background: var(--color-warning-bg); }
.feedback-col--low    { background: var(--color-teal-muted); }

/* Column header */
.feedback-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.feedback-col-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.feedback-col--high   .feedback-col-dot { background: var(--color-danger); }
.feedback-col--medium .feedback-col-dot { background: var(--color-warning); }
.feedback-col--low    .feedback-col-dot { background: var(--color-teal); }

.feedback-col-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-dark-2);
}
.feedback-col-count {
    font-size: var(--text-xs);
    color: var(--color-faint);
    margin-left: auto;
}

/* Individual card */
.feedback-card {
    background: var(--color-white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: opacity 0.2s;
}
.feedback-card.resolved { opacity: 0.45; }

.feedback-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.feedback-card-category { font-size: var(--text-sm); font-weight: 700; }
.feedback-card-name     { font-size: var(--text-xs); color: var(--color-subtle); margin-left: auto; }
.feedback-card-note     { font-size: var(--text-sm); color: var(--color-dark-2); line-height: 1.5; }
.feedback-card-page     { font-size: 0.7rem; color: var(--color-border-mid); }
.feedback-card-date     { font-size: 0.7rem; color: var(--color-faint); }

.feedback-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}
.feedback-card-actions .btn-resolve,
.feedback-card-actions .btn-delete-fb {
    flex: 1;
    font-size: var(--text-xs);
    padding: 5px 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    background: none;
    transition: background 0.15s, color 0.15s;
}
.feedback-card-actions .btn-resolve {
    border: 1.5px solid var(--color-teal);
    color: var(--color-teal);
}
.feedback-card-actions .btn-resolve:hover {
    background: var(--color-teal);
    color: var(--color-white);
}
.feedback-card-actions .btn-delete-fb {
    border: 1.5px solid var(--color-danger);
    color: var(--color-danger);
}
.feedback-card-actions .btn-delete-fb:hover {
    background: var(--color-danger);
    color: var(--color-white);
}

/* Empty column state */
.feedback-col-empty {
    font-size: var(--text-sm);
    color: var(--color-border-mid);
    text-align: center;
    padding: 20px 0;
}


/* ==========================================================================
   Admin Settings — section dividers, snapshot panel, feedback controls
   ========================================================================== */

.admin-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--color-border-light);
}

.admin-subsection-label {
    margin: 0 0 8px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.admin-subsection-list {
    font-size: var(--text-sm);
    color: var(--color-mid);
    line-height: 1.7;
    padding-left: 1.2em;
    margin: 0;
}

.snapshot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.snapshot-header h3 { margin: 0; }

.snapshot-meta-label {
    font-size: var(--text-sm);
    color: var(--color-mid);
}
.snapshot-meta-sub {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 2px;
}

.feedback-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.feedback-controls select {
    padding: 6px 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
}
.feedback-controls label {
    font-size: var(--text-sm);
    color: var(--color-mid);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.feedback-count {
    font-size: var(--text-sm);
    color: var(--color-faint);
    margin-left: auto;
}
.feedback-intro {
    color: var(--color-mid);
    font-size: var(--text-sm);
    margin-bottom: 20px;
}

.event-day-label { font-size: var(--text-sm); font-weight: 700; }
.event-day-hint  { margin: 4px 0 0; }

.warning-icon { color: var(--color-warning); flex-shrink: 0; }

.field-hint--spaced  { margin-bottom: 12px; }
.admin-separator     { color: var(--color-border); }
.admin-icon-heading  { display: flex; align-items: center; gap: 6px; }

.feedback-badge-new {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--color-teal);
    color: var(--color-white);
    border-radius: 3px;
    padding: 1px 5px;
    vertical-align: middle;
}


/* ==========================================================================
   Admin Table Search Bar
   ========================================================================== */

.admin-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: var(--color-off-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    max-width: 420px;
}
.admin-search-bar i {
    color: var(--color-faint);
    flex-shrink: 0;
}
.admin-search-input {
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-dark);
    width: 100%;
}
.admin-search-input::placeholder { color: var(--color-faint); }
.poi-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.poi-toolbar .admin-search-bar {
    flex: 1;
    margin-bottom: 0;
    max-width: none;
}

/* ==========================================================================
   Map — POI / Restroom Layer Toggles
   ========================================================================== */
.map-layers-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.map-layer-toggles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.layer-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s, border-color 0.15s;
    text-align: left;
    width: 100%;
}
.layer-toggle:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
}

/* Colored icon tint per type */
.layer-toggle--public  { color: rgba(255,255,255,0.85); }
.layer-toggle--public  svg { color: #2a7eca; flex-shrink: 0; }
.layer-toggle--portable     { color: rgba(255,255,255,0.85); }
.layer-toggle--portable svg { color: #7c5cbf; flex-shrink: 0; }

/* Dimmed / off state */
.layer-toggle--off {
    opacity: 0.38;
    border-color: rgba(255,255,255,0.1);
}
.layer-toggle--off:hover { opacity: 0.55; }

/* =============================================================================
   CMS Accordion — Settings → Content tab
   ============================================================================= */

.cms-section {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    overflow: hidden;
}
.cms-section-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--color-off-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-dark);
    transition: background 0.15s;
}
.cms-section-header:hover { background: #e8e8e8; }
.cms-section.cms-open .cms-section-header { background: #e2f4f5; color: var(--color-teal-dark); }
.cms-section-title { flex: 1; text-align: left; }
.cms-chevron { font-size: 0.7rem; color: var(--color-gray); }
.cms-section-body {
    padding: 16px;
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
}

/* Token picker */
.cms-token-picker {
    font-size: var(--text-xs);
    padding: 4px 6px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-teal-dark);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.cms-field-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.cms-field-row .admin-input { flex: 1; }
.cms-field-row--col { flex-direction: column; }
.cms-field-row--col .cms-token-picker { align-self: flex-start; }

/* Sponsor list editor */
.sponsor-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: var(--color-off-white);
}
.sponsor-row-img img {
    width: 60px;
    height: 44px;
    object-fit: contain;
    border-radius: 3px;
    background: white;
    border: 1px solid var(--color-border);
}
.sponsor-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 44px;
    font-size: 10px;
    color: var(--color-gray);
    border: 1px dashed var(--color-border);
    border-radius: 3px;
}
.sponsor-row-fields { display: flex; flex-direction: column; gap: 6px; }
.sponsor-row-actions { display: flex; flex-direction: column; gap: 4px; }

/* Volunteer role editor */
.vol-role-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: var(--color-off-white);
}
.vol-role-row-icon { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.vol-role-row-icon i { color: var(--color-teal); }
.vol-role-row-icon select { font-size: 11px; width: 100%; }
.vol-role-row-fields { display: flex; flex-direction: column; gap: 6px; }
.vol-role-row-actions { display: flex; flex-direction: column; gap: 4px; }

/* Special thanks rows */
.thanks-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}
.thanks-row .admin-input { flex: 1; }

/* Small icon buttons */
.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.btn-icon:hover { background: var(--color-off-white); }
.btn-icon:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-icon--danger { color: var(--color-danger); border-color: var(--color-danger); }
.btn-icon--danger:hover { background: #fef2f2; }

.btn-sm { padding: 6px 14px; font-size: var(--text-sm); }

/* CMS intro block on submit forms */
.submit-cms-intro {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) 0;
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.6;
}

/* CMS flash prevention — html hidden until cms.js patches and removes this class */
html.cms-pending body {
    visibility: hidden;
}
/* =============================================================================
   Tape Overlays — Event Day cancelled / moved indicators on performer cards
   ============================================================================= */

.tape-overlay {
    position: absolute;
    top: 50%;
    left: -8px;
    right: -8px;
    transform: translateY(-50%) rotate(-2deg);
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.tape-img {
    position: absolute;
    width: 100%;
    height: 64px;
    object-fit: fill;
}

.tape-label {
    position: relative;
    z-index: 11;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    line-height: 64px;
}

.tape-overlay--cancelled .tape-label { color: var(--color-mid); }
.tape-overlay--moved     .tape-label { color: #ffffff; }

/* Dim cancelled cards — moved cards stay full color (they're still playing) */
.band-card--cancelled .band-photo-wrap,
.band-card--cancelled .band-info {
    opacity: 0.55;
}

/* =============================================================================
   Orphan Pen — ScheduleTron event day triage section
   ============================================================================= */

#st-orphan-pen {
    margin-bottom: 0;
    border: 2.5px solid #e67e22;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    background: #1a1008;
}

.orphan-pen-header {
    background: #e67e22;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orphan-pen-icon {
    font-size: 1rem;
}

.orphan-pen-count {
    margin-left: auto;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 1px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.orphan-row {
    border-top: 1px solid #3a2208;
}

.orphan-label {
    background: #231508;
    border-right: 2px solid #e67e22;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.orphan-label-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.orphan-label-meta {
    font-size: 0.72rem;
    color: #e8a96a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.orphan-label-status {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e67e22;
}

.orphan-band {
    background: #e67e22 !important;
    border-color: #bf6010 !important;
    cursor: grab;
}

.orphan-band:active {
    cursor: grabbing;
}

.orphan-bg-cell {
    background: repeating-linear-gradient(
        45deg,
        #1a1008,
        #1a1008 4px,
        #231508 4px,
        #231508 8px
    ) !important;
}

/* Time-filter toggle in toolbar */
.st-orphan-filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-mid);
    cursor: pointer;
    white-space: nowrap;
    padding: 0 4px;
}

.st-orphan-filter-toggle input {
    accent-color: #e67e22;
    cursor: pointer;
}

/* Orphan pen connects flush to main grid */
#st-orphan-pen + #st-gantt-wrap .gantt-row:first-child {
    border-top: 2.5px solid #e67e22;
}

/* Selected orphan row — inset box-shadow avoids layout shift */
.orphan-row--selected {
    background: #2d1a04 !important;
    box-shadow: inset 4px 0 0 #e67e22;
}

.orphan-row--selected .orphan-label {
    background: #2d1a04;
}

/* Dim non-selected orphan rows when one is selected */
#st-orphan-pen.has-selection .orphan-row:not(.orphan-row--selected) {
    opacity: 0.4;
}

.orphan-label-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
}

.orphan-match-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: #2ecc71;
    border-radius: 8px;
    padding: 1px 7px;
    letter-spacing: 0.03em;
}

.orphan-no-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: #e8a96a;
    white-space: nowrap;
}