/* Participant workspace: quiet circuit-board surfaces around real event controls. */
[data-secondary-page] main.dashboard-page { width: min(1440px, calc(100% - 2 * var(--side))); margin-inline: auto; padding: clamp(40px, 5vw, 76px) 0 80px; }
.dashboard-page [hidden] { display: none !important; }
.dashboard-page { --workspace-line: #ffffff1a; --workspace-muted: #aeb7bd; color: #e7ecee; }
.dashboard-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 40px; }
.dashboard-page .dashboard-eyebrow { font-size: 10px; letter-spacing: .12em; line-height: 1.7; color: #a9b3bb; margin: 0 0 12px; }
.dashboard-page .dashboard-intro h1 { margin: 8px 0 14px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.03em; }
.dashboard-page .dashboard-lede { color: var(--workspace-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.dashboard-page p { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
html[data-edition="pixel"] .dashboard-page h2 { font-size: 24px; line-height: 1.4; margin: 0 0 14px; }
.dashboard-page h3 { font-size: 20px; line-height: 1.45; margin: 0 0 16px; }
.dashboard-page h4 { font-size: 15px; line-height: 1.5; margin: 24px 0 12px; }
.dashboard-page a { text-underline-offset: 5px; }
.dashboard-page :is(button,.dashboard-link) { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 16px; border: 1px solid #525b61; border-radius: 0; background: #171c1f; box-shadow: inset 0 2px #ffffff08, 0 3px #020304; color: #e8edef; font: inherit; font-size: 14px; line-height: 1.6; text-decoration: none; cursor: pointer; }
.dashboard-page :is(button,.dashboard-link):hover:not(:disabled) { border-color: #d0d7db; background: #222a2e; }
.dashboard-page :is(button,.dashboard-link):active:not(:disabled) { box-shadow: inset 0 2px #0008; }
.dashboard-page :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid #f1f4f6; outline-offset: 4px; }
.dashboard-page button:disabled { opacity: .5; cursor: not-allowed; }
.dashboard-page .dashboard-link-primary { background: #e9eded; border-color: #e9eded; color: #111518; box-shadow: inset 0 -3px #b7bfc2, 0 3px #020304; }
.dashboard-page .dashboard-link-primary:hover { background: #fff; color: #080b0e; }
.dashboard-intro > .dashboard-link { flex-shrink: 0; }
.dashboard-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.dashboard-page .dashboard-fine { font-size: 12px; color: #a3adb5; margin-top: 20px; }
#dashboard-status { padding: 12px 16px; border-left: 2px solid #b6c0c5; background: #12171a; color: #d6dde1; margin: 0 0 24px; }
#dashboard-status:empty { display: none; }
#dashboard-loading { max-width: 800px; padding: 24px; border: 1px solid var(--workspace-line); }
#dashboard-loading:empty, #role-invitations-slot:empty { display: none; }
.dashboard-gate { display: grid; grid-template-columns: .65fr 1fr; align-items: center; gap: 64px; padding: clamp(24px, 4vw, 64px); border: 1px solid var(--workspace-line); background: radial-gradient(ellipse at 20% 50%, #d1e2ef08, transparent 60%), #0c1012; }
html[data-edition="pixel"] .dashboard-gate h2 { font-size: clamp(24px, 2.5vw, 36px); }
.dashboard-gate p { max-width: 50ch; color: #b4bec5; }
.dashboard-gate-art { position: relative; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; }
.dashboard-gate-art::before { content: ''; position: absolute; width: 210px; height: 100px; border: 1px solid #c7d7e52a; border-radius: 50%; transform: rotate(-32deg) translateY(-24px); }
.dashboard-gate-art img { filter: drop-shadow(0 0 20px #e8f2ff30); }
.dashboard-gate-art span { color: #8d9aa3; font-size: 9px; letter-spacing: .12em; }
.dashboard-public-guide { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; padding: 30px 0; margin-top: 24px; border-top: 1px solid var(--workspace-line); }
.dashboard-public-guide a { display: flex; gap: 16px; text-decoration: none; min-height: 60px; }
.dashboard-step { font-size: 10px; color: #87949e; padding-top: 3px; }
.dashboard-public-guide strong { display: block; font-size: 14px; font-weight: 400; margin-bottom: 8px; }
.dashboard-public-guide small { display: block; color: #a8b4bc; font-size: 11px; line-height: 1.7; }
.dashboard-public-guide a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.dashboard-session { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 0 18px; margin-bottom: 28px; border-bottom: 1px solid var(--workspace-line); }
.dashboard-session #identity { margin: 0; color: #a8b5bd; font-size: 11px; }
.dashboard-page #signout { background: transparent; border-color: transparent; box-shadow: none; padding-right: 0; text-decoration: underline; }
.dashboard-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: start; }
.dashboard-sidebar, .dashboard-content { min-width: 0; }
.dashboard-sidebar-label { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; color: #8e9ca6; }
html[data-edition="pixel"] .dashboard-sidebar-label h2 { margin: 0; font-size: 13px; color: #ced6db; }
#catalog { display: grid; gap: 10px; }
.dashboard-page .event-card { display: grid; gap: 8px; width: 100%; padding: 18px; text-align: left; justify-content: stretch; border-color: var(--workspace-line); background: #0c1012; box-shadow: none; }
.event-card strong { font-size: 16px; font-weight: 400; }
.event-card :is(small,span) { font-size: 12px; color: #a3b1ba; line-height: 1.7; }
.dashboard-page .event-card[aria-current="true"] { border-color: #c3cdd2; background: #161d21; box-shadow: inset 3px 0 #d6dfe3; }
.dashboard-registrations { margin-top: 28px; padding-block: 20px; border-block: 1px solid var(--workspace-line); }
.dashboard-registrations summary { display: flex; gap: 10px; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font-size: 14px; list-style: none; }
.dashboard-registrations summary::-webkit-details-marker { display: none; }
.dashboard-registrations[open] summary span { transform: rotate(45deg); }
.dashboard-registrations p { font-size: 13px; }
.dashboard-registrations a, .dashboard-sidebar-guide { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 13px; }
.dashboard-sidebar-guide { margin-top: 12px; }
.dashboard-empty { color: #a8b4bc; }
.dashboard-empty-state { text-align: center; padding: clamp(40px,7vw,100px) 24px; border: 1px solid var(--workspace-line); background: #0a0e10; }
.dashboard-cross { display: block; font-size: 42px; color: #a6b4be; margin-bottom: 24px; }
html[data-edition="pixel"] .dashboard-empty-state h2 { font-size: 26px; }
.dashboard-empty-state p { max-width: 45ch; margin: 0 auto 24px; color: #a6b3bd; }
.workspace-header { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 26px 28px; border: 1px solid #a6b9c32e; background: linear-gradient(110deg,#18202480,#0b1012); }
.workspace-heading { flex: 1 1 280px; }
.dashboard-page #event-name { font-size: clamp(28px,3vw,40px); margin: 8px 0 14px; }
#description { max-width: 64ch; color: #b6c2ca; margin: 0; }
.workspace-countdown { margin: 0; padding-top: 4px; font-size: 11px !important; color: #cbd6de; }
.workspace-event-actions { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.workspace-event-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #c6d2db; font-size: 13px; }
.workspace-nav { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; margin: 20px 0 28px; border: 1px solid var(--workspace-line); background: #080d10; }
.dashboard-page .workspace-nav button { flex: 1; white-space: nowrap; border-color: transparent; color: #a5b2bc; background: transparent; box-shadow: none; }
.dashboard-page .workspace-nav button[aria-pressed="true"] { border-color: #46535c; color: #edf2f5; background: #1b252b; box-shadow: inset 0 1px #ffffff08; }
.workspace-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.workspace-card, #organizer, #mentor-panel, #staff-queue, #global-staff-queue { min-width: 0; padding: 24px; border: 1px solid var(--workspace-line); background: #0b1012; margin-bottom: 20px; }
.workspace-card > :last-child { margin-bottom: 0; }
.workspace-card p { color: #aebdc6; }
.workspace-card > h3:first-child { margin-top: 0; }
.dashboard-content-row { padding: 16px 0; border-top: 1px solid var(--workspace-line); }
.dashboard-content-row :is(h4,strong) { margin: 0 0 8px; font-size: 14px; font-weight: 400; }
.dashboard-content-row p { margin: 6px 0 0; font-size: 12px; color: #acbbc5; }
.dashboard-content-row time { color: #d1dce3; font-size: 11px; }
.dashboard-page form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.dashboard-page form > p { margin: 0; }
.dashboard-page fieldset { grid-column: 1 / -1; display: grid; gap: 14px; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--workspace-line); }
.dashboard-page legend { font-size: 12px; padding: 0 6px; }
.dashboard-page label { display: grid; gap: 8px; font-size: 14px; line-height: 1.7; color: #c1cdd4; }
.dashboard-page :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #495760; border-radius: 0; padding: 10px 12px; color: #edf1f4; background: #060b0e; box-shadow: inset 0 2px #0005; font: inherit; font-size: 16px; line-height: 1.5; }
.dashboard-page textarea { min-height: 100px; resize: vertical; }
.dashboard-page input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: #d2dce2; }
.dashboard-page label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 10px; }
.dashboard-page label:has(input[type="checkbox"]) input { flex: 0 0 18px; }
.dashboard-page form > :is(fieldset,button,label:has(textarea),label:has(input[type="checkbox"])) { grid-column: 1 / -1; }
.dashboard-page form > button { justify-self: start; }
.dashboard-sidebar form { grid-template-columns: 1fr; }
#mentor-panel > section, #conversation { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--workspace-line); }
#messages p { white-space: pre-wrap; padding: 14px; background: #131c21; border-left: 2px solid #566873; }
#role-invitations-module:empty { display: none; }
.dashboard-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1080px) { .dashboard-layout { grid-template-columns: 210px minmax(0,1fr); gap: 24px; } .workspace-overview-grid { grid-template-columns: 1fr; } .workspace-nav { gap: 2px; } .dashboard-page .workspace-nav button { font-size: 13px; padding-inline: 10px; } }
@media (max-width: 760px) { .dashboard-intro { align-items: flex-start; flex-direction: column; gap: 20px; } .dashboard-layout { grid-template-columns: 1fr; } .dashboard-sidebar { border-bottom: 1px solid var(--workspace-line); padding-bottom: 24px; } #catalog { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-gate { grid-template-columns: 1fr; gap: 16px; } .dashboard-gate-art { min-height: 155px; gap: 30px; } .dashboard-gate-art::before { width: 160px; height: 80px; } .dashboard-public-guide { grid-template-columns: 1fr; gap: 18px; } .dashboard-registrations { margin-top: 14px; } .workspace-nav button { flex-basis: 40% !important; } }
@media (max-width: 480px) { .dashboard-page form, #catalog { grid-template-columns: 1fr; } .workspace-card, #organizer, #mentor-panel, #staff-queue, #global-staff-queue, .workspace-header { padding: 20px 16px; } .dashboard-intro { margin-bottom: 28px; } .dashboard-gate { padding: 24px 20px; } }
@media (prefers-reduced-motion: reduce) { .dashboard-page *, .dashboard-page *::before { transition: none !important; scroll-behavior: auto !important; } }

[data-secondary-page] main.dashboard-page :is(.dashboard-link,.dashboard-public-guide a) { text-decoration: none; }
