/* Event browsing is a single canvas of time, with a quiet contextual inspector. */
body[data-module=profile] #workspace[data-workspace-section=events]{padding-top:12px!important;padding-bottom:16px!important}
body[data-module=profile] #workspace[data-workspace-section=events] .event-atlas{padding:0!important;background:transparent;border:0;box-shadow:none;gap:14px;min-height:720px;flex:1}
.event-atlas *{box-sizing:border-box}
.event-atlas .ea-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:40px;padding:0 3px}
.event-atlas .ea-heading,.event-atlas .ea-header-tools{display:flex;align-items:center;gap:18px;min-width:0}
.event-atlas .ea-heading h2{margin:0;font-size:23px;line-height:1.2;font-weight:680;letter-spacing:-.6px;color:#102846}
.event-atlas .ea-heading>span{font-size:15px;color:#77889d;white-space:nowrap}
.event-atlas button{font-family:inherit;font-size:15px;line-height:1.2;cursor:pointer;transition:color .16s,background .16s,border-color .16s,box-shadow .16s,transform .16s}
.event-atlas button:disabled{opacity:.4;cursor:default}
.event-atlas button:focus-visible,.event-atlas [role=button]:focus-visible{outline:2px solid #286ce9;outline-offset:3px}
.event-atlas .ea-teams{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #e1e9f2;border-radius:11px;background:#fff}
.event-atlas .ea-teams button{display:flex;align-items:center;gap:7px;padding:7px 11px;border:0;border-radius:8px;min-height:32px;background:transparent;color:#5f7288;white-space:nowrap}
.event-atlas .ea-teams button[aria-pressed=true]{color:#185dcd;background:#edf4ff;font-weight:650}
.event-atlas .ea-teams i{width:7px;height:7px;border-radius:50%;display:block;flex:none}
.event-atlas .ea-button,.event-atlas .ea-stepper button,.event-atlas .ea-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dbe6f5;background:#fff;color:#315576;border-radius:10px;height:36px;padding:6px 11px;min-width:0}
.event-atlas svg path{stroke-linecap:round;stroke-linejoin:round}
.event-atlas .ea-button>svg,.event-atlas .ea-stepper svg,.event-atlas .ea-icon>svg,.event-atlas .ea-actors>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.event-atlas .ea-tour{background:#2769e7;border-color:#2769e7;color:white;box-shadow:0 3px 12px #2265d915}
.event-atlas .ea-tour:hover{background:#195bd8;transform:translateY(-1px)}
.event-atlas .ea-tour[aria-pressed=true]{background:#eaf2ff;border-color:#c6dafa;color:#2262d1;box-shadow:none}
.event-atlas .ea-layout{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:18px;flex:1!important;min-height:0}
.event-atlas .ea-main{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #e2eaf4;background:#fff;border-radius:19px;box-shadow:0 6px 26px #254d8210;padding:18px 20px 13px}
.event-atlas .ea-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;margin-bottom:12px;flex:none}
.event-atlas .ea-groups{display:flex;align-items:center;gap:3px;min-width:0}
.event-atlas .ea-groups button{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#6c7d92;background:transparent;border:1px solid transparent;border-radius:8px;padding:7px 9px}
.event-atlas .ea-groups button>span{font-size:12px;color:#8c9ab0;font-variant-numeric:tabular-nums;font-weight:500}
.event-atlas .ea-groups button[aria-pressed=true]{color:#1d63d8;background:#ecf3ff;border-color:#dce8fc;font-weight:650}
.event-atlas .ea-groups button[aria-pressed=true]>span{color:#5080cb}
.event-atlas .ea-zoom{display:flex;align-items:center;gap:2px;flex:none;background:#f1f5fa;padding:3px;border-radius:8px}
.event-atlas .ea-zoom button{padding:5px 8px;background:transparent;border:0;color:#7d8b9e;border-radius:6px;font-size:13px;min-height:27px;white-space:nowrap}
.event-atlas .ea-zoom button[aria-pressed=true]{background:white;color:#2464d5;box-shadow:0 1px 4px #29416012}
.event-atlas .ea-chart-wrap{position:relative;min-height:450px;flex:1;min-width:0;width:100%}
.event-atlas #atlasChart{display:block;width:100%;height:100%;overflow:visible;font-family:inherit;user-select:none}
.event-atlas .ea-grid{stroke:#e8eef6;stroke-width:1;stroke-dasharray:3 5}
.event-atlas .ea-tick{fill:#8291a6;font-size:13px;font-variant-numeric:tabular-nums}
.event-atlas .ea-lane-bg{fill:#f7f9fc}
.event-atlas .ea-lane-rule{stroke:#e0e8f2;stroke-width:1}
.event-atlas .ea-lane-label{fill:#304a69;font-size:15px;font-weight:600}
.event-atlas .ea-lane-count{fill:#9aa9bc;font-size:12px;font-variant-numeric:tabular-nums}
.event-atlas .ea-duration{stroke-width:5;stroke-opacity:.36;stroke-linecap:round}
.event-atlas .ea-node,.event-atlas .ea-metric-node{cursor:pointer}
.event-atlas .ea-node:hover .ea-dot{stroke:#153d76;stroke-width:2}
.event-atlas .ea-node.is-selected .ea-duration{stroke-opacity:.7;stroke-width:6}
.event-atlas .ea-selection-ring{stroke-width:1.4;opacity:.75}
.event-atlas .ea-halo{animation:ea-reveal .36s ease-out}
.event-atlas .ea-goal{fill:white;font-size:9px;pointer-events:none}
.event-atlas .ea-divider{stroke:#e8eef7}
.event-atlas .ea-metric-label{fill:#4e6581;font-size:14px;font-weight:600}
.event-atlas .ea-axis-value{fill:#a0aabd;font-size:11px;font-variant-numeric:tabular-nums}
.event-atlas .ea-metric-rule{stroke:#e8eff7;stroke-width:1}
.event-atlas .ea-metric-empty{fill:#a0adbd;font-size:14px}
.event-atlas .ea-focus-line{stroke:#618feb;stroke-width:1.2;stroke-dasharray:3 4;opacity:.55;pointer-events:none}
.event-atlas .ea-value-label{fill:#205ebc;font-size:14px;font-weight:650;paint-order:stroke;stroke:#fff;stroke-width:4;pointer-events:none;font-variant-numeric:tabular-nums}
.event-atlas .ea-empty{position:absolute;top:25%;left:70px;right:10px;text-align:center;color:#8b9bb1;font-size:17px;pointer-events:none}
.event-atlas .ea-metric-tools{display:flex;align-items:center;gap:13px;border-top:1px solid #edf1f7;margin:9px 0 12px;padding-top:11px;flex:none;min-height:37px}
.event-atlas .ea-metric-tools>span{font-size:14px;color:#6f8197;white-space:nowrap}
.event-atlas .ea-metric-tools>div{display:flex;gap:5px;flex-wrap:wrap}
.event-atlas .ea-metric-tools button{border:0;background:transparent;color:#7c8c9f;font-size:14px;padding:5px 9px;border-radius:6px;white-space:nowrap}
.event-atlas .ea-metric-tools button[aria-pressed=true]{color:#1f62d0;background:#edf4ff;font-weight:650}
.event-atlas .ea-metric-tools>output{margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums;color:#8191a6;white-space:nowrap}
.event-atlas .ea-overview{border-top:1px solid #edf1f7;padding-top:9px;flex:none}
.event-atlas .ea-overview-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#91a0b3;margin-bottom:6px}
.event-atlas .ea-overview-label output{font-variant-numeric:tabular-nums;color:#607b9b}
.event-atlas #atlasOverview{width:100%;height:28px;display:block;cursor:crosshair}
.event-atlas #atlasWindow{display:block;width:100%;height:12px;min-height:12px;padding:0;border:0;margin:5px 0 0;box-shadow:none;background:transparent;accent-color:#5389ee;cursor:ew-resize;appearance:none;-webkit-appearance:none}
.event-atlas #atlasWindow::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#e5edf9}
.event-atlas #atlasWindow::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border-radius:50%;background:#5089ef;border:2px solid white;box-shadow:0 1px 4px #2c6ad73b}
.event-atlas #atlasWindow::-moz-range-track{height:3px;border-radius:3px;background:#e5edf9}
.event-atlas #atlasWindow::-moz-range-thumb{width:8px;height:8px;border-radius:50%;background:#5089ef;border:2px solid white}
.event-atlas #atlasWindow:disabled{opacity:.24;cursor:default}
.event-atlas .ea-inspector{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #e2eaf4;border-radius:19px;background:linear-gradient(155deg,#f9fbff,#fff 35%);padding:18px 19px;box-shadow:0 6px 26px #254d8208}
.event-atlas .ea-detail-top{display:flex;align-items:center;justify-content:space-between;min-height:30px;margin-bottom:20px}
.event-atlas .ea-detail-top>span{font-size:13px;color:#8c9bb0;font-variant-numeric:tabular-nums}
.event-atlas .ea-stepper{display:flex;gap:5px}
.event-atlas .ea-stepper button,.event-atlas .ea-icon{width:30px;height:30px;min-height:30px;border-radius:8px;padding:5px}
.event-atlas .ea-stepper button:hover:not(:disabled),.event-atlas .ea-icon:hover:not(:disabled){background:#edf4ff;border-color:#c2d8f8}
.event-atlas .ea-event-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.event-atlas .ea-event-time{font-size:14px;color:#4274bc;font-variant-numeric:tabular-nums;letter-spacing:.3px}
.event-atlas .ea-event-team{font-size:13px;color:#94a0b1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.event-atlas #atlasDetail>h2{display:flex;align-items:center;gap:12px;color:#15324f;font-size:30px;line-height:1.2;letter-spacing:-.6px;margin:8px 0 21px;font-weight:680}
.event-atlas .ea-outcome{font-size:12px;font-weight:500;letter-spacing:0;color:#4f9785;background:#eaf7f1;padding:4px 6px;border-radius:5px}
.event-atlas .ea-outcome.is-incomplete{color:#a76a47;background:#fff2e9}
.event-atlas .ea-actors{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}
.event-atlas .ea-actors>div{display:flex;flex-direction:column;align-items:center;gap:9px;flex:1;min-width:0}
.event-atlas .ea-actors strong{font-size:14px;font-weight:550;color:#6d8199;text-align:center;line-height:1.4}
.event-atlas .ea-actors>svg{stroke:#a4b8d0;width:23px;height:23px}
.event-atlas .ea-jersey{--event-team:#4382dc;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border:1px solid color-mix(in srgb,var(--event-team) 38%,#e3eaf2);color:color-mix(in srgb,var(--event-team) 65%,#15324f);background:color-mix(in srgb,var(--event-team) 8%,white);border-radius:18px;font-size:25px;line-height:1;font-weight:650;box-shadow:0 4px 15px color-mix(in srgb,var(--event-team) 6%,transparent)}
.event-atlas .ea-probability{background:#f1f6ff;border:1px solid #e1ebff;border-radius:12px;padding:13px 14px;margin-bottom:17px}
.event-atlas .ea-probability>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}
.event-atlas .ea-probability>div>span{font-size:16px;color:#3765a7;font-weight:600}
.event-atlas .ea-probability span small{display:block;font-size:12px;font-weight:400;line-height:1.6;color:#859abb}
.event-atlas .ea-probability strong{color:#2469df;font-size:32px;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums;font-weight:650}
.event-atlas .ea-probability strong small{font-size:15px;margin-left:3px;letter-spacing:0}
.event-atlas .ea-meter{height:4px;border-radius:4px;background:#dce7f9;margin-top:12px;overflow:hidden}
.event-atlas .ea-meter>i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#95bafa,#286de9);transition:width .42s cubic-bezier(.2,.8,.2,1)}
.event-atlas .ea-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px;margin:0 0 21px}
.event-atlas .ea-facts dt{font-size:13px;color:#8c9bb0;margin:0 0 5px;line-height:1.3}
.event-atlas .ea-facts dd{font-size:22px;font-weight:570;color:#35516f;margin:0;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.event-atlas .ea-facts dd small{font-size:12px;color:#9aa9bc;font-weight:400;margin-left:4px}
.event-atlas .ea-detail-empty{padding:48px 0;color:#8799af;text-align:center;font-size:16px}
.event-atlas .ea-neighbors{border-top:1px solid #e9eef6;padding-top:14px;margin-top:auto}
.event-atlas .ea-neighbor-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.event-atlas .ea-neighbor-title h3{font-size:15px;font-weight:600;line-height:1.3;color:#576e89;margin:0}
.event-atlas .ea-icon{border-color:transparent;background:transparent;color:#8ea2bc}
.event-atlas #atlasSequence{display:flex;flex-direction:column;gap:3px}
.event-atlas .ea-sequence-item{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;text-align:left;border-radius:9px;padding:9px 8px;min-height:49px}
.event-atlas .ea-sequence-item time{font-size:12px;color:#a1adc0;min-width:57px;font-variant-numeric:tabular-nums}
.event-atlas .ea-sequence-item>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.event-atlas .ea-sequence-item strong{font-size:14px;font-weight:550;color:#617792;line-height:18px}
.event-atlas .ea-sequence-item small{font-size:12px;line-height:1.2;color:#9baabd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-atlas .ea-sequence-item i{width:5px;height:16px;border-radius:4px;opacity:.6;flex:none}
.event-atlas .ea-sequence-item.is-current{background:#edf4ff;border-color:#e0ebfc}
.event-atlas .ea-sequence-item.is-current strong,.event-atlas .ea-sequence-item.is-current time{color:#2c69cd}
.event-atlas .ea-sequence-item:hover{background:#f2f6fd}
@keyframes ea-reveal{from{opacity:0}to{opacity:.15}}
@media(min-width:1700px){.event-atlas .ea-layout{grid-template-columns:minmax(0,1fr) 350px}.event-atlas .ea-inspector{padding:22px 25px}.event-atlas .ea-main{padding:20px 26px 14px}.event-atlas .ea-facts{gap:21px 12px}.event-atlas .ea-neighbors{padding-top:20px}.event-atlas .ea-sequence-item{padding:11px 8px}}
@media(max-height:950px) and (min-width:851px){body[data-module=profile] #workspace[data-workspace-section=events] .event-atlas{min-height:650px}.event-atlas .ea-chart-wrap{min-height:320px}.event-atlas .ea-inspector{padding:14px 16px}.event-atlas .ea-detail-top{margin-bottom:12px}.event-atlas #atlasDetail>h2{font-size:26px;margin-bottom:12px}.event-atlas .ea-actors{margin-bottom:15px}.event-atlas .ea-jersey{width:45px;height:45px;border-radius:14px;font-size:22px}.event-atlas .ea-facts{gap:10px;margin-bottom:14px}.event-atlas .ea-sequence-item{padding:7px 6px;min-height:42px}.event-atlas .ea-neighbors{padding-top:10px}}
@media(max-width:1250px){.event-atlas .ea-layout{grid-template-columns:minmax(0,1fr) 275px;gap:12px}.event-atlas .ea-main{padding:14px 13px 10px}.event-atlas .ea-toolbar{flex-wrap:wrap}.event-atlas .ea-zoom{margin-left:auto}.event-atlas .ea-metric-tools{flex-wrap:wrap;gap:5px}.event-atlas .ea-metric-tools>span{display:none}.event-atlas .ea-metric-tools>output{font-size:12px}.event-atlas .ea-groups button{padding:6px 8px;font-size:14px}}
@media(max-width:850px){body[data-module=profile]:has(#workspace[data-workspace-section=events])>main{height:auto;min-height:calc(100dvh - 48px)}body[data-module=profile] #workspace[data-workspace-section=events] .event-atlas{min-height:0}.event-atlas .ea-layout{grid-template-columns:1fr}.event-atlas .ea-chart-wrap{height:530px;flex:none}.event-atlas .ea-header{flex-wrap:wrap;gap:12px}.event-atlas .ea-header-tools{width:100%;justify-content:space-between;gap:8px}.event-atlas .ea-inspector{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.event-atlas .ea-detail-top{grid-column:1/-1;margin-bottom:10px}.event-atlas .ea-neighbors{border:0;margin:0;padding:0}.event-atlas .ea-heading h2{font-size:21px}.event-atlas .ea-facts{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.event-atlas *, .event-atlas *::before,.event-atlas *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the event geometry clear; details appear on intent, in one anchored panel. */
.event-atlas .ea-tooltip{--tip-x:0px;--tip-y:0px;position:absolute;z-index:6;top:0;left:0;pointer-events:none;width:224px;max-width:calc(100% - 16px);padding:13px 15px;border-radius:13px;border:1px solid #ffffff32;background:linear-gradient(140deg,#17395aF5,#102a49F5);color:#fff;box-shadow:0 12px 35px #15335428,0 2px 6px #0b24451a;backdrop-filter:blur(14px);opacity:0;visibility:hidden;transform:translate3d(var(--tip-x),var(--tip-y),0) scale(.97);transform-origin:20% 80%;transition:opacity .12s ease,transform .19s cubic-bezier(.2,.8,.2,1),visibility 0s .12s}
.event-atlas .ea-tooltip.is-visible{opacity:1;visibility:visible;transform:translate3d(var(--tip-x),var(--tip-y),0) scale(1);transition:opacity .12s ease,transform .19s cubic-bezier(.2,.8,.2,1),visibility 0s}
.event-atlas .ea-tip-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;line-height:18px;color:#c5d8ef}
.event-atlas .ea-tip-head time{font-size:12px;color:#91b2d7;font-variant-numeric:tabular-nums}
.event-atlas .ea-tip-players{display:flex;align-items:center;gap:10px;margin:10px 0 3px}
.event-atlas .ea-tip-players>i{width:4px;height:21px;background:var(--tip-team,#74a9f4);border-radius:3px;box-shadow:0 0 9px color-mix(in srgb,var(--tip-team,#74a9f4) 30%,transparent)}
.event-atlas .ea-tip-players strong{font-size:22px;line-height:27px;letter-spacing:.1px;font-weight:650;font-variant-numeric:tabular-nums}
.event-atlas .ea-tip-players>span{margin-left:auto;font-size:12px;color:#a4c2e5}
.event-atlas .ea-tip-metrics{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #afcbed24;padding-top:9px;margin-top:11px;font-size:12px;line-height:18px;color:#9ebee2}
.event-atlas .ea-tip-metrics>span{display:flex;gap:7px;align-items:baseline}
.event-atlas .ea-tip-metrics b{color:#f1f7ff;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.event-atlas .ea-tip-metrics small{font-size:11px;font-weight:400;color:#afc8e7;margin-left:2px}
.event-atlas .ea-dot,.event-atlas .ea-metric-dot{transition:r .17s ease,stroke-width .17s ease,filter .17s ease}
.event-atlas .ea-duration{transition:stroke-opacity .18s ease,stroke-width .18s ease}
.event-atlas .is-hovered .ea-dot,.event-atlas .is-hovered .ea-metric-dot{r:6.5;stroke-width:2;filter:drop-shadow(0 0 4px #528fe95c)}
.event-atlas .is-major.is-hovered .ea-dot{r:7.5}
.event-atlas .is-hovered .ea-duration{stroke-opacity:.75;stroke-width:6}
.event-atlas .ea-metric-node.is-hovered>line{stroke-opacity:.85;stroke-width:2.5}
.event-atlas #atlasChart [data-event]:focus{outline:none!important}
.event-atlas .ea-node:focus-visible .ea-dot,.event-atlas .ea-metric-node:focus-visible .ea-metric-dot{stroke:#357cea;stroke-width:3}
.event-atlas button:active:not(:disabled){transform:scale(.97)}
.event-atlas .ea-main,.event-atlas .ea-inspector{animation:ea-surface-in .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes ea-surface-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.event-atlas *, .event-atlas *::before,.event-atlas *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
