/* ===== Interactive dashboard: cursors, toasts, modals, palette ===== */

/* === AGGRESSIVE button reset for dashboard scopes — kill browser defaults === */
.dash-root button,
.mdash-root button {
  font-family: inherit;
  color: inherit;
  text-align: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.dash-root .dash-table-row { cursor: pointer; }

/* Card-style buttons inside dashboards: explicit transparent / themed bg */
.dash-action-row,
.dash-mini-row,
.dash-event,
button.dash-table-row {
  background: transparent !important;
  color: var(--ink) !important;
}
.dash-action-row span,
.dash-mini-row,
.dash-event-txt { color: var(--ink) !important; }
.dash-action-val { color: var(--ink) !important; }

button.dash-kpi {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
button.dash-module {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
button.dash-nav-item { color: var(--ink-2) !important; }
button.dash-nav-item.active { color: #d8fbff !important; }

.dash-nav-item,
.dash-search,
.dash-tab,
.dash-icon-btn,
.dash-connect,
.dash-avatar,
.dash-pill-btn,
.dash-deploy-btn,
.dash-mini-row,
.dash-action-row,
.dash-kpi.clickable,
.dash-module,
.dash-table-row,
.dash-event,
.view-cta,
.view-chip,
.agent-card,
.chain-card,
.server-card,
.auto-toggle,
.mdash-list-row,
.mdash-kpi,
.mdash-proj-row,
.mdash-act-row,
.mdash-set-row,
.mdash-tabs button {
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dash-kpi.clickable:hover,
.dash-module:hover,
.agent-card:hover,
.chain-card:hover,
.server-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.04), rgba(255,255,255,0.005));
}
.dash-kpi.clickable:active { transform: scale(0.99); }
.dash-table-row { cursor: pointer; }
.dash-table-row:hover td { background: rgba(34, 211, 238, 0.05); }

/* Notification dot */
.dash-icon-btn { position: relative; }
.dash-icon-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #fb7185;
  box-shadow: 0 0 0 1.5px #06090e;
}

/* Card-style toaster — placement is handled in scoped block below */
/* ===== Toaster ===== */
.app-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(10, 16, 24, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ink);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.7);
  font-size: 11px;
  letter-spacing: -0.005em;
  min-width: 160px;
  max-width: 90%;
  animation: toast-in 220ms ease;
  pointer-events: auto;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-toast-ico {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-toast.ok .app-toast-ico { background: rgba(94, 234, 212, 0.15); color: #5eead4; border: 1px solid rgba(94, 234, 212, 0.3); }
.app-toast.warn .app-toast-ico { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.app-toast.err .app-toast-ico { background: rgba(251, 113, 133, 0.15); color: #fb7185; border: 1px solid rgba(251, 113, 133, 0.3); }
.app-toast-body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.app-toast-body strong { font-family: var(--font-display); font-weight: 500; font-size: 10.5px; }
.app-toast-body span { color: var(--ink-3); font-size: 10px; }

/* ===== Modal host — scoped inside dashboard, not full-viewport ===== */
.app-modal-host {
  position: absolute;
  inset: 0;
  z-index: 250;
  background: rgba(2, 6, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: modal-in 200ms ease;
  border-radius: inherit;
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scoped toaster — inside dashboard, not full viewport */
.app-toaster {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 220;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  pointer-events: none;
  max-width: 90%;
}

/* Make dashboard a positioning context */
.dash-root,
.mdash-root {
  position: relative;
}

/* Modal sized for dashboard scope */
.app-modal {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    rgba(10, 16, 24, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  max-width: 92%;
  max-height: 88%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modal-pop 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* In-dashboard modals — smaller sizes */
.app-modal.cmdk    { width: 420px; }
.app-modal.notifs  { width: 320px; }
.app-modal.deploy  { width: 360px; }
.app-modal.detail  { width: 320px; }
.app-modal.newproj { width: 360px; }

/* Tighter padding for scoped modals */
.deploy-head, .notif-head, .cmdk-input { padding: 12px 14px; }
.deploy-steps { padding: 12px 14px 6px; font-size: 11.5px; gap: 4px; }
.deploy-actions { padding: 0 14px 14px; }
.detail { padding: 14px; gap: 10px; }
.newproj { padding: 14px; }
.cmdk-list { max-height: 240px; padding: 6px; }
.cmdk-foot { padding: 8px 12px; font-size: 10px; }
.notif-list { padding: 4px; }
.notif-row { padding: 8px 10px; }

/* ===== Command palette ===== */
.app-modal.cmdk { width: 560px; }
.cmdk { display: flex; flex-direction: column; }
.cmdk-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cmdk-input svg { color: var(--ink-3); }
.cmdk-input input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  letter-spacing: -0.005em;
}
.cmdk-input kbd, .cmdk-foot kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--ink-3);
  border: 1px solid rgba(255,255,255,0.06);
}
.cmdk-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  max-height: 360px;
}
.cmdk-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  text-align: left;
}
.cmdk-item:hover { background: rgba(34, 211, 238, 0.08); color: var(--ink); }
.cmdk-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cmdk-label { flex: 1; }
.cmdk-empty { padding: 24px; text-align: center; color: var(--ink-3); font-size: 13px; }
.cmdk-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-4);
}
.cmdk-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== Notifications panel ===== */
.app-modal.notifs { width: 380px; }
.notif-panel { display: flex; flex-direction: column; max-height: 70vh; }
.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.notif-head strong { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.notif-mark {
  background: transparent;
  border: 0;
  color: var(--cyan-2);
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
}
.notif-list { padding: 6px; overflow-y: auto; }
.notif-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
}
.notif-row:hover { background: rgba(255,255,255,0.04); color: var(--ink); }
.notif-sev {
  width: 7px; height: 7px;
  border-radius: 999px;
  margin-top: 6px;
  flex-shrink: 0;
}
.notif-sev.ok { background: #5eead4; box-shadow: 0 0 5px #5eead4; }
.notif-sev.warn { background: #fbbf24; box-shadow: 0 0 5px #fbbf24; }
.notif-sev.info { background: #22d3ee; box-shadow: 0 0 5px #22d3ee; }
.notif-t { font-size: 13px; color: var(--ink); }
.notif-m { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.notif-foot {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}
.notif-foot button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Deploy modal ===== */
.app-modal.deploy { width: 440px; }
.deploy { display: flex; flex-direction: column; }
.deploy-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.deploy-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34,211,238,0.18), rgba(34,211,238,0.04));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.deploy-title { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.deploy-sub { font-size: 11px; color: var(--ink-3); }
.deploy-close {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.deploy-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
}
.deploy-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5eead4, #22d3ee);
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.deploy-steps {
  list-style: none;
  padding: 18px 18px 8px;
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.deploy-steps li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.deploy-steps li.active { color: var(--ink); }
.deploy-steps li.done { color: var(--ink-2); }
.deploy-step-bullet {
  width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.deploy-steps li.done .deploy-step-bullet { background: rgba(94, 234, 212, 0.15); border-color: rgba(94, 234, 212, 0.3); color: #5eead4; }
.deploy-steps li.active .deploy-step-bullet { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.4); }
.deploy-step-spin {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--cyan-2);
  border-top-color: transparent;
  animation: deploy-spin 0.7s linear infinite;
}
@keyframes deploy-spin { to { transform: rotate(360deg); } }

.deploy-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  justify-content: flex-end;
}
.deploy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}
.deploy-btn.ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  color: var(--ink-2);
}
.deploy-btn.ghost:hover { background: rgba(255,255,255,0.06); }
.deploy-btn.primary {
  background: linear-gradient(180deg, #5eead4, #22d3ee);
  color: #04141a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ===== Detail panel ===== */
.app-modal.detail { width: 380px; }
.detail { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.detail-head { display: flex; align-items: flex-start; padding: 0 0 4px; }
.detail-eyebrow { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-2); }
.detail-title { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-top: 2px; letter-spacing: -0.01em; }
.detail-stat {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(255,255,255,0.01));
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.detail-val { font-family: var(--font-display); font-weight: 500; font-size: 32px; letter-spacing: -0.025em; color: #e8fdff; }
.detail-delta { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.detail-rows { display: flex; flex-direction: column; gap: 6px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.detail-row strong { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }

/* ===== New project ===== */
.app-modal.newproj { width: 440px; }
.newproj { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.np-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.np-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  letter-spacing: -0.005em;
}
.np-input:focus { border-color: rgba(34, 211, 238, 0.4); }
.np-kind {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.np-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
}
.np-opt:hover { background: rgba(255,255,255,0.06); }
.np-opt.active {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--ink);
}
.np-opt svg { color: var(--cyan-2); }

/* ===== Other dashboard views ===== */
.view-pad { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.view-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.view-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 10px;
}
.view-search svg { color: var(--ink-3); }
.view-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 11.5px;
  outline: none;
}
.view-filters { display: flex; gap: 4px; }
.view-chip {
  padding: 5px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  font-family: inherit;
}
.view-chip.active {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--cyan-2);
}
.view-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(180deg, #5eead4, #22d3ee);
  color: #04141a;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.view-empty {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--ink-3);
}
.view-empty svg { color: var(--cyan-2); margin-bottom: 8px; }
.view-empty h4 { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--ink); margin: 0 0 4px; }
.view-empty p { font-size: 12px; margin: 0 auto 12px; max-width: 280px; }

/* AI agents */
.agent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.agent-card {
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agent-head { display: flex; align-items: center; gap: 10px; }
.agent-avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5eead4, #22d3ee 60%, #0d7e74);
  color: #04141a;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.agent-name { font-family: var(--font-display); font-weight: 500; font-size: 13px; }
.agent-role { font-size: 10.5px; color: var(--ink-3); }
.agent-head .dash-pill-status { margin-left: auto; }
.agent-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.agent-stat-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.agent-stat-val { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); }

/* Chains */
.chain-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.chain-card {
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.chain-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in oklab, var(--c) 14%, transparent), transparent 60%);
  pointer-events: none;
}
.chain-card > * { position: relative; }
.chain-head { display: flex; align-items: center; gap: 10px; }
.chain-mark {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 4px;
  background: color-mix(in oklab, var(--c) 20%, transparent);
  border: 1px solid color-mix(in oklab, var(--c) 35%, transparent);
  color: var(--c);
  letter-spacing: 0.08em;
}
.chain-name { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.chain-head .dash-pill-status { margin-left: auto; }
.chain-grid-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chain-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.chain-val { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); margin-top: 2px; }

/* Servers */
.server-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.server-card {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.server-head { display: flex; justify-content: space-between; align-items: center; }
.server-id { font-size: 11px; color: var(--ink); }
.server-meter {
  display: grid;
  grid-template-columns: 30px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--ink-3);
}
.server-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.server-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5eead4, #22d3ee);
  border-radius: inherit;
  transition: width 600ms ease;
}
.server-meter .live { color: var(--ink); text-align: right; }

/* Automations */
.auto-list { display: flex; flex-direction: column; gap: 6px; }
.auto-row {
  display: grid;
  grid-template-columns: 28px 1fr auto 36px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.auto-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.auto-c { display: flex; flex-direction: column; line-height: 1.2; }
.auto-c strong { font-family: var(--font-display); font-weight: 500; font-size: 12px; }
.auto-c span { font-size: 10.5px; color: var(--ink-3); }
.auto-toggle {
  position: relative;
  width: 36px; height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  cursor: pointer;
}
.auto-toggle i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--ink-3);
  transition: all 200ms;
}
.auto-toggle.on {
  background: linear-gradient(90deg, #5eead4, #22d3ee);
  border-color: rgba(34, 211, 238, 0.4);
}
.auto-toggle.on i { left: 18px; background: #04141a; }

/* Execution */
.exec-hero {
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    rgba(255,255,255,0.02);
}
.exec-hero h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
  color: var(--ink);
}
.exec-hero p { color: var(--ink-3); font-size: 12.5px; margin: 0; }

/* ===== Mobile interactive additions ===== */
.mdash-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: none;
}
.mdash-content::-webkit-scrollbar { display: none; }
.mdash-page { display: flex; flex-direction: column; padding: 0 12px; gap: 8px; padding-bottom: 8px; }
.mdash-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
}
.mdash-page-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin: 0;
  letter-spacing: -0.015em;
}

/* Make mobile buttons clickable */
.mdash-list-row,
.mdash-kpi,
.mdash-avatar,
.mdash-icon,
.mdash-tabs button,
.mdash-balance-actions button,
.mdash-cta {
  font-family: inherit;
  color: inherit;
  text-align: inherit;
}

/* Projects mobile list */
.mdash-proj-list { display: flex; flex-direction: column; gap: 6px; }
.mdash-proj-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}
.mdash-proj-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.mdash-proj-row > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mdash-proj-row strong { font-family: var(--font-display); font-weight: 500; font-size: 11.5px; color: var(--ink); }
.mdash-proj-row span { font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* Activity mobile list */
.mdash-act-list { display: flex; flex-direction: column; gap: 4px; }
.mdash-act-row {
  display: grid;
  grid-template-columns: 10px 1fr 12px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}
.mdash-act-row > div { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mdash-act-row strong { font-family: var(--font-display); font-weight: 500; font-size: 11.5px; color: var(--ink); }
.mdash-act-row span { font-size: 9.5px; color: var(--ink-3); }
.mdash-act-row svg { color: var(--ink-4); }

/* Settings */
.mdash-settings { display: flex; flex-direction: column; gap: 4px; }
.mdash-set-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}
.mdash-set-row > div { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mdash-set-row strong { font-family: var(--font-display); font-weight: 500; font-size: 11.5px; color: var(--ink); }
.mdash-set-row span { font-size: 9.5px; color: var(--ink-3); }
.mdash-set-ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.mdash-switch {
  position: relative;
  width: 30px; height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}
.mdash-switch i {
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--ink-3);
  transition: all 200ms;
}
.mdash-switch.on {
  background: linear-gradient(90deg, #5eead4, #22d3ee);
  border-color: rgba(34, 211, 238, 0.4);
}
.mdash-switch.on i { left: 14px; background: #04141a; }

/* Override: mdash-list-row, mdash-kpi clickable cursor */
.mdash-list-row, .mdash-kpi { background: rgba(255,255,255,0.02); }
.mdash-list-row { border: 1px solid rgba(255,255,255,0.04); border-radius: 7px; }
.mdash-list-row:hover, .mdash-proj-row:hover, .mdash-act-row:hover, .mdash-set-row:hover {
  background: rgba(34, 211, 238, 0.06);
}

/* Responsive modal */
@media (max-width: 540px) {
  .app-modal.cmdk,
  .app-modal.notifs,
  .app-modal.deploy,
  .app-modal.detail,
  .app-modal.newproj { width: 100%; }
}
