/* EdgeBreak Workspace Pro — website-only command centre */
body.eb-workspace-pro-active .elite-banner,
body.eb-workspace-pro-active .workspace-secondary-grid{
  display:none!important;
}

#ebWorkspaceProRoot{
  width:100%;
}

.eb-wp-grid{
  display:grid;
  grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(290px,340px);
  gap:14px;
  align-items:start;
}

.eb-wp-left,
.eb-wp-centre,
.eb-wp-right{
  min-width:0;
}

.eb-wp-panel{
  border:1px solid #e3e9ef;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
}

.eb-wp-left{
  display:grid;
  gap:12px;
}

.eb-wp-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px 10px;
  border-bottom:1px solid #edf1f4;
}

.eb-wp-panel-head span,
.eb-wp-selected > div > span,
.eb-wp-intel-head span{
  display:block;
  color:#94a3b8;
  font-size:8px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.eb-wp-panel-head h2{
  margin:3px 0 0;
  color:#0f172a;
  font-size:14px;
  letter-spacing:-.02em;
}

.eb-wp-panel-head a{
  color:#08783b;
  font-size:9px;
  font-weight:850;
  text-decoration:none;
}

.eb-wp-watchlist{
  max-height:420px;
  overflow:auto;
  padding:7px;
}

.eb-wp-watch-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 30px;
  align-items:stretch;
  gap:4px;
  margin-bottom:5px;
  border:1px solid transparent;
  border-radius:11px;
  background:#f8fafc;
}

.eb-wp-watch-row.selected{
  border-color:#b7dfc3;
  background:#eef9f1;
}

.eb-wp-watch-select{
  min-width:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:9px;
  padding:9px 8px 9px 10px;
  border:0;
  background:transparent;
  color:#334155;
  text-align:left;
  cursor:pointer;
}

.eb-wp-watch-main strong{
  display:block;
  color:#0f172a;
  font-size:13px;
}

.eb-wp-watch-main small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:8px;
  font-weight:750;
}

.eb-wp-watch-meta{
  flex:0 0 auto;
  text-align:right;
}

.eb-wp-watch-meta b{
  display:block;
  color:#0f172a;
  font-size:10px;
}

.eb-wp-watch-meta small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:7px;
  white-space:nowrap;
}

.eb-wp-watch-remove{
  align-self:center;
  width:28px;
  height:28px;
  border:1px solid #dde4ea;
  border-radius:8px;
  background:#fff;
  color:#94a3b8;
  cursor:pointer;
}

.eb-wp-watch-remove:hover{
  border-color:#fecaca;
  color:#dc2626;
}

.eb-wp-saved{
  max-height:300px;
  overflow:auto;
}

#ebWpSavedScans{
  padding:7px;
}

.eb-wp-saved-card{
  padding:9px 10px;
  margin-bottom:6px;
  border:1px solid #e7ecf1;
  border-radius:10px;
  background:#fbfcfd;
}

.eb-wp-saved-card > div{
  display:flex;
  align-items:center;
  gap:5px;
}

.eb-wp-saved-card strong{
  color:#0f172a;
  font-size:10px;
}

.eb-wp-star{
  color:#d97706;
  font-size:9px;
}

.eb-wp-saved-card p{
  margin:4px 0 6px;
  color:#64748b;
  font-size:8px;
  line-height:1.4;
}

.eb-wp-saved-card a{
  color:#08783b;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
}

.eb-wp-centre{
  display:grid;
  gap:12px;
}

.eb-wp-selected{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px;
  border:1px solid #e3e9ef;
  border-radius:16px;
  background:#fff;
}

.eb-wp-selected h1{
  margin:2px 0 1px;
  color:#0f172a;
  font-size:21px;
  line-height:1;
  letter-spacing:-.03em;
}

.eb-wp-selected p{
  margin:5px 0 0;
  color:#64748b;
  font-size:9px;
}

.eb-wp-fullscreen{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:1px solid #bddcc6;
  border-radius:9px;
  background:#f4fbf6;
  color:#08783b;
  font-size:9px;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}

.eb-wp-chart-host{
  min-height:590px;
  overflow:hidden;
  border:1px solid #dfe6ed;
  border-radius:17px;
  background:#fff;
}

.eb-wp-chart-host #workspaceChart{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}

.eb-wp-chart-host .workspace-chart-head{
  padding:11px 13px!important;
  margin:0!important;
  border-bottom:1px solid #e5eaf0;
}

.eb-wp-chart-host #edgebreak_advanced_chart{
  min-height:540px;
}

.eb-wp-right{
  position:sticky;
  top:95px;
}

.eb-wp-intel-panel{
  overflow:hidden;
}

.eb-wp-intel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-bottom:1px solid #edf1f4;
}

.eb-wp-intel-head strong{
  display:block;
  margin-top:3px;
  color:#0f172a;
  font-size:22px;
  letter-spacing:-.03em;
}

.eb-wp-intel-head b{
  display:inline-flex;
  margin-top:6px;
  padding:4px 7px;
  border-radius:999px;
  background:#eef9f1;
  color:#08783b;
  font-size:8px;
  font-weight:850;
}

.eb-wp-intel-head a{
  color:#08783b;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
}

.eb-wp-memberships{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  padding:10px 14px 0;
}

.eb-wp-memberships span{
  padding:4px 7px;
  border-radius:999px;
  background:#f1f5f9;
  color:#475569;
  font-size:7px;
  font-weight:800;
}

.eb-wp-intel-section{
  padding:13px 14px;
  border-top:1px solid #edf1f4;
}

.eb-wp-intel-section:first-of-type{
  border-top:0;
}

.eb-wp-intel-section h3{
  margin:0 0 8px;
  color:#0f172a;
  font-size:10px;
}

.eb-wp-metric-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}

.eb-wp-metric{
  min-width:0;
  padding:8px;
  border:1px solid #e6ebf0;
  border-radius:9px;
  background:#fafcfd;
}

.eb-wp-metric span{
  display:block;
  color:#94a3b8;
  font-size:7px;
  font-weight:850;
  text-transform:uppercase;
}

.eb-wp-metric strong{
  display:block;
  margin-top:3px;
  color:#0f172a;
  font-size:13px;
}

.eb-wp-metric small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:7px;
  line-height:1.3;
  text-transform:capitalize;
}

.eb-wp-data-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:5px 0;
  color:#64748b;
  font-size:8px;
}

.eb-wp-data-line strong{
  color:#334155;
  font-size:8px;
}

.eb-wp-changes{
  overflow:hidden;
}

#ebWpChanges{
  padding:12px 14px 14px;
}

#ebWpChanges ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

#ebWpChanges li{
  padding:8px 9px;
  border:1px solid #e4ebe7;
  border-radius:9px;
  background:#f8fbf9;
  color:#334155;
  font-size:8px;
  line-height:1.4;
}

.eb-wp-change-meta{
  margin-bottom:8px;
  color:#94a3b8;
  font-size:8px;
}

.eb-wp-change-none{
  padding:8px 0;
}

.eb-wp-change-none strong,
.eb-wp-change-none span{
  display:block;
}

.eb-wp-change-none strong{
  color:#334155;
  font-size:9px;
}

.eb-wp-change-none span{
  margin-top:3px;
  color:#94a3b8;
  font-size:8px;
}

.eb-wp-empty,
.eb-wp-error,
.eb-wp-loading{
  padding:14px;
}

.eb-wp-empty.compact,
.eb-wp-error.compact,
.eb-wp-loading.compact{
  padding:9px;
}

.eb-wp-empty strong,
.eb-wp-empty span,
.eb-wp-error strong,
.eb-wp-error span{
  display:block;
}

.eb-wp-empty strong,
.eb-wp-error strong{
  color:#334155;
  font-size:9px;
}

.eb-wp-empty span,
.eb-wp-error span,
.eb-wp-loading{
  margin-top:3px;
  color:#64748b;
  font-size:8px;
  line-height:1.4;
}

.eb-wp-empty a,
.eb-wp-error button{
  display:inline-flex;
  margin-top:7px;
  border:0;
  background:transparent;
  color:#08783b;
  padding:0;
  font:inherit;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
  cursor:pointer;
}

.eb-wp-fatal-local{
  padding:18px;
  border:1px solid #fed7aa;
  border-radius:13px;
  background:#fff7ed;
}

.eb-wp-fatal-local strong,
.eb-wp-fatal-local span{
  display:block;
}

.eb-wp-fatal-local strong{
  color:#9a3412;
  font-size:12px;
}

.eb-wp-fatal-local span{
  margin-top:4px;
  color:#c2410c;
  font-size:9px;
}

.eb-wp-mobile-tabs{
  display:none;
}

body.eb-workspace-pro-active #ebWorkspaceStage{
  min-height:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

body.eb-workspace-pro-active #ebWorkspaceEmpty{
  display:block!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body.eb-workspace-pro-active #ebWorkspaceWindow{
  display:none!important;
}

body.eb-workspace-pro-active .elite-container{
  max-width:1600px!important;
  width:min(1600px,100%)!important;
  padding-top:16px!important;
}

@media(max-width:1180px){
  .eb-wp-grid{
    grid-template-columns:minmax(210px,250px) minmax(0,1fr);
  }

  .eb-wp-right{
    position:static;
    grid-column:1 / -1;
  }

  .eb-wp-right .eb-wp-intel-panel{
    display:grid;
    grid-template-columns:240px 1fr 1fr;
    align-items:start;
  }

  .eb-wp-right .eb-wp-intel-head{
    border-right:1px solid #edf1f4;
    border-bottom:0;
    height:100%;
  }

  .eb-wp-memberships{
    align-content:start;
  }
}

@media(max-width:820px){
  .eb-wp-mobile-tabs{
    position:sticky;
    top:78px;
    z-index:20;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    margin-bottom:8px;
    padding:5px;
    border:1px solid #e3e9ef;
    border-radius:12px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);
  }

  .eb-wp-mobile-tabs button{
    min-height:38px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#64748b;
    font-size:8px;
    font-weight:850;
  }

  .eb-wp-mobile-tabs button[aria-selected="true"]{
    background:#eef9f1;
    color:#08783b;
  }

  .eb-wp-grid{
    display:block;
  }

  .eb-wp-left,
  .eb-wp-centre,
  .eb-wp-right,
  .eb-wp-changes{
    display:none!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="watchlist"] .eb-wp-left,
  #ebWorkspaceProRoot[data-mobile-tab="chart"] .eb-wp-centre,
  #ebWorkspaceProRoot[data-mobile-tab="intel"] .eb-wp-right,
  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-centre,
  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-changes{
    display:block!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-selected,
  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-chart-host{
    display:none!important;
  }

  .eb-wp-left{
    gap:10px;
  }

  .eb-wp-watchlist,
  .eb-wp-saved{
    max-height:none;
  }

  .eb-wp-right{
    position:static;
  }

  .eb-wp-right .eb-wp-intel-panel{
    display:block;
  }

  .eb-wp-right .eb-wp-intel-head{
    border-right:0;
    border-bottom:1px solid #edf1f4;
  }

  .eb-wp-chart-host{
    min-height:480px;
  }

  .eb-wp-chart-host #edgebreak_advanced_chart{
    min-height:430px;
  }

  #ebWpChanges ul{
    grid-template-columns:1fr;
  }
}

@media(max-width:520px){
  body.eb-workspace-pro-active main{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .eb-wp-selected{
    padding:11px;
  }

  .eb-wp-selected h1{
    font-size:18px;
  }

  .eb-wp-chart-host{
    min-height:420px;
  }

  .eb-wp-chart-host #edgebreak_advanced_chart{
    min-height:370px;
  }

  .eb-wp-metric-grid{
    grid-template-columns:1fr 1fr;
  }
}


/* =========================================================
   WORKSPACE PRO POLISH V2 — COHESIVE RESEARCH WORKSTATION
========================================================= */

.eb-wp-grid{
  grid-template-columns:minmax(220px,250px) minmax(520px,1fr) minmax(280px,320px);
  gap:16px;
}

.eb-wp-panel{
  box-shadow:none;
  border-color:#e5eaf0;
}

.eb-wp-left{
  gap:14px;
}

.eb-wp-watchlist{
  max-height:480px;
  padding:6px;
}

.eb-wp-watch-row{
  margin-bottom:3px;
  border-radius:9px;
  background:#fafbfc;
}

.eb-wp-watch-row.selected{
  border-color:#a9d7b6;
  background:#f0faf3;
  box-shadow:inset 3px 0 0 #16a34a;
}

.eb-wp-saved-card{
  border:0;
  border-top:1px solid #edf1f4;
  border-radius:0;
  background:transparent;
}

.eb-wp-saved-card:first-child{
  border-top:0;
}

.eb-wp-centre{
  display:grid;
  gap:0;
}

.eb-wp-selected{
  padding:10px 14px;
  border-color:#dfe6ed;
  border-bottom:0;
  border-radius:14px 14px 0 0;
  box-shadow:none;
}

.eb-wp-selected > div > span{
  font-size:7px;
}

.eb-wp-selected h1{
  margin-top:1px;
  font-size:20px;
}

.eb-wp-selected p{
  margin-top:4px;
  font-size:9px;
}

.eb-wp-fullscreen{
  min-height:32px;
  padding:0 11px;
  border-radius:8px;
}

.eb-wp-chart-host{
  min-height:610px;
  border-color:#dfe6ed;
  border-radius:0 0 16px 16px;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
}

/* The compact selected-stock header is now the chart identity. */
.eb-wp-chart-host .workspace-chart-head{
  display:none!important;
}

.eb-wp-chart-host #edgebreak_advanced_chart{
  min-height:590px;
}

.eb-wp-right{
  display:grid;
  gap:12px;
  align-content:start;
}

.eb-wp-intel-panel,
.eb-wp-changes{
  box-shadow:none;
}

.eb-wp-intel-head{
  padding:12px 14px 9px;
  border-bottom:0;
}

.eb-wp-intel-head strong{
  font-size:20px;
}

.eb-wp-memberships{
  padding:7px 14px 3px;
}

.eb-wp-intel-section{
  padding:12px 14px;
}

.eb-wp-metric-grid{
  gap:5px 10px;
}

.eb-wp-metric{
  padding:8px 2px;
  border:0;
  border-radius:0;
  background:transparent;
}

.eb-wp-metric:nth-child(n+3){
  border-top:1px solid #edf1f4;
}

.eb-wp-changes .eb-wp-panel-head{
  padding-bottom:9px;
}

#ebWpChanges{
  padding:10px 14px 14px;
}

#ebWpChanges ul{
  grid-template-columns:1fr;
  gap:0;
}

#ebWpChanges li{
  padding:8px 0;
  border:0;
  border-top:1px solid #edf1f4;
  border-radius:0;
  background:transparent;
}

#ebWpChanges li:first-child{
  border-top:0;
}

body.eb-app-body.eb-workspace-pro-active main{
  padding-bottom:145px!important;
}

body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai{
  left:calc(var(--eb-sidebar) + 36px)!important;
  right:36px!important;
  bottom:14px!important;
  max-width:760px!important;
}

body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai-shell{
  min-height:58px!important;
  padding:7px 8px!important;
  gap:9px!important;
  border-radius:18px!important;
  box-shadow:0 12px 36px rgba(15,23,42,.10),0 2px 6px rgba(15,23,42,.035)!important;
}

body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai-brand{
  min-width:148px!important;
  padding:5px 8px 5px 5px!important;
}

body.eb-app-body.eb-workspace-pro-active #ebBottomAIQuestion{
  min-height:36px!important;
  padding:8px 3px 6px!important;
  font-size:13px!important;
}

body.eb-app-body.eb-workspace-pro-active #ebBottomAIAsk{
  width:40px!important;
  height:40px!important;
  flex-basis:40px!important;
  border-radius:12px!important;
}

body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai-note{
  margin-top:4px!important;
  font-size:8.5px!important;
}

@media(max-width:1180px){
  .eb-wp-grid{
    grid-template-columns:minmax(210px,240px) minmax(0,1fr);
  }

  .eb-wp-right{
    gap:10px;
  }
}

@media(max-width:900px){
  body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai{
    left:12px!important;
    right:12px!important;
    bottom:10px!important;
    max-width:none!important;
  }

  body.eb-app-body.eb-workspace-pro-active main{
    padding-bottom:115px!important;
  }
}

@media(max-width:820px){
  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-centre{
    display:none!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-right{
    display:block!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="intel"] .eb-wp-changes{
    display:none!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-intel-panel{
    display:none!important;
  }

  #ebWorkspaceProRoot[data-mobile-tab="changes"] .eb-wp-changes{
    display:block!important;
  }

  .eb-wp-selected{
    border-radius:13px 13px 0 0;
  }

  .eb-wp-chart-host{
    border-radius:0 0 13px 13px;
  }

  body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai-brand{
    min-width:0!important;
  }
}

@media(max-width:520px){
  body.eb-app-body.eb-workspace-pro-active main{
    padding-bottom:105px!important;
  }

  body.eb-app-body.eb-workspace-pro-active .eb-bottom-ai-shell{
    min-height:54px!important;
    border-radius:16px!important;
  }
}


/* =========================================================
   WORKSPACE PRO POLISH V3 — PANEL ALIGNMENT
   Align the three primary desktop research surfaces without
   changing chart/scanner/intelligence behaviour.
========================================================= */

@media(min-width:1181px){
  .eb-wp-grid{
    grid-template-columns:minmax(260px,280px) minmax(0,1fr) minmax(260px,280px);
    gap:16px;
    align-items:start;
  }

  .eb-wp-left,
  .eb-wp-centre,
  .eb-wp-right{
    align-self:start;
    margin-top:0;
  }

  /* Keep the side research rails visually balanced. */
  .eb-wp-left > .eb-wp-panel:first-child,
  .eb-wp-intel-panel{
    width:100%;
    box-sizing:border-box;
  }

  /* The sticky offset was making Intelligence appear lower than
     Watchlist/Selected Stock at common desktop zoom levels. */
  .eb-wp-right{
    position:static;
    top:auto;
  }

  /* Give the three top headers one shared rhythm. */
  .eb-wp-left > .eb-wp-panel:first-child > .eb-wp-panel-head,
  .eb-wp-selected,
  .eb-wp-intel-head{
    min-height:82px;
    box-sizing:border-box;
  }

  .eb-wp-left > .eb-wp-panel:first-child > .eb-wp-panel-head,
  .eb-wp-intel-head{
    align-items:center;
    padding:12px 14px;
  }

  .eb-wp-selected{
    align-items:center;
    padding:12px 14px;
  }

  .eb-wp-left > .eb-wp-panel:first-child,
  .eb-wp-intel-panel{
    border-radius:14px;
  }

  .eb-wp-left > .eb-wp-panel:first-child > .eb-wp-panel-head{
    border-radius:14px 14px 0 0;
  }

  .eb-wp-intel-head{
    border-radius:14px 14px 0 0;
  }
}


/* =========================================================
   WORKSPACE PRO V4 — EQUAL DESKTOP GRID + NATIVE SEARCH
========================================================= */

#ebWorkspaceProRoot,
.eb-wp-grid{
  width:100%;
  max-width:none;
  box-sizing:border-box;
}

.eb-wp-left,
.eb-wp-centre,
.eb-wp-right{
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
}

.eb-wp-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  padding:9px 10px;
  border-bottom:1px solid #edf1f4;
  background:#fbfcfd;
}

.eb-wp-search input{
  width:100%;
  min-width:0;
  height:36px;
  padding:0 10px;
  border:1px solid #dfe6ed;
  border-radius:9px;
  outline:0;
  background:#fff;
  color:#0f172a;
  font:inherit;
  font-size:10px;
  box-sizing:border-box;
}

.eb-wp-search input:focus{
  border-color:#91cba2;
  box-shadow:0 0 0 3px rgba(22,163,74,.08);
}

.eb-wp-search button{
  min-width:62px;
  height:36px;
  padding:0 10px;
  border:1px solid #bddcc6;
  border-radius:9px;
  background:#f4fbf6;
  color:#08783b;
  font:inherit;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}

.eb-wp-search button:hover{
  border-color:#91cba2;
  background:#eef9f1;
}

@media(min-width:1181px){
  .eb-wp-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }

  .eb-wp-left > .eb-wp-panel:first-child,
  .eb-wp-centre,
  .eb-wp-intel-panel{
    width:100%;
    min-width:0;
    max-width:none;
  }
}

@media(max-width:520px){
  .eb-wp-search{
    grid-template-columns:1fr;
  }

  .eb-wp-search button{
    width:100%;
  }
}



/* =========================================================
   WATCHLIST INTELLIGENCE
========================================================= */

.eb-wp-watch-summary{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px 9px;
  margin-bottom:5px;
  border:1px solid #e6edf2;
  border-radius:9px;
  background:#fff;
}
.eb-wp-watch-summary strong,
.eb-wp-watch-summary span,
.eb-wp-watch-summary small{display:block}
.eb-wp-watch-summary strong{font-size:9px;color:#0f172a}
.eb-wp-watch-summary span{margin-top:1px;font-size:8px;color:#475569}
.eb-wp-watch-summary small{font-size:7px;color:#94a3b8;text-align:right;line-height:1.45}

.eb-wp-watch-select{flex-wrap:wrap}
.eb-wp-watch-main em{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:7px;
  font-style:normal;
  font-weight:700;
}
.eb-wp-watch-current{
  flex:1 0 100%;
  display:block;
  padding-top:5px;
  color:#64748b;
  font-size:7px;
  line-height:1.45;
}
.eb-wp-watch-changes{
  grid-column:1 / -1;
  padding:0 10px 8px;
}
.eb-wp-watch-change-state{
  padding-top:5px;
  border-top:1px solid #edf1f4;
  color:#94a3b8;
  font-size:7px;
  line-height:1.45;
}
.eb-wp-watch-badges{
  display:flex;
  gap:4px;
  padding-top:5px;
  border-top:1px solid #edf1f4;
}
.eb-wp-watch-badges span{
  padding:2px 5px;
  border-radius:999px;
  background:#eef2f6;
  color:#64748b;
  font-size:6px;
  font-weight:900;
  letter-spacing:.04em;
}
.eb-wp-watch-badges span.new{
  background:#eef9f1;
  color:#08783b;
}
.eb-wp-watch-events{margin-top:4px}
.eb-wp-watch-event{
  display:grid;
  grid-template-columns:12px minmax(0,1fr);
  gap:3px;
  padding:2px 0;
  color:#475569;
  font-size:7px;
  line-height:1.45;
}
.eb-wp-watch-event i{font-style:normal;font-weight:900}
.eb-wp-watch-event.up i{color:#15803d}
.eb-wp-watch-event.down i{color:#b45309}
.eb-wp-watch-event.neutral i{color:#64748b}
.eb-wp-watch-expand{
  margin-top:4px;
  padding:0;
  border:0;
  background:none;
  color:#08783b;
  font:inherit;
  font-size:7px;
  font-weight:850;
  cursor:pointer;
}
.eb-wp-watch-stock-hub{
  display:inline-block;
  margin-left:8px;
  color:#08783b;
  font-size:7px;
  font-weight:850;
  text-decoration:none;
}


/* =========================================================
   WORKSPACE STOCK CHART DRAWER
   Uses the existing Workspace chart instance; no second chart.
========================================================= */
.eb-wp-chart-drawer{
  margin-top:18px;
  overflow:hidden;
  border:1px solid #dfe6ed;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.055);
}

.eb-wp-chart-drawer[hidden]{
  display:none!important;
}

.eb-wp-chart-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:10px 14px;
  border-bottom:1px solid #e5eaf0;
}

.eb-wp-chart-drawer-head span{
  display:block;
  color:#94a3b8;
  font-size:8px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.eb-wp-chart-drawer-head strong{
  display:block;
  margin-top:2px;
  color:#0f172a;
  font-size:18px;
  font-weight:850;
}

.eb-wp-chart-drawer-head button{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #dbe2ea;
  border-radius:10px;
  background:#f8fafc;
  color:#64748b;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.eb-wp-chart-drawer-head button:hover{
  border-color:#fecaca;
  background:#fff1f2;
  color:#dc2626;
}

.eb-wp-chart-drawer-host{
  min-height:640px;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.eb-wp-chart-drawer-host #edgebreak_advanced_chart{
  min-height:620px;
}

#ebWorkspaceProRoot.eb-workspace-chart-open .eb-wp-centre .eb-wp-chart-host{
  min-height:110px;
  display:grid;
  place-items:center;
  background:#f8fafc;
}

#ebWorkspaceProRoot.eb-workspace-chart-open .eb-wp-centre .eb-wp-chart-host::after{
  content:"Stock Chart opened below";
  color:#64748b;
  font-size:11px;
  font-weight:800;
}

@media(max-width:820px){
  .eb-wp-chart-drawer{
    display:none!important;
  }

  #ebWorkspaceProRoot.eb-workspace-chart-open .eb-wp-centre .eb-wp-chart-host::after{
    content:none;
  }
}
