/* Sfera CRM · Statistiche v2.22.0
   Refinement of the existing stats component system. Dashboard is the sole
   source of palette (#0e2166 / #3b78eb / #268a6a); no external design assets. */

/* 01 — Sticky header: same exact title type as Companies. */
#signed-in.app-shell .app-topbar .sfera-stats-topbar{
  gap:clamp(9px,1.15vw,17px);
  min-width:0;font-family:Poppins,"Open Sans",sans-serif;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar__title{
  margin:0!important;padding:0!important;display:block;
  flex:0 0 auto;white-space:nowrap;
  font:600 15px/1.25 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:0!important;color:#f6f9ff!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar__title svg{
  display:none!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters{
  justify-content:flex-end;align-items:center;gap:9px;flex:1 1 auto;min-width:0;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters > label,
#signed-in.app-shell .app-topbar .sfera-stats-filters .activity-statistics-filterbar > label{
  gap:0!important;font-size:0!important;line-height:0!important;
  color:transparent!important;letter-spacing:0!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters .activity-statistics-custom label{
  font:500 11px/1.2 "Open Sans",sans-serif!important;
  color:#dce9ff!important;letter-spacing:0!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters .activity-statistics-filterbar{
  border:0!important;border-radius:0!important;background:transparent!important;
  padding:0!important;margin:0!important;box-shadow:none!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters select{
  box-sizing:border-box!important;min-width:0;width:clamp(136px,11vw,194px);
  height:37px!important;min-height:37px!important;max-height:37px!important;
  margin:0!important;padding:0 32px 0 13px!important;
  color:#edf6ff!important;
  background-color:rgba(255,255,255,.095)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23d7e8ff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 7 5 5 5-5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-size:18px 18px!important;
  background-position:right 9px center!important;
  appearance:none!important;-webkit-appearance:none!important;
  border:1px solid rgba(192,216,255,.24)!important;
  border-radius:10px!important;box-shadow:none!important;
  font:500 12px/1.25 "Open Sans",sans-serif!important;
  text-overflow:ellipsis;white-space:nowrap;cursor:pointer;
  transition:background-color .13s ease,border-color .13s ease!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters select:hover{
  background-color:rgba(255,255,255,.15)!important;
  border-color:rgba(210,229,255,.55)!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters select:focus-visible{
  outline:2px solid #b1d2ff!important;outline-offset:2px;
}
#signed-in.app-shell .app-topbar .sfera-stats-filters select option{
  font:500 12px "Open Sans",sans-serif;color:#17335f;background:#fff;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar :is(
  .sfera-stats-topbar__refresh,.sfera-stats-topbar__holiday,.sfera-stats-filter-toggle
){
  margin:0!important;min-height:36px!important;max-height:36px!important;height:36px!important;
  border:1px solid rgba(192,216,255,.2)!important;border-radius:11px!important;
  background:rgba(255,255,255,.075)!important;
  color:#e8f3ff!important;box-shadow:none!important;
  font:500 12px/1 "Open Sans",sans-serif!important;
  transition:background-color .13s ease-out,border-color .13s ease-out!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar :is(
  .sfera-stats-topbar__refresh,.sfera-stats-topbar__holiday,.sfera-stats-filter-toggle
):is(:hover,:focus-visible){
  background:rgba(255,255,255,.16)!important;border-color:rgba(192,216,255,.52)!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh{
  width:36px!important;min-width:36px!important;padding:0!important;
  display:grid!important;place-items:center!important;line-height:0!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh>svg,
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh>svg *{
  width:19px;height:19px;fill:none!important;
  stroke:#e8f3ff!important;stroke-width:1.85!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  opacity:1!important;filter:none!important;transform:none!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh>svg *{
  width:auto;height:auto;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh::before,
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__refresh::after{
  content:none!important;display:none!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__holiday{
  display:inline-flex!important;align-items:center!important;gap:8px;
  padding:0 12px!important;white-space:nowrap;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar .sfera-stats-topbar__holiday:disabled{
  opacity:.47!important;cursor:wait!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar svg{
  color:#e8f3ff;
}
/* Preserve semantic field labels while removing their visible text.
   The original label wrapper still supplies the accessible name. */
#signed-in.app-shell .app-topbar .sfera-stats-filters>label,
#signed-in.app-shell .app-topbar .sfera-stats-filters .activity-statistics-filterbar>label{
  display:flex!important;align-items:center!important;
}
/* 02 — Page rhythm and editorial type, not repeated colored containers. */
body:has(#activity-statistics-view:not([hidden])) #signed-in .app-content{
  background:#f7f9fd;
}
#activity-statistics-view.stats-visual-redesign{
  --sv-ease:cubic-bezier(.23,.8,.25,1);
  background:#f7f9fd!important;
  font-family:"Open Sans",sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-shell{
  width:calc(100% - clamp(22px,3.1vw,52px))!important;
  margin:0 auto!important;padding:clamp(13px,1.65vw,25px) 0 25px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-status{
  padding:0 2px!important;margin:1px 0 13px!important;font:500 12px/1.45 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-summary{
  display:grid;grid-template-columns:1.13fr 1fr .97fr;gap:clamp(11px,1.25vw,18px);
  margin:0 0 clamp(12px,1.25vw,18px);
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi{
  position:relative;min-height:208px!important;padding:clamp(18px,1.6vw,25px)!important;
  overflow:hidden;border:1px solid #e4ebf6!important;border-radius:16px!important;
  background:#fff!important;box-shadow:0 3px 14px rgba(14,33,102,.035)!important;
  color:#263d60!important;
  transition:transform .12s ease-out,box-shadow .12s ease-out,border-color .12s ease-out!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi:hover{
  transform:translateY(-2px)!important;border-color:#d6e3f5!important;
  box-shadow:0 9px 25px rgba(14,33,102,.07)!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind="count"]{
  background:#fff!important;border-color:#dce7f8!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind="duration"]{
  background:#fcfdff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind="average"]{
  background:#fff!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-head{
  gap:9px!important;color:#657796!important;
  font:600 12px/1.4 Poppins,"Open Sans",sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-head__index{
  display:grid;place-items:center;flex:0 0 34px!important;
  width:34px!important;height:34px!important;border:0!important;
  border-radius:11px!important;background:#ecf3ff!important;color:#3666bf!important;
  font:650 11px/1 Poppins,sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-head__index{
  background:#e8f1ff!important;color:#3668c9!important;
}
#activity-statistics-view.stats-visual-redesign [data-stats-kind="duration"] .stats-kpi-head__index{
  background:#e6f4ed!important;color:#237a60!important;
}
#activity-statistics-view.stats-visual-redesign [data-stats-kind="average"] .stats-kpi-head__index{
  background:#eef0fa!important;color:#5968a7!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-main{
  margin:14px 0!important;gap:12px;min-height:89px;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-value,
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-value{
  font:650 clamp(28px,2.65vw,39px)/1.13 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.04em!important;color:#0e2166!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-main small,
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-main small{
  font:400 10.5px/1.35 "Open Sans",sans-serif!important;
  color:#798ba6!important;margin-top:6px;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-art{
  min-width:85px;flex:0 1 47%;gap:8px;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-mini-caption,
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-mini-caption{
  color:#7d8da4!important;font:500 9.5px/1.3 "Open Sans",sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-segments{
  height:31px;border-radius:9px;background:#eef3fb;
  box-shadow:inset 0 1px 2px rgba(14,33,102,.06);
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-segments i{
  border-radius:3px;transition:transform .75s var(--sv-ease),opacity .13s ease;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-segments i:hover{
  opacity:.7;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-histogram{
  height:76px;gap:7px;padding:8px 5px 0;
  border-bottom:1px solid #dbe5f3;
  background:repeating-linear-gradient(to top,transparent 0,transparent 23px,#eaf0f8 24px,transparent 25px);
}
#activity-statistics-view.stats-visual-redesign .stats-member-column span{border-radius:5px 5px 0 0}
#activity-statistics-view.stats-visual-redesign .stats-kpi-steps{gap:7px;height:76px}
#activity-statistics-view.stats-visual-redesign .stats-kpi-steps span{
  height:9px;border-radius:6px;min-height:4px;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown{
  border-top:1px solid #e9eef6!important;padding-top:11px!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown summary,
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-breakdown summary{
  color:#4366a0!important;font:550 11px/1.4 "Open Sans",sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown summary:hover{
  color:#2a67b9!important;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown__body{
  background:#f8fbff;border-radius:10px;padding:12px 10px 4px;margin-top:10px;
}
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-breakdown__body .activity-statistics-bar>div:first-child,
#activity-statistics-view.stats-visual-redesign [data-stats-kind="count"] .stats-kpi-breakdown__body .activity-statistics-bar strong{
  color:#344c70!important;
}

/* 03 — Bento: purpose-led surfaces, no repeated bright outlines. */
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid{
  gap:clamp(11px,1.3vw,18px);
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>.activity-statistics-card{
  padding:clamp(18px,1.6vw,25px)!important;border-radius:17px!important;
  border:1px solid #e5ebf5!important;background:#fff!important;
  box-shadow:0 3px 16px rgba(14,33,102,.035)!important;
  transition:transform .12s ease-out,box-shadow .12s ease-out,border-color .12s ease-out!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>.activity-statistics-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 10px 28px rgba(14,33,102,.07)!important;
  border-color:#d7e3f3!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="timeline"]{
  background:#fff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="hourly"]{
  background:#fff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="distribution"]{
  background:#fafcff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="taxonomy"]{
  background:#fff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="daily"]{
  background:#fbfcff!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="coverage"]{
  background:#fcfefe!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-card>header,
#activity-statistics-view.stats-visual-redesign.activity-statistics-final .activity-statistics-card>header{
  align-items:center!important;gap:11px!important;margin:0 0 17px!important;
  padding:0 0 14px!important;border:0!important;border-bottom:1px solid #edf1f7!important;
  background:transparent!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-card h2{
  color:#122d60!important;
  font:600 clamp(14px,1.25vw,17px)/1.35 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.02em!important;
}
#activity-statistics-view.stats-visual-redesign .sfera-stats-card-icon{
  display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;
  border:0;border-radius:11px;background:#edf3ff;color:#3974cf;
}
#activity-statistics-view.stats-visual-redesign :is(
 [data-stats-panel="timeline"],[data-stats-panel="coverage"]
) .sfera-stats-card-icon{
  background:#eaf2ff!important;color:#3266c3!important;
}
#activity-statistics-view.stats-visual-redesign :is(
 [data-stats-panel="colleagues"],[data-stats-panel="appointments"]
) .sfera-stats-card-icon{
  background:#e8f5ef!important;color:#268469!important;
}
#activity-statistics-view.stats-visual-redesign :is(
 [data-stats-panel="distribution"],[data-stats-panel="punctuality"]
) .sfera-stats-card-icon{
  background:#f0effb!important;color:#6470b8!important;
}
#activity-statistics-view.stats-visual-redesign .sfera-stats-card-icon svg{
  width:18px;height:18px;stroke-width:1.85;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-card>header::after{
  content:none!important;
}

/* 04 — Time series: deliberate analytical layout, not stock line cards. */
#activity-statistics-view.stats-visual-redesign .stats-time-series{
  gap:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-time-series__head{
  gap:14px;align-items:center;flex-wrap:wrap;
}
#activity-statistics-view.stats-visual-redesign .stats-time-series__head p{
  color:#697a97;font:450 11px/1.45 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-time-series__head>span{
  display:inline-flex;align-items:center;min-height:29px;
  background:#f0f5fd;border:1px solid #e5ecf7;
  color:#46668f;border-radius:8px;
  font:550 10px/1 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-chart-insights{
  display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;
  margin:1px 0 3px;
}
#activity-statistics-view.stats-visual-redesign .stats-chart-insights>div{
  display:flex;align-items:baseline;gap:8px;min-width:125px;
  padding:8px 11px;border-radius:9px;
  background:#f4f8ff;border:1px solid #e6edf8;
}
#activity-statistics-view.stats-visual-redesign .stats-chart-insights small{
  color:#657d9f;font:500 10px/1.3 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-chart-insights strong{
  margin-left:auto;color:#2857a0;
  font:650 15px/1.1 Poppins,"Open Sans",sans-serif;
  letter-spacing:-.02em;font-variant-numeric:tabular-nums;
}
#activity-statistics-view.stats-visual-redesign .stats-time-series__chart{
  position:relative;background:#fcfdff!important;
  border:1px solid #edf1f8;border-radius:12px;
  padding:10px 11px 4px;box-shadow:inset 0 1px 2px rgba(30,62,111,.025);
  scrollbar-color:#d1dfef transparent;
}
#activity-statistics-view.stats-visual-redesign .stats-time-series__chart svg{
  max-height:310px!important;overflow:visible!important;
}
#activity-statistics-view.stats-visual-redesign .stats-line-path{
  fill:none!important;stroke-width:2.8!important;
  filter:drop-shadow(0 2px 1.5px rgba(27,60,118,.07));
}
#activity-statistics-view.stats-visual-redesign .stats-line-point{
  fill:#fff!important;stroke-width:2.7!important;
}
#activity-statistics-view.stats-visual-redesign .stats-line-point:is(:hover,:focus-visible){
  stroke-width:3.8!important;
}
#activity-statistics-view.stats-visual-redesign .stats-series-legend{
  display:flex;gap:6px 8px;align-items:center;flex-wrap:wrap;
  margin:9px 0 1px;
}
#activity-statistics-view.stats-visual-redesign .stats-series-toggle{
  display:inline-flex;align-items:center;min-height:32px;gap:7px;
  border:1px solid #e5ebf3!important;border-radius:9px!important;
  background:#fff!important;color:#4c6487!important;
  box-shadow:none!important;padding:7px 10px!important;
  font:500 11px/1.15 "Open Sans",sans-serif!important;
  transition:background-color .12s ease,border-color .12s ease,transform .12s ease!important;
}
#activity-statistics-view.stats-visual-redesign .stats-series-toggle:is(:hover,:focus-visible){
  background:#f3f7ff!important;border-color:#cbdbf3!important;transform:translateY(-1px);
}
#activity-statistics-view.stats-visual-redesign .stats-series-toggle[aria-pressed="false"]{
  background:#f7f9fd!important;color:#8a98ab!important;opacity:.65;
}
#activity-statistics-view.stats-visual-redesign .stats-series-toggle i{
  width:8px;height:8px;border-radius:50%;
}
#activity-statistics-view.stats-visual-redesign .stats-graph-focus{
  min-height:35px;border:0;border-left:3px solid #3b78eb;
  border-radius:7px;background:#f2f7ff;color:#47668e;
  padding:9px 11px;margin:6px 0 0;font:450 11px/1.5 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-work-hourly__intro{
  color:#8090a7;font:400 11px/1.55 "Open Sans",sans-serif;margin:0 0 10px;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-work-hourly__table-toggle{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;
  padding:7px 13px;background:#edf4ff!important;border:1px solid #dbe6f8!important;
  color:#275ca8!important;font:550 11px "Open Sans",sans-serif!important;
  border-radius:9px;
}

/* 05 — Distribution: intentional hierarchy and meaningful hover feedback. */
#activity-statistics-view.stats-visual-redesign .stats-donut-layout{
  align-items:center;gap:clamp(13px,1.4vw,20px);
}
#activity-statistics-view.stats-visual-redesign .stats-donut-wrap{
  max-width:238px;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-wrap svg{
  overflow:visible;filter:drop-shadow(0 4px 10px rgba(17,55,114,.045));
}
#activity-statistics-view.stats-visual-redesign .stats-donut-center strong{
  color:#0e2166;font:650 clamp(25px,2.3vw,32px)/1.1 Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-center small{
  color:#788ba7;font:450 10px/1.4 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-row{
  border-color:#edf1f7;padding:4px 0;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-button{
  min-height:37px;border-radius:8px;padding:6px 8px;
  color:#395577;font:500 11px/1.3 "Open Sans",sans-serif;
  grid-template-columns:9px minmax(0,1fr) auto auto;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-button strong{
  font-weight:700;color:#264471;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-button:is(:hover,.is-selected){
  background:#edf4ff;
}
#activity-statistics-view.stats-visual-redesign .stats-donut-overline{
  color:#697e9e;font:600 11px/1.3 Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-type-ladder{
  gap:4px;
}
#activity-statistics-view.stats-visual-redesign .stats-type-row{
  border-bottom:1px solid #edf1f6;padding:11px 6px;
}
#activity-statistics-view.stats-visual-redesign .stats-type-row:last-child{border-bottom:0}
#activity-statistics-view.stats-visual-redesign .stats-type-row__name strong{
  font:550 12px/1.45 "Open Sans",sans-serif;color:#2f4769;
}
#activity-statistics-view.stats-visual-redesign .stats-type-row__name em{
  color:#143166;font:700 15px/1.2 Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-type-row__track{
  height:8px;background:#edf2f8;border-radius:6px;margin-top:8px;
}
#activity-statistics-view.stats-visual-redesign .stats-type-row__meta{
  color:#8797ad;font-size:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-distribution-details summary{
  color:#476ba0;font-weight:600;
}

/* 06 — Time distribution: track insight, emphasized selection, no noise. */
#activity-statistics-view.stats-visual-redesign .stats-daily-figure{gap:14px}
#activity-statistics-view.stats-visual-redesign .stats-daily-caption strong{
  font:600 13px/1.4 Poppins,sans-serif;color:#28446f;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-caption span{
  font:400 11px/1.4 "Open Sans",sans-serif;color:#8391a9;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-peak{
  padding:7px 12px;border:1px solid #e5ebf6;border-radius:10px;
  background:#fff;min-width:120px;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-peak strong{
  color:#245caa;font:650 18px/1.1 Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-column__plot{
  background:repeating-linear-gradient(to top,transparent 0,transparent 47px,#e8eef8 48px,transparent 49px);
}
#activity-statistics-view.stats-visual-redesign .stats-daily-column{
  border-radius:10px;transition:background-color .12s ease,border-color .12s ease;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-column:is(:hover,[aria-pressed="true"]){
  background:#edf5ff;border-color:#d3e2f6;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-column__stack{
  box-shadow:0 2px 8px rgba(20,54,107,.10);
}
#activity-statistics-view.stats-visual-redesign .stats-daily-detail{
  background:#f2f6fd;color:#53739a;border-radius:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-daily-detail>strong{color:#22549a}

/* 07 — CRM relationships: textured by information, not decorative borders. */
#activity-statistics-view.stats-visual-redesign .stats-clients-leaderboard{gap:2px}
#activity-statistics-view.stats-visual-redesign .stats-client-line{
  padding:11px 8px;border-bottom-color:#edf1f7;min-height:68px;
}
#activity-statistics-view.stats-visual-redesign .stats-client-line--first{
  padding:16px!important;background:#f1f6fe!important;
  border:1px solid #e4edf9!important;border-radius:13px!important;
}
#activity-statistics-view.stats-visual-redesign .stats-client-rank{
  background:#edf3fc;color:#3c6bbb;border-radius:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-client-line--first .stats-client-rank{
  background:#316aca;color:#fff;
}
#activity-statistics-view.stats-visual-redesign .stats-client-details>strong{
  font:600 12px/1.4 "Open Sans",sans-serif;color:#203e66;
}
#activity-statistics-view.stats-visual-redesign .stats-client-details>small{
  color:#8392a7;font:400 10.5px/1.45 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-client-count strong{
  font:650 21px/1.1 Poppins,sans-serif;color:#12336d;
}
#activity-statistics-view.stats-visual-redesign .stats-client-details>i{height:6px;background:#e4ecf7}
#activity-statistics-view.stats-visual-redesign .stats-client-details>i b{background:#3b78eb}
#activity-statistics-view.stats-visual-redesign .stats-colleague-row{
  padding:12px 4px;border-color:#ecf1f7;
}
#activity-statistics-view.stats-visual-redesign .stats-colleague-orb{
  width:44px;height:44px;box-shadow:0 0 0 1px #e9eff7;
  font:650 12px Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-colleague-row>div:nth-child(2) strong{
  font:600 12px "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-colleague-count strong{
  font:650 18px Poppins,sans-serif;
}

/* 08 — Distinct editorial compositions for each business meaning. */
#activity-statistics-view.stats-visual-redesign .stats-coverage-radials{gap:15px}
#activity-statistics-view.stats-visual-redesign .stats-radial{
  box-shadow:0 4px 13px rgba(19,51,107,.04);
}
#activity-statistics-view.stats-visual-redesign .stats-radial strong{
  font:650 clamp(18px,1.7vw,24px)/1.05 Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-radial span{
  color:#7c8eaa;font:500 10px/1.35 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-coverage-ledger{
  padding:18px 20px;border-radius:13px;background:#f5f8fe;
  border:1px solid #e7edf8;
}
#activity-statistics-view.stats-visual-redesign .stats-coverage-rows>div{
  padding:8px 0;border-bottom:1px solid #e6edf7;
}
#activity-statistics-view.stats-visual-redesign .stats-coverage-rows>div:last-child{border-bottom:0}
#activity-statistics-view.stats-visual-redesign .stats-figure>strong{
  font:650 clamp(19px,1.8vw,27px)/1.12 Poppins,sans-serif;
  color:#0e2166;letter-spacing:-.035em;
}
#activity-statistics-view.stats-visual-redesign .stats-figure>span{
  color:#798ba2;font:500 10.5px/1.4 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-head>.stats-figure{
  padding:17px 20px;border-radius:12px;background:#eaf6f0;
  border:1px solid #dcefe5;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-small{
  gap:12px;padding:0 2px;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-small .stats-figure>strong{
  font-size:20px;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-path>i{
  height:11px;background:#e9eff6;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-path>div{
  color:#7487a1;font:500 11px/1.3 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-appointment-path>div span{
  color:#19406d;font:650 12px Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-punctuality-metrics .stats-figure{
  gap:5px;
}
#activity-statistics-view.stats-visual-redesign .stats-punctuality-metrics .stats-figure>strong{
  font:650 19px Poppins,sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-delay-distribution>div{
  background:#fdf3f4;color:#ba586a;border-radius:9px;
}
#activity-statistics-view.stats-visual-redesign .stats-target-highlight{
  background:#f1f6ff;border:1px solid #e4ecf9;
}
#activity-statistics-view.stats-visual-redesign .stats-target-highlight .stats-figure strong{
  font-size:clamp(27px,2.45vw,38px);
}
#activity-statistics-view.stats-visual-redesign .stats-target-metrics .stats-figure{
  padding:10px 15px;background:#fbfcff;border-left:2px solid #e5eefb;
}
#activity-statistics-view.stats-visual-redesign .stats-response-stage,
#activity-statistics-view.stats-visual-redesign .stats-plan-stage{
  gap:17px;
}
#activity-statistics-view.stats-visual-redesign .stats-plan-rail{background:#edf1f8}
#activity-statistics-view.stats-visual-redesign .stats-plan-rail i{background:#3b78eb}

/* 09 — Cross-device: intact filters, no viewport overflow or inaccessible actions. */
@media(max-width:1320px){
  #activity-statistics-view.stats-visual-redesign .activity-statistics-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind="average"]{
    grid-column:1/-1;min-height:170px!important;
  }
}
@media(max-width:1240px){
  #signed-in.app-shell .app-topbar .sfera-stats-topbar{
    gap:9px;min-width:0;
  }
  #signed-in.app-shell .app-topbar .sfera-stats-filters{
    align-items:stretch;flex-direction:column;gap:11px;
    background:#fff!important;border:1px solid #dce7f5!important;
    box-shadow:0 18px 45px rgba(14,33,102,.15)!important;
    border-radius:13px!important;
  }
  #signed-in.app-shell .app-topbar .sfera-stats-filters select{
    width:100%!important;min-height:39px!important;max-height:39px!important;
    height:39px!important;background-color:#f8faff!important;
    color:#213b68!important;border-color:#dce5f2!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2336588a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 7 5 5 5-5'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;background-position:right 9px center!important;
  }
  #signed-in.app-shell .app-topbar .sfera-stats-filters .activity-statistics-custom label{
    color:#667b99!important;
  }
}
@media(max-width:1050px){
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel]{
    grid-column:span 6;
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="timeline"],
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="hourly"],
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel="daily"]{
    grid-column:1/-1;
  }
  #activity-statistics-view.stats-visual-redesign .stats-coverage-stage{grid-template-columns:1fr}
}
@media(max-width:710px){
  #activity-statistics-view.stats-visual-redesign .activity-statistics-shell{
    width:calc(100% - 20px)!important;padding:12px 0 24px!important;
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-summary,
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid{
    grid-template-columns:minmax(0,1fr);
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind="average"]{
    grid-column:auto;
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>[data-stats-panel]{
    grid-column:1/-1!important;
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-grid>.activity-statistics-card{
    padding:17px!important;border-radius:14px!important;
  }
  #activity-statistics-view.stats-visual-redesign .activity-statistics-kpi{
    min-height:194px!important;padding:18px!important;
  }
  #activity-statistics-view.stats-visual-redesign .stats-chart-insights>div{flex:1 1 125px}
  #activity-statistics-view.stats-visual-redesign .stats-donut-layout{grid-template-columns:1fr}
  #activity-statistics-view.stats-visual-redesign .stats-donut-wrap{max-width:200px}
  #activity-statistics-view.stats-visual-redesign .stats-coverage-stage{grid-template-columns:1fr}
  #activity-statistics-view.stats-visual-redesign .stats-coverage-radials{max-width:370px}
  #activity-statistics-view.stats-visual-redesign .stats-time-series__chart svg{
    min-width:580px;max-height:285px!important;
  }
  #activity-statistics-view.stats-visual-redesign .stats-daily-columns{min-width:max-content}
  #activity-statistics-view.stats-visual-redesign .stats-daily-column{width:48px;min-width:48px}
}
@media(max-width:450px){
  #signed-in.app-shell .app-topbar .sfera-stats-topbar__title{
    font:600 14px/1.25 Poppins,"Open Sans",sans-serif!important;
  }
  #signed-in.app-shell .app-topbar .sfera-stats-topbar{
    gap:7px;
  }
  #activity-statistics-view.stats-visual-redesign .stats-donut-button{
    grid-template-columns:9px minmax(0,1fr) auto;
  }
  #activity-statistics-view.stats-visual-redesign .stats-donut-button small{
    grid-column:2/-1;text-align:right;
  }
  #activity-statistics-view.stats-visual-redesign .stats-kpi-art{min-width:69px}
  #activity-statistics-view.stats-visual-redesign .stats-chart-insights{gap:7px}
  #activity-statistics-view.stats-visual-redesign .stats-chart-insights>div{
    padding:7px 9px;min-width:0;
  }
  #activity-statistics-view.stats-visual-redesign .stats-chart-insights strong{font-size:13px}
  #activity-statistics-view.stats-visual-redesign .stats-client-details>strong{
    overflow-wrap:anywhere;
  }
  #activity-statistics-view.stats-visual-redesign .stats-punctuality-main{
    grid-template-columns:1fr;
  }
  #activity-statistics-view.stats-visual-redesign .stats-punctuality-main>.stats-radial{
    max-width:164px;
  }
}
@media(prefers-reduced-motion:reduce){
  #activity-statistics-view.stats-visual-redesign *,
  #signed-in.app-shell .app-topbar .sfera-stats-topbar *{
    scroll-behavior:auto!important;animation:none!important;transition:none!important;
  }
}


/* Statistiche 2.22.0 — focused QA pass after real desktop review. */

/* A single, consistent navy icon system across ALL panels and the three KPI indexes. */
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind] .stats-kpi-head__index,
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > .activity-statistics-card .sfera-stats-card-icon,
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel] .sfera-stats-card-icon{
  box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;
  border:0!important;border-radius:11px!important;
  background:#0e2166!important;background-image:none!important;
  color:#fff!important;box-shadow:none!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-kpi[data-stats-kind] .stats-kpi-head__index{
  font:650 12px/1 Poppins,"Open Sans",sans-serif!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel] .sfera-stats-card-icon svg,
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel] .sfera-stats-card-icon svg *{
  color:#fff!important;stroke:#fff!important;fill:none!important;
}
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel] .sfera-stats-card-icon svg{
  display:block!important;width:19px!important;height:19px!important;overflow:visible!important;
}

/* KPI detail is open initially but can still be collapsed with the native disclosure. */
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown[open]{
  display:block;min-width:0;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown[open] > .stats-kpi-breakdown__body{
  max-height:280px;min-width:0;overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;scrollbar-color:#d4dff0 transparent;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown > summary{
  min-height:32px;align-items:center;
}
#activity-statistics-view.stats-visual-redesign .stats-kpi-breakdown > summary span{
  font-size:15px;transition:transform .16s ease;
}

/* Refresh: fixed geometric centering and no clipping from shared button rules. */
#signed-in.app-shell .app-topbar .sfera-stats-topbar button.sfera-stats-topbar__refresh{
  position:relative!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:0!important;margin:0!important;overflow:visible!important;
  font-size:0!important;line-height:0!important;text-align:center!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar button.sfera-stats-topbar__refresh > svg{
  position:static!important;display:block!important;flex:0 0 20px!important;
  box-sizing:content-box!important;
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
  padding:0!important;margin:0!important;overflow:visible!important;
  transform:none!important;inset:auto!important;
  fill:none!important;stroke:#e8f3ff!important;stroke-width:1.8!important;
  vertical-align:middle!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar button.sfera-stats-topbar__refresh > svg *{
  fill:none!important;stroke:#e8f3ff!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
#signed-in.app-shell .app-topbar .sfera-stats-topbar button.sfera-stats-topbar__refresh > .sr-only{
  position:absolute!important;display:block!important;width:1px!important;height:1px!important;
  min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;overflow:hidden!important;border:0!important;
}

/* The trend chart occupies the full card width on large monitors; responsive
   coordinates are measured by the renderer and rebuilt by ResizeObserver. */
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel="timeline"]{
  min-width:0!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly,
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly .stats-time-series,
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly .stats-time-series__chart{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:none!important;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly .stats-time-series__chart{
  overflow-x:auto!important;overflow-y:hidden!important;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly .stats-time-series__chart svg{
  display:block!important;box-sizing:border-box!important;
  width:100%!important;min-width:720px!important;max-width:none!important;
  height:310px!important;max-height:none!important;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-weekly .stats-chart-insights{
  margin:2px 0 7px;
}

/* No persistent instruction strip. Native SVG titles still expose precise values. */
#activity-statistics-view.stats-visual-redesign .stats-graph-focus{
  display:none!important;
}

/* The hourly plot is a genuinely different chart: horizontal stacked bars,
   not another line diagram. The original legend/table below remains the only one. */
#activity-statistics-view.stats-visual-redesign .activity-statistics-grid > [data-stats-panel="hourly"]{
  min-width:0!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly{
  min-width:0;width:100%;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly > .activity-statistics-work-hourly__intro{
  max-width:900px;margin:0 0 18px!important;color:#71839d;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly .activity-statistics-work-hourly__chart{
  box-sizing:border-box;overflow:visible!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition{
  display:grid;gap:15px;min-width:0;width:100%;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__heading{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:1px 0 4px;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__heading>div:first-child{
  display:flex;flex-direction:column;gap:4px;min-width:0;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__heading>div:first-child>strong{
  color:#123265;font:600 14px/1.35 Poppins,"Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__heading>div:first-child>span{
  color:#7f8fa5;font:400 11px/1.4 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__total{
  display:flex;align-items:baseline;gap:10px;padding:8px 13px;
  background:#edf4ff;border:1px solid #dfeafa;border-radius:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__total small{
  color:#627da8;font:500 11px/1.3 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__total strong{
  color:#0e2166;font:650 17px/1.3 Poppins,sans-serif;font-variant-numeric:tabular-nums;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__rows{
  display:grid;gap:8px;min-width:0;width:100%;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row{
  display:grid;grid-template-columns:135px minmax(0,1fr) 72px;align-items:center;gap:14px;
  box-sizing:border-box;min-width:0;padding:12px 15px;border:1px solid #edf1f7;
  border-radius:12px;background:#fff;transition:background-color .15s ease,border-color .15s ease;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row:nth-child(even){
  background:#fafcff;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row:is(:hover,:focus-within){
  background:#f4f8ff;border-color:#dce7f8;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row.is-peak{
  border-color:#dbe7f8;background:#f8fbff;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__label{
  display:flex;align-items:center;gap:7px;min-width:0;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__label>span{
  color:#2f496b;font:550 12px/1.4 "Open Sans",sans-serif;
  white-space:nowrap;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__label>small{
  padding:3px 5px;border-radius:5px;background:#eaf2ff;color:#285ba6;
  font:600 9px/1 Poppins,"Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__track{
  position:relative;display:flex;align-items:center;min-width:0;width:100%;
  height:24px;border-radius:7px;background:#edf2f8;
  overflow:hidden;box-shadow:inset 0 1px 1px rgba(23,51,96,.035);
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__stack{
  display:flex;align-items:stretch;min-width:0;height:100%;
  border-radius:7px;overflow:hidden;transform-origin:left center;
  transition:transform .85s cubic-bezier(.22,.8,.22,1);
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__segment{
  position:relative;display:block;flex:0 0 auto;height:100%;min-height:0;min-width:0;
  box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;outline-offset:1px;
  cursor:pointer;transition:opacity .13s ease,filter .13s ease;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__segment + .stats-hourly-row__segment{
  border-left:1px solid rgba(255,255,255,.42);
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__segment:is(:hover,:focus-visible){
  z-index:1;opacity:.84;filter:brightness(1.09);
  outline:2px solid #0e2166;outline-offset:-2px;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__empty{
  padding-left:12px;color:#9aa7b8;font:450 10px/1 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-row__value{
  color:#0e2166;text-align:right;white-space:nowrap;
  font:650 13px/1.4 Poppins,"Open Sans",sans-serif;
  font-variant-numeric:tabular-nums;
}
#activity-statistics-view.stats-visual-redesign .stats-hourly-composition__footer{
  display:flex;justify-content:space-between;
  margin:0 87px 0 164px;padding:0 2px;
  color:#92a1b6;font:450 10px/1.35 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly > .activity-statistics-legend{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px 15px;
  margin:16px 0 7px!important;padding:15px 0 0!important;
  border-top:1px solid #edf1f7;
  color:#506781;font:500 11px/1.4 "Open Sans",sans-serif;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly > .activity-statistics-legend>span{
  display:inline-flex;align-items:center;gap:7px;padding:2px 0;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly > .activity-statistics-legend>span i{
  width:9px;height:9px;border-radius:50%;flex:0 0 9px;
}
#activity-statistics-view.stats-visual-redesign #activity-statistics-work-hourly .activity-statistics-work-hourly__table-actions{
  margin-top:10px;
}
#activity-statistics-view.stats-visual-redesign .stats-motion-ready .stats-hourly-row__stack{
  transform:scaleX(.025);
}
#activity-statistics-view.stats-visual-redesign .stats-motion-ready.stats-motion-visible .stats-hourly-row__stack{
  transform:scaleX(1);
}
@media(max-width:850px){
  #activity-statistics-view.stats-visual-redesign .stats-hourly-row{
    grid-template-columns:110px minmax(0,1fr) 62px;gap:9px;padding:11px 10px;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-composition__footer{
    margin-left:128px;margin-right:74px;
  }
}
@media(max-width:560px){
  #activity-statistics-view.stats-visual-redesign .stats-hourly-row{
    grid-template-columns:minmax(0,1fr) 64px;gap:8px 10px;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-row__label{
    grid-column:1;grid-row:1;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-row__value{
    grid-column:2;grid-row:1;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-row__track{
    grid-column:1/-1;grid-row:2;height:20px;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-composition__footer{
    margin:0;padding:0 5px;
  }
  #activity-statistics-view.stats-visual-redesign .stats-hourly-composition__total{
    padding:7px 10px;
  }
}
@media(prefers-reduced-motion:reduce){
  #activity-statistics-view.stats-visual-redesign .stats-motion-ready .stats-hourly-row__stack{
    transform:none!important;
  }
}
