/* Sfera CRM • Andamento refinement 2.42
   Inherits palette from the latest approved Sfera dashboard.
   Dedicated to trend cards and their own popover/sidebar; no Statistiche edits. */
#signed-in .sfera-ads-topbar__trend-filter[hidden]{display:none!important}
#signed-in .sfera-ads-topbar__trend-filter{position:relative;min-width:35px}
#signed-in .sfera-ads-topbar__trend-filter[aria-expanded="true"]{
 background:rgba(255,255,255,.2)!important;
}
#signed-in .sfera-ads-topbar__trend-filter:focus-visible{
 outline:2px solid #b7d9ff!important;outline-offset:2px!important;
}
#signed-in .sfera-ads-topbar__trend-indicator{
 position:absolute;top:6px;right:5px;width:6px;height:6px;border-radius:50%;
 background:#7ae1c2;box-shadow:0 0 0 2px #0e2166;
 display:none;
}
#signed-in .sfera-ads-topbar__trend-filter.has-active-filters .sfera-ads-topbar__trend-indicator{
 display:block;
}
/* Real HTML popover. The filter block no longer takes any document-flow space. */
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover:not(:popover-open):not(.is-open){
 display:none!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover:popover-open,
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover.is-open{
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
 position:fixed!important;left:auto!important;bottom:auto!important;
 top:var(--at-filter-top,66px)!important;right:var(--at-filter-right,12px)!important;
 width:min(510px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;
 max-height:calc(100dvh - var(--at-filter-top,66px) - 13px)!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
 border:1px solid #dfe8f2!important;border-radius:17px!important;
 background:#fff!important;color:#244a7c!important;
 box-shadow:0 14px 38px rgba(15,36,75,.14)!important;
 z-index:2147482000!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-head{
 position:relative;display:flex;align-items:center;gap:12px;flex:0 0 auto;
 padding:18px 21px!important;margin:0!important;border-bottom:1px solid #ebf0f6;
 background:#fff!important;color:#0e2166!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-mark{
 display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
 border-radius:10px;background:#edf5ff;color:#286cad;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-mark svg{width:19px;height:19px}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-head h2{
 flex:1;min-width:0;margin:0;padding:0;color:#0e2166!important;
 font:650 17px/1.3 Poppins,"Open Sans",sans-serif!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-close{
 flex:0 0 32px;display:grid;place-items:center;width:32px;height:32px;
 border:0;border-radius:9px;background:#f2f6fb;color:#6c839d;
 font:500 23px/1 "Open Sans",sans-serif;cursor:pointer;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-close:hover{background:#e8f0fa;color:#224c82}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-scroll{
 display:flex;flex-direction:column;gap:0;min-height:0;flex:1 1 auto;
 padding:17px 21px 22px;overflow-y:auto;overscroll-behavior:contain;
 scrollbar-color:#c6d7eb transparent;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-client{
 display:flex!important;flex-direction:column!important;gap:8px!important;
 width:100%!important;min-width:0!important;margin:0 0 16px!important;
 color:#355b81!important;font:600 11px "Open Sans",sans-serif!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-client select{
 display:block!important;box-sizing:border-box!important;width:100%!important;
 min-height:42px!important;border:1px solid #dbe5f1!important;
 border-radius:10px!important;background:#f9fbfe!important;
 color:#28517e!important;padding:9px 35px 9px 13px!important;
 font:550 11.5px/1.4 "Open Sans",sans-serif!important;
 outline-offset:2px;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-controls.is-global{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:14px!important;width:100%!important;padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-section{
 display:flex;flex-direction:column;gap:10px;padding:0 0 14px;
 border-bottom:1px solid #eaf0f7;min-width:0;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-label{
 font:650 11px/1.4 "Open Sans",sans-serif;color:#375d87;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-native{
 display:none!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-choices{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-choice{
 min-height:38px;padding:8px 11px;border:1px solid #e3ebf5;border-radius:9px;
 background:#f8fafd;color:#627f9b;text-align:left;
 font:550 11px/1.35 "Open Sans",sans-serif;
 cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-choice[aria-pressed="true"]{
 color:#1f60a0;background:#eef6ff;border-color:#a8c9eb;
 font-weight:650;box-shadow:inset 3px 0 #0b7ff0;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-choice:hover:not([aria-pressed="true"]){
 color:#2d648f;background:#f0f6fd;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-toggle{
 display:flex!important;gap:10px;align-items:center;min-height:42px;
 margin:0!important;padding:0 0 0 0!important;border:0!important;
 color:#355d87;font:650 11.5px "Open Sans",sans-serif;
 cursor:pointer;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-toggle input{
 position:absolute!important;width:1px!important;height:1px!important;opacity:0;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-switch{
 flex:0 0 37px;width:37px;height:22px;border-radius:30px;
 background:#d7e1ed;position:relative;transition:background .18s;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-switch::after{
 content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;
 border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(14,37,79,.14);
 transition:transform .18s ease;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-toggle input:checked + .at-filter-switch{
 background:#0b7ff0;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-toggle input:checked + .at-filter-switch::after{
 transform:translateX(15px);
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-toggle input:focus-visible + .at-filter-switch{
 outline:2px solid #0b7ff0;outline-offset:3px;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-range{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
 width:100%;min-width:0;padding:3px 0;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-range[hidden],
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover [data-trend-compare-type][hidden]{
 display:none!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-range label{
 display:flex!important;flex-direction:column!important;gap:6px;
 min-width:0!important;width:100%;font-size:10px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-range input{
 width:100%!important;min-width:0!important;min-height:41px!important;
 box-sizing:border-box!important;padding:9px 10px!important;
 border:1px solid #dce7f3!important;border-radius:9px!important;
 background:#fafcff!important;color:#315b88!important;font-size:11px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-compare-range>span{
 grid-column:1/-1;margin:0!important;font-size:10px;color:#94a5b8;
 text-align:center;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-actions{
 position:sticky;bottom:-22px;z-index:2;display:flex;gap:9px;justify-content:flex-end;
 padding:15px 0 0;border-top:1px solid #e7eef6;background:#fff;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-clear{
 min-height:40px;border:1px solid #dfe9f4;border-radius:9px;padding:8px 13px;
 color:#557596;background:#f8fbff;font:600 11px "Open Sans",sans-serif;cursor:pointer;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-apply{
 min-height:40px!important;min-width:135px!important;border:0!important;border-radius:9px!important;
 padding:9px 16px!important;background:#0e2166!important;color:#fff!important;
 font:650 11.5px "Open Sans",sans-serif!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .andamento-feedback{
 margin:0!important;padding:0!important;font-size:10px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover :is(button,input,select):focus-visible{
 outline:2px solid #0b7ff0!important;outline-offset:2px!important;
}
/* Smooth, sparse, data-led graphic treatment. No colored chart backdrops. */
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--blocked-ledger .at-block-name{
 font:650 16px Poppins,"Open Sans",sans-serif;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--blocked-ledger .at-block-stat{
 fill:#8195ac;font:550 12px "Open Sans",sans-serif;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--blocked-ledger .at-block-rule{
 stroke:#eaf0f7;stroke-width:1.1;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--blocked-ledger .at-block-column{
 filter:none;transition:opacity .15s ease;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--blocked-ledger .at-block-column:hover{
 opacity:1;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--spending-columns .at-spend-cap{
 filter:none;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--inventory-shelves .at-inventory-guide{
 stroke:#d8e9e1;stroke-width:2;stroke-dasharray:3 7;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--inventory-shelves .at-inventory-shelf{
 filter:drop-shadow(0 2px 2px rgba(24,102,75,.09));
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-graph--inspection .at-lane{
 transition:opacity .16s ease;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .andamento-chart .at-graph .at-node:not(.at-node--compare){
 filter:none;stroke-width:1.75;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .andamento-card__footer{
 border-top:1px solid #edf2f8!important;padding-top:13px!important;padding-bottom:13px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .andamento-card__footer-hint{
 font-size:10px!important;letter-spacing:0!important;font-weight:500!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__head{
 padding-top:21px!important;padding-bottom:18px!important;border-bottom:0!important;
 box-shadow:0 1px 0 #edf1f6!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__brand{
 gap:12px!important;align-items:center!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body{
 padding-top:21px!important;padding-bottom:35px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-hero{
 margin-bottom:21px!important;padding:18px 21px!important;border-radius:13px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-drawer-section>h3{
 margin-bottom:13px!important;font-size:13.5px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-entry{
 border-bottom:0!important;border-radius:11px!important;
 margin:0 0 9px!important;padding:14px 16px!important;
 background:#f9fbfe!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-entry:last-child{
 margin-bottom:0!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body :is(.at-entry--carrier,.at-entry--audit,.at-entry--engines,.at-entry--blocked,.at-entry--spent){
 border-color:#e6edf5!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-entry--cap{
 border-bottom:0!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-entry__identity>strong{
 font-size:12px!important;line-height:1.5!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-period{
 border-color:#e7eef6!important;box-shadow:none!important;
}
#hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-hero__metrics{
 gap:13px!important;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-motion-ready .at-viz.at-play .at-inventory-shelf{
 transform-box:fill-box;transform-origin:center;
 animation:at-plot-dot .55s ease .25s both!important;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-motion-ready .at-viz.at-play .at-spend-cap{
 transform-box:fill-box;transform-origin:bottom center;
 animation:at-plot-bar .73s ease .14s both!important;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-motion-ready .at-viz.at-play .at-mix-segment{
 transform-box:fill-box;transform-origin:left center;
 animation:at-track-enter .7s cubic-bezier(.18,.75,.35,1) .35s both!important;
}
#hub-view #check-strategie.sfera-strategie-v237 [data-strategie-trend] .at-motion-ready .at-viz.at-play .at-mix-row{
 animation:at-plot-fade .5s ease .35s both!important;
}
@media(max-width:760px){
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover:popover-open,
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover.is-open{
  right:10px!important;width:min(500px,calc(100vw - 20px))!important;
  max-height:calc(100dvh - var(--at-filter-top,66px) - 9px)!important;
 }
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover .at-filter-head{
  padding:13px 16px!important;
 }
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-scroll{
  padding:14px 16px 17px!important;
 }
 #hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body{
  padding:17px 15px 32px!important;
 }
}
@media(max-width:390px){
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-choice{
  min-height:40px;padding:7px 9px;font-size:10px;
 }
 #hub-view #check-strategie.sfera-strategie-v237 .andamento-drawer__body .at-hero{
  padding:14px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #hub-view #check-strategie.sfera-strategie-v237 .at-filter-popover *,
 #signed-in .sfera-ads-topbar__trend-filter *,
 #hub-view #check-strategie.sfera-strategie-v237 .at-graph--inventory-shelves *,
 #hub-view #check-strategie.sfera-strategie-v237 .at-graph--spending-columns *{
  animation:none!important;transition:none!important;
 }
}
