.auth-loading .workspace-shell{display:none}.auth-screen{min-height:calc(100vh - 35px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:32px}.auth-brand img{display:block;width:240px;max-width:70vw;height:auto}.auth-panel{width:100%;max-width:480px;padding:34px}.auth-panel h1{font-size:30px;margin-bottom:15px}.auth-panel>p{font-size:13px;line-height:1.8;margin-bottom:23px}.auth-panel .button{width:100%}.auth-panel .form-error{overflow-wrap:anywhere}.auth-panel .subtle-note{margin-top:20px;margin-bottom:0}.ws-avatar img,.profile-avatar img{height:100%;width:100%;object-fit:cover;border-radius:50%}.workspace-shell .ws-profile .ws-avatar{overflow:visible}.test-invite-result{margin:20px 0;overflow-wrap:anywhere}.test-invite-result input{font-size:12px}.staging-user-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.staging-user-actions select{width:110px!important}.staging-users .account-table{min-width:730px}.test-event{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.test-event h2{margin-bottom:8px}.test-event p{font-size:12px}.test-event code{font-size:11px;display:block;margin-top:8px;color:#91a8cc}.test-role{margin-top:14px}.test-auth-error{font-size:13px;color:#ffc5c5;overflow-wrap:anywhere}
.league-create{max-width:680px}.league-people{display:flex;flex-direction:column;gap:18px}.league-person{border-bottom:1px solid #273348;padding:15px 0}.league-person:last-child{border-bottom:0}.league-person .member-row{border:0;padding:0 0 12px}.league-settings{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.league-settings>label{display:flex;flex-direction:column;gap:8px;font-size:13px}.league-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;font-size:14px;cursor:pointer}.league-check input[type=checkbox]{width:19px!important;height:19px!important;min-width:19px;accent-color:#628eff;cursor:pointer}.league-roster{display:flex;flex-direction:column;gap:10px}.league-roster-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #273348;border-radius:8px}.league-roster-row small{display:block;color:#9aa8c0;margin-top:5px}.league-roster-row select{max-width:180px}.league-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.league-actions select{max-width:170px}.league-member-form .button{width:auto}.league-person .stack-form{gap:10px}.league-check input{padding:0}.panel>.button[data-regular-team]{margin-top:20px}.league-person .member-row .status{margin-left:auto}@media(max-width:700px){.league-roster-row{align-items:stretch;flex-direction:column}.league-roster-row select{max-width:100%}.league-settings{align-items:stretch;flex-direction:column}.league-settings .league-check{align-items:flex-start}.test-event{align-items:flex-start;flex-direction:column}}
.league-person .member-row{display:flex;align-items:center;gap:12px}.league-person .avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;overflow:hidden;background:#22314b;color:#b4caff;font-weight:600}.league-person .member-info{flex:1;min-width:0}.league-person .member-info strong,.league-person .member-info small{display:block}.league-person .member-info small{margin-top:4px;color:#9aa8c0;font-size:12px}.league-person .member-info strong{font-size:14px}@media(max-width:700px){.test-event{align-items:flex-start;flex-direction:column}}
.integration-command { border:1px solid var(--border,#323a49);border-radius:12px;padding:20px;display:grid;gap:14px;min-width:0; }
.integration-command legend { padding:0 8px;font-size:18px;font-weight:700; }
.integration-routes { min-width:1320px; }
[data-integration-form] .account-table-scroll { max-width:100%;overflow-x:auto; }
.integration-routes input { min-width:100px; }
.integration-routes input[type=checkbox] { min-width:auto; }
.integration-routes select { min-width:160px; }
.csv-file { max-width:200px;font-size:13px;margin-left:8px; }
[data-integration-form] { margin-bottom:24px; }
[data-integration-form] > .panel { margin:0; }
.integration-commands { margin-top:20px; }
.league-person .avatar img { display:block;width:100%;height:100%;object-fit:cover;border-radius:50%; }
.dashboard-events { display:grid;gap:16px; }
.dashboard-events .test-event { margin:0; }
.event-card-actions { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }
.dashboard-section { margin:28px 0; }
.dashboard-section > h2 { margin-bottom:16px; }
.dashboard-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px; }
.dashboard-metrics a { display:grid;gap:8px; }
.dashboard-metrics strong { font-size:28px; }
[data-integration-form] { min-width:0;max-width:100%; }
[data-integration-form] .account-table-scroll { width:100%;min-width:0;contain:inline-size; }
[data-integration-form] .integration-routes { width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:12px; }
.integration-routes th,.integration-routes td { padding:10px 6px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #273348; }
.integration-routes input,.integration-routes select { min-width:0;width:100%;max-width:100%;font-size:12px; }
.integration-routes input[type=checkbox] { width:18px;height:18px; }
.integration-routes th { text-align:left;color:#9aa8c0; }
.integration-routes th:nth-child(1) { width:7%; }.integration-routes th:nth-child(2) { width:12%; }
.integration-routes th:nth-child(3),.integration-routes th:nth-child(4) { width:16%; }
.integration-routes th:nth-child(5) { width:11%; }.integration-routes th:nth-child(6) { width:14%; }
.integration-routes th:nth-child(7) { width:7%; }.integration-routes th:nth-child(8) { width:6%; }.integration-routes th:nth-child(9) { width:11%; }
@media(max-width:1200px){[data-integration-form] .integration-routes{min-width:1050px;}}
@media(max-width:700px){.dashboard-metrics{grid-template-columns:1fr}.event-card-actions{width:100%;}}
.dashboard-spotlight { position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;margin-bottom:26px;padding:32px;border:1px solid #35685b;border-radius:14px;background:radial-gradient(ellipse at 90% 15%,#377a6038,transparent 65%),linear-gradient(115deg,#16382e,#10272a 65%,#122b31);box-shadow:inset 0 1px 0 #a5e7cb0c,0 14px 36px #0002; }
.dashboard-spotlight::after { content:"";position:absolute;z-index:-1;right:170px;top:-90px;width:170px;height:450px;transform:rotate(26deg);border-left:1px solid #89d6b426;border-right:22px solid #89d6b408;pointer-events:none; }
.dashboard-race-art { position:absolute;z-index:-1;right:5%;top:50%;width:54%;height:auto;max-height:100%;transform:translateY(-50%) rotate(-8deg);color:#89dcb7;opacity:.12;pointer-events:none; }
.dashboard-race-art path { stroke:currentColor;stroke-width:7;stroke-linecap:round;stroke-linejoin:round; }
.dashboard-race-art .dashboard-finish-lines { stroke-width:3; }
.dashboard-spotlight-copy { min-width:0; }
.dashboard-spotlight-top { display:flex;align-items:center;flex-wrap:wrap;gap:14px; }
.dashboard-spotlight-label { font-size:12px;letter-spacing:1.7px;font-weight:700;color:#a5e7cb; }
.dashboard-race-state { display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #4d9a765c;border-radius:20px;background:#07291f80;color:#aaf1cc;font-size:12px; }
.dashboard-race-state>span { width:6px;height:6px;border-radius:50%;background:#75e2ad; }
.dashboard-spotlight .dashboard-race-league { margin:22px 0 5px;color:#a7c6bc;font-size:13px; }
.dashboard-spotlight h2 { margin:0 0 15px;font-size:clamp(25px,2.5vw,34px);line-height:1.2;letter-spacing:-.6px;color:#f0faf5;overflow-wrap:anywhere; }
.dashboard-race-meta { display:flex;flex-wrap:wrap;gap:8px 20px;color:#c2d7cf;font-size:14px; }
.dashboard-race-meta>span+span { border-left:1px solid #709b8c66;padding-left:20px; }
.dashboard-race-key { display:block;margin-top:22px;color:#8fb5a6;font-size:11px;letter-spacing:.4px;overflow-wrap:anywhere; }
.dashboard-spotlight-actions { display:grid;gap:13px;justify-items:center; }
.dashboard-spotlight-actions .button.primary,.dashboard-spotlight-empty .button.primary { color:#09251b;background:#8de2b7;border-color:#8de2b7;font-size:14px;padding:13px 20px; }
.dashboard-spotlight-actions .button.primary:hover,.dashboard-spotlight-empty .button.primary:hover { background:#b1f4d0;border-color:#b1f4d0; }
.dashboard-spotlight-actions .quiet-link { color:#c4e4d5;font-size:13px; }
.dashboard-spotlight-actions>span { color:#91b5a5;font-size:12px; }
.dashboard-spotlight-empty h2 { margin-top:20px; }
.dashboard-spotlight-empty p { margin-bottom:22px;max-width:520px;color:#bed2c9; }
.dashboard-metrics .panel { position:relative;overflow:hidden;gap:6px;background:linear-gradient(135deg,#172231,#101720); }
.dashboard-metrics .panel::after { content:"";position:absolute;top:0;left:24px;width:34px;height:2px;background:#7ebf9f; }
.dashboard-metrics .panel>span { color:#bdcbdc;font-size:13px; }
.dashboard-metrics small { color:#8fa0b7; }
.dashboard-team-shortcut { display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:23px;border:1px dashed #344251;border-radius:12px;margin-top:26px; }
.dashboard-team-shortcut>div { flex:1;min-width:200px; }
.dashboard-team-shortcut h2 { margin-bottom:5px;font-size:16px; }
.dashboard-team-shortcut p,.dashboard-team-shortcut .quiet-link { font-size:13px; }
@media(max-width:900px){.dashboard-spotlight{grid-template-columns:1fr;padding:26px;gap:24px}.dashboard-spotlight-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:16px}.dashboard-spotlight-actions>span{display:none}.dashboard-race-art{right:-8%;width:85%;opacity:.09}}
@media(max-width:600px){.dashboard-spotlight{padding:23px}.dashboard-race-meta{display:grid;gap:6px;font-size:13px}.dashboard-race-meta>span+span{border:0;padding:0}.dashboard-race-key{margin-top:17px}.dashboard-team-shortcut{align-items:flex-start;gap:14px}}
.event-connections-grid { display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);gap:24px;align-items:start; }
.event-connections-grid .panel { min-width:0; }
.bridge-panel { display:grid;gap:18px; }
.bridge-panel h2,.bridge-panel>p { margin:0; }
.bridge-panel p { font-size:13px;line-height:1.7;overflow-wrap:anywhere; }
.bridge-endpoint { display:grid;gap:10px;justify-items:start;min-width:0; }
.bridge-endpoint .field { width:100%; }
.bridge-panel .bridge-copy-value { display:block;width:100%;min-width:0;max-width:100%;min-height:88px;font:13px/1.65 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;resize:vertical; }
.bridge-token-notice { display:grid;gap:14px;min-width:0;margin:0;padding:18px;border:1px solid #365577;border-radius:10px;background:#14233a; }
.bridge-token-notice>strong { font-size:14px; }
.bridge-token-notice p { margin:0;color:#b8cbe4; }
.bridge-actions { display:flex;flex-wrap:wrap;gap:10px;min-width:0; }
.bridge-actions .button,.bridge-endpoint .button { max-width:100%;white-space:normal;line-height:1.5;min-height:40px;font-size:13px; }
.bridge-panel [data-integration-form] { margin:0;padding-top:6px; }
@media(max-width:1100px){.event-connections-grid{grid-template-columns:minmax(0,1fr);gap:20px;}}
@media(max-width:600px){.bridge-token-notice{padding:15px}.bridge-actions .button{flex:1 1 150px;}.bridge-panel .league-check{align-items:flex-start;}}
.reference-view {min-width:0;line-height:1.7;}
.reference-view h1,.reference-view h2,.reference-view h3{margin:24px 0 12px;}
.reference-view p,.reference-view ul,.reference-view ol{margin:12px 0;}
.reference-view li{margin:8px 0;}
.reference-view section,.reference-view article{scroll-margin-top:100px;}
.reference-view .account-table-scroll{max-width:100%;overflow-x:auto;}
.reference-view .account-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px;text-align:left;line-height:1.5;}
.reference-view .account-table th,.reference-view .account-table td{padding:14px 12px;border-bottom:1px solid var(--border);vertical-align:top;}
.reference-view .account-table th{color:var(--text-muted);font-weight:600;}
.reference-view .account-table td:nth-child(3){min-width:260px;}
.reference-view .account-table td p{color:var(--text-muted);font-size:13px;}
