/* Dated event workspace: shared presentation; publication authority stays server-side. */
html[data-theme] body[data-fe-design-system] .fe-event-page {
    width:100%; max-width:1320px; min-width:0; margin:0 auto; color:var(--fe-ink); font-family:var(--fe-font-ui);
    --text-heading:var(--fe-ink); --text-primary:var(--fe-ink); --text-secondary:var(--fe-secondary);
    --text-muted:var(--fe-muted); --text-dim:var(--fe-muted); --bg-subtle:var(--fe-sunken); --bg-input:var(--fe-sunken); --bg-primary:var(--fe-surface);
    --accent-green:var(--fe-positive); --accent-red:var(--fe-negative); --accent-red-light:var(--fe-negative); --accent-yellow:var(--fe-pending); --accent-teal:var(--fe-interaction); --accent-teal-light:var(--fe-interaction);
}
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page :is(.card,.stat-card,.analysis-method-card,.analysis-signal-panel,.analysis-attribution,.fe-workspace__body,.fe-analysis-runtime-card,.fe-analysis-meta-tile,.fe-analysis-status-frame,.fe-analysis-reader-cue>div,.fe-analysis-insight) { background:var(--fe-surface) !important; border-color:var(--fe-line) !important; border-radius:var(--fe-radius-panel) !important; box-shadow:none !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.page-header,.fe-analysis-header) { margin:0 0 24px; padding:0; background:none !important; border:0; box-shadow:none !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(h1,.fe-c-event-header h1) { font:700 clamp(24px,3vw,32px)/1.2 var(--fe-font-ui) !important; letter-spacing:-.025em; color:var(--fe-ink) !important; overflow-wrap:anywhere; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-event-header [aria-hidden] { display:none; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.fe-page-header__kicker,.fe-kicker) { font:650 12px/1.5 var(--fe-font-ui); color:var(--fe-muted); }
html[data-theme] body[data-fe-design-system] .fe-event-page .subtitle { color:var(--fe-secondary); line-height:1.6; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page :is(.btn,a.chip,button.chip,summary,.fe-research-context a) { min-height:44px !important; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page :is(input:not([type=hidden]),select,textarea) { min-height:46px; max-width:100%; font-size:16px !important; color:var(--fe-ink); background:var(--fe-sunken) !important; border-color:var(--fe-control-line) !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(input,select,textarea,summary):focus-visible { outline:2px solid var(--fe-focus); outline-offset:3px; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.fe-workspace__summary,.fe-event-evidence>summary,.fe-whatif>summary) { cursor:pointer; padding:12px; color:var(--fe-ink); font-size:14px; font-weight:650; background:var(--fe-sunken); border:1px solid var(--fe-line); border-radius:var(--fe-radius-control); }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-evidence { margin-top:16px; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-evidence[open]>summary { margin-bottom:16px; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fight-card { min-width:0; border-left-width:1px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card { flex-wrap:wrap; background:var(--fe-sunken) !important; box-shadow:none !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > div:first-child { flex:1 1 280px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > div:nth-child(2) { max-width:100%; overflow-wrap:anywhere; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > div:first-child > div:first-child { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; overflow-wrap:anywhere; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card :is(span,div) { min-width:0; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > span { font-size:12px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.analysis-why-teaser__label,.fe-c-fight-card > div:first-child > div:nth-child(2)) { font-size:12px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-probability-labels { gap:16px; flex-wrap:wrap; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-probability-labels span { overflow-wrap:anywhere; color:var(--fe-ink) !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.stat-card .value,.fe-fighter-link,.fe-c-fight-head a,.analysis-method-label) { color:var(--fe-ink) !important; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page :is(.chip,.stat-card .label,.analysis-section-label,.analysis-method-label,.analysis-signal-item,.analysis-attribution__support,.analysis-attribution__oppose,.fe-fight-kicker,.fe-fight-kicker span,.fe-analysis-stage__meta,.fe-analysis-stage__step,.fe-analysis-meta-tile span,.fe-analysis-runtime-card span,.fe-analysis-loader-stack__caption,.fe-octagon-loader__label,.fe-proof-pill,.fe-lifecycle-chip,.fe-analysis-status__sub,.fe-analysis-status-frame__head,.fe-analysis-insight,.fe-analysis-reader-cue p,.fe-analysis-actions>span) { font-size:12px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page :is(.fe-event-access,.fe-analysis-shell) { padding:24px; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-access { max-width:880px; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-access p { max-width:66ch; line-height:1.6; }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-note { font-size:12px; color:var(--fe-muted); }
html[data-theme] body[data-fe-design-system] .fe-event-page .fe-monster-pack-cta { transform:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page :is([data-analysis-running-label],.fe-proof-pill strong,.fe-analysis-reader-cue>div>span) { font-size:12px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page [id^="what-if-result"] [style*="font-size:11px"] { font-size:12px !important; }
html[data-theme] body[data-fe-design-system] .fe-event-page [data-analysis-when-stopped] { display:none; }
html[data-theme] body[data-fe-design-system] .fe-event-page[data-analysis-state="stopped"] [data-analysis-when-stopped] { display:block; }
html[data-theme] body[data-fe-design-system] .fe-event-page[data-analysis-state="stopped"] :is([data-analysis-while-running],.fe-analysis-loader-stack) { display:none; }
html[data-theme] body[data-fe-design-system] .fe-event-page[data-analysis-state="stopped"] .fe-lifecycle-chip--live { color:var(--fe-pending); background:var(--fe-sunken); border-color:var(--fe-line); }
html[data-theme] body[data-fe-design-system] .fe-event-page[data-analysis-state="stopped"] .fe-analysis-page-header__dot { animation:none; background:var(--fe-pending); }
@media(max-width:700px) {
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > div:first-child { flex-basis:100% !important; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-c-fight-card > div:nth-child(2) { text-align:left !important; }
    html[data-theme] body[data-fe-design-system] .fe-event-page [id^="what-if-result"] [style*="display:flex"] { flex-wrap:wrap; gap:8px; }
    html[data-theme] body[data-fe-design-system] .fe-event-page [id^="what-if-result"] > div > [style*="grid-template-columns:1fr 1fr"] { grid-template-columns:minmax(0,1fr) !important; }
    html[data-theme] body[data-fe-design-system] .fe-event-page :is(.analysis-method-grid,.fe-event-pair-grid,.fe-analysis-shell__hero,.fe-analysis-reader-cue,.fe-analysis-command-center,.fe-analysis-stages) { grid-template-columns:minmax(0,1fr) !important; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-edge-grid { grid-template-columns:minmax(0,1fr) !important; gap:12px !important; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-edge-grid > div:nth-child(even) { display:none; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-event-moneyline { flex-wrap:wrap; justify-content:flex-start !important; gap:16px; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-whatif form label { width:100%; min-width:0; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-whatif form select { width:100%; min-width:0; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-whatif>summary { flex-wrap:wrap; gap:8px; }
    html[data-theme] body[data-fe-design-system] .fe-event-page .fe-whatif>summary>span:last-child { margin-left:0 !important; }
}
@media(prefers-reduced-motion:reduce) { html[data-theme] body[data-fe-design-system] .fe-event-page * { animation:none !important; transition:none !important; } }

/* r1333: report-build page (event_analysis_loading). One header, one status
   panel, one step list, in the member-shell tokens. Scoped to .fe-run so the
   older analysis-shell rules (style.css, analysis-pages.css) cannot reach it;
   the polled #analysis-status fragment keeps its class names. */
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run { display:grid; gap:16px; max-width:880px; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin:0; padding:0; min-height:0; background:none; border:0; box-shadow:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header::before,
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header::after { content:none; display:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header h1 { margin:4px 0 2px; font-size:28px; line-height:1.15; letter-spacing:-0.01em; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__state { display:inline-flex; align-items:center; gap:8px; height:28px; padding:0 12px; border:1px solid var(--fe-line); border-radius:999px; background:var(--fe-surface); box-shadow:none; color:var(--fe-secondary); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; white-space:nowrap; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__state .fe-analysis-page-header__dot { width:8px; height:8px; border-radius:50%; background:var(--fe-interaction); box-shadow:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run[data-analysis-state="stopped"] .fe-run__state { color:var(--fe-pending); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run[data-analysis-state="stopped"] .fe-run__state .fe-analysis-page-header__dot { background:var(--fe-pending); animation:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__panel { display:grid; gap:20px; padding:24px; background:var(--fe-surface); border:1px solid var(--fe-line); border-radius:var(--fe-radius-panel); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__head { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:start; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__mark { display:inline-grid; place-items:center; width:24px; height:24px; margin:2px 0 0; color:var(--fe-interaction); clip-path:none; background:none; animation:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__mark .fe-octagon-loader__ring { width:22px; height:22px; border:1.5px solid currentColor; box-shadow:none; background:none; animation-duration:2.4s; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__mark .fe-octagon-loader__ring::before { display:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__mark .fe-octagon-loader__ring::after { inset:6px; background:currentColor; border:0; box-shadow:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run[data-analysis-state="stopped"] .fe-run__mark { display:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run[data-analysis-state="stopped"] .fe-run__head { grid-template-columns:minmax(0,1fr); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__heading h2 { margin:0 0 6px; color:var(--fe-ink); font-size:18px; font-weight:650; line-height:1.3; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__heading p { margin:0; max-width:62ch; color:var(--fe-secondary); font-size:14px; line-height:1.55; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run[data-analysis-state="stopped"] [data-analysis-while-running] { display:none !important; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status-frame { padding:16px; background:var(--fe-canvas) !important; border:1px solid var(--fe-line); border-radius:var(--fe-radius-control) !important; box-shadow:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status { margin:0; padding:0; background:none; border:0; box-shadow:none; text-align:left; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__inner { max-width:none; margin:0; padding:0; background:none; border:0; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__row { display:flex; flex-direction:row; flex-wrap:nowrap; align-items:baseline; justify-content:space-between; gap:12px; margin:0; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__message { color:var(--fe-ink); font-size:14px; font-weight:600; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__pct { color:var(--fe-interaction); font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-progress { height:4px; margin:10px 0 8px; overflow:hidden; border-radius:999px; background:var(--fe-raised); box-shadow:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-progress span { display:block; height:100%; border-radius:inherit; background:var(--fe-interaction); box-shadow:none; transition:width .4s ease; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__sub { color:var(--fe-muted); font-size:13px !important; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status__links { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:16px; margin-top:12px; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status--error .fe-analysis-status__message { color:var(--fe-negative); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-analysis-status--warning .fe-analysis-status__message { color:var(--fe-pending); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:8px; margin:0; padding:0; list-style:none; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:8px; row-gap:2px; padding:10px 12px; border:1px solid var(--fe-line); border-radius:var(--fe-radius-control); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step-mark { grid-row:span 2; width:10px; height:10px; border:1.5px solid var(--fe-line); border-radius:50%; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step-name { color:var(--fe-secondary); font-size:13px; font-weight:600; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step-meta { grid-column:2; color:var(--fe-muted); font-size:12px; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step[data-step-state="active"] { border-color:var(--fe-interaction); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step[data-step-state="active"] .fe-run__step-mark { border-color:var(--fe-interaction); background:var(--fe-interaction); animation:fe-run-pulse 1.4s ease-in-out infinite; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step:is([data-step-state="active"],[data-step-state="done"]) .fe-run__step-name { color:var(--fe-ink); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__step[data-step-state="done"] .fe-run__step-mark { border-color:var(--fe-positive); background:var(--fe-positive); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__foot { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; border-top:1px solid var(--fe-line); }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__handoff { max-width:56ch; margin:0; padding:0; background:none !important; border:0 !important; color:var(--fe-muted); font-size:13px; line-height:1.5; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__actions { display:flex; flex:none; align-items:center; gap:4px; margin:0; padding:0; border:0; }
html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__link { padding:0 10px; color:var(--fe-secondary); font-size:13px; text-decoration:none; }
@keyframes fe-run-pulse { 50% { opacity:.45; } }
@media (max-width: 768px) {
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header { flex-direction:column; align-items:flex-start; }
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__header h1 { font-size:22px; }
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__panel { padding:16px; }
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__steps { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__foot { flex-direction:column; align-items:stretch; }
    html[data-theme] body[data-fe-design-system][data-fe-route-family] .main-content .fe-event-page.fe-run .fe-run__actions .btn { flex:1; justify-content:center; }
}
