:root {
    font-family: Inter, system-ui, sans-serif;
    color: #101628;
    background: #f8fafc;
    line-height: 1.55;
    font-synthesis: none;
    --heading: Manrope, Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    --accent: #5924b5;
    --accent-bright: #783fe3;
    --dark: #0b1020;
    --ink: #13192c;
    --muted: #505971;
    --line: #e1e5ef;
    --bg: #f8fafc;
    --tint: #eff0fb;
    --highlight: #b9acff;
    --signal: #a99bfa;
    --hero-fg: #fff;
    background: var(--bg);
    color: var(--ink);
}
.theme-viva {
    --heading: 'Barlow Condensed', Inter, sans-serif;
    --accent: #a01858;
    --accent-bright: #bd2465;
    --dark: #1e0b18;
    --ink: #251022;
    --muted: #664957;
    --line: #ead8dc;
    --bg: #fff7ed;
    --tint: #fff0e2;
    --highlight: #ffc95e;
    --signal: #ffe078;
}
a { color: var(--accent); text-underline-offset: .23em; }
a, button, summary, select { -webkit-tap-highlight-color: transparent; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid #439ff7;
    outline-offset: 3px;
}
.skip {
    position: fixed;
    z-index: 20;
    inset: 10px auto auto 12px;
    padding: 10px 14px;
    clip-path: inset(50%);
    background: #fff;
    color: #12172a;
    border-radius: 5px;
}
.skip:focus { clip-path: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.14; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.044em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); letter-spacing: -.05em; font-weight: 800; }
h3 { font-size: 1.125rem; letter-spacing: -.022em; }
svg { flex-shrink: 0; vertical-align: middle; }
.event-wrap {
    width: min(100% - 80px, 1280px);
    margin-inline: auto;
}
.demo-strip {
    color: #c0c7dd;
    background: #0e1425;
    border-bottom: 1px solid #ffffff1b;
    font-size: .72rem;
    font-weight: 650;
}
.theme-viva .demo-strip { background: #230c1c; color: #efd7e7; }
.demo-strip-inner, .demo-identity, .demo-links, .demo-links a {
    display: flex;
    align-items: center;
}
.demo-strip-inner { min-height: 37px; justify-content: space-between; gap: 12px; }
.demo-identity { gap: 7px; white-space: nowrap; }
.demo-identity i, .hero-kicker i, .sidebar-bottom i, .admin-kicker i, .status-pill i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #a89afb;
}
.theme-viva .demo-identity i { background: #ffe078; }
.demo-links { gap: 18px; }
.demo-links a { color: inherit; text-decoration: none; line-height: 1.15; min-height: 36px; gap: 6px; }
.demo-links a:hover { color: #fff; text-decoration: underline; }
.demo-links .admin-entry { color: #fff; }
.event-header {
    position: relative;
    z-index: 3;
    color: #fff;
    background: #0b1020;
    border-bottom: 1px solid #ffffff1c;
}
.theme-viva .event-header { background: #321126; }
.event-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.event-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.06rem;
    font-weight: 850;
    line-height: .97;
    letter-spacing: -.075em;
    font-family: Manrope, Inter, sans-serif;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}
.event-brand svg { color: var(--signal); }
.event-brand span span { display: block; color: #d4c9ff; letter-spacing: .19em; font-size: .65em; margin-top: 4px; }
.theme-viva .event-brand { font-family: var(--heading); font-size: 1.9rem; letter-spacing: .01em; transform: rotate(-4deg); }
.theme-viva .event-brand span span { color: #ffd675; font-size: .42em; letter-spacing: .16em; margin-top: 0; }
.event-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.1vw, 34px); }
.event-header nav a {
    padding-block: 12px;
    color: #e6e7f1;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 650;
    white-space: nowrap;
}
.event-header nav a:hover { color: white; text-decoration: underline; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-size: .87rem;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none;
    transition: color 220ms, background-color 220ms, border-color 220ms;
}
.button:hover { background: var(--accent-bright); }
.button svg { transition: transform 220ms; }
.button:hover svg { transform: translateX(3px); }
.event-header-cta { white-space: nowrap; min-height: 44px; }
.theme-viva .event-header-cta, .theme-viva .hero-copy .button:not(.button-ghost) { background: #ffcf62; color: #2d1224; }
.theme-viva .event-header-cta:hover, .theme-viva .hero-copy .button:not(.button-ghost):hover { background: #ffdf89; }
.event-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px;
    min-height: 44px;
}
.event-hero {
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: clamp(620px, 54vw, 720px);
    background: var(--dark);
    color: var(--hero-fg);
}
.hero-photo, .event-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-photo { display: block; object-fit: cover; object-position: center center; }
.event-hero::after {
    content: '';
    z-index: -1;
    background: linear-gradient(90deg, #090e20f0 0%, #0c1022c2 35%, #0d12263c 67%, #0b102011 100%),
                linear-gradient(0deg, #0c1023ba, transparent 47%);
}
.theme-viva .event-hero { min-height: clamp(600px, 51vw, 700px); }
.theme-viva .event-hero::after {
    background: linear-gradient(90deg, #230c1df7 0%, #230c1dbd 36%, #2f0c1d30 75%),
                linear-gradient(0deg, #260c1bd9, transparent 51%);
}
.hero-inner { display: flex; align-items: center; padding-block: clamp(52px, 6.4vw, 104px); }
.hero-copy { width: min(100%, 780px); animation: enter .45s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-kicker, .section-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 820;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.hero-kicker { color: #eeeaff; margin-bottom: 18px; }
.hero-kicker i { width: 8px; height: 8px; flex-basis: 8px; background: var(--signal); }
.event-hero h1 {
    max-width: 14ch;
    font-size: clamp(3.1rem, 5.65vw, 6rem);
    font-weight: 820;
    line-height: .99;
    letter-spacing: -.075em;
    text-wrap: balance;
}
.event-hero h1 em { color: var(--highlight); font-style: normal; }
.theme-viva .event-hero h1 {
    max-width: 15ch;
    font-size: clamp(3.9rem, 8vw, 8.1rem);
    font-weight: 700;
    line-height: .84;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.hero-description {
    max-width: 45ch;
    margin-top: 24px;
    color: #ecedfa;
    font-size: clamp(1rem, 1.65vw, 1.23rem);
    line-height: 1.52;
}
.theme-viva .hero-description { color: #fff0e3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-copy .button:not(.button-ghost) { background: #6b35d3; }
.hero-copy .button:not(.button-ghost):hover { background: #5526b0; }
.button-ghost { background: #16182b80; border-color: #ffffff69; color: #fff; }
.button-ghost:hover { background: #ffffff20; border-color: white; }
.event-facts { border-top: 1px solid #ffffff33; background: #0a1024d9; }
.theme-viva .event-facts { background: #371125ee; }
.event-facts-inner { display: grid; grid-template-columns: 1fr 1.25fr 1fr; }
.event-facts-inner > div {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 84px;
    padding: 12px 22px;
    border-left: 1px solid #ffffff29;
}
.event-facts-inner > div:first-child { padding-left: 0; border-left: 0; }
.event-facts-inner svg { color: var(--signal); }
.event-facts-inner small, .event-facts-inner strong { display: block; }
.event-facts-inner small { color: #ddd9ec; font-size: .73rem; }
.event-facts-inner strong { font-size: .94rem; font-weight: 730; overflow-wrap: anywhere; }
.event-section { padding-block: clamp(48px, 6.2vw, 93px); }
.event-main section[id] { scroll-margin-top: 16px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
.section-head h2 { margin-top: 6px; max-width: 21ch; }
.theme-viva .section-head h2, .theme-viva .event-final h2 { text-transform: uppercase; letter-spacing: -.015em; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: .95; }
.section-description { max-width: 57ch; color: var(--muted); margin-top: 13px; line-height: 1.6; }
.split-section { display: grid; align-items: center; grid-template-columns: .9fr 1fr; gap: clamp(24px, 6vw, 100px); }
.section-photo { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: 14px; }
.feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-weight: 650;
}
.feature-list li { display: flex; align-items: center; gap: 10px; }
.feature-list svg { color: var(--accent); }
.lineup-section { background: var(--tint); }
.lineup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 23px); }
.lineup-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: #171629;
    color: white;
    transition: transform .22s;
}
.lineup-card:hover { transform: translateY(-4px); }
.lineup-card img, .lineup-art { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.lineup-card img { transition: transform .22s; }
.lineup-card:hover img { transform: scale(1.04); }
.lineup-caption {
    position: absolute;
    inset: auto 0 0;
    min-height: 43%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 34px 15px 16px;
    background: linear-gradient(transparent, #0b1022f5 73%);
}
.lineup-caption h3 { font-size: clamp(.96rem, 1.7vw, 1.42rem); }
.lineup-caption p { font-size: clamp(.69rem, 1.2vw, .86rem); color: #e0dcf2; line-height: 1.3; padding-top: 4px; }
.theme-viva .lineup-section { background: #310f29; color: #fff6e8; }
.theme-viva .lineup-section :is(.section-kicker, .section-description) { color: #ffdfa9; }
.theme-viva .lineup-card { background: #591b45; }
.theme-viva .lineup-caption { position: static; background: #fff5e9; color: #34192d; min-height: auto; padding: 12px 15px 15px; }
.theme-viva .lineup-caption h3 { font-size: clamp(1.18rem, 2.3vw, 1.85rem); text-transform: uppercase; letter-spacing: .01em; }
.theme-viva .lineup-caption p { color: #674456; }
.lineup-art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    color: #ffde7a;
    background: radial-gradient(ellipse at 16% 15%, #f7357e 0%, transparent 48%), #641752;
    isolation: isolate;
}
.lineup-art::before, .lineup-art::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 82%;
    height: 65%;
    border: 2px solid #ffe59670;
    border-radius: 50%;
    transform: rotate(-23deg);
}
.lineup-art::after { transform: rotate(27deg); width: 65%; height: 83%; }
.lineup-style-bolt .lineup-art { color: #ffe0a0; background: radial-gradient(ellipse at 70% 90%, #e63b51 5%, transparent 65%), #4a1942; }
.lineup-style-spark .lineup-art { color: #fff0a2; background: radial-gradient(ellipse at 80% 0%, #e85f2c 5%, transparent 66%), #882052; }
.lineup-style-network .lineup-art { color: #ffbcf2; background: radial-gradient(ellipse at 5% 80%, #5f4ea7 0%, transparent 55%), #6e124e; }
.lineup-art[class*="festival-photo-"] { background-size: 200% 200%; }
.lineup-art[class*="festival-photo-"]::before, .lineup-art[class*="festival-photo-"]::after { display: none; }
.lineup-art:is(.festival-photo-1,.festival-photo-2,.festival-photo-3,.festival-photo-4) { background-image: url('media/viva-lineup-a.webp'); }
.lineup-art:is(.festival-photo-5,.festival-photo-6,.festival-photo-7,.festival-photo-8) { background-image: url('media/viva-lineup-b.webp'); }
.lineup-art:is(.festival-photo-1,.festival-photo-5) { background-position: left top; }
.lineup-art:is(.festival-photo-2,.festival-photo-6) { background-position: right top; }
.lineup-art:is(.festival-photo-3,.festival-photo-7) { background-position: left bottom; }
.lineup-art:is(.festival-photo-4,.festival-photo-8) { background-position: right bottom; }
.lineup-time { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: .7rem; font-weight: 700; color: #803154; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding-block: 7px; font-size: .86rem; font-weight: 750; white-space: nowrap; }
.agenda-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 15px; }
.agenda-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.agenda-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: var(--bg);
    font-size: .84rem;
    font-weight: 700;
}
body .agenda-tabs, body .agenda-toolbar .filter { display: none; }
body .agenda-tabs.is-enhanced, body .agenda-toolbar .filter.is-enhanced { display: flex; }
.agenda-tabs [aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.filter { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .81rem; font-weight: 650; }
.filter select {
    min-height: 44px;
    max-width: min(75vw, 245px);
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 7px 10px;
}
.agenda-day + .agenda-day { margin-top: 14px; }
.agenda-day > h3 { padding: 10px 0 8px; color: var(--accent); font-size: .91rem; font-family: Inter, sans-serif; }
.agenda { display: grid; }
.agenda-row {
    display: grid;
    grid-template-columns: 83px 1fr minmax(130px, .36fr);
    align-items: center;
    gap: 16px;
    min-height: 60px;
    border-top: 1px solid var(--line);
    padding: 11px 0;
}
.agenda-row:last-child { border-bottom: 1px solid var(--line); }
.agenda-time time { display: block; color: var(--accent); font-size: 1.15rem; font-weight: 790; font-variant-numeric: tabular-nums; }
.agenda-time small, .agenda-title p, .agenda-meta { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.agenda-title p { margin-top: 4px; }
.agenda-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; }
.agenda-meta span { display: flex; align-items: center; gap: 4px; }
.agenda-empty { padding: 18px 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card, .metric, .table {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    min-width: 0;
}
.card h3 { margin-bottom: 5px; }
.card p { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.metric strong { display: block; margin-top: 4px; font-size: 1.6rem; line-height: 1.1; }
.ticket-section { background: var(--tint); }
.theme-viva .ticket-section { background: #3c1533; color: #fff6ea; }
.theme-viva .ticket-section :is(.section-description,.section-kicker) { color: #ffdfaa; }
.ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.tier-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 23px;
    background: #fff;
    color: var(--ink);
    min-width: 0;
}
.tier-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); background: var(--tint); border-radius: 9px; margin-bottom: 13px; }
.tier-card h3 { font-size: clamp(1.1rem, 2vw, 1.55rem); }
.tier-card p { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.tier-stack { border-top: 3px solid var(--accent-bright); }
.tier-spark { background: #14182c; color: #fff; border-color: #14182c; border-top: 3px solid #a99bfa; }
.tier-spark :is(p, small, .tier-price > span) { color: #d9d9f0; }
.tier-spark .tier-icon { color: #d9ceff; background: #332650; }
.theme-viva .tier-spark { background: #ffdc81; border-color: #ffdc81; color: #321026; }
.theme-viva .tier-spark :is(p, small, .tier-price > span) { color: #623146; }
.theme-viva .tier-spark .tier-icon { color: #67301f; background: #ffc750; }
.tier-price { margin-top: 20px; }
.tier-price > span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.tier-price strong { font-family: Manrope, Inter, sans-serif; line-height: 1.15; font-size: clamp(1.8rem, 3.2vw, 2.35rem); white-space: nowrap; letter-spacing: -.065em; }
.tier-lots { padding: 0; margin: 13px 0 14px; list-style: none; flex: 1; }
.tier-lots li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 9px 0; font-size: .78rem; }
.tier-spark .tier-lots li { border-color: #ffffff36; }
.theme-viva .tier-spark .tier-lots li { border-color: #7d4e3136; }
.tier-lots small { display: block; }
.tier-lots li > span { font-weight: 720; white-space: nowrap; }
.tier-button { width: 100%; }
.tier-icon + h3 { margin-top: 0; }
.sponsor-section { background: var(--bg); }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.sponsor { padding: clamp(11px, 3vw, 25px); min-height: 110px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sponsor-master { background: var(--tint); }
.sponsor-tier { color: var(--muted); font-size: .68rem; font-weight: 790; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-wordmark { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-family: Manrope, sans-serif; font-weight: 830; font-size: clamp(.79rem, 1.65vw, 1.28rem); line-height: 1.13; letter-spacing: -.04em; }
.sponsor-wordmark svg { color: var(--accent); width: clamp(23px, 4vw, 34px); }
.access-section { background: var(--tint); }
.venue { display: flex; gap: 12px; }
.venue i { align-self: start; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); color: var(--accent); border-radius: 8px; }
.venue p { color: var(--muted); margin-top: 4px; }
.event-faq h2 { font-size: 1.5rem; margin-bottom: 11px; }
.event-faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.event-faq details:last-child { border-bottom: 1px solid var(--line); }
.event-faq summary { font-weight: 700; font-size: .9rem; }
.event-faq p { color: var(--muted); margin-top: 8px; }
.event-final { color: #fff; background: #1c1538; padding-block: clamp(40px, 7vw, 92px); }
.event-final .event-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.event-final h2 { max-width: 19ch; }
.theme-viva .event-final { background: #681648; }
.theme-viva .event-final .button { color: #2d1224; background: #ffcf62; }
.event-footer { background: var(--dark); color: #d9ddee; padding-block: 36px; }
.event-footer-inner { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 16px 25px; align-items: start; font-size: .8rem; }
.event-footer .event-brand { justify-self: start; }
.footer-title { color: #fff; font-size: .88rem; font-weight: 750; margin-bottom: 4px; }
.footer-links { display: grid; gap: 4px; justify-items: start; }
.footer-links a { color: #d9ddee; }
.content-page { min-height: 48vh; padding-block: 42px 70px; }
.content-page h1, .admin-page-title { margin: 7px 0 19px; }
.content-page > section, .content-page > .actions { margin-top: 16px; }
.content-page > .card { margin-top: 16px; }
.content-page .card h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 10px; }
.content-page .ticket-grid { margin-block: 17px; }
.ticket-details h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.sample-ticket, .certificate { margin: 25px auto; text-align: center; border-top: 4px solid var(--accent); }
.sample-ticket { max-width: 440px; }
.certificate { max-width: 740px; display: grid; align-content: center; aspect-ratio: 1.414; border: 3px double var(--accent); padding-block: 32px; }
.sample-ticket :is(h2,h3,p), .certificate :is(h2,h3,p) { margin-top: 6px; }
.ticket-qr { display: block; width: min(220px, 100%); height: auto; image-rendering: pixelated; margin: 16px auto; }
.certificate .ticket-qr { width: 112px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.layout-admin {
    --heading: Manrope, Inter, sans-serif;
    --bg: #f1f5f9;
    --surface: #fff;
    --ink: #172236;
    --muted: #546176;
    --line: #dde4ed;
    --accent: #602ac1;
    --chart-primary: #7844d7;
    --chart-secondary: #a99cde;
    --chart-grid: #e5eaf2;
    color-scheme: light;
}
.layout-admin[data-theme="dark"] {
    --bg: #111a2b;
    --surface: #192439;
    --ink: #f0f3fb;
    --muted: #bdc8dd;
    --line: #36455f;
    --accent: #c2a8ff;
    --chart-primary: #bda2ff;
    --chart-secondary: #745da7;
    --chart-grid: #344359;
    color-scheme: dark;
}
.admin-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.admin-area { min-width: 0; }
.sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: auto;
    color: #fff;
    background: #10243d;
    padding: 18px 14px;
    scrollbar-width: thin;
}
.panel-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 1px 27px;
    padding: 0 0 18px;
    border-bottom: 1px solid #ffffff1c;
    text-decoration: none;
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    white-space: nowrap;
}
.panel-brand i {
    display: grid;
    flex: 0 0 37px;
    place-items: center;
    width: 37px;
    height: 37px;
    background: #7d48da;
    border-radius: 9px;
}
.panel-brand small, .sidebar-bottom small { display: block; font-size: .69rem; color: #c8d3e9; font-weight: 500; }
.sidebar-group { margin-bottom: 20px; }
.sidebar-group > p {
    padding-left: 11px;
    color: #adbbd3;
    font-size: .65rem;
    font-weight: 740;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px;
}
.sidebar nav a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    border-radius: 7px;
    color: #d5dff0;
    margin-bottom: 3px;
    padding: 7px 10px;
    font-size: .83rem;
    font-weight: 620;
    white-space: nowrap;
}
.sidebar nav a:hover { background: #ffffff17; color: #fff; }
.sidebar nav [aria-current="page"] { background: #6d3bc2; color: #fff; }
.sidebar-bottom {
    border-top: 1px solid #ffffff1c;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 15px 9px 2px;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.22;
}
.sidebar-bottom small { margin-top: 2px; }
.sidebar-bottom i, .admin-kicker i, .status-pill i { background: #34bb87; }
.admin-scrim, .sidebar-close { display: none; }
.admin-header {
    min-height: 68px;
    padding-inline: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.admin-toolbar-start, .admin-toolbar-end { display: flex; align-items: center; gap: 9px; }
.admin-toolbar-label { color: var(--muted); font-size: .83rem; font-weight: 650; }
.admin-toolbar-label span { padding-inline: 6px; opacity: .7; }
.icon-button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 44px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 7px;
}
.icon-button:hover { background: var(--bg); }
.theme-toggle svg:nth-child(2), [data-theme="dark"] .theme-toggle svg:first-child { display: none; }
[data-theme="dark"] .theme-toggle svg:nth-child(2) { display: block; }
.event-switch { position: relative; }
.event-switch summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    padding-inline: 10px;
    min-height: 44px;
    border-radius: 7px;
    font-size: .81rem;
    font-weight: 700;
    white-space: nowrap;
}
.event-switch summary::-webkit-details-marker { display: none; }
.event-switch div {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 155px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px #10182a24;
    z-index: 3;
}
.event-switch div a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: .82rem;
    color: var(--ink);
}
.event-switch div a:is(:hover, [aria-current]) { background: var(--bg); color: var(--accent); }
.admin-website, .admin-action, .panel-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 730;
    color: var(--accent);
    text-decoration: none;
    font-size: .8rem;
}
.admin-website { min-height: 44px; padding-inline: 4px; }
.admin-action { background: #6535bd; color: white; min-height: 44px; padding: 7px 13px; border-radius: 7px; }
.admin-action:hover { background: #512998; }
.admin-website:hover, .panel-text-link:hover { text-decoration: underline; }
.admin-main { padding: 21px 24px 44px; max-width: 1640px; margin-inline: auto; }
.admin-home-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px 16px; margin-bottom: 17px; }
.admin-home-heading h1, .admin-page-title h1 { font-size: clamp(1.65rem, 3vw, 2.45rem); margin-bottom: 4px; }
.admin-home-heading p { color: var(--muted); font-size: .83rem; }
.admin-kicker { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; color: var(--muted); font-size: .72rem; font-weight: 710; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 14px;
    box-shadow: 0 2px 4px #12213906;
}
.admin-card h2, .layout-admin .card h2 { font-size: 1.06rem; letter-spacing: -.015em; }
.dashboard-metric { padding: 12px 13px; }
.metric-caption { display: flex; align-items: center; gap: 7px; }
.metric-caption h2 { font-family: Inter, sans-serif; font-size: .75rem; font-weight: 670; line-height: 1.25; }
.metric-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; }
.metric-icon svg { width: 16px; height: 16px; }
.tone-violet { background: #eee6ff; color: #5e2eb9; }
.tone-blue { background: #e5f0ff; color: #2365b3; }
.tone-green { background: #dcf7ea; color: #106447; }
.tone-amber { background: #fff2d9; color: #8e4e0c; }
.tone-rose { background: #ffe8ee; color: #9d294d; }
.tone-gray { background: #eef1f5; color: #4b596d; }
.dashboard-metric > strong { display: block; margin-top: 5px; font: 810 clamp(1.12rem, 2.1vw, 1.65rem)/1.17 var(--heading); letter-spacing: -.055em; overflow-wrap: anywhere; }
.dashboard-metric > p { margin-top: 4px; color: var(--muted); font-size: .69rem; line-height: 1.3; }
.chart-grid-layout, .admin-summary { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); gap: 12px; margin-top: 12px; }
.chart-heading { display: flex; justify-content: space-between; align-items: start; gap: 9px; }
.chart-heading p { color: var(--muted); font-size: .73rem; margin-top: 3px; }
.chart-period { display: flex; align-items: center; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.chart-period a { color: var(--muted); font-size: .66rem; font-weight: 720; padding: 4px 6px; text-decoration: none; white-space: nowrap; border-radius: 4px; }
.chart-period a[aria-current], .chart-period a:hover { background: var(--surface); color: var(--accent); }
.chart-number { margin-block: 12px 2px; display: flex; align-items: baseline; gap: 8px; }
.chart-number strong { font: 820 1.63rem/1 var(--heading); letter-spacing: -.05em; }
.chart-number span, .chart-legend { color: var(--muted); font-size: .75rem; }
.trend-svg { display: block; width: 100%; height: auto; }
.trend-svg text { font: 660 11px Inter, sans-serif; fill: var(--muted); }
.chart-grid path { stroke: var(--chart-grid); stroke-dasharray: 3 3; }
.chart-bar-confirmed { fill: var(--chart-primary); }
.chart-bar-others { fill: var(--chart-secondary); }
.chart-legend { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--chart-primary); }
.chart-legend span:nth-child(2) i { background: var(--chart-secondary); }
.donut-chart { display: grid; place-items: center; position: relative; margin: 2px 0; }
.donut-chart svg { display: block; }
.donut-chart > div { text-align: center; position: absolute; pointer-events: none; }
.donut-chart strong { display: block; font: 820 1.65rem/1 var(--heading); letter-spacing: -.04em; }
.donut-chart span { font-size: .75rem; color: var(--muted); }
.donut-track, .donut-part { stroke-width: 12; fill: none; }
.donut-track { stroke: var(--chart-grid); }
.donut-0 { --donut-color: #925cf2; }
.donut-1 { --donut-color: #287cda; }
.donut-2 { --donut-color: #1ea77d; }
.donut-3 { --donut-color: #e28d39; }
.donut-part { stroke: var(--donut-color); }
.category-legend { padding: 0; margin: 2px 0 0; list-style: none; }
.category-legend li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px solid var(--line);
    font-size: .75rem;
}
.category-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--donut-color); }
.admin-summary .chart-heading { margin-bottom: 10px; }
.admin-recent { margin-top: 12px; }
.table { overflow: auto; padding: 0; margin-top: 12px; }
.table table { width: 100%; border-collapse: collapse; min-width: 380px; }
.table :is(th,td) { text-align: left; padding: 8px 11px; border-bottom: 1px solid var(--line); min-height: 44px; height: 44px; font-size: .83rem; }
.table th { background: var(--bg); color: var(--muted); font-size: .75rem; }
.table tr:last-child td { border-bottom: 0; }
.summary-table { border-radius: 7px; }
.summary-table td { font-size: .75rem; }
.status-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 4px; font-size: .67rem; font-weight: 700; white-space: nowrap; }
.status-pill i { width: 5px; height: 5px; flex-basis: 5px; background: currentColor; }
.dashboard-schedule { list-style: none; padding: 0; margin: 0; }
.dashboard-schedule li { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 10px; align-items: center; padding-block: 8px; border-top: 1px solid var(--line); font-size: .8rem; }
.dashboard-schedule span { color: var(--muted); display: block; font-size: .74rem; }
.layout-admin .agenda-component { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.layout-admin .agenda-tabs [aria-selected="true"] { background: #6d3bc2; border-color: #6d3bc2; }
.layout-admin .card p { margin-top: 4px; }

@media (min-width: 901px) {
    .admin-shell.is-collapsed { grid-template-columns: 72px minmax(0, 1fr); }
    .admin-shell.is-collapsed .sidebar { padding-inline: 12px; }
    .admin-shell.is-collapsed .panel-brand { margin-inline: 4px; }
    .admin-shell.is-collapsed .sidebar nav a { justify-content: center; }
    .admin-shell.is-collapsed .sidebar :is(.panel-brand span, .sidebar-group p, nav a span, .sidebar-bottom span) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .admin-shell.is-collapsed .sidebar-bottom { justify-content: center; }
}
@media (max-width: 1100px) {
    .event-wrap { width: calc(100% - 56px); }
    .event-header-inner { gap: 15px; }
    .event-header nav { gap: 12px; }
    .event-header nav a { font-size: .78rem; }
    .event-header-cta { font-size: .78rem; padding-inline: 12px; }
    .admin-main { padding-inline: 16px; }
}
@media (max-width: 900px) {
    .event-wrap { width: calc(100% - 44px); }
    .event-header-inner { min-height: 65px; }
    .event-header-inner.is-enhanced .event-menu-button { display: grid; place-items: center; order: 3; }
    .event-header-inner.is-enhanced nav {
        position: absolute;
        inset: 100% 0 auto;
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 6px 22px 12px;
        background: var(--dark);
        box-shadow: 0 12px 20px #11192c45;
    }
    .event-header-inner.is-enhanced:not([data-menu-open]) nav { display: none; }
    .event-header-inner.is-enhanced nav a { min-height: 44px; border-bottom: 1px solid #fff2; }
    .event-header-inner:not(.is-enhanced) { flex-wrap: wrap; padding-bottom: 5px; }
    .event-header-inner:not(.is-enhanced) nav { order: 3; flex-wrap: wrap; }
    .event-header-cta { margin-left: auto; }
    .lineup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-shell { display: block; }
    .admin-header { min-height: 60px; padding-inline: 13px; }
    .admin-shell.is-enhanced .sidebar {
        position: fixed;
        z-index: 8;
        inset: 0 auto 0 0;
        width: min(248px, calc(100% - 38px));
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform 220ms, visibility 220ms;
    }
    .admin-shell.is-drawer-open .sidebar { transform: none; visibility: visible; }
    .admin-shell.is-enhanced .sidebar-close {
        display: grid;
        position: absolute;
        place-items: center;
        top: 14px;
        right: 9px;
        width: 40px;
        height: 44px;
        color: #fff;
        background: transparent;
        border: 0;
        border-radius: 8px;
    }
    .admin-shell.is-enhanced .sidebar-close:hover { background: #ffffff14; }
    .admin-shell.is-drawer-open .admin-scrim {
        display: block;
        position: fixed;
        z-index: 7;
        inset: 0;
        width: 100%;
        background: #07142d93;
        border: none;
    }
    .admin-shell:not(.is-enhanced) .sidebar { position: static; height: auto; }
    body:has(.admin-shell.is-drawer-open) { overflow: hidden; }
}
@media (max-width: 720px) {
    .event-wrap { width: calc(100% - 32px); }
    .demo-identity span, .demo-links .wide-label { display: none; }
    .demo-links { gap: 11px; }
    .demo-links a { min-height: 44px; }
    .event-header-inner { min-height: 60px; gap: 7px; }
    .event-brand { font-size: 1rem; gap: 6px; }
    .event-brand svg { width: 28px; height: 28px; }
    .theme-viva .event-brand { font-size: 1.6rem; }
    .event-header-cta { gap: 5px; }
    .event-header-cta svg { display: none; }
    .event-hero, .theme-viva .event-hero { min-height: 488px; }
    .hero-inner { padding-block: 59px 38px; }
    .hero-photo { object-position: 62% center; }
    .event-hero::after { background: linear-gradient(90deg, #090e21ed 3%, #10142988 73%, #14172950), linear-gradient(0deg, #0c1023b0, transparent 60%); }
    .theme-viva .event-hero::after { background: linear-gradient(90deg, #230c1df1 3%, #280c2288 80%), linear-gradient(0deg, #230c1dc7, transparent 65%); }
    .event-hero h1 { font-size: clamp(2.6rem, 8.9vw, 4.3rem); }
    .theme-viva .event-hero h1 { font-size: clamp(3.3rem, 10vw, 5rem); }
    .hero-description { margin-top: 15px; }
    .hero-actions { margin-top: 22px; }
    .hero-kicker { margin-bottom: 13px; }
    .event-facts-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .event-facts-inner > div { gap: 6px; min-height: 54px; padding: 7px 0 7px 8px; }
    .event-facts-inner > div:nth-child(3) { display: none; }
    .event-facts-inner svg { width: 17px; height: 17px; }
    .event-facts-inner small { font-size: .58rem; }
    .event-facts-inner strong { font-size: .72rem; line-height: 1.15; }
    .section-head { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
    .split-section { grid-template-columns: 1fr; }
    .lineup-grid, .cards, .sponsor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .lineup-caption { padding: 25px 8px 9px; }
    .theme-viva .lineup-caption { padding: 9px 9px 11px; }
    .agenda-toolbar { align-items: start; flex-direction: column; gap: 7px; }
    .agenda-row { grid-template-columns: 53px minmax(0,1fr); column-gap: 9px; row-gap: 5px; }
    .agenda-time { grid-row: span 2; }
    .agenda-time time { font-size: 1rem; }
    .agenda-time small { font-size: .66rem; }
    .agenda-meta { grid-column: 2; }
    .ticket-grid { grid-template-columns: 1fr; }
    .tier-card { padding: 17px; }
    .event-footer-inner { grid-template-columns: 1fr 1fr; }
    .event-footer-inner > :last-child { grid-column: 1/-1; }
    .admin-toolbar-label { display: none; }
    .dashboard-metric { padding: 9px; }
    .admin-main { padding: 15px 12px 35px; }
    .admin-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .chart-grid-layout, .admin-summary { grid-template-columns: 1fr; }
    .admin-home-heading { flex-wrap: wrap; }
    .admin-home-heading .admin-action { min-height: 40px; }
}
@media (max-width: 460px) {
    .admin-website span { display: none; }
    .admin-website { width: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 7px; }
}
@media (max-width: 370px) {
    .event-wrap { width: calc(100% - 24px); }
    .event-header-inner { gap: 4px; }
    .event-header-cta { font-size: .73rem; padding-inline: 8px; max-width: 45%; white-space: normal; text-align: center; }
    .admin-header { gap: 6px; padding-inline: 9px; }
    .admin-toolbar-end { gap: 5px; }
    .event-switch summary { padding-inline: 7px; gap: 5px; }
    .event-switch summary svg:first-child { display: none; }
    .event-menu-button { padding-inline: 7px; }
    .hero-actions .button { padding-inline: 10px; gap: 4px; font-size: .79rem; }
    .hero-actions .button svg { width: 15px; }
    .chart-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.sidebar-group { margin-bottom: 7px; }
.sidebar-group summary { display:flex; align-items:center; gap:7px; min-height:39px; padding:5px 7px; color:#e7ecfa; list-style:none; font-size:.75rem; font-weight:740; line-height:1.25; }
.sidebar-group summary::-webkit-details-marker { display:none; }
.sidebar-group summary::after { content:''; margin-left:auto; width:6px; height:6px; transform:rotate(45deg); border:solid currentColor; border-width:0 1px 1px 0; }
.sidebar-group[open] summary::after { transform:rotate(225deg); }
.sidebar-group[open] summary,.sidebar-group summary:hover { background:#ffffff12; border-radius:6px; }
.sidebar .sidebar-group a { white-space:normal; margin:2px 0 2px 12px; min-height:36px; font-size:.75rem; line-height:1.25; }
.sidebar nav { gap:0; }
.demo-admin-notice { display:inline-block; color:var(--muted); background:var(--surface); border:1px solid var(--line); border-radius:7px; padding:5px 9px; margin:0 0 12px; font-size:.75rem; font-weight:650; }
.demo-module-intro { margin-bottom:12px; }
.demo-module-data { margin-bottom:12px; }
@media (min-width:901px) {
    .admin-shell.is-collapsed .sidebar-group summary { font-size:0; justify-content:center; }
    .admin-shell.is-collapsed .sidebar-group summary::after,.admin-shell.is-collapsed .sidebar-group a { display:none; }
}
