/* Strategie approvate — Sfera editorial design. Color and type derive from the
   approved Dashboard/Aziende styles; no template palette or new dependencies. */
#approved-strategy-view{
  --sas-navy:#0e2166;--sas-ink:#172b47;--sas-muted:#72859b;
  --sas-line:#e5eaf1;--sas-page:#f5f7fa;--sas-blue:#3b78eb;
  --sas-card:#fff;--sas-shadow:0 6px 24px rgba(16,38,79,.035);
  background:var(--sas-page)!important;color:var(--sas-ink)!important;
  border:0!important;box-shadow:none!important
}
#approved-strategy-view .strategies-shell{
  width:100%!important;max-width:none!important;margin:0!important;
  padding:0 0 35px!important;border:0!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important
}
/* The outer gutter and vertical position match the Companies directory. */
body:has(#approved-strategy-view:not([hidden])) #signed-in .app-content{
  padding:clamp(13px,1.5vw,22px) clamp(12px,2vw,32px) 30px!important
}
#approved-strategy-view{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 26px!important}
/* Header and plus button mirror Aziende — same bar, geometry, stroke and colors. */
#signed-in .app-topbar .sfera-strategies-topbar{display:none}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:clamp(8px,1vw,18px)!important;overflow:visible!important;
  background:#0e2166!important;background-image:none!important
}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-dashboard-topbar-label,
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-dashboard-primary{display:none!important}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-strategies-topbar{
  display:flex!important;flex:1 1 auto;min-width:0;height:100%;align-items:center;
  gap:clamp(8px,1vw,14px);padding:0;margin:0
}
#signed-in .sfera-strategies-topbar__title{
  margin:0!important;color:#f6f9ff!important;white-space:nowrap;
  font:600 15px/1.25 Poppins,"Open Sans",sans-serif!important
}
#signed-in .sfera-strategies-topbar__create{margin-left:auto!important}
#signed-in .sfera-strategies-topbar__create[hidden]{display:none!important}
#signed-in .sfera-strategies-topbar__create svg{display:block;width:19px;height:19px;stroke-width:1.8}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .portal-topbar__actions{
  flex:0 0 auto!important;min-width:0!important;gap:8px!important;
  margin-left:0!important;justify-content:flex-end!important
}
/* Matches Aziende's title font, letter-spacing, placement and background. */
#approved-strategy-view .strategies-header{
  display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;
  min-height:34px!important;gap:12px!important;padding:0 2px!important;
  margin:0 0 13px!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  overflow:visible!important
}
#approved-strategy-view .strategies-header:after{display:none!important}
#approved-strategy-view .strategies-header h1{
  margin:0!important;padding:0!important;color:#0e2166!important;
  font:500 clamp(18px,1.55vw,23px)/1.3 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.025em!important
}
#approved-strategy-view .strategies-header p{
  margin:4px 0 0!important;color:#72859b!important;
  font-size:12px!important;line-height:1.45!important
}
#approved-strategy-view .strategies-eyebrow{display:none!important}
/* Tabs use subtle motion, not a saturated pill strip. */
#approved-strategy-view .strategies-tabs{
  display:flex!important;width:100%!important;max-width:100%!important;
  gap:7px!important;margin:6px 0 20px!important;padding:0!important;
  border:0!important;border-bottom:1px solid #dfe6ed!important;
  background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow-x:auto
}
#approved-strategy-view .strategies-tabs button{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;min-height:45px!important;padding:8px 17px 13px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;color:#74859a!important;
  font-size:12px;font-weight:600;white-space:nowrap;
  transition:color .2s ease,background-color .2s ease,transform .2s ease!important
}
#approved-strategy-view .strategies-tabs button::after{
  position:absolute;right:15px;bottom:0;left:15px;height:3px;
  border-radius:8px 8px 0 0;background:#0e2166;content:"";
  transform:scaleX(0);transform-origin:center;transition:transform .24s cubic-bezier(.2,.8,.2,1)
}
#approved-strategy-view .strategies-tabs button[aria-selected="true"]{color:#0e2166!important;font-weight:700}
#approved-strategy-view .strategies-tabs button[aria-selected="true"]::after{transform:scaleX(1)}
#approved-strategy-view .strategies-tabs button:hover:not([aria-selected="true"]){
  color:#0e2166!important;transform:translateY(-1px)
}
#approved-strategy-view #strategies-approved-panel{
  min-width:0;border:0!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important;padding:0!important
}
#approved-strategy-view #strategies-approved-panel .strategies-panel-heading{display:none!important}
#approved-strategy-view .sas-surface{
  min-width:0;background:#fff;border:1px solid var(--sas-line);border-radius:17px;
  box-shadow:var(--sas-shadow)
}
/* Distinct analytical panorama and lightweight activity timeline. */
#approved-strategy-view .sas-overview{
  display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.84fr);
  align-items:stretch;gap:15px;margin:0 0 17px
}
#approved-strategy-view .sas-hero{
  display:grid;grid-template-columns:minmax(230px,.78fr) minmax(0,1.08fr);
  min-height:263px;padding:24px 26px;gap:24px;align-items:stretch
}
#approved-strategy-view .sas-hero__summary{
  display:flex;flex-direction:column;min-width:0;justify-content:flex-start
}
#approved-strategy-view .sas-section-label{display:flex;align-items:center;gap:9px;color:#71849c;font-size:11px;font-weight:700}
#approved-strategy-view .sas-section-label__icon{
  display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;
  border-radius:11px;background:#edf3fd;color:#0e2166
}
#approved-strategy-view .sas-section-label__icon svg{width:19px;height:19px;stroke-width:1.75}
#approved-strategy-view .sas-hero h2{margin:13px 0 8px;color:#172b47;font:700 19px/1.25 Poppins,sans-serif;letter-spacing:-.028em}
#approved-strategy-view .sas-hero__metric{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap}
#approved-strategy-view .sas-hero__metric strong{
  font:700 clamp(42px,4.4vw,60px)/1.04 Poppins,sans-serif;
  letter-spacing:-.065em;color:#0e2166;font-variant-numeric:tabular-nums
}
#approved-strategy-view .sas-hero__metric>span{max-width:126px;color:#7d8fa5;font-size:11px;line-height:1.4}
#approved-strategy-view .sas-hero__bottom{
  display:flex;flex-direction:column;gap:7px;margin-top:auto;
  padding-top:16px;color:#74879e;font-size:10px;line-height:1.45
}
#approved-strategy-view .sas-hero__bottom span:first-child{color:#365b76;font-weight:650}
#approved-strategy-view .sas-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3b78eb;margin-right:7px}
#approved-strategy-view .sas-hero__chart{
  display:flex;min-width:0;flex-direction:column;
  padding:4px 0 0 23px;border-left:1px solid #edf1f6
}
#approved-strategy-view .sas-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
#approved-strategy-view .sas-panel-head h2,#approved-strategy-view .sas-panel-head h3{
  margin:0;color:#172b47;font:700 17px/1.35 Poppins,sans-serif;letter-spacing:-.025em
}
#approved-strategy-view .sas-panel-head p{margin:4px 0 0;color:#8292a5;font-size:10px;line-height:1.4}
#approved-strategy-view .sas-chart-symbol,#approved-strategy-view .sas-recent__symbol{
  width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;
  border-radius:10px;background:#f1f5fa;color:#0e2166
}
#approved-strategy-view .sas-chart-symbol svg,#approved-strategy-view .sas-recent__symbol svg{width:17px;height:17px;stroke-width:1.8}
#approved-strategy-view .sas-monthly-chart{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:end;gap:clamp(6px,1vw,18px);flex:1;min-height:140px;margin-top:13px;
  padding:0 2px 2px
}
#approved-strategy-view .sas-monthly-col{
  height:100%;display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:end;gap:4px
}
#approved-strategy-view .sas-monthly-count{min-height:12px;color:#4b6386;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}
#approved-strategy-view .sas-monthly-track{
  position:relative;width:100%;height:112px;
  display:flex;align-items:flex-end;justify-content:center;
  border-bottom:1px solid #e4ecf6;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#f5f7fb 36px)
}
#approved-strategy-view .sas-monthly-bar{
  display:block;width:min(30px,75%);height:var(--sas-height);
  border-radius:6px 6px 2px 2px;background:#dce7f7;
  transform-origin:bottom;animation:sas-chart-grow .55s cubic-bezier(.2,.8,.2,1) both;
  transition:background-color .18s ease,filter .18s ease
}
#approved-strategy-view .sas-monthly-bar.has-value{background:#3b78eb}
#approved-strategy-view .sas-monthly-col:hover .sas-monthly-bar{filter:brightness(.91)}
#approved-strategy-view .sas-monthly-label{color:#8b9aab;font-size:10px;font-weight:650;text-transform:capitalize}
#approved-strategy-view .sas-recent{padding:23px 23px 16px;display:flex;min-width:0;flex-direction:column}
#approved-strategy-view .sas-recent-list{display:grid;align-content:start;gap:2px;margin-top:13px}
#approved-strategy-view button.sas-recent-item{
  position:relative;display:flex!important;align-items:center;width:100%;min-width:0;gap:11px;
  min-height:60px!important;margin:0!important;padding:9px 7px!important;
  border:1px solid transparent!important;border-radius:11px!important;
  background:transparent!important;color:#172b47!important;box-shadow:none!important;text-align:left;
  cursor:pointer;animation:sas-enter .35s ease-out both;
  transition:background-color .18s,border-color .18s,box-shadow .18s,transform .2s cubic-bezier(.2,.8,.2,1)!important
}
#approved-strategy-view button.sas-recent-item:not(:last-child):after{
  content:"";position:absolute;height:1px;bottom:-2px;left:52px;right:8px;background:#edf1f6
}
#approved-strategy-view button.sas-recent-item:hover,#approved-strategy-view button.sas-recent-item:focus-visible{
  background:#f6f9fd!important;border-color:#e5ecf5!important;
  transform:translateX(2px);box-shadow:0 3px 11px rgba(14,33,102,.03)!important
}
#approved-strategy-view .sas-recent-icon{
  display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;
  border-radius:11px;background:#edf3fd;color:#0e2166
}
#approved-strategy-view .sas-recent-icon svg{width:18px;height:18px;stroke-width:1.6}
#approved-strategy-view .sas-recent-copy{display:grid;gap:3px;min-width:0;flex:1}
#approved-strategy-view .sas-recent-copy strong{
  color:#172b47;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
#approved-strategy-view .sas-recent-copy small{color:#8493a6;font-size:10px}
#approved-strategy-view .sas-recent-arrow{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;color:#8a9caf;transition:transform .22s,color .22s}
#approved-strategy-view .sas-recent-arrow svg{width:17px;height:17px;stroke-width:1.8}
#approved-strategy-view .sas-recent-item:hover .sas-recent-arrow{transform:translateX(5px);color:#0e2166}
/* Archive is one deliberate full-width workspace, not nested uniform cards. */
#approved-strategy-view .sas-archive{padding:0 0 15px;overflow:hidden}
#approved-strategy-view .sas-archive-head{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  padding:20px 23px 10px
}
#approved-strategy-view .sas-archive-head h2{
  margin:0;color:#172b47;font:700 21px/1.3 Poppins,sans-serif;letter-spacing:-.035em
}
#approved-strategy-view .sas-toggle{
  display:inline-flex;gap:2px;flex:none;padding:4px;
  border:1px solid #e5eaf1;border-radius:11px;background:#f3f6fa
}
#approved-strategy-view .sas-toggle button{
  display:grid!important;place-items:center!important;width:34px!important;min-width:34px!important;
  height:33px!important;min-height:33px!important;padding:0!important;
  border:0!important;border-radius:8px!important;background:transparent!important;
  color:#7f8fa3!important;box-shadow:none!important;cursor:pointer;transition:background .18s,transform .18s!important
}
#approved-strategy-view .sas-toggle button[aria-pressed="true"]{background:#fff!important;color:#0e2166!important;box-shadow:0 2px 7px rgba(28,53,93,.07)!important}
#approved-strategy-view .sas-toggle button:hover{transform:translateY(-1px)}
#approved-strategy-view .sas-toggle svg{width:17px;height:17px;stroke-width:1.8;fill:none;stroke:currentColor}
#approved-strategy-view .sas-archive .strategies-querybar{
  display:grid;grid-template-columns:minmax(210px,1fr) minmax(130px,175px) minmax(130px,175px) auto auto;
  align-items:end;gap:9px;margin:0!important;padding:9px 23px 17px!important;
  border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important
}
#approved-strategy-view .sas-archive .strategies-querybar .strategies-search{
  position:relative!important;display:flex!important;align-items:center!important;
  min-width:0!important;height:43px!important;min-height:43px!important
}
#approved-strategy-view .sas-archive .strategies-querybar .strategies-search>svg{
  position:absolute!important;top:50%!important;left:13px!important;width:18px!important;height:18px!important;
  transform:translateY(-50%);pointer-events:none;color:#0e2166;stroke-width:1.9
}
#approved-strategy-view .sas-archive .strategies-querybar>label:not(.strategies-search){
  display:grid;gap:4px;min-width:0;color:#687991;font-size:10px;font-weight:650
}
#approved-strategy-view .sas-archive .strategies-querybar input{
  box-sizing:border-box;width:100%;height:43px!important;min-height:43px!important;
  padding:9px 12px;border:1px solid #dce4ed!important;border-radius:10px!important;
  background:#fff!important;color:#172b47!important;font-size:12px!important;box-shadow:none!important;
  transition:border-color .18s,box-shadow .18s!important
}
#approved-strategy-view .sas-archive .strategies-querybar .strategies-search input{padding-left:43px!important}
#approved-strategy-view .sas-archive .strategies-querybar input:focus-visible{
  outline:none!important;border-color:#90b1e8!important;box-shadow:0 0 0 3px rgba(59,120,235,.1)!important
}
#approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action{
  min-height:43px!important;height:43px!important;min-width:82px;padding:9px 15px!important;
  border:1px solid #dbe3ee!important;border-radius:10px!important;
  background:#fff!important;color:#0e2166!important;box-shadow:none!important;
  font-size:12px!important;font-weight:650!important;
  transition:background .18s,border-color .18s,box-shadow .18s,transform .18s!important
}
#approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action:hover{
  background:#f3f6fb!important;border-color:#c5d4e7!important;transform:translateY(-1px)
}
#approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action--main{
  background:#0e2166!important;color:#fff!important;border-color:#0e2166!important
}
#approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action--main:hover{
  background:#1a347e!important;border-color:#1a347e!important
}
#approved-strategy-view .sas-result-line{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding:11px 23px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;
  color:#62758f;font-size:11px;line-height:1.4
}
#approved-strategy-view .sas-result-line__hint{color:#97a5b5}
#approved-strategy-view .sas-table-region{padding:13px 17px 0}
#approved-strategy-view .sas-table-region #approved-strategy-list{display:block;min-width:0}
#approved-strategy-view .sas-table-region .approved-strategy-table-wrap{
  margin:0;border:1px solid #e9eef5!important;border-radius:12px!important;
  box-shadow:none!important;overflow:hidden!important
}
#approved-strategy-view .sas-table-region .approved-strategy-table{
  width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse
}
#approved-strategy-view .sas-table-region .approved-strategy-table th{
  padding:11px 17px!important;background:#f6f8fb!important;color:#718199!important;
  border:0!important;border-bottom:1px solid #e8edf4!important;
  font-size:10px!important;font-weight:750!important;letter-spacing:.07em;text-transform:uppercase
}
#approved-strategy-view .sas-table-region .approved-strategy-table th:first-child{width:65%}
#approved-strategy-view .sas-table-region .approved-strategy-table th:nth-child(2){width:27%}
#approved-strategy-view .sas-table-region .approved-strategy-table th:nth-child(3){width:8%}
#approved-strategy-view .sas-table-region .approved-strategy-table td{
  padding:12px 17px!important;border:0!important;border-bottom:1px solid #e9eef5!important;
  color:#172b47!important;background:#fff!important;vertical-align:middle;transition:background .19s ease!important
}
#approved-strategy-view .sas-table-region .approved-strategy-table tr:last-child td{border-bottom:0!important}
#approved-strategy-view .sas-table-region .approved-strategy-table tbody tr{
  cursor:pointer;outline:0;transition:box-shadow .18s,background-color .18s!important
}
#approved-strategy-view .sas-table-region .approved-strategy-table tbody tr:hover td,
#approved-strategy-view .sas-table-region .approved-strategy-table tbody tr:focus-visible td{background:#f5f8fd!important}
#approved-strategy-view .sas-table-region .approved-strategy-table tbody tr:hover td:first-child,
#approved-strategy-view .sas-table-region .approved-strategy-table tbody tr:focus-visible td:first-child{box-shadow:inset 3px 0 0 #0e2166}
#approved-strategy-view .sas-customer{display:flex;align-items:center;gap:11px;min-width:0}
#approved-strategy-view .sas-client-icon{
  display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;
  border-radius:11px;background:#eff4fb;color:#0e2166;
  transition:background .2s,color .2s,transform .2s!important
}
#approved-strategy-view .sas-client-icon svg{width:19px;height:19px;stroke-width:1.7}
#approved-strategy-view .approved-strategy-row:hover .sas-client-icon{background:#e4ecf8;transform:translateY(-1px)}
#approved-strategy-view .sas-customer-text{display:grid;min-width:0;gap:3px}
#approved-strategy-view .sas-customer-name{
  color:#172b47;font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
#approved-strategy-view .sas-customer-id{color:#8a99aa;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#approved-strategy-view .sas-date{display:inline-block;color:#465e7a;font-size:12px;font-weight:650;white-space:nowrap}
#approved-strategy-view .sas-go{
  display:grid;place-items:center;width:32px;height:32px;margin-left:auto;border:1px solid #e4eaf2;
  border-radius:10px;background:#fff;color:#8191a6;transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .2s,background .2s,color .2s!important
}
#approved-strategy-view .sas-go svg{width:18px;height:18px;stroke-width:1.8}
#approved-strategy-view .approved-strategy-row:hover .sas-go,
#approved-strategy-view .approved-strategy-row:focus-visible .sas-go{
  transform:translateX(4px);border-color:#cad8ed;background:#eaf1fb;color:#0e2166
}
#approved-strategy-view .sas-archive .strategies-more{margin:16px auto 2px}
#approved-strategy-view .sas-archive .strategies-more[hidden]{display:none!important}
#approved-strategy-view .sas-empty{display:grid;place-items:center;align-content:center;min-height:178px;gap:5px;padding:28px;color:#8292a8;font-size:12px;text-align:center}
#approved-strategy-view .sas-empty[hidden]{display:none!important}
#approved-strategy-view .sas-empty strong{color:#172b47;font-size:15px}
#approved-strategy-view .sas-empty__icon{font-size:28px;color:#a4b7ca}
/* Card view is intentionally an alternative arrangement of the existing table rows. */
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table-wrap{border:0!important;overflow:visible!important}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table,
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody{display:block;width:100%}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table thead{display:none}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px
}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 9px;align-items:center;
  min-height:139px;padding:16px;border:1px solid #e5eaf1;border-radius:14px;background:#fff;
  animation:sas-enter .3s ease-out both;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,border-color .2s!important
}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr:hover{
  transform:translateY(-3px);border-color:#c8d7ec;box-shadow:0 9px 21px rgba(16,38,79,.075)
}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr td{display:block!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr td:first-child{grid-column:1/-1}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr td:nth-child(2){grid-column:1}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr td:nth-child(3){grid-column:2;align-self:center}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr .sas-customer-name{font-size:13px}
#approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr .sas-go{margin-left:auto}
/* Full-height Sfera Task/Opportunity-style detail drawer, scoped to approved plans. */
body #strategy-final-modal.sas-approved-detail{position:fixed!important;inset:0!important;z-index:1800!important;display:flex!important;align-items:stretch!important;justify-content:flex-end!important;padding:0!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog{box-sizing:border-box!important;position:relative!important;top:auto!important;right:auto!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;align-self:stretch!important;flex:0 0 auto!important;min-width:0!important;width:min(680px,100vw)!important;max-width:100vw!important;min-height:0!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-left:1px solid #dce6f5!important;border-radius:0!important;background:#f7f9fd!important;box-shadow:-18px 0 52px rgba(14,33,102,.16)!important;animation:sas-detail-enter .24s cubic-bezier(.2,.8,.2,1) both}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>header{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:94px!important;max-height:none!important;flex:0 0 auto!important;padding:18px 24px!important;margin:0!important;border:0!important;border-bottom:1px solid #e4ebf5!important;border-radius:0!important;background:#fff!important;background-image:none!important;box-shadow:none!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>header p{margin:0 0 4px!important;font-size:10px!important;letter-spacing:.075em!important;font-weight:750!important;color:#7587a1!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>header h2{margin:0!important;font:700 clamp(20px,2vw,25px)/1.3 Poppins,"Open Sans",sans-serif!important;letter-spacing:-.03em!important;color:#0e2166!important;overflow-wrap:anywhere}
body #strategy-final-modal.sas-approved-detail .strategy-final-close{box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:0 0 41px!important;width:41px!important;min-width:41px!important;height:41px!important;min-height:41px!important;padding:0!important;margin:0!important;border:1px solid #e0e8f4!important;border-radius:11px!important;background:#fff!important;color:#0e2166!important;box-shadow:none!important;font-size:24px!important;transition:background-color .18s,border-color .18s,transform .18s!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-close:hover,body #strategy-final-modal.sas-approved-detail .strategy-final-close:focus-visible{background:#eff5fc!important;border-color:#b9cde9!important;transform:rotate(90deg)!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog__body{box-sizing:border-box!important;display:block!important;min-width:0!important;min-height:0!important;padding:18px 21px 28px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-width:thin;background:#f7f9fd!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-summary,body #strategy-final-modal.sas-approved-detail .sas-detail-document{box-sizing:border-box!important;display:block!important;min-width:0!important;margin:0 0 13px!important;padding:17px 19px 19px!important;border:1px solid #e3eaf5!important;border-radius:15px!important;background:#fff!important;background-image:none!important;box-shadow:0 4px 14px rgba(14,33,102,.04)!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-section-heading{display:flex!important;align-items:center!important;gap:9px!important;min-height:30px!important;margin:0 0 15px!important;padding:0 0 12px!important;background:#fff!important;background-image:none!important;border:0!important;border-bottom:1px solid #edf1f8!important;border-radius:0!important;color:#0e2166!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-section-icon{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:9px!important;background:#0e2166!important;color:#fff!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-section-icon svg{display:block;width:16px;height:16px;stroke:#fff!important;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
body #strategy-final-modal.sas-approved-detail .sas-detail-section-heading h3{margin:0!important;padding:0!important;background:transparent!important;color:#0e2166!important;font:700 14px/1.4 Poppins,"Open Sans",sans-serif!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;min-width:0!important;gap:0!important;margin:0!important;padding:0 0 12px!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:54px!important;gap:6px!important;margin:0!important;padding:3px 18px!important;border:0!important;border-right:1px solid #e8eef8!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div:first-child{padding-left:0!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div:last-child{padding-right:0!important;border-right:0!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta span{color:#8a99ac!important;font-size:10px!important;font-weight:750!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-meta strong{font-size:13px!important;font-weight:750!important;line-height:1.5!important;color:#1b3359!important;overflow-wrap:anywhere!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-id{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:3px 0 0!important;padding:12px 0 0!important;border-top:1px solid #eef2f8!important;color:#8697ac!important;font-size:11px!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-id b{font-weight:700!important;color:#46658e!important}
body #strategy-final-modal.sas-approved-detail .sas-detail-document-type{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;margin-left:auto!important;padding:5px 9px!important;border-radius:9px!important;background:#eff4ff!important;border:1px solid #dce7fb!important;color:#214b9a!important;font-size:10px!important;font-weight:650!important;white-space:nowrap!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-strategy-content{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;min-height:120px!important;max-height:none!important;margin:0!important;padding:14px 15px!important;border:1px solid #e8eef7!important;border-radius:11px!important;background:#fff!important;background-image:none!important;color:#273b58!important;box-shadow:none!important;font-size:13px!important;line-height:1.65!important;overflow-wrap:anywhere!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-strategy-content :first-child{margin-top:0}
body #strategy-final-modal.sas-approved-detail .strategy-final-strategy-content :last-child{margin-bottom:0}
body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>footer{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;gap:9px!important;min-height:78px!important;max-height:none!important;padding:14px 22px calc(14px + env(safe-area-inset-bottom,0px))!important;margin:0!important;border:0!important;border-top:1px solid #e1e9f4!important;background:#fff!important;box-shadow:none!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 15px!important;border:1px solid #d6e1f0!important;border-radius:10px!important;background:#fff!important;color:#0e2166!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;transition:background-color .16s,border-color .16s,transform .16s!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-btn:hover{background:#f2f7fd!important;border-color:#b7cbe5!important;transform:translateY(-1px)!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-btn--primary{border-color:var(--crm-primary-cta,#0b7ff0)!important;background:var(--crm-primary-cta,#0b7ff0)!important;color:#fff!important}
body #strategy-final-modal.sas-approved-detail .strategy-final-btn--primary:hover{border-color:var(--crm-primary-cta-hover,#096fd2)!important;background:var(--crm-primary-cta-hover,#096fd2)!important;color:#fff!important}
@keyframes sas-chart-grow{from{transform:scaleY(.06);opacity:.5}to{transform:scaleY(1);opacity:1}}
@keyframes sas-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes sas-detail-enter{from{transform:translateX(20px);opacity:.7}to{transform:translateX(0);opacity:1}}
/* Responsive and requested-desktop-on-mobile: no overflow and no hidden actions. */
@media(max-width:1250px){
 #approved-strategy-view .sas-overview{grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr)}
 #approved-strategy-view .sas-hero{grid-template-columns:minmax(0,1fr);gap:12px}
 #approved-strategy-view .sas-hero__chart{border-left:0;border-top:1px solid #edf1f6;padding:15px 0 0}
 #approved-strategy-view .sas-hero__summary{min-height:145px}
 #approved-strategy-view .sas-monthly-track{height:82px}
}
@media(max-width:990px){
 #approved-strategy-view .sas-overview{grid-template-columns:minmax(0,1fr)}
 #approved-strategy-view .sas-hero{grid-template-columns:minmax(215px,.65fr) minmax(0,1fr)}
 #approved-strategy-view .sas-hero__chart{border-top:0;border-left:1px solid #edf1f6;padding:4px 0 0 20px}
 #approved-strategy-view .sas-recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #approved-strategy-view .sas-recent-item:after{display:none}
 #approved-strategy-view .sas-recent-item{padding:10px!important}
 #approved-strategy-view .sas-archive .strategies-querybar{grid-template-columns:minmax(200px,1fr) minmax(120px,150px) minmax(120px,150px)}
 #approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action{min-width:0}
}
@media(max-width:900px){
 #signed-in .sfera-strategies-topbar__title{display:none!important}
 #signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar{gap:8px!important}
 #signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-strategies-topbar{
  flex:1 1 auto!important;justify-content:flex-end!important;margin-left:auto!important
 }
 #signed-in .sfera-strategies-topbar__create{margin-left:auto!important}
}
@media(max-width:720px){
 #approved-strategy-view .strategies-header h1{font-size:20px!important;line-height:1.3!important}
 #approved-strategy-view .strategies-header{margin-bottom:10px!important}
 #approved-strategy-view .strategies-tabs{margin-bottom:15px!important}
 #approved-strategy-view .strategies-tabs button{padding:8px 13px 12px!important}
 #approved-strategy-view .sas-hero{grid-template-columns:minmax(0,1fr);padding:20px;gap:16px}
 #approved-strategy-view .sas-hero__summary{min-height:130px}
 #approved-strategy-view .sas-hero__chart{border-left:0;border-top:1px solid #edf1f6;padding:16px 0 0}
 #approved-strategy-view .sas-monthly-track{height:95px}
 #approved-strategy-view .sas-recent{padding:19px}
 #approved-strategy-view .sas-recent-list{grid-template-columns:1fr}
 #approved-strategy-view .sas-recent-item{min-height:53px!important}
 #approved-strategy-view .sas-archive-head{padding:17px 15px 11px}
 #approved-strategy-view .sas-archive .strategies-querybar{padding:8px 15px 15px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #approved-strategy-view .sas-archive .strategies-querybar .strategies-search{grid-column:1/-1}
 #approved-strategy-view .sas-archive .strategies-querybar .sas-filter-action{min-width:0}
 #approved-strategy-view .sas-result-line{padding:10px 15px}
 #approved-strategy-view .sas-result-line__hint{display:none}
 #approved-strategy-view .sas-table-region{padding:8px 12px 0}
 #approved-strategy-view .sas-toggle{display:none}
 #approved-strategy-view .sas-table-region .approved-strategy-table-wrap{border:0!important;overflow:visible!important}
 #approved-strategy-view .sas-table-region .approved-strategy-table,
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody{display:block;width:100%}
 #approved-strategy-view .sas-table-region .approved-strategy-table thead{display:none}
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody{display:grid;grid-template-columns:1fr!important;gap:9px}
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody tr{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;min-height:100px;
  align-items:center;padding:13px;border:1px solid #e5eaf1!important;border-radius:12px;background:#fff;
 }
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody tr td{
  display:block!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
 }
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody tr td:first-child{grid-column:1/-1}
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody tr td:nth-child(2){grid-column:1}
 #approved-strategy-view .sas-table-region .approved-strategy-table tbody tr td:nth-child(3){grid-column:2;grid-row:2;justify-self:end}
 #approved-strategy-view .sas-archive.is-cards .approved-strategy-table tbody tr:hover{transform:none}
 body #strategy-final-modal.sas-approved-detail{padding:0!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog{
  width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;
  border-radius:0!important;border:0!important;min-height:0!important
 }
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>header{padding:17px 17px 15px}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog__body{padding:17px}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>footer{padding:12px 17px max(15px,env(safe-area-inset-bottom))!important}
 body #strategy-final-modal.sas-approved-detail .sas-detail-meta{grid-template-columns:1fr}
 body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div{border-right:0;padding:0 0 10px;border-bottom:1px solid #edf0f5}
}
@media(max-width:390px){
 #approved-strategy-view .sas-archive .strategies-querybar{grid-template-columns:1fr}
 #approved-strategy-view .sas-archive .strategies-querybar .strategies-search{grid-column:1}
 #approved-strategy-view .sas-archive .strategies-querybar button.sas-filter-action{width:100%}
 #approved-strategy-view .sas-hero__metric strong{font-size:48px}
 #approved-strategy-view .sas-panel-head h2,#approved-strategy-view .sas-panel-head h3{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 #approved-strategy-view *,body #strategy-final-modal.sas-approved-detail *{
  animation:none!important;transition-duration:0ms!important;scroll-behavior:auto!important
 }
}


/* v2.7: restore real Sfera dashboard tokens, topbar search, and full-width
   archive. This block intentionally supersedes the retired in-page filter UI. */
body:has(#approved-strategy-view:not([hidden])) #signed-in .app-content{
 box-sizing:border-box!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:clamp(13px,1.5vw,22px) clamp(12px,2vw,32px) 30px!important;
}
#signed-in #approved-strategy-view,#signed-in #approved-strategy-view .strategies-shell,
#signed-in #approved-strategy-view #strategies-approved-panel{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;
 margin-left:0!important;margin-right:0!important;
}
#signed-in #approved-strategy-view .strategies-shell{padding:0 0 32px!important}
#approved-strategy-view .strategies-header{margin-bottom:15px!important}
#approved-strategy-view .strategies-header h1{color:#0e2166!important}
#approved-strategy-view .sas-hero h2{margin:0 0 12px!important;font-size:20px!important;color:#0e2166!important}
#approved-strategy-view .sas-hero__summary{justify-content:center!important}
#approved-strategy-view .sas-hero__metric strong{color:#0e2166!important}
#approved-strategy-view .sas-panel-head h2,
#approved-strategy-view .sas-panel-head h3{color:#0e2166!important}
#approved-strategy-view .sas-chart-symbol,
#approved-strategy-view .sas-recent__symbol{
 display:grid!important;place-items:center!important;background:#0e2166!important;color:#fff!important;
 border:1px solid #0e2166!important;box-shadow:none!important;
 transition:transform .2s cubic-bezier(.2,.8,.2,1)!important
}
#approved-strategy-view .sas-chart-symbol svg,
#approved-strategy-view .sas-recent__symbol svg{stroke:#fff!important;fill:none!important}
#approved-strategy-view .sas-hero:hover .sas-chart-symbol,
#approved-strategy-view .sas-recent:hover .sas-recent__symbol{transform:translateY(-2px)!important}
/* Search visually copies the approved Aziende topbar, with one native
   input associated to the existing filter form. */
#signed-in .sfera-strategies-topbar .sas-topbar-search{display:none!important}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden]) #strategies-approved-panel:not([hidden])) .sfera-strategies-topbar .sas-topbar-search{
 box-sizing:border-box!important;position:relative;display:flex!important;flex:1 1 250px;
 align-items:center;min-width:160px;max-width:520px;height:38px;margin:0;
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field{
 box-sizing:border-box;position:relative;display:flex;flex:1 1 auto;align-items:center;
 min-width:0;width:100%;height:38px;border:1px solid rgba(192,216,255,.21);
 border-radius:11px;background:rgba(255,255,255,.09);color:#d8e9ff;
 transition:background-color .16s,border-color .16s,box-shadow .16s
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field:focus-within{
 background:rgba(255,255,255,.15);border-color:rgba(219,235,255,.66);
 box-shadow:0 0 0 2px rgba(175,212,255,.12)
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field>svg{
 width:18px;height:18px;flex:0 0 18px;margin-left:12px;stroke:#e4f1ff;stroke-width:1.8
}
#signed-in .sfera-strategies-topbar .sas-topbar-search input{
 box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%;
 height:36px;min-height:36px;margin:0;padding:0 6px 0 10px!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 box-shadow:none!important;color:#fff!important;font-size:12px!important;outline:none!important
}
#signed-in .sfera-strategies-topbar .sas-topbar-search input::placeholder{color:#d8e9ff;opacity:.75}
#signed-in .sfera-strategies-topbar .sas-topbar-search input::-webkit-search-cancel-button{display:none}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field button{
 display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;min-width:27px;
 min-height:27px;margin:0 5px 0 0;padding:0;border:0;border-radius:7px;
 background:transparent;color:#d8e9ff;cursor:pointer;
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field button:hover{
 background:rgba(255,255,255,.14);color:#fff
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__toggle{display:none!important}
#signed-in .sfera-strategies-topbar .sas-topbar-search__toggle svg{width:19px;height:19px;stroke-width:1.8}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field button:focus-visible,
#signed-in .sfera-strategies-topbar .sas-topbar-search__toggle:focus-visible{
 outline:2px solid #fff!important;outline-offset:2px!important
}
/* One archive title and its Companies-style result badge, no separate result row. */
#approved-strategy-view #sas-archive .sas-archive-head{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;
 justify-content:space-between!important;flex-wrap:wrap!important;gap:12px 20px!important;
 margin:0!important;padding:19px 22px 15px!important;border:0!important;
 background:#fff!important;overflow:visible!important;
}
#approved-strategy-view #sas-archive .sas-archive-heading{
 display:flex;align-items:center;gap:12px;flex:0 0 auto;min-width:0;
}
#approved-strategy-view #sas-archive .sas-archive-heading h2{
 margin:0!important;color:#0e2166!important;font:700 20px/1.35 Poppins,"Open Sans",sans-serif!important;
 letter-spacing:-.035em!important;white-space:nowrap
}
#approved-strategy-view #sas-archive .sas-count-badge{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 auto;min-height:32px;max-width:100%;margin:0;padding:6px 13px;
 background:#eff4ff;color:#214b9a;border:1px solid #dce7fb;border-radius:9px;
 font-size:11px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums;
}
#approved-strategy-view #sas-archive .sas-archive-controls{
 display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex:1 1 auto
}
#approved-strategy-view #sas-archive #approved-strategy-filters{
 box-sizing:border-box!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;
 flex:0 1 auto;flex-wrap:nowrap!important;gap:8px!important;min-width:0!important;
 width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
#approved-strategy-view #sas-archive .sas-date-label{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 gap:4px!important;min-width:140px!important;width:150px!important;margin:0!important;
 color:#667995!important;font-size:10px!important;font-weight:700!important
}
#approved-strategy-view #sas-archive .sas-date-wrap{
 box-sizing:border-box;position:relative;display:flex;align-items:center;
 width:100%;height:39px;border:1px solid #dce5f1;border-radius:10px;
 background:#fff;transition:border-color .18s,box-shadow .18s
}
#approved-strategy-view #sas-archive .sas-date-wrap:focus-within{
 border-color:#95bae7;box-shadow:0 0 0 3px rgba(11,127,240,.1)
}
#approved-strategy-view #sas-archive .sas-date-wrap input{
 box-sizing:border-box!important;display:block;width:100%!important;min-width:0!important;
 height:37px!important;min-height:37px!important;margin:0!important;
 padding:7px 35px 7px 10px!important;border:0!important;border-radius:9px!important;
 outline:0!important;background:transparent!important;box-shadow:none!important;
 color:#203856!important;font-size:11px!important;font-weight:600!important;color-scheme:light!important;
}
#approved-strategy-view #sas-archive .sas-date-wrap input::-webkit-calendar-picker-indicator{
 opacity:0;width:0;height:0;margin:0;padding:0;pointer-events:none
}
#approved-strategy-view #sas-archive .sas-calendar-pick{
 box-sizing:border-box!important;position:absolute;top:3px;right:3px;
 display:grid!important;place-items:center!important;width:31px!important;min-width:31px!important;
 height:31px!important;min-height:31px!important;margin:0!important;padding:0!important;
 border:1px solid transparent!important;border-radius:8px!important;
 background:#f2f6fb!important;color:#0e2166!important;cursor:pointer;
 transition:background .17s,border-color .17s,transform .17s!important
}
#approved-strategy-view #sas-archive .sas-calendar-pick svg{
 display:block;width:16px;height:16px;stroke:currentColor;stroke-width:1.75;
}
#approved-strategy-view #sas-archive .sas-calendar-pick:hover,
#approved-strategy-view #sas-archive .sas-calendar-pick:focus-visible{
 background:#e4eefb!important;border-color:#c9daef!important;transform:translateY(-1px)
}
#approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;min-width:74px!important;min-height:39px!important;height:39px!important;
 margin:0!important;padding:8px 13px!important;border-radius:9px!important;
 border:1px solid #d6e1ef!important;background:#fff!important;color:#0e2166!important;
 font-size:11px!important;font-weight:700!important;box-shadow:none!important;
 transition:background-color .17s,border-color .17s,transform .17s!important
}
#approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action:hover{
 background:#f1f6fc!important;border-color:#bad1ea!important;transform:translateY(-1px)!important
}
#approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action--main{
 background:var(--crm-primary-cta,#0b7ff0)!important;border-color:var(--crm-primary-cta,#0b7ff0)!important;
 color:#fff!important;box-shadow:0 5px 14px rgba(11,127,240,.14)!important
}
#approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action--main:hover,
#approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action--main:focus-visible{
 background:var(--crm-primary-cta-hover,#096fd2)!important;
 border-color:var(--crm-primary-cta-hover,#096fd2)!important;color:#fff!important
}
#approved-strategy-view #sas-archive .sas-toggle{flex:0 0 auto!important;margin:16px 0 0!important}
#approved-strategy-view #sas-archive .sas-toggle button{transition:background .2s,transform .2s!important}
#approved-strategy-view #sas-archive .sas-toggle button[aria-pressed="true"]{color:#0e2166!important}
#approved-strategy-view #sas-archive .strategies-state{
 box-sizing:border-box;min-height:0!important;margin:0!important;padding:0 22px!important;
 border:0;background:transparent;color:#667995;font-size:11px
}
#approved-strategy-view #sas-archive .strategies-state:empty{display:none!important}
#approved-strategy-view #sas-archive .strategies-state:not(:empty){padding:0 22px 11px!important}
#approved-strategy-view #sas-archive .sas-table-region{padding-top:0!important}
#approved-strategy-view #sas-archive .approved-strategy-row:hover .sas-go,
#approved-strategy-view #sas-archive .approved-strategy-row:focus-visible .sas-go{
 transform:translateX(5px)!important;border-color:#bed4ed!important;background:#e9f2fc!important;color:#0e2166!important
}


/* Responsive utilities: fit fields, controls and search with no horizontal
   overflow, including "desktop site" layouts on narrow physical screens. */
@media(max-width:1250px){
 #approved-strategy-view #sas-archive .sas-archive-head{align-items:flex-start!important}
 #approved-strategy-view #sas-archive .sas-archive-controls{flex-wrap:wrap!important;justify-content:flex-start!important}
 #approved-strategy-view #sas-archive .sas-toggle{margin:0!important}
}
@media(max-width:900px){
 #signed-in .sfera-strategies-topbar__title{display:none!important}
 #signed-in.app-shell:has(#approved-strategy-view:not([hidden]) #strategies-approved-panel:not([hidden])) .sfera-strategies-topbar .sas-topbar-search{
  flex:0 0 36px!important;min-width:36px!important;max-width:36px!important;width:36px!important;
  height:36px!important;margin-left:auto!important
 }
 #signed-in .sfera-strategies-topbar .sas-topbar-search__toggle{
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  margin:0!important;padding:7px!important;
  border:1px solid rgba(192,216,255,.23)!important;border-radius:10px!important;
  background:rgba(255,255,255,.075)!important;color:#f4f9ff!important;cursor:pointer;
 }
 #signed-in .sfera-strategies-topbar .sas-topbar-search__toggle:hover,
 #signed-in .sfera-strategies-topbar .sas-topbar-search__toggle[aria-expanded="true"]{
  background:rgba(255,255,255,.16)!important;border-color:rgba(208,228,255,.53)!important
 }
 #signed-in .sfera-strategies-topbar .sas-topbar-search__field{display:none!important}
 #signed-in .sfera-strategies-topbar .sas-topbar-search.is-search-open .sas-topbar-search__field{
  box-sizing:border-box!important;position:fixed!important;
  top:calc(var(--sfera-topbar-height,68px) + 7px)!important;
  left:12px!important;right:12px!important;z-index:520!important;
  display:flex!important;width:auto!important;max-width:none!important;min-width:0!important;
  height:48px!important;margin:0!important;padding:4px!important;
  background:#0e2166!important;border:1px solid rgba(216,233,255,.6)!important;border-radius:12px!important;
  box-shadow:0 8px 24px rgba(14,33,102,.18)!important
 }
 #signed-in .sfera-strategies-topbar .sas-topbar-search.is-search-open input{height:38px!important;min-height:38px!important}
 #signed-in .sfera-strategies-topbar__create{margin-left:0!important}
 #approved-strategy-view #sas-archive .sas-archive-controls{width:100%!important;justify-content:space-between!important}
 #approved-strategy-view #sas-archive .sas-archive-head{gap:12px!important}
}
@media(max-width:720px){
 #approved-strategy-view #sas-archive .sas-archive-heading{flex-wrap:wrap!important;gap:8px!important}
 #approved-strategy-view #sas-archive .sas-archive-heading h2{font-size:18px!important;white-space:normal!important}
 #approved-strategy-view #sas-archive .sas-archive-controls{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
 #approved-strategy-view #sas-archive #approved-strategy-filters{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;width:100%!important;flex:1 1 100%!important
 }
 #approved-strategy-view #sas-archive .sas-date-label{
  display:flex!important;width:100%!important;min-width:0!important
 }
 #approved-strategy-view #sas-archive #approved-strategy-filters .sas-filter-action{
  width:100%!important;min-width:0!important;flex:1 1 auto!important
 }
 #approved-strategy-view #sas-archive .sas-toggle{
  display:inline-flex!important;margin:0 0 0 auto!important;align-self:center!important
 }
 #approved-strategy-view #sas-archive .sas-archive-head{padding:17px 15px!important}
 #approved-strategy-view .sas-hero h2{font-size:19px!important}
 #approved-strategy-view .sas-panel-head h2,#approved-strategy-view .sas-panel-head h3{font-size:16px!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>header{min-height:82px!important;padding:16px 17px!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog__body{padding:14px 13px 20px!important}
 body #strategy-final-modal.sas-approved-detail .sas-detail-summary,
 body #strategy-final-modal.sas-approved-detail .sas-detail-document{padding:14px!important}
 body #strategy-final-modal.sas-approved-detail .sas-detail-meta{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div{
  padding:0 0 12px!important;border-right:0!important;border-bottom:1px solid #ebf0f7!important
 }
 body #strategy-final-modal.sas-approved-detail .sas-detail-meta>div:last-child{border-bottom:0!important;padding-bottom:0!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>footer{
  padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))!important;min-height:75px!important
 }
}
@media(max-width:390px){
 #approved-strategy-view #sas-archive .sas-archive-controls{gap:8px!important}
 #approved-strategy-view #sas-archive #approved-strategy-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #approved-strategy-view #sas-archive .sas-count-badge{font-size:10px!important}
 body #strategy-final-modal.sas-approved-detail .sas-detail-document-type{display:none!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-dialog>footer{gap:7px!important}
 body #strategy-final-modal.sas-approved-detail .strategy-final-btn{flex:1 1 0!important;min-width:0!important;padding:10px 8px!important}
}
@media(prefers-reduced-motion:reduce){
 #approved-strategy-view .sas-chart-symbol,#approved-strategy-view .sas-recent__symbol,
 #signed-in .sas-topbar-search *,#approved-strategy-view #sas-archive .sas-filter-action,
 #approved-strategy-view #sas-archive .sas-calendar-pick,body #strategy-final-modal.sas-approved-detail *{
  animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}

/* Hide the search-clear glyph until there is a real query. */
#signed-in .sfera-strategies-topbar .sas-topbar-search__field:has(input:placeholder-shown) #sas-topbar-search-clear{
 opacity:0!important;visibility:hidden!important;pointer-events:none!important
}
#signed-in .sfera-strategies-topbar #sas-topbar-search-clear{
 transition:opacity .16s ease,background-color .16s ease!important
}
