/* Sfera CRM 2.45.0 — shared Strategies Studio (Approved + Scheduled).
   Colors from the approved Sfera Dashboard. Scoped presentation only. */

/* The two compact Hub-style tab pills follow the search field, never precede it. */
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-strategies-topbar{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:clamp(7px,.8vw,13px)!important;min-width:0!important;flex:1 1 auto!important;
}
#signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .sfera-strategies-topbar>.sas-topbar-search{
  display:flex!important;flex:0 1 clamp(170px,23vw,345px)!important;
  min-width:160px!important;max-width:345px!important;margin:0!important;
}
#signed-in .sfera-strategies-topbar .sas-topbar-search__field{
  min-width:0!important;
}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs{
  position:relative!important;display:inline-flex!important;align-self:center!important;
  flex:0 0 auto!important;gap:3px!important;
  width:auto!important;min-width:0!important;max-width:min(360px,38vw)!important;
  box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:3px!important;margin:0!important;align-items:center!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  border:1px solid rgba(185,211,255,.21)!important;border-radius:11px!important;
  background:rgba(255,255,255,.065)!important;
}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;align-self:center!important;min-width:0!important;
  min-height:29px!important;max-height:29px!important;height:29px!important;
  padding:5px 11px!important;border:0!important;border-radius:7px!important;
  background:transparent!important;color:#cbd8ee!important;
  font:600 10.5px/1.1 Poppins,"Open Sans",sans-serif!important;
  white-space:nowrap!important;box-shadow:none!important;
  transition:background-color .18s,color .18s!important;
}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button:after{display:none!important;content:none!important}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button[aria-selected="true"]{
  background:#fff!important;color:#0e2166!important;font-weight:700!important;
  box-shadow:0 2px 8px rgba(9,25,73,.14)!important;
}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button:hover:not([aria-selected="true"]){
  background:rgba(255,255,255,.17)!important;color:#fff!important;transform:none!important;
}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button[hidden]{display:none!important}
#signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button:focus-visible{
  outline:2px solid #fff!important;outline-offset:-2px!important;
}
#signed-in .sfera-strategies-topbar #ss-filter-toggle[hidden],
#signed-in .sfera-strategies-topbar #strategy-task-scheduled-refresh[hidden],
#signed-in .sfera-strategies-topbar #strategy-task-scheduled-new[hidden],
#signed-in .sfera-strategies-topbar #sas-filter-toggle[hidden],
#signed-in .sfera-strategies-topbar #approved-strategy-new[hidden]{display:none!important}
#signed-in .sfera-strategies-topbar #strategy-task-scheduled-refresh{
  box-sizing:border-box!important;display:none!important;place-items:center!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:8px!important;border:1px solid rgba(197,220,255,.30)!important;
  border-radius:10px!important;background:rgba(255,255,255,.075)!important;
  color:#e9f2ff!important;box-shadow:none!important;
  transition:background-color .18s,border-color .18s!important;
}
#signed-in.app-shell:has(#strategies-scheduled-panel:not([hidden])) .sfera-strategies-topbar #strategy-task-scheduled-refresh:not([hidden]){
  display:grid!important;
}
#signed-in .sfera-strategies-topbar #strategy-task-scheduled-refresh svg{
  width:19px!important;height:19px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
#signed-in .sfera-strategies-topbar #strategy-task-scheduled-refresh:hover{
  background:rgba(255,255,255,.17)!important;border-color:rgba(220,235,255,.58)!important;
}
#signed-in .sfera-strategies-topbar #ss-filter-toggle{
  display:none!important;position:relative!important;box-sizing:border-box!important;
  place-items:center!important;min-width:36px!important;width:36px!important;min-height:36px!important;height:36px!important;
  padding:8px!important;background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(197,220,255,.3)!important;border-radius:10px!important;color:#e9f2ff!important;
}
#signed-in.app-shell:has(#strategies-scheduled-panel:not([hidden])) .sfera-strategies-topbar #ss-filter-toggle:not([hidden]){
  display:grid!important;
}
#signed-in .sfera-strategies-topbar #ss-filter-toggle svg{width:18px!important;height:18px!important;stroke:currentColor!important}
#signed-in .sfera-strategies-topbar #ss-filter-toggle:hover,
#signed-in .sfera-strategies-topbar #ss-filter-toggle[aria-expanded="true"]{
  background:rgba(255,255,255,.17)!important;border-color:rgba(220,235,255,.58)!important;
}
#signed-in .sfera-strategies-topbar #ss-filter-toggle.has-filters:after{
  content:"";position:absolute;top:2px;right:2px;width:7px;height:7px;border-radius:50%;background:#7ed4a9;
}
#signed-in .sfera-strategies-topbar .sfera-strategies-topbar__create{
  margin-left:0!important;flex:0 0 36px!important;
}

/* Approved: same result badge as Companies, compact table top. */
#approved-strategy-view .sas-kpi__heading{
  justify-content:flex-end!important;min-height:34px!important;
  margin:0 0 5px!important;
}
#approved-strategy-view .sas-kpi__glyph{
  background:#0e2166!important;color:#fff!important;
  width:36px!important;height:36px!important;border-radius:10px!important;
}
#approved-strategy-view #sas-archive .sas-archive-head{
  min-height:42px!important;padding:12px 19px 4px!important;
  border-bottom:0!important;
}
#approved-strategy-view #sas-archive .sas-count-badge{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;min-height:32px!important;
  margin:0!important;padding:6px 13px!important;
  background:#eff4ff!important;color:#214b9a!important;
  border:1px solid #dce7fb!important;border-radius:9px!important;
  font:650 12px/1.3 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:0!important;white-space:nowrap!important;
}
#approved-strategy-view #sas-archive .sas-table-region{
  padding:5px 19px 8px!important;
}
#approved-strategy-view #sas-archive .approved-strategy-table-wrap{
  border:1px solid #e3eaf3!important;border-radius:11px!important;
}
/* Cards are whole selectable surfaces, not a mosaic of highlighted TDs. */
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table-wrap{border:0!important}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:13px!important;padding:1px!important;
}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
  gap:11px!important;min-height:133px!important;padding:16px!important;
  border:1px solid #dfe7f3!important;border-radius:13px!important;
  background:#fff!important;box-shadow:0 3px 12px rgba(14,33,102,.025)!important;
  transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s!important;
}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr:is(:hover,:focus-visible,:focus-within){
  background:#f1f6ff!important;border-color:#a6bff1!important;
  box-shadow:0 7px 18px rgba(14,33,102,.065)!important;
  transform:translateY(-2px)!important;
}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr td,
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr:is(:hover,:focus-visible,:focus-within) td{
  background:transparent!important;box-shadow:none!important;border:0!important;
  padding:0!important;
}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr td:first-child{grid-column:1/-1!important}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr td:nth-child(2){grid-column:1!important}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr td:nth-child(3){grid-column:2!important}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr .sas-client-icon{
  background:#e9f1ff!important;color:#3157d7!important;
}
#approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr:is(:hover,:focus-visible) .sas-go{
  background:#dceaff!important;border-color:#b8cff3!important;color:#0e2166!important;
}

/* Centered, structured Sfera editor for approved strategies. */
#approved-strategy-form.sas-edit-dialog{
  box-sizing:border-box!important;position:fixed!important;inset:0!important;
  z-index:14000!important;display:grid!important;place-items:center!important;
  padding:clamp(10px,2.5vw,28px)!important;
}
#approved-strategy-form.sas-edit-dialog[hidden]{display:none!important}
#approved-strategy-form.sas-edit-dialog .strategies-modal__backdrop{
  background:rgba(12,30,75,.45)!important;backdrop-filter:blur(2px)!important;
}
#approved-strategy-form.sas-edit-dialog .strategies-modal__card{
  box-sizing:border-box!important;position:relative!important;
  width:min(810px,100%)!important;max-width:100%!important;
  height:min(740px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border:1px solid #dfe7f3!important;border-radius:18px!important;
  background:#f6f8fc!important;box-shadow:0 24px 60px rgba(14,33,102,.18)!important;
}
#approved-strategy-form .strategies-modal__card>header{
  display:flex!important;align-items:center!important;gap:15px!important;
  min-height:88px!important;padding:19px 22px!important;
  background:#fff!important;border-bottom:1px solid #e4ebf5!important;
}
#approved-strategy-form .sas-edit-dialog__heading{
  display:flex!important;flex:1!important;align-items:center!important;gap:14px!important;min-width:0!important;
}
#approved-strategy-form .sas-edit-dialog__icon{
  display:grid!important;place-items:center!important;flex:0 0 43px!important;
  width:43px!important;height:43px!important;border-radius:12px!important;
  background:#0e2166!important;color:#fff!important;font-size:23px!important;
}
#approved-strategy-form .sas-edit-dialog__heading h3{
  margin:0!important;color:#0e2166!important;
  font:700 clamp(19px,2vw,24px)/1.25 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.028em!important;
}
#approved-strategy-form .sas-edit-dialog__heading p{
  margin:5px 0 0!important;color:#8192a9!important;
  font:400 11px/1.45 "Open Sans",sans-serif!important;
}
#approved-strategy-form .strategies-modal__close{
  display:grid!important;place-items:center!important;flex:0 0 38px!important;
  min-width:38px!important;width:38px!important;height:38px!important;min-height:38px!important;
  padding:0!important;border:1px solid #e0e8f3!important;border-radius:10px!important;
  color:#0e2166!important;background:#fff!important;font-size:23px!important;
  transition:background-color .2s,border-color .2s,transform .2s!important;
}
#approved-strategy-form .strategies-modal__close:hover{
  background:#edf4ff!important;border-color:#c5d9f2!important;transform:rotate(90deg)!important;
}
#approved-strategy-form .strategies-modal__body{
  box-sizing:border-box!important;min-height:0!important;overflow-y:auto!important;
  padding:20px 23px 26px!important;background:#f6f8fc!important;
  scrollbar-width:thin!important;
}
#approved-strategy-form .sas-edit-dialog__intro{
  display:flex!important;flex-direction:column!important;gap:5px!important;
  margin:0 0 12px!important;padding:0 2px!important;
}
#approved-strategy-form .sas-edit-dialog__intro strong{
  color:#0e2166!important;font:700 16px/1.35 Poppins,"Open Sans",sans-serif!important;
}
#approved-strategy-form .sas-edit-dialog__intro>span{
  color:#7d8da6!important;font:400 11px/1.4 "Open Sans",sans-serif!important;
}
#approved-strategy-form .strategies-form-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:12px!important;
  margin:0 0 14px!important;padding:16px!important;
  border:1px solid #e2e9f5!important;border-radius:14px!important;background:#fff!important;
}
#approved-strategy-form .strategies-form-grid label{
  box-sizing:border-box!important;display:grid!important;gap:8px!important;
  min-width:0!important;margin:0!important;padding:0!important;
  color:#4d6689!important;font:650 11px/1.4 "Open Sans",sans-serif!important;
}
#approved-strategy-form .strategies-form-grid .strategies-form-grid__wide{
  grid-column:1/-1!important;margin-top:6px!important;padding-top:13px!important;
  border-top:1px solid #eaf0f7!important;
}
#approved-strategy-form .strategies-form-grid :is(input,select,textarea){
  box-sizing:border-box!important;min-height:42px!important;
  border:1px solid #dce5f1!important;border-radius:9px!important;
  background:#fafcff!important;color:#18335f!important;
  padding:10px 12px!important;box-shadow:none!important;
  font:500 12px/1.5 "Open Sans",sans-serif!important;
}
#approved-strategy-form .strategies-form-grid textarea{
  min-height:200px!important;line-height:1.6!important;resize:vertical!important;
}
#approved-strategy-form .strategies-form-grid :is(input,select,textarea):focus-visible{
  border-color:#84a7e7!important;outline:2px solid rgba(49,87,215,.2)!important;outline-offset:1px!important;
}
#approved-strategy-form #approved-strategy-preview{
  min-height:37px!important;padding:8px 14px!important;border:1px solid #ccdbee!important;
  border-radius:9px!important;background:#fff!important;color:#2b4d87!important;
  font:650 11px/1.3 "Open Sans",sans-serif!important;
}
#approved-strategy-form #approved-strategy-preview:hover{background:#edf4ff!important}
#approved-strategy-form #approved-strategy-form-state{
  min-height:0!important;font-size:11px!important;color:#a84753!important;
}
#approved-strategy-form .strategies-modal__card>footer{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:10px!important;min-height:67px!important;padding:12px 22px!important;
  border-top:1px solid #e2eaf5!important;background:#fff!important;
}
#approved-strategy-form .strategies-modal__card>footer button{
  min-height:39px!important;padding:9px 16px!important;border-radius:9px!important;
  font:700 12px/1.3 "Open Sans",sans-serif!important;
}
#approved-strategy-form .strategies-modal__card>footer .btn-primary{
  background:#0b7ff0!important;border-color:#0b7ff0!important;color:#fff!important;
  box-shadow:none!important;
}

/* Scheduled: white analytics and one dense, legible operational table. */
#approved-strategy-view #strategies-scheduled-panel.ss-panel{
  min-width:0!important;margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
/* Legacy injected controls are explicitly excluded from this workspace.
   The original Scheduled collection router no longer creates its own table. */
#approved-strategy-view #strategies-scheduled-panel.ss-panel > :is(
 .strategies-panel-heading,.strategies-querybar,.strategies-definition-note,.strategy-sqlite-table-wrap
){display:none!important}
#approved-strategy-view #strategies-scheduled-panel.ss-panel .ss-table > :is(
 .strategy-sqlite-table-wrap,.strategy-sqlite-hidden-cards
){display:none!important}
/* Strict ownership: only the new overview and directory can exist directly
   inside Scheduled, and only the canonical header, form, state and rows inside
   the directory. Prevent late cached legacy UI from surfacing duplicates. */
#approved-strategy-view #strategies-scheduled-panel.ss-panel > :not(.ss-overview):not(.ss-directory){display:none!important}
#approved-strategy-view #strategies-scheduled-panel.ss-panel > .ss-directory > :not(.ss-directory__head):not(.ss-filters):not(.ss-directory__state):not(.ss-table){display:none!important}
#approved-strategy-view #strategies-scheduled-panel.ss-panel .ss-table > :not(.ss-table__columns):not(.ss-group){display:none!important}
#strategy-schedule-xlsx-reconcile{display:none!important}
#approved-strategy-view .ss-heading{margin:3px 0 18px!important;padding:0 2px!important;border:0!important}
#approved-strategy-view .ss-heading h2{
  margin:0!important;color:#0e2166!important;
  font:700 clamp(24px,2.3vw,31px)/1.2 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.045em!important;
}
#approved-strategy-view .ss-heading p{
  margin:5px 0 0!important;color:#7c8da7!important;font:400 11px/1.5 "Open Sans",sans-serif!important;
}
#approved-strategy-view .ss-overview{
  display:grid!important;grid-template-columns:minmax(0,1.24fr) minmax(320px,.76fr)!important;
  align-items:stretch!important;gap:15px!important;margin:0 0 17px!important;
}
#approved-strategy-view .ss-metric{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  min-width:0!important;min-height:202px!important;padding:20px 23px!important;
  border:1px solid #e2e9f4!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 6px 21px rgba(14,33,102,.043)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
#approved-strategy-view .ss-metric:hover{
  transform:translateY(-2px)!important;box-shadow:0 10px 28px rgba(14,33,102,.066)!important;
}
#approved-strategy-view .ss-metric__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
#approved-strategy-view .ss-metric__top h2{
  margin:3px 0 0!important;color:#0e2166!important;font:700 18px/1.3 Poppins,"Open Sans",sans-serif!important;
}
#approved-strategy-view .ss-metric__eyebrow{
  color:#8195b1!important;font:700 10px/1.3 "Open Sans",sans-serif!important;letter-spacing:.06em!important;
}
#approved-strategy-view .ss-metric__icon{
  display:grid!important;place-items:center!important;width:35px!important;height:35px!important;
  flex:0 0 35px!important;border-radius:10px!important;background:#0e2166!important;
  color:#fff!important;
}
#approved-strategy-view .ss-metric__icon svg{width:19px!important;height:19px!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#approved-strategy-view .ss-metric__icon--outline{background:#edf4ff!important;color:#3157d7!important}
#approved-strategy-view .ss-metric__body{
  display:grid!important;grid-template-columns:minmax(125px,.65fr) minmax(0,1.35fr)!important;
  align-items:end!important;gap:20px!important;min-height:98px!important;margin:21px 0 0!important;
}
#approved-strategy-view .ss-metric__value{display:flex;align-items:baseline;gap:12px!important;margin:12px 0 auto!important}
#approved-strategy-view .ss-metric__value strong{
  color:#0e2166!important;font:750 clamp(39px,4vw,55px)/1 Poppins,"Open Sans",sans-serif!important;
  letter-spacing:-.05em!important;font-variant-numeric:tabular-nums!important;
}
#approved-strategy-view .ss-metric__value span{color:#7489a4;font:500 11px/1.5 "Open Sans",sans-serif}
#approved-strategy-view .ss-metric__foot{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px!important;min-width:0!important;padding:4px 0 4px 17px!important;
 margin:0!important;border:0!important;border-left:1px solid #e5ebf5!important
}
#approved-strategy-view .ss-metric__foot>div{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important}
#approved-strategy-view .ss-metric__foot strong{color:#0e2166!important;font:700 23px/1 Poppins,"Open Sans",sans-serif!important;font-variant-numeric:tabular-nums!important}
#approved-strategy-view .ss-metric__foot span{color:#8093ae!important;font:500 10px/1.4 "Open Sans",sans-serif!important}
#approved-strategy-view .ss-readiness__body{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:18px!important;margin:14px 0 10px!important
}
#approved-strategy-view .ss-readiness__ring{position:relative!important;flex:0 0 96px!important;width:96px!important;height:96px!important}
#approved-strategy-view .ss-readiness__ring svg{display:block!important;width:100%!important;height:100%!important;transform:rotate(-90deg)!important}
#approved-strategy-view .ss-readiness__ring circle{fill:none!important;stroke-width:9!important}
#approved-strategy-view .ss-readiness__ring-track{stroke:#e9eff8!important}
#approved-strategy-view .ss-readiness__ring-value{stroke:#3157d7!important;stroke-linecap:round!important;transition:stroke-dasharray .75s cubic-bezier(.2,.8,.2,1)!important}
#approved-strategy-view .ss-readiness__ring>div{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important}
#approved-strategy-view .ss-readiness__ring strong{color:#0e2166!important;font:750 22px/1 Poppins,"Open Sans",sans-serif!important}
#approved-strategy-view .ss-readiness__ring span{color:#91a1b5!important;font:600 9px/1.2 "Open Sans",sans-serif!important}
#approved-strategy-view .ss-readiness__values{
 display:grid!important;grid-template-columns:1fr!important;gap:11px!important;flex:1!important;margin:0!important
}
#approved-strategy-view .ss-readiness__values>div{
 display:flex!important;align-items:baseline!important;justify-content:space-between!important;
 flex-direction:row-reverse!important;gap:12px!important;padding:0!important;border:0!important
}
#approved-strategy-view .ss-readiness__values>div:first-child{padding:0!important;border:0!important}
#approved-strategy-view .ss-readiness__values strong{
 color:#0e2166!important;font:750 24px/1.1 Poppins,"Open Sans",sans-serif!important;font-variant-numeric:tabular-nums!important
}
#approved-strategy-view .ss-readiness__values span{
  color:#7188a7;font:600 11px/1.4 "Open Sans",sans-serif;
}
#approved-strategy-view .ss-readiness__track{
  height:9px;margin-top:auto!important;border-radius:999px!important;
  background:#e8eef8!important;overflow:hidden!important;
}
#approved-strategy-view .ss-readiness__track>span{
  display:block!important;height:100%!important;width:0;border-radius:inherit;
  background:#3157d7!important;transition:width .7s cubic-bezier(.2,.8,.2,1)!important;
}
#approved-strategy-view .ss-readiness__copy{
  margin:9px 0 0!important;color:#8695a9!important;font:500 10px/1.3 "Open Sans",sans-serif!important;
}
#approved-strategy-view .ss-directory{
  min-width:0!important;padding:0 0 12px!important;
  border:1px solid #e2e9f4!important;border-radius:16px!important;
  background:#fff!important;box-shadow:0 6px 21px rgba(14,33,102,.043)!important;
  overflow:hidden!important;
}
#approved-strategy-view .ss-directory__head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:49px!important;gap:12px!important;padding:10px 18px 5px!important;
  border:0!important;background:#fff!important;color:#0e2166!important;
}
#approved-strategy-view .ss-directory .ss-count{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  min-height:32px!important;margin:0!important;padding:6px 13px!important;
  border:1px solid #dce7fb!important;border-radius:9px!important;
  background:#eff4ff!important;color:#214b9a!important;
  font:650 12px/1.3 Poppins,"Open Sans",sans-serif!important;white-space:nowrap!important;
}
#approved-strategy-view .ss-directory__hint{color:#8c9db3;font:500 11px/1.3 "Open Sans",sans-serif}
#approved-strategy-view .ss-directory__state{
  min-height:0!important;margin:0!important;padding:0 18px!important;
  color:#a34753!important;font:500 11px/1.4 "Open Sans",sans-serif!important;
}
#approved-strategy-view .ss-directory__state:empty{display:none!important}
#approved-strategy-view .ss-table{
  display:block!important;min-width:0!important;margin:7px 18px 0!important;padding:0!important;
  border:1px solid #e4eaf3!important;border-radius:11px!important;
  background:#fff!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-color:#cad7e9 transparent!important;scrollbar-width:thin!important;
}
#approved-strategy-view .ss-table__columns,
#approved-strategy-view .ss-row{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(170px,1.55fr) minmax(112px,1fr) minmax(112px,.85fr) minmax(126px,.98fr) minmax(120px,.95fr) minmax(92px,.7fr) minmax(165px,1.1fr)!important;
  align-items:center!important;gap:11px!important;min-width:1020px!important;
}
#approved-strategy-view .ss-table__columns{
  min-height:44px!important;padding:10px 14px!important;border-bottom:1px solid #e5ebf4!important;
  background:#f5f8fc!important;color:#6980a0!important;
  font:700 10px/1.3 "Open Sans",sans-serif!important;letter-spacing:.025em;text-transform:uppercase;
}
#approved-strategy-view .ss-group{
  display:block!important;margin:0!important;padding:0!important;
  border:0!important;border-bottom:1px solid #e6ecf5!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;
}
#approved-strategy-view .ss-group:last-child{border-bottom:0!important}
#approved-strategy-view .ss-group__header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;padding:9px 14px!important;margin:0!important;
  border:0!important;border-bottom:1px solid #edf1f7!important;
  border-radius:0!important;background:#fafcff!important;box-shadow:none!important;
  min-width:1020px!important;
}
#approved-strategy-view .ss-group__header>div{display:flex;align-items:center;gap:12px;min-width:0}
#approved-strategy-view .ss-group__header strong{
  color:#1e4276;font:700 11px/1.3 "Open Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#approved-strategy-view .ss-group__header small{
  color:#8b9bb0;font:500 10px/1.3 "Open Sans",sans-serif;white-space:nowrap;
}
#approved-strategy-view .strategy-readiness{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  width:max-content!important;max-width:100%!important;min-height:24px!important;
  padding:4px 9px!important;border:0!important;border-radius:999px!important;
  font:700 10px/1.3 "Open Sans",sans-serif!important;white-space:nowrap!important;
}
#approved-strategy-view .strategy-readiness--ready{background:#eaf6ee!important;color:#25734d!important}
#approved-strategy-view .strategy-readiness--blocked{background:#fff0e8!important;color:#a9613e!important}
#approved-strategy-view .ss-group__rows{
  display:block!important;margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:#fff!important;
}
#approved-strategy-view .ss-row{
  position:relative!important;width:100%!important;min-height:67px!important;
  margin:0!important;padding:12px 14px!important;border:0!important;
  border-bottom:1px solid #edf1f7!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;outline:0!important;
  cursor:pointer!important;transform:none!important;
  transition:background-color .15s ease!important;
}
#approved-strategy-view .ss-group__rows .ss-row:last-child{border-bottom:0!important}
#approved-strategy-view .ss-row:is(:hover,:focus-visible,:focus-within){
  background:#f3f7ff!important;box-shadow:none!important;
}
#approved-strategy-view .ss-row:focus-visible{
  outline:2px solid #3157d7!important;outline-offset:-3px!important;
}
#approved-strategy-view .ss-row--microtask .ss-row__subject{padding-left:13px;border-left:2px solid #bcd3f3}
#approved-strategy-view .ss-row__cell{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
  min-width:0!important;gap:3px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#354d70!important;font:500 11.5px/1.4 "Open Sans",sans-serif!important;
  overflow-wrap:anywhere!important;
}
#approved-strategy-view .ss-row__subject strong{
  color:#173565!important;font:700 12px/1.4 Poppins,"Open Sans",sans-serif!important;
  overflow-wrap:anywhere;
}
#approved-strategy-view .ss-row__subject small{color:#8596ac;font:500 10px/1.3 "Open Sans",sans-serif}
#approved-strategy-view .ss-row__mobile-label{display:none!important}
#approved-strategy-view .ss-row__actions{
  display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:3px!important;
}
#approved-strategy-view .ss-row__action{
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  flex:0 0 30px!important;min-width:30px!important;width:30px!important;
  min-height:30px!important;height:30px!important;margin:0!important;padding:0!important;
  border:1px solid transparent!important;border-radius:8px!important;
  background:transparent!important;color:#5573a4!important;box-shadow:none!important;
  font:700 17px/1 "Open Sans",sans-serif!important;
  transition:background .17s,color .17s!important;cursor:pointer!important;
}
#approved-strategy-view .ss-row__action:hover,#approved-strategy-view .ss-row__action:focus-visible{
  border-color:#d3e2f8!important;background:#eaf2ff!important;color:#0e2166!important;
}
#approved-strategy-view .ss-row__action svg{
  width:16px!important;height:16px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;
}
#approved-strategy-view .ss-row__action--danger:hover,
#approved-strategy-view .ss-row__action--danger:focus-visible{
  color:#b3434c!important;background:#fff1f2!important;border-color:#f2c9d0!important;
}
#approved-strategy-view .ss-row__action--open{border:1px solid #dae5f3!important;background:#fff!important}
#approved-strategy-view .ss-row>.strategy-execution-preview{
  grid-column:1/-1!important;padding:13px!important;margin-top:8px!important;
  border:1px solid #dbe7f9!important;border-radius:11px!important;background:#f8fbff!important;
}
#approved-strategy-view .ss-table--empty .ss-table__columns{display:none!important}
/* Popover filter is the exact scheduled form, moved from body to top layer. */
#approved-strategy-view #strategy-task-scheduled-filters:not(:popover-open):not(.ss-filters-open){display:none!important}
#approved-strategy-view #strategy-task-scheduled-filters:popover-open,
#approved-strategy-view #strategy-task-scheduled-filters.ss-filters-open{
  box-sizing:border-box!important;position:fixed!important;z-index:9999!important;
  top:var(--ss-filter-top,65px)!important;left:var(--ss-filter-left,12px)!important;
  bottom:auto!important;right:auto!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important;
  gap:13px!important;width:min(355px,calc(100vw - 24px))!important;
  max-width:none!important;min-width:0!important;max-height:calc(100dvh - var(--ss-filter-top,65px) - 12px)!important;
  margin:0!important;padding:17px!important;border:1px solid #dce6f3!important;
  border-radius:15px!important;background:#fff!important;box-shadow:0 22px 48px rgba(14,33,102,.18)!important;
  overflow-y:auto!important;
}
#approved-strategy-view .ss-filters__heading{
  grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 0 10px!important;border-bottom:1px solid #ebeff6!important;
}
#approved-strategy-view .ss-filters__heading h3{
  margin:0!important;color:#0e2166!important;font:700 15px/1.3 Poppins,"Open Sans",sans-serif!important;
}
#approved-strategy-view .ss-filters__heading button{
  display:grid!important;place-items:center!important;min-width:32px!important;width:32px!important;
  height:32px!important;min-height:32px!important;padding:0!important;
  border:0!important;border-radius:9px!important;background:#f1f5fb!important;
  color:#456188!important;font-size:24px!important;
}
#approved-strategy-view #strategy-task-scheduled-filters>label{
  grid-column:1/-1!important;display:grid!important;gap:7px!important;
  color:#627a98!important;font:700 11px/1.3 "Open Sans",sans-serif!important;
}
#approved-strategy-view #strategy-task-scheduled-filters>label select{
  min-height:41px!important;width:100%!important;padding:9px!important;
  border:1px solid #dce5f2!important;border-radius:9px!important;
  background:#fbfcff!important;font:600 12px/1.3 "Open Sans",sans-serif!important;
}
#approved-strategy-view #strategy-task-scheduled-filters>button:not(.ss-filters__heading button){
  width:100%!important;height:39px!important;min-height:39px!important;
  padding:9px 12px!important;border-radius:9px!important;
  border:1px solid #dce5f2!important;background:#fff!important;
  color:#264779!important;font:700 11px/1.25 "Open Sans",sans-serif!important;
}
#approved-strategy-view #strategy-task-scheduled-filters>.ss-filters__apply{
  background:#0b7ff0!important;border-color:#0b7ff0!important;color:#fff!important;
}

/* Same Sfera detail/editor family for the scheduled modals, without breaking
   their original form validation and submit handlers. */
body .strategy-scheduled-editor .strategy-definition-dialog,
body .strategy-scheduled-detail .strategy-scheduled-detail__dialog{
  border:1px solid #dce5f1!important;border-radius:17px!important;
  background:#f6f8fc!important;box-shadow:0 24px 55px rgba(14,33,102,.17)!important;
}
body .strategy-scheduled-editor .task-v2-dialog__header,
body .strategy-scheduled-detail .task-v2-dialog__header{
  background:#fff!important;border-bottom:1px solid #e1e9f5!important;
}
body .strategy-scheduled-editor .task-v3-dialog-heading__icon{
  background:#0e2166!important;color:#fff!important;border-radius:11px!important;
}
body .strategy-scheduled-editor .task-v3-dialog-eyebrow{color:#637fa5!important}
body .strategy-scheduled-editor .strategy-definition-form__section{
  border:1px solid #e3eaf4!important;border-radius:13px!important;
  background:#fff!important;box-shadow:0 3px 10px rgba(14,33,102,.02)!important;
}
body .strategy-scheduled-editor .task-v2-dialog__footer,
body .strategy-scheduled-detail .task-v2-dialog__footer{
  background:#fff!important;border-top:1px solid #e1e9f5!important;
}

/* Tablet / mobile: no viewport clipping, tabs remain in the sticky chrome. */
@media(max-width:1280px){
 #approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1150px){
 #signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button{padding-inline:8px!important;font-size:10.5px!important}
 #signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs{max-width:300px!important}
}
@media(max-width:920px){
 #approved-strategy-view .ss-overview{grid-template-columns:1fr!important}
 #approved-strategy-view .ss-metric{min-height:185px!important}
}
@media(max-width:760px){
 #signed-in.app-shell:has(#approved-strategy-view:not([hidden])) .app-topbar .sfera-strategies-topbar>.strategies-tabs{
  position:absolute!important;top:100%!important;left:0!important;right:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;max-width:100%!important;height:43px!important;min-height:43px!important;
  padding:4px 12px 4px 58px!important;border:0!important;border-radius:0!important;
  background:#0e2166!important;box-shadow:0 5px 12px rgba(14,33,102,.08)!important;
 }
 #signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button{height:33px!important;padding:6px 12px!important;font-size:11px!important}
 #approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody{grid-template-columns:1fr!important}
 #approved-strategy-view .ss-directory__hint{display:none!important}
 #approved-strategy-view .ss-table{
  margin:7px 11px 0!important;border:0!important;border-radius:0!important;overflow-x:visible!important;
 }
 #approved-strategy-view .ss-table__columns{display:none!important}
 #approved-strategy-view .ss-group{border:1px solid #e2eaf5!important;border-radius:12px!important;margin:0 0 11px!important;overflow:hidden!important}
 #approved-strategy-view .ss-group__header{
  min-width:0!important;gap:8px!important;align-items:flex-start!important;
  padding:12px!important;flex-wrap:wrap!important;
 }
 #approved-strategy-view .ss-group__header>div{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}
 #approved-strategy-view .ss-group__rows{display:grid!important;gap:0!important}
 #approved-strategy-view .ss-row{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  min-width:0!important;gap:10px 12px!important;padding:14px 12px!important;
 }
 #approved-strategy-view .ss-row__subject{grid-column:1/-1!important;padding-bottom:9px!important;border-bottom:1px solid #eaf0f7!important}
 #approved-strategy-view .ss-row--microtask .ss-row__subject{padding-left:9px!important}
 #approved-strategy-view .ss-row__mobile-label{display:block!important;color:#94a2b5!important;font:700 9px/1.3 "Open Sans",sans-serif!important;text-transform:uppercase!important}
 #approved-strategy-view .ss-row__status{grid-column:1!important}
 #approved-strategy-view .ss-row__actions{grid-column:2!important;grid-row:auto!important}
 #approved-strategy-view .ss-row__next{grid-column:1/-1!important}
 #approved-strategy-view .ss-row__recurrence{grid-column:1/-1!important}
 #approved-strategy-view .ss-row__actions .ss-row__action{width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
 #approved-strategy-view #sas-archive .sas-archive-head{min-height:44px!important;padding:9px 12px 4px!important}
 #approved-strategy-view #sas-archive .sas-table-region{padding:4px 10px 10px!important}
 #approved-strategy-form .strategies-modal__card{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:14px!important}
 #approved-strategy-form .strategies-form-grid{grid-template-columns:1fr!important}
 #approved-strategy-form .strategies-form-grid .strategies-form-grid__wide{grid-column:1!important}
 #approved-strategy-form .strategies-modal__body{padding:15px!important}
}
@media(max-width:420px){
 #approved-strategy-view .ss-metric{padding:17px!important}
 #approved-strategy-view .ss-directory__head{padding:10px 12px 4px!important}
 #approved-strategy-view .ss-directory .ss-count{font-size:10.5px!important;padding-inline:9px!important}
 #approved-strategy-form .strategies-modal__card>header{padding:14px!important}
 #approved-strategy-form .strategies-modal__card>footer{padding:10px 13px!important}
}
@media(prefers-reduced-motion:reduce){
 #approved-strategy-view #sas-archive.is-cards .approved-strategy-table tbody tr,
 #approved-strategy-view .ss-metric,#approved-strategy-view .ss-row,
 #approved-strategy-view .ss-readiness__track>span,
 #signed-in .app-topbar .sfera-strategies-topbar > nav.strategies-tabs button,
 #approved-strategy-form .strategies-modal__close{
  transition:none!important;animation:none!important;transform:none!important;
 }
}

@media(max-width:590px){
 #approved-strategy-view .ss-metric__body{grid-template-columns:1fr!important;gap:14px!important;margin-top:15px!important}
 #approved-strategy-view .ss-metric__foot{border-left:0!important;border-top:1px solid #e5ebf5!important;padding:12px 0 0!important}
 #approved-strategy-view .ss-readiness__ring{width:88px!important;height:88px!important;flex-basis:88px!important}
 #approved-strategy-view .ss-readiness__values strong{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){
 #approved-strategy-view .ss-readiness__ring-value{transition:none!important}
}
