/* Migliorshop Pay · Sfera Studio 2.10.0.
 * Independent editorial KPIs on the existing grey CRM canvas; table/filters
 * use the same Task/Google Ads grammar, not an additional white macrobox.
 */
#hub-view[data-hub-section="pay"] #hub-migliorshop-pay{
  padding:0!important;margin:0!important;min-width:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  color:#1f2a44;font-family:Poppins,"Open Sans",sans-serif;
}
#hub-view #hub-migliorshop-pay > :is(.hub-pay__summary,.hub-pay__filters,.hub-pay__table-wrap,[data-pay-count],[data-pay-status-text]){
  display:none!important;
}
#hub-view #hub-migliorshop-pay .pay-studio{
  box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0 0 26px;
  background:transparent;color:#1f2a44;
}
#hub-view #hub-migliorshop-pay .pay-studio *{box-sizing:border-box}
#hub-view #hub-migliorshop-pay .pay-studio[hidden]{display:none!important}
#hub-view #hub-migliorshop-pay .pay-studio__metrics{
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(0,1.07fr);
  gap:12px;margin:0 0 12px;padding:0;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric{
  display:flex;flex-direction:column;min-width:0;min-height:177px;
  position:relative;overflow:hidden;padding:17px 19px 15px;
  background:#fff;border:1px solid #e3e9f3;border-radius:15px;
  box-shadow:0 5px 18px rgba(24,56,104,.035);
  transition:border-color .22s,box-shadow .22s,transform .22s;
}
/* Identical neutral surfaces, three purpose-built information hierarchies.
 * The visual accents are in real data and charts, not coloured card outlines. */
#hub-view #hub-migliorshop-pay .pay-studio__metric--active{
  display:grid;grid-template-columns:minmax(0,.73fr) minmax(0,1fr);
  grid-template-rows:auto 1fr;column-gap:12px;align-items:stretch;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--rate{
  background:#fff;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--fee{
  background:#fff;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  color:#546784;font:700 10.5px/1.4 Poppins,"Open Sans",sans-serif;
  letter-spacing:.015em;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-head>i{
  display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;
  border-radius:10px;background:#0e2166;color:#fff;font-style:normal;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-head svg{
  display:block;width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-main{
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:8px 0 6px;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-main strong{
  color:#0e2166;font:750 clamp(24px,2.35vw,34px)/1.16 Poppins,"Open Sans",sans-serif;
  letter-spacing:-.045em;font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-main>span{
  color:#8091a9;font:500 10px/1.4 Poppins,"Open Sans",sans-serif;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-foot{
  display:flex;flex-direction:column;gap:4px;margin-top:auto;
  color:#8091a9;font:500 10px/1.4 Poppins,"Open Sans",sans-serif;
}
#hub-view #hub-migliorshop-pay .pay-studio__timeline{
  display:flex;align-items:flex-end;gap:6px;min-height:37px;height:37px;
  max-width:210px;
}
#hub-view #hub-migliorshop-pay .pay-studio__timeline-year{
  display:flex;flex:1 1 0;flex-direction:column;align-items:center;gap:4px;height:37px;
}
#hub-view #hub-migliorshop-pay .pay-studio__timeline-year i{
  display:block;margin-top:auto;width:min(100%,24px);min-height:3px;
  border-radius:3px 3px 1px 1px;background:#6ca8f2;transition:height .5s ease;
}
#hub-view #hub-migliorshop-pay .pay-studio__timeline-year:nth-child(odd) i{background:#0e2166}
#hub-view #hub-migliorshop-pay .pay-studio__timeline-year small{
  margin:0;color:#8ba0bd;font:600 9px/1 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__range{
  display:flex;align-items:center;gap:9px;min-height:22px;width:100%
}
#hub-view #hub-migliorshop-pay .pay-studio__range>span{
  flex:0 0 auto;color:#667c9c;font:600 10px Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__range-track{
  flex:1 1 auto;position:relative;min-width:30px;height:5px;
  background:#e6edf8;border-radius:9px;
}
#hub-view #hub-migliorshop-pay .pay-studio__range-track:before{
  position:absolute;inset:0;content:"";background:#91b9ec;border-radius:9px;opacity:.66
}
#hub-view #hub-migliorshop-pay .pay-studio__range-track>i{
  position:absolute;top:50%;display:block;width:12px;height:12px;
  transform:translate(-50%,-50%);border:3px solid #fff;
  border-radius:50%;background:#0e2166;box-shadow:0 0 0 1px #0e2166;
  transition:left .5s ease;
}
#hub-view #hub-migliorshop-pay .pay-studio__range-track>i[hidden]{display:none}
#hub-view #hub-migliorshop-pay .pay-studio__metric-foot>small{
  color:#8fa0b8;font:500 9px/1.4 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-points{
  position:relative;height:27px;min-width:0;margin:4px 6px 0;
  border-bottom:1px solid #dce6f2;
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-points:before{
  content:"";position:absolute;left:0;right:0;top:12px;height:2px;background:#e9eff7
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-points>span{
  position:absolute;top:7px;width:10px;height:10px;
  transform:translateX(-50%);border:2px solid #fff;border-radius:50%;
  background:#0b7ff0;box-shadow:0 0 0 1px #98bee7;
  transition:left .4s ease;
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-points>span:nth-child(3n+1){background:#0e2166}
#hub-view #hub-migliorshop-pay .pay-studio__directory{
  min-width:0;padding:0 0 12px;background:#fff;border:1px solid #dfe7f2;
  border-radius:15px;box-shadow:0 6px 17px rgba(19,50,98,.035);
}
#hub-view #hub-migliorshop-pay .pay-studio__toolbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;min-height:61px;padding:7px 17px 13px;
  background:#fff!important;border-radius:15px 15px 0 0;
  border-bottom:1px solid #edf1f7;
}
#hub-view #hub-migliorshop-pay .pay-studio__count{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:6px 13px;border:1px solid #dce7fb;
  border-radius:9px;background:#eff4ff;color:#214b9a;
  font:650 12px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__funnel{
  display:grid!important;place-items:center!important;position:relative;
  min-width:41px!important;width:41px!important;height:41px!important;
  padding:0!important;border:1px solid #dce5f0!important;border-radius:10px!important;
  background:#fff!important;color:#0e2166!important;box-shadow:none!important;
  cursor:pointer;
}
#hub-view #hub-migliorshop-pay .pay-studio__funnel:is([aria-expanded="true"],.is-active){
  border-color:#aed8fa!important;color:#0b7ff0!important;background:#f2f8ff!important
}
#hub-view #hub-migliorshop-pay .pay-studio__funnel svg{width:19px;height:19px}
#hub-view #hub-migliorshop-pay .pay-studio__filter-count{
  position:absolute;top:-8px;right:-8px;z-index:2;display:grid;place-items:center;
  min-width:19px;height:19px;padding:0 4px;border:2px solid #fff;border-radius:50%;
  background:#0b7ff0;color:#fff;font:700 10px Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-count[hidden],
#hub-view #hub-migliorshop-pay .pay-studio__filters[hidden],
#hub-view #hub-migliorshop-pay .pay-studio__select-menu[hidden],
#hub-view #hub-migliorshop-pay .pay-studio__empty[hidden],
#hub-view #hub-migliorshop-pay .pay-studio__feedback[hidden]{display:none!important}
#hub-view #hub-migliorshop-pay .pay-studio__filters{
  display:block;padding:20px 22px;
  background:#fafbfd;border-top:1px solid #e5eaf2;border-bottom:1px solid #e5eaf2;
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;align-items:end
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-field{
  display:flex;flex-direction:column;gap:6px;min-width:0;
  color:#586b85;font:500 11px/1.35 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-field input{
  min-width:0;width:100%;height:40px;min-height:40px;
  padding:8px 11px;border:1px solid #dce5f0;border-radius:8px;
  color:#1f2a44;background:#fff;font:400 12px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__select{position:relative;min-width:0}
#hub-view #hub-migliorshop-pay .pay-studio__select-trigger{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:9px!important;width:100%!important;height:40px!important;
  padding:8px 11px!important;border:1px solid #dce5f0!important;
  border-radius:8px!important;background:#fff!important;color:#1f2a44!important;
  box-shadow:none!important;text-align:left!important;
  font:400 12px/1.3 Poppins,"Open Sans",sans-serif!important;
  cursor:pointer;
}
#hub-view #hub-migliorshop-pay .pay-studio__select-trigger svg{
  width:15px;height:15px;transform:rotate(90deg);color:#657b99
}
#hub-view #hub-migliorshop-pay .pay-studio__select-trigger[aria-expanded="true"]{
  border-color:#0b7ff0!important;box-shadow:0 0 0 3px rgba(11,127,240,.09)!important;
}
#hub-view #hub-migliorshop-pay .pay-studio__select-menu{
  position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:35;
  max-height:220px;overflow-y:auto;padding:5px;border:1px solid #dce5f0;
  border-radius:10px;background:#fff;box-shadow:0 12px 25px rgba(14,33,102,.12);
}
#hub-view #hub-migliorshop-pay .pay-studio__select-menu>button{
  display:block;width:100%;min-height:34px;padding:8px 10px!important;
  border:0!important;border-radius:7px!important;background:#fff!important;
  box-shadow:none!important;color:#38506f!important;text-align:left;
  font:500 11.5px/1.35 Poppins,"Open Sans",sans-serif!important;cursor:pointer
}
#hub-view #hub-migliorshop-pay .pay-studio__select-menu>button:is(:hover,:focus-visible){
  background:#edf4ff!important;color:#0e2166!important;outline:0!important;
}
#hub-view #hub-migliorshop-pay .pay-studio__select-menu>button.is-selected{
  background:#f2f6ff!important;color:#0b7ff0!important;font-weight:700!important
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-actions{
  display:flex;align-items:center;justify-content:center;gap:9px;
  margin-top:18px;padding-top:16px;border-top:1px solid #e5eaf2
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-actions>button{
  min-width:145px!important;min-height:40px!important;
  padding:9px 16px!important;border:1px solid #dce5f0!important;
  border-radius:9px!important;background:#fff!important;color:#49607d!important;
  box-shadow:none!important;font:600 11px/1.3 Poppins,"Open Sans",sans-serif!important
}
#hub-view #hub-migliorshop-pay .pay-studio__filter-actions>button[data-pay-apply]{
  background:#0b7ff0!important;border-color:#0b7ff0!important;color:#fff!important
}
#hub-view #hub-migliorshop-pay .pay-studio__feedback{
  margin:0 17px 9px;padding:10px 12px;
  border:1px solid #dce8f5;border-radius:9px;background:#f2f7ff;
  color:#4b6585;font:500 11px/1.45 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__feedback[data-tone="error"]{
  color:#ae3030;background:#fff5f4;border-color:#f2c7c5
}
#hub-view #hub-migliorshop-pay .pay-studio__feedback[data-tone="warning"]{
  color:#9b630d;background:#fffaf0;border-color:#f4ddb4
}
#hub-view #hub-migliorshop-pay .pay-studio__table-scroll{
  display:block;box-sizing:border-box;width:calc(100% - 34px);max-width:calc(100% - 34px);
  margin:0 17px;padding:0;border:1px solid #e3eaf5;border-radius:12px;
  background:#f6f8fc;overflow-x:auto;overflow-y:visible;scrollbar-width:thin
}
#hub-view #hub-migliorshop-pay .pay-studio__table{
  display:table;min-width:1250px;width:100%;margin:0;border-collapse:collapse;
  border-spacing:0;table-layout:fixed;background:#fff
}
#hub-view #hub-migliorshop-pay .pay-studio__table thead{display:table-header-group;background:#f6f8fc}
#hub-view #hub-migliorshop-pay .pay-studio__table th{
  height:48px!important;vertical-align:middle!important;padding:0 14px!important;
  background:#f6f8fc!important;border:0!important;border-bottom:1px solid #dfe7f3!important;
  color:#586f91!important;text-align:left!important;
  font:700 11px/1.4 Poppins,"Open Sans",sans-serif!important;white-space:nowrap
}
#hub-view #hub-migliorshop-pay .pay-studio__table th>button{
  display:flex!important;align-items:center!important;gap:6px!important;
  width:100%!important;height:48px!important;min-height:48px!important;
  padding:0!important;border:0!important;background:transparent!important;
  box-shadow:none!important;color:#586f91!important;text-align:left!important;
  font:700 11px/1.4 Poppins,"Open Sans",sans-serif!important
}
#hub-view #hub-migliorshop-pay .pay-studio__table tbody tr{
  cursor:pointer;transition:background-color .15s ease
}
#hub-view #hub-migliorshop-pay .pay-studio__table tbody tr:hover td{background:#f5f8ff!important}
#hub-view #hub-migliorshop-pay .pay-studio__table td{
  height:67px;padding:13px 14px!important;border-bottom:1px solid #edf1f6!important;
  vertical-align:middle!important;color:#2b4368;background:#fff;
  font:500 12px/1.48 "Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__table tbody tr:last-child td{border-bottom:0}
#hub-view #hub-migliorshop-pay .pay-studio__company{
  display:flex;align-items:center;gap:11px;min-width:0;overflow:hidden
}
#hub-view #hub-migliorshop-pay .pay-studio__avatar{
  display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
  border-radius:11px;background:#eaf1fc;color:#3472c5;
  font:700 12px/1 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__company>span:last-child{
  display:block;min-width:0;overflow:hidden
}
#hub-view #hub-migliorshop-pay .pay-studio__company :is(strong,small){
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
#hub-view #hub-migliorshop-pay .pay-studio__company strong{
  color:#142f60;font:700 12.5px/1.4 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__company small{
  color:#91a0b5;font:400 10.5px/1.4 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__status{
  display:inline-flex;align-items:center;gap:7px;min-height:27px;padding:5px 10px;
  border-radius:999px;border:1px solid transparent;white-space:nowrap;
  font:650 11px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__status i{
  display:block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:currentColor
}
#hub-view #hub-migliorshop-pay .pay-studio__status.is-active{
  color:#168a51;background:#eaf8ef;border-color:#cbe8d5
}
#hub-view #hub-migliorshop-pay .pay-studio__status.is-inactive{
  color:#77869b;background:#f2f4f7;border-color:#e1e6ed
}
#hub-view #hub-migliorshop-pay .pay-studio__notes{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:202px;
  color:#667a94
}
#hub-view #hub-migliorshop-pay .pay-studio__actions{white-space:nowrap;overflow:visible!important}
#hub-view #hub-migliorshop-pay .pay-studio__actions button{
  display:inline-grid!important;place-items:center!important;
  width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
  margin-right:3px;padding:0!important;border:1px solid #e2e8f2!important;
  border-radius:8px!important;background:#fff!important;color:#476184!important;
  box-shadow:none!important
}
#hub-view #hub-migliorshop-pay .pay-studio__actions button:hover{
  color:#0b7ff0!important;border-color:#bad7f5!important;background:#f3f8ff!important
}
#hub-view #hub-migliorshop-pay .pay-studio__actions svg{width:16px;height:16px}
#hub-view #hub-migliorshop-pay .pay-studio__empty{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  min-height:150px;gap:8px;padding:20px;text-align:center;color:#8393ad
}
#hub-view #hub-migliorshop-pay .pay-studio__empty svg{width:24px;height:24px}
#hub-view #hub-migliorshop-pay .pay-studio__empty strong{font:700 13px Poppins,"Open Sans",sans-serif;color:#1f3b65}
#hub-view #hub-migliorshop-pay .pay-studio__empty span{font:400 11px Poppins,"Open Sans",sans-serif}
#hub-view #hub-migliorshop-pay .pay-studio__pagination{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 17px 0;color:#71849e;font:500 10.5px Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__pagination>div{display:flex;align-items:center;gap:8px}
#hub-view #hub-migliorshop-pay .pay-studio__pagination button{
  display:grid!important;place-items:center!important;width:34px!important;height:34px!important;
  min-width:34px!important;padding:0!important;
  border:1px solid #dee6f2!important;border-radius:8px!important;
  background:#fff!important;color:#0e2166!important;box-shadow:none!important
}
#hub-view #hub-migliorshop-pay .pay-studio__pagination button:disabled{
  opacity:.43!important;cursor:not-allowed
}
#hub-view #hub-migliorshop-pay .pay-studio__pagination strong{color:#1f3b65;font:700 11px Poppins,"Open Sans",sans-serif}
/* The read-only detail drawer is intentionally lighter than the editable
 * canonical form, which retains the original server-side validation paths. */
.pay-studio__detail{position:fixed;inset:0;z-index:2390}
.pay-studio__detail-backdrop{
  position:absolute;inset:0;width:100%;height:100%;border:0;
  background:rgba(16,34,66,.42);cursor:default
}
.pay-studio__detail-panel{
  position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;
  width:min(540px,100vw);height:100dvh;max-height:100dvh;
  background:#f7faff;box-shadow:-14px 0 35px rgba(14,33,102,.14);
  animation:pay-studio-slide .2s ease both
}
.pay-studio__detail-head{
  flex:0 0 auto;padding:18px 20px 17px;border-bottom:1px solid #e3ebf5;
  background:#fff
}
.pay-studio__detail-head>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pay-studio__detail-head small{
  color:#0b7ff0;font:800 9.5px/1.3 Poppins,"Open Sans",sans-serif;letter-spacing:.05em
}
.pay-studio__detail-head button{
  display:grid;place-items:center;width:35px;height:35px;min-width:35px;
  padding:0;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#637e9f
}
.pay-studio__detail-head button svg{width:16px;height:16px}
.pay-studio__detail-head h2{margin:8px 0 4px;color:#0e2166;font:700 19px/1.25 Poppins,"Open Sans",sans-serif}
.pay-studio__detail-head p{margin:0;color:#8a9bb0;font:400 11px Poppins,"Open Sans",sans-serif}
.pay-studio__detail-scroll{flex:1 1 0;min-height:0;overflow-y:auto;padding:15px}
.pay-studio__detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:11px}
.pay-studio__detail-summary>div{
  display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #dce5f1;
  border-radius:11px;background:#fff
}
.pay-studio__detail-summary small{color:#70829b;font:600 10px Poppins,"Open Sans",sans-serif}
.pay-studio__detail-summary strong{color:#0e2166;font:750 17px Poppins,"Open Sans",sans-serif}
.pay-studio__detail-section{
  margin-bottom:10px;padding:16px 17px;background:#fff;
  border:1px solid #dce5f1;border-radius:12px
}
.pay-studio__detail-section h3{
  margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e8edf5;
  color:#0e2166;font:700 12px Poppins,"Open Sans",sans-serif
}
.pay-studio__detail-section dl{margin:0}
.pay-studio__detail-section dl>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0}
.pay-studio__detail-section dt{color:#8091a7;font:500 11px Poppins,"Open Sans",sans-serif}
.pay-studio__detail-section dd{margin:0;color:#243c61;font:650 11px Poppins,"Open Sans",sans-serif;text-align:right}
.pay-studio__detail-notes{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#465f7d;font:400 11px/1.65 Poppins,"Open Sans",sans-serif}
.pay-studio__detail-actions{
  display:flex;justify-content:flex-end;align-items:center;gap:8px;
  flex:0 0 auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  background:#fff;border-top:1px solid #dce5f1
}
.pay-studio__detail-actions button{
  display:inline-flex;justify-content:center;align-items:center;gap:7px;
  min-height:42px;padding:10px 15px;border:1px solid #dce5f1;
  border-radius:9px;background:#fff;color:#385574;box-shadow:none;
  font:700 11px Poppins,"Open Sans",sans-serif
}
.pay-studio__detail-actions button.is-primary{background:#0b7ff0;border-color:#0b7ff0;color:#fff}
.pay-studio__detail-actions svg{width:15px;height:15px}
@keyframes pay-studio-slide{from{transform:translateX(20px);opacity:.6}to{transform:translateX(0);opacity:1}}
@keyframes pay-studio-loading{to{transform:rotate(360deg)}}
@keyframes pay-studio-count{from{opacity:.74;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
#hub-view #hub-migliorshop-pay .pay-studio__metric-main strong.is-counting{animation:pay-studio-count .75s ease}
#hub-view #hub-migliorshop-pay .pay-studio__drawer-loading{min-height:44px}
#hub-pay-dialog.hub-pay__modal:not([hidden]),#hub-pay-history.hub-pay__modal:not([hidden]){
  position:fixed!important;inset:0!important;display:block!important;
  padding:0!important;z-index:2500!important
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__backdrop,
#hub-pay-history.hub-pay__modal .hub-dialog__backdrop{
  position:absolute!important;inset:0!important;background:rgba(16,34,66,.42)!important
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__panel.hub-convention__dialog,
#hub-pay-history.hub-pay__modal .hub-dialog__panel.hub-convention__dialog,
#hub-pay-dialog.hub-pay__modal .hub-dialog__panel.hub-convention__dialog:has(> .hub-convention__form){
  position:absolute!important;display:flex!important;flex-direction:column!important;
  grid-template:none!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
  width:min(540px,100vw)!important;max-width:100vw!important;min-width:0!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  transform:none!important;overflow:hidden!important;background:#f7faff!important;
  box-shadow:-14px 0 35px rgba(14,33,102,.17)!important;
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__panel.hub-convention__dialog > .hub-dialog__header,
#hub-pay-history.hub-pay__modal .hub-dialog__panel.hub-convention__dialog > .hub-dialog__header{
  flex:0 0 auto!important;width:100%!important;padding:18px 19px 16px!important;
  border:0!important;border-bottom:1px solid #e2eaf4!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__header h2,
#hub-pay-history.hub-pay__modal .hub-dialog__header h2{
  color:#0e2166!important;font:700 20px/1.28 Poppins,"Open Sans",sans-serif!important
}
#hub-pay-dialog.hub-pay__modal .hub-convention__form{
  display:flex!important;flex-direction:column!important;flex:1 1 0!important;
  grid-template:none!important;width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:hidden!important
}
#hub-pay-dialog.hub-pay__modal .hub-convention__form > .hub-convention__modal-body{
  display:block!important;flex:1 1 0!important;width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:14px 15px!important;overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-gutter:stable
}
#hub-pay-dialog.hub-pay__modal .hub-convention__section{
  width:100%!important;min-width:0!important;margin:0 0 11px!important;
  padding:14px 15px!important;border:1px solid #dce6f1!important;
  border-radius:12px!important;background:#fff!important;box-shadow:none!important
}
#hub-pay-dialog.hub-pay__modal .hub-convention__section-heading h3{
  color:#0e2166!important;font:700 13px/1.3 Poppins,"Open Sans",sans-serif!important
}
#hub-pay-dialog.hub-pay__modal .hub-pay__form-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important
}
#hub-pay-dialog.hub-pay__modal .hub-pay__form-grid label{
  min-width:0!important
}
#hub-pay-dialog.hub-pay__modal .hub-convention__form > .hub-dialog__footer,
#hub-pay-history.hub-pay__modal .hub-dialog__panel > .hub-dialog__footer{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;grid-row:auto!important;position:relative!important;bottom:auto!important;
  min-height:68px!important;max-height:none!important;width:100%!important;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;
  margin:0!important;border:0!important;border-top:1px solid #dfe8f3!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__footer button[type="submit"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:165px!important;min-height:44px!important;
  padding:10px 18px!important;border:1px solid #0b7ff0!important;
  border-radius:10px!important;background:#0b7ff0!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(11,127,240,.11)!important;
  font:700 12px/1.3 Poppins,"Open Sans",sans-serif!important
}
#hub-pay-dialog.hub-pay__modal .hub-dialog__footer button[type="submit"]:hover:not(:disabled){
  background:#096ed0!important;border-color:#096ed0!important
}
#hub-pay-history.hub-pay__modal .hub-pay__history{
  display:block!important;flex:1 1 0!important;min-height:0!important;
  height:auto!important;max-height:none!important;padding:16px!important;
  overflow-y:auto!important;background:#f7faff!important
}
#hub-pay-history.hub-pay__modal .hub-dialog__footer button{
  width:auto!important;min-height:40px!important;border-radius:9px!important
}
#hub-pay-dialog.hub-pay__modal .pay-studio__drawer-loading{
  display:inline-flex!important;align-items:center!important;gap:9px;
  min-height:44px!important;height:44px!important;max-height:44px!important;
  width:max-content!important;max-width:calc(100% - 30px)!important;
  margin:15px!important;padding:11px 13px!important;
  border:1px solid #e0e8f4!important;border-radius:10px!important;
  background:#fff!important;color:#637993!important;
  font:600 11px Poppins,"Open Sans",sans-serif!important
}
#hub-pay-dialog.hub-pay__modal .pay-studio__drawer-loading i{
  display:block;width:16px;height:16px;flex:0 0 16px;
  border-radius:50%;border:2px solid #cde0f7;border-top-color:#0b7ff0;
  animation:pay-studio-loading .65s linear infinite
}
@media(hover:hover) and (pointer:fine){
  #hub-view #hub-migliorshop-pay .pay-studio__metric:hover{
    transform:translateY(-2px);border-color:#cbdcf2;box-shadow:0 8px 22px rgba(14,33,102,.055)
  }
}
@media(max-width:1120px){
  #hub-view #hub-migliorshop-pay .pay-studio__metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active{grid-column:1/-1}
  #hub-view #hub-migliorshop-pay .pay-studio__filter-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(max-width:800px){
  #hub-view #hub-migliorshop-pay .pay-studio__filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:760px){
  #hub-view #hub-migliorshop-pay .pay-studio__metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric{
    min-height:155px;padding:12px!important
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active{grid-column:1/-1}
  #hub-view #hub-migliorshop-pay .pay-studio__metric-main strong{font-size:25px}
  #hub-view #hub-migliorshop-pay .pay-studio__filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #hub-view #hub-migliorshop-pay .pay-studio__filters{padding:15px 12px}
  #hub-view #hub-migliorshop-pay .pay-studio__toolbar{padding-inline:12px}
  #hub-view #hub-migliorshop-pay .pay-studio__table-scroll{
    width:calc(100% - 20px);max-width:calc(100% - 20px);
    margin:0 10px;overflow:visible;background:#fff
  }
  #hub-view #hub-migliorshop-pay .pay-studio__table{
    display:block;width:100%;min-width:0
  }
  #hub-view #hub-migliorshop-pay .pay-studio__table colgroup,
  #hub-view #hub-migliorshop-pay .pay-studio__table thead{display:none!important}
  #hub-view #hub-migliorshop-pay .pay-studio__table tbody{display:block;padding:0 9px 9px}
  #hub-view #hub-migliorshop-pay .pay-studio__table tbody tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px 10px;margin-top:9px;padding:13px;
    border:1px solid #e0e8f3;border-radius:12px
  }
  #hub-view #hub-migliorshop-pay .pay-studio__table td{
    display:block;height:auto!important;padding:0!important;
    border:0!important;white-space:normal!important
  }
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(1),
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(2),
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(7){grid-column:1/-1}
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(6){display:none}
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(3):before{content:"Commissioni"}
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(4):before{content:"Tariffa"}
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(5):before{content:"Firma"}
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(3):before,
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(4):before,
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(5):before{
    display:block;margin-bottom:5px;color:#8597b0;font:600 10px Poppins,"Open Sans",sans-serif
  }
  #hub-view #hub-migliorshop-pay .pay-studio__table td:nth-child(7){text-align:right}
  .pay-studio__detail-panel{width:100vw}
  #hub-pay-dialog.hub-pay__modal .hub-dialog__panel.hub-convention__dialog,
  #hub-pay-history.hub-pay__modal .hub-dialog__panel.hub-convention__dialog{
    width:100vw!important;max-width:100vw!important
  }
  #hub-pay-dialog.hub-pay__modal .hub-pay__form-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:475px){
  #hub-view #hub-migliorshop-pay .pay-studio__filter-grid{grid-template-columns:minmax(0,1fr)}
  #hub-view #hub-migliorshop-pay .pay-studio__filter-actions button{
    min-width:0!important;flex:1 1 0!important;padding-inline:8px!important
  }
  .pay-studio__detail-summary{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  #hub-view #hub-migliorshop-pay .pay-studio__metric,
  #hub-view #hub-migliorshop-pay .pay-studio__table tbody tr,
  #hub-view #hub-migliorshop-pay .pay-studio__timeline-year i,
  #hub-view #hub-migliorshop-pay .pay-studio__range-track>i,
  #hub-view #hub-migliorshop-pay .pay-studio__fee-points>span{
    animation:none!important;transition:none!important;transform:none!important
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric-main strong.is-counting,
  .pay-studio__detail-panel,
  #hub-pay-dialog.hub-pay__modal .pay-studio__drawer-loading i{
    animation:none!important
  }
}

/* Sfera Pay 2.10.1 — editorial KPI compositions */
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-head{
  grid-column:1/-1;margin-bottom:13px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main{
  align-self:center;margin:0;gap:2px;flex-direction:column;align-items:flex-start
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main strong{
  font-size:clamp(37px,3.3vw,47px);line-height:1
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main>span{
  font-size:10px;max-width:155px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-foot{
  align-self:stretch;justify-content:center;min-width:0;margin:0;
  padding:10px 12px;border-radius:11px;background:#f5f8fd
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__timeline{
  height:48px;max-width:none;gap:9px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__timeline-year{
  height:48px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__timeline-year i{
  border-radius:5px 5px 2px 2px;animation:pay-studio-chart-grow .6s cubic-bezier(.2,.8,.2,1) both;
  transform-origin:bottom
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--rate .pay-studio__metric-main{
  margin:11px 0 5px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--rate .pay-studio__metric-foot{
  gap:5px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric-caption{
  color:#8190a8;font:550 10px/1.4 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__rate-chart{
  display:flex;align-items:flex-end;justify-content:space-between;gap:6px;
  height:37px;min-height:37px;padding:0 3px 0;border-bottom:1px solid #e3eaf4
}
#hub-view #hub-migliorshop-pay .pay-studio__rate-chart>small{
  align-self:center;color:#96a5b9;font:500 9px Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__rate-bin{
  display:flex;align-items:flex-end;justify-content:center;
  flex:1 1 0;height:100%;min-width:0
}
#hub-view #hub-migliorshop-pay .pay-studio__rate-bin i{
  display:block;width:min(100%,33px);height:var(--pay-bin-height);
  border-radius:4px 4px 0 0;background:#9ab9e8;
  transform-origin:bottom;animation:pay-studio-chart-grow .65s cubic-bezier(.2,.8,.2,1) both
}
#hub-view #hub-migliorshop-pay .pay-studio__rate-bin:nth-child(3) i{background:#0e2166}
#hub-view #hub-migliorshop-pay .pay-studio__metric--fee .pay-studio__metric-main{
  margin:15px 0 11px
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--fee .pay-studio__metric-main strong{
  font-size:clamp(27px,2.6vw,38px)
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--fee .pay-studio__fee-points{
  margin-top:6px
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-scale{
  display:flex;justify-content:space-between;gap:12px;
  color:#7d8da7;font:600 10px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-migliorshop-pay .pay-studio__fee-scale small{
  font:inherit;color:inherit
}
#hub-view #hub-migliorshop-pay .pay-studio__metric:focus-within{
  outline:2px solid #8ab9f5;outline-offset:2px
}
#hub-view #hub-migliorshop-pay .pay-studio__directory{overflow:visible}
#hub-view #hub-migliorshop-pay .pay-studio__toolbar,
#hub-view #hub-migliorshop-pay .pay-studio__toolbar:before,
#hub-view #hub-migliorshop-pay .pay-studio__toolbar:after{
  box-shadow:none!important
}
#hub-pay-dialog.hub-pay__modal > .hub-company-picker__results{
  position:fixed!important;z-index:2601!important;
  top:auto;right:auto;bottom:auto;max-height:252px;
  overscroll-behavior:contain;box-shadow:0 15px 35px rgba(14,33,102,.15)!important
}
@keyframes pay-studio-chart-grow{
  from{transform:scaleY(.06);opacity:.35}
  to{transform:scaleY(1);opacity:1}
}
@media(max-width:950px){
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main strong{
    font-size:38px
  }
}
@media(max-width:600px){
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active{
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-head{
    grid-column:1
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-foot{
    margin-top:10px
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--fee .pay-studio__metric-main strong{
    font-size:25px
  }
}
@media(max-width:380px){
  #hub-view #hub-migliorshop-pay .pay-studio__metrics{
    grid-template-columns:minmax(0,1fr)
  }
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active{
    grid-column:auto
  }
}
@media(prefers-reduced-motion:reduce){
  #hub-view #hub-migliorshop-pay .pay-studio__rate-bin i,
  #hub-view #hub-migliorshop-pay .pay-studio__timeline-year i{
    animation:none!important;transition:none!important;transform:none!important
  }
}


/* 2.12.5 · Pay: nested KPI surface and true client-count mosaic. */
#hub-view #hub-migliorshop-pay .pay-studio__metrics{
  box-sizing:border-box;padding:16px!important;margin-bottom:12px!important;
  background:#fff;border:1px solid #dfe7f2;border-radius:16px;
  box-shadow:0 6px 17px rgba(19,50,98,.035);
}
#hub-view #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric{
  background:#f9fbff;box-shadow:none;border-color:#e5ebf5;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active{
  background:#f4f8ff!important;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr);column-gap:18px;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main{
  align-self:center;gap:8px;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--active .pay-studio__metric-main>span{
  max-width:175px;color:#607793;line-height:1.55;
}
#hub-view #hub-migliorshop-pay .pay-studio__active-visual{
  display:flex;flex-direction:column;justify-content:center;align-self:stretch;
  gap:9px;min-width:0;min-height:98px;margin:0;padding:14px;
  border:1px solid #e0eaf8;border-radius:12px;background:#edf4ff;
}
#hub-view #hub-migliorshop-pay .pay-studio__active-dots{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;
  justify-items:center;gap:9px;max-width:166px;width:100%;margin:0 auto;
}
#hub-view #hub-migliorshop-pay .pay-studio__active-dot{
  display:block;width:17px;height:17px;border-radius:6px;
  border:3px solid #e2edff;background:#0b7ff0;
  box-shadow:0 0 0 1px #8bbcf5;
  animation:pay-active-pop .35s ease both;
  animation-delay:calc(var(--pay-active-index)*35ms);
}
#hub-view #hub-migliorshop-pay .pay-studio__active-more{
  display:grid;place-items:center;min-width:32px;height:22px;padding:0 3px;
  border-radius:7px;background:#0e2166;color:#fff;
  font:700 10px Poppins,"Open Sans",sans-serif;font-style:normal;
}
#hub-view #hub-migliorshop-pay .pay-studio__active-placeholder{
  grid-column:1/-1;color:#8092ad;font-size:10px;text-align:center;
}
#hub-view #hub-migliorshop-pay .pay-studio__active-visual small{
  display:block;color:#647e9e;font:500 9px/1.45 Poppins,"Open Sans",sans-serif;
  text-align:center;
}
#hub-view #hub-migliorshop-pay .pay-studio__metric--fee .pay-studio__metric-foot{
  gap:9px;
}
#hub-view #hub-migliorshop-pay .pay-studio__range--fee .pay-studio__range-track{
  background:#dceafa;
}
#hub-view #hub-migliorshop-pay .pay-studio__range--fee .pay-studio__range-track:before{
  background:#91b9ec;opacity:.66;
}
#hub-view #hub-migliorshop-pay .pay-studio__range--fee .pay-studio__range-track>i{
  background:#0e2166;box-shadow:0 0 0 1px #0e2166;
}
@keyframes pay-active-pop{
  from{opacity:.3;transform:scale(.65)}
  to{opacity:1;transform:scale(1)}
}
@media(max-width:760px){
  #hub-view #hub-migliorshop-pay .pay-studio__metrics{padding:10px!important}
}
@media(max-width:600px){
  #hub-view #hub-migliorshop-pay .pay-studio__metric--active{
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;
  }
  #hub-view #hub-migliorshop-pay .pay-studio__active-visual{
    margin-top:11px;min-height:84px;
  }
}
@media(prefers-reduced-motion:reduce){
  #hub-view #hub-migliorshop-pay .pay-studio__active-dot{animation:none!important}
}


/* 2.12.6 — Pay shares the exact 3-column panel proportions and card heights
 * of Google Ads/ChatGPT Ads; the client count remains the server's live value. */
#hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 12px!important;
  padding:16px!important;
  border:1px solid #dfe7f2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 17px rgba(19,50,98,.035)!important;
}
#hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric{
  box-sizing:border-box!important;
  height:196px!important;
  min-height:196px!important;
  min-width:0!important;
  margin:0!important;
  padding:16px 18px!important;
  background:#f9fbff!important;
  border:1px solid #e5ebf5!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
#hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric--active{
  background:#f4f8ff!important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  column-gap:12px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__metric-head{
  margin-bottom:9px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__metric-main strong{
  font-size:clamp(32px,3vw,42px)!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__active-visual{
  min-height:0!important;
  padding:8px 10px!important;
  gap:5px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__active-dots{
  gap:5px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__active-dot{
  width:12px!important;height:12px!important;border-width:2px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--active .pay-studio__active-visual small{
  font-size:9px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--rate .pay-studio__metric-main{
  margin:8px 0 3px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric--rate .pay-studio__rate-chart{
  height:29px!important;min-height:29px!important;
}
/* The very same blue track, fill, knob and range labels in both Pay panels. */
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric :is(.pay-studio__range-track,.pay-studio__range--fee .pay-studio__range-track){
  height:5px!important;
  background:#dce9fb!important;
  border-radius:9px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric .pay-studio__range-track::before{
  background:#91b9ec!important;opacity:.8!important;border-radius:9px!important;
}
#hub-view[data-sfera-ads-studio="ready"] .pay-studio__metric .pay-studio__range-track>i{
  background:#0e2166!important;
  box-shadow:0 0 0 1px #0e2166!important;
  border:3px solid #fff!important;
}
@media(max-width:1200px){
  #hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric--active{
    grid-column:1/-1!important;
  }
}
@media(max-width:590px){
  #hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics{
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    padding:10px!important;
    border-radius:13px!important;
  }
  #hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric{
    height:auto!important;
    min-height:165px!important;
  }
  #hub-view[data-sfera-ads-studio="ready"] .hub-shell > #hub-migliorshop-pay .pay-studio__metrics > .pay-studio__metric--active{
    grid-column:auto!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
  }
}


/* 2.13.1 — no intermediate translucent/white macro-panel behind Pay cards.
   Only the three KPI cards and the directory keep their individual surfaces. */
#hub-view[data-hub-section="pay"] #hub-migliorshop-pay,
#hub-view[data-hub-section="pay"] #hub-migliorshop-pay > .pay-studio{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#hub-view #hub-migliorshop-pay .pay-studio__metrics{
 padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;outline:0!important;
}
