.card { background: var(--card); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.hero { display:grid; gap:18px; grid-template-columns: 1.4fr 1fr; margin-bottom: 20px; }
.stats { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.stat-value { font-size: 30px; font-weight: 700; }
.muted { color: var(--muted); }
h1, h2, h3, .hero-copy h1, .watch-hero h1, .brand-meta strong { margin-top: 0; font-family: "Aptos Display", "Aptos", sans-serif; }
.table-wrap { width: 100%; overflow-x: auto; overflow-y: visible; }
.table-wrap table { min-width: 1120px; }
table { width:100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-actions {
    white-space: nowrap;
    width: 1%;
}
.table-actions .btn,
td > .btn:only-child {
    --btn-height: 38px;
    --btn-padding-x: 14px;
    --btn-radius: 12px;
    max-width: 100%;
    white-space: nowrap;
}
.table-action-stack {
    display:flex;
    flex-direction:column;
    gap:8px;
    align-items:stretch;
    min-width: 150px;
    max-width: 190px;
}
.table-action-stack form {
    margin:0;
    width:100%;
}
.table-action-form {
    margin:0;
}
.admin-card-header {
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
    flex-wrap:wrap;
}
.admin-card-header .cta-row {
    margin-top:0;
}
.admin-note-title {
    display:block;
    margin-bottom:8px;
    color:var(--primary);
}
.admin-dashed-card {
    border:1px dashed rgba(79,23,168,0.22) !important;
    box-shadow:none !important;
}
.inline-cluster {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.u-m-0 { margin:0 !important; }
.u-mt-xs { margin-top:8px !important; }
.u-mt-sm { margin-top:10px !important; }
.u-mt-form { margin-top:12px !important; }
.u-mt-md { margin-top:16px !important; }
.u-mt-lg { margin-top:18px !important; }
.u-mt-xl { margin-top:20px !important; }
.u-mb-sm { margin-bottom:10px !important; }
.table-action-stack .btn,
.table-action-stack button {
    --btn-height: 38px;
    --btn-padding-x: 14px;
    --btn-radius: 12px;
    width:100%;
    max-width:100%;
    justify-content:center;
    text-align:center;
    white-space:normal;
    line-height:1.15;
}
.content-page-card {
    padding: 0;
    overflow: hidden;
}
.content-page-card-body {
    padding: 34px;
}
.content-prose {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.9;
}
.content-prose > :first-child {
    margin-top: 0;
}
.content-prose h1,
.content-prose h2,
.content-prose h3,
.content-prose h4 {
    color: var(--primary);
    font-family: "Aptos Display", "Aptos", sans-serif;
    line-height: 1.2;
    margin: 1.6em 0 0.7em;
}
.content-prose h1 { font-size: clamp(34px, 4vw, 52px); }
.content-prose h2 { font-size: clamp(28px, 3vw, 40px); }
.content-prose h3 { font-size: clamp(23px, 2.1vw, 31px); }
.content-prose h4 { font-size: clamp(19px, 1.7vw, 24px); }
.content-prose p,
.content-prose ul,
.content-prose ol,
.content-prose blockquote,
.content-prose table {
    margin: 0 0 1.2em;
}
.content-prose ul,
.content-prose ol {
    padding-left: 1.4em;
}
.content-prose li {
    margin-bottom: 0.45em;
}
.content-prose a {
    color: var(--primary);
    font-weight: 700;
    text-decoration-color: rgba(79,23,168,0.28);
    text-underline-offset: 3px;
}
.content-prose a:hover {
    text-decoration-color: var(--primary);
}
.content-prose strong,
.content-prose b {
    color: #2e0e66;
}
.content-prose em,
.content-prose i {
    color: #4e4a63;
}
.content-prose blockquote {
    margin-left: 0;
    padding: 18px 22px;
    border-left: 4px solid rgba(79,23,168,0.26);
    border-radius: 0 20px 20px 0;
    background: linear-gradient(135deg, rgba(79,23,168,0.05) 0%, rgba(5,191,224,0.06) 100%);
    color: #342f47;
}
.content-prose table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(79,23,168,0.10);
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 24px rgba(79,23,168,0.05);
}
.content-prose table tbody,
.content-prose table thead {
    display: table;
    width: 100%;
    table-layout: auto;
}
.content-prose th,
.content-prose td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(79,23,168,0.08);
    min-width: 140px;
    font-size: 15px;
}
.content-prose th {
    background: linear-gradient(180deg, rgba(79,23,168,0.08) 0%, rgba(79,23,168,0.04) 100%);
    color: var(--primary);
    font-size: 12px;
    letter-spacing: .08em;
}
.content-prose tr:last-child td {
    border-bottom: 0;
}
input, select, textarea { width:100%; padding: 11px 12px; border-radius: 14px; border:1px solid rgba(79,23,168,0.14); background: rgba(255,255,255,0.98); font: inherit; color: inherit; }
textarea { min-height: 120px; }
.grid-2 { display:grid; gap:16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { display:grid; gap:16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
:root {
    --btn-height: 44px;
    --btn-padding-x: 18px;
    --btn-radius: 14px;
    --btn-font-size: 14px;
    --btn-font-weight: 700;
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    border-radius: var(--btn-radius);
    border:1px solid transparent;
    background: linear-gradient(135deg, var(--accent) 0%, #ff7f3f 100%);
    color: #fff;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    line-height: 1.1;
    text-decoration:none;
    cursor:pointer;
    white-space:nowrap;
    box-shadow: 0 14px 28px rgba(255,97,15,0.22);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}
.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255,97,15,0.24);
    text-decoration:none;
}
.btn:focus-visible {
    outline: 2px solid rgba(79,23,168,0.24);
    outline-offset: 2px;
}
.btn.secondary {
    background: linear-gradient(180deg, rgba(79,23,168,0.08) 0%, rgba(79,23,168,0.04) 100%);
    border-color: rgba(79,23,168,0.14);
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(79,23,168,0.08);
}
.btn.secondary:hover,
.btn.secondary:focus-visible {
    box-shadow: 0 14px 28px rgba(79,23,168,0.12);
}
.btn.ghost,
.btn.tertiary {
    background: transparent;
    color: var(--primary);
    border-color: rgba(79,23,168,0.16);
    box-shadow: none;
}
.btn.ghost:hover,
.btn.ghost:focus-visible,
.btn.tertiary:hover,
.btn.tertiary:focus-visible {
    background: rgba(79,23,168,0.06);
    box-shadow: none;
}
.btn.page-current {
    pointer-events: none;
    background: linear-gradient(180deg, rgba(79,23,168,0.14) 0%, rgba(79,23,168,0.08) 100%);
    border-color: rgba(79,23,168,0.26);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(79,23,168,0.08);
}
.btn.danger {
    background: linear-gradient(135deg, #d92d20 0%, #b42318 100%);
    border-color: transparent;
    color:#fff;
    box-shadow: 0 14px 28px rgba(185, 28, 28, 0.18);
}
.btn.danger:hover,
.btn.danger:focus-visible {
    box-shadow: 0 18px 34px rgba(185, 28, 28, 0.24);
}
.btn.danger-ghost {
    background: transparent;
    color:#991b1b;
    border-color: rgba(185, 28, 28, 0.28);
    box-shadow:none;
}
.btn.danger-ghost:hover,
.btn.danger-ghost:focus-visible {
    background: rgba(185, 28, 28, 0.06);
    box-shadow:none;
}
.btn.full,
.btn.full-width {
    width:100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}
.flash { padding: 12px 14px; border-radius: 14px; margin-bottom: 16px; background:#fff4ec; border:1px solid rgba(255,97,15,0.2); }
.flash.success { background:#e9f8ef; border-color:#b7e8ca; color:#17563b; }
.login-wrap { min-height:100vh; display:grid; place-items:center; padding:20px; }
.login-card { width:min(460px, 100%); }
.small { font-size: 13px; }
.announcement { background: linear-gradient(135deg, var(--secondary) 0%, #2e4358 100%); color:#fff4e8; }
.event-disclosure {
    margin-top: 12px;
    border: 1px solid rgba(79,23,168,0.10);
    border-radius: 16px;
    background: rgba(79,23,168,0.03);
    overflow: hidden;
}
.event-disclosure summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.event-disclosure summary::-webkit-details-marker { display: none; }
.event-disclosure summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(79,23,168,0.08);
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
}
.event-disclosure[open] summary::after { content: "−"; }
.event-disclosure-body {
    padding: 0 14px 14px;
    display: grid;
    gap: 14px;
}
.event-section-block {
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(79,23,168,0.10);
    border-radius: 14px;
    padding: 14px;
}
.archive-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(79,23,168,0.08);
}
.archive-nav-spacer {
    min-width: 132px;
}
.event-picker {
    margin-bottom: 8px;
}
.help-search {
    margin-bottom: 18px;
}
.help-topic {
    margin-top: 16px;
    border: 1px solid rgba(79,23,168,0.10);
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    overflow: hidden;
}
.help-topic summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.help-topic summary::-webkit-details-marker { display: none; }
.help-topic summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(79,23,168,0.08);
    color: var(--primary);
    font-size: 16px;
}
.help-topic[open] summary::after { content: "−"; }
.help-topic-body {
    padding: 0 18px 18px;
}
.help-topic-body h4 {
    margin: 14px 0 8px;
    font-size: 15px;
}
.help-topic-body p,
.help-topic-body li {
    color: var(--muted);
    line-height: 1.6;
}
