.community-hub { --hub-line: #29372d; --hub-accent: #c2f970; }
.hub-intro, .event-detail-status, .hub-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hub-intro { border-top: 1px solid var(--hub-line); border-bottom: 1px solid var(--hub-line); padding: 20px 0; margin-bottom: 28px; }
.hub-intro p { margin: 0; color: #b5c3b8; }
.hub-intro .tiny-label { display: block; color: var(--hub-accent); margin-bottom: 7px; }
.hub-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; background: #0d130f; border: 1px solid var(--hub-line); padding: 24px; margin: 28px 0; }
.hub-filters label, .community-workspace label { display: grid; gap: 8px; font-size: 13px; color: #cad5cd; min-width: 0; }
.hub-filters .hub-search { grid-column: 1 / -1; }
.hub-filters input, .hub-filters select, .community-workspace input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .community-workspace select, .community-workspace textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #3c4b40; background: #090d0a; color: #edf4ef; padding: 12px; border-radius: 3px; font: inherit; }
.hub-filters :focus-visible, .community-workspace :focus-visible, .community-hub :focus-visible, .organizer-badge:focus-visible { outline: 2px solid #c2f970; outline-offset: 4px; }
.hub-filter-actions { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.event-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(150deg, #121b15, #0b100d 70%); border: 1px solid var(--hub-line); padding: 26px; border-top: 2px solid #536c42; overflow-wrap: anywhere; }
.event-card h2 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; margin: 20px 0 12px; }
.event-card h2 a { color: #f0f5f1; text-decoration: none; }
.event-card h2 a:hover { color: var(--hub-accent); }
.event-card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.event-state { display: inline-block; padding: 5px 9px; border: 1px solid #39483d; font-size: 12px; color: #bdc9c0; }
.event-state-current, .event-state-ongoing { color: #c2f970; border-color: #647e48; }
.event-state-cancelled { color: #ffc0ae; border-color: #825544; }
.event-summary { color: #b4c1b8; line-height: 1.7; }
.event-organizer { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; align-items: center; }
.organizer-badge { display: inline-block; font-size: 11px; line-height: 1.5; color: #9ee6de; border: 1px solid #315b55; padding: 3px 7px; border-radius: 3px; }
.event-card-facts { border-top: 1px solid var(--hub-line); width: 100%; margin: 22px 0; padding-top: 15px; }
.event-card-facts div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; margin: 8px 0; font-size: 12px; }
.event-card-facts dt, .event-facts dt { color: #94a599; }
.event-card-facts dd, .event-facts dd { margin: 0; color: #d9e3dc; }
.event-card > .text-button { margin-top: auto; }
.hub-empty { border: 1px dashed #384b3e; padding: clamp(26px, 5vw, 60px); background: #0d140f; text-align: center; }
.hub-empty p { max-width: 570px; margin: 0 auto 22px; line-height: 1.8; color: #aebdb2; }
.hub-empty-mark { color: var(--hub-accent); font-family: monospace; font-size: 36px; }
.hub-policy { color: #9fafA3; border-top: 1px solid var(--hub-line); padding-top: 20px; margin-top: 32px; font-size: 12px; line-height: 1.8; }
.hub-pagination { margin-top: 26px; justify-content: center; }
.event-detail .page-heading { margin-top: 28px; }
.event-detail-status { justify-content: flex-start; margin-bottom: 26px; font-size: 13px; }
.event-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr); gap: 24px; align-items: start; }
.event-description { overflow-wrap: anywhere; min-width: 0; }
.event-facts { min-width: 0; overflow-wrap: anywhere; }
.event-facts h2 { font-size: 19px; }
.event-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; margin-top: 18px; }
.event-facts dd { margin: 6px 0 14px; font-size: 13px; line-height: 1.7; }
.event-facts .button { white-space: normal; text-align: center; }
.hub-discussion { border-left: 2px solid var(--hub-accent); padding: 8px 24px; margin-top: 32px; }
.community-workspace { display: grid; gap: 24px; margin: 28px 0; min-width: 0; }
.community-workspace section { border: 1px solid #2c3a31; background: #101712; padding: clamp(18px, 3vw, 28px); min-width: 0; }
.community-workspace form { display: grid; gap: 16px; margin-top: 18px; min-width: 0; }
.community-workspace fieldset { min-width: 0; padding: 16px; border: 1px solid #36483b; }
.community-workspace textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.community-workspace textarea[name=description] { min-height: 280px; }
.community-workspace input[type=checkbox] { width: auto; }
.community-workspace table { display: block; max-width: 100%; overflow-x: auto; }
.community-workspace button { justify-self: start; max-width: 100%; white-space: normal; }
.community-staff details { border-top: 1px solid #3b4a3e; padding: 15px 0; }
.community-staff summary { cursor: pointer; line-height: 1.6; }
.bb-signage, .bb-showcase, .bb-sponsor-banner, .bb-sponsor { margin: 24px 0; border: 1px solid #344739; padding: 14px; background: #0c120e; overflow: hidden; }
.bb-signage img, .bb-showcase img, .bb-sponsor-banner img, .bb-sponsor img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; }
.bb-signage-neon, .bb-signage-style-neon, .bb-sponsor--neon { border-color: #b9ef6a; box-shadow: 0 0 14px #b9ef6a20; }
.bb-signage-glow, .bb-signage-style-glow, .bb-sponsor--glow { animation: bb-sponsor-glow 7s ease-in-out infinite alternate; }
@keyframes bb-sponsor-glow { from { box-shadow: 0 0 2px #b9ef6a10; } to { box-shadow: 0 0 18px #b9ef6a30; } }
@media (max-width: 1100px) { .main-nav { gap: 14px; } .event-detail-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
    .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 0; align-content: start; }
    .site-header > .brand { grid-column: 1; grid-row: 1; }
    .site-header > .account-nav { grid-column: 2; grid-row: 1; }
    .site-header > .main-nav { grid-column: 1 / -1; grid-row: 2; align-self: start; align-content: start; flex-wrap: wrap; height: auto; min-height: 0; gap: 0 20px; }
    .main-nav > a, .main-nav > button { height: 38px; min-height: 38px; flex: 0 0 auto; }
    .event-grid { grid-template-columns: minmax(0, 1fr); }
    .hub-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
    .hub-intro { align-items: flex-start; flex-direction: column; }
    .event-card { padding: 20px; }
    .event-card-facts div { grid-template-columns: 67px minmax(0, 1fr); }
}
@media (max-width: 400px) { .hub-filters { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bb-signage-glow, .bb-signage-style-glow, .bb-sponsor--glow { animation: none; } .community-hub *, .community-workspace * { scroll-behavior: auto; transition: none; } }
.community-workspace .event-workflow { background: #111513; border-color: #354039; border-radius: 12px; padding: clamp(18px, 3.2vw, 36px); color: #e9eee9; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.event-workflow *, .event-workflow *::before, .event-workflow *::after { box-sizing: border-box; }
.workflow-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.workflow-heading > div { max-width: 600px; }
.event-workflow .workflow-eyebrow { color: #b9e78a; letter-spacing: .12em; font: 600 10px/1.6 var(--mono); margin: 0 0 15px; }
.event-workflow .workflow-heading h2 { font: 650 clamp(25px, 2.7vw, 37px)/1.12 system-ui, sans-serif; letter-spacing: -.045em; margin: 0 0 16px; }
.workflow-heading p, .workflow-editor > p, .workflow-defaults > p { font-size: 14px; line-height: 1.75; color: #b4c0b7; }
.workflow-public-link { flex: 0 0 auto; font-size: 12px; color: #c2e49f; padding-bottom: 4px; border-bottom: 1px solid #607c4b; }
.workflow-steps { list-style: none; display: flex; gap: 24px; padding: 20px 0; margin: 25px 0 0; border-block: 1px solid #323d35; }
.workflow-steps li { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.6; color: #cbd5cd; }
.workflow-steps span { color: #91b979; font: 11px/1.6 var(--mono); }
.event-workflow .workflow-pilot { font-size: 11px; line-height: 1.8; color: #a4b2a8; margin: 13px 0 25px; }
.workflow-notice, .workflow-feedback { padding: 16px 18px; border-left: 2px solid #b6df87; border-radius: 0 5px 5px 0; background: #1c261e; font-size: 13px; line-height: 1.7; margin: 20px 0; }
.workflow-layout { display: grid; grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.workflow-library, .workflow-editor { min-width: 0; }
.workflow-library-heading, .workflow-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.event-workflow .workflow-library-heading h3 { font-size: 14px; margin: 0; }
.workflow-library-heading > span, .workflow-revision { color: #aab6ad; font-size: 11px; }
.event-workflow .workflow-new { width: 100%; justify-content: space-between; margin: 16px 0 0; }
.event-workflow .button { border-radius: 5px; font: 600 12px/1.5 system-ui, sans-serif; min-height: 42px; padding: 11px 16px; }
.workflow-records { list-style: none; padding: 0; margin: 17px 0; display: grid; gap: 8px; }
.workflow-records a { display: block; border: 1px solid #323d35; border-radius: 7px; padding: 16px; background: #151b17; text-decoration: none; }
.workflow-records a:hover { border-color: #7c9966; }
.workflow-records a[aria-current="true"] { border-color: #a9d781; background: #1b261b; box-shadow: inset 3px 0 #a9d781; }
.workflow-records strong { display: block; margin: 11px 0 13px; color: #e3eae4; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.workflow-records small { display: flex; justify-content: space-between; font-size: 11px; color: #aab6ad; }
.workflow-status { display: inline-block; color: #c2d7d7; border: 1px solid #3a5153; border-radius: 3px; padding: 3px 6px; font: 10px/1.5 var(--mono); }
.workflow-status-approved { color: #c6eaa1; border-color: #53753e; }
.workflow-status-pending { color: #ead6a0; border-color: #766438; }
.workflow-status-withdrawn, .workflow-status-cancelled, .workflow-status-rejected { color: #edb9ac; border-color: #7f554b; }
.workflow-library-note { font-size: 12px; line-height: 1.8; color: #a5b2a9; }
.workflow-empty { border: 1px dashed #3a493e; border-radius: 7px; margin: 17px 0; padding: 22px 17px; }
.workflow-empty > span { color: #a8ce87; font: 18px/1.8 var(--mono); }
.workflow-empty h4 { margin: 10px 0 8px; font-size: 14px; }
.workflow-empty p { color: #aab7ae; font-size: 12px; line-height: 1.7; }
.workflow-editor { background: #171d19; border: 1px solid #354139; border-radius: 9px; padding: clamp(16px, 2.1vw, 26px); scroll-margin-top: 30px; }
.event-workflow .workflow-editor h3 { font: 650 22px/1.3 system-ui, sans-serif; letter-spacing: -.02em; margin: 14px 0 8px; overflow-wrap: anywhere; }
.workflow-editor-heading { align-items: flex-start; }
.workflow-revision { white-space: nowrap; padding-top: 4px; }
.workflow-feedback p { margin: 6px 0 0; white-space: pre-wrap; }
.event-workflow .workflow-helper { font-size: 12px; color: #b1beb5; line-height: 1.8; margin: 10px 0 17px; overflow-wrap: anywhere; }
.workflow-helper code { color: #d4dfd7; font-size: 11px; overflow-wrap: anywhere; }
.event-workflow .workflow-form { gap: 23px; margin-top: 24px; }
.event-workflow fieldset { padding: 0; border: 0; margin: 0; }
.event-workflow legend { width: 100%; padding: 0 0 12px; margin: 0 0 15px; border-bottom: 1px solid #354138; color: #d8e3da; font-size: 13px; font-weight: 600; }
.workflow-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 18px; }
.event-workflow label { display: flex; flex-direction: column; align-items: stretch; gap: 8px; color: #d0dcd3; font: 500 12px/1.6 system-ui, sans-serif; min-width: 0; }
.event-workflow label small { color: #a8b4ac; font-size: 11px; font-weight: 400; }
.event-workflow input:not([type=checkbox]):not([type=hidden]), .event-workflow select, .event-workflow textarea { width: 100%; min-width: 0; max-width: 100%; background: #0e1410; border: 1px solid #46534a; color: #e2eae4; border-radius: 5px; font: 400 13px/1.6 system-ui, sans-serif; padding: 11px; }
.event-workflow textarea[name=summary] { min-height: 100px; }
.event-workflow textarea[name=description] { min-height: 230px; }
.event-workflow :is(input, select, textarea, button, a, summary):focus-visible { outline: 2px solid #c4ef93; outline-offset: 3px; }
.event-workflow label.workflow-attestation { flex-direction: row; align-items: flex-start; gap: 12px; color: #bccac0; }
.workflow-attestation input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #b8e487; }
.workflow-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.workflow-reuse, .workflow-cancel { border-block: 1px solid #354239; margin: 22px 0; padding: 14px 0; }
.workflow-reuse summary, .workflow-cancel summary { color: #c9deb6; font-size: 12px; line-height: 1.7; cursor: pointer; }
.workflow-reuse p, .workflow-cancel p { font-size: 12px; line-height: 1.8; color: #acbbb1; }
.workflow-cancel summary { color: #d4b6a7; }
.workflow-defaults { border-top: 1px solid #36433a; margin-top: 32px; padding-top: 23px; }
.workflow-defaults summary { cursor: pointer; color: #d9e6dc; font-size: 14px; line-height: 1.7; }
.workflow-defaults summary small { color: #a5b6ab; font-size: 12px; margin-left: 14px; }
.workflow-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12px; }
.workflow-pagination a { color: #c0ddaa; text-decoration: underline; text-underline-offset: 3px; }
.workflow-readonly { font-size: 13px; line-height: 1.8; }
.workflow-readonly dt { color: #a7b7ac; margin-top: 18px; }
.workflow-readonly dd { color: #dce6df; margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1050px) { .workflow-heading { display: block; } .workflow-public-link { display: inline-block; margin-top: 8px; } .workflow-layout { grid-template-columns: minmax(0, 1fr); } .workflow-records { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .workflow-steps { display: grid; gap: 10px; padding-block: 17px; } .workflow-fields, .workflow-records { grid-template-columns: minmax(0, 1fr); } .workflow-actions { align-items: stretch; flex-direction: column; } .event-workflow .workflow-actions button { width: 100%; justify-content: center; } .workflow-defaults summary small { display: block; margin: 5px 0 0; } .workflow-editor-heading { flex-direction: column; gap: 4px; } .event-workflow .workflow-editor { padding: 16px; } }
