/* ── CSS variables, animations, resets ──────────────────────────────────── */
        :root {
            /* Light-mode defaults. Dark and event themes override these via
               body.theme-{id} rules injected by theme.js — :root only ever
               shows during the initial hidden load, so changing it is safe. */
            --bg-0: #f0f4f8;
            --bg-1: #ffffff;
            --surface-0: rgba(255, 255, 255, 0.98);
            --surface-1: #f9fafb;
            --surface-2: rgba(241, 245, 249, 0.95);
            --text-0: #111827;
            --text-1: #374151;
            --text-2: #6b7280;
            --text-3: #9ca3af;
            --line-0: #e5e7eb;
            --accent: #0078bf;
            --accent-strong: #0ea5e9;
            --color-secondary: #4a8ec2;
            --color-tertiary: #7c3aed;
            --glow-1: rgba(0, 120, 191, 0.15);
            --glow-2: rgba(124, 58, 237, 0.16);
        }

        @keyframes aurora-bg {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes logo-pulse {
            0%, 100% {
                box-shadow:
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 12px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 207, 255, 0.22),
                    0 0 28px rgba(0, 207, 255, 0.14);
            }
            50% {
                box-shadow:
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 12px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 207, 255, 0.52),
                    0 0 55px rgba(0, 207, 255, 0.38),
                    0 0 90px rgba(0, 207, 255, 0.12);
            }
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            line-height: 1.5;
            -webkit-text-size-adjust: 100%;
            tab-size: 4;
            font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }
        body {
            margin: 0;
        }
        h1,
        h2,
        h3,
        h4,
        p,
        dl,
        dd,
        ul {
            margin: 0;
        }
        button,
        input,
        optgroup,
        select,
        textarea {
            font: inherit;
            color: inherit;
        }
        button,
        select {
            text-transform: none;
        }
        button {
            cursor: pointer;
        }
        button:disabled {
            cursor: default;
        }
        img,
        svg,
        video,
        canvas {
            display: block;
            max-width: 100%;
        }
        a {
            color: inherit;
            text-decoration: inherit;
        }
        .hidden {
            display: none;
        }
        .page-loading-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: var(--bg-0);
            transition: opacity 180ms ease, visibility 180ms ease;
        }
        .page-loading-overlay.is-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .page-loading-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.85rem;
            min-width: 12rem;
            padding: 1.2rem 1.35rem;
            border: 1px solid rgba(157, 210, 255, 0.28);
            border-radius: 0.75rem;
            background: rgba(11, 23, 37, 0.86);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(6px);
        }
        .page-loading-spinner {
            width: 2.4rem;
            height: 2.4rem;
            border-radius: 9999px;
            border: 3px solid rgba(173, 221, 255, 0.22);
            border-top-color: #7fcbff;
            animation: page-loading-spin 0.8s linear infinite;
        }
        .page-loading-text {
            color: #eef7ff;
            font-size: 0.95rem;
            font-weight: 600;
            line-height: 1.3;
            text-align: center;
        }
        @keyframes page-loading-spin {
            to {
                transform: rotate(360deg);
            }
        }
        .drupal-blue { background-color: rgb(0, 106, 169); }
        .drupal-blue-hover:hover { background-color: rgb(0, 85, 135); }
        .drupal-blue-text { color: #005f9e; }
        .drupal-blue-text:hover { color: #004a7c; }
        .drupal-blue-border { border-color: var(--accent); }
        .drupal-blue-focus:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
        .drupal-blue-bg-light { background-color: rgba(46, 163, 255, 0.18); }
        .drupal-blue-border-light { border-color: rgba(79, 178, 255, 0.9); }
        .schedule-select-checkbox {
            accent-color: #0d78cc;
        }
        .schedule-select-label {
            width: 1.75rem;
            height: 1.75rem;
            border-radius: 0.375rem;
        }
        .schedule-select-label:focus-within {
            outline: 2px solid #0d78cc;
            outline-offset: 2px;
        }
        .session-selected-indicator {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 4.25rem;
            padding: 0.15rem 0.45rem;
            border-radius: 9999px;
            border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line-0));
            background: color-mix(in srgb, var(--accent) 18%, var(--surface-2));
            color: var(--text-0);
            font-size: 0.7rem;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: 0.01em;
        }
        .session-selected-indicator-placeholder {
            display: block;
            min-width: 4.25rem;
            min-height: 1.3rem;
        }
        .session-card-indicator {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.2rem;
            height: 1.2rem;
            border-radius: 3px;
            font-size: 0.65rem;
            color: var(--accent);
            opacity: 0.6;
            transition: opacity 0.15s ease;
        }
        .session-card-indicator-link {
            color: var(--color-secondary);
        }
        .keyword-highlight { 
            background-color: #ff9f6b;
            color: #08121c;
            font-weight: 600;
            border-radius: 4px;
            padding: 0 2px;
        }
        .theme-dark .bg-white {
            background: var(--surface-0); /* needs — UnoCSS bg-white ties on specificity */
            border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--line-0));
            box-shadow:
                0 24px 64px rgba(0, 0, 0, 0.52),
                0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 0 1px color-mix(in srgb, var(--accent) 4%, transparent),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(22px) saturate(160%);
        }
        /* Buttons and links should not inherit the heavy card-style bg-white treatment */
        .theme-dark button.bg-white,
        .theme-dark a.bg-white {
            background: var(--surface-1); /* needs — element+class ties UnoCSS */
            border-color: var(--line-0);
            box-shadow: none;
            backdrop-filter: none;
        }
        .theme-dark button.bg-white:hover,
        .theme-dark a.bg-white:hover {
            background: var(--surface-2);
        }
        /* Dark button (bg-gray-800) stays legible */
        .theme-dark button.bg-gray-800,
        .theme-dark a.bg-gray-800 {
            background: var(--surface-2);
            color: var(--text-0);
            box-shadow: none;
            backdrop-filter: none;
        }
        .theme-dark button.bg-gray-800:hover,
        .theme-dark a.bg-gray-800:hover {
            background: color-mix(in srgb, var(--accent) 20%, var(--surface-2));
        }
        .theme-dark .bg-gray-100 { background-color: transparent; }
        .theme-dark .bg-gray-50 { background: var(--surface-1); }
        .theme-dark .hover\:bg-gray-50:hover  { background: var(--surface-1); }
        .theme-dark .hover\:bg-gray-100:hover,
        .theme-dark .hover\:bg-gray-200:hover { background: var(--surface-2); }
        .theme-dark .bg-black { background: linear-gradient(180deg, #0b1725, #09131f); }
        .theme-dark .border-gray-200,
        .theme-dark .border-gray-300,
        .theme-dark .border-gray-700 { border-color: var(--line-0); }
        .theme-dark .text-gray-900,
        .theme-dark .text-gray-800,
        .theme-dark .text-gray-700 { color: var(--text-0); }
        .theme-dark .text-gray-600,
        .theme-dark .text-gray-500,
        .theme-dark .text-gray-400 { color: var(--text-2); }
        .theme-dark .drupal-blue-text { color: #9fd6ff; }
        .theme-dark .drupal-blue-text:hover { color: #c7e7ff; }
        .theme-dark .schedule-select-checkbox {
            accent-color: #66beff;
        }
        .theme-dark .schedule-select-label:focus-within {
            outline-color: #9fd6ff;
        }
        .theme-dark button {
            background: transparent;
        }
        .theme-dark input,
        .theme-dark select,
        .theme-dark textarea {
            background: var(--surface-1);
            color: var(--text-0);
            border-color: var(--line-0);
            box-shadow: none;
            backdrop-filter: none;
        }
        .theme-dark input::placeholder,
        .theme-dark textarea::placeholder {
            color: var(--text-2);
            opacity: 0.7;
        }
        .theme-dark select option {
            background: var(--surface-1);
            color: var(--text-0);
            border-color: var(--line-0);
        }
        .editor-form-field {
            display: flex;
            flex-direction: column;
        }
        .editor-form-field.hidden {
            display: none;
        }
        .editor-form-field > input:not([type="checkbox"]),
        .editor-form-field > select,
        .editor-form-field > textarea,
        .editor-form-field > span[class*="inline-flex"] {
            margin-top: auto;
        }
        .editor-field-label {
            display: block;
            margin-bottom: 0.1rem;
            color: var(--text-1);
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            line-height: 1.2;
        }
        .editor-field-description {
            display: block;
            margin-bottom: 0.35rem;
            color: var(--text-2);
            font-size: 0.74rem;
            line-height: 1.35;
        }
        .editor-form-field input:not([type="checkbox"]),
        .editor-form-field select,
        .editor-form-field textarea {
            border: 1px solid rgba(100, 140, 180, 0.5);
            border-radius: 0.45rem;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .editor-form-field input:not([type="checkbox"]):hover,
        .editor-form-field select:hover,
        .editor-form-field textarea:hover {
            border-color: rgba(100, 160, 220, 0.75);
        }
        .editor-field-description code {
            color: #dceeff;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(158, 190, 224, 0.2);
            border-radius: 0.25rem;
            padding: 0.05rem 0.25rem;
        }
        .url-multifield-list {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            margin-top: auto;
        }
        .url-multifield-row {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .url-multifield-input {
            flex: 1;
            height: 2.75rem;
            padding: 0 0.75rem;
            border: 1px solid rgba(100, 140, 180, 0.5);
            border-radius: 0.45rem;
            background: var(--surface-1, #fff);
            color: var(--text-0, inherit);
            font-size: 0.9rem;
            font-weight: 500;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .url-multifield-input:hover {
            border-color: rgba(100, 160, 220, 0.75);
        }
        .url-multifield-input:focus {
            outline: none;
            border-color: rgba(0, 115, 182, 0.75);
            box-shadow: 0 0 0 3px rgba(0, 115, 182, 0.18);
        }
        .url-multifield-remove {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.75rem;
            height: 2.75rem;
            flex-shrink: 0;
            border: 1px solid rgba(200, 80, 80, 0.4);
            border-radius: 0.45rem;
            background: transparent;
            color: rgba(220, 100, 100, 0.85);
            cursor: pointer;
            font-size: 0.85rem;
            transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
        }
        .url-multifield-remove:hover {
            background: rgba(200, 50, 50, 0.15);
            border-color: rgba(220, 80, 80, 0.7);
            color: #f87171;
        }
        .url-multifield-add {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            margin-top: 0.45rem;
            height: 2.2rem;
            padding: 0 0.75rem;
            border: 1px solid rgba(100, 155, 200, 0.4);
            border-radius: 0.4rem;
            background: rgba(30, 70, 110, 0.2);
            color: var(--text-1, #ccc);
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.12s ease, border-color 0.12s ease;
        }
        .url-multifield-add:hover {
            background: rgba(40, 90, 140, 0.35);
            border-color: rgba(120, 170, 220, 0.55);
        }
        .url-multifield-empty {
            font-size: 0.8rem;
            color: var(--text-2, #888);
            margin: 0.2rem 0;
        }
        #sessionList,
        #sponsorList {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
        .session-row,
        .sponsor-row {
            transition: border-color 0.12s ease, background-color 0.12s ease;
        }
        .session-row:hover:not(.border-blue-400),
        .sponsor-row:hover:not(.border-blue-400) {
            border-color: rgba(100, 150, 200, 0.5);
            background-color: rgba(40, 70, 100, 0.25);
        }
        .sitemap-toolbar {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 0.85rem;
            background: rgba(20, 38, 58, 0.55);
            border: 1px solid rgba(100, 145, 190, 0.25);
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        .sitemap-domain {
            color: var(--text-0);
            font-size: 0.95rem;
            font-weight: 600;
            flex: 1;
        }
        .sitemap-total {
            color: var(--text-2);
            font-size: 0.82rem;
            white-space: nowrap;
        }
        .sitemap-copy-btn {
            appearance: none;
            display: inline-flex;
            align-items: center;
            height: 1.85rem;
            padding: 0 0.75rem;
            border: 1px solid rgba(110, 155, 200, 0.4);
            border-radius: 0.35rem;
            background: rgba(50, 90, 130, 0.2);
            color: var(--text-1);
            font-size: 0.78rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.12s ease, border-color 0.12s ease;
            white-space: nowrap;
        }
        .sitemap-copy-btn:hover {
            background: rgba(60, 110, 160, 0.35);
            border-color: rgba(120, 170, 220, 0.55);
        }
        .sitemap-section {
            margin-bottom: 1.25rem;
        }
        .sitemap-section-heading {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-1);
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 0.45rem;
        }
        .sitemap-count-badge {
            background: rgba(60, 100, 145, 0.35);
            border: 1px solid rgba(100, 150, 200, 0.3);
            border-radius: 0.85rem;
            color: var(--text-2);
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.05rem 0.5rem;
            text-transform: none;
            letter-spacing: 0;
        }
        .sitemap-url-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }
        .sitemap-url-item {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
            padding: 0.35rem 0.6rem;
            border-radius: 0.35rem;
            border: 1px solid rgba(80, 120, 165, 0.18);
            background: rgba(15, 28, 45, 0.3);
        }
        .sitemap-url-item:hover {
            border-color: rgba(100, 150, 200, 0.35);
            background: rgba(25, 48, 72, 0.45);
        }
        .sitemap-item-label {
            color: var(--text-2);
            font-size: 0.74rem;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .sitemap-item-url {
            color: var(--accent);
            font-size: 0.78rem;
            font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
            text-decoration: none;
            overflow-wrap: anywhere;
            line-height: 1.4;
        }
        .sitemap-item-url:hover {
            color: var(--accent-strong);
            text-decoration: underline;
        }
        .editor-toggle-row {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.85rem 0.95rem;
            border: 1px solid rgba(132, 180, 226, 0.32);
            border-radius: 0.5rem;
            background: rgba(9, 20, 34, 0.34);
        }
        .editor-toggle-row .editor-field-description {
            margin-bottom: 0;
        }
        .editor-flickr-block {
            display: block;
            margin-top: 0.65rem;
            padding: 1rem;
            border: 1px solid rgba(110, 185, 246, 0.62);
            border-radius: 0.65rem;
            background:
                radial-gradient(circle at 100% 0%, rgba(84, 169, 240, 0.24), transparent 34%),
                linear-gradient(160deg, rgba(16, 38, 62, 0.95), rgba(11, 25, 42, 0.95));
            box-shadow:
                0 16px 34px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }
        .editor-flickr-block legend {
            width: 100%;
            padding: 0 0 0.75rem 0;
        }
        .editor-flickr-title {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #f3f9ff;
            font-size: 1rem;
            font-weight: 750;
            line-height: 1.25;
        }
        .editor-flickr-summary {
            display: block;
            margin-top: 0.2rem;
            color: #b8d3ed;
            font-size: 0.82rem;
            line-height: 1.35;
        }
        .editor-flickr-defaults {
            padding: 0.85rem 0.95rem;
            border: 1px solid rgba(132, 180, 226, 0.32);
            border-radius: 0.5rem;
            background: rgba(9, 20, 34, 0.34);
        }
        .editor-flickr-defaults-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.65rem;
        }
        .editor-flickr-defaults-label {
            display: block;
            color: #b8d3ed;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 0.12rem;
        }
        .editor-flickr-defaults-value {
            display: block;
            color: #eef6ff;
            font-size: 0.9rem;
            line-height: 1.35;
        }
        .editor-meta-accordion {
            border: 1px solid rgba(113, 167, 219, 0.26);
            background:
                radial-gradient(circle at 100% 0%, rgba(96, 176, 241, 0.16), transparent 30%),
                linear-gradient(165deg, rgba(16, 36, 58, 0.96), rgba(10, 23, 39, 0.98));
            box-shadow:
                0 16px 34px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }
        .editor-meta-toggle {
            min-height: 2.75rem;
            padding: 0.65rem 0.85rem;
            border: 1px solid rgba(135, 186, 233, 0.22);
            border-radius: 0.6rem;
            background: rgba(255, 255, 255, 0.04);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
            transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
        }
        .editor-meta-toggle:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(156, 202, 244, 0.34);
        }
        .editor-meta-toggle:focus-visible {
            outline: none;
            border-color: rgba(156, 202, 244, 0.5);
            box-shadow:
                0 0 0 3px rgba(103, 176, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }
        .editor-quick-edit-toggle {
            transition:
                background-color 140ms ease,
                border-color 140ms ease,
                color 140ms ease,
                box-shadow 140ms ease,
                transform 140ms ease;
        }
        .editor-tab-row {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem;
            border: 1px solid rgba(135, 186, 233, 0.22);
            border-radius: 0.7rem;
            background: rgba(255, 255, 255, 0.04);
        }
        .editor-tab-button {
            min-height: 2.35rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.55rem 0.9rem;
            border: 1px solid transparent;
            border-radius: 0.55rem;
            background: transparent;
            color: #c8d6e8;
            font-size: 0.85rem;
            font-weight: 700;
            line-height: 1.2;
            cursor: pointer;
            transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
        }
        .editor-tab-button:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #eef6ff;
        }
        .editor-tab-button:focus-visible {
            outline: none;
            border-color: rgba(156, 202, 244, 0.44);
            box-shadow: 0 0 0 3px rgba(96, 179, 238, 0.18);
        }
        .editor-tab-button.is-active {
            border-color: rgba(110, 192, 255, 0.62);
            background: linear-gradient(180deg, rgba(19, 131, 210, 0.95), rgba(12, 106, 176, 0.95));
            color: #ffffff;
            box-shadow:
                0 10px 22px rgba(13, 120, 204, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }
        .editor-quick-edit-toggle-active {
            border-color: rgba(110, 192, 255, 0.62);
            background: linear-gradient(180deg, rgba(19, 131, 210, 0.95), rgba(12, 106, 176, 0.95));
            color: #ffffff;
            box-shadow:
                0 10px 22px rgba(13, 120, 204, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }
        .editor-quick-edit-toggle-active:hover,
        .editor-quick-edit-toggle-active:focus-visible {
            border-color: rgba(144, 210, 255, 0.82);
            background: linear-gradient(180deg, rgba(28, 145, 225, 0.98), rgba(14, 115, 188, 0.98));
            color: #ffffff;
        }
        .editor-quick-edit-toggle-active:focus-visible {
            outline: none;
            box-shadow:
                0 0 0 3px rgba(96, 179, 238, 0.24),
                0 10px 22px rgba(13, 120, 204, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }
        .editor-session-workspace-expanded {
            grid-template-columns: minmax(0, 1fr);
        }
        .editor-sponsor-workspace {
            border: 1px solid rgba(113, 167, 219, 0.22);
        }
        .session-row-expanded {
            user-select: none;
        }
        .session-row-expanded-grid {
            display: grid;
            grid-template-columns: 20px minmax(0, 1.5fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
            gap: 0.85rem;
            align-items: end;
        }
        .session-row-handle {
            align-self: center;
            justify-self: center;
            font-size: 0.95rem;
        }
        .sponsor-row-grid {
            display: grid;
            grid-template-columns: 20px minmax(0, 2fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) minmax(120px, 0.7fr) auto;
            gap: 0.85rem;
            align-items: end;
        }
        .editor-inline-open {
            align-self: center;
        }
        .editor-quick-open-state {
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .editor-quick-open-card {
            width: min(100%, 520px);
            border: 1px solid rgba(113, 167, 219, 0.22);
            border-radius: 0.65rem;
            background: rgba(14, 26, 40, 0.72);
            padding: 1.25rem;
        }
        .session-inline-field {
            display: block;
        }
        .session-inline-label {
            display: block;
            margin-bottom: 0.34rem;
            color: #c8d6e8;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
        @media (max-width: 1023px) {
            .session-row-expanded-grid {
                grid-template-columns: 20px minmax(0, 1fr);
            }
            .sponsor-row-grid {
                grid-template-columns: 20px minmax(0, 1fr);
            }
            .editor-inline-open {
                grid-column: 1 / -1;
                justify-self: end;
            }
        }

/* ── Dark theme: select option styling ──────────────────────────────────── */
        .theme-dark option {
            background: #0f2136;
            color: var(--text-0);
        }

/* ── Light theme: shared utility overrides + header ─────────────────────── */
        /* Light theme — vars injected by theme.js; these rules use them consistently */

        /* Text uses theme vars — Tailwind class remappings no longer needed since
           body.theme-light sets color: var(--text-0) which cascades to most elements */
        .theme-light .bg-white { background: var(--surface-0); }
        .theme-light .bg-gray-100 { background-color: var(--surface-2); }
        .theme-light .bg-black {
            background: linear-gradient(180deg, #0c2448, #0a1e3c);
        }

        .theme-light .header-shell {
            background: linear-gradient(135deg,
                #0e3460 0%, #162e58 20%, #0c2448 40%,
                #14366a 60%, #1a3e74 80%, #0e3460 100%
            );
            background-size: 400% 400%;
            animation: aurora-bg 20s ease infinite;
        }


/* ── Header shell, mobile accordion, typography ─────────────────────────── */
        .header-shell {
            background: linear-gradient(135deg,
                #010e22 0%,
                #090c38 18%,
                #120a44 36%,
                #0b1e46 54%,
                #041932 72%,
                #010e22 100%
            );
            background-size: 400% 400%;
            animation: aurora-bg 20s ease infinite;
            border-bottom: none;
            position: relative;
        }
        .header-shell::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse at 8% 50%,  var(--glow-1) 0%, transparent 46%),
                radial-gradient(ellipse at 92% 50%, var(--glow-2) 0%, transparent 42%);
            pointer-events: none;
        }
        .header-shell > * { position: relative; }
        .header-shell::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent) 0%, var(--color-secondary) 100%);
            box-shadow:
                0 0 28px color-mix(in srgb, var(--accent) 65%, transparent),
                0 0 60px color-mix(in srgb, var(--accent) 20%, transparent),
                0 -2px 14px color-mix(in srgb, var(--accent) 28%, transparent),
                0 0 40px color-mix(in srgb, var(--color-secondary) 40%, transparent);
        }
        .header-logo {
            width: 104px;
            height: 104px;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 22px;
            font-size: 1.6rem;
            color: #ecf7ff;
            border: 1px solid rgba(0, 207, 255, 0.3);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
            animation: logo-pulse 5s ease-in-out infinite;
            overflow: hidden;
            flex-shrink: 0;
        }
        .header-logo::before {
            content: '';
            position: absolute;
            inset: 8px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 1.0);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                0 4px 14px rgba(4, 21, 38, 0.16);
            opacity: 0;
            transition: opacity 140ms ease;
            pointer-events: none;
        }
        .header-logo.header-logo-use-plate:has(.header-logo-image:not(.hidden))::before {
            opacity: 1;
        }
        .header-logo-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            padding: 0.8rem;
            background: transparent;
            z-index: 1;
        }
        .header-logo i {
            position: relative;
            z-index: 1;
        }
        @media (max-width: 640px) {
            .header-logo {
                width: 84px;
                height: 84px;
                border-radius: 18px;
            }
            .header-logo::before {
                inset: 7px;
                border-radius: 13px;
            }
            .header-logo-image {
                padding: 0.65rem;
            }
        }
        .header-kicker {
            font-size: 0.72rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--color-secondary);
        }
        .mobile-accordion-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            min-height: 2.65rem;
            padding: 0.1rem 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            color: #d7e7f8;
            font-size: 0.88rem;
            font-weight: 700;
            text-align: left;
            transition: color 140ms ease;
        }
        .mobile-accordion-toggle:hover,
        .mobile-accordion-toggle:focus-visible {
            color: #ffffff;
            outline: none;
        }
        .mobile-accordion-icon {
            transition: transform 140ms ease;
        }
        .mobile-accordion-toggle[aria-expanded="true"] .mobile-accordion-icon {
            transform: rotate(180deg);
        }
        .mobile-accordion-content {
            margin-top: 0.55rem;
        }
        .mobile-instructions-panel h2 {
            margin-bottom: 0.55rem;
        }
        .mobile-instructions-panel ul {
            margin: 0;
        }
        @media (max-width: 639px) {
            .timeline-time-hour,
            .timeline-time-date {
                padding-left: 0.75rem;
            }
            .mobile-instructions-panel,
            #sessionFiltersPanel {
                border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line-0));
                background: var(--surface-1);
                box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            }
            /* compound (0,2,0) beats UnoCSS utility (0,1,0) */
            .mobile-instructions-panel .text-gray-800,
            .mobile-instructions-panel .text-gray-700,
            .mobile-instructions-panel .text-gray-600,
            #sessionFiltersPanel .text-gray-700,
            #sessionFiltersPanel .text-gray-600 {
                color: var(--text-1);
            }
            #sessionFiltersPanel button:not(.mobile-accordion-toggle) {
                background: var(--surface-2);
                border-color: var(--line-0);
                color: var(--text-0);
            }
            #sessionFiltersPanel button:not(.mobile-accordion-toggle):hover,
            #sessionFiltersPanel button:not(.mobile-accordion-toggle):focus-visible {
                background: var(--surface-1);
                border-color: var(--accent);
                color: var(--text-0);
            }
            #sessionFiltersPanel input,
            #sessionFiltersPanel select {
                background: var(--surface-2);
                border-color: var(--line-0);
                color: var(--text-0);
            }
            #sessionFiltersPanel input::placeholder {
                color: var(--text-3);
            }
            .mobile-instructions-panel ul {
                margin: 0;
            }
            .mobile-instructions-panel .mobile-accordion-toggle,
            #sessionFiltersPanel .mobile-accordion-toggle {
                background: transparent;
                border: 0;
                box-shadow: none;
                color: var(--text-1);
            }
            .mobile-instructions-panel .mobile-accordion-toggle:hover,
            .mobile-instructions-panel .mobile-accordion-toggle:focus-visible,
            #sessionFiltersPanel .mobile-accordion-toggle:hover,
            #sessionFiltersPanel .mobile-accordion-toggle:focus-visible {
                background: transparent;
                border: 0;
                box-shadow: none;
                color: var(--text-0);
            }
            #eventsContainer h2 {
                padding-left: 0.75rem;
            }
        }
        @media (min-width: 640px) {
            .mobile-accordion-toggle {
                display: none;
            }
            .mobile-accordion-content {
                display: block;
                margin-top: 0;
            }
        }
        .header-flag {
            width: 22px;
            height: 15px;
            border-radius: 3px;
            border: 1px solid rgba(218, 236, 255, 0.5);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
            object-fit: cover;
            transform: translateY(-0.5px);
        }
        .header-title {
            font-size: clamp(1.35rem, 2.4vw, 2.2rem);
            line-height: 1.15;
            letter-spacing: 0.01em;
            margin-top: 2px;
            color: #f6fbff;
            text-wrap: balance;
        }
        .header-title .header-suffix {
            display: inline-flex;
            align-items: center;
            padding: 0.1em 0.55em 0.15em;
            margin-left: 0.5rem;
            border-radius: 0.35em;
            border: 1px solid color-mix(in srgb, var(--color-secondary) 40%, transparent);
            background: color-mix(in srgb, var(--color-secondary) 12%, transparent);
            color: var(--color-secondary);
            font-size: 0.55em;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            vertical-align: middle;
            line-height: 1.4;
        }
        .header-title .header-event {
            background: linear-gradient(105deg, #ffffff 0%, var(--accent) 48%, var(--color-secondary) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
            letter-spacing: -0.01em;
        }

/* ── Brand logo gradients ───────────────────────────────────────────────── */
        .brand-drupalsouth { background: linear-gradient(135deg, rgba(88, 178, 248, 0.94), rgba(18, 78, 158, 0.97)); }
        .brand-community { background: linear-gradient(135deg, rgba(72, 202, 190, 0.94), rgba(20, 98, 116, 0.97)); }
        .brand-drupalcon { background: linear-gradient(135deg, rgba(148, 162, 200, 0.84), rgba(66, 84, 124, 0.95)); }


/* ── Event search modal (all pages) ─────────────────────────────────────── */
        /* ── Event search modal ───────────────────────────────── */
        .event-search-card {
            width: min(620px, 100%);
            height: 82vh;
            display: flex;
            flex-direction: column;
        }
        .event-search-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-0);
            margin: 0;
            line-height: 1.25;
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }
        .event-search-input-wrap {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid var(--line-0);
            flex-shrink: 0;
        }
        .event-search-input-inner {
            position: relative;
            display: flex;
            align-items: center;
        }
        .event-search-input-icon {
            position: absolute;
            left: 0.85rem;
            color: var(--text-3);
            font-size: 0.9rem;
            pointer-events: none;
        }
        .event-search-input {
            width: 100%;
            height: 2.75rem;
            padding: 0 2.5rem 0 2.4rem;
            border: 1px solid var(--line-0);
            border-radius: 0.375rem;
            font-size: 1rem;
            outline: none;
            background: var(--surface-1);
            color: var(--text-0);
        }
        .event-search-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
        }
        .event-search-clear {
            position: absolute;
            right: 0.65rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-3);
            padding: 0.25rem;
            line-height: 1;
            border-radius: 0.2rem;
        }
        .event-search-clear:hover {
            color: var(--text-1);
        }
        .event-search-results-wrap {
            overflow-y: auto;
            flex: 1;
            min-height: 0;
        }
        .event-search-results {
            padding: 0.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }
        .event-search-result {
            display: block;
            width: 100%;
            text-align: left;
            padding: 0.75rem 0.875rem;
            border: 1px solid transparent;
            border-radius: 0.375rem;
            cursor: pointer;
            background: transparent;
            transition: background-color 100ms ease, border-color 100ms ease;
        }
        .event-search-result:hover,
        .event-search-result:focus-visible {
            background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
            border-color: color-mix(in srgb, var(--accent) 35%, var(--line-0));
            outline: none;
        }
        .event-search-result-title {
            display: block;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-0);
        }
        .event-search-result-meta {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.8rem;
            color: var(--text-2);
            margin-top: 0.15rem;
            margin-right: 0.75rem;
        }
        .event-search-empty {
            padding: 1.5rem 1rem;
            color: var(--text-2);
            text-align: center;
            font-size: 0.9rem;
        }
        .event-search-result-hidden {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.1rem 0.4rem;
            border-radius: 0.25rem;
            background: rgba(234, 179, 8, 0.15);
            color: #a07c00;
            vertical-align: middle;
            margin-left: 0.4rem;
        }
        .theme-dark .event-search-result-hidden {
            background: rgba(234, 179, 8, 0.12);
            color: #d4a800;
        }

/* ── Site nav ────────────────────────────────────────────────────────────── */
        .site-nav {
            display: flex;
            align-items: center;
            gap: 0.15rem;
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 0.4rem 0 0.1rem;
            margin-top: 0.5rem;
        }
        .site-nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.3rem 0.75rem;
            border-radius: 0.4rem;
            font-size: 0.82rem;
            font-weight: 500;
            color: rgba(255,255,255,0.55);
            text-decoration: none;
            transition: color 120ms, background 120ms;
            white-space: nowrap;
        }
        .site-nav-link:hover {
            color: rgba(255,255,255,0.9);
            background: rgba(255,255,255,0.07);
        }
        .site-nav-link.is-active {
            color: #fff;
            background: rgba(255,255,255,0.12);
        }
        .site-nav-link i {
            font-size: 0.75rem;
            opacity: 0.8;
        }

/* ── Responsive: shared across all pages ─────────────────────────────────── */
        @media (max-width: 640px) {
            .header-title {
                font-size: clamp(1.2rem, 6.4vw, 1.6rem);
            }
            .event-search-card {
                height: calc(100vh - 0.9rem);
                height: calc(100dvh - 0.9rem);
            }
            .site-nav {
                display: none;
            }
        }
