/* Verifiable stage counts and opportunity-created chart. */
#clarvismirror .cmDashVerifiedStats{margin:14px 0 20px;display:flex;flex-direction:column;gap:12px}
#clarvismirror .cmDashStatWarning{background:#fff7e6;border:1px solid #eddaad;border-radius:9px;padding:11px 14px;color:#836333;font-size:12px;line-height:1.6}
#clarvismirror .cmDashStatGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#clarvismirror .cmDashStat{background:#fff;border:1px solid #dce7f3;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px}
#clarvismirror .cmDashStat b{color:#233d5b;font-size:30px;letter-spacing:-.7px;overflow-wrap:anywhere}
#clarvismirror .cmDashStat span{font-size:11px;color:#65809b}
#clarvismirror .cmDashStatSplit{display:grid;grid-template-columns:minmax(250px,.95fr) minmax(300px,1.15fr);gap:12px}
#clarvismirror .cmDashStatSplit>div{background:white;border:1px solid #e0e7ef;border-radius:10px;padding:15px;min-width:0}
#clarvismirror .cmDashStatSplit h3{font-size:15px;color:#293f5a;margin:0 0 5px}
#clarvismirror .cmDashStatSplit p{font-size:11px;color:#71839a;margin:0 0 13px}
#clarvismirror .cmDashStages{max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:9px}
#clarvismirror .cmDashStageRow{display:grid;grid-template-columns:160px minmax(30px,1fr) 32px;gap:8px;align-items:center;font-size:10px}
#clarvismirror .cmDashStageRow label{color:#344d6e;overflow-wrap:anywhere}
#clarvismirror .cmDashStageRow div{height:19px;border-radius:4px;background:#edf2f8;overflow:hidden}
#clarvismirror .cmDashStageRow span{height:100%;background:linear-gradient(90deg,#4a95e1,#24c9e4);display:block;border-radius:4px}
#clarvismirror .cmDashStageRow b{color:#375d88;text-align:right}
#clarvismirror .cmDashChartSvg{width:100%;height:auto;max-height:310px}
@media(max-width:960px){#clarvismirror .cmDashStatSplit{grid-template-columns:1fr}#clarvismirror .cmDashStatGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#clarvismirror .cmDashStatGrid{grid-template-columns:1fr}#clarvismirror .cmDashStageRow{grid-template-columns:115px minmax(20px,1fr) 28px}}

/* Period selector for opportunity sale amounts. */
.cmDashSaleFilters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px 14px;border:1px solid #dce5ef;border-radius:10px;margin:14px 0;background:#f7fafc}
.cmDashSaleFilters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;min-width:130px}
.cmDashSaleFilters select,.cmDashSaleFilters input{min-height:36px;border:1px solid #c5d1df;border-radius:7px;padding:6px 9px;background:#fff;color:#172a3c}
.cmDashSaleFilters button{min-height:36px;padding:5px 14px;border-radius:7px;border:1px solid #247bb6;background:#247bb6;color:white;cursor:pointer}
.cmDashSaleFilters small{color:#4a6177;flex-basis:100%;font-size:11px}
.cmDashSalesSourceNote{font-size:12px;color:#4e647a;margin-top:5px;margin-bottom:15px}
/* Ricerche separate CRM/Meta/archivio, never a misleading grand total. */
.cmDashRicercaToolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:15px;padding:18px;background:#f4f8ff;border:1px solid #dce7f6;border-radius:12px;margin:7px 0 14px}
.cmDashRicercaToolbar>div{flex:1 1 230px}
.cmDashRicercaToolbar strong{font-size:15px;color:#183b66}
.cmDashRicercaToolbar p{font-size:12px;color:#637d9b;margin:6px 0 0;line-height:1.45}
.cmDashRicercaToolbar label{display:flex;flex-direction:column;gap:6px;min-width:150px;color:#43678a;font-size:12px;font-weight:700}
.cmDashRicercaToolbar input,.cmDashRicercaToolbar select{border:1px solid #cbdced;border-radius:9px;min-height:41px;padding:9px 11px;color:#254369;background:white;font:inherit}
.cmDashRicercaGroups{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:12px}
.cmDashGroupCard{min-width:0;border:1px solid #dce7f4;border-radius:12px;background:white;padding:15px}
.cmDashGroupCard h4{margin:0;color:#153d6b;font-size:15px}
.cmDashGroupCard>p{margin:7px 0 12px;font-size:12px;color:#667e9a}
.cmDashGroupCells{display:flex;flex-wrap:wrap;gap:9px}
.cmDashGroupCells>div{flex:1 1 77px;background:#f2f7fd;border-radius:8px;padding:9px 10px;min-width:0}
.cmDashGroupCells b{display:block;font-size:clamp(14px,1.4vw,21px);color:#154e8f;white-space:nowrap}
.cmDashGroupCells span{font-size:11px;line-height:1.35;color:#657d98}
.cmDashGroupCard>small{display:block;margin-top:14px;color:#7286a0;font-size:11px;line-height:1.5}
.cmDashSegmentFoot{font-size:11px;line-height:1.6;color:#657d96;margin:14px 4px}
@media(max-width:620px){.cmDashRicercaToolbar label{width:100%}.cmDashRicercaToolbar input,.cmDashRicercaToolbar select{width:100%}}

#cmFocusMasterSourceNotice[hidden]{display:none!important}
