
/* V225 — Mobile KPI: stack the three KPI cards vertically. */
@media (max-width:1100px){
  .v220-global-kpi-summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:8px!important;
    padding:11px!important;
    width:100%!important;
    overflow:hidden!important;
  }

  /* Header is its own full-width row. */
  .v220-global-kpi-summary > .w-full{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    padding:4px 145px 9px 2px!important;
    margin:0!important;
    border-right:0!important;
    border-bottom:1px solid color-mix(in srgb,var(--border) 78%,transparent)!important;
  }

  .v220-global-kpi-summary > .h-10.w-px{
    display:none!important;
  }

  /* Each KPI is one full-width row, top to bottom. */
  .v220-global-kpi-summary > div:not(.w-full):not(.h-10):not(.v223-kpi-detail-wrap){
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:72px!important;
    margin:0!important;
    padding:11px 12px!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    row-gap:2px!important;
    align-items:center!important;
    border-radius:10px!important;
  }

  .v220-global-kpi-summary > div.flex.items-center.gap-3 > div:first-child{
    grid-column:1!important;
    grid-row:1/3!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    margin:0!important;
    align-self:center!important;
  }

  .v220-global-kpi-summary > div.flex.items-center.gap-3 > div:first-child svg{
    width:16px!important;
    height:16px!important;
  }

  /* Content block to the right of icon. */
  .v220-global-kpi-summary > div.flex.items-center.gap-3 > div:last-child{
    grid-column:2!important;
    grid-row:1/3!important;
    min-width:0!important;
    width:100%!important;
  }

  .v220-global-kpi-summary .eyebrow{
    font-size:8.5px!important;
    line-height:1.25!important;
    letter-spacing:.045em!important;
    white-space:normal!important;
  }

  .v220-global-kpi-summary .stat-figure{
    width:100%!important;
    margin-top:4px!important;
    font-size:clamp(15px,3.2vw,20px)!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }

  /* Link remains top-right without overlapping. */
  .v223-kpi-detail-wrap{
    top:11px!important;
    right:12px!important;
    max-width:135px!important;
  }

  .v223-kpi-detail-link{
    font-size:8px!important;
  }
}

@media (max-width:560px){
  .v220-global-kpi-summary{
    gap:6px!important;
    padding:8px!important;
  }

  .v220-global-kpi-summary > .w-full{
    padding:3px 105px 7px 1px!important;
  }

  .v220-global-kpi-summary > div:not(.w-full):not(.h-10):not(.v223-kpi-detail-wrap){
    min-height:66px!important;
    padding:9px 10px!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    column-gap:8px!important;
  }

  .v220-global-kpi-summary > div.flex.items-center.gap-3 > div:first-child{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
  }

  .v220-global-kpi-summary .eyebrow{
    font-size:7.5px!important;
  }

  .v220-global-kpi-summary .stat-figure{
    font-size:clamp(14px,4vw,18px)!important;
  }

  .v223-kpi-detail-wrap{
    top:8px!important;
    right:8px!important;
    max-width:98px!important;
  }

  .v223-kpi-detail-link{
    font-size:6.8px!important;
  }
}
