/* CDR cards and dialogs are also mounted outside #cdrAnalyticsRoot. */
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog){box-sizing:border-box;max-width:96vw!important;color:#19374f!important;-webkit-text-fill-color:currentColor;font-size:14px;line-height:1.5}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) :is(th,td){height:auto!important;max-height:none!important;box-sizing:border-box;vertical-align:top;word-break:normal!important;overflow-wrap:normal!important;line-height:1.5!important;font-size:13px!important;text-shadow:none!important}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) table{table-layout:auto!important;width:max-content!important;min-width:100%!important;max-width:none!important;border-collapse:separate!important;border-spacing:0}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) thead th{background:#17354d!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important;position:sticky;top:0;z-index:2;padding:12px!important;text-align:left;white-space:nowrap!important}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) thead th *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) tbody td{color:#19374f!important;-webkit-text-fill-color:#19374f!important;padding:11px 12px!important;white-space:normal!important;min-width:8ch;max-width:44ch;overflow-wrap:break-word!important}
html body :is(#cdrEvidenceDialog,#cdrAbsentDialog,#cdrUnmappedAgentsDialog) tbody tr:nth-child(even) td{background:#f2f6fb!important}
html body #cdrEvidenceDialog :is(th,td):is([data-column="0"],[data-column="1"],[data-column="2"],[data-column="3"],[data-column="4"],[data-column="10"],[data-column="11"],[data-column="12"]){white-space:nowrap!important;max-width:none!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums}
html body #cdrEvidenceDialog :is(th,td):is([data-column="5"],[data-column="6"],[data-column="7"],[data-column="8"],[data-column="9"]){min-width:16ch}
html body #cdrEvidenceDialog :is(th,td):is([data-column="13"],[data-column="14"]){min-width:28ch;max-width:44ch}
html body #cdrAbsentDialog :is(th,td):nth-child(2){white-space:nowrap!important}
html body #cdrEvidenceDialog [data-table],html body #cdrAbsentDialog [data-list]{overflow:auto!important;max-width:100%;max-height:55vh;scrollbar-gutter:stable}
html body #cdrEvidenceDialog>header :is(h3,p){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #cdrAnalyticsRoot .current-metric{height:auto!important;min-width:0;white-space:normal!important;color:#19374f!important;-webkit-text-fill-color:currentColor!important}
html body #cdrAnalyticsRoot .current-metric :is(span,small,strong,b){opacity:1!important;visibility:visible!important;-webkit-text-fill-color:currentColor!important;overflow-wrap:break-word}
html body #cdrAnalyticsRoot .current-metric-label{color:#344f65!important;font-size:13px!important;line-height:1.5!important}
html body #cdrAnalyticsRoot .current-metric-value{flex-wrap:wrap;gap:8px}
html body #cdrAnalyticsRoot .current-metric-value strong{color:#17354d!important;white-space:nowrap}
html body #cdrAnalyticsRoot .current-metric-value b{color:var(--metric,#1766a2)!important;white-space:nowrap}
html body #cdrAnalyticsRoot .current-metric :is(small,.current-fraction){color:#455e73!important;font-size:12px!important;line-height:1.5!important;min-height:0}
html body #cdrAnalyticsRoot .current-metric-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;align-items:stretch}
html body #cdrAnalyticsRoot :is(.cdr-ana-table,.current-table){table-layout:auto!important}
html body #cdrAnalyticsRoot .current-table td:first-child{white-space:nowrap!important}
html body #cdrAnalyticsRoot .cdr-ana-kpi :is(span,small,strong){-webkit-text-fill-color:currentColor!important;opacity:1!important;visibility:visible!important}

html body #cdrUnmappedAgentsDialog .cdr-unmapped-scroll{overflow:auto!important;max-width:100%}
html body #cdrAnalyticsRoot :is(.cdr-unmapped-card,.cdr-ptp-mapping-cards){color:#19374f!important;height:auto!important;white-space:normal!important}
html body #cdrAnalyticsRoot :is(.cdr-unmapped-card,.cdr-ptp-mapping-cards) :is(span,strong,small){color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;visibility:visible!important}

/* Equal summary cards: activity colours, four columns on desktop. */
html body #cdrAnalyticsRoot .cdr-ptp-mapping-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0;margin:18px 0;background:none;border:0;align-items:stretch}
html body #cdrAnalyticsRoot .cdr-mapping-stat{--stat:#24628d;--wash:#eff7fe;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;min-height:148px;width:100%;margin:0;padding:20px;text-align:left;border:1px solid color-mix(in srgb,var(--stat) 30%,white);border-top:4px solid var(--stat);border-radius:12px;background:var(--wash);color:#18374d!important;box-shadow:0 3px 12px #18374d08;font:inherit;white-space:normal}
html body #cdrAnalyticsRoot .cdr-mapping-stat span{font-size:14px;font-weight:750;line-height:1.4;color:inherit!important}
html body #cdrAnalyticsRoot .cdr-mapping-stat strong{font-size:30px;line-height:1.1;font-weight:800;color:inherit!important}
html body #cdrAnalyticsRoot .cdr-mapping-stat small{font-size:11px;line-height:1.5;color:inherit!important}
html body #cdrAnalyticsRoot .cdr-mapping-stat.tone-mapped,html body #cdrAnalyticsRoot .cdr-mapping-stat.tone-clear{--stat:#1b8868;--wash:#eefaf5}
html body #cdrAnalyticsRoot .cdr-mapping-stat.tone-warning{--stat:#b77813;--wash:#fff7e7}
html body #cdrAnalyticsRoot .cdr-mapping-stat.tone-danger{--stat:#bd4053;--wash:#fff1f3}
html body #cdrAnalyticsRoot button.cdr-mapping-stat{cursor:pointer}html body #cdrAnalyticsRoot button.cdr-mapping-stat:hover{box-shadow:0 5px 17px #18374d20}html body #cdrAnalyticsRoot button.cdr-mapping-stat:focus-visible{outline:3px solid #197bac;outline-offset:3px}
@media(max-width:900px){html body #cdrAnalyticsRoot .cdr-ptp-mapping-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){html body #cdrAnalyticsRoot .cdr-ptp-mapping-cards{gap:9px}html body #cdrAnalyticsRoot .cdr-mapping-stat{padding:13px;min-height:150px}html body #cdrAnalyticsRoot .cdr-mapping-stat span{font-size:12px}}
.route-loading-note{padding:12px 18px;margin:8px 0;background:#eff7fe;color:#174761;border:1px solid #c6dce9;border-radius:9px;font-weight:650;font-size:13px}

@media(max-width:480px){html body .ask-cdr-tab-v106{top:auto;bottom:105px;right:10px;transform:none;width:auto;height:36px;padding:0 12px;border-radius:18px;flex-direction:row;gap:7px}html body .ask-cdr-tab-v106 strong{writing-mode:horizontal-tb;transform:none;font-size:10px}html body .ask-cdr-tab-v106.hidden{transform:translateX(20px)}}
