/* ==========================================================================
   Light-theme override for the embedded Nexuss dashboard.
   Loaded AFTER home.css inside nexuss-app.html only, so the main site
   dashboard stays dark. Equal-specificity selectors win by load order.
   ========================================================================== */

.dash {
  --fg: #2b352f;
  --muted: #5c665d;
  --faint: #9aa39a;
  --dash-border: rgba(43, 53, 47, 0.1);
  --nex: #4f90cf;   /* Nexuss light blue accent */
  background: #f6f4ef;
  border: 1px solid rgba(43, 53, 47, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #2b352f;
}

/* no purple glow behind the panel */
.dash-wrap::before { display: none; }

/* logo reads dark on the light sidebar */
.dash__logo-img { filter: none; }
.dash__side { border-right-color: rgba(43, 53, 47, 0.1); }

/* white cards / panels on the warm off-white shell */
.dash-stat,
.dash-panel,
.meet,
.acard,
.appr,
.pcard,
.cal,
.cal-side,
.aichat__composer { background: #ffffff; }
.kcol,
.set-group { background: #fbfaf7; }
.kcard { background: #ffffff; }
.up { background: #f1efe9; }
.msg--in { background: #ecebe4; }

/* inputs / pill surfaces */
.dash__search,
.dash__acct,
.chatthread__input input,
.set-input { background: #ffffff; border-color: rgba(43, 53, 47, 0.12); }
.dash__user { background: rgba(43, 53, 47, 0.05); }
.chip-mini,
.pstatus,
.aichat__chip { background: rgba(43, 53, 47, 0.06); }
.aifile { background: rgba(43, 53, 47, 0.08); }

/* hover fills (were white-on-dark) */
.dash__tab:hover,
.dash__ic:hover,
.agent:hover,
.task:hover,
.chatitem:hover,
.aichat__row:hover,
.seg button:hover,
.cal__nav button:hover,
.cal__day:hover,
.dash__menu-pop a:hover,
.aichat__ic:hover,
.acard__btn:hover,
.set-row:hover { background: rgba(43, 53, 47, 0.05); }

/* active / selected blue tint, dark blue text */
.dash__tab.is-active,
.chatitem.is-active,
.aichat__row.is-active,
.seg button.is-active { background: rgba(79, 144, 207, 0.14); color: #2f6db5; }
.cal__day.is-selected { background: rgba(79, 144, 207, 0.12); border-color: rgba(79, 144, 207, 0.45); }

/* status pills, darker text for contrast on light */
.agent__status.is-running,
.pstatus.is-on,
.appr__done.is-ok { color: #1a7f52; }
.appr__done.is-no { color: #c0392b; }
.agent__status.is-paused { color: #9a6a1e; }
.agent__status.is-idle { color: var(--muted); }

/* task checkbox */
.task__check { background: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(43, 53, 47, 0.28); }

/* progress tracks / neutral buttons */
.usebar__t { background: rgba(43, 53, 47, 0.08); }
.btn-appr--no { background: rgba(43, 53, 47, 0.06); }
.acard__btn { background: #ffffff; }
.acard:hover { border-color: rgba(43, 53, 47, 0.18); }

/* floating surfaces that were dark */
.bcol__tip { background: #ffffff; border-color: rgba(43, 53, 47, 0.12); color: #2b352f; box-shadow: 0 6px 20px -8px rgba(43, 53, 47, 0.3); }
.dash__menu-pop { background: #ffffff; border-color: rgba(43, 53, 47, 0.1); box-shadow: 0 12px 30px -12px rgba(43, 53, 47, 0.3); }
.meet__av .av { box-shadow: 0 0 0 2px #f6f4ef; }

/* blue lines, links, accents */
.dash-link,
.cal__day.is-today > span:first-child { color: #2f6db5; }
.chartx__line,
.spark__l { stroke: #3f86c9; }
.chartx__grid { stroke: rgba(43, 53, 47, 0.08); }
.barchart { background-image: repeating-linear-gradient(to top, transparent 0 35px, rgba(43, 53, 47, 0.06) 35px 36px); }

/* toggle switch off-state track */
.ui-sw { background: rgba(43, 53, 47, 0.16); }

/* purple gradients recoloured to Nexuss light blue (accent elements only,
   leaving the multi-colour agent/avatar variants intact) */
.dash-btn,
.agent__ic--purple,
.task__check--done,
.dash-bars span,
.bcol__bar,
.msg--out,
.aimsg--user .aimsg__body,
.aichat__new,
.aichat__send,
.meet__join,
.av--purple,
.ui-sw--on { background: linear-gradient(150deg, #6fb0e6, #2f6db5); }
.usebar__t span { background: linear-gradient(90deg, #2f6db5, #6fb0e6); }
.spark { background: linear-gradient(to top, rgba(79, 144, 207, 0.09), transparent); }
