/* Account dashboards. Loaded last so it wins over the older green-glass and reference sheets. */
.dashboard-body {
  --cmd-ink: #122018;
  --cmd-muted: #66756c;
  --cmd-line: rgba(18, 32, 24, .08);
  --cmd-green: #123d28;
  --cmd-lime: #b6eb78;
  --cmd-paper: #eef2ee;
  color: var(--cmd-ink);
  background:
    radial-gradient(980px 420px at 100% -12%, rgba(182, 235, 120, .2), transparent 58%),
    radial-gradient(720px 360px at -8% 8%, rgba(18, 61, 40, .06), transparent 52%),
    var(--cmd-paper) !important;
  font-family: "DM Sans", Manrope, system-ui, sans-serif;
}

.dashboard-body h1,
.dashboard-body h2,
.dashboard-body .stat-grid strong {
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
}

.dashboard-body .app-shell {
  grid-template-columns: 268px minmax(0, 1fr) !important;
}

.dashboard-body .app-sidebar {
  width: 268px !important;
  padding: 22px 16px 18px !important;
  background:
    radial-gradient(280px 180px at 20% 0%, rgba(182, 235, 120, .12), transparent 70%),
    linear-gradient(180deg, #07140e 0%, #0c2418 58%, #07110c 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, .04);
  box-shadow: inset -1px 0 0 rgba(182, 235, 120, .05);
}

.dashboard-body .app-brand {
  padding: 4px 8px 18px !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

.dashboard-body .workspace-label,
.dashboard-body .nav-group-label {
  margin: 18px 12px 6px;
  color: #7ea48b !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  list-style: none;
}

.dashboard-body .app-menu {
  gap: 4px;
}

.dashboard-body .app-menu a {
  min-height: 42px !important;
  padding: 6px 8px !important;
  border-radius: 12px !important;
  color: #c5d7cb !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

.dashboard-body .app-menu a:hover {
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

.dashboard-body .app-menu a.active {
  background: rgba(182, 235, 120, .14) !important;
  box-shadow: inset 0 0 0 1px rgba(182, 235, 120, .18) !important;
  color: #fff !important;
}

.dashboard-body .app-menu a .nav-ico {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #d7f5b0 !important;
  font-size: 12px;
}

.dashboard-body .app-menu a.active .nav-ico {
  background: rgba(182, 235, 120, .2);
  color: #f3ffe4 !important;
}

.dashboard-body .app-menu a b {
  background: #c6ef86 !important;
  color: #123018 !important;
  font-weight: 800;
}

.dashboard-body .sidebar-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.dashboard-body .sidebar-bottom a,
.dashboard-body .sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  color: rgba(232, 242, 234, .72) !important;
}

.dashboard-body .sidebar-bottom a:hover,
.dashboard-body .sidebar-bottom button:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff !important;
}

.dashboard-body .app-topbar {
  height: 68px !important;
  padding: 0 28px !important;
  background: rgba(247, 249, 247, .82) !important;
  border-bottom: 1px solid var(--cmd-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(150%);
}

.dashboard-body .app-topbar small {
  color: var(--cmd-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-body .app-topbar > div:first-of-type strong {
  font-size: 13px;
  letter-spacing: -.02em;
}

.dashboard-body .top-search {
  width: min(380px, 36vw);
  height: 40px;
  margin-right: 16px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(18, 32, 24, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 #fff;
}

.dashboard-body .top-search i {
  color: #7d8d83;
  font-size: 13px;
}

.dashboard-body .top-search input {
  font-size: 13px;
}

.dashboard-body .top-search input::placeholder {
  color: #8b9890;
}

.dashboard-body .top-search kbd {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #e1e8e2;
  border-radius: 6px;
  background: #f4f7f4;
  color: #6d7c73;
  font: 700 11px/1 inherit;
}

.dashboard-body .notification-button {
  width: 38px;
  height: 38px;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #3d5146;
}

.dashboard-body .notification-button:hover {
  border-color: var(--cmd-line) !important;
  background: #fff !important;
}

.dashboard-body .notification-button b {
  background: #8b0d22;
}

.dashboard-body .avatar,
.dashboard-body .avatar-image {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(18, 61, 40, .28);
}

.dashboard-body .avatar {
  background: linear-gradient(145deg, #123d28, #2f7a4e) !important;
  color: #f4ffe8 !important;
}

.dashboard-body .user-meta strong {
  font-size: 13px;
  letter-spacing: -.02em;
}

.dashboard-body .user-meta small {
  color: var(--cmd-muted);
}

.dashboard-body .github-chip {
  border-radius: 999px;
  background: #fff;
}

.dashboard-body .github-chip.connected {
  border-color: rgba(18, 61, 40, .2);
  background: #f3faea;
}

.dashboard-body .top-estimate {
  min-height: 36px;
  border-radius: 10px !important;
  background: var(--cmd-green) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(18, 61, 40, .16);
}

.dashboard-body .app-content {
  width: min(1480px, 100%) !important;
  padding: 26px 32px 68px !important;
  background: transparent !important;
}

.dashboard-body .dashboard-hero,
.dashboard-body .task-page-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 0 !important;
  margin-bottom: 16px;
  padding: 28px 30px !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(420px 180px at 92% 0%, rgba(182, 235, 120, .24), transparent 62%),
    radial-gradient(260px 140px at 68% 130%, rgba(245, 168, 0, .12), transparent 70%),
    linear-gradient(145deg, #071910 0%, #0e3324 52%, #145536 100%) !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(7, 25, 16, .16), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  animation: none !important;
}

.dashboard-body .dashboard-hero:before,
.dashboard-body .task-page-head:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(100deg, transparent 10%, #000 80%);
  pointer-events: none;
}

.dashboard-body .dashboard-hero:after,
.dashboard-body .task-page-head:after {
  content: "";
  position: absolute;
  top: -110px;
  right: -40px;
  width: 260px;
  height: 260px;
  border: 0 !important;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 235, 120, .28), transparent 68%);
  animation: none !important;
  pointer-events: none;
}

.dashboard-body .dashboard-hero > *,
.dashboard-body .task-page-head > * {
  position: relative;
  z-index: 1;
}

.dashboard-body .dashboard-hero .eyebrow,
.dashboard-body .task-page-head .eyebrow,
.dashboard-body .eyebrow {
  color: #b7d4c4 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dashboard-body .workspace-card .eyebrow,
.dashboard-body .command-rail + .attention-strip .eyebrow {
  color: #5d7a68 !important;
}

.dashboard-body .dashboard-hero h1,
.dashboard-body .task-page-head h1 {
  margin: 8px 0 8px !important;
  color: #fff;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}

.dashboard-body .dashboard-hero p,
.dashboard-body .task-page-head p,
.dashboard-body .dashboard-hero .today {
  max-width: 640px;
  color: #c9ddd1 !important;
  font-size: 14px !important;
  line-height: 1.55;
}

.dashboard-body .dashboard-hero .today {
  display: grid !important;
  gap: 4px;
  min-width: 168px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  text-align: left;
  backdrop-filter: blur(10px);
}

.dashboard-body .dashboard-hero .today strong {
  color: #fff !important;
  font-size: 14px;
}

.dashboard-body .dashboard-hero .today strong:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cmd-lime);
  box-shadow: 0 0 0 4px rgba(182, 235, 120, .18);
  vertical-align: 1px;
}

.dashboard-body .task-page-head .small-button.ghost {
  border-color: rgba(255, 255, 255, .24) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}

.command-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.command-rail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--cmd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #173226;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px rgba(16, 32, 22, .04);
}

.command-rail a i {
  color: #176f40;
  font-size: 12px;
}

.command-rail a:hover {
  border-color: rgba(23, 111, 64, .28);
  background: #fff;
  transform: translateY(-1px);
}

.dashboard-body .attention-strip {
  gap: 10px;
  margin-bottom: 16px;
}

.dashboard-body .attention-card {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 16px 18px !important;
  border: 1px solid rgba(139, 13, 34, .12) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #fff, #fff8f8) !important;
  box-shadow: 0 10px 24px rgba(18, 32, 24, .04) !important;
}

.dashboard-body .attention-card:before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: #8b0d22;
}

.dashboard-body .attention-card:hover {
  transform: translateY(-2px);
}

.dashboard-body .stat-grid,
.dashboard-body .hr-stat-grid,
.dashboard-body .task-stat-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 16px;
}

.dashboard-body .overview-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 16px;
}

.dashboard-body .stat-grid > *,
.dashboard-body .task-stat-row article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 112px !important;
  padding: 16px 16px 16px 18px !important;
  border: 1px solid var(--cmd-line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(16, 32, 22, .045) !important;
  color: inherit;
  text-decoration: none;
}

.dashboard-body .stat-grid > *:before,
.dashboard-body .task-stat-row article:before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: #176f40;
}

.dashboard-body .stat-grid > *:nth-child(2):before,
.dashboard-body .task-stat-row article:nth-child(2):before { background: #c4a15a; }
.dashboard-body .stat-grid > *:nth-child(3):before,
.dashboard-body .task-stat-row article:nth-child(3):before { background: #8b0d22; }
.dashboard-body .stat-grid > *:nth-child(4):before,
.dashboard-body .task-stat-row article:nth-child(4):before { background: #1d6f8a; }
.dashboard-body .stat-grid > *:nth-child(5):before,
.dashboard-body .task-stat-row article:nth-child(5):before { background: #5b4b8a; }
.dashboard-body .stat-grid > *:nth-child(6):before { background: #2f6b4f; }

.dashboard-body .stat-grid > a:hover,
.dashboard-body .task-stat-row article:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff, 0 16px 32px rgba(16, 32, 22, .08) !important;
}

.dashboard-body .stat-grid span,
.dashboard-body .task-stat-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6a786f !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-body .stat-grid span i,
.dashboard-body .metric-icon {
  display: grid !important;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #eef6f0 !important;
  color: #176f40 !important;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-body .stat-grid strong,
.dashboard-body .task-stat-row strong {
  align-self: start;
  color: var(--cmd-ink);
  font-size: 28px !important;
  font-weight: 750;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.dashboard-body .stat-grid strong .money-currency {
  display: inline !important;
  margin-right: .28em;
  color: #6a786f !important;
  font-size: .48em !important;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dashboard-body .stat-grid small,
.dashboard-body .task-stat-row small {
  color: var(--cmd-muted);
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-body .workspace-grid,
.dashboard-body .overview-grid {
  gap: 12px !important;
}

.dashboard-body .overview-grid > .workspace-card,
.dashboard-body .overview-grid > .workspace-card:nth-child(n+3) {
  grid-column: span 6;
}

.dashboard-body .overview-grid > .workspace-card.span-5 { grid-column: span 5 !important; }
.dashboard-body .overview-grid > .workspace-card.span-7 { grid-column: span 7 !important; }
.dashboard-body .overview-grid > .workspace-card.span-4 { grid-column: span 4 !important; }
.dashboard-body .overview-grid > .workspace-wide { grid-column: 1 / -1 !important; }

.dashboard-body .workspace-card,
.dashboard-body .task-column-v2,
.dashboard-body .task-toolbar,
.dashboard-body .task-list-panel {
  border: 1px solid var(--cmd-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(16, 32, 22, .04) !important;
}

.dashboard-body .workspace-card {
  padding: 18px 18px 8px !important;
}

.dashboard-body .card-heading {
  margin-bottom: 8px;
}

.dashboard-body .card-heading h2,
.dashboard-body .task-page-head h1 {
  font-weight: 750;
}

.dashboard-body .card-heading h2 {
  margin-top: 4px;
  font-size: 17px !important;
  letter-spacing: -.03em;
}

.dashboard-body .small-button,
.dashboard-body .task-primary-action {
  min-height: 36px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--cmd-green) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(18, 61, 40, .14);
  font-size: 12px;
  font-weight: 750;
}

.dashboard-body .small-button.ghost {
  border: 1px solid #d7e2da !important;
  background: #fff !important;
  color: var(--cmd-green) !important;
  box-shadow: none;
}

.dashboard-body .small-button.danger {
  border: 1px solid rgba(139, 13, 34, .16) !important;
  background: #fff1f3 !important;
  color: #8b0d22 !important;
  box-shadow: none;
}

.dashboard-body .dashboard-hero .small-button,
.dashboard-body .task-page-head .task-primary-action,
.dashboard-body .task-page-head .small-button:not(.ghost) {
  background: #d8f5a2 !important;
  color: #123018 !important;
  box-shadow: none;
}

.dashboard-body .task-stat-row article.danger {
  background: #fff7f8 !important;
}

.dashboard-body .task-stat-row article.danger:before {
  background: #8b0d22;
}

.dashboard-body .text-button {
  color: #176f40;
  font-size: 12px;
  font-weight: 750;
}

.dashboard-body .data-row,
.dashboard-body .service-row,
.dashboard-body .pipeline-row {
  margin: 0;
  padding: 12px 8px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #eef2ee;
  border-radius: 12px;
  transition: background .15s ease;
}

.dashboard-body .data-row:hover,
.dashboard-body .service-row:hover {
  margin-inline: 0 !important;
  padding-inline: 8px !important;
  background: #f3f7f4 !important;
}

.dashboard-body .data-row strong,
.dashboard-body .service-row strong {
  font-size: 13.5px;
  letter-spacing: -.015em;
}

.dashboard-body .data-row small,
.dashboard-body .service-row small,
.dashboard-body .card-copy {
  color: var(--cmd-muted);
  line-height: 1.45;
}

.dashboard-body .status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f6ea !important;
  color: #146b38 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dashboard-body .status.status-warning,
.dashboard-body .status.invoice-issued,
.dashboard-body .status.invoice-partial,
.dashboard-body .status.estimate-new,
.dashboard-body .status.estimate-reviewing,
.dashboard-body .status.service-pending {
  background: #fff6df !important;
  color: #8a5a00 !important;
}

.dashboard-body .status.status-danger,
.dashboard-body .status.invoice-overdue,
.dashboard-body .status.estimate-lost,
.dashboard-body .status.service-suspended,
.dashboard-body .status.service-expired {
  background: #fff0f1 !important;
  color: #9d2639 !important;
}

.dashboard-body .progress-track {
  height: 7px;
  background: #e5eee8;
}

.dashboard-body .progress-track i {
  background: linear-gradient(90deg, #123d28, #8fd36a);
}

.dashboard-body .pipeline-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px !important;
  color: #53635a;
  font-size: 13px;
}

.dashboard-body .pipeline-row b {
  color: var(--cmd-ink);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.dashboard-body .pipeline-row i {
  position: absolute;
  right: 8px;
  bottom: 6px;
  left: 8px;
  height: 4px;
  border-radius: 99px;
  background: #e7eee8;
}

.dashboard-body .pipeline-row i:after {
  content: "";
  display: block;
  width: var(--share, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #123d28, #b6eb78);
}

.dashboard-body .empty-state {
  min-height: 150px;
}

.dashboard-body .empty-state i {
  border-radius: 14px;
  background: #eef6f0 !important;
  color: #176f40 !important;
}

.dashboard-body .profile-card {
  border: 1px solid #e6eee8;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7faf7, #fff) !important;
}

.dashboard-body .profile-initial {
  border-radius: 14px;
  background: var(--cmd-green) !important;
}

.dashboard-body .copy-link {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.dashboard-body .copy-link input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe4de;
  border-radius: 12px;
  background: #f7faf7;
  color: var(--cmd-ink);
  font: 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.dashboard-body .copy-link button {
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--cmd-green);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.dashboard-body .referral-metrics div {
  padding: 14px;
  border: 1px solid #e6eee8;
  border-radius: 14px;
  background: #f7faf7;
}

.dashboard-body .referral-metrics {
  gap: 10px;
  border-top: 0;
}

.dashboard-body .developer-hub-card {
  padding: 22px !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(182, 235, 120, .22), transparent 60%),
    linear-gradient(145deg, #071910, #102d20 55%, #176f40) !important;
  box-shadow: 0 18px 40px rgba(7, 25, 16, .16) !important;
}

.dashboard-body .developer-hub-card .eyebrow,
.dashboard-body .developer-hub-card .card-copy,
.dashboard-body .developer-hub-card .developer-hub-metrics span {
  color: rgba(255, 255, 255, .72) !important;
}

.dashboard-body .developer-hub-card h2 { color: #fff; }

.dashboard-body .developer-hub-card .small-button {
  background: #d8f5a2 !important;
  color: #123018 !important;
  box-shadow: none;
}

.dashboard-body .developer-hub-metrics div {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.dashboard-body .developer-hub-links a:hover {
  background: rgba(255, 255, 255, .1);
}

.dashboard-body .notification-item {
  border-radius: 14px;
}

.dashboard-body .notification-item.unread {
  border-left: 3px solid #176f40;
  background: #f4faf5;
}

.dashboard-body .whatsapp-widget { display: none !important; }

.dashboard-body .is-filtered-out { display: none !important; }

.dashboard-body .filter-empty .empty-state { display: none; }

.dashboard-body .filter-empty:after {
  content: "No matches in this panel.";
  display: block;
  padding: 16px 6px 12px;
  color: var(--cmd-muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-body .command-rail a,
  .dashboard-body .stat-grid > a,
  .dashboard-body .attention-card,
  .dashboard-body .dashboard-hero,
  .dashboard-body .dashboard-hero:before,
  .dashboard-body .dashboard-hero:after {
    transition: none;
    animation: none !important;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .dashboard-body .overview-grid > .workspace-card.span-5,
  .dashboard-body .overview-grid > .workspace-card.span-7,
  .dashboard-body .overview-grid > .workspace-card.span-4,
  .dashboard-body .overview-grid > .workspace-card,
  .dashboard-body .overview-grid > .workspace-card:nth-child(n+3) {
    grid-column: span 6 !important;
  }
}

@media (max-width: 900px) {
  .dashboard-body .overview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .dashboard-body .app-shell { display: block !important; }
  .dashboard-body .app-sidebar { width: min(300px, 88vw) !important; }
  .dashboard-body .app-content { padding: 18px 14px 48px !important; }
  .dashboard-body .app-topbar { height: auto !important; min-height: 64px; padding: 10px 12px !important; gap: 8px; }
  .dashboard-body .top-search { width: auto; min-width: 0; flex: 1; margin: 0; }
  .dashboard-body .top-search input { min-width: 0; }
  .dashboard-body .top-search kbd,
  .dashboard-body .github-chip { display: none !important; }
  .dashboard-body .dashboard-hero,
  .dashboard-body .task-page-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px !important;
  }
  .dashboard-body .dashboard-hero h1,
  .dashboard-body .task-page-head h1 { font-size: 1.7rem !important; }
  .dashboard-body .stat-grid,
  .dashboard-body .overview-metrics,
  .dashboard-body .task-stat-row { grid-template-columns: 1fr 1fr !important; }
  .dashboard-body .stat-grid strong { font-size: 22px !important; }
  .dashboard-body .overview-grid,
  .dashboard-body .overview-grid > .workspace-card,
  .dashboard-body .overview-grid > .workspace-card.span-5,
  .dashboard-body .overview-grid > .workspace-card.span-7,
  .dashboard-body .overview-grid > .workspace-wide { grid-column: 1 / -1 !important; }
  .dashboard-body .overview-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 520px) {
  .dashboard-body .developer-hub-metrics { grid-template-columns: 1fr 1fr; }
}
