:root {
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --blue: #3ba0c4;
  --blue-deep: #1f758f;
  --blue-pale: #e9f5f8;
  --cyan: #36e2dc;
  --cyan-deep: #0fa9ac;
  --green: #2f9467;
  --green-pale: #e7f6ee;
  --amber: #b87822;
  --amber-pale: #fff3df;
  --red: #c5525d;
  --red-pale: #ffecee;
  --ink: #18211e;
  --muted: #6f7a75;
  --quiet: #98a19d;
  --line: #dfe5e2;
  --paper: #f5f7f5;
  --surface: #fff;
  --shadow: 0 18px 50px rgba(26, 38, 33, 0.08);
  --sidebar: 292px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #eef2f0;
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
small {
  font-size: 10px;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(59, 160, 196, 0.28);
  outline-offset: 2px;
}
.hidden {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen {
  position: fixed;
  inset: 0;
  min-height: 100dvh;
}
body.showcase-embed {
  position: relative;
}
.showcase-embed .screen {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.fade-in {
  animation: fadeIn 0.45s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 148, 103, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(47, 148, 103, 0);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate3d(-4%, -3%, 0) scale(1);
  }
  50% {
    transform: translate3d(5%, 4%, 0) scale(1.09);
  }
}

/* Login */
#loginScreen {
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 22%, #fff 0, #f7f9f8 42%, #edf2f0 100%);
  overflow: auto;
}
.login-card {
  width: min(520px, 100%);
  padding: 42px 40px 30px;
  border: 1px solid #d8dfdc;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(31, 43, 38, 0.12);
  text-align: center;
}
.login-logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 32px;
}
.login-card h1 {
  margin: 0;
  font: 500 clamp(29px, 4vw, 38px)/1.1 var(--serif);
  letter-spacing: -0.7px;
}
.login-card > p {
  margin: 10px 0 0;
  color: var(--quiet);
  font-size: 15px;
}
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}
.provider:hover {
  transform: translateY(-1px);
  border-color: #b9c4c0;
  box-shadow: 0 8px 18px rgba(26, 38, 33, 0.06);
}
.provider-mark {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13px;
}
.google {
  font:
    700 20px/1 Arial,
    sans-serif;
  letter-spacing: -1.5px;
  background: conic-gradient(
    from -42deg,
    #4285f4 0 27%,
    #34a853 27% 46%,
    #fbbc05 46% 64%,
    #ea4335 64% 82%,
    #4285f4 82% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.microsoft {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 1px;
}
.microsoft i {
  width: 7px;
  height: 7px;
}
.microsoft i:nth-child(1) {
  background: #f35325;
}
.microsoft i:nth-child(2) {
  background: #81bc06;
}
.microsoft i:nth-child(3) {
  background: #05a6f0;
}
.microsoft i:nth-child(4) {
  background: #ffba08;
}
.okta {
  position: relative;
  overflow: visible;
  background: #fff;
}
.okta img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 36px;
  height: 36px;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.apple {
  font:
    25px/1 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #111;
  transform: translateY(-1px);
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--quiet);
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
}
.divider:before,
.divider:after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}
.login-form {
  text-align: left;
}
.login-field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}
.login-field label {
  font-size: 12px;
  font-weight: 700;
  color: #3f4744;
}
.login-field input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding-right: 45px;
}
.eye-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
}
.remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 160, 196, 0.22);
  transition: 0.2s ease;
}
.primary:hover {
  transform: translateY(-1px);
  background: #2f91b4;
}
#appScreen[data-mode='leadership'] [data-generate-brief] {
  position: relative;
  isolation: isolate;
  min-width: 166px;
  min-height: 72px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 13px;
  background: linear-gradient(135deg, #4ed0eb 0%, #319bc8 48%, #246fa8 100%);
  box-shadow:
    0 14px 34px rgba(37, 132, 180, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
}
#appScreen[data-mode='leadership'] [data-generate-brief]:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 5%,
    rgba(255, 255, 255, 0.2) 38%,
    transparent 66%
  );
  transform: translateX(-72%);
  transition: transform 0.45s ease;
}
#appScreen[data-mode='leadership'] [data-generate-brief]:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5bd9ef 0%, #35a7d2 46%, #215f99 100%);
  box-shadow:
    0 18px 40px rgba(37, 132, 180, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
#appScreen[data-mode='leadership'] [data-generate-brief]:hover:before {
  transform: translateX(72%);
}
#appScreen[data-mode='leadership'] [data-generate-brief]:focus-visible {
  outline: 3px solid color-mix(in srgb, #35bfe4 38%, transparent);
  outline-offset: 3px;
}
.login-submit {
  width: 100%;
  height: 52px;
  font-size: 15px;
}
.login-signup {
  margin: 14px 0 0 !important;
  font-size: 13px !important;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-deep);
  font-weight: 700;
  cursor: pointer;
}
.login-legal {
  max-width: 420px;
  margin: 12px auto 0 !important;
  font-size: 11px !important;
  line-height: 1.55;
}
.login-legal a {
  color: #68736e;
  font-weight: 600;
  text-underline-offset: 2px;
}

/* Mode selection */
#modeScreen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  overflow: hidden;
}
.mode-half {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 110px 7vw 60px;
  cursor: pointer;
  overflow: hidden;
  transition:
    flex 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.35s ease;
}
.mode-half:before {
  content: '';
  position: absolute;
  inset: 0;
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
}
.mode-leadership {
  background: #faf9f6;
}
.mode-leadership:before {
  background: linear-gradient(180deg, #edf7fb 0%, #faf9f6 100%);
}
.mode-developer {
  background: #031a23;
  color: #f2fcfc;
}
.mode-developer:before {
  background: linear-gradient(180deg, #062d39 0%, #031a23 100%);
}
.mode-half:hover:before {
  transform: scale(1.035);
}
.mode-ambient {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mode-developer .mode-ambient {
  transform: scaleX(-1);
}
.mode-wave {
  position: absolute;
  filter: blur(42px);
  will-change: transform, border-radius, opacity;
}
.mode-wave-1 {
  width: 680px;
  height: 680px;
  left: -160px;
  top: -220px;
  animation: modeWave1 12s ease-in-out infinite;
}
.mode-leadership .mode-wave-1 {
  background: radial-gradient(circle at 40% 40%, #cae9f5 0%, rgba(202, 233, 245, 0) 72%);
}
.mode-developer .mode-wave-1 {
  background: radial-gradient(
    circle at 40% 40%,
    rgba(54, 226, 220, 0.78) 0%,
    rgba(54, 226, 220, 0) 72%
  );
}
.mode-wave-2 {
  width: 520px;
  height: 520px;
  left: 80px;
  top: -260px;
  animation: modeWave2 12s ease-in-out infinite;
}
.mode-leadership .mode-wave-2 {
  background: radial-gradient(circle at 50% 50%, #aec6cf 0%, rgba(174, 198, 207, 0) 72%);
}
.mode-developer .mode-wave-2 {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(59, 160, 196, 0.72) 0%,
    rgba(59, 160, 196, 0) 72%
  );
}
.mode-wave-3 {
  width: 440px;
  height: 440px;
  left: 34%;
  bottom: -260px;
  animation: modeWave3 14.64s ease-in-out infinite;
}
.mode-leadership .mode-wave-3 {
  background: radial-gradient(circle at 50% 50%, #faf9f6 0%, rgba(250, 249, 246, 0) 72%);
}
.mode-developer .mode-wave-3 {
  background: radial-gradient(circle at 50% 50%, rgba(7, 69, 82, 0.95) 0%, rgba(7, 69, 82, 0) 72%);
}
.mode-wave-4 {
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -80px;
  animation: modeWave4 12s ease-in-out infinite;
}
.mode-leadership .mode-wave-4 {
  background: radial-gradient(circle at 50% 50%, #f4e4ae 0%, rgba(244, 228, 174, 0) 72%);
}
.mode-developer .mode-wave-4 {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(19, 113, 151, 0.88) 0%,
    rgba(19, 113, 151, 0) 72%
  );
}
@keyframes modeWave1 {
  0% {
    transform: translate(-9vw, -5vh) scale(1);
    border-radius: 42% 58% 61% 39%/51% 44% 56% 49%;
    opacity: 0.7;
  }
  16.67%,
  50% {
    transform: translate(12vw, 8vh) scale(1.22);
    border-radius: 58% 42% 39% 61%/44% 58% 42% 56%;
    opacity: 1;
  }
  66.67%,
  100% {
    transform: translate(-9vw, -5vh) scale(1);
    border-radius: 42% 58% 61% 39%/51% 44% 56% 49%;
    opacity: 0.7;
  }
}
@keyframes modeWave2 {
  0% {
    transform: translate(9vw, 6vh) scale(0.9);
    border-radius: 55% 45% 48% 52%/40% 55% 45% 60%;
    opacity: 0.46;
  }
  16.67%,
  50% {
    transform: translate(-11vw, -8vh) scale(1.14);
    border-radius: 45% 55% 60% 40%/55% 42% 58% 45%;
    opacity: 0.9;
  }
  66.67%,
  100% {
    transform: translate(9vw, 6vh) scale(0.9);
    border-radius: 55% 45% 48% 52%/40% 55% 45% 60%;
    opacity: 0.46;
  }
}
@keyframes modeWave3 {
  0%,
  34.153% {
    transform: translate(-32vw, 0) scale(0.95);
    border-radius: 50% 50% 45% 55%/55% 45% 50% 50%;
    opacity: 0.65;
  }
  50%,
  84.153% {
    transform: translate(34vw, -22px) scale(1.3);
    border-radius: 45% 55% 55% 45%/50% 55% 45% 50%;
    opacity: 1;
  }
  100% {
    transform: translate(-32vw, 0) scale(0.95);
    border-radius: 50% 50% 45% 55%/55% 45% 50% 50%;
    opacity: 0.65;
  }
}
@keyframes modeWave4 {
  0% {
    transform: translate(-12vw, 8vh) scale(1.18);
    border-radius: 55% 45% 45% 55%/52% 45% 55% 48%;
    opacity: 0.95;
  }
  16.67%,
  50% {
    transform: translate(10vw, -6vh) scale(0.92);
    border-radius: 48% 52% 55% 45%/45% 52% 48% 55%;
    opacity: 0.5;
  }
  66.67%,
  100% {
    transform: translate(-12vw, 8vh) scale(1.18);
    border-radius: 55% 45% 45% 55%/52% 45% 55% 48%;
    opacity: 0.95;
  }
}
.mode-copy {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
}
.mode-logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 30px;
}
.mode-developer .mode-logo {
  width: 190px;
}
.mode-kicker {
  font: 600 10px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.mode-developer .mode-kicker {
  color: var(--cyan);
}
.mode-copy h2 {
  margin: 12px 0 10px;
  font: 500 clamp(38px, 4.2vw, 60px)/1 var(--serif);
  letter-spacing: -1.8px;
  white-space: nowrap;
}
.mode-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.mode-developer .mode-copy p {
  color: #a9c0c2;
}
.mode-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0 26px;
}
.mini-card {
  min-height: 86px;
  padding: 15px;
  border: 1px solid rgba(208, 216, 212, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 26px rgba(25, 38, 33, 0.05);
}
.mini-card span {
  font-size: 10px;
  color: var(--quiet);
}
.mini-card b {
  display: block;
  margin-top: 9px;
  font: 600 21px var(--serif);
}
.mode-developer .mini-card {
  border-color: rgba(72, 218, 210, 0.17);
  background: rgba(4, 34, 44, 0.66);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.mode-developer .mini-card span {
  color: #79a3a5;
}
.mode-developer .mini-card b {
  color: #f2ffff;
}
.mode-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 35, 29, 0.07);
}
.mode-developer .mode-enter {
  border-color: rgba(56, 229, 219, 0.42);
  background: rgba(8, 48, 59, 0.8);
  color: #eaffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.mode-ai-bridge {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.24),
    0 0 55px rgba(52, 183, 204, 0.34);
  pointer-events: none;
}
.mode-ai-bridge img {
  width: 62px;
  animation: aiIconSpin 5s linear infinite;
}
.mode-center-line {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(73, 170, 190, 0.55), transparent);
}

/* Application shell */
#appScreen {
  background: var(--app-bg);
  color: var(--app-ink);
  transition:
    background 0.45s ease,
    color 0.45s ease;
}
#appScreen[data-mode='leadership'],
body[data-mode='leadership'] {
  --app-bg: #faf9f7;
  --app-surface: #fbfaf8;
  --app-panel: #fff;
  --app-summary: #e9f5f8;
  --app-ink: #18211e;
  --app-muted: #6f7a75;
  --app-quiet: #98a19d;
  --app-line: #e4e2dc;
  --app-soft: #f4f4f1;
  --app-highlight: #e9f5f8;
  --amber-pale: #fbf6e9;
  --app-accent: var(--blue);
  --app-accent-deep: var(--blue-deep);
  --app-accent-soft: var(--blue-pale);
  --app-shadow: 0 13px 38px rgba(43, 39, 31, 0.06);
}
#appScreen[data-mode='developer'],
body[data-mode='developer'] {
  --app-bg: #061921;
  --app-surface: #071f29;
  --app-panel: #0a2630;
  --app-summary: #0d363f;
  --app-ink: #eaf7f6;
  --app-muted: #9ab1b1;
  --app-quiet: #719091;
  --app-line: rgba(112, 190, 188, 0.17);
  --app-soft: #0c303a;
  --app-accent: var(--cyan);
  --app-accent-deep: #9ef9f3;
  --app-accent-soft: rgba(54, 226, 220, 0.12);
  --app-shadow: 0 15px 42px rgba(0, 0, 0, 0.22);
}
.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  height: 100%;
}
.sidebar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px 14px 14px;
  border-right: 1px solid var(--app-line);
  background: var(--app-surface);
  transition:
    background 0.45s ease,
    border-color 0.45s ease;
}
.app-brand {
  padding: 6px 8px 16px;
}
.app-wordmark {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--app-ink);
}
.app-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 31px;
  object-fit: contain;
}
.app-maestro {
  margin: -3px 0 0 7px;
  font: 400 23px/1 var(--serif);
  letter-spacing: -0.4px;
}
.app-subtitle {
  margin-top: 10px;
  font: 600 10px var(--mono);
  letter-spacing: 0.15em;
  color: var(--app-quiet);
  text-transform: uppercase;
}
.mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: var(--app-soft);
}
#appScreen[data-mode='leadership'] .mode-switcher {
  background: var(--app-highlight);
}
.mode-card {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--app-muted);
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}
.mode-card b {
  display: block;
  font-size: 10px;
  line-height: 1.25;
}
.mode-card span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mode-card.active {
  border-color: var(--app-line);
  background: var(--app-panel);
  color: var(--app-ink);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.nav-label {
  padding: 7px 12px;
  font: 600 10px var(--mono);
  letter-spacing: 0.14em;
  color: var(--app-quiet);
  text-transform: uppercase;
}
.app-nav {
  display: grid;
  gap: 3px;
}
.nav-separator {
  height: 1px;
  margin: 7px 8px;
  background: var(--app-line);
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 47px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--app-muted);
  font-weight: 600;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
}
.nav-btn:hover {
  background: var(--app-soft);
  color: var(--app-ink);
}
.nav-btn.active {
  border-color: color-mix(in srgb, var(--app-accent) 22%, transparent);
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
}
.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--app-accent-soft) 72%, transparent);
  color: var(--app-accent-deep);
}
.nav-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-btn.active .nav-icon {
  background: var(--app-panel);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.nav-badge {
  margin-left: auto;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--amber-pale);
  color: #9b651b;
  font-size: 10px;
}
.sidebar-spacer {
  flex: 1;
  min-height: 8px;
}
.live-card {
  margin: 10px 5px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--app-line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--green-pale) 68%, var(--app-panel));
  color: #315e48;
}
.showcase-embed .live-card {
  transform: translateY(-56px);
}
.developer .live-card {
  background: rgba(36, 145, 107, 0.09);
  color: #a8e8ce;
}
.live-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.7s ease-in-out infinite;
}
.live-card p {
  margin: 7px 0 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.5;
}
.live-health {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.live-health strong {
  color: #315e48;
  font-size: 9px;
}
.live-health span {
  color: var(--app-quiet);
  font-size: 8px;
}
.developer .live-health strong {
  color: #a8e8ce;
}
.live-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.live-mini span {
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
}
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-size: 10px;
  font-weight: 800;
}
.workspace {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.topbar {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid var(--app-line);
  background: color-mix(in srgb, var(--app-surface) 94%, transparent);
  backdrop-filter: blur(18px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--app-muted);
  font-size: 11.5px;
}
.breadcrumb b {
  color: var(--app-ink);
}
.topbar-spacer {
  flex: 1;
}
.top-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-panel);
  color: var(--app-muted);
  cursor: pointer;
}
.mobile-menu {
  display: none;
}
.app-menu-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 4px 8px 4px 5px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-panel);
  color: var(--app-ink);
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.04);
}
.app-menu-trigger:hover,
.app-menu-trigger[aria-expanded='true'] {
  border-color: color-mix(in srgb, var(--app-accent) 42%, var(--app-line));
  background: var(--app-accent-soft);
}
.app-user-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
}
.app-user-avatar svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}
.app-menu-trigger > span:nth-child(2) {
  font-size: 10px;
  font-weight: 700;
}
.app-menu-chevron {
  color: var(--app-quiet);
  font-size: 10px;
  transition: transform 0.2s ease;
}
.app-menu-trigger[aria-expanded='true'] .app-menu-chevron {
  transform: rotate(180deg);
}
.common-app-menu {
  position: absolute;
  z-index: 45;
  right: 0;
  top: 48px;
  width: 248px;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}
.common-app-head {
  padding: 10px 11px 11px;
  border-bottom: 1px solid var(--app-line);
}
.common-app-head b {
  display: block;
  font-size: 11px;
}
.common-app-head span {
  display: block;
  margin-top: 3px;
  color: var(--app-quiet);
  font-size: 10px;
}
.common-app-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.common-app-menu button:hover {
  background: var(--app-soft);
  color: var(--app-ink);
}
.common-app-menu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.common-app-menu .menu-separator {
  height: 1px;
  margin: 6px 4px;
  background: var(--app-line);
}
.common-app-menu .sign-out {
  color: var(--red);
}
.ai-command-row {
  padding: 10px 24px;
  border-bottom: 1px solid var(--app-line);
  background: color-mix(in srgb, var(--app-surface) 88%, var(--app-bg));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.025);
}
.ai-command {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 6px 7px 6px 8px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 32%, var(--app-line));
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--app-accent) 9%, transparent);
}
.ai-command-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--app-accent-soft);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--app-accent) 23%, transparent),
    0 0 18px color-mix(in srgb, var(--app-accent) 24%, transparent);
}
.ai-command-orb:before,
.ai-command-orb:after {
  content: '';
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--app-accent) 35%, transparent);
  border-radius: 50%;
  animation: aiCommandPulse 2.8s ease-out infinite;
}
.ai-command-orb:before {
  inset: -3px;
}
.ai-command-orb:after {
  inset: -7px;
  animation-delay: 1.4s;
}
.ai-command-orb img {
  position: relative;
  z-index: 2;
  width: 27px;
  height: 27px;
  object-fit: contain;
  animation: breathe 2.8s ease-in-out infinite;
}
.ai-command input {
  width: 100%;
  height: 38px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--app-ink);
  font-size: 13px;
  outline: 0;
}
.ai-command input::placeholder {
  color: var(--app-quiet);
}
.ai-command button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.ai-command:focus-within {
  border-color: var(--app-accent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--app-accent) 14%, transparent),
    0 10px 26px color-mix(in srgb, var(--app-accent) 12%, transparent);
}
@keyframes aiCommandPulse {
  0% {
    transform: scale(0.82);
    opacity: 0.65;
  }
  75%,
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}
.page-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.page {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 26px 28px 50px;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.page-overview .page-head {
  height: 146px;
  min-height: 146px;
}
.page-overview .metric {
  height: 122px;
  min-height: 122px;
}
.page-summary {
  padding: 21px 24px 24px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 13%, var(--app-line));
  border-radius: 21px;
  background: var(--app-summary);
  box-shadow: 0 16px 42px rgba(21, 45, 47, 0.07);
}
.page-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.page-summary-title {
  margin: 0;
  font: 700 11px var(--sans);
  letter-spacing: 0.04em;
  color: var(--app-accent-deep);
}
.page-summary-context {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(21, 45, 47, 0.06);
}
.page-overview + .section-head {
  margin-top: 28px;
}
.page-overview + .activity-layout {
  margin-top: 28px;
}
.eyebrow {
  font: 600 10px var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--app-accent-deep);
}
.page-head h1 {
  margin: 5px 0 0;
  font: 500 clamp(24px, 3vw, 36px)/1.05 var(--serif);
  letter-spacing: -0.7px;
}
.page-head p {
  max-width: 730px;
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.55;
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
}
.secondary:hover {
  color: var(--app-ink);
  border-color: color-mix(in srgb, var(--app-accent) 45%, var(--app-line));
}
.developer .primary {
  background: linear-gradient(135deg, #21c9c4, #167e9d);
  box-shadow: 0 8px 24px rgba(31, 211, 201, 0.18);
}
.grid {
  display: grid;
  gap: 14px;
}
.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
  overflow: hidden;
  transition: 0.2s ease;
}
.metric:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--app-accent) 40%, var(--app-line));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.metric:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}
.metric-label {
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
}
.metric-measure {
  min-height: 10px;
  margin-top: 3px;
  color: var(--app-quiet);
  font-size: 8px;
  line-height: 1.25;
}
.metric-value {
  margin-top: 10px;
  font: 600 27px/1 var(--serif);
}
.metric-value small {
  font: 500 11px var(--sans);
}
.metric-foot {
  margin-top: 8px;
  color: var(--app-quiet);
  font-size: 10px;
}
.metrics.leadership-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.metrics.leadership-kpis .metric {
  height: 172px;
  min-height: 172px;
  padding: 15px;
}
.metrics.leadership-kpis .metric-value {
  margin-top: 8px;
}
.metric-trend {
  margin-top: 8px;
  color: var(--app-quiet);
  font-size: 9px;
  line-height: 1.35;
  white-space: nowrap;
}
.metric-reporter {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--app-line);
  color: var(--app-quiet);
  font-size: 8px;
  line-height: 1.25;
}
.metric-reporter span {
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.metric-reporter b {
  display: block;
  color: var(--app-muted);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric.multi-reporter .metric-reporter {
  margin-top: 6px;
  padding-top: 6px;
}
.metric.multi-reporter .metric-reporter b {
  font-size: 7.5px;
  line-height: 1.3;
}
.metric.multi-reporter .metric-reporter b + b {
  color: var(--blue);
}
.maestro-story-cursor {
  position: fixed;
  z-index: 10020;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-7.5px, -7.5px);
  transition:
    left 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}
.maestro-story-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../../icons/macos-arrow-cursor-blue.svg') center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}
body[data-mode='developer'] .maestro-story-cursor::before {
  background-image: url('../../../icons/macos-arrow-cursor-white.svg');
}
.maestro-story-cursor::after {
  content: '';
  position: absolute;
  left: -11px;
  top: -11px;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(59, 160, 196, 0.68);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.45);
}
.maestro-story-cursor.is-visible {
  opacity: 1;
}
.maestro-story-cursor.is-clicking::after {
  animation: maestroStoryClick 0.42s ease-out;
}
.maestro-story-caption {
  position: fixed;
  z-index: 10010;
  left: 50%;
  bottom: 82px;
  max-width: min(620px, calc(100% - 36px));
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(20, 31, 27, 0.9);
  box-shadow: 0 12px 35px rgba(14, 31, 25, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.maestro-story-caption.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.maestro-story-focus {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(59, 160, 196, 0.48) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 9px rgba(59, 160, 196, 0.11) !important;
}
@keyframes maestroStoryClick {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
.up {
  color: var(--green);
  font-weight: 700;
}
.warn {
  color: var(--amber);
  font-weight: 700;
}
.panel {
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px 11px;
}
.panel-title {
  font: 600 14px var(--serif);
}
.panel-sub {
  margin-top: 4px;
  color: var(--app-quiet);
  font-size: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 12px;
}
.section-head h2 {
  margin: 0;
  font: 500 21px var(--serif);
}
.section-head p {
  margin: 5px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.section-head button {
  flex: 0 0 auto;
}
.performer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.performer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 15px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
  cursor: pointer;
  transition: 0.2s ease;
  text-align: left;
}
.performer-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--app-accent) 40%, var(--app-line));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.performer-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.performer-mark {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.performer-status {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.performer-status.warn {
  background: var(--amber);
}
.performer-card h3 {
  margin: 12px 0 3px;
  font: 600 14px var(--serif);
}
.performer-dept {
  color: var(--app-quiet);
  font-size: 10px;
}
.performer-work {
  margin: 13px 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.performer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--app-line);
}
.autonomy {
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.performer-outcome {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}
.add-card {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  background: color-mix(in srgb, var(--app-accent-soft) 36%, var(--app-panel));
  text-align: center;
}
.add-plus {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-size: 24px;
}
.add-card h3 {
  margin-top: 13px;
}
.add-card p {
  margin: 4px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.performer-mandate {
  margin: 11px 0 7px;
  color: var(--app-ink);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
}
.performer-mastery {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 11px;
  color: var(--app-muted);
  font-size: 10px;
}
.performer-mastery i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);
}
.mastery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mastery-task {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.mastery-task i {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--green-pale);
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}
.mandate-card {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 28%, var(--app-line));
  border-radius: 15px;
  background: linear-gradient(145deg, var(--app-panel), var(--app-accent-soft));
}
.mandate-card h3 {
  margin: 8px 0 6px;
  font: 600 19px var(--serif);
}
.mandate-card p {
  margin: 0;
  color: var(--app-muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.performer-emblem {
  --division-dark: #2d5a6b;
  --division-soft: #aec6cf;
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--division-dark) 48%, transparent);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--division-soft) 18%, transparent),
    0 8px 20px color-mix(in srgb, var(--division-dark) 14%, transparent);
}
.performer-emblem img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 31px;
  height: 31px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: performerSpin 5s linear infinite;
}
.division-chip {
  background: color-mix(in srgb, var(--division-soft) 32%, var(--app-panel));
  color: var(--division-dark);
}
.chain-node .performer-emblem {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-width: 1px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--division-soft) 14%, transparent);
}
.chain-node .performer-emblem img {
  width: 19px;
  height: 19px;
}
.catalog-item .performer-emblem {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--division-soft) 14%, transparent);
}
.catalog-item .performer-emblem img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25px;
  height: 25px;
  margin: 0;
  transform: translate(-50%, -50%);
}
.preview-node .performer-emblem {
  width: 44px;
  height: 44px;
  margin-top: 17px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--division-soft) 16%, transparent);
}
.preview-node .performer-emblem img {
  width: 29px;
  height: 29px;
  margin: 0;
}
.preview-system-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 17px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: var(--app-soft);
  color: var(--app-quiet);
  font-size: 21px;
}
.stage-hero .performer-emblem {
  flex: 0 0 48px;
}
@keyframes performerSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.symphony-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.symphony-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
  overflow: hidden;
}
.symphony-card:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--symphony);
}
.symphony-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.symphony-kicker {
  color: var(--symphony);
  font: 700 10px var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.symphony-card h3 {
  margin: 6px 0 0;
  font: 600 18px var(--serif);
}
.symphony-card > p {
  margin: 9px 0 14px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.5;
}
.symphony-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-pale);
  color: #286345;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.symphony-status.preview {
  background: var(--amber-pale);
  color: #99621c;
}
.symphony-chain {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 13px 0;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-soft);
  overflow: hidden;
}
.chain-node {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--app-muted);
  font-size: 10px;
}
.chain-node img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.chain-node span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chain-arrow {
  padding: 0 6px;
  color: var(--app-quiet);
}
.symphony-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.symphony-metric {
  padding: 8px;
  border-radius: 8px;
  background: var(--app-soft);
}
.symphony-metric span {
  display: block;
  color: var(--app-quiet);
  font-size: 10px;
}
.symphony-metric b {
  display: block;
  margin-top: 4px;
  font-size: 10px;
}
.symphony-actions {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}
.symphony-actions button {
  flex: 1;
}
.orchestra-model {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.65fr);
  gap: 12px;
  margin: 14px 0 4px;
}
.orchestra-engine {
  position: relative;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 45%, var(--app-line));
  border-radius: 16px;
  background: linear-gradient(145deg, var(--app-panel), var(--app-accent-soft));
  box-shadow: var(--app-shadow);
  overflow: hidden;
}
.orchestra-engine:after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -110px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 32%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px color-mix(in srgb, var(--app-accent) 5%, transparent),
    0 0 0 55px color-mix(in srgb, var(--app-accent) 4%, transparent);
}
.orchestra-engine h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 7px;
  font: 600 21px var(--serif);
}
.orchestra-engine p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--app-muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.orchestra-engine .symphony-status {
  position: relative;
  z-index: 1;
  margin-top: 15px;
}
.engine-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.engine-capability {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.engine-capability i {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-style: normal;
  font-weight: 800;
}
.engine-capability b {
  display: block;
  font-size: 10.5px;
}
.engine-capability span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.4;
}
.orchestra-symphony-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.orchestra-symphony-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 270px;
  padding: 25px 25px 22px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  background: var(--app-panel);
  color: var(--app-ink);
  box-shadow: var(--app-shadow);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.orchestra-symphony-card:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 76px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--blue);
  transform: translateX(-50%);
}
.orchestra-symphony-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--app-line));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}
.orchestra-symphony-card h3 {
  margin: 0;
  font: 600 20px/1.2 var(--serif);
  letter-spacing: -0.2px;
}
.orchestra-symphony-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  flex-wrap: wrap;
}
.orchestra-symphony-card.is-disabled {
  opacity: 0.68;
  box-shadow: none;
}
#symphonyReviewList:focus {
  outline: none;
}
.orchestra-performer-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(64px, 0.7fr) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 25px 0 22px;
}
.orchestra-performer {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 10px;
}
.orchestra-performer .performer-emblem {
  width: 58px;
  height: 58px;
}
.orchestra-performer .performer-emblem img {
  width: 34px;
  height: 34px;
}
.orchestra-performer-name {
  min-height: 45px;
  max-width: 150px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.orchestra-string {
  position: relative;
  align-self: start;
  height: 1px;
  margin-top: 29px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--blue) 35%, var(--app-line)),
    var(--blue),
    color-mix(in srgb, var(--blue) 35%, var(--app-line))
  );
}
.orchestra-string:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--app-panel);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 32%, var(--app-line));
  transform: translate(-50%, -50%);
}
.orchestra-added-value {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--app-line);
}
.orchestra-added-value span {
  display: block;
  color: var(--app-quiet);
  font: 700 9px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.orchestra-added-value p {
  max-width: 430px;
  margin: 7px auto 0;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.5;
}
.dashboard-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-top: 14px;
}
.leadership-performance {
  margin-bottom: 18px;
}
.leadership-insights-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  align-items: stretch;
}
.leadership-insights-layout > .panel {
  min-width: 0;
}
.chart {
  position: relative;
  height: 190px;
  padding: 12px 16px 15px;
}
.chart svg {
  width: 100%;
  height: 105px;
  margin-top: 13px;
  overflow: visible;
}
.chart-grid line {
  stroke: var(--app-line);
  stroke-width: 1;
}
.chart-area {
  fill: color-mix(in srgb, var(--app-accent) 16%, transparent);
}
.chart-line {
  fill: none;
  stroke: var(--app-accent);
  stroke-width: 2.5;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--app-quiet);
  font-size: 10px;
}
.performance-footnote {
  margin: 0 16px 16px;
  padding: 11px 0 0;
  border-top: 1px solid var(--app-line);
}
.performance-footnote b {
  display: block;
  font-size: 9px;
}
.performance-footnote p {
  margin: 5px 0 0;
  color: var(--app-quiet);
  font-size: 8.5px;
  line-height: 1.55;
}
.performance-footnote sup {
  margin-right: 2px;
  color: var(--app-accent-deep);
  font-weight: 800;
}
.opportunity-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
  align-items: center;
  padding: 7px 18px 20px;
}
.opportunity-chart {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--app-accent) 0 34%, var(--app-soft) 34% 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-accent) 18%, var(--app-line));
}
.opportunity-chart:after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--app-panel);
  box-shadow: 0 0 0 1px var(--app-line);
}
.opportunity-chart strong,
.opportunity-chart span {
  position: relative;
  z-index: 1;
}
.opportunity-chart strong {
  font: 600 25px/1 var(--serif);
}
.opportunity-chart span {
  margin-top: -20px;
  color: var(--app-quiet);
  font-size: 8px;
}
.opportunity-legend {
  display: grid;
  gap: 12px;
  width: 100%;
}
.opportunity-legend div {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.opportunity-legend p {
  margin: 0;
}
.opportunity-legend i {
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--app-accent);
}
.opportunity-legend div:last-child i {
  background: var(--app-soft);
  box-shadow: inset 0 0 0 1px var(--app-line);
}
.opportunity-legend b {
  display: block;
  font-size: 10px;
}
.opportunity-legend span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.4;
}
.news-list {
  padding: 0 14px 12px;
}
.news-row {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--app-line);
}
.news-row:last-child {
  border-bottom: 0;
}
.news-row i {
  width: 4px;
  height: 34px;
  border-radius: 99px;
  background: var(--news-tone, var(--blue));
}
.news-row b {
  display: block;
  font-size: 10px;
}
.news-row span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.35;
}
.news-row time {
  color: var(--app-quiet);
  font-size: 10px;
}
.decision-list {
  padding: 0 14px 12px;
}
.decision-row {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--app-line);
  cursor: pointer;
}
.decision-row:last-child {
  border-bottom: 0;
}
.decision-bar {
  width: 4px;
  height: 34px;
  border-radius: 99px;
  background: var(--priority, var(--amber));
}
.decision-row b {
  display: block;
  font-size: 10px;
}
.decision-row span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.35;
}
.decision-row time {
  color: var(--app-quiet);
  font-size: 10px;
}
.decision-row.done {
  opacity: 0.5;
}
.decision-row.done b {
  text-decoration: line-through;
}
.leadership-performance {
  margin: 18px 0;
}
.leadership-insights-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.leadership-opportunity,
.developer-opportunity {
  margin-top: 14px;
}
.symgora-opportunity-panel .opportunity-body {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  justify-items: stretch;
  align-items: stretch;
  gap: 26px;
  padding-top: 10px;
}
.opportunity-coverage {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.symgora-opportunity-panel .opportunity-chart {
  width: 148px;
}
.symgora-opportunity-panel .opportunity-legend {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 8px;
}
.performer-recommendations {
  padding-left: 24px;
  border-left: 1px solid var(--app-line);
}
.performer-recommendations h3 {
  margin: 2px 0 3px;
  font: 600 15px var(--serif);
}
.performer-recommendations > p {
  margin: 0;
  color: var(--app-quiet);
  font-size: 9px;
}
.performer-recommendation-list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.performer-recommendation {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid var(--app-line);
}
.recommendation-rank {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-size: 9px;
  font-weight: 800;
}
.performer-recommendation b {
  display: block;
  font-size: 10px;
  line-height: 1.3;
}
.performer-recommendation span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 8.5px;
  line-height: 1.35;
}
.performer-recommendation em {
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--app-soft);
  color: var(--app-accent-deep);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.performance-chart {
  height: auto;
  padding: 8px 16px 14px;
}
.chart-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.chart-primary {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart-primary b {
  font: 600 30px/1 var(--serif);
}
.chart-primary span {
  font-size: 10px;
}
.chart-stats {
  display: flex;
  gap: 14px;
  color: var(--app-quiet);
  font-size: 8.5px;
}
.chart-stats b {
  color: var(--app-muted);
  font-weight: 800;
}
.chart-canvas {
  position: relative;
  margin-top: 8px;
}
.performance-chart svg {
  display: block;
  width: 100%;
  height: 150px;
  margin: 0;
  overflow: visible;
  outline: 0;
  cursor: crosshair;
}
.performance-chart svg:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--app-accent) 22%, transparent);
}
.chart-dot-field {
  fill: url(#companyDotGrid);
}
.performance-chart .chart-grid line {
  stroke: color-mix(in srgb, var(--app-line) 82%, transparent);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}
.chart-target {
  stroke: color-mix(in srgb, var(--green) 55%, var(--app-line));
  stroke-width: 1;
  stroke-dasharray: 5 5;
}
.chart-target-label {
  fill: var(--green);
  font: 700 7px var(--sans);
}
.performance-chart .chart-area {
  fill: url(#companyAreaGradient);
  opacity: 0;
  animation: chartAreaIn 0.8s 0.35s ease forwards;
}
.performance-chart .chart-line {
  fill: none;
  stroke: var(--app-accent);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#companyLineGlow);
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: chartDraw 1.35s cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
}
.chart-guide {
  stroke: var(--app-quiet);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.chart-hover-dot {
  fill: var(--app-accent);
  stroke: var(--app-panel);
  stroke-width: 2;
  filter: url(#companyDotShadow);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.chart-current-halo {
  fill: color-mix(in srgb, var(--app-accent) 18%, transparent);
  transform-box: fill-box;
  transform-origin: center;
  animation: chartPulse 2s ease-out infinite;
}
.chart-current-point {
  fill: var(--app-accent);
  stroke: var(--app-panel);
  stroke-width: 2;
  filter: url(#companyDotShadow);
}
.performance-chart.interacting .chart-guide,
.performance-chart.interacting .chart-hover-dot {
  opacity: 1;
}
.chart-tooltip {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  min-width: 118px;
  padding: 8px 10px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--app-panel) 95%, transparent);
  box-shadow: 0 12px 30px rgba(13, 43, 51, 0.17);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 13px));
  backdrop-filter: blur(12px);
}
.chart-tooltip[data-edge='start'] {
  transform: translate(0, calc(-100% - 13px));
}
.chart-tooltip[data-edge='end'] {
  transform: translate(-100%, calc(-100% - 13px));
}
.chart-tooltip span {
  display: block;
  color: var(--app-quiet);
  font-size: 8px;
}
.chart-tooltip div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 3px;
}
.chart-tooltip b {
  font: 600 18px/1 var(--serif);
}
.chart-tooltip em {
  color: var(--green);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
.chart-tooltip em.down {
  color: var(--red);
}
.performance-chart .chart-labels {
  margin-top: 4px;
}
.performance-chart .chart-labels span {
  font-size: 8px;
}
.performance-footnote {
  margin-top: 2px;
}
.performance-footnote p {
  max-width: 1100px;
}
.leadership-performance .panel {
  overflow: hidden;
}
@keyframes chartDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes chartAreaIn {
  to {
    opacity: 1;
  }
}
@keyframes chartPulse {
  0% {
    transform: scale(0.65);
    opacity: 0.7;
  }
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
.symgora-opportunity-panel .opportunity-chart {
  width: 148px;
  background: none;
  box-shadow: none;
}
.symgora-opportunity-panel .opportunity-chart:after {
  display: none;
}
.opportunity-donut-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}
.opportunity-donut-base {
  fill: none;
  stroke: color-mix(in srgb, var(--app-line) 60%, var(--app-soft));
  stroke-width: 17;
}
.opportunity-segment {
  fill: none;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-dasharray: var(--donut-length) 314.2;
  stroke-dashoffset: 314.2;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
  outline: 0;
  animation: donutDraw 1.05s var(--donut-delay) cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}
.opportunity-segment-automated {
  stroke: var(--app-accent);
}
.opportunity-segment-open {
  stroke: color-mix(in srgb, var(--app-quiet) 34%, var(--app-line));
}
.opportunity-chart[data-active='automated'] .opportunity-segment-automated,
.opportunity-chart[data-active='open'] .opportunity-segment-open {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--app-accent) 55%, transparent))
    brightness(1.08);
  transform: scale(1.035);
}
.opportunity-chart[data-active='automated'] .opportunity-segment-open,
.opportunity-chart[data-active='open'] .opportunity-segment-automated {
  opacity: 0.58;
}
.opportunity-segment:focus-visible {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--app-accent) 62%, transparent));
}
.opportunity-center {
  position: absolute;
  inset: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: var(--app-panel);
  pointer-events: none;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.opportunity-center.changing {
  transform: scale(0.9);
  opacity: 0.35;
}
.opportunity-center strong {
  font: 600 27px/1 var(--serif);
}
.opportunity-center span {
  margin-top: 5px;
  color: var(--app-quiet);
  font-size: 8px;
  text-transform: capitalize;
}
.opportunity-legend-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--app-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-10px);
  animation: donutLegendIn 0.4s var(--legend-delay) ease forwards;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.opportunity-legend-item:hover,
.opportunity-legend-item:focus-visible,
.opportunity-legend-item.active {
  background: var(--app-soft);
  transform: translateX(0);
}
.opportunity-legend-item > i {
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--app-accent);
}
.opportunity-legend-item[data-opportunity-target='open'] > i {
  background: color-mix(in srgb, var(--app-quiet) 34%, var(--app-line));
  box-shadow: inset 0 0 0 1px var(--app-line);
}
.opportunity-legend-item p {
  margin: 0;
}
.opportunity-legend-item b {
  display: block;
  font-size: 10px;
}
.opportunity-legend-item span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.4;
}
.opportunity-legend-item > strong {
  color: var(--app-muted);
  font-size: 10px;
}
.opportunity-legend-item.active > strong {
  color: var(--app-accent-deep);
}
@keyframes donutDraw {
  to {
    stroke-dashoffset: var(--donut-offset);
  }
}
@keyframes donutLegendIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .performance-chart .chart-line {
    animation: none;
    stroke-dashoffset: 0;
  }
  .performance-chart .chart-area {
    animation: none;
    opacity: 1;
  }
  .chart-current-halo {
    animation: none;
  }
  .opportunity-segment {
    animation: none;
    stroke-dashoffset: var(--donut-offset);
  }
  .opportunity-legend-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .control-process-card,
  .control-process-card:after,
  .control-stream-orb:before,
  .control-stream-orb:after,
  .control-process-route i:after,
  .control-progress i,
  .control-event-track {
    animation: none !important;
  }
  .control-progress i {
    width: var(--control-progress);
  }
}
.stage-grid {
  grid-template-columns: 1fr 1fr;
}
.stage-section {
  min-width: 0;
}
.stage-card {
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.stage-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.stage-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(18, 39, 43, 0.08);
}
.stage-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stage-app-icons {
  position: relative;
  width: 52px;
  height: 48px;
  flex: 0 0 52px;
}
.stage-app-icons .mini-service-logo {
  position: absolute;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 6px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(18, 39, 43, 0.12);
}
.stage-app-icons .mini-service-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stage-app-icons .mini-service-logo:nth-child(1) {
  left: 0;
  top: 0;
}
.stage-app-icons .mini-service-logo:nth-child(2) {
  right: 0;
  top: 8px;
  z-index: 2;
}
.stage-app-icons .mini-service-logo:nth-child(3) {
  left: 8px;
  bottom: 0;
  z-index: 3;
}
.stage-hero h3 {
  margin: 0;
  font: 600 16px var(--serif);
}
.stage-hero p {
  margin: 4px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.connection-list {
  display: grid;
  gap: 8px;
}
.connection {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-soft);
  cursor: pointer;
}
.connection-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(18, 39, 43, 0.06);
}
.connection-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.connection .connection-logo {
  margin-top: 0;
  color: inherit;
  font-size: inherit;
}
.connection b {
  display: block;
  font-size: 10px;
}
.connection span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.health {
  display: flex !important;
  align-items: center;
  gap: 5px !important;
  margin: 0 !important;
  color: var(--green) !important;
  font-weight: 700;
}
.permission {
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.folder-list {
  display: grid;
  gap: 7px;
}
.folder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-soft);
}
.folder-symbol {
  font-size: 16px;
}
.folder-copy {
  min-width: 0;
  flex: 1;
}
.folder-copy b {
  display: block;
  font-size: 10px;
}
.folder-copy span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.folder-access {
  font-size: 10px;
  font-weight: 800;
  color: var(--app-accent-deep);
}
.table-panel {
  overflow: hidden;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--app-soft);
  color: var(--app-quiet);
  font: 700 10px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.data-table td {
  padding: 11px 12px;
  border-top: 1px solid var(--app-line);
  font-size: 10px;
}
.data-table td small {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.status-pill {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--amber-pale);
  color: #96601a;
  font-size: 10px;
  font-weight: 800;
}
.status-pill.critical {
  background: var(--red-pale);
  color: var(--red);
}
.status-pill.normal {
  background: var(--blue-pale);
  color: var(--blue-deep);
}
.status-pill.ok {
  background: var(--green-pale);
  color: var(--green);
}
.activity-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.activity-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.activity-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.activity-card-top time {
  color: var(--app-quiet);
  font-size: 10px;
}
.activity-card h3 {
  margin: 18px 0 0;
  font: 600 17px/1.3 var(--serif);
}
.activity-card p {
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.55;
}
.activity-card .event-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.activity-layout {
  grid-template-columns: 1fr;
}
.timeline {
  padding: 4px 16px 16px;
}
.event {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--app-line);
}
.event:last-child {
  border-bottom: 0;
}
.event-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: var(--app-soft);
  font-size: 13px;
}
.event b {
  display: block;
  font-size: 10px;
}
.event p {
  margin: 4px 0 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.event time {
  color: var(--app-quiet);
  font-size: 10px;
}
.audit-summary {
  display: grid;
  gap: 9px;
  padding: 4px 14px 14px;
}
.audit-stat {
  padding: 11px;
  border-radius: 10px;
  background: var(--app-soft);
}
.audit-stat b {
  display: block;
  font: 600 18px var(--serif);
}
.audit-stat span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.performer-outcome-modal {
  width: min(1160px, 100%);
}
.performer-outcome-body {
  padding: 28px 30px 24px;
}
.performer-outcome-head p {
  max-width: 820px;
  font-size: 12px;
}
.performer-outcome-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-soft);
}
.performer-outcome-identity > div {
  min-width: 0;
}
.performer-outcome-identity b,
.performer-outcome-identity span {
  display: block;
}
.performer-outcome-identity b {
  font-size: 12px;
}
.performer-outcome-identity span {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.performer-outcome-identity em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.performer-kpi-section {
  margin-top: 20px;
}
.performer-outcome-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}
.performer-outcome-section-head > div > span {
  color: var(--app-accent-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.performer-outcome-section-head h3 {
  margin: 4px 0 0;
  font: 600 19px var(--serif);
}
.performer-outcome-section-head > small {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 9px;
  font-weight: 700;
}
.performer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.performer-kpi {
  position: relative;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
  overflow: hidden;
}
.performer-kpi:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--app-accent);
}
.performer-kpi > span {
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
}
.performer-kpi > b {
  display: block;
  margin-top: 7px;
  font: 600 28px/1 var(--serif);
}
.performer-kpi > em {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.performer-kpi > p {
  margin: 9px 0 0;
  color: var(--app-muted);
  font-size: 9.5px;
  line-height: 1.45;
}
.performer-outcome-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
  margin-top: 14px;
}
.performer-outcome-panel {
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.performer-outcome-panel.attention {
  background: linear-gradient(145deg, var(--app-panel), #fffaf0);
}
.performer-outcome-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.performer-outcome-numbers > div {
  padding: 11px;
  border-radius: 10px;
  background: var(--app-soft);
}
.performer-outcome-numbers b,
.performer-outcome-numbers span {
  display: block;
}
.performer-outcome-numbers b {
  font: 600 20px var(--serif);
}
.performer-outcome-numbers span {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.35;
}
.performer-attention-list {
  display: grid;
  gap: 7px;
}
.performer-attention-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid var(--app-line);
}
.performer-attention-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}
.performer-attention-list i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff0d5;
  color: #9a651d;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.performer-attention-list b,
.performer-attention-list small {
  display: block;
}
.performer-attention-list b {
  font-size: 10px;
}
.performer-attention-list small {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.4;
}
.performer-today {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-line);
}
.performer-today > div {
  padding: 11px 12px;
  background: var(--app-soft);
}
.performer-today span,
.performer-today b {
  display: block;
}
.performer-today span {
  color: var(--app-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.performer-today b {
  margin-top: 4px;
  font-size: 10px;
}
.performer-outcome-actions {
  margin-top: 14px;
}
.readiness-list {
  padding: 2px 16px 15px;
}
.readiness-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--app-line);
}
.readiness-row:last-child {
  border-bottom: 0;
}
.readiness-row b {
  display: block;
  font-size: 10.5px;
}
.readiness-row span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.readiness-value {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: var(--green) !important;
  font-weight: 800;
}
.readiness-value i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.readiness-value.review {
  color: var(--amber) !important;
}

/* Developer Studio live control surface */
.developer-control-wrap {
  margin: 18px 0;
}
.developer-control-stream {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-color: rgba(83, 235, 226, 0.28);
  background:
    radial-gradient(circle at 15% 10%, rgba(25, 132, 149, 0.22), transparent 36%),
    linear-gradient(135deg, #061b24 0%, #082a34 55%, #061c25 100%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(125, 255, 247, 0.025);
}
.control-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.developer-control-stream:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 19, 25, 0.05), rgba(4, 19, 25, 0.28)),
    radial-gradient(circle at 50% 42%, transparent 0 30%, rgba(3, 16, 22, 0.2) 80%);
  pointer-events: none;
}
.control-stream-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 390px;
}
.control-stream-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 12px;
}
.control-stream-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.control-stream-orb {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(123, 255, 247, 0.36);
  border-radius: 50%;
  background: rgba(7, 42, 52, 0.72);
  box-shadow:
    0 0 0 6px rgba(54, 226, 220, 0.045),
    0 0 28px rgba(54, 226, 220, 0.18);
}
.control-stream-orb:before,
.control-stream-orb:after {
  content: '';
  position: absolute;
  border: 1px solid rgba(127, 255, 247, 0.26);
  border-radius: 50%;
  animation: controlRadar 2.8s ease-out infinite;
}
.control-stream-orb:before {
  inset: 7px;
}
.control-stream-orb:after {
  inset: 2px;
  animation-delay: 1.4s;
}
.control-stream-orb img {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.control-stream-title b {
  display: block;
  color: #ecffff;
  font-size: 16px;
}
.control-stream-title span {
  display: block;
  margin-top: 3px;
  color: #8cb8ba;
  font-size: 10px;
}
.control-stream-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(63, 224, 159, 0.2);
  border-radius: 999px;
  background: rgba(31, 122, 87, 0.14);
  color: #7cf0ba;
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.control-stream-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 13px;
}
.control-stream-stat {
  padding: 8px 10px;
  border: 1px solid rgba(107, 221, 216, 0.13);
  border-radius: 9px;
  background: rgba(5, 27, 35, 0.56);
  backdrop-filter: blur(9px);
}
.control-stream-stat b {
  display: block;
  color: #e8ffff;
  font: 600 16px/1 var(--serif);
}
.control-stream-stat span {
  display: block;
  margin-top: 4px;
  color: #739fa2;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.control-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px;
}
.control-process-card {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(108, 229, 221, 0.17);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(8, 42, 51, 0.86), rgba(5, 27, 35, 0.76));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: controlCardIn 0.65s calc(var(--control-delay, 0) * 1ms) both;
}
.control-process-card:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--control-tone, var(--cyan));
  box-shadow: 0 0 14px var(--control-tone, var(--cyan));
}
.control-process-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0 38%,
    rgba(150, 255, 247, 0.07) 48%,
    transparent 58%
  );
  transform: translateX(-120%);
  animation: controlSweep 4.8s calc(var(--control-delay, 0) * 1ms) ease-in-out infinite;
  pointer-events: none;
}
.control-process-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.control-process-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--control-tone) 45%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--control-tone) 11%, transparent);
  color: var(--control-tone);
  font: 700 8px var(--mono);
}
.control-process-copy {
  min-width: 0;
}
.control-process-copy b {
  display: block;
  color: #eaffff;
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.control-process-copy span {
  display: block;
  margin-top: 2px;
  color: #749da0;
  font: 500 8px var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.control-process-state {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--control-tone);
  font: 700 7.5px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.control-process-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
.control-process-action {
  position: relative;
  z-index: 1;
  min-height: 31px;
  margin: 11px 0 8px;
  color: #bcd3d3;
  font-size: 9px;
  line-height: 1.45;
}
.control-process-route {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #70a3a6;
  font: 600 7.5px var(--mono);
  text-transform: uppercase;
}
.control-process-route i {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(117, 210, 207, 0.16);
  overflow: hidden;
}
.control-process-route i:after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--control-tone), transparent);
  animation: controlRoute 2s calc(var(--control-delay, 0) * 1ms) linear infinite;
}
.control-progress {
  position: relative;
  z-index: 1;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: rgba(129, 202, 201, 0.12);
  overflow: hidden;
}
.control-progress i {
  display: block;
  height: 100%;
  width: var(--control-progress);
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--control-tone) 50%, transparent),
    var(--control-tone)
  );
  box-shadow: 0 0 10px var(--control-tone);
  animation: controlProgress 1.2s calc(var(--control-delay, 0) * 1ms)
    cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.control-process-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: #618b8e;
  font: 500 7.5px var(--mono);
}
.control-event-rail {
  position: relative;
  margin-top: auto;
  border-top: 1px solid rgba(104, 212, 207, 0.12);
  background: rgba(3, 19, 25, 0.58);
  overflow: hidden;
}
.control-event-rail:before,
.control-event-rail:after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 55px;
  pointer-events: none;
}
.control-event-rail:before {
  left: 0;
  background: linear-gradient(90deg, #061d26, transparent);
}
.control-event-rail:after {
  right: 0;
  background: linear-gradient(-90deg, #061d26, transparent);
}
.control-event-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: controlMarquee 30s linear infinite;
}
.control-event-rail:hover .control-event-track {
  animation-play-state: paused;
}
.control-event {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-right: 1px solid rgba(100, 209, 204, 0.1);
  color: #8fb3b5;
  font: 500 8px var(--mono);
  white-space: nowrap;
}
.control-event i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--event-tone, var(--cyan));
  box-shadow: 0 0 8px var(--event-tone, var(--cyan));
}
.control-event b {
  color: #d8eeee;
  font-weight: 600;
}
.developer-insights-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  align-items: stretch;
}
.developer-insights-layout > .panel {
  min-width: 0;
}
.system-change-list {
  padding: 0 14px 12px;
}
.system-change {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--app-line);
}
.system-change:last-child {
  border-bottom: 0;
}
.system-change-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font: 700 9px var(--mono);
}
.system-change b {
  display: block;
  font-size: 10px;
}
.system-change span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.35;
}
.system-change time {
  color: var(--app-quiet);
  font-size: 9px;
}
.developer-kpis .metric:before {
  background: linear-gradient(90deg, #22d4cc, #2788aa);
}
@keyframes controlRadar {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  75%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@keyframes controlCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes controlSweep {
  0%,
  64% {
    transform: translateX(-120%);
  }
  82%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes controlRoute {
  to {
    left: 130%;
  }
}
@keyframes controlProgress {
  from {
    width: 0;
  }
  to {
    width: var(--control-progress);
  }
}
@keyframes controlMarquee {
  to {
    transform: translateX(-50%);
  }
}

/* High-frequency Developer Studio control stream */
.developer-control-stream {
  min-height: 390px;
}
.control-stream-content {
  min-height: 390px;
}
.control-stream-head {
  align-items: center;
  padding: 18px 20px 15px;
  border-bottom: 1px solid rgba(107, 221, 216, 0.11);
  background: linear-gradient(180deg, rgba(5, 27, 35, 0.54), rgba(5, 27, 35, 0.16));
}
.control-stream-orb {
  overflow: visible;
}
.control-stream-orb img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform: translate(-50%, -50%) translate(1px, 1px);
}
.control-stream-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.control-performance {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 12px;
  border-right: 1px solid rgba(107, 221, 216, 0.18);
}
.control-performance strong {
  color: #efffff;
  font: 600 27px/1 var(--serif);
  letter-spacing: -0.4px;
}
.control-performance span {
  max-width: 70px;
  color: #79a8aa;
  font: 700 7.5px/1.35 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.control-activity-field {
  position: relative;
  flex: 1;
  min-height: 306px;
  padding: 13px 20px 18px;
  overflow: hidden;
}
.control-activity-field:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 27, 35, 0.34),
    transparent 18% 82%,
    rgba(5, 27, 35, 0.32)
  );
  pointer-events: none;
}
.control-activity-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #70a1a4;
  font: 700 7.5px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.control-activity-label b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #83bbb9;
  font-weight: 600;
}
.control-activity-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #43e1bc;
  box-shadow: 0 0 9px #43e1bc;
  animation: pulse 1s ease-in-out infinite;
}
.control-quick-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.control-quick-process {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 55px;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--quick-tone) 21%, rgba(107, 221, 216, 0.12));
  border-radius: 10px;
  background: linear-gradient(105deg, rgba(5, 27, 35, 0.76), rgba(8, 43, 51, 0.68));
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(9px);
  overflow: hidden;
  animation: controlQuickPulse var(--quick-duration) var(--quick-delay)
    cubic-bezier(0.22, 0.75, 0.3, 1) infinite;
}
.control-quick-process:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--quick-tone);
  box-shadow: 0 0 12px var(--quick-tone);
}
.control-quick-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid color-mix(in srgb, var(--quick-tone) 45%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--quick-tone) 10%, transparent);
  color: var(--quick-tone);
  font: 700 7px var(--mono);
}
.control-quick-copy {
  min-width: 0;
}
.control-quick-copy b {
  display: block;
  color: #e8ffff;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.control-quick-copy span {
  display: block;
  margin-top: 3px;
  color: #78a1a3;
  font: 500 7.5px var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.control-quick-time {
  align-self: start;
  color: var(--quick-tone);
  font: 700 7px var(--mono);
  white-space: nowrap;
}
.control-quick-route {
  position: absolute;
  left: 48px;
  right: 10px;
  bottom: 7px;
  height: 1px;
  background: rgba(117, 210, 207, 0.1);
  overflow: hidden;
}
.control-quick-route:after {
  content: '';
  position: absolute;
  left: -32%;
  top: 0;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--quick-tone), transparent);
  animation: controlQuickRoute 1.05s linear infinite;
}
.control-quick-process:nth-child(3n + 2) {
  transform-origin: left center;
}
.control-quick-process:nth-child(3n) {
  transform-origin: right center;
}
@keyframes controlQuickPulse {
  0% {
    opacity: 0.12;
    transform: translateX(-30px) scale(0.98);
  }
  12%,
  66% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0.08;
    transform: translateX(34px) scale(0.985);
  }
}
@keyframes controlQuickRoute {
  to {
    left: 132%;
  }
}
@media (max-width: 900px) {
  .control-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .control-quick-process:nth-child(n + 9) {
    display: none;
  }
}
@media (max-width: 700px) {
  .control-stream-head {
    align-items: flex-start;
  }
  .control-stream-head-right {
    align-items: flex-end;
    flex-direction: column-reverse;
  }
  .control-performance {
    padding: 0;
    border: 0;
  }
  .control-performance span {
    display: none;
  }
  .control-quick-grid {
    grid-template-columns: 1fr;
  }
  .control-quick-process:nth-child(n + 6) {
    display: none;
  }
  .control-activity-field {
    padding: 12px 14px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .control-quick-process,
  .control-quick-route:after,
  .control-activity-label i {
    animation: none !important;
  }
  .control-quick-process {
    opacity: 1;
    transform: none;
  }
}
.execution-monitor {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--app-accent) 22%, var(--app-line));
  border-radius: 18px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}
.execution-monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--app-line);
  background: color-mix(in srgb, var(--app-accent-soft) 42%, var(--app-panel));
}
.execution-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.execution-brand img {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 50%;
  background: var(--app-panel);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--app-accent) 22%, transparent),
    0 0 20px color-mix(in srgb, var(--app-accent) 16%, transparent);
}
.execution-brand b {
  display: block;
  font-size: 11px;
}
.execution-brand span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.execution-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.execution-stream {
  padding: 0 19px;
}
.execution-job {
  padding: 18px 0;
  border-bottom: 1px solid var(--app-line);
}
.execution-job:last-child {
  border-bottom: 0;
}
.execution-job-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
}
.execution-job-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid color-mix(in srgb, var(--blue) 34%, var(--app-line));
  border-radius: 50%;
  color: var(--blue);
  font: 700 10px var(--mono);
}
.execution-job.running .execution-job-icon {
  border-style: dashed;
  animation: executionSpin 3s linear infinite;
}
.execution-job.done .execution-job-icon {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green);
}
.execution-job.waiting .execution-job-icon {
  border-color: var(--amber);
  background: var(--amber-pale);
  color: var(--amber);
}
.execution-job-copy b {
  display: block;
  font-size: 11px;
}
.execution-job-copy span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font: 500 9.5px var(--mono);
}
.execution-state {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font: 700 9px var(--mono);
  text-transform: uppercase;
}
.execution-job.done .execution-state {
  background: var(--green-pale);
  color: var(--green);
}
.execution-job.waiting .execution-state {
  background: var(--amber-pale);
  color: var(--amber);
}
.execution-steps {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 11px 0 0 14px;
  padding-left: 25px;
}
.execution-steps:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 1px dashed color-mix(in srgb, var(--app-muted) 35%, transparent);
}
.execution-step {
  display: grid;
  grid-template-columns: 19px 96px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 31px;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--app-muted);
}
.execution-step.running {
  background: color-mix(in srgb, var(--app-accent-soft) 48%, transparent);
  color: var(--app-ink);
}
.execution-step.pending {
  opacity: 0.55;
}
.step-node {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  font-size: 9px;
}
.execution-step.complete .step-node {
  border-color: var(--green);
  color: var(--green);
}
.execution-step.running .step-node {
  border: 2px dotted var(--blue);
  animation: executionSpin 2s linear infinite;
}
.step-code {
  color: var(--app-accent-deep);
  font: 700 9px var(--mono);
  text-transform: uppercase;
}
.step-copy {
  min-width: 0;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.execution-step.running .step-copy:after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 11px;
  margin-left: 5px;
  background: var(--app-accent);
  vertical-align: -2px;
  animation: executionCursor 0.8s steps(1) infinite;
}
.execution-step time {
  color: var(--app-quiet);
  font: 500 9px var(--mono);
}
@keyframes executionSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes executionCursor {
  50% {
    opacity: 0;
  }
}

.connection-logo.compact {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 8px;
}

/* Modals */
.overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 13, 17, 0.58);
  backdrop-filter: blur(10px);
}
.modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(860px, calc(100dvh - 48px));
  overflow: auto;
  border: 1px solid var(--app-line, #dfe5e2);
  border-radius: 22px;
  background: var(--app-panel, #fff);
  color: var(--app-ink, #18211e);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.3);
}
.modal-close {
  position: sticky;
  z-index: 5;
  float: right;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 12px 12px -48px 0;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: var(--app-panel);
  color: var(--app-muted);
  cursor: pointer;
}
.modal-body {
  padding: 26px;
}
.modal-head {
  padding-right: 44px;
}
.modal-head .eyebrow {
  color: var(--app-accent-deep);
}
.modal-head h2 {
  margin: 7px 0 0;
  font: 500 30px var(--serif);
}
.modal-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.55;
}
.leadership-report-modal {
  width: min(980px, 100%);
}
.leadership-report-body {
  padding: 20px;
}
.report-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 0 48px 0 4px;
}
.report-command-copy b {
  display: block;
  font: 600 18px var(--serif);
}
.report-command-copy span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 9.5px;
}
.report-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.report-sheet {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px 38px;
  border: 1px solid #dce5e3;
  border-radius: 4px;
  background: #fff;
  color: #18211e;
  box-shadow: 0 22px 60px rgba(10, 34, 42, 0.18);
}
.report-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #1f8eaf;
}
.report-sheet-brand img {
  display: block;
  width: 145px;
  height: auto;
}
.report-sheet-brand span {
  display: block;
  margin-top: 7px;
  color: #70807b;
  font: 600 8px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.report-meta {
  text-align: right;
  color: #7a8884;
  font-size: 8.5px;
  line-height: 1.6;
}
.report-meta b {
  display: block;
  color: #1d6f8b;
  font: 700 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.report-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 25px 0 22px;
}
.report-score {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: conic-gradient(#38a5c9 0 94%, #e7efed 94%);
  box-shadow:
    inset 0 0 0 13px #fff,
    0 10px 26px rgba(44, 144, 184, 0.13);
}
.report-score b {
  font: 600 35px/1 var(--serif);
}
.report-score span {
  display: block;
  margin-top: 5px;
  color: #2f9869;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}
.report-hero h2 {
  margin: 0;
  font: 600 27px/1.12 var(--serif);
}
.report-hero p {
  margin: 10px 0 0;
  color: #61716d;
  font-size: 10px;
  line-height: 1.65;
}
.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe7e5;
  border-radius: 11px;
  overflow: hidden;
}
.report-kpi {
  padding: 14px;
  border-right: 1px solid #dfe7e5;
  background: #f8fbfa;
}
.report-kpi:last-child {
  border-right: 0;
}
.report-kpi span {
  display: block;
  color: #778681;
  font-size: 8px;
}
.report-kpi b {
  display: block;
  margin-top: 6px;
  font: 600 19px var(--serif);
}
.report-kpi em {
  display: block;
  margin-top: 4px;
  color: #2f9869;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 800;
}
.report-section {
  margin-top: 22px;
}
.report-section h3 {
  margin: 0 0 9px;
  font: 600 15px var(--serif);
}
.report-priority {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #e1e8e6;
}
.report-priority i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #e6f4f8;
  color: #1d7897;
  font-style: normal;
  font-size: 8px;
  font-weight: 800;
}
.report-priority b {
  display: block;
  font-size: 9px;
}
.report-priority span {
  display: block;
  margin-top: 3px;
  color: #6b7a76;
  font-size: 8px;
}
.report-priority time {
  color: #7b8985;
  font-size: 8px;
}
.report-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid #dfe7e5;
  color: #82908c;
  font-size: 7.5px;
}
.report-sheet-foot b {
  color: #425450;
}
.report-demo-note {
  margin: 12px 0 0;
  color: var(--app-quiet);
  font-size: 8.5px;
  text-align: center;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 24px;
}
.choice-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--app-line);
  border-radius: 17px;
  background: var(--app-soft);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.choice-card:after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--app-accent-deep);
  font-size: 23px;
}
.choice-card:hover {
  border-color: var(--app-accent);
  transform: translateY(-2px);
}
.choice-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 14px;
  background: var(--app-panel);
  color: var(--app-accent-deep);
  font-size: 23px;
}
.choice-icon svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.choice-card h3 {
  margin: 22px 0 7px;
  font: 600 21px var(--serif);
}
.choice-card p {
  max-width: 390px;
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.55;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 10px;
}
.catalog-count {
  font-size: 10px;
  color: var(--app-muted);
}
.search {
  width: min(280px, 100%);
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-panel);
  color: var(--app-ink);
  font-size: 10px;
}
.carousel-scene {
  position: relative;
  height: 215px;
  margin: 12px -10px 15px;
  perspective: 1350px;
  overflow: hidden;
}
.carousel-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.dept-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 205px;
  height: 150px;
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--dept) 24%, var(--app-line));
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    var(--app-panel) 58%,
    color-mix(in srgb, var(--dept) 8%, var(--app-soft))
  );
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
  backface-visibility: hidden;
  color: var(--app-ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}
.dept-card b {
  font: 600 19px var(--serif);
}
.dept-card span {
  margin-top: 6px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.35;
}
.dept-card span:first-of-type {
  align-self: flex-start;
  padding: 4px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dept) 16%, var(--app-panel));
  color: color-mix(in srgb, var(--dept) 78%, var(--app-ink));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.dept-card[data-carousel-depth='0'] {
  border-color: color-mix(in srgb, var(--dept) 52%, var(--app-line));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.17),
    0 0 0 1px color-mix(in srgb, var(--dept) 12%, transparent);
}
.dept-card i {
  position: absolute;
  left: 16px;
  top: 15px;
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--dept);
}
.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: var(--app-panel);
  color: var(--app-ink);
  cursor: pointer;
}
.carousel-arrow.prev {
  left: 14px;
}
.carousel-arrow.next {
  right: 14px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.catalog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-panel);
  text-align: left;
  cursor: pointer;
}
.catalog-item:hover,
.catalog-item.featured {
  border-color: var(--app-accent);
  box-shadow: 0 9px 24px color-mix(in srgb, var(--app-accent) 12%, transparent);
}
.catalog-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.catalog-item b {
  display: block;
  font-size: 10px;
}
.catalog-item span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10px;
}
.catalog-item em {
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}
.wizard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 660px;
}
.wizard-side {
  padding: 25px 16px;
  border-right: 1px solid var(--app-line);
  background: var(--app-soft);
}
.wizard-side h3 {
  margin: 0 0 19px;
  font: 600 16px var(--serif);
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--app-muted);
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.wizard-step i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
}
.wizard-step.active {
  background: var(--app-panel);
  color: var(--app-ink);
  font-weight: 700;
}
.wizard-step.done i {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.wizard-content {
  padding: 26px;
  overflow: auto;
}
.wizard-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.wizard-title h3 {
  margin: 0;
  font: 600 23px var(--serif);
}
.wizard-title p {
  margin: 6px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-field {
  display: grid;
  gap: 6px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label {
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-quiet);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-panel);
  color: var(--app-ink);
  font-size: 10px;
}
.form-field textarea {
  min-height: 85px;
  resize: vertical;
  line-height: 1.5;
}
.task-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.task-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-soft);
  font-size: 10px;
  line-height: 1.4;
}
.task-check input {
  margin-top: 1px;
  accent-color: var(--app-accent);
}
.autonomy-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--app-line);
  border-radius: 10px;
  overflow: hidden;
}
.autonomy-control button {
  padding: 11px 6px;
  border: 0;
  border-right: 1px solid var(--app-line);
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.autonomy-control button:last-child {
  border-right: 0;
}
.autonomy-control button.active {
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
}
.guardrails {
  display: grid;
  gap: 8px;
}
.guardrail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-soft);
  font-size: 10px;
  line-height: 1.4;
}
.guardrail i {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-pale);
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}
.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.permission-card {
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-soft);
}
.permission-card h4 {
  margin: 0 0 10px;
  font-size: 10px;
}
.permission-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--app-line);
}
.permission-row:first-of-type {
  border-top: 0;
}
.permission-row b {
  font-size: 10px;
}
.permission-row span {
  margin-left: auto;
  color: var(--app-muted);
  font-size: 10px;
}
.permission-row select {
  width: 92px;
  padding: 5px;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: var(--app-panel);
  color: var(--app-ink);
  font-size: 10px;
}
.symphony-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.symphony-template {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 15px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-panel);
  color: var(--app-ink);
  text-align: left;
  cursor: pointer;
}
.symphony-template.featured {
  border-color: var(--amber);
  background: linear-gradient(150deg, var(--app-panel), var(--amber-pale));
}
.symphony-template .template-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-size: 16px;
}
.symphony-template h4 {
  margin: 13px 0 6px;
  font: 600 16px var(--serif);
}
.symphony-template p {
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.symphony-template small {
  margin-top: auto;
  padding-top: 12px;
  color: var(--app-accent-deep);
  font-size: 10px;
  font-weight: 800;
}
.symphony-blueprint {
  display: grid;
  gap: 8px;
}
.blueprint-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-soft);
}
.blueprint-step i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--app-accent-soft);
  color: var(--app-accent-deep);
  font-style: normal;
  font-weight: 800;
}
.blueprint-step b {
  display: block;
  font-size: 10.5px;
}
.blueprint-step span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.blueprint-step em {
  color: var(--app-quiet);
  font-size: 10px;
  font-style: normal;
}
.assignment-list {
  display: grid;
  gap: 9px;
}
.assignment-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(150px, 0.7fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-soft);
}
.assignment-row b {
  display: block;
  font-size: 10.5px;
}
.assignment-row span {
  display: block;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 10px;
}
.assignment-row select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: var(--app-panel);
  color: var(--app-ink);
  font-size: 10px;
}
.builder-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.builder-summary div {
  padding: 11px;
  border-radius: 10px;
  background: var(--app-soft);
}
.builder-summary b {
  display: block;
  font: 600 18px var(--serif);
}
.builder-summary span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10px;
}
.test-card {
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-soft);
}
.test-doc {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-panel);
}
.test-doc h4 {
  margin: 0;
  font: 600 14px var(--serif);
}
.test-doc p {
  margin: 5px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.test-amount {
  font: 600 19px var(--serif);
}
.test-progress {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.test-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 8px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 10px;
}
.test-step i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--app-soft);
  font-style: normal;
  font-size: 10px;
}
.test-step.pass {
  color: var(--app-ink);
}
.test-step.pass i {
  background: var(--green);
  color: #fff;
}
.test-step.issue {
  color: var(--amber);
}
.test-step.issue i {
  background: var(--amber);
  color: #fff;
}
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--app-line);
}
.custom-ai {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.custom-orb {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background: radial-gradient(circle, rgba(54, 226, 220, 0.16), transparent 65%), var(--app-soft);
}
.custom-orb img {
  width: 88px;
  animation: aiIconSpin 5s linear infinite;
}
.prompt-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prompt-box textarea {
  flex: 1;
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-panel);
  color: var(--app-ink);
  font-size: 10px;
  line-height: 1.55;
}
.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prompt-suggestions button {
  padding: 7px 9px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 10px;
  cursor: pointer;
}
.symphony-preview {
  padding: 0;
  overflow: hidden;
}
.preview-stage {
  position: relative;
  min-height: 550px;
  padding: 28px;
  background: linear-gradient(160deg, var(--app-panel), var(--app-soft));
  overflow: hidden;
}
.preview-stage:before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at 70% 30%,
    color-mix(in srgb, var(--symphony) 16%, transparent),
    transparent 34%
  );
  pointer-events: none;
}
.preview-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.preview-head h2 {
  margin: 6px 0 0;
  font: 500 30px var(--serif);
}
.preview-head p {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.55;
}
.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-pale);
  color: #286345;
  font-size: 10px;
  font-weight: 800;
}
.preview-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 34px;
}
.preview-node {
  position: relative;
  min-height: 180px;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-panel);
  opacity: 0.42;
  transform: translateY(5px);
  transition: 0.45s ease;
}
.preview-node.active,
.preview-node.done {
  opacity: 1;
  transform: none;
}
.preview-node.active {
  border-color: var(--symphony);
  box-shadow: 0 0 26px color-mix(in srgb, var(--symphony) 18%, transparent);
}
.preview-node.done:after {
  content: '✓';
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}
.preview-node small {
  display: block;
  color: var(--app-quiet);
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-node img {
  width: 31px;
  margin-top: 17px;
}
.preview-node h4 {
  margin: 10px 0 6px;
  font: 600 13px var(--serif);
}
.preview-node p {
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.preview-result {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 13px;
  background: var(--app-panel);
}
.preview-result b {
  font: 600 15px var(--serif);
}
.preview-result p {
  margin: 4px 0 0;
  color: var(--app-muted);
  font-size: 10px;
}
.preview-score {
  color: var(--green);
  font: 600 20px var(--serif);
}

/* Symgora */
.ai-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 540px);
  background: rgba(2, 12, 16, 0.66);
  backdrop-filter: blur(14px);
}
.ai-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ai-visual:before {
  content: '';
  position: absolute;
  width: 70vmin;
  height: 70vmin;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(54, 226, 220, 0.25),
    rgba(59, 160, 196, 0.1) 45%,
    transparent 70%
  );
  animation: breathe 4s ease-in-out infinite;
}
.ai-canvas {
  position: relative;
  z-index: 2;
  width: min(72vmin, 760px);
  height: min(72vmin, 760px);
}
.ai-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(94, 218, 220, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.08),
    0 0 0 20px rgba(54, 226, 220, 0.035),
    0 0 82px rgba(54, 226, 220, 0.34);
}
.ai-center img {
  width: 92px;
  animation: aiIconSpin 5s linear infinite;
}
.ai-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-left: 1px solid rgba(102, 201, 203, 0.2);
  background: color-mix(in srgb, var(--app-panel, #fff) 97%, transparent);
  color: var(--app-ink, #18211e);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.14);
}
.ai-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 32px 25px;
  border-bottom: 1px solid var(--app-line);
}
.ai-panel-title {
  min-width: 0;
}
.ai-panel-kicker {
  font: 600 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-accent-deep);
}
.ai-panel-head h2 {
  margin: 7px 0 0;
  font: 500 34px/1.05 var(--serif);
  letter-spacing: -0.7px;
}
.ai-panel-head p {
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.5;
}
.ai-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 21px;
  cursor: pointer;
}
.ai-close:hover {
  background: var(--app-soft);
  color: var(--app-ink);
}
.ai-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 32px 20px;
}
.message {
  max-width: 88%;
  margin-bottom: 15px;
  padding: 14px 16px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background: var(--app-soft);
  color: var(--app-ink);
  font-size: 13.5px;
  line-height: 1.58;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.025);
}
.message.ai {
  border-top-left-radius: 5px;
}
.message.ai:before {
  content: 'Symgora';
  display: block;
  margin-bottom: 7px;
  color: var(--app-accent-deep);
  font: 700 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.message.user {
  margin-left: auto;
  border-color: color-mix(in srgb, var(--app-accent) 22%, var(--app-line));
  border-top-right-radius: 5px;
  background: var(--app-accent-soft);
}
.ai-panel-footer {
  padding: 18px 32px 26px;
  border-top: 1px solid var(--app-line);
  background: color-mix(in srgb, var(--app-soft) 38%, var(--app-panel));
}
.ai-suggestions-label {
  margin-bottom: 9px;
  color: var(--app-quiet);
  font: 700 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ai-suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.ai-suggestions button {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-panel);
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.ai-suggestions button:hover {
  border-color: color-mix(in srgb, var(--app-accent) 45%, var(--app-line));
  background: var(--app-accent-soft);
  color: var(--app-ink);
}
.ai-input-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 8px;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 35%, var(--app-line));
  border-radius: 15px;
  background: var(--app-panel);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.ai-input-row:focus-within {
  border-color: var(--app-accent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--app-accent) 13%, transparent),
    0 9px 26px rgba(0, 0, 0, 0.06);
}
.voice-btn,
.send-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: var(--app-soft);
  color: var(--app-accent-deep);
  font-size: 17px;
  cursor: pointer;
}
.send-btn {
  background: var(--app-accent-soft);
  font-size: 21px;
  font-weight: 700;
}
.voice-btn.listening {
  background: var(--red-pale);
  color: var(--red);
  animation: pulse 1.2s infinite;
}
.ai-input {
  width: 100%;
  height: 46px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--app-ink);
  font-size: 13px;
  outline: 0;
}
.ai-input::placeholder {
  color: var(--app-quiet);
}
.ai-disclaimer {
  margin: 9px 2px 0;
  color: var(--app-quiet);
  font-size: 10px;
  line-height: 1.4;
}
#appScreen .ai-panel .message {
  font-size: 13.5px;
}
#appScreen .ai-panel .ai-input {
  font-size: 13px;
}
@keyframes aiIconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Toast and tour */
.toast {
  position: fixed;
  z-index: 180;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(460px, calc(100% - 30px));
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: #13241e;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  font-style: normal;
}
.welcome {
  width: min(470px, 100%);
  padding: 27px;
}
.welcome h2 {
  max-width: calc(100% - 44px);
  margin: 7px 0 0;
  font: 500 29px var(--serif);
}
.welcome-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.welcome-actions button {
  width: 100%;
}
.tour-shade {
  position: fixed;
  z-index: 158;
  background: rgba(7, 18, 22, 0.68);
  backdrop-filter: grayscale(1) brightness(0.48) blur(1px);
  pointer-events: auto;
  transition:
    left 0.38s ease,
    top 0.38s ease,
    width 0.38s ease,
    height 0.38s ease;
}
.tour-spotlight {
  position: fixed;
  z-index: 160;
  border: 2px solid var(--app-accent);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 7px color-mix(in srgb, var(--app-accent) 14%, transparent),
    0 18px 54px color-mix(in srgb, var(--app-accent) 28%, transparent);
  pointer-events: none;
  transition:
    left 0.38s ease,
    top 0.38s ease,
    width 0.38s ease,
    height 0.38s ease;
}
.tour-spotlight:after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 38%, transparent);
  border-radius: 20px;
  animation: tourPulse 1.7s ease-in-out infinite;
}
.tour-popover {
  position: fixed;
  z-index: 170;
  width: min(340px, calc(100% - 30px));
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 30%, var(--app-line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--app-panel) 96%, transparent);
  color: var(--app-ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
  transition:
    left 0.3s ease,
    top 0.3s ease;
}
.tour-popover h3 {
  margin: 5px 0 0;
  font: 600 17px var(--serif);
}
.tour-popover p {
  margin: 8px 0 0;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.55;
}
.tour-count {
  font: 600 9px var(--mono);
  color: var(--app-accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tour-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: var(--app-quiet);
  font: 600 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tour-progress {
  height: 4px;
  margin-top: 7px;
  border-radius: 99px;
  background: var(--app-soft);
  overflow: hidden;
}
.tour-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-deep));
  transform: scaleX(0);
  transform-origin: left center;
}
.tour-progress.running i {
  animation: tourProgress var(--tour-step-ms) linear forwards;
}
.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}
.tour-actions div {
  display: flex;
  gap: 7px;
}
.tour-actions .secondary {
  min-height: 34px;
}
.tour-actions .primary {
  min-height: 34px;
  padding: 8px 13px;
}
.tour-back[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
}
@keyframes tourProgress {
  to {
    transform: scaleX(1);
  }
}
@keyframes tourPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.012);
  }
}

/* Shared Leadership and Developer readability pass */
#appScreen .mode-card b {
  font-size: 11.5px;
}
#appScreen .mode-card span {
  font-size: 10px;
}
#appScreen .nav-label {
  font-size: 10px;
}
#appScreen .live-title {
  font-size: 10.5px;
}
#appScreen .live-card p {
  font-size: 10px;
}
#appScreen .live-mini span {
  font-size: 10px;
}
#appScreen .page {
  padding: 30px 32px 56px;
}
#appScreen .eyebrow {
  font-size: 10px;
}
#appScreen .page-head h1 {
  font-size: clamp(30px, 3vw, 42px);
}
#appScreen .page-head p {
  font-size: 13px;
  line-height: 1.6;
}
#appScreen .secondary {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 10.5px;
}
#appScreen .primary {
  font-size: 13px;
}
#appScreen .metric {
  min-height: 122px;
  padding: 20px;
}
#appScreen .metric-label {
  font-size: 10px;
}
#appScreen .metric-value {
  font-size: 31px;
}
#appScreen .metric-foot {
  font-size: 10px;
}
#appScreen .panel-title {
  font-size: 17px;
}
#appScreen .panel-sub {
  font-size: 10px;
}
#appScreen .chip {
  font-size: 10px;
}
#appScreen .section-head h2 {
  font-size: 25px;
}
#appScreen .section-head p {
  font-size: 11px;
  line-height: 1.5;
}
#appScreen .performer-card h3 {
  font-size: 17px;
}
#appScreen .performer-dept {
  font-size: 10px;
}
#appScreen .performer-work {
  font-size: 11px;
}
#appScreen .autonomy {
  font-size: 10px;
}
#appScreen .performer-outcome {
  font-size: 10px;
}
#appScreen .add-card p {
  font-size: 10px;
}
#appScreen .symphony-kicker {
  font-size: 10px;
}
#appScreen .symphony-card h3 {
  font-size: 21px;
}
#appScreen .symphony-card > p {
  font-size: 11px;
}
#appScreen .symphony-status {
  font-size: 10px;
}
#appScreen .chain-node {
  font-size: 10px;
}
#appScreen .symphony-metric span {
  font-size: 10px;
}
#appScreen .symphony-metric b {
  font-size: 10.5px;
}
#appScreen .chart-labels {
  font-size: 10px;
}
#appScreen .decision-row b {
  font-size: 10.5px;
}
#appScreen .decision-row span {
  font-size: 10px;
}
#appScreen .decision-row time {
  font-size: 10px;
}
#appScreen .audit-stat span {
  font-size: 10px;
}
#appScreen .event b {
  font-size: 10.5px;
}
#appScreen .event p {
  font-size: 10px;
}
#appScreen .event time {
  font-size: 10px;
}
#appScreen .stage-hero h3 {
  font-size: 19px;
}
#appScreen .stage-hero p {
  font-size: 10px;
  line-height: 1.45;
}
#appScreen .connection b,
#appScreen .folder-copy b {
  font-size: 10.5px;
}
#appScreen .connection span,
#appScreen .folder-copy span {
  font-size: 10px;
}
#appScreen .permission,
#appScreen .folder-access {
  font-size: 10px;
}
#appScreen .data-table th {
  font-size: 10px;
}
#appScreen .data-table td {
  font-size: 10px;
}
#appScreen .data-table td small {
  font-size: 10px;
}
#appScreen .status-pill {
  font-size: 10px;
}
#appScreen .modal-head p,
#appScreen .choice-card p,
#appScreen .preview-head p {
  font-size: 11px;
}
#appScreen .catalog-count,
#appScreen .search {
  font-size: 10.5px;
}
#appScreen .catalog-item b {
  font-size: 10.5px;
}
#appScreen .catalog-item span {
  font-size: 10px;
}
#appScreen .catalog-item em {
  font-size: 10px;
}
#appScreen .wizard-step,
#appScreen .task-check,
#appScreen .guardrail {
  font-size: 10px;
}
#appScreen .wizard-title p {
  font-size: 10.5px;
}
#appScreen .form-field label {
  font-size: 10px;
}
#appScreen .form-field input,
#appScreen .form-field select,
#appScreen .form-field textarea {
  font-size: 10.5px;
}
#appScreen .form-field textarea {
  line-height: 1.55;
}
#appScreen .permission-card h4 {
  font-size: 10.5px;
}
#appScreen .permission-row b {
  font-size: 10px;
}
#appScreen .permission-row span,
#appScreen .permission-row select {
  font-size: 10px;
}
#appScreen .test-doc p,
#appScreen .test-step {
  font-size: 10px;
}
#appScreen .preview-node small {
  font-size: 10px;
}
#appScreen .preview-node h4 {
  font-size: 15px;
}
#appScreen .preview-node p,
#appScreen .preview-result p {
  font-size: 10px;
}
#appScreen .ai-panel-head span {
  font-size: 10px;
}
#appScreen .message,
#appScreen .ai-input {
  font-size: 10.5px;
}
#appScreen .ai-suggestions button {
  font-size: 10px;
}

@media (max-width: 1180px) {
  .performer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics.leadership-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .preview-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .preview-node {
    min-height: 150px;
  }
}
@media (max-width: 920px) {
  :root {
    --sidebar: 252px;
  }
  .page {
    padding: 23px 20px 46px;
  }
  .performer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-layout,
  .leadership-insights-layout,
  .developer-insights-layout,
  .activity-layout,
  .stage-grid,
  .orchestra-model {
    grid-template-columns: 1fr;
  }
  .symphony-grid,
  .orchestra-symphony-grid {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-overlay {
    grid-template-columns: 1fr;
  }
  .ai-visual {
    display: none;
  }
  .ai-panel {
    width: min(520px, 100%);
    margin-left: auto;
  }
  .preview-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wizard {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .symphony-template-grid {
    grid-template-columns: 1fr 1fr;
  }
  .builder-summary {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  body {
    overflow: hidden;
  }
  .login-card {
    padding: 30px 20px 24px;
    border-radius: 20px;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .login-logo {
    width: 165px;
    margin-bottom: 25px;
  }
  #modeScreen {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .mode-half {
    padding: 34px 28px 24px;
    justify-content: flex-start;
  }
  .mode-logo {
    width: 126px;
    margin-bottom: 13px;
  }
  .mode-developer .mode-logo {
    width: 136px;
  }
  .mode-copy h2 {
    font-size: 32px;
  }
  .mode-copy p {
    font-size: 11px;
  }
  .mode-preview {
    display: none;
  }
  .mode-enter {
    margin-top: 15px;
  }
  .mode-ai-bridge {
    width: 76px;
    height: 76px;
  }
  .mode-ai-bridge img {
    width: 45px;
  }
  .mode-center-line {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .app-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(290px, 84vw);
    transform: translateX(-105%);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.28s ease;
  }
  .sidebar.open {
    transform: none;
  }
  .topbar {
    min-height: 58px;
    padding: 0 13px;
  }
  .mobile-menu {
    display: grid;
  }
  .breadcrumb b,
  .breadcrumb svg {
    display: none;
  }
  .ai-button span:last-child {
    display: none;
  }
  .page {
    padding: 18px 14px 90px;
  }
  .page-head {
    display: block;
  }
  .page-actions {
    margin-top: 14px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .metric {
    padding: 13px;
  }
  .performer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .performer-card {
    min-height: 178px;
    padding: 12px;
  }
  .symphony-grid {
    gap: 10px;
  }
  .symphony-card {
    padding: 15px;
  }
  .symphony-chain {
    overflow: auto;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid,
  .symphony-template-grid,
  .mastery-list {
    grid-template-columns: 1fr;
  }
  .choice-card {
    min-height: 170px;
  }
  .symphony-template {
    min-height: 150px;
  }
  .overlay {
    padding: 8px;
  }
  .modal {
    max-height: calc(100dvh - 16px);
    border-radius: 17px;
  }
  .modal-body {
    padding: 19px;
  }
  .performer-kpi-grid,
  .performer-outcome-grid {
    grid-template-columns: 1fr;
  }
  .performer-today {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wizard {
    display: block;
  }
  .wizard-side {
    display: flex;
    gap: 5px;
    overflow: auto;
    padding: 12px 56px 12px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--app-line);
  }
  .wizard-side h3 {
    display: none;
  }
  .wizard-step {
    flex: 0 0 auto;
    width: auto;
  }
  .wizard-step span {
    display: none;
  }
  .wizard-content {
    padding: 17px;
  }
  .wizard-title {
    flex-direction: column;
    gap: 10px;
  }
  .wizard-title .chip {
    max-width: 100%;
    white-space: normal;
  }
  .wizard-title p,
  .wizard .form-field :is(input, select, textarea),
  .wizard .task-check {
    font-size: 12px;
  }
  .form-grid,
  .task-checks,
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .custom-ai {
    grid-template-columns: 1fr;
  }
  .custom-orb {
    min-height: 150px;
  }
  .preview-stage {
    padding: 20px;
    min-height: 0;
  }
  .preview-flow {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .preview-node {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  .preview-result {
    align-items: flex-start;
    flex-direction: column;
  }
  .ai-panel {
    padding: 18px;
  }
  .dashboard-mobile-note {
    display: block !important;
  }
  .data-table {
    min-width: 720px;
  }
  .table-panel {
    overflow: auto;
  }
  .carousel-scene {
    height: 190px;
  }
  .dept-card {
    width: 175px;
    height: 135px;
  }
  .stage-grid {
    gap: 12px;
  }
  .engine-capabilities {
    grid-template-columns: 1fr;
  }
  .assignment-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .assignment-row select {
    grid-column: 1/-1;
  }
  .blueprint-step {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .blueprint-step em {
    grid-column: 2;
  }
  .builder-summary {
    grid-template-columns: 1fr 1fr;
  }
  .report-command-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 42px;
  }
  .report-sheet {
    padding: 24px 20px;
  }
  .report-hero {
    grid-template-columns: 1fr;
  }
  .report-score {
    width: 112px;
    height: 112px;
  }
  .report-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-kpi:nth-child(2) {
    border-right: 0;
  }
  .report-kpi:nth-child(-n + 2) {
    border-bottom: 1px solid #dfe7e5;
  }
}
@media (max-width: 440px) {
  .performer-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric-value {
    font-size: 22px;
  }
  .symphony-metrics {
    grid-template-columns: 1fr;
  }
  .symphony-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .symphony-metric b {
    margin: 0;
  }
  .orchestra-symphony-card {
    min-height: 250px;
    padding: 22px 16px 19px;
  }
  .orchestra-performer-pair {
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
    gap: 7px;
  }
  .orchestra-performer .performer-emblem {
    width: 50px;
    height: 50px;
  }
  .orchestra-performer .performer-emblem img {
    width: 30px;
    height: 30px;
  }
  .orchestra-string {
    margin-top: 25px;
  }
  .orchestra-performer-name {
    font-size: 10px;
  }
  .top-status {
    display: none;
  }
}
@media (max-width: 700px) {
  #appScreen .ai-command-row {
    padding: 8px 12px;
  }
  #appScreen .ai-command {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    gap: 7px;
  }
  #appScreen .ai-command-orb {
    width: 34px;
    height: 34px;
  }
  #appScreen .ai-command-orb img {
    width: 24px;
    height: 24px;
  }
  #appScreen .ai-command input {
    font-size: 12px;
  }
  #appScreen .page {
    padding: 20px 14px 90px;
  }
  #appScreen .page-head h1 {
    font-size: 31px;
  }
  #appScreen .page-head p {
    font-size: 12px;
  }
  #appScreen .section-head h2 {
    font-size: 22px;
  }
  #appScreen .app-menu-trigger > span:nth-child(2) {
    display: none;
  }
  #appScreen .app-menu-trigger {
    padding-right: 6px;
  }
  .common-app-menu {
    right: -4px;
    width: min(248px, calc(100vw - 28px));
  }
  #appScreen .ai-panel {
    width: 100%;
    padding: 0;
  }
  #appScreen .ai-panel-head {
    padding: 22px 20px 18px;
  }
  #appScreen .ai-panel-head h2 {
    font-size: 30px;
  }
  #appScreen .ai-messages {
    padding: 20px;
  }
  #appScreen .ai-panel-footer {
    padding: 15px 20px 20px;
  }
  #appScreen .ai-suggestions {
    grid-template-columns: 1fr;
  }
  #appScreen .ai-suggestions button:nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 700px) {
  #appScreen .page-overview .page-head {
    height: auto;
    min-height: 0;
  }
  #appScreen .page-overview .metric {
    height: auto;
    min-height: 122px;
  }
  #appScreen .metrics.leadership-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #appScreen .metrics.leadership-kpis .metric {
    height: 180px;
    min-height: 180px;
  }
  #appScreen .page-summary {
    padding: 16px;
    border-radius: 16px;
  }
  #appScreen .page-summary-heading {
    margin-bottom: 11px;
  }
}
@media (max-width: 920px) {
  .symgora-opportunity-panel .opportunity-body {
    grid-template-columns: 1fr;
  }
  .performer-recommendations {
    padding: 16px 0 0;
    border-top: 1px solid var(--app-line);
    border-left: 0;
  }
}
@media (max-width: 700px) {
  .chart-stats {
    width: 100%;
    justify-content: space-between;
  }
  .performance-chart svg {
    height: 132px;
  }
  .symgora-opportunity-panel .opportunity-body {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .opportunity-coverage {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .symgora-opportunity-panel .opportunity-legend {
    grid-template-columns: 1fr;
  }
  .performer-recommendation {
    grid-template-columns: 23px minmax(0, 1fr);
  }
  .performer-recommendation em {
    grid-column: 2;
    justify-self: start;
  }
  .chart-tooltip {
    min-width: 105px;
  }
  .performance-footnote p {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  .execution-monitor-head {
    align-items: flex-start;
    padding: 14px;
  }
  .execution-brand span {
    line-height: 1.4;
  }
  .execution-live {
    flex: 0 0 auto;
  }
  .execution-stream {
    padding: 0 14px;
  }
  .execution-job-head {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .execution-state {
    grid-column: 2;
    justify-self: start;
  }
  .execution-steps {
    margin-left: 13px;
    padding-left: 18px;
  }
  .execution-step {
    grid-template-columns: 18px 76px minmax(0, 1fr);
    gap: 6px;
  }
  .execution-step time {
    grid-column: 3;
  }
  .step-copy {
    white-space: normal;
    line-height: 1.35;
  }
}
@media (max-width: 700px) {
  .developer-control-stream,
  .control-stream-content {
    min-height: 650px;
  }
  .control-stream-head {
    padding: 15px 14px 11px;
  }
  .control-stream-title span {
    line-height: 1.4;
  }
  .control-stream-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 14px 12px;
  }
  .control-process-grid {
    grid-template-columns: 1fr;
    padding: 0 14px;
  }
  .control-process-card {
    padding: 11px;
  }
  .control-event {
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
@media (max-width: 1180px) {
  .activity-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .activity-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 440px) {
  .activity-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Symgora mark alignment and Developer Studio clarity */
.mode-ai-bridge img,
.ai-command-orb img,
.custom-orb img,
.ai-center img {
  display: block;
  position: static;
  place-self: center;
  margin: 0;
  object-fit: contain;
}
.performer-emblem img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  margin: 0;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: performerSpin 5s linear infinite;
}
.control-stream-orb img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.execution-brand > img {
  display: block;
  position: static;
  align-self: center;
  margin: 0;
  object-fit: contain;
}
.developer-dashboard-head {
  display: block;
  height: auto !important;
  min-height: 146px;
}
.developer-dashboard-head > div {
  width: 100%;
}
.developer-dashboard-head .page-actions {
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.dashboard-action-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stage-action-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.page-head .page-actions:has(.stage-action-group) {
  margin-left: auto;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.developer .division-chip {
  border: 1px solid color-mix(in srgb, var(--division-soft) 45%, transparent);
  background: var(--division-dark);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
}
.system-change {
  grid-template-columns: 4px minmax(0, 1fr) auto;
}
.system-change-icon {
  width: 4px;
  height: 34px;
  border-radius: 99px;
  background: var(--blue);
  color: transparent;
  font-size: 0;
}
.connection-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9f8fb, #ccebf2);
  color: #087392;
  font: 800 10px var(--sans);
  letter-spacing: 0.04em;
}
.builder-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 22px;
}
.builder-performer {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.builder-performer select {
  width: 100%;
  margin-bottom: 12px;
}
.builder-performer-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}
.builder-performer-preview > div {
  min-width: 0;
}
.builder-performer-preview b,
.builder-performer-preview span {
  display: block;
}
.builder-performer-preview b {
  font-size: 12px;
}
.builder-performer-preview span {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.45;
}
.builder-link {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 24px;
}
.builder-link:before {
  content: '↔';
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
}
.builder-review {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(216, 244, 249, 0.65), rgba(255, 255, 255, 0.85));
  border: 1px solid var(--blue-line);
}
.builder-review h3 {
  font: 600 22px var(--serif);
  margin: 4px 0 8px;
}
.builder-review p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--app-muted);
}
body[data-mode='developer'] .builder-review {
  border-color: rgba(107, 221, 216, 0.2);
  background: linear-gradient(145deg, rgba(9, 48, 58, 0.96), rgba(7, 35, 44, 0.92));
}
body[data-mode='developer'] .builder-review h3 {
  color: var(--app-ink);
}
body[data-mode='developer'] .builder-review p {
  color: var(--app-muted);
}
.integration-modal {
  width: min(1180px, 100%);
}
.integration-stepper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}
.integration-step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--app-quiet);
  font: 700 9px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.integration-step i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  font-style: normal;
}
.integration-step.active {
  color: var(--app-accent-deep);
}
.integration-step.active i {
  border-color: var(--app-accent);
  background: var(--app-accent-soft);
}
.integration-step-line {
  width: 34px;
  height: 1px;
  background: var(--app-line);
}
.integration-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.integration-category-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 76px;
  padding: 12px 13px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--app-panel), var(--app-soft));
  color: var(--app-ink);
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
}
.integration-category-option:hover {
  transform: translateY(-2px);
  border-color: var(--app-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.integration-category-option.featured {
  grid-column: span 2;
}
.integration-category-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 22%, var(--app-line));
  border-radius: 12px;
  background: var(--app-accent-soft);
  font-size: 20px;
}
.integration-category-option b {
  display: block;
  font-size: 10.5px;
}
.integration-category-option small {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 9px;
}
.integration-category-count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--app-panel);
  color: var(--app-muted);
  font: 800 9px var(--mono);
}
.integration-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-soft);
}
.integration-library-category {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.integration-library-category > span {
  font-size: 23px;
}
.integration-library-category b,
.integration-library-category small {
  display: block;
}
.integration-library-category b {
  font-size: 12px;
}
.integration-library-category small {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 9px;
}
.integration-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.integration-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 88px;
  padding: 13px;
  text-align: left;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-panel);
  color: var(--app-ink);
  cursor: pointer;
  transition: 0.18s ease;
}
.integration-option:hover {
  border-color: var(--app-accent);
  background: linear-gradient(145deg, var(--app-panel), var(--app-accent-soft));
  transform: translateY(-1px);
}
.integration-option:disabled {
  cursor: default;
  opacity: 0.64;
  transform: none;
}
.integration-option > span:last-of-type {
  min-width: 0;
}
.integration-option b,
.integration-option small {
  display: block;
}
.integration-option small {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 9px;
  line-height: 1.35;
}
.integration-option em {
  position: absolute;
  right: 9px;
  top: 8px;
  padding: 3px 5px;
  border-radius: 999px;
  background: var(--green-pale);
  font-style: normal;
  font-size: 7px;
  color: var(--green);
}
.integration-app-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 7px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.integration-app-logo b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #087392;
  font: 800 10px var(--sans);
  letter-spacing: 0.03em;
}
.integration-app-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.integration-auth-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.integration-auth-title .integration-app-logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 7px;
}
.integration-auth-title > span:last-child {
  min-width: 0;
}
.connection-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  font-size: 10px;
  line-height: 1.55;
  color: var(--app-muted);
}
.performer-access-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.performer-access-list .task-check {
  margin: 0;
  align-items: center;
}
.performer-access-list input[type='checkbox'] {
  width: auto;
  flex: 0 0 auto;
}
.performer-access-list .task-check span {
  min-width: 0;
}
.sync-sequence {
  padding: 24px 0;
}
.sync-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.sync-source > span:not(.connection-logo) {
  font-weight: 700;
}
.sync-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}
.sync-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #56e0c0, var(--blue));
  background-size: 220% 100%;
  animation: syncProgress 1.1s linear infinite;
}
.sync-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.sync-steps span {
  padding: 10px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 9px;
  text-align: center;
  color: var(--app-muted);
}
.success-check {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #daf5e8;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
}
.connection-new {
  outline: 1px solid color-mix(in srgb, var(--blue) 50%, transparent);
  background: color-mix(in srgb, var(--blue-soft) 38%, transparent);
}
@keyframes syncProgress {
  to {
    background-position: -220% 0;
  }
}
@media (max-width: 900px) {
  .integration-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .integration-category-option.featured {
    grid-column: span 1;
  }
}
@media (max-width: 760px) {
  .builder-selection {
    grid-template-columns: 1fr;
  }
  .builder-link:before {
    content: '↕';
  }
  .integration-category-grid,
  .integration-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .performer-access-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .integration-category-grid,
  .integration-library-grid {
    grid-template-columns: 1fr;
  }
  .integration-library-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .integration-library-head .secondary {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .developer-dashboard-head .page-actions {
    justify-content: center;
    gap: 14px;
  }
  .dashboard-action-group {
    flex: 1 1 140px;
  }
  .dashboard-action-group .primary {
    flex: 1 1 auto;
  }
  .dashboard-action-group-connections {
    flex: 1 1 100%;
  }
  .dashboard-action-group-connections .primary {
    flex: 1 1 140px;
  }
  .stage-action-group {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .stage-action-group .primary {
    flex: 1 1 140px;
  }
}
