.workspace-wrap {
  max-width: 1260px;
  margin: 0 auto;
}

.workspace-card {
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  background: rgba(20, 34, 53, 0.9);
  padding: 14px;
}

.workspace-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.workspace-controls label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(223, 234, 250, 0.62);
}

.workspace-controls select {
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(8, 22, 40, 0.9);
  color: #dfeafa;
  font-size: 0.84rem;
}

.workspace-control-note {
  margin-left: auto;
  color: rgba(223, 234, 250, 0.62);
  font-size: 0.78rem;
}

.workspace-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.workspace-stat {
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  background: rgba(12, 24, 40, 0.72);
  padding: 10px 12px;
}

.workspace-stat-label {
  display: block;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(223, 234, 250, 0.56);
}

.workspace-stat-val {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #f5faff;
}

.workspace-btn {
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(8, 22, 40, 0.9);
  color: #dfeafa;
  font-size: 0.78rem;
}

.clients-chip-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.clients-chip {
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(10, 20, 34, 0.8);
  color: rgba(223, 234, 250, 0.8);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
}

.clients-chip.is-active {
  border-color: rgba(125, 211, 252, 0.9);
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
}

.clients-sort {
  all: unset;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.clients-sort::after {
  content: '';
  margin-left: 4px;
}

.clients-sort[data-sort-dir="asc"]::after {
  content: '▲';
  font-size: 0.6rem;
}

.clients-sort[data-sort-dir="desc"]::after {
  content: '▼';
  font-size: 0.6rem;
}

.cell-skeleton {
  display: inline-block;
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  animation: clientSkeleton 1.1s linear infinite;
}

@keyframes clientSkeleton {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.clients-actions {
  position: relative;
}

.clients-action-btn {
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  background: rgba(8, 22, 40, 0.9);
  color: #dfeafa;
  font-size: 0.72rem;
  padding: 4px 8px;
}

.clients-action-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(9, 20, 34, 0.96);
  border-radius: 8px;
  z-index: 12;
  overflow: hidden;
}

.clients-action-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: #dfeafa;
  font-size: 0.74rem;
}

.clients-action-item:hover {
  background: rgba(56, 189, 248, 0.12);
}

.clients-row--risk-high td {
  background: rgba(248, 113, 113, 0.08);
}

.clients-row--risk-medium td {
  background: rgba(245, 158, 11, 0.08);
}

.clients-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  font-size: 0.74rem;
  color: rgba(223, 234, 250, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(56, 189, 248, 0.24);
  padding: 10px 8px;
}

tbody td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  font-size: 0.86rem;
  transition: background 0.15s ease;
}

tbody tr:hover td {
  background: rgba(56, 189, 248, 0.06);
}

.workspace-empty {
  text-align: center;
  color: rgba(223, 234, 250, 0.62);
  padding: 24px;
}

.workspace-chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  text-transform: uppercase;
}


.workspace-activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.workspace-activity-item {
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 10px;
  background: rgba(16, 28, 44, 0.7);
  padding: 10px;
}

.workspace-activity-text {
  font-size: 0.88rem;
}

.workspace-activity-time {
  margin-top: 5px;
  font-size: 0.74rem;
  color: rgba(223, 234, 250, 0.62);
}

/* Light mode overrides */
:root:not(.dark-mode) .workspace-card {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

:root:not(.dark-mode) .workspace-controls label,
:root:not(.dark-mode) .workspace-control-note {
  color: rgba(19, 34, 58, 0.62);
}

:root:not(.dark-mode) .workspace-controls select {
  border-color: rgba(37, 99, 235, 0.24);
  background: #ffffff;
  color: #13223a;
}

:root:not(.dark-mode) thead th {
  color: rgba(19, 34, 58, 0.62);
  border-bottom-color: rgba(37, 99, 235, 0.2);
}

:root:not(.dark-mode) tbody td {
  border-bottom-color: rgba(37, 99, 235, 0.12);
  color: #13223a;
}

:root:not(.dark-mode) tbody tr:hover td {
  background: rgba(37, 99, 235, 0.05);
}

:root:not(.dark-mode) .workspace-empty,
:root:not(.dark-mode) .workspace-activity-time {
  color: rgba(19, 34, 58, 0.62);
}

:root:not(.dark-mode) .workspace-chip {
  border-color: rgba(37, 99, 235, 0.24);
  color: #13223a;
}

:root:not(.dark-mode) .workspace-activity-item {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(248, 251, 255, 0.96);
}

:root:not(.dark-mode) .workspace-activity-text {
  color: #13223a;
}

:root:not(.dark-mode) .workspace-stat {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(248, 251, 255, 0.92);
}

:root:not(.dark-mode) .workspace-stat-label {
  color: rgba(19, 34, 58, 0.62);
}

:root:not(.dark-mode) .workspace-stat-val {
  color: #13223a;
}

:root:not(.dark-mode) .workspace-btn,
:root:not(.dark-mode) .clients-chip,
:root:not(.dark-mode) .clients-action-btn {
  border-color: rgba(37, 99, 235, 0.24);
  background: #ffffff;
  color: #13223a;
}

:root:not(.dark-mode) .clients-chip.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.55);
}

:root:not(.dark-mode) .clients-action-menu {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.98);
}

:root:not(.dark-mode) .clients-action-item {
  color: #13223a;
}

@media (max-width: 1180px) {
  .workspace-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .workspace-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-table-wrap table,
  .workspace-table-wrap thead,
  .workspace-table-wrap tbody,
  .workspace-table-wrap tr,
  .workspace-table-wrap td {
    display: block;
    width: 100%;
  }

  .workspace-table-wrap thead {
    display: none;
  }

  .workspace-table-wrap tbody tr {
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 8px;
  }

  .workspace-table-wrap tbody td {
    border-bottom: 1px dashed rgba(56, 189, 248, 0.16);
    padding: 8px 6px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .workspace-table-wrap tbody td:last-child {
    border-bottom: 0;
  }

  .workspace-table-wrap tbody td::before {
    content: attr(data-label);
    color: rgba(223, 234, 250, 0.62);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
  }
}

/* ── Workspace page heading ── */
.workspace-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  flex-direction: column;
}

.workspace-page-head h1,
.workspace-page-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e2e8f0;
}

.workspace-page-head p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}

:root:not(.dark-mode) .workspace-page-head h1,
:root:not(.dark-mode) .workspace-page-head h2 {
  color: rgba(19, 34, 58, 0.9);
}

:root:not(.dark-mode) .workspace-page-head p {
  color: rgba(71, 85, 105, 0.7);
}

.workspace-section-gap {
  margin-top: 14px;
}

/* ── Finance chart container ── */
.fin-chart-wrap {
  position: relative;
  height: 220px;
}

.fin-chart-wrap canvas {
  width: 100% !important;
}

.fin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 780px) {
  .fin-two-col { grid-template-columns: 1fr; }
}

/* ── Status pills ── */
.ws-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ws-pill--green  { background: rgba(34, 197, 94, 0.14); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.ws-pill--yellow { background: rgba(234, 179, 8, 0.14);  color: #fde047; border: 1px solid rgba(234, 179, 8, 0.3); }
.ws-pill--red    { background: rgba(239, 68, 68, 0.14);  color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.ws-pill--blue   { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); }
.ws-pill--muted  { background: rgba(255,255,255,0.06);   color: rgba(223,234,250,0.6); border: 1px solid rgba(255,255,255,0.12); }

:root:not(.dark-mode) .ws-pill--green  { background: rgba(22,163,74,0.1);  color: #15803d; border-color: rgba(22,163,74,0.3); }
:root:not(.dark-mode) .ws-pill--yellow { background: rgba(202,138,4,0.1);  color: #a16207; border-color: rgba(202,138,4,0.3); }
:root:not(.dark-mode) .ws-pill--red    { background: rgba(220,38,38,0.1);  color: #b91c1c; border-color: rgba(220,38,38,0.3); }
:root:not(.dark-mode) .ws-pill--blue   { background: rgba(37,99,235,0.1);  color: #1d4ed8; border-color: rgba(37,99,235,0.3); }
:root:not(.dark-mode) .ws-pill--muted  { background: rgba(0,0,0,0.05);     color: rgba(19,34,58,0.55); border-color: rgba(0,0,0,0.12); }

/* ── Reports export grid ── */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.reports-export-card {
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  background: rgba(12, 24, 40, 0.72);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.18s, border-color 0.18s, transform 0.14s;
}

.reports-export-card:hover {
  background: rgba(20, 36, 58, 0.9);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.reports-export-card:focus-within {
  outline: 2px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.reports-export-card h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.reports-export-card p {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(223, 234, 250, 0.56);
  flex: 1;
}

.reports-export-card .workspace-btn {
  align-self: flex-start;
}

:root:not(.dark-mode) .reports-export-card {
  background: rgba(248, 251, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.2);
}

:root:not(.dark-mode) .reports-export-card p {
  color: rgba(19, 34, 58, 0.55);
}

/* ── Team member list ── */
.team-member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.team-member-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.team-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #14b8a6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.team-member-info {
  flex: 1;
  min-width: 0;
}

.team-member-name {
  font-size: 0.88rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-member-email {
  font-size: 0.74rem;
  color: rgba(223, 234, 250, 0.56);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root:not(.dark-mode) .team-member-row {
  border-bottom-color: rgba(37, 99, 235, 0.12);
}

:root:not(.dark-mode) .team-member-email {
  color: rgba(19, 34, 58, 0.55);
}

/* ── Settings sections ── */
.settings-section {
  margin-bottom: 14px;
}

.settings-section-title {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(223, 234, 250, 0.45);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

.settings-row-label {
  font-size: 0.86rem;
}

.settings-row-note {
  display: block;
  font-size: 0.72rem;
  color: rgba(223, 234, 250, 0.5);
  margin-top: 2px;
}

.settings-toggle-wrap {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.settings-toggle-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.settings-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.2s;
}

.settings-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: rgba(223, 234, 250, 0.7);
  transition: transform 0.2s, background 0.2s;
}

.settings-toggle-wrap input:checked + .settings-toggle-slider {
  background: rgba(20, 184, 166, 0.55);
}

.settings-toggle-wrap input:checked + .settings-toggle-slider::before {
  transform: translateX(18px);
  background: #14b8a6;
}

.settings-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.settings-health-item {
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.78rem;
}

.settings-health-item strong {
  display: block;
  font-size: 0.72rem;
  color: rgba(223, 234, 250, 0.55);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

:root:not(.dark-mode) .settings-section-title {
  color: rgba(19, 34, 58, 0.45);
  border-bottom-color: rgba(37, 99, 235, 0.12);
}

:root:not(.dark-mode) .settings-row-note {
  color: rgba(19, 34, 58, 0.5);
}

:root:not(.dark-mode) .settings-toggle-slider {
  background: rgba(0,0,0,0.12);
}

:root:not(.dark-mode) .settings-toggle-slider::before {
  background: rgba(19, 34, 58, 0.5);
}

:root:not(.dark-mode) .settings-health-item {
  border-color: rgba(37, 99, 235, 0.18);
}

:root:not(.dark-mode) .settings-health-item strong {
  color: rgba(19, 34, 58, 0.5);
}

/* ========== ONBOARDING PAGE ========== */

.onboarding-form {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 10px;
  align-items: flex-end;
}

.onboarding-form-group {
  flex: 1;
  min-width: 200px;
}

.onboarding-form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 6px;
}

.onboarding-form-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.2s ease;
}

.onboarding-form-group input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.onboarding-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 2px;
}

.onboarding-card {
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 10px;
  background: rgba(20, 34, 53, 0.8);
  padding: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.onboarding-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(20, 34, 53, 0.95);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
}

.onboarding-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #e2e8f0;
}

.onboarding-card-status {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  color: rgba(148, 163, 184, 0.7);
}

.onboarding-card-status.in_progress {
  color: rgba(248, 113, 113, 0.8);
}

.onboarding-card-status.ready_for_build {
  color: rgba(34, 197, 94, 0.8);
}

.onboarding-card-status.completed {
  color: rgba(34, 197, 94, 0.9);
}

.onboarding-card.completed {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(20, 42, 30, 0.6);
}

/* Modal */
.onboarding-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.onboarding-modal-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.onboarding-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
}

.onboarding-modal-header h2 {
  margin: 0;
  font-size: 18px;
  color: #e2e8f0;
}

.onboarding-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.onboarding-modal-close:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #e2e8f0;
}

.onboarding-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.onboarding-progress {
  margin-bottom: 24px;
}

.onboarding-progress-bar {
  height: 6px;
  background: rgba(56, 189, 248, 0.16);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.onboarding-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.8), rgba(34, 197, 94, 0.8));
  width: 0%;
  transition: width 0.3s ease;
}

.onboarding-progress-text {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.7);
}

/* Checklist Items */
.onboarding-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.onboarding-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
}

.onboarding-item-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: pointer;
  user-select: none;
}

.onboarding-item-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: rgba(56, 189, 248, 0.8);
}

.onboarding-item-checkbox span {
  font-size: 14px;
  color: #e2e8f0;
}

.onboarding-item-notes {
  padding: 8px 10px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 12px;
  min-width: 120px;
}

.onboarding-item-notes::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.onboarding-item-notes:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Modal Footer */
.onboarding-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
}

/* Light Mode Overrides */
:root:not(.dark-mode) .onboarding-form {
  background: rgba(240, 245, 250, 0.8);
  border-color: rgba(59, 130, 246, 0.18);
}

:root:not(.dark-mode) .onboarding-form-group input {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(59, 130, 246, 0.2);
  color: rgba(19, 34, 58, 0.85);
}

:root:not(.dark-mode) .onboarding-form-group label {
  color: rgba(71, 85, 105, 0.7);
}

:root:not(.dark-mode) .onboarding-card {
  background: rgba(249, 250, 251, 0.9);
  border-color: rgba(59, 130, 246, 0.18);
  color: rgba(19, 34, 58, 0.85);
}

:root:not(.dark-mode) .onboarding-card h3 {
  color: rgba(19, 34, 58, 0.9);
}

:root:not(.dark-mode) .onboarding-card-status {
  color: rgba(71, 85, 105, 0.7);
}

:root:not(.dark-mode) .onboarding-modal-content {
  background: rgba(250, 251, 252, 0.95);
  border-color: rgba(59, 130, 246, 0.18);
}

:root:not(.dark-mode) .onboarding-modal-header {
  border-color: rgba(59, 130, 246, 0.12);
}

:root:not(.dark-mode) .onboarding-modal-header h2 {
  color: rgba(19, 34, 58, 0.9);
}

:root:not(.dark-mode) .onboarding-modal-body {
  color: rgba(19, 34, 58, 0.85);
}

:root:not(.dark-mode) .onboarding-progress-bar {
  background: rgba(59, 130, 246, 0.12);
}

:root:not(.dark-mode) .onboarding-item {
  background: rgba(240, 245, 250, 0.6);
  border-color: rgba(59, 130, 246, 0.18);
}

:root:not(.dark-mode) .onboarding-item-checkbox span {
  color: rgba(19, 34, 58, 0.85);
}

:root:not(.dark-mode) .onboarding-item-notes {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(59, 130, 246, 0.18);
  color: rgba(19, 34, 58, 0.85);
}

/* ========== WORKSPACE SECTION ========== */

.workspace-section {
  margin-bottom: 32px;
}

.workspace-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.workspace-section-head h2 {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

:root:not(.dark-mode) .workspace-section-head h2 {
  color: rgba(19, 34, 58, 0.9);
}

/* ========== WS BUTTONS ========== */

.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(8, 22, 40, 0.9);
  color: #dfeafa;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ws-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
}

.ws-btn-primary {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
}

.ws-btn-primary:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: rgba(56, 189, 248, 0.8);
  color: #bae6fd;
}

.ws-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.ws-btn-danger:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fecaca;
}

.ws-btn-sm {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 6px;
}

:root:not(.dark-mode) .ws-btn {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
  color: rgba(19, 34, 58, 0.8);
}

:root:not(.dark-mode) .ws-btn:hover {
  background: rgba(219, 234, 254, 0.6);
  border-color: rgba(59, 130, 246, 0.5);
  color: #1d4ed8;
}

:root:not(.dark-mode) .ws-btn-primary {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.4);
  color: #1d4ed8;
}

:root:not(.dark-mode) .ws-btn-primary:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.65);
  color: #1e3a8a;
}

:root:not(.dark-mode) .ws-btn-danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  color: #b91c1c;
}

:root:not(.dark-mode) .ws-btn-danger:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.5);
  color: #991b1b;
}
