/* Dashboard — Course Blueprint workspace */

.dash-page {
  --dash-ink: #0a0a0a;
  --dash-hero-text: #f4f7fb;
  --dash-hero-muted: #b8c5d4;
  --dash-glow: #5eb3ff;
  --dash-card-shadow: 0 4px 24px rgba(15, 20, 25, 0.06);
  --dash-card-shadow-hover: 0 12px 36px rgba(0, 87, 184, 0.1);
}

/* —— Hero —— */
.dash-hero {
  position: relative;
  overflow: hidden;
  background: var(--dash-ink);
  color: var(--dash-hero-text);
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.5rem clamp(2rem, 4vw, 2.5rem);
}

.dash-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dash-hero-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  width: min(720px, 100vw);
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(94, 179, 255, 0.22) 0%, transparent 68%);
}

.dash-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 179, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 179, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 90%);
}

.dash-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.dash-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dash-glow);
}

.dash-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.dash-hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dash-hero-muted);
}

.dash-org-switcher {
  margin-top: 1rem;
}

.dash-org-switcher .org-switcher-label {
  color: var(--dash-hero-muted);
}

.dash-org-switcher .org-switcher-hint {
  color: rgba(184, 197, 212, 0.85);
}

.dash-org-switcher select,
.dash-org-switcher button {
  font-size: 0.9rem;
}

/* —— Body —— */
.dash-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* —— Buttons —— */
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dash-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.dash-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

button.dash-btn-primary:hover,
a.dash-btn-primary:hover,
.dash-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 184, 0.25);
}

.dash-btn-secondary {
  background: var(--surface);
  color: var(--accent-text, var(--accent));
  border-color: var(--accent);
}

button.dash-btn-secondary:hover,
a.dash-btn-secondary:hover,
.dash-btn-secondary:hover {
  background: var(--accent-soft, #e8f2fc);
  border-color: var(--accent-hover, var(--accent));
  color: var(--accent-text, var(--accent));
}

.dash-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.dash-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.dash-btn-compact {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dash-btn-lean {
  background: #1a7a4a;
  border-color: #1a7a4a;
}

.dash-btn-lean:hover {
  background: #14603a;
  border-color: #14603a;
  box-shadow: 0 6px 20px rgba(26, 122, 74, 0.25);
}

.dash-actions .dash-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.dash-actions a:not(.dash-btn-primary):not(.dash-btn-ghost),
.dash-actions .dash-dynamic-action {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.22);
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dash-actions a:not(.dash-btn-primary):not(.dash-btn-ghost):hover,
.dash-actions .dash-dynamic-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

/* —— Stats row —— */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 0;
}

.dash-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--dash-card-shadow);
}

.dash-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.dash-stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.dash-stat.highlight .dash-stat-value {
  color: var(--accent);
}

.dash-stat.warn .dash-stat-value {
  color: #92400e;
}

/* —— Continue cards —— */
.dash-continue[hidden],
#dashContinue[hidden],
#dashLeanLaunch[hidden],
#workspacePanel[hidden],
#needsAttentionPanel[hidden],
#pendingInvitesBanner[hidden],
#dashStats[hidden],
#personalPlansPanel[hidden],
#checklistPanel[hidden] {
  display: none !important;
}

.dash-body.dash-first-run .dash-layout {
  grid-template-columns: 1fr;
  order: 1;
}
.dash-body.dash-first-run .dash-aside {
  order: -1;
}
.dash-body.dash-first-run #checklistPanel {
  border-color: var(--tip-border);
  background: var(--tip-bg);
}
.dash-body.dash-first-run #workspacePanel {
  order: 2;
}

.dash-continue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  background: linear-gradient(135deg, #e8f2fc 0%, #f0f6ff 100%);
  border: 1px solid var(--tip-border, #b8d4f0);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
  box-shadow: var(--dash-card-shadow);
}

.dash-continue-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-lean-launch {
  background: linear-gradient(135deg, #f0faf4 0%, #e8f6ee 100%);
  border-color: #8bc9a8;
}

.dash-lean-icon {
  background: #1a7a4a;
}

.dash-continue-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.dash-continue-body {
  flex: 1;
  min-width: 12rem;
}

.dash-continue-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.dash-continue h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-text);
}

.dash-continue-meta {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-continue-progress {
  height: 6px;
  background: rgba(0, 87, 184, 0.12);
  border-radius: 999px;
  overflow: hidden;
  max-width: 18rem;
}

.dash-continue-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #4a9fd4);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.dash-lean-launch .dash-continue-progress-fill {
  background: linear-gradient(90deg, #1a7a4a, #3cb371);
}

/* —— Layout —— */
.dash-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .dash-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
    align-items: start;
  }
}

.dash-primary,
.dash-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* —— Cards —— */
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--dash-card-shadow);
  transition: box-shadow 0.2s ease;
}

.dash-card:hover {
  box-shadow: var(--dash-card-shadow-hover);
}

.dash-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.dash-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-text);
}

.dash-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.dash-card-link:hover {
  text-decoration: underline;
}

.dash-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn);
}

.dash-card-lead {
  margin: -0.25rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dash-diy-card {
  border-color: var(--tip-border);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--surface) 70%);
  margin-bottom: 1rem;
}

.dash-diy-compare {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--accent-text);
}

.dash-diy-compare span {
  margin: 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-diy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.dash-card-attention {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #fffbeb 0%, var(--surface) 100%);
  margin-bottom: 0;
}

.dash-card-workspace {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 1.4rem 1.5rem;
  border-color: var(--border);
  background: var(--surface);
}

.dash-workspace-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--accent-soft, #e8f2fc);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-workspace-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.dash-workspace-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, #5c6b7a);
}

.dash-workspace-body h2 {
  margin: 0 0 0.35rem;
}

/* —— Lists —— */
.dash-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-list > li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.dash-list > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.dash-list a:hover {
  text-decoration: underline;
}

.dash-plan-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}

.dash-plan-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-plan-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.dash-plan-action:hover {
  text-decoration: underline;
}

.dash-export-pdf-btn {
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-text);
  cursor: pointer;
}

.dash-export-pdf-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dash-badge {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dash-badge.status-draft {
  background: #f3f4f6;
  color: #4b5563;
}

.dash-badge.status-in_review {
  background: #fef3c7;
  color: #92400e;
}

.dash-badge.status-approved {
  background: #d1fae5;
  color: #065f46;
}

.dash-badge.status-in_production {
  background: #dbeafe;
  color: #1e40af;
}

.dash-badge.status-archived {
  background: #f3f4f6;
  color: #6b7280;
}

.dash-comment-head {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.dash-comment-section {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 0.2rem;
}

.dash-comment-body {
  margin: 0;
  font-size: 0.88rem;
  color: inherit;
  line-height: 1.45;
}

.dash-attention-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.dash-attention-reason {
  font-size: 0.78rem;
  color: var(--muted);
}

/* —— Checklist —— */
.dash-checklist-progress {
  margin-bottom: 0.85rem;
}

.dash-checklist-progress-bar {
  height: 6px;
  background: var(--accent-soft);
  border-radius: 999px;
  overflow: hidden;
}

.dash-checklist-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #4a9fd4);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.dash-checklist-progress-label {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.checklist .check-icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.checklist .done {
  color: var(--accent-text);
}

.checklist .done .check-icon {
  background: #d1fae5;
  color: #065f46;
}

.checklist .todo {
  color: var(--muted);
}

.checklist .todo .check-icon {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
}

.checklist a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.checklist a:hover {
  text-decoration: underline;
}

/* —— Quick links —— */
.dash-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-quick-links li {
  border-bottom: 1px solid var(--border);
}

.dash-quick-links li:last-child {
  border-bottom: none;
}

.dash-quick-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.dash-quick-links a::after {
  content: "→";
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

.dash-quick-links a:hover {
  color: var(--accent);
}

.dash-quick-links a:hover::after {
  color: var(--accent);
  transform: translateX(2px);
}

/* —— Empty & loading —— */
.dash-empty {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dash-empty a {
  font-weight: 600;
}

.dash-loading .dash-skeleton {
  display: block;
  height: 0.85rem;
  width: 70%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-soft) 25%, #e8eef5 50%, var(--accent-soft) 75%);
  background-size: 200% 100%;
  animation: dash-shimmer 1.2s ease-in-out infinite;
}

@keyframes dash-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* —— Toast —— */
.dash-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  background: var(--accent-text);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.dash-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.dash-claim-btn,
.dash-dup-btn,
.dash-delete-btn {
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.dash-claim-btn:hover,
.dash-dup-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dash-delete-btn:hover {
  border-color: #f87171;
  color: #b91c1c;
}

.dash-delete-confirm {
  position: fixed;
  z-index: 300;
  width: min(16rem, calc(100vw - 1rem));
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  font-size: 0.88rem;
  line-height: 1.4;
}

.dash-delete-confirm p {
  margin: 0 0 0.75rem;
  color: var(--accent-text);
}

.dash-delete-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.dash-delete-confirm-cancel,
.dash-delete-confirm-submit {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.dash-delete-confirm-cancel:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dash-delete-confirm-submit {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.dash-delete-confirm-submit:hover {
  background: #991b1b;
  border-color: #991b1b;
}

.dash-delete-confirm-submit:disabled,
.dash-delete-confirm-cancel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* —— Invite banner —— */
.dash-invite-banner {
  background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
  border: 1px solid #fbbf24;
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 0;
  box-shadow: var(--dash-card-shadow);
}

.dash-invite-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #92400e;
}

.dash-invite-banner p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #78350f;
}

.dash-invite-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-invite-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.dash-invite-accept {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: none;
  background: #92400e;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dash-invite-accept:hover {
  background: #78350f;
}

.dash-invite-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* —— Comments —— */
.dash-comment-item.unread {
  background: rgba(0, 87, 184, 0.05);
  margin: 0 -0.65rem;
  padding: 0.75rem 0.65rem;
  border-radius: 10px;
  border-bottom: none;
}

.dash-unread-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.25rem;
  vertical-align: middle;
}

.dash-comments-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.dash-comments-header h2 {
  margin: 0;
}

.dash-unread-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.dash-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.dash-stats strong {
  color: var(--accent-text);
}

@media (max-width: 640px) {
  .dash-continue {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-card-workspace {
    flex-direction: column;
  }

  .dash-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Team activity sidebar */
.dash-team-list {
  margin: 0;
}

.dash-team-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border, rgba(15, 20, 25, 0.08));
}

.dash-team-item:last-child {
  border-bottom: none;
}

.dash-team-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.dash-team-role {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: capitalize;
}

.dash-team-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.dash-team-item.status-active .dash-team-meta {
  color: var(--accent-text, #2d6a4f);
}

.dash-team-item.status-invited .dash-team-meta {
  color: #b45309;
}

.dash-dynamic-action-primary {
  font-weight: 600;
}

.cb-modal-actions-stack {
  flex-direction: column;
  align-items: stretch;
}

.cb-modal-actions-stack .cb-modal-submit,
.cb-modal-actions-stack .cb-modal-done {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.cb-modal-done {
  border: none;
  background: transparent;
  color: var(--muted, #64748b);
  cursor: pointer;
  padding: 0.5rem;
  font: inherit;
}
