.webinar-reports{display:grid;gap:18px;min-width:0}
.webinar-report-toolbar{display:flex;align-items:center;gap:8px;min-width:0}
.webinar-report-toolbar .crm-search{min-width:0;width:clamp(148px,18vw,260px)}
.webinar-report-toolbar>.btn{flex:none}
.webinar-report-toolbar .btn .icon{width:16px;height:16px}
.webinar-report-panel,.webinar-report-results{
 min-width:0;
 background:var(--surface);
 border:1px solid var(--line);
 border-radius:12px;
}
.webinar-report-scroll{min-width:0;max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.webinar-report-scroll:first-child{border-radius:11px 11px 0 0}
.webinar-report-scroll:focus-visible{outline-offset:-2px}
.webinar-report-table{width:100%;margin:0;border-collapse:separate;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums}
.webinar-report-table th,.webinar-report-table td{
 border-bottom:1px solid var(--line);
 padding:12px 16px;
 text-align:left;
 vertical-align:top;
 white-space:nowrap;
}
.webinar-report-table th{color:var(--muted);background:var(--soft);font-size:12px;font-weight:550}
.webinar-report-table tbody tr:last-child td{border-bottom:0}
.webinar-report-table tbody tr:hover td{background:var(--soft)}
.webinar-report-table td.webinar-report-metric{font-weight:550}
.webinar-report-name{min-width:150px;max-width:275px;font-weight:550}
.webinar-report-list-frame .webinar-report-table{min-width:780px}
.webinar-report-list-frame .webinar-report-name{width:27%}
.webinar-report-list-frame .webinar-report-name .crm-table-link{white-space:normal;overflow-wrap:anywhere;width:fit-content}
.webinar-report-list-frame td{vertical-align:middle}
.webinar-report-events .webinar-report-table{min-width:620px}
.webinar-report-viewer-frame td{max-width:230px}
.webinar-report-viewer-frame td:is(:first-child,:nth-child(2),:nth-child(8),:nth-child(12)){
 white-space:normal;
 overflow-wrap:anywhere;
}
.webinar-report-viewer-frame td:nth-child(2){min-width:174px}
.webinar-report-viewer-frame td:nth-child(12){min-width:114px}
.webinar-report-viewer-frame th{max-width:200px}
.webinar-report-viewer-frame :is(th,td):first-child{
 position:sticky;
 left:0;
 z-index:1;
 box-shadow:1px 0 var(--line);
}
.webinar-report-viewer-frame td:first-child{background:var(--surface)}
.webinar-report-viewer-frame .webinar-report-name{max-width:180px}
.webinar-report-empty{margin:0;padding:34px 16px;text-align:center;color:var(--muted);font-size:13px}
.webinar-report-empty[hidden],[data-report-status]:empty{display:none}
[data-report-more]{height:1px}
[data-report-status]{display:grid;place-items:center;gap:7px;padding:12px;color:var(--muted)}
[data-report-status] p{margin:0;font-size:13px;color:var(--error)}
[data-report-status] .workspace-spinner{width:16px;height:16px}

.webinar-report-run{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.webinar-report-run>.icon{width:16px;height:16px;color:var(--muted)}
.webinar-report-zone,.webinar-report-kind{font-size:12px;color:var(--muted)}
.webinar-report-zone{padding-left:8px;border-left:1px solid var(--line)}
.webinar-report-list-frame .webinar-report-kind{display:block;margin-top:3px;font-weight:400}
.webinar-report-run .webinar-report-kind{padding:3px 7px;background:var(--surface);border:1px solid var(--line);border-radius:5px}
.webinar-report-header-actions{width:auto}

.webinar-report-stats{
 display:flex;
 flex-wrap:wrap;
 gap:1px;
 overflow:hidden;
 margin:0;
 background:var(--line);
 border:1px solid var(--line);
 border-radius:12px;
}
.webinar-report-stats>div{display:grid;flex:1 1 144px;align-content:space-between;min-width:0;gap:10px;padding:15px 16px;background:var(--surface)}
.webinar-report-stats dt{color:var(--muted);font-size:12px;line-height:1.35}
.webinar-report-stats dd{
 margin:0;
 color:var(--ink);
 font-size:clamp(19px,2.1vw,27px);
 font-weight:650;
 letter-spacing:-.03em;
 line-height:1.15;
 font-variant-numeric:tabular-nums;
}
.webinar-report-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.webinar-report-section-head h2{margin:0;font-size:16px;font-weight:650;line-height:1.4}
.webinar-report-chart{padding:0 12px 10px 12px}
.webinar-report-chart-legend{display:flex;align-items:center;gap:7px;padding:0 4px 5px;color:var(--muted);font-size:12px}
.webinar-report-chart-legend .icon-btn{width:24px;height:24px;min-height:24px;background:transparent;color:var(--muted);border:0}
.webinar-report-chart-legend .icon-btn:hover{color:var(--ink);background:var(--hover)}
.webinar-report-chart-legend .icon{width:15px;height:15px}
.webinar-report-plot{height:clamp(200px,24vw,280px);position:relative;min-width:0;touch-action:pan-y}
.webinar-report-plot canvas{display:block;width:100%;height:100%}
.webinar-report-chart-note{margin:0;padding:0 4px 5px;color:var(--muted);font-size:12px}
.webinar-report-chart-axis{color:var(--muted);font-size:11px;text-align:right;padding:0 6px}
.webinar-report-table td.webinar-report-event-name{min-width:156px;max-width:300px;white-space:normal;overflow-wrap:anywhere}
.webinar-report-event-name>a{display:block;width:fit-content;margin-top:3px;color:var(--muted);font-size:11px}
.webinar-report-event-name>a:hover{color:var(--ink)}
.webinar-report-event-name strong,.webinar-report-button-column strong{font-weight:550;color:var(--ink)}
.webinar-report-event-number{display:block;margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:400}
.webinar-report-table th.webinar-report-button-column{min-width:110px;white-space:normal;overflow-wrap:anywhere}
.webinar-report-table td.webinar-report-event-toggle{width:1%;vertical-align:middle}
.webinar-report-event-choice{
 position:relative;display:block;width:32px;height:20px;padding:0;border:1px solid var(--line);
 border-radius:999px;background:var(--soft);cursor:pointer;
}
.webinar-report-event-choice::before{
 content:"";position:absolute;inset:3px auto auto 3px;width:12px;height:12px;
 border-radius:50%;background:var(--muted);transition:transform 150ms ease,background 150ms ease;
}
.webinar-report-event-choice:hover{border-color:var(--series-color)}
.webinar-report-event-choice[aria-pressed=true]{border-color:var(--series-color);background:color-mix(in srgb,var(--series-color) 20%,var(--surface))}
.webinar-report-event-choice[aria-pressed=true]::before{background:var(--series-color);transform:translateX(12px)}
@media (prefers-reduced-motion:reduce){.webinar-report-event-choice::before{transition:none}}
.webinar-report-events{border-radius:0 0 11px 11px}
.webinar-report-button-status{font-size:12px;color:var(--muted)}
.webinar-report-button-status[data-status=clicked]{color:var(--ink);font-weight:550}
.webinar-report-row-events{min-width:48px}
.webinar-report-row-events>summary{cursor:pointer;color:var(--ink);font-weight:550}
.webinar-report-row-events ul{padding:0;margin:8px 0 0;list-style:none;min-width:200px;max-width:230px}
.webinar-report-row-events li{display:flex;align-items:flex-start;gap:8px;padding:4px 0;white-space:normal;overflow-wrap:anywhere}
.webinar-report-row-events time{color:var(--muted);white-space:nowrap}
.webinar-report-row-events .text-btn{margin-top:7px;font-size:12px}
.webinar-report-row-events [role=status]:empty{display:none}
.webinar-report-row-events [role=status]{white-space:normal;color:var(--error);font-size:12px}

.webinar-report-export{position:relative}
.webinar-report-export>summary{list-style:none;cursor:pointer;white-space:nowrap}
.webinar-report-export>summary::-webkit-details-marker{display:none}
.webinar-report-export>summary .icon{width:15px;height:15px}
.webinar-report-export-options{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 position:absolute;z-index:31;inset:auto 0 auto auto;
 width:min(340px,calc(100vw - 24px));
 box-sizing:border-box;margin-top:8px;padding:8px;
 background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-menu);
}
.webinar-report-export-options strong{display:block;padding:7px 8px;font-size:11px;color:var(--muted);font-weight:550}
.webinar-report-export-options a{display:block;padding:8px;border-radius:6px;color:var(--ink);font-size:12px;line-height:1.35}
.webinar-report-export-options a:hover{background:var(--soft)}
.webinar-report-filter .crm-filter-heading>div{display:flex;align-items:center;gap:8px}
.webinar-report-filter .crm-filter-heading .text-btn{font-size:12px}
.webinar-report-filter [data-filter-tags]{max-height:300px;overflow:auto;scrollbar-width:thin}
.webinar-report-viewer-filter-fields,.webinar-report-watch-filter{display:grid;gap:4px;min-width:0}
.webinar-report-watch-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.webinar-report-viewer-filter-fields .crm-filter-text{font-size:12px}
@media (max-width:700px){
 .topbar .webinar-report-toolbar{flex:1;width:100%}
 .topbar .webinar-report-toolbar .crm-search{min-width:0;width:auto;flex:1}
 .webinar-report-export-options{width:min(320px,calc(100vw - 24px))}
 .webinar-report-section-head{flex-wrap:wrap}
 .webinar-report-viewers .webinar-report-toolbar{width:100%}
 .webinar-report-viewers .webinar-report-toolbar .crm-search{flex:1;width:auto}
 .webinar-report-table th,.webinar-report-table td{padding-inline:12px}
 .webinar-report-stats>div{flex-basis:calc(50% - 1px);padding:12px;box-sizing:border-box}
 .webinar-report-chart{padding-inline:8px}
 .webinar-report-viewer-frame .webinar-report-name{min-width:114px;max-width:150px}
}
