.app-shell:has(.desk-overview) {
  --ink: #f4f7fc;
  --muted: #b3bfd0;
  --faint: #97a4b9;
  --bg: #080a0f;
  --rail: #0d1017;
  --surface: #12151e;
  --raised: #1a2030;
  --input: #10141d;
  --line: #303747;
  --line-strong: #454f65;
  --primary: #d6f82d;
  --primary-dark: #e6ff76;
  --primary-ink: #101204;
  --accent: #91b5ff;
  --accent-bg: #192b54;
  --cobalt: #2865e9;
  --blue: #a6c4ff;
  --blue-bg: #17284b;
  --green: #9bdfad;
  --green-bg: #172a22;
  --shadow: inset 0 1px 0 #f4f7fc06, 0 12px 28px #0002;
  background: var(--bg);
  color: var(--ink);
}

.app-shell:has(.desk-overview) .topbar {
  background: #0c1017f7;
}

.app-shell:has(.desk-overview) .brand-mark {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: #e5ff6e;
  box-shadow: 0 5px 18px #d6f82d22;
}

.app-shell:has(.desk-overview) .nav-link.active {
  background: #15254a;
  border-color: #355b9f;
  color: #dce8ff;
  box-shadow: inset 2px 0 0 #5790ff;
}

.app-shell:has(.desk-overview) .nav-link.active::after {
  background: #5790ff;
}

.app-shell:has(.desk-overview) :is(.search-trigger:hover, .button-secondary:hover) {
  border-color: #5478b6;
  color: #dce8ff;
}

.app-shell:has(.desk-overview) .button-ghost:hover {
  background: var(--accent-bg);
}

.app-shell:has(.desk-overview) .avatar {
  background: #1a253e;
  color: #acc8ff;
  border-color: #35476b;
}

.app-shell:has(.desk-overview) .badge-purple {
  border-color: #355b9f;
}

.app-shell:has(.desk-overview) .badge-green {
  border-color: #365a46;
}

.desk-overview .desk-date .icon,
.desk-overview .desk-date span {
  color: var(--accent);
}

.desk-overview .desk-focus {
  border-color: #344973;
  background:
    radial-gradient(ellipse at 101% 3%, #2152bc 0%, #14264f 38%, transparent 68%),
    linear-gradient(128deg, #10141d, #10182d 94%);
  box-shadow: inset 0 1px 0 #a6c4ff23, 0 15px 38px #0004;
}

.desk-overview .focus-body h2,
.desk-overview .focus-value {
  color: var(--ink);
}

.desk-overview .focus-body h2 .icon {
  color: var(--primary);
}

.desk-overview .focus-value span {
  color: #cad7ee;
}

.desk-overview .focus-body .button-primary {
  border-color: #e5ff6e;
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 6px 20px #03070fc0;
}

.desk-overview .focus-body .button-primary:hover {
  background: var(--primary-dark);
}

.desk-overview .focus-readiness {
  background: #080d19b8;
  border-top-color: #5779b445;
}

.desk-overview .focus-readiness strong {
  color: #d9e5f9;
}

.desk-overview .focus-meter {
  background: #2a354a;
}

.desk-overview .focus-meter > span {
  background: linear-gradient(90deg, #b3d716, var(--primary));
}

.desk-overview .desk-spectrum::before {
  background-image: radial-gradient(#adcbff58 .75px, transparent .75px);
}

.desk-overview .desk-spectrum i {
  border-color: #9dbbff58;
  background: linear-gradient(117deg, transparent 42%, #3777ff0f 74%, #4b82ff26);
  box-shadow: 0 0 15px #3171ff44, inset 0 0 17px #5184ff29;
}

.desk-overview .desk-spectrum i:nth-child(2) {
  border-color: #b8d1ff78;
}

.desk-overview .desk-spectrum i:nth-child(4) {
  border-color: #bbd87854;
}

.desk-overview :is(.followup-icon, .team-stamp) {
  background: var(--blue-bg);
  border-color: #354c77;
  color: var(--blue);
}

.desk-overview .team-stamp-2 {
  background: var(--green-bg);
  border-color: #365a46;
  color: var(--green);
}

.desk-overview :is(.followup-time, .team-total) {
  color: #c1cce0;
}

.desk-overview .followup-time.is-late {
  color: var(--amber);
}

.desk-overview .pipeline-tone-0 { background: #6f9dff; }
.desk-overview .pipeline-tone-1 { background: var(--cobalt); }
.desk-overview .pipeline-tone-5 { background: #a2b4d4; }
.desk-overview .pipeline-tone-7 { background: #929cae; }
.desk-overview .pipeline-tone-8 { background: #667289; }
