/* Session-aware radar refinements — mobile first */
.sas-radar-visual{touch-action:manipulation}
.sas-radar-live-countdown{position:absolute;z-index:5;inset:35%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid rgba(45,244,255,.25);border-radius:50%;background:rgba(1,13,25,.88);box-shadow:0 0 22px rgba(45,244,255,.15);pointer-events:none}
.sas-radar-live-countdown b{font-size:clamp(15px,3.2vw,21px);font-variant-numeric:tabular-nums;color:#d8fbff;text-shadow:0 0 10px rgba(45,244,255,.5)}
.sas-radar-live-countdown small{font-size:9px;color:#8cb9c8;white-space:nowrap}
.sas-radar-auto-panel{display:flex;align-items:center;gap:10px}
.sas-radar-auto-panel[data-state="open"]{border-color:rgba(25,239,139,.5);box-shadow:0 0 20px rgba(25,239,139,.08)}
.sas-radar-auto-panel[data-state="preopen"]{border-color:rgba(255,212,71,.35)}
.sas-radar-auto-panel[data-state="night"]{opacity:.78}
.sas-radar-schedule-status{display:block;grid-column:1/-1;color:#82aebd;font-size:10px;line-height:1.6}
.sas-radar-gauge-progress{transition:stroke-dashoffset .5s linear}
@media(max-width:640px){.sas-radar-showcase{grid-template-columns:minmax(0,1fr);gap:14px;padding:15px;border-radius:20px}.sas-radar-visual{width:min(64vw,210px)}.sas-radar-copy{text-align:center}.sas-radar-status,.sas-radar-actions{justify-content:center}.sas-radar-status b{margin-inline-start:0}.sas-radar-auto-panel{max-width:100%}}
@media(prefers-reduced-motion:reduce){.sas-radar-sweep,.sas-radar-dot{animation:none!important}.sas-radar-gauge-progress{transition:none}}

/* Clear, honest weekend state: no simulated sweep or pulsing targets while the US market is closed for the weekend. */
.sas-radar-visual.sas-radar-weekend-closed{border-color:rgba(235,91,111,.42);box-shadow:inset 0 0 26px rgba(235,91,111,.045),0 0 18px rgba(235,91,111,.07);cursor:pointer}
.sas-radar-visual.sas-radar-weekend-closed .sas-radar-sweep{animation:none!important;opacity:0!important}
.sas-radar-visual.sas-radar-weekend-closed .sas-radar-dot{animation:none!important;opacity:.45!important;box-shadow:0 0 5px rgba(112,244,200,.25)!important}
.sas-radar-auto-panel[data-state="weekend"]{flex-wrap:wrap;align-items:center;gap:10px;border-color:rgba(235,91,111,.35);background:linear-gradient(120deg,rgba(45,13,26,.28),rgba(2,18,31,.82));padding:12px;box-sizing:border-box}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-copy{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-copy b{display:block;line-height:1.6;white-space:normal}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-copy small{display:block;line-height:1.8;white-space:normal;overflow-wrap:anywhere}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-schedule-status{flex:1 0 100%;width:100%;grid-column:auto;line-height:1.8;white-space:normal;overflow-wrap:anywhere}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-gauge-progress{stroke-dashoffset:113.1!important;transition:none}

/* Countdown-free radar status panel: preserve the scheduler, remove the distracting timer UI. */
.sas-radar-status-panel{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;max-width:100%;padding:14px 16px;border:1px solid rgba(45,244,255,.2);border-radius:16px;background:linear-gradient(120deg,rgba(6,38,53,.68),rgba(2,15,28,.9));box-sizing:border-box;overflow-wrap:anywhere}
.sas-radar-status-panel .sas-radar-state-indicator{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#43d9b4;box-shadow:0 0 12px rgba(67,217,180,.38)}
.sas-radar-status-panel[data-state="weekend"] .sas-radar-state-indicator{background:#e76b83;box-shadow:0 0 10px rgba(231,107,131,.32)}
.sas-radar-status-panel[data-state="scanning"] .sas-radar-state-indicator{background:#f3c66a;box-shadow:0 0 10px rgba(243,198,106,.3)}
.sas-radar-status-panel .sas-radar-auto-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.sas-radar-status-panel .sas-radar-auto-copy b{display:block;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.sas-radar-status-panel .sas-radar-auto-copy small{display:block;line-height:1.8;white-space:normal;overflow-wrap:anywhere;color:#8fb7c6}

/* Restored radar countdown, synchronized to the actual next scheduled scan. */
.sas-radar-auto-gauge{position:relative;flex:0 0 54px;width:54px;height:54px;display:flex;align-items:center;justify-content:center}
.sas-radar-auto-gauge svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.sas-radar-gauge-track,.sas-radar-gauge-progress{fill:none;stroke-width:4}
.sas-radar-gauge-track{stroke:rgba(82,151,170,.22)}
.sas-radar-gauge-progress{stroke:#27d8e9;stroke-linecap:round;transition:stroke-dashoffset .8s linear}
.sas-radar-auto-gauge>span{font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;color:#bdf9ff;z-index:1;text-align:center}
.sas-radar-status-panel{gap:12px}
.sas-radar-live-countdown{inset:35%;z-index:5}
.sas-radar-visual.sas-radar-weekend-closed .sas-radar-live-countdown{border-color:rgba(235,91,111,.3);box-shadow:none}
.sas-radar-visual.sas-radar-weekend-closed .sas-radar-live-countdown b{color:#ffc1cc;text-shadow:none}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-gauge-progress{stroke:#e76b83;stroke-dashoffset:113.1!important;transition:none}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-gauge>span{font-size:9px;color:#ffc1cc}
@media(max-width:640px){.sas-radar-auto-gauge{flex-basis:48px;width:48px;height:48px}.sas-radar-auto-gauge>span{font-size:9px}.sas-radar-live-countdown{inset:35%}}

/* Mobile card overflow fix: timer, copy and status stay in bounded columns. */
.sas-radar-auto-panel.sas-radar-status-panel{display:flex;flex-flow:row nowrap;align-items:center;gap:10px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-gauge{flex:0 0 48px;width:48px;height:48px}
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-state-indicator{flex:0 0 8px;width:8px;height:8px}
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-copy{flex:1 1 0%;width:0;min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;gap:5px}
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-copy b,
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-copy small{display:block;width:100%;max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.65;box-sizing:border-box}
.sas-radar-auto-panel.sas-radar-status-panel .sas-radar-schedule-status{display:block;flex:none;width:100%;max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.7;box-sizing:border-box;margin:2px 0 0;padding:0}
.sas-radar-auto-panel.sas-radar-status-panel[data-state="weekend"]{flex-wrap:nowrap;align-items:center}
.sas-radar-auto-panel.sas-radar-status-panel[data-state="weekend"] .sas-radar-auto-copy{flex:1 1 0%;min-width:0}
@media(max-width:420px){
 .sas-radar-auto-panel.sas-radar-status-panel{gap:7px;padding:10px}
 .sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-gauge{flex-basis:42px;width:42px;height:42px}
 .sas-radar-auto-panel.sas-radar-status-panel .sas-radar-state-indicator{flex-basis:7px;width:7px;height:7px}
 .sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-copy b{font-size:12px}
 .sas-radar-auto-panel.sas-radar-status-panel .sas-radar-auto-copy small,
 .sas-radar-auto-panel.sas-radar-status-panel .sas-radar-schedule-status{font-size:10px}
}

/* Weekend closure: hide both countdown widgets; never imply a scan is underway. */
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-gauge,
.sas-radar-visual.sas-radar-weekend-closed .sas-radar-live-countdown{display:none!important}
.sas-radar-auto-panel[data-state="weekend"] .sas-radar-auto-copy{flex:1 1 auto!important;min-width:0!important}

/* Definitive removal: no radar countdown UI on any session or viewport. */
#sasRadarAutoPanel .sas-radar-auto-gauge,
.sas-radar-visual .sas-radar-live-countdown,
#sasRadarAutoPanel .sas-radar-schedule-status,
#sasRadarAutoPanel [id*="RadarCountdown"],
.sas-radar-visual [id*="RadarCountdown"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important}


/* Live opportunity lifecycle panel */
.radar-lifecycle{display:grid;gap:12px;margin:14px 0;padding:14px;border:1px solid rgba(91,190,220,.22);border-radius:16px;background:linear-gradient(145deg,rgba(7,22,38,.96),rgba(4,12,23,.96));color:#e8f3ff}
.radar-lifecycle-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.radar-lifecycle-head b{font-size:14px}.radar-lifecycle-head span,.radar-lifecycle small{color:#9eb3c9;font-size:11px}
.radar-lifecycle section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.radar-lifecycle section h3{grid-column:1/-1;margin:4px 0;font-size:12px}
.radar-lifecycle-card{min-width:0;padding:11px;border:1px solid rgba(111,170,210,.18);border-radius:12px;background:rgba(12,31,49,.8);font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.radar-lifecycle-card header{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;font-size:13px}
.radar-lifecycle-card header span{color:#74e0ae}.radar-lifecycle-targets{color:#9fc7ee}
.radar-lifecycle-card>small{display:block;margin-top:4px}.radar-lifecycle-card>small:last-child{color:#e6b66b}
.radar-lifecycle details{font-size:12px}.radar-lifecycle summary{cursor:pointer;padding:8px 0;color:#b9d9f5}
.radar-lifecycle-empty{margin:0;color:#9eb3c9;font-size:12px}
@media(max-width:560px){.radar-lifecycle section{grid-template-columns:1fr}}


/* SAS PRO mobile radar: make the session indicator a clean, compact status bar. */
.sas-radar-visual-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  width:100%;
  min-width:0;
}
.sas-radar-auto-panel.sas-radar-status-panel{
  direction:rtl;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:min(100%,520px);
  min-height:62px;
  margin:0 auto;
  padding:12px 16px;
  border-radius:14px;
  text-align:right;
  box-sizing:border-box;
  background:linear-gradient(115deg,rgba(7,31,47,.96),rgba(3,17,31,.98));
  border:1px solid rgba(82,180,205,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.16);
}
.sas-radar-status-panel .sas-radar-state-indicator{
  position:relative;
  flex:0 0 11px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#7f9eae;
  border:2px solid rgba(255,255,255,.16);
  box-shadow:0 0 0 4px rgba(127,158,174,.10);
}
.sas-radar-status-panel .sas-radar-auto-copy{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  text-align:right;
}
.sas-radar-status-panel .sas-radar-auto-copy b{
  display:block;
  width:100%;
  color:#e9f7ff;
  font-size:13px;
  line-height:1.55;
  font-weight:800;
  overflow-wrap:anywhere;
}
.sas-radar-status-panel .sas-radar-auto-copy small{
  display:block;
  width:100%;
  color:#91adbd;
  font-size:11px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.sas-radar-status-panel[data-state="open"]{
  border-color:rgba(49,220,145,.38);
}
.sas-radar-status-panel[data-state="open"] .sas-radar-state-indicator{
  background:#31dc91;
  box-shadow:0 0 0 4px rgba(49,220,145,.12);
}
.sas-radar-status-panel[data-state="preopen"]{
  border-color:rgba(255,190,72,.38);
}
.sas-radar-status-panel[data-state="preopen"] .sas-radar-state-indicator{
  background:#ffbe48;
  box-shadow:0 0 0 4px rgba(255,190,72,.12);
}
.sas-radar-status-panel[data-state="after"],
.sas-radar-status-panel[data-state="night"],
.sas-radar-status-panel[data-state="weekend"]{
  border-color:rgba(235,104,124,.32);
}
.sas-radar-status-panel[data-state="after"] .sas-radar-state-indicator,
.sas-radar-status-panel[data-state="night"] .sas-radar-state-indicator,
.sas-radar-status-panel[data-state="weekend"] .sas-radar-state-indicator{
  background:#eb687c;
  box-shadow:0 0 0 4px rgba(235,104,124,.11);
}
.sas-radar-status-panel[data-state="scanning"]{
  border-color:rgba(58,207,235,.4);
}
.sas-radar-status-panel[data-state="scanning"] .sas-radar-state-indicator{
  background:#3acfeb;
  box-shadow:0 0 0 4px rgba(58,207,235,.12);
}
@media(max-width:420px){
  .sas-radar-visual-wrap{gap:12px}
  .sas-radar-auto-panel.sas-radar-status-panel{
    width:100%;
    min-height:58px;
    padding:10px 12px;
    gap:10px;
  }
  .sas-radar-status-panel .sas-radar-auto-copy b{font-size:12px}
  .sas-radar-status-panel .sas-radar-auto-copy small{font-size:10px}
}
