/* Display-only reporting views share the footer portal's workspace styling. */
#reporting .reporting-intro h2{font-size:40px;line-height:1.1;min-height:2.3em}
#reporting .reporting-intro>p{font-size:18px;line-height:1.4;min-height:7em}
#reporting .reporting-tabs [data-report]{min-width:0;min-height:42px;line-height:1.35;text-align:center}
#reporting .reporting-tabs [data-report] .icon{flex:none}
#reporting .reporting-visual:after{content:none}
#reporting .reporting-visual .report-app{flex:1;height:auto;min-height:0;background:#f7f8fa;border-color:#e5e7ec;box-shadow:none}
#reporting .report-app-layout{height:100%;grid-template-columns:54px minmax(0,1fr)}
#reporting .report-rail{background:transparent;border-right:1px solid #e9ebee;padding:18px 8px;gap:18px;align-items:center}
#reporting .report-rail>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid transparent;border-radius:6px}
#reporting .report-rail .icon{width:20px;height:20px;padding:0;background:none;border-radius:0;opacity:.5}
#reporting:has(#report-tab-overview[aria-current=true]) [data-report-rail=overview],
#reporting:has(#report-tab-replies[aria-current=true]) [data-report-rail=replies],
#reporting:has(#report-tab-credits[aria-current=true]) [data-report-rail=credits]{background:#fff;border-color:#e5e7ec}
#reporting:has(#report-tab-overview[aria-current=true]) [data-report-rail=overview] .icon,
#reporting:has(#report-tab-replies[aria-current=true]) [data-report-rail=replies] .icon,
#reporting:has(#report-tab-credits[aria-current=true]) [data-report-rail=credits] .icon{opacity:.8}
#reporting .report-main{padding:18px 22px}
#reporting .report-toolbar{min-height:32px;margin-bottom:16px}
#reporting .report-toolbar h3{font-size:18px;line-height:1.35;font-weight:600}
#reporting .report-toolbar>div:first-child{min-width:0}
#reporting .report-period{flex:none;background:#fff;border:1px solid #e5e7ec;border-radius:4px;padding:7px 10px;color:#30353e}
#reporting .report-period>span{font-size:11px;white-space:nowrap}
#reporting .report-panel:not([hidden]){display:flex;flex-direction:column;gap:16px}
#reporting .portal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #e9ebee;border-radius:6px;margin:0;padding:0}
#reporting .portal-metrics>div{min-width:0;padding:12px 16px}
#reporting .portal-metrics>div+div{border-left:1px solid #e9ebee}
#reporting .portal-metrics span{display:block;font-size:12px;line-height:1.4;color:#828793}
#reporting .portal-metrics strong{display:block;font-size:30px;line-height:1.2;font-weight:600;color:#30353e;margin-top:8px;font-variant-numeric:tabular-nums}
#reporting .portal-performance,#reporting .portal-leads-panel,#reporting .portal-bant-panel,#reporting .portal-meetings{background:#fff;border:1px solid #e9ebee;border-radius:6px;padding:14px 16px;min-width:0}
#reporting .portal-subhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px}
#reporting .portal-subhead h4{margin:0;font-size:13px;line-height:1.5;font-weight:500;color:#30353e}
#reporting .portal-subhead>span{font-size:11px;line-height:1.4;color:#828793;text-align:right}
#reporting .portal-audience{display:grid;grid-template-columns:130px minmax(0,1fr) 28px;align-items:center;gap:20px;min-height:38px;font-size:13px;line-height:1.4}
#reporting .portal-audience>span{color:#59616e}
#reporting .portal-audience>strong{text-align:right;font-weight:500;color:#303943;font-variant-numeric:tabular-nums}
#reporting .portal-bar{height:10px;overflow:hidden;background:#f0f2f5;border-radius:3px}
#reporting .portal-bar i{display:block;height:100%;width:var(--bar-fill);background:#8ebba7;border-radius:3px}
#reporting .portal-audience:nth-child(3) .portal-bar i{background:#a5bfdf}
#reporting .portal-audience:nth-child(4) .portal-bar i{background:#c2b5d5}
#reporting .portal-lead{display:grid;grid-template-columns:minmax(0,1fr) 90px 76px;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e9ebee}
#reporting .portal-lead:last-child,#reporting .portal-meeting:last-child{border-bottom:0;padding-bottom:0}
#reporting .portal-lead>div>strong,#reporting .portal-meeting>div>strong{display:block;font-size:13px;line-height:1.4;font-weight:600;color:#343b45}
#reporting .portal-lead>div>span,#reporting .portal-meeting>div>span{display:block;font-size:11px;line-height:1.4;color:#828793;margin-top:3px}
#reporting .portal-state{font-size:11px;line-height:1.4;color:#287256}
#reporting .portal-state.is-review{color:#926621}
#reporting .portal-score{display:inline-flex;align-items:center;justify-content:center;justify-self:end;gap:2px;width:76px;height:30px;border:1px solid #d6eade;border-radius:6px;background:#eaf5ee;color:#287256;font-size:13px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
#reporting .portal-score small{font-size:10px;color:inherit;font-weight:400}
#reporting .portal-lead.is-review .portal-score{background:#fbf3e4;border-color:#eee0c3;color:#8a651f}
#reporting .portal-persona{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px}
#reporting .portal-portrait{width:72px;height:72px;aspect-ratio:1;object-fit:cover;border-radius:50%;background:#e9edf0}
#reporting .portal-identity{min-width:0}
#reporting .portal-identity h4{margin:0;color:#30353e;font-size:20px;line-height:1.3;font-weight:600}
#reporting .portal-identity p{margin:4px 0;color:#828793;font-size:12px;line-height:1.4}
#reporting .portal-identity>strong{display:block;color:#59616e;font-size:13px;line-height:1.4;font-weight:500}
#reporting .portal-lead-rating{display:grid;justify-items:end;gap:6px}
#reporting .portal-qualified{padding:3px 8px;border-radius:4px;background:#eaf5ee;color:#287256;font-size:11px;line-height:1.4;font-weight:500}
#reporting .portal-score-label{color:#828793;font-size:10px;line-height:1.4}
#reporting .portal-lead-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:14px 0 0;padding-top:12px;border-top:1px solid #e9ebee}
#reporting .portal-lead-context dt{color:#828793;font-size:11px;line-height:1.4;margin-bottom:3px}
#reporting .portal-lead-context dd{margin:0;color:#59616e;font-size:12px;line-height:1.4}
#reporting .portal-bant{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:14px 0 0}
#reporting .portal-bant>div{min-width:0}
#reporting .portal-bant dt{font-size:11px;line-height:1.4;color:#828793;margin-bottom:5px}
#reporting .portal-bant dd{margin:0;font-size:12px;line-height:1.4;color:#287256}
#reporting .portal-meeting{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9ebee;padding:8px 0}
#reporting .portal-meeting>strong{font-size:12px;line-height:1.4;color:#287256;font-weight:500;white-space:nowrap}
#reporting .portal-credit-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;min-width:0}
#reporting .portal-funnel{margin:0;padding:14px 16px;min-width:0;background:#fff;border:1px solid #e9ebee;border-radius:6px}
#reporting .portal-funnel-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
#reporting .portal-funnel-stages>div{min-width:0}
#reporting .portal-funnel-stages dt{min-height:2.8em;color:#828793;font-size:11px;line-height:1.4}
#reporting .portal-funnel-stages dd{margin:4px 0 0;color:#30353e;font-size:24px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums}
#reporting .portal-funnel-chart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;height:66px;margin-top:10px}
/* Each edge is proportional to the next stage's count, using 42 as the baseline. */
#reporting .portal-funnel-chart i{display:block;background:#dbe8f9;clip-path:polygon(0 calc((100% - var(--from))/2),100% calc((100% - var(--to))/2),100% calc((100% + var(--to))/2),0 calc((100% + var(--from))/2))}
#reporting .portal-funnel-chart i:nth-child(2){background:#bacfee}
#reporting .portal-funnel-chart i:nth-child(3){background:#88b3e3}
#reporting .portal-funnel-chart i:nth-child(4){background:#67b89b}
@media(min-width:761px){
 #reporting .scroll-stage{gap:16px}
}
@media(min-width:761px) and (max-height:800px){
 #reporting .portal-lead-context{display:none}
 #reporting .portal-persona{grid-template-columns:60px minmax(0,1fr) auto;gap:14px}
 #reporting .portal-portrait{width:60px;height:60px}
 #reporting .report-main{padding:14px 20px}
 #reporting .report-toolbar{margin-bottom:12px}
 #reporting .report-panel:not([hidden]){gap:12px}
 #reporting .portal-metrics>div{padding:8px 14px}
 #reporting .portal-metrics strong{font-size:28px;margin-top:6px}
 #reporting .portal-performance,#reporting .portal-leads-panel,#reporting .portal-bant-panel,#reporting .portal-meetings{padding:12px 14px}
 #reporting .portal-subhead{margin-bottom:8px}
 #reporting .portal-meeting{padding-block:6px}
 #reporting .portal-credit-details{gap:12px}
 #reporting .portal-funnel{padding:12px 14px}
 #reporting .portal-funnel-chart{height:50px;margin-top:8px}
}
@media(max-width:760px){
 #reporting .portal-persona{grid-template-columns:48px minmax(0,1fr) 62px;gap:10px}
 #reporting .portal-portrait{width:48px;height:48px}
 #reporting .portal-identity h4{font-size:16px}
 #reporting .portal-identity p{font-size:10px;margin-block:3px}
 #reporting .portal-identity>strong{font-size:11px}
 #reporting .portal-lead-rating{gap:4px}
 #reporting .portal-qualified{font-size:9px;padding:3px 6px}
 #reporting .portal-score-label{font-size:9px}
 #reporting .portal-lead-context{gap:10px;margin-top:12px;padding-top:10px}
 #reporting .portal-lead-context dt{font-size:9px}
 #reporting .portal-lead-context dd{font-size:10px}
 #reporting .reporting-intro h2{font-size:26px;line-height:1.16;min-height:2.32em}
 #reporting .reporting-intro>p{font-size:14px;line-height:1.45;min-height:7.25em;margin-top:12px}
 #reporting .reporting-tabs [data-report]{font-size:11px;gap:5px;min-height:42px;padding:7px 5px}
 #reporting .reporting-tabs [data-report] .icon{display:none}
 #reporting .report-main{padding:12px}
 #reporting .report-toolbar{min-height:28px;gap:8px;margin-bottom:12px}
 #reporting .report-toolbar h3{font-size:14px}
 #reporting:has(#report-tab-credits[aria-current=true]) .report-toolbar{display:none}
 #reporting .report-period{padding:5px 6px}
 #reporting .report-period>span{font-size:9px}
 #reporting .report-panel:not([hidden]){gap:12px}
 #reporting .portal-metrics>div{padding:10px}
 #reporting .portal-metrics span{font-size:10px;min-height:2.8em}
 #reporting .portal-metrics strong{font-size:24px;margin-top:4px}
 #reporting .portal-performance,#reporting .portal-leads-panel,#reporting .portal-bant-panel,#reporting .portal-meetings{padding:12px}
 #reporting .portal-subhead{gap:8px;margin-bottom:8px}
 #reporting .portal-subhead h4{font-size:12px}
 #reporting .portal-subhead>span{font-size:10px}
 #reporting .portal-audience{grid-template-columns:98px minmax(0,1fr) 20px;gap:8px;min-height:34px;font-size:11px}
 #reporting .portal-bar{height:8px}
 #reporting .portal-lead{grid-template-columns:minmax(0,1fr) 54px 60px;gap:8px;padding:10px 0}
 #reporting .portal-lead>div>strong,#reporting .portal-meeting>div>strong{font-size:12px}
 #reporting .portal-lead>div>span,#reporting .portal-meeting>div>span{font-size:10px}
 #reporting .portal-state{font-size:10px}
 #reporting .portal-score{width:60px;height:26px;font-size:12px}
 #reporting .portal-score small{font-size:9px}
 #reporting .portal-bant{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:10px}
 #reporting .portal-bant dt{font-size:10px;margin-bottom:3px}
 #reporting .portal-bant dd{font-size:11px}
 #reporting .portal-meeting{padding:7px 0}
 #reporting .portal-meeting>strong{font-size:11px}
 #reporting .portal-credit-details{grid-template-columns:minmax(0,1fr);gap:10px}
 #reporting .portal-funnel{padding:10px 12px}
 #reporting .portal-funnel-stages{gap:6px}
 #reporting .portal-funnel-stages dt{font-size:10px;line-height:1.3;min-height:2.6em}
 #reporting .portal-funnel-stages dd{font-size:18px;margin-top:2px}
 #reporting .portal-funnel-chart{height:32px;margin-top:6px}
 #reporting #report-credits .portal-meetings{padding:10px 12px}
 #reporting #report-credits .portal-meeting{gap:8px;padding:6px 0;min-height:32px}
 #reporting #report-credits .portal-meeting>div{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:8px;flex:1;min-width:0}
 #reporting #report-credits .portal-meeting>div>strong{font-size:11px}
 #reporting #report-credits .portal-meeting>div>span{font-size:9px;margin:0}
}
@media(max-width:760px) and (max-height:780px){
 #reporting .report-main{padding:10px}
 #reporting .report-toolbar{margin-bottom:10px}
 #reporting .report-panel:not([hidden]){gap:10px}
 #reporting .portal-metrics>div{padding:7px 8px}
 #reporting .portal-metrics span{font-size:9px}
 #reporting .portal-metrics strong{font-size:22px;margin-top:2px}
 #reporting .portal-performance,#reporting .portal-leads-panel,#reporting .portal-bant-panel,#reporting .portal-meetings{padding:10px}
 #reporting .portal-lead{padding-block:8px}
 #reporting .portal-subhead h4{font-size:11px}
 #reporting .portal-subhead>span{font-size:9px}
}
@media(max-width:760px) and (max-height:820px){
 #reporting .portal-lead-context{display:none}
 #reporting #report-credits{gap:8px}
 #reporting .portal-credit-details{gap:8px}
 #reporting .portal-funnel{padding:8px 10px}
 #reporting .portal-funnel-chart{height:24px;margin-top:4px}
 #reporting #report-credits .portal-meetings{padding:8px 10px}
 #reporting #report-credits .portal-meeting{padding:4px 0;min-height:28px}
}
@media(max-width:360px){
 #reporting .portal-funnel>.portal-subhead{display:none}
 #reporting .reporting-intro h2{font-size:22px}
 #reporting .reporting-intro>p{font-size:13px}
 #reporting .portal-lead{grid-template-columns:minmax(0,1fr) 49px 56px;gap:6px}
 #reporting .portal-score{width:56px}
 #reporting .portal-bant dd{font-size:10px}
}
@media(max-width:760px) and (max-height:700px){
 #reporting .scroll-stage{gap:12px}
 #reporting .reporting-intro h2{font-size:22px}
 #reporting .reporting-intro>p{font-size:13px;line-height:1.4;min-height:0;margin-top:8px}
 #reporting .reporting-tabs [data-report]{min-height:36px}
 #reporting .reporting-visual{gap:8px}
 #reporting .report-toolbar{display:none}
 #reporting .portal-funnel{padding:6px 8px}
 #reporting .portal-funnel>.portal-subhead{display:none}
 #reporting .portal-funnel-stages dt{font-size:9px}
 #reporting .portal-funnel-stages dd{font-size:16px;margin-top:0}
 #reporting .portal-funnel-chart{height:20px}
 #reporting #report-credits .portal-meetings{padding:4px 8px}
 #reporting #report-credits .portal-meeting{padding:3px 0;min-height:26px}
}
@media(prefers-reduced-motion:reduce){
 #reporting .reporting-visual .report-app{height:auto;min-height:0}
}
@media(max-width:760px) and (max-height:640px){
 #reporting:has(#report-tab-replies[aria-current=true]) .report-main{padding:8px}
 #reporting #report-replies{gap:6px}
 #reporting #report-replies .portal-leads-panel,#reporting #report-replies .portal-bant-panel{padding:6px 8px}
 #reporting .portal-persona{grid-template-columns:40px minmax(0,1fr) 62px;gap:8px}
 #reporting .portal-portrait{width:40px;height:40px}
 #reporting .portal-identity h4{font-size:14px}
 #reporting .portal-score-label,#reporting #report-replies .portal-bant-heading{display:none}
 #reporting #report-replies .portal-bant{margin:0;gap:6px 10px}
 #reporting #report-replies .portal-bant dd{font-size:10px}
}
