/* Meet Easy / the working constellation.
   This surface is intentionally isolated from the public landing and account pages. */
.app-shell,
body:has(.app-shell) #modal,
body:has(.app-shell) #toast {
  --canvas: #080e0e;
  --surface: #101a19;
  --ink: #eaf4f0;
  --muted: #95aaa2;
  --line: #c9f6e31c;
  --accent: #c9f6e3;
  --accent-ink: #13291f;
  --green: #c9f6e312;
  --green-ink: #c9f6e3;
  --yellow: #edcf9a12;
  --yellow-ink: #edcf9a;
  --blue: #abd8e613;
  --blue-ink: #b7dfea;
  --red: #e9a8a813;
  --red-ink: #ffc4c1;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --workspace-ease: cubic-bezier(.22, 1, .36, 1);
  font-family: var(--sans);
  color: var(--ink);
}

body:has(.app-shell) {
  background: #080e0e;
}
body:has(.app-shell)::before {
  background: none;
}
.app-shell {
  grid-template-columns: 252px minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  background: #080e0e;
}
.app-shell::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: -230px;
  right: -160px;
  width: min(1100px, 100vw);
  height: 850px;
  pointer-events: none;
  background: radial-gradient(ellipse, #8eccaa09, transparent 66%);
}
.app-shell h1 {
  font-weight: 480;
  font-size: clamp(36px, 3.6vw, 57px);
  line-height: 1.12;
  letter-spacing: -.059em;
  text-wrap: balance;
}
.app-shell h2 {
  font-size: 22px;
  font-weight: 520;
  letter-spacing: -.042em;
}
.app-shell h3 {
  font-weight: 570;
  letter-spacing: -.02em;
}
.app-shell :is(button, input, select, textarea) {
  font-family: inherit;
}
.app-shell :is(button, a, input, textarea, select, summary):focus-visible,
body:has(.app-shell) #modal :is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #c9f6e3;
  outline-offset: 4px;
}
.app-shell ::selection,
body:has(.app-shell) #modal ::selection {
  background: #c9f6e339;
  color: #f7fffb;
}
.app-shell .eyebrow,
body:has(.app-shell) #modal .eyebrow {
  color: #a0c8b7;
  font-size: 10px;
  font-weight: 520;
  letter-spacing: .09em;
}
.app-shell .muted {
  color: var(--muted);
}

/* The quiet, anchored edge of the workspace. */
.app-shell .sidebar {
  z-index: 4;
  padding: 32px 18px 24px;
  background: linear-gradient(165deg, #111d19 0, #0b1413 40%, #0a1212 100%);
  border-right: 1px solid #c9f6e316;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #365246 transparent;
}
.app-shell .sidebar .brand {
  padding: 0 10px;
  gap: 12px;
}
.app-shell .brand-mark {
  width: 37px;
  height: 39px;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.app-shell .brand-mark svg {
  width: 36px;
  height: 36px;
  stroke: #c9f6e3;
  stroke-width: 1.7;
}
.app-shell .brand-title {
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -.055em;
  color: #e7f6ee;
}
.app-shell .brand-subtitle {
  color: #8aa095;
  font-size: 9px;
  letter-spacing: .015em;
  margin-top: 4px;
}
.app-shell .project-switch {
  margin: 43px 0 24px;
  padding: 0 5px 24px;
  border-color: #c9f6e319;
}
.app-shell .project-switch label {
  color: #8fa99a;
  font-size: 9px;
  letter-spacing: .12em;
  padding-left: 2px;
  margin-bottom: 12px;
}
.app-shell .project-switch select {
  appearance: auto;
  background: #ffffff05;
  color: #e0eee6;
  min-height: 46px;
  border-color: #c9f6e329;
  border-radius: 11px;
  font-size: 12px;
  padding: 12px;
  box-shadow: inset 0 1px 0 #ffffff05;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.app-shell .project-switch select option {
  color: #eaf4f0;
  background: #111d18;
}
.app-shell .new-project-link {
  padding: 15px 2px 0;
  color: #a8beb3;
  font-size: 11px;
  gap: 9px;
  transition: color 150ms ease;
}
.app-shell .new-project-link span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 15px;
  border: 1px solid #c9f6e326;
  border-radius: 5px;
  color: #c9f6e3;
}
.app-shell .navigation {
  gap: 7px;
}
.app-shell .nav-button {
  min-height: 47px;
  padding: 12px 14px;
  gap: 12px;
  border-radius: 11px;
  color: #a2b5ab;
  font-size: 12px;
  border-color: transparent;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.app-shell .nav-button svg {
  width: 17px;
  height: 17px;
  opacity: .8;
  flex-shrink: 0;
  transition: opacity 180ms ease, transform 220ms var(--workspace-ease);
}
.app-shell .nav-button.active {
  background: linear-gradient(105deg, #c9f6e316, #c9f6e307);
  color: #d5f9e9;
  border-color: #c9f6e329;
  font-weight: 570;
  box-shadow: inset 0 1px 0 #c9f6e307;
}
.app-shell .nav-button.active::before {
  top: 16px;
  bottom: 16px;
  left: -1px;
  width: 2px;
  border-radius: 3px;
  box-shadow: 0 0 11px #c9f6e341;
  background: #c9f6e3;
}
.app-shell .nav-button.active svg {
  opacity: 1;
}
.app-shell .nav-count {
  background: #c9f6e3;
  color: #153627;
  border: 0;
  height: 21px;
  min-width: 21px;
  border-radius: 6px;
  font-size: 10px;
}
.app-shell .sidebar-bottom {
  padding: 26px 12px 0;
  margin-top: auto;
}
.app-shell .sidebar-section-label {
  font-size: 9px;
  color: #849d91;
  letter-spacing: .065em;
  margin-bottom: 16px;
}
.app-shell .live-status {
  font-size: 11px;
  color: #bfd6c8;
  gap: 10px;
}
.app-shell .status-dot {
  width: 5px;
  height: 5px;
  position: relative;
  background: #c9f6e3;
  box-shadow: 0 0 11px #c9f6e33d;
}
.app-shell .status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid #c9f6e34a;
  border-radius: 50%;
  pointer-events: none;
}
.app-shell .status-dot.paused {
  background: #edcf9a;
  box-shadow: none;
}
.app-shell .status-dot.paused::after {
  border-color: #edcf9a4a;
  animation: none;
}
.app-shell .sidebar-note {
  color: #8da396;
  font-size: 10px;
  line-height: 1.85;
  margin-top: 17px;
}

/* The main canvas has one generous title, with a subtle orbital signature. */
.app-shell .main-shell {
  position: relative;
  background: linear-gradient(150deg, #b1ecc003 0%, transparent 28%);
}
.app-shell .topbar {
  min-height: 79px;
  height: auto;
  padding: 18px 44px;
  border-color: #c9f6e312;
  background: #080e0ebd;
  gap: 20px;
  position: relative;
  z-index: 3;
}
.app-shell .breadcrumb {
  font-size: 11px;
  color: #8fa699;
  gap: 10px;
}
.app-shell .breadcrumb strong {
  color: #c8ded1;
  font-weight: 470;
}
.app-shell .topbar-user {
  gap: 12px;
  min-width: 0;
}
.app-shell .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #c9f6e3;
  background: linear-gradient(140deg, #b5edcb20, #b5edcb06);
  border: 1px solid #c9f6e32b;
  box-shadow: inset 0 1px 0 #ffffff06;
  font-size: 10px;
  letter-spacing: -.025em;
  flex-shrink: 0;
}
.app-shell .user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c4d6cc;
  font-size: 11px;
}
.app-shell .topbar .text-link {
  font-size: 10px;
  color: #a9c8b8;
}
.app-shell .logout {
  border-color: #c9f6e320;
  color: #94ad9f;
  font-size: 10px;
  margin-left: 3px;
  padding: 6px 0 6px 15px;
  transition: color 160ms ease;
}
.workspace-motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  background: transparent;
  color: #9cb7a8;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  flex-shrink: 0;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.workspace-motion-toggle svg {
  width: 16px;
  height: 16px;
}
.workspace-motion-toggle[aria-pressed='true'] {
  color: #d6e9dd;
  border-color: #c9f6e326;
  background: #c9f6e308;
}
.workspace-motion-toggle:disabled {
  background: transparent;
  color: #829e8d;
  border-color: transparent;
  cursor: default;
}
.app-shell .content {
  max-width: 1520px;
  padding: 45px 44px 80px;
}
.app-shell .page-heading {
  position: relative;
  isolation: isolate;
  min-height: 180px;
  align-items: flex-end;
  margin-bottom: 33px;
  padding-bottom: 34px;
  border-bottom: 1px solid #c9f6e31c;
  gap: 30px;
}
.app-shell .page-heading > div:first-child {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.app-shell .page-heading .eyebrow {
  margin-bottom: 19px;
  gap: 11px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
}
.app-shell .page-heading .eyebrow::before {
  width: 22px;
  background: linear-gradient(90deg, #c9f6e3, #c9f6e329);
}
.app-shell .page-description {
  max-width: 580px;
  color: #9eb3a7;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 20px;
  text-wrap: pretty;
}
.app-shell .heading-actions {
  position: relative;
  z-index: 2;
  padding-bottom: 2px;
  gap: 9px;
}
.workspace-kicker {
  font-size: 9px;
  color: #a7c9b6;
  letter-spacing: .12em;
  margin-bottom: 17px;
}
.workspace-orbit {
  position: absolute;
  overflow: clip;
  z-index: -1;
  top: -47px;
  right: 12px;
  width: 235px;
  height: 195px;
  pointer-events: none;
  perspective: 650px;
  transform-style: preserve-3d;
  opacity: .62;
  mask-image: linear-gradient(#000 65%, transparent);
}
.workspace-orbit::before {
  content: '';
  position: absolute;
  inset: -55px;
  background: radial-gradient(ellipse, #b8f2cf13, transparent 65%);
}
.workspace-orbit i {
  position: absolute;
  display: block;
  inset: 20px 5px;
  border: 1px solid #c9f6e33d;
  border-radius: 50%;
  transform: rotateX(61deg) rotateY(-12deg) rotateZ(-23deg);
}
.workspace-orbit i:nth-child(2) {
  inset: 29px 21px;
  border-color: #c9f6e325;
  transform: rotateX(32deg) rotateY(58deg) rotateZ(31deg);
}
.workspace-orbit i:nth-child(3) {
  inset: 44px 36px;
  border-color: #c9f6e338;
  transform: rotateX(14deg) rotateY(-48deg) rotateZ(53deg);
}
.workspace-orbit i::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: #d8ffeba1;
  border-radius: 50%;
}
.workspace-orbit > span {
  position: absolute;
  inset: 76px 91px;
  border: 1px solid #dcffed66;
  transform: rotate(45deg);
  border-radius: 13px;
  background: linear-gradient(140deg, #c9f6e328, #c9f6e303);
  box-shadow: 0 0 32px #c9f6e311, inset 0 1px 0 #c9f6e339;
}

/* Controls retain clear boundaries, with light moving only inside them. */
:is(.app-shell, body:has(.app-shell) #modal) .button {
  min-height: 42px;
  padding: 11px 16px;
  background: #c9f6e307;
  border: 1px solid #c9f6e32b;
  border-radius: 10px;
  color: #d2e6da;
  font-size: 11px;
  font-weight: 570;
  box-shadow: inset 0 1px 0 #ffffff04;
  transition: transform 160ms var(--workspace-ease), background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
:is(.app-shell, body:has(.app-shell) #modal) .button.primary {
  background: #c9f6e3;
  color: #153326;
  border-color: #c9f6e3;
  box-shadow: inset 0 1px 0 #ffffff66, 0 4px 18px #c9f6e309;
}
:is(.app-shell, body:has(.app-shell) #modal) .button.primary::after {
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, #ffffff8a 48%, transparent 65%);
}
:is(.app-shell, body:has(.app-shell) #modal) .button.danger {
  background: #edaaa70b;
  border-color: #edaaa736;
  color: #eeb8b3;
}
:is(.app-shell, body:has(.app-shell) #modal) .button.small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 10px;
  border-radius: 8px;
}
:is(.app-shell, body:has(.app-shell) #modal) .button:active:not(:disabled) {
  transform: translateY(0) scale(.975);
  transition-duration: 90ms;
}
:is(.app-shell, body:has(.app-shell) #modal) .button:disabled {
  background: #26372e;
  color: #a7bfb1;
  border-color: #c9f6e319;
  box-shadow: none;
  transform: none;
}
.app-shell .text-link,
body:has(.app-shell) #modal .text-link {
  color: #b9dfc9;
  font-size: 11px;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}
.app-shell .danger-text {
  color: #e7afa8;
}
.app-shell .badge,
body:has(.app-shell) #modal .badge {
  border-radius: 6px;
  border-color: #c9f6e329;
  background: #c9f6e308;
  color: #b0c9ba;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .02em;
}
:is(.app-shell, body:has(.app-shell) #modal) .badge.green {
  border-color: #b0eac635;
  color: #c3ebd3;
  background: #b0eac60c;
}
:is(.app-shell, body:has(.app-shell) #modal) .badge.yellow {
  border-color: #edcf9a35;
  color: #edcf9a;
  background: #edcf9a0c;
}
:is(.app-shell, body:has(.app-shell) #modal) .badge.blue {
  border-color: #abd8e62e;
  color: #b7dfea;
  background: #abd8e60b;
}
:is(.app-shell, body:has(.app-shell) #modal) .badge.red {
  border-color: #e9a8a82e;
  color: #ffc4c1;
  background: #e9a8a80b;
}

/* A hierarchy of surfaces: open workspace, precise panels, luminous accents. */
.app-shell .panel {
  position: relative;
  background: linear-gradient(135deg, #15211c8c, #0c1513cc);
  border: 1px solid #c9f6e322;
  border-radius: 17px;
  padding: 28px;
  box-shadow: inset 0 1px 0 #ffffff04, 0 10px 35px #0000000d;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.app-shell .panel::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9f6e32e, transparent);
  pointer-events: none;
}
.app-shell .section-heading {
  gap: 18px;
  margin-bottom: 27px;
}
.app-shell .section-heading h2 {
  font-size: 20px;
  line-height: 1.35;
}
.app-shell .section-heading .muted {
  color: #91a99b;
  font-size: 10px;
}
.app-shell :is(.overview-grid, .team-grid, .messages-layout, .integration-grid) {
  gap: 22px;
}
.app-shell :is(.overview-grid, .team-grid, .messages-layout, .integration-grid) > .panel + .panel {
  margin-top: 0;
}
.app-shell .overview-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
}
.app-shell .overview-grid > .panel:last-child {
  background: linear-gradient(150deg, #1e33268a, #0c1813);
  border-color: #c9f6e333;
}
.app-shell .overview-grid > .panel:last-child::before {
  width: 64px;
  height: 1px;
  background: #c9f6e37a;
}
.app-shell .stat-row {
  gap: 17px;
  margin-bottom: 24px;
}
.app-shell .stat {
  padding: 22px 24px 21px;
  border-radius: 14px;
  border-color: #c9f6e322;
  background: linear-gradient(130deg, #16221c99, #0e1714aa);
  overflow: hidden;
}
.app-shell .stat::before {
  content: '';
  position: absolute;
  right: -35px;
  bottom: -61px;
  width: 137px;
  height: 137px;
  border: 1px solid #c9f6e313;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 14px #c9f6e303, 0 0 0 29px #c9f6e303;
}
.app-shell .stat::after {
  top: 24px;
  right: 23px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border-color: #c9f6e347;
  opacity: .8;
}
.app-shell .stat-label {
  color: #adbfaf;
  font-size: 10px;
  letter-spacing: .015em;
}
.app-shell .stat-number {
  color: #e3f8eb;
  font-family: var(--sans);
  font-size: 49px;
  font-weight: 420;
  letter-spacing: -.065em;
  line-height: 1.2;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
.app-shell .stat-note {
  color: #91aa98;
  font-size: 10px;
  margin-top: 7px;
}
.app-shell .project-circuit {
  padding: 23px 28px 25px;
  border-radius: 16px;
  background: linear-gradient(115deg, #15281caa, #0b1512 62%, #14251a88);
  border-color: #c9f6e330;
  box-shadow: inset 0 1px 0 #c9f6e30a;
  margin-bottom: 25px;
}
.app-shell .project-circuit::before {
  background-image: linear-gradient(#c9f6e303 1px, transparent 1px), linear-gradient(90deg, #c9f6e303 1px, transparent 1px);
  background-size: 28px 28px;
}
.app-shell .circuit-heading {
  margin-bottom: 26px;
}
.app-shell .circuit-heading h2 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.03em;
}
.app-shell .circuit-state {
  color: #a8bfae;
  font-size: 10px;
}
.app-shell .circuit-node strong {
  color: #e0f3e5;
  font-size: 11px;
}
.app-shell .circuit-node div > span {
  color: #98b49f;
  font-size: 9px;
  margin-top: 6px;
}
.app-shell .circuit-glyph {
  width: 34px;
  height: 35px;
  background: linear-gradient(145deg, #c9f6e318, #c9f6e303);
  border-color: #c9f6e347;
  border-radius: 9px;
}
.app-shell .circuit-connector > span {
  background: linear-gradient(90deg, #c9f6e31a, #c9f6e359);
}
.app-shell .circuit-connector > span::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #d9ffea;
  box-shadow: 0 0 9px #c9f6e344;
  opacity: 0;
}
.app-shell .circuit-connector small {
  font-size: 8px;
  color: #97b09d;
}
.app-shell .project-circuit[data-paused='true'] {
  border-color: #edcf9a42;
}
.app-shell .project-circuit[data-paused='true'] .circuit-connector > span::after {
  animation: none;
  opacity: 0;
}
.app-shell .intro-flow {
  padding-top: 24px;
  margin-top: 28px;
  border-color: #c9f6e31c;
  color: #9bb19f;
  font-size: 10px;
}
.app-shell .flow-step b {
  color: #d1e8d8;
  font-size: 12px;
  font-weight: 520;
  margin-bottom: 6px;
}
.app-shell .flow-arrow {
  color: #9ec3a7;
}
.app-shell .intro-flow.unframed {
  margin: 0;
  padding: 0;
  border: 0;
}
.app-shell .empty {
  position: relative;
  color: #98b1a0;
  padding: 34px 16px;
  font-size: 12px;
  line-height: 1.9;
}
.app-shell .empty svg {
  width: 31px;
  height: 31px;
  padding: 0;
  color: #a2c9ae;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px #c9f6e311);
}
.app-shell .empty strong {
  color: #daeee1;
  font-size: 15px;
  font-weight: 510;
  letter-spacing: -.025em;
  margin-bottom: 9px;
}
.app-shell .refresh-info {
  color: #88a494;
  font-size: 9px;
  margin-top: 29px;
  letter-spacing: .015em;
}

/* Tasks and decisions are comfortable to read, even when the project fills up. */
.app-shell .task-row {
  padding: 20px 0;
  gap: 14px;
  border-color: #c9f6e315;
}
.app-shell .task-row:first-child {
  padding-top: 0;
}
.app-shell .task-row:last-child {
  padding-bottom: 0;
}
.app-shell .task-glyph {
  width: 24px;
  height: 24px;
  background: #c9f6e306;
  border-color: #c9f6e339;
  border-radius: 7px;
  margin-top: 1px;
}
.app-shell .task-glyph.completed {
  color: #c9f6e3;
  background: #c9f6e311;
  border-color: #c9f6e351;
}
.app-shell .item-title {
  color: #dfede2;
  font-size: 13px;
  font-weight: 510;
  line-height: 1.7;
  letter-spacing: -.013em;
  transition: color 160ms ease;
}
.app-shell .item-meta {
  color: #93aa9a;
  font-size: 10px;
  gap: 7px;
  margin-top: 9px;
}
.app-shell .item-summary {
  color: #95ad9d;
  line-height: 1.85;
}
.app-shell .filter-bar {
  gap: 7px;
  margin-bottom: 25px;
}
.app-shell .filter-button {
  padding: 9px 14px;
  min-height: 36px;
  border-radius: 8px;
  font-size: 11px;
  color: #a8beaf;
  background: #c9f6e304;
  border-color: #c9f6e310;
}
.app-shell .filter-button.active {
  background: #c9f6e317;
  color: #d1f7df;
  border-color: #c9f6e33e;
}
.app-shell .task-grid {
  gap: 18px;
}
.app-shell .task-card {
  padding: 25px;
  min-height: 240px;
  background: linear-gradient(140deg, #14231bbb, #0c1713);
  border-color: #c9f6e324;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #c9f6e305;
  transition: border-color 200ms ease, transform 240ms var(--workspace-ease), box-shadow 200ms ease;
}
.app-shell .task-card::before {
  content: '';
  pointer-events: none;
  position: absolute;
  top: -1px;
  left: 26px;
  width: 36px;
  height: 1px;
  background: #c9f6e35c;
}
.app-shell .task-card h3 {
  font-size: 16px;
  font-weight: 510;
  line-height: 1.6;
  margin-top: 24px;
}
.app-shell .task-card .card-summary {
  color: #a0b6a5;
  font-size: 12px;
  line-height: 1.95;
  margin-top: 10px;
}
.app-shell .task-card .card-foot {
  border-top: 1px solid #c9f6e313;
  padding-top: 18px;
  margin-top: auto;
  min-height: 62px;
}
.app-shell .task-card .card-summary + .card-foot {
  margin-top: 25px;
}
.app-shell .request-card,
.app-shell .requests-grid .request-card {
  position: relative;
  background: linear-gradient(145deg, #1f30239e, #101c159e);
  border: 1px solid #c9f6e32e;
  border-radius: 13px;
  padding: 23px;
  box-shadow: inset 0 1px 0 #c9f6e306;
  transition: border-color 200ms ease;
}
.app-shell .request-card h3 {
  font-size: 16px;
  line-height: 1.55;
  color: #e0f2e5;
  margin-top: 20px;
}
.app-shell .request-card p {
  color: #a7bea9;
  line-height: 1.9;
  font-size: 12px;
  margin-top: 13px;
}
.app-shell .request-card p.small {
  font-size: 10px;
  color: #9bb49e;
}
.app-shell .request-card .button {
  margin-top: 22px;
}
.app-shell .request-footer {
  border-color: #c9f6e31b;
  margin-top: 28px;
  padding-top: 19px;
  color: #95ac99;
  font-size: 10px;
  line-height: 1.95;
}
.app-shell .requests-grid {
  gap: 19px;
}
.app-shell .status-strip {
  padding: 17px 20px;
  border-radius: 12px;
  border-color: #edcf9a35;
  background: #edcf9a0a;
  color: #e4d4b7;
  font-size: 12px;
  line-height: 1.85;
}

/* Conversation, people, and external connections. */
.app-shell .messages-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(295px, 1fr);
}
.app-shell .message-feed {
  scrollbar-color: #46604d #0e1713;
  scrollbar-width: thin;
  padding-right: 10px;
}
.app-shell .message {
  padding: 24px 0;
  border-color: #c9f6e315;
}
.app-shell .message:first-child {
  padding-top: 0;
}
.app-shell .message:last-child {
  padding-bottom: 0;
}
.app-shell .message-author {
  font-size: 12px;
  color: #c9efda;
  font-weight: 570;
}
.app-shell .message-time {
  color: #90a895;
  font-size: 9px;
}
.app-shell .message-text {
  color: #d0e3d4;
  line-height: 2;
  font-size: 13px;
  margin-top: 15px;
}
.app-shell .message-link {
  color: #99bba4;
  font-size: 10px;
  margin-top: 15px;
  line-height: 1.8;
}
.app-shell .composer {
  top: 26px;
  background: linear-gradient(145deg, #15251aa8, #0d1713);
  border-color: #c9f6e32b;
}
.app-shell .composer h2 {
  margin-bottom: 28px;
  font-size: 21px;
}
.app-shell .composer .button[type='submit'] {
  width: 100%;
  margin-top: 2px;
}
.app-shell .member-row,
.app-shell .agent-row {
  padding: 22px 0;
  border-color: #c9f6e315;
  gap: 13px;
}
.app-shell :is(.member-row, .agent-row):first-child {
  padding-top: 0;
}
.app-shell :is(.member-row, .agent-row):last-child {
  padding-bottom: 0;
}
.app-shell :is(.member-row, .agent-row) .avatar {
  width: 39px;
  height: 39px;
  font-size: 11px;
}
.app-shell .agent-row .avatar {
  border-radius: 12px;
  transform: rotate(-5deg);
  background: linear-gradient(140deg, #c9f6e315, #c9f6e304);
}
.app-shell .member-name {
  font-size: 13px;
  font-weight: 540;
  color: #ddeee1;
  letter-spacing: -.02em;
}
.app-shell .member-email {
  color: #94b09d;
  font-size: 10px;
  margin-top: 6px;
}
.app-shell .member-actions {
  gap: 8px;
}
.app-shell .integration-title {
  gap: 16px;
  margin-bottom: 24px;
}
.app-shell .integration-title h2 {
  font-size: 24px;
  font-weight: 490;
}
.app-shell .integration-icon {
  width: 45px;
  height: 47px;
  background: linear-gradient(135deg, #c9f6e314, #c9f6e304);
  border: 1px solid #c9f6e339;
  border-radius: 13px;
  color: #d2f6df;
  box-shadow: inset 0 1px 0 #c9f6e30a;
  font-size: 13px;
}
.app-shell .integration-description,
.app-shell .tab-description {
  color: #a1b7a6;
  font-size: 12px;
  line-height: 1.95;
}
.app-shell .integration-facts {
  gap: 17px;
  margin: 25px 0;
}
.app-shell .fact {
  font-size: 11px;
  line-height: 1.8;
}
.app-shell .fact span:first-child {
  color: #97af9b;
}
.app-shell .pull-row {
  border-color: #c9f6e318;
  padding: 19px 0;
  font-size: 12px;
}
.app-shell .pull-row a {
  color: #c0e8cd;
}
.app-shell .pull-meta {
  color: #8fa897;
  font-size: 10px;
}
.app-shell .delivery-row {
  border-color: #c9f6e315;
  padding: 19px 0;
  font-size: 12px;
  line-height: 1.85;
}
.app-shell .delivery-row .muted {
  color: #90ac99;
  font-size: 10px;
  margin-top: 6px;
}
.app-shell .user-table {
  font-size: 12px;
}
.app-shell .user-table th {
  padding-bottom: 20px;
  color: #9fbea9;
  font-size: 10px;
  font-weight: 450;
}
.app-shell .user-table td {
  border-color: #c9f6e31a;
  padding-block: 21px;
  color: #cbded0;
}
.app-shell .admin-note {
  font-size: 11px;
  color: #90aa97;
  line-height: 1.85;
}

/* Onboarding, the shared goal, and requests ready to hand to a bot. */
.app-shell .project-goal {
  border-color: #c9f6e33b;
  background: linear-gradient(120deg, #233c29aa, #102015cc 65%, #12251a77);
  padding: 30px;
}
.app-shell .project-goal h2 {
  font-size: 27px;
  font-weight: 490;
  margin-top: 13px;
}
.app-shell .project-goal p {
  color: #cee7d3;
  font-size: 13px;
  line-height: 2;
}
.app-shell .project-goal .section-heading {
  margin-bottom: 20px;
}
.app-shell .project-extra {
  margin-block: 19px 28px;
}
.app-shell .project-extra > summary {
  margin-bottom: 20px;
}
.app-shell .launcher-panel {
  margin-top: 25px;
  padding: 35px;
  border-color: #c9f6e337;
  background: radial-gradient(ellipse at 0 0, #c9f6e30a, transparent 62%), linear-gradient(140deg, #14271ac4, #0b1712);
}
.app-shell .launcher-panel::before {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -150px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid #c9f6e30d;
  box-shadow: 0 0 0 36px #c9f6e303, 0 0 0 74px #c9f6e302;
}
.app-shell .launcher-intro {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 30px;
}
.app-shell .launcher-intro h2 {
  font-size: clamp(25px, 2.9vw, 38px);
  font-weight: 450;
  letter-spacing: -.05em;
  line-height: 1.3;
  max-width: 620px;
  margin-top: 15px;
}
.app-shell .launcher-intro p {
  font-size: 12px;
  color: #9fbea6;
  line-height: 1.95;
  margin-top: 19px;
  max-width: 650px;
}
.app-shell .launcher-orbit {
  width: 94px;
  height: 94px;
  perspective: 550px;
  transform-style: preserve-3d;
}
.app-shell .launcher-orbit > span {
  border-color: #c9f6e348;
  transform: rotateX(43deg) rotateZ(-35deg);
}
.app-shell .launcher-orbit > i {
  inset: 5px;
  border-color: #c9f6e34f;
  transform: rotateY(45deg) rotateZ(38deg);
}
.app-shell .launcher-orbit > span::after,
.app-shell .launcher-orbit > i::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: #d6ffeab3;
  border-radius: 50%;
}
.app-shell .launcher-orbit > b {
  width: 55px;
  height: 55px;
  border-color: #c9f6e355;
  border-radius: 16px;
  background: linear-gradient(135deg, #c9f6e32e, #c9f6e308);
  box-shadow: 0 0 38px #c9f6e309, inset 0 1px 0 #c9f6e326;
  color: #d5ffe5;
  font-size: 33px;
  font-weight: 300;
}
.app-shell .launcher-actions {
  margin-top: 25px;
  gap: 10px;
}
.app-shell .launcher-steps {
  border-color: #c9f6e321;
  padding-top: 26px;
  margin-top: 34px;
  margin-bottom: 22px;
  gap: 24px;
}
.app-shell .launcher-steps > div {
  color: #bad6c2;
  gap: 12px;
  font-size: 11px;
}
.app-shell .launcher-steps b {
  color: #c9f6e39c;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
}
.app-shell .launcher-panel > .muted.small {
  color: #90ad99;
  font-size: 10px;
  line-height: 1.9;
}
.app-shell .launcher-list-heading {
  margin-top: 30px;
  padding-top: 24px;
  border-color: #c9f6e31f;
}
.app-shell .launcher-list-heading h3 {
  color: #cde5d4;
  font-size: 13px;
  font-weight: 500;
}
.app-shell .launcher-row {
  padding: 20px 0;
  border-color: #c9f6e318;
}
.app-shell .launcher-row strong {
  font-size: 12px;
  color: #d5ebda;
  font-weight: 500;
}
.app-shell .launcher-row span {
  color: #9cbaa5;
  font-size: 10px;
}
.app-shell .prompt-library {
  background: linear-gradient(140deg, #1421188a, #0c1511);
  padding: 31px;
}
.app-shell .prompt-library h2 {
  font-size: 26px;
  font-weight: 470;
  margin-top: 13px;
}
.app-shell .prompt-library > .section-heading {
  margin-bottom: 20px;
}
.app-shell .prompt-library .tab-description {
  max-width: 820px;
}
.app-shell .prompt-grid {
  gap: 16px;
  margin-top: 27px;
}
.app-shell .prompt-example {
  position: relative;
  background: linear-gradient(140deg, #c9f6e306, #c9f6e302);
  border-color: #c9f6e323;
  border-radius: 12px;
  padding: 25px 21px 21px;
  gap: 19px;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.app-shell .prompt-example > .eyebrow {
  font-size: 8px;
  color: #9fc9af;
  letter-spacing: .07em;
}
.app-shell .prompt-example h3 {
  color: #d7eddf;
  font-size: 16px;
  font-weight: 460;
  line-height: 1.55;
  letter-spacing: -.032em;
}
.app-shell .prompt-example summary {
  color: #a4c5af;
  font-size: 10px;
}
.app-shell .prompt-example pre {
  color: #a9c5b2;
  line-height: 1.85;
  font-size: 11px;
  padding: 15px;
}
.app-shell .prompt-example .button {
  white-space: normal;
  width: 100%;
  line-height: 1.55;
  justify-content: space-between;
  text-align: left;
}
.app-shell .prompt-example .button::after {
  content: '↗';
  font-size: 15px;
  margin-left: 7px;
  opacity: .75;
}

/* Forms, system feedback and focused dialogs share the same material. */
:is(.app-shell, body:has(.app-shell) #modal) .field {
  margin-bottom: 22px;
}
:is(.app-shell, body:has(.app-shell) #modal) .field-label {
  font-size: 11px;
  color: #c9ddd0;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 160ms ease;
}
:is(.app-shell, body:has(.app-shell) #modal) .field-hint {
  color: #97b09f;
  font-size: 10px;
  line-height: 1.85;
  margin-top: 9px;
}
:is(.app-shell, body:has(.app-shell) #modal) .field :is(input, textarea, select) {
  border-radius: 10px;
  border: 1px solid #c9f6e330;
  min-height: 46px;
  background: #080f0be6;
  color: #e4f3e9;
  font-size: 13px;
  padding: 13px 14px;
  box-shadow: inset 0 2px 5px #0000000c;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
:is(.app-shell, body:has(.app-shell) #modal) .field :is(input, textarea)::placeholder {
  color: #809b87;
  opacity: 1;
}
:is(.app-shell, body:has(.app-shell) #modal) .field textarea {
  line-height: 1.95;
  min-height: 126px;
}
:is(.app-shell, body:has(.app-shell) #modal) .field:focus-within .field-label {
  color: #c9f6e3;
}
:is(.app-shell, body:has(.app-shell) #modal) .field :is(input, textarea, select):focus {
  background: #0c180fd9;
  border-color: #c9f6e37d;
  box-shadow: 0 0 0 3px #c9f6e308, inset 0 2px 5px #0000000c;
}
:is(.app-shell, body:has(.app-shell) #modal) .field input:autofill {
  background: #142519;
  color: #e4f3e9;
}
:is(.app-shell, body:has(.app-shell) #modal) .field select option {
  background: #111d15;
  color: #e4f3e9;
}
:is(.app-shell, body:has(.app-shell) #modal) .form-actions {
  gap: 10px;
  margin-top: 30px;
}
:is(.app-shell, body:has(.app-shell) #modal) .form-error,
.app-shell .error-state {
  background: #e9a8a80b;
  border-color: #e9a8a839;
  color: #f1bbb6;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.85;
}
:is(.app-shell, body:has(.app-shell) #modal) .notice {
  border-color: #c9f6e324;
  border-radius: 10px;
  color: #aec8b6;
  background: #c9f6e308;
  padding: 16px 18px;
  font-size: 11px;
  line-height: 1.9;
}
:is(.app-shell, body:has(.app-shell) #modal) .notice.warning {
  color: #e2d0ad;
  background: #edcf9a09;
  border-color: #edcf9a30;
}
:is(.app-shell, body:has(.app-shell) #modal) .notice.success {
  color: #c7ebd2;
  background: #c9f6e30a;
  border-color: #c9f6e33a;
}
:is(.app-shell, body:has(.app-shell) #modal) pre {
  border-radius: 11px;
  border-color: #c9f6e322;
  background: #070e09e6;
  color: #c0dfc8;
  padding: 19px;
  scrollbar-width: thin;
  scrollbar-color: #405e46 #0b150e;
  line-height: 1.9;
}
body:has(.app-shell) #modal {
  width: min(660px, calc(100vw - 36px));
  max-height: calc(100dvh - 56px);
  padding: 29px 35px 34px;
  border-radius: 20px;
  border: 1px solid #c9f6e34a;
  background: linear-gradient(135deg, #1a2a1f, #0e1913 65%, #0c170f);
  box-shadow: 0 30px 110px #000000a3, 0 0 90px #c9f6e305, inset 0 1px 0 #c9f6e31c;
  scrollbar-width: thin;
  scrollbar-color: #496b51 #101e13;
}
body:has(.app-shell) #modal::backdrop {
  background: #020906cc;
  backdrop-filter: blur(9px);
}
body:has(.app-shell) #modal .dialog-top {
  margin-bottom: 24px;
}
body:has(.app-shell) #modal .dialog-top::after {
  bottom: -12px;
  background: linear-gradient(90deg, #c9f6e33c, #c9f6e309 80%);
}
body:has(.app-shell) #modal .dialog-top .eyebrow {
  font-size: 9px;
  color: #a5c6ae;
}
body:has(.app-shell) #modal .icon-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border-color: #c9f6e325;
  color: #aac6b4;
  font-size: 23px;
  background: #c9f6e305;
}
body:has(.app-shell) #modal .dialog-title {
  margin-top: 32px;
  margin-bottom: 19px;
  color: #e5f5e9;
  font-size: 35px;
  font-weight: 460;
  line-height: 1.22;
  letter-spacing: -.053em;
}
body:has(.app-shell) #modal .dialog-description {
  color: #a7c1ad;
  font-size: 12px;
  line-height: 1.95;
  margin-bottom: 30px;
}
body:has(.app-shell) #modal .dialog-section {
  border-color: #c9f6e323;
  padding: 25px 0;
}
body:has(.app-shell) #modal .dialog-section h3 {
  color: #afd7bc;
  font-size: 11px;
  margin-bottom: 13px;
}
body:has(.app-shell) #modal .dialog-section p {
  color: #cee3d3;
  font-size: 13px;
  line-height: 1.95;
}
body:has(.app-shell) #modal .dialog-details {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 13px 23px;
  font-size: 11px;
  line-height: 1.8;
}
body:has(.app-shell) #modal .dialog-details dt {
  color: #99b3a1;
}
body:has(.app-shell) #modal .dialog-details dd {
  color: #cde3d3;
}
body:has(.app-shell) #modal .token-block {
  color: #c7f2d3;
}
body:has(.app-shell) #modal .token-copy {
  gap: 15px;
}
body:has(.app-shell) #modal .secondary-actions {
  border-color: #c9f6e324;
  padding-top: 22px;
}
body:has(.app-shell) #toast {
  border: 1px solid #c9f6e347;
  border-radius: 13px;
  background: linear-gradient(130deg, #244531f5, #132b1df5);
  color: #d2efdb;
  padding: 17px 21px;
  font-size: 12px;
  line-height: 1.85;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px #0000005e, inset 0 1px 0 #c9f6e312;
  z-index: 50;
}
body:has(.app-shell) #toast.error {
  border-color: #e9a8a84d;
  background: linear-gradient(130deg, #402925fa, #251b19fa);
  color: #f2c2b8;
}
.app-shell .inline-spinner,
body:has(.app-shell) #modal .inline-spinner {
  border-color: #c9f6e329;
  border-right-color: #c9f6e3;
}
.boot-state {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at center, #15271a, #080e0e 66%);
  gap: 28px;
}
.boot-state .brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #c9f6e314, #c9f6e303);
  border-color: #c9f6e336;
  box-shadow: 0 0 60px #c9f6e30b;
}
.boot-state .brand-mark svg {
  stroke: #c9f6e3;
  stroke-width: 1.7;
  width: 37px;
  height: 37px;
}
.boot-state p {
  font-size: 12px;
  color: #a2baa8;
}

/* Fine pointer interactions: content stays still, controls respond. */
@media (hover: hover) and (pointer: fine) {
  .app-shell .nav-button:hover:not(.active) {
    background: #c9f6e307;
    border-color: #c9f6e317;
    color: #d4ebdd;
    box-shadow: none;
  }
  .app-shell .nav-button:hover svg {
    opacity: 1;
    transform: translateX(1px);
  }
  .app-shell .new-project-link:hover,
  .app-shell .logout:hover,
  .app-shell .text-link:hover {
    color: #e0ffed;
  }
  .app-shell .project-switch select:hover {
    border-color: #c9f6e355;
    background: #c9f6e309;
  }
  .workspace-motion-toggle:hover:not(:disabled) {
    color: #d8f6e5;
    border-color: #c9f6e329;
    background: #c9f6e306;
  }
  :is(.app-shell, body:has(.app-shell) #modal) .button:hover:not(:disabled) {
    background: #c9f6e313;
    border-color: #c9f6e365;
    box-shadow: inset 0 1px 0 #c9f6e30a;
  }
  :is(.app-shell, body:has(.app-shell) #modal) .button.primary:hover:not(:disabled) {
    background: #dffff0;
    border-color: #dffff0;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px #c9f6e316, inset 0 1px 0 #ffffff80;
  }
  :is(.app-shell, body:has(.app-shell) #modal) .button.primary:hover:not(:disabled)::after {
    animation: workspace-sheen 600ms var(--workspace-ease);
  }
  :is(.app-shell, body:has(.app-shell) #modal) .button.danger:hover:not(:disabled) {
    background: #edaaa717;
    border-color: #edaaa763;
  }
  .app-shell .panel:hover {
    border-color: #c9f6e337;
    box-shadow: inset 0 1px 0 #ffffff07, 0 10px 35px #00000014;
  }
  .app-shell .task-card:hover {
    border-color: #c9f6e353;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px #00000026, inset 0 1px 0 #c9f6e30c;
  }
  .app-shell .request-card:hover,
  .app-shell .prompt-example:hover {
    border-color: #c9f6e34c;
  }
  .app-shell .filter-button:hover:not(.active) {
    background: #c9f6e30a;
    color: #d4eedc;
    border-color: #c9f6e32c;
  }
  .app-shell .item-title:hover {
    color: #c9f6e3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
  body:has(.app-shell) #modal .icon-button:hover {
    color: #ecfff2;
    background: #c9f6e310;
    border-color: #c9f6e34b;
  }
}

/* Continuous motion is confined to small, illustrative marks. */
@keyframes workspace-ring-turn {
  to { transform: rotate(360deg); }
}
@keyframes workspace-signal {
  0%, 16% { transform: translateX(-8px); opacity: 0; }
  28%, 67% { opacity: .85; }
  83%, 100% { transform: translateX(43px); opacity: 0; }
}
@keyframes workspace-status {
  0%, 100% { transform: scale(.82); opacity: .4; }
  55% { transform: scale(1.28); opacity: .75; }
}
@keyframes workspace-sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@media (prefers-reduced-motion: no-preference) {
  .workspace-orbit i::after,
  .app-shell .launcher-orbit > span::after,
  .app-shell .launcher-orbit > i::after {
    animation: workspace-ring-turn 17s linear infinite;
  }
  .workspace-orbit i:nth-child(2)::after {
    animation-duration: 23s;
    animation-direction: reverse;
  }
  .workspace-orbit i:nth-child(3)::after {
    animation-duration: 13s;
  }
  .app-shell .launcher-orbit > i::after {
    animation-duration: 13s;
    animation-direction: reverse;
  }
  .app-shell .status-dot::after {
    animation: workspace-status 4.5s ease-in-out infinite;
  }
  .app-shell .circuit-connector > span::after {
    animation: workspace-signal 4.5s linear infinite;
  }
  .app-shell .circuit-connector:nth-of-type(4) > span::after {
    animation-delay: 1.7s;
  }
}

/* ui-motion.js owns entrances; keeping a second CSS entrance would move content twice. */
.app-shell .reveal,
.app-shell .reveal #view-body > *,
body:has(.app-shell) #modal[open],
body:has(.app-shell) #modal[open]::backdrop {
  animation: none;
}

@media (min-width: 1600px) {
  .app-shell { grid-template-columns: 274px minmax(0, 1fr); }
  .app-shell .sidebar { padding-inline: 23px; }
  .app-shell .content { padding: 54px 62px 100px; }
  .app-shell .topbar { padding-inline: 62px; }
  .app-shell .page-heading { min-height: 195px; }
  .app-shell .panel { padding: 32px; }
  .app-shell .workspace-orbit { right: 26px; width: 270px; height: 217px; }
}
@media (max-width: 1250px) {
  .app-shell { grid-template-columns: 225px minmax(0, 1fr); }
  .app-shell .sidebar { padding-inline: 14px; }
  .app-shell .content { padding: 38px 30px 68px; }
  .app-shell .topbar { padding-inline: 30px; }
  .app-shell .page-heading { gap: 22px; min-height: 171px; }
  .app-shell .page-description { font-size: 12px; }
  .app-shell .heading-actions { flex-wrap: nowrap; }
  .app-shell .heading-actions .button { padding-inline: 12px; font-size: 10px; }
  .app-shell .panel { padding: 24px; }
  .app-shell .overview-grid { grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr); }
  .app-shell .messages-layout { grid-template-columns: minmax(0, 1.3fr) minmax(270px, 1fr); }
  .app-shell .workspace-orbit { right: -5px; opacity: .48; }
  .app-shell .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell .launcher-panel { padding: 29px; }
  .app-shell .launcher-intro { grid-template-columns: 76px minmax(0, 1fr); gap: 25px; }
  .app-shell .launcher-orbit { width: 75px; height: 75px; }
  .app-shell .launcher-orbit > b { width: 46px; height: 46px; font-size: 28px; border-radius: 13px; }
  .app-shell .prompt-grid { grid-template-columns: 1fr; }
  .app-shell .prompt-example { gap: 16px; }
  .app-shell .prompt-example .button { width: auto; min-width: 228px; }
  .app-shell .circuit-track { grid-template-columns: minmax(0, 1fr) 27px minmax(0, 1.15fr) 27px minmax(0, 1fr); gap: 10px; }
  .app-shell .circuit-node { gap: 9px; }
  .app-shell .circuit-node strong { font-size: 10px; }
  .app-shell .circuit-node div > span { font-size: 9px; }
  .app-shell .circuit-glyph { width: 31px; height: 32px; }
  .app-shell .circuit-connector > span::after { width: 6px; }
}
@media (max-width: 1050px) {
  .app-shell .page-heading { flex-direction: column; align-items: stretch; gap: 25px; }
  .app-shell .page-heading > div:first-child { max-width: 640px; }
  .app-shell .heading-actions { align-self: flex-start; flex-wrap: wrap; }
  .app-shell .page-description { padding-right: 40px; }
  .app-shell .workspace-orbit { top: -40px; right: 0; opacity: .28; }
  .app-shell .overview-grid,
  .app-shell .messages-layout,
  .app-shell .team-grid,
  .app-shell .integration-grid { grid-template-columns: 1fr; }
  .app-shell .composer { position: static; }
  .app-shell .topbar { gap: 18px; }
  .app-shell .topbar-user { gap: 9px; }
  .app-shell .user-name { max-width: 90px; }
  .workspace-motion-toggle > span { display: none; }
  .app-shell .team-grid .section-heading { flex-wrap: wrap; }
  .app-shell .requests-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .app-shell { grid-template-columns: 202px minmax(0, 1fr); }
  .app-shell .sidebar { padding-inline: 11px; }
  .app-shell .sidebar .brand { gap: 8px; padding-inline: 7px; }
  .app-shell .brand-title { font-size: 20px; }
  .app-shell .brand-subtitle { font-size: 8px; }
  .app-shell .brand-mark { width: 32px; }
  .app-shell .brand-mark svg { width: 31px; }
  .app-shell .nav-button { font-size: 11px; gap: 10px; padding-inline: 12px; }
  .app-shell .content { padding-inline: 25px; }
  .app-shell .topbar { padding-inline: 25px; }
  .app-shell .user-name { display: none; }
  .app-shell .breadcrumb > span { display: none; }
  .app-shell .stat { padding: 19px 17px; }
  .app-shell .stat-label { font-size: 9px; }
  .app-shell .stat-number { font-size: 41px; }
  .app-shell .stat-note { font-size: 9px; }
  .app-shell .stat::after { display: none; }
  .app-shell .circuit-glyph { display: none; }
  .app-shell .circuit-track { gap: 7px; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.1fr) 22px minmax(0, 1fr); }
}

/* On narrow screens this becomes a comfortable, scrollable command deck. */
@media (max-width: 700px) {
  .app-shell { display: block; }
  .app-shell .sidebar {
    position: relative;
    z-index: 4;
    height: auto;
    width: auto;
    padding: 22px 20px 0;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #c9f6e31c;
    background: linear-gradient(140deg, #142218, #0a1410 82%);
  }
  .app-shell .sidebar .brand { padding: 0; gap: 11px; margin-bottom: 23px; }
  .app-shell .brand-title { font-size: 23px; }
  .app-shell .brand-subtitle { font-size: 9px; margin-top: 3px; }
  .app-shell .brand-mark { width: 35px; height: 36px; }
  .app-shell .brand-mark svg { width: 34px; height: 34px; }
  .app-shell .project-switch { display: flex; gap: 12px; align-items: center; margin: 0 0 21px; padding: 0; border: 0; }
  .app-shell .project-switch select { min-height: 43px; font-size: 12px; padding: 11px; border-radius: 9px; flex: 1; width: 0; }
  .app-shell .project-switch label { display: none; }
  .app-shell .new-project-link { padding: 10px 0; font-size: 10px; gap: 7px; flex-shrink: 0; }
  .app-shell .navigation { flex-direction: row; gap: 6px; margin-inline: -2px; overflow-x: auto; padding: 2px 2px 15px; scrollbar-width: none; }
  .app-shell .navigation::-webkit-scrollbar { display: none; }
  .app-shell .nav-button { min-height: 39px; padding: 10px 12px; border-radius: 9px; flex-shrink: 0; gap: 7px; white-space: nowrap; font-size: 10px; }
  .app-shell .nav-button svg { width: 15px; height: 15px; }
  .app-shell .nav-button.active::before { top: auto; bottom: -1px; left: 13px; right: 13px; height: 1px; width: auto; }
  .app-shell .nav-count { min-width: 18px; height: 18px; font-size: 9px; }
  .app-shell .sidebar-bottom { display: none; }
  .app-shell .topbar { min-height: 66px; padding: 14px 21px; gap: 14px; }
  .app-shell .breadcrumb { font-size: 10px; gap: 6px; }
  .app-shell .breadcrumb > span { display: none; }
  .app-shell .topbar-user { gap: 9px; }
  .app-shell .topbar .avatar { display: none; }
  .app-shell .topbar .user-name { display: none; }
  .app-shell .topbar .text-link { font-size: 9px; white-space: nowrap; }
  .app-shell .logout { font-size: 9px; padding-left: 10px; margin-left: 0; }
  .workspace-motion-toggle { min-height: 33px; min-width: 30px; padding: 7px; }
  .workspace-motion-toggle > span { display: none; }
  .workspace-motion-toggle svg { width: 15px; height: 15px; }
  .app-shell .content { padding: 35px 21px 60px; }
  .app-shell h1 { font-size: clamp(32px, 7.8vw, 43px); letter-spacing: -.055em; line-height: 1.15; }
  .app-shell .page-heading { min-height: 0; margin-bottom: 27px; padding-bottom: 29px; gap: 23px; align-items: stretch; }
  .app-shell .page-heading .eyebrow { margin-bottom: 18px; font-size: 8px; letter-spacing: .09em; }
  .app-shell .page-heading .eyebrow::before { width: 16px; }
  .app-shell .page-description { font-size: 12px; line-height: 1.9; margin-top: 19px; padding: 0; max-width: 470px; }
  .app-shell .heading-actions { gap: 9px; width: 100%; padding: 0; }
  .app-shell .heading-actions .button { flex: 1; min-height: 43px; padding: 12px 13px; font-size: 11px; }
  .app-shell .workspace-orbit { top: -23px; right: -4px; width: 156px; height: 139px; opacity: .2; }
  .workspace-orbit i { inset: 14px 4px; }
  .workspace-orbit i:nth-child(2) { inset: 20px 12px; }
  .workspace-orbit i:nth-child(3) { inset: 30px 24px; }
  .workspace-orbit > span { inset: 54px 62px; border-radius: 9px; }
  .app-shell :is(.overview-grid, .team-grid, .messages-layout, .integration-grid) { gap: 19px; }
  .app-shell .panel { padding: 24px 21px; border-radius: 14px; }
  .app-shell .panel + .panel { margin-top: 21px; }
  .app-shell :is(.overview-grid, .team-grid, .messages-layout, .integration-grid) > .panel + .panel { margin-top: 0; }
  .app-shell .section-heading { gap: 14px; margin-bottom: 24px; }
  .app-shell .section-heading h2 { font-size: 20px; line-height: 1.4; }
  .app-shell .section-heading .muted { font-size: 9px; }
  .app-shell .section-heading .text-link { font-size: 10px; flex-shrink: 0; }
  .app-shell .stat-row { gap: 9px; margin-bottom: 21px; }
  .app-shell .stat { padding: 17px 12px 16px; border-radius: 12px; }
  .app-shell .stat-label { font-size: 9px; line-height: 1.65; min-height: 29px; }
  .app-shell .stat-number { font-size: 37px; margin-top: 9px; line-height: 1.2; }
  .app-shell .stat-note { font-size: 8px; line-height: 1.8; margin-top: 7px; }
  .app-shell .stat::after { display: none; }
  .app-shell .stat::before { right: -58px; bottom: -80px; }
  .app-shell .project-circuit { padding: 22px 21px 24px; border-radius: 14px; margin-bottom: 21px; }
  .app-shell .circuit-heading { align-items: flex-start; gap: 18px; margin-bottom: 25px; }
  .app-shell .circuit-heading h2 { font-size: 15px; max-width: 145px; }
  .app-shell .circuit-state { max-width: 110px; text-align: right; font-size: 9px; line-height: 1.75; }
  .app-shell .circuit-track { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 11px; }
  .app-shell .circuit-node { gap: 14px; }
  .app-shell .circuit-node strong { font-size: 12px; }
  .app-shell .circuit-node div > span { font-size: 10px; margin-top: 5px; }
  .app-shell .circuit-glyph { display: block; width: 34px; height: 35px; }
  .app-shell .circuit-connector { height: 19px; min-height: 19px; margin-left: 16px; overflow: visible; align-self: stretch; align-items: flex-start; justify-content: center; }
  .app-shell .circuit-connector > span { width: 1px; height: 19px; top: 0; left: 0; background: #c9f6e341; }
  .app-shell .circuit-connector > span::after { display: none; }
  .app-shell .circuit-connector small { margin-left: 31px; font-size: 9px; }
  .app-shell .intro-flow { gap: 10px; padding-top: 22px; margin-top: 25px; font-size: 9px; line-height: 1.85; }
  .app-shell .flow-step b { font-size: 11px; line-height: 1.65; }
  .app-shell .flow-arrow { font-size: 12px; }
  .app-shell .empty { padding: 26px 5px; font-size: 12px; }
  .app-shell .empty strong { font-size: 15px; }
  .app-shell .empty svg { width: 29px; height: 29px; margin-bottom: 16px; }
  .app-shell .task-row { padding: 20px 0; gap: 10px; flex-wrap: wrap; }
  .app-shell .task-row .item-main { flex-basis: calc(100% - 35px); }
  .app-shell .task-row > .badge { margin-left: 34px; max-width: none; font-size: 9px; }
  .app-shell .task-row:has(.item-meta) > .badge { margin-top: 0; }
  .app-shell .item-title { font-size: 13px; }
  .app-shell .item-meta { font-size: 9px; line-height: 1.85; gap: 6px; }
  .app-shell .filter-bar { gap: 6px; margin-bottom: 22px; }
  .app-shell .filter-button { font-size: 10px; padding: 9px 12px; min-height: 36px; }
  .app-shell .task-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-shell .task-card { padding: 24px; border-radius: 14px; min-height: 213px; }
  .app-shell .task-card h3 { font-size: 17px; margin-top: 21px; }
  .app-shell .task-card .card-summary { font-size: 12px; }
  .app-shell .request-card,
  .app-shell .requests-grid .request-card { padding: 22px; border-radius: 12px; }
  .app-shell .request-card h3 { font-size: 16px; }
  .app-shell .request-card .button { width: 100%; }
  .app-shell .request-card p { font-size: 12px; }
  .app-shell .request-footer { font-size: 10px; margin-top: 24px; }
  .app-shell .requests-grid { gap: 16px; }
  .app-shell .message-time { margin-left: 0; flex-basis: 100%; margin-top: 4px; }
  .app-shell .message-text { font-size: 13px; }
  .app-shell .message-feed { max-height: 570px; padding-right: 5px; }
  .app-shell .message-top { gap: 9px; }
  .app-shell .composer h2 { font-size: 22px; }
  .app-shell :is(.member-row, .agent-row) { flex-wrap: wrap; gap: 11px; }
  .app-shell .member-name { font-size: 13px; }
  .app-shell .member-email { font-size: 11px; }
  .app-shell .member-actions { margin-left: 50px; flex-basis: calc(100% - 50px); }
  .app-shell .member-actions .button { margin-left: auto; }
  .app-shell .integration-title { gap: 15px; margin-bottom: 24px; }
  .app-shell .integration-title h2 { font-size: 25px; }
  .app-shell .integration-description { font-size: 12px; }
  .app-shell .fact { gap: 16px; font-size: 11px; }
  .app-shell .integration-full > .section-heading { flex-wrap: wrap; align-items: flex-start; gap: 17px; }
  .app-shell .integration-full > .section-heading h2 { max-width: 270px; }
  .app-shell .project-goal { padding: 24px 22px; }
  .app-shell .project-goal h2 { font-size: 24px; margin-top: 13px; }
  .app-shell .project-goal .section-heading { align-items: flex-start; gap: 16px; }
  .app-shell .project-goal .button { padding: 9px 10px; font-size: 9px; max-width: 103px; white-space: normal; }
  .app-shell .project-goal p { font-size: 12px; }
  .app-shell .launcher-panel { padding: 27px 23px; margin-top: 21px; }
  .app-shell .launcher-intro { display: block; }
  .app-shell .launcher-orbit { width: 78px; height: 78px; margin-bottom: 26px; margin-left: 0; }
  .app-shell .launcher-orbit > b { width: 49px; height: 49px; font-size: 29px; border-radius: 14px; }
  .app-shell .launcher-intro h2 { font-size: 30px; font-weight: 430; letter-spacing: -.05em; line-height: 1.22; margin-top: 17px; }
  .app-shell .launcher-intro p { font-size: 12px; margin-top: 21px; }
  .app-shell .launcher-intro .eyebrow { font-size: 8px; }
  .app-shell .launcher-actions { gap: 10px; flex-direction: column; align-items: stretch; margin-top: 25px; }
  .app-shell .launcher-actions .button { white-space: normal; min-height: 45px; font-size: 11px; }
  .app-shell .launcher-steps { grid-template-columns: 1fr; gap: 15px; margin-top: 29px; padding-top: 24px; }
  .app-shell .launcher-steps > div { font-size: 11px; gap: 14px; }
  .app-shell .launcher-list-heading { align-items: flex-start; gap: 16px; padding-top: 23px; }
  .app-shell .launcher-list-heading h3 { font-size: 12px; line-height: 1.8; }
  .app-shell .launcher-list-heading .text-link { font-size: 10px; padding-top: 3px; flex-shrink: 0; }
  .app-shell .launcher-row { flex-direction: column; align-items: flex-start; gap: 13px; padding-block: 20px; }
  .app-shell .launcher-row-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .app-shell .prompt-library { padding: 27px 22px; }
  .app-shell .prompt-library h2 { font-size: 26px; letter-spacing: -.05em; margin-top: 14px; }
  .app-shell .prompt-library .tab-description { font-size: 12px; }
  .app-shell .prompt-grid { margin-top: 25px; gap: 15px; }
  .app-shell .prompt-example { padding: 23px 19px; gap: 18px; }
  .app-shell .prompt-example h3 { font-size: 17px; }
  .app-shell .prompt-example .button { min-width: 0; width: 100%; font-size: 10px; min-height: 39px; }
  :is(.app-shell, body:has(.app-shell) #modal) .field :is(input, textarea, select) { font-size: 16px; min-height: 47px; padding: 12px 13px; }
  :is(.app-shell, body:has(.app-shell) #modal) .field-label { font-size: 12px; }
  :is(.app-shell, body:has(.app-shell) #modal) .field-hint { font-size: 11px; }
  :is(.app-shell, body:has(.app-shell) #modal) .field-row { grid-template-columns: 1fr; gap: 0; }
  :is(.app-shell, body:has(.app-shell) #modal) .form-actions { gap: 9px; margin-top: 27px; }
  :is(.app-shell, body:has(.app-shell) #modal) .form-actions .button { flex: 1; min-height: 44px; white-space: normal; }
  :is(.app-shell, body:has(.app-shell) #modal) .notice { font-size: 11px; padding: 15px 16px; }
  body:has(.app-shell) #modal { padding: 23px 24px 27px; border-radius: 17px; width: calc(100vw - 28px); max-height: calc(100dvh - 32px); }
  body:has(.app-shell) #modal .dialog-title { font-size: 30px; margin-top: 31px; line-height: 1.22; margin-bottom: 18px; }
  body:has(.app-shell) #modal .dialog-description { font-size: 12px; margin-bottom: 27px; }
  body:has(.app-shell) #modal .dialog-details { grid-template-columns: 88px minmax(0, 1fr); gap: 13px 18px; font-size: 11px; }
  body:has(.app-shell) #modal .token-copy { flex-wrap: wrap; gap: 11px; }
  body:has(.app-shell) #modal .dialog-section { padding-block: 23px; }
  body:has(.app-shell) #toast { bottom: 18px; right: 18px; max-width: calc(100vw - 36px); padding: 16px 19px; font-size: 12px; }
  .app-shell .status-strip { padding: 17px; font-size: 11px; gap: 15px; flex-wrap: wrap; }
  .app-shell .refresh-info { text-align: left; font-size: 9px; margin-top: 26px; }
}
@media (max-width: 370px) {
  .app-shell .sidebar { padding-inline: 16px; }
  .app-shell .content { padding-inline: 16px; }
  .app-shell .topbar { padding-inline: 17px; gap: 10px; }
  .app-shell .topbar-user { gap: 6px; }
  .app-shell .breadcrumb strong { max-width: 88px; }
  .app-shell .panel { padding-inline: 18px; }
  .app-shell .stat-row { gap: 7px; }
  .app-shell .stat { padding-inline: 10px; }
  .app-shell .stat-label { font-size: 8px; }
  .app-shell .stat-number { font-size: 33px; }
  .app-shell .stat-note { font-size: 8px; }
  .app-shell .launcher-panel { padding-inline: 21px; }
  .app-shell .launcher-intro h2 { font-size: 28px; }
  .app-shell .prompt-example { padding-inline: 16px; }
  .app-shell .prompt-example h3 { font-size: 16px; }
  .app-shell .section-heading h2 { font-size: 18px; }
  body:has(.app-shell) #modal { padding-inline: 20px; }
  body:has(.app-shell) #modal .dialog-title { font-size: 28px; }
}

/* Pausing motion never hides content or changes a form's current state. */
html[data-ui-motion='off'] :is(.app-shell, #modal, #toast),
html[data-ui-motion='off'] :is(.app-shell, #modal, #toast) *,
html[data-ui-motion='off'] :is(.app-shell, #modal, #toast) *::before,
html[data-ui-motion='off'] :is(.app-shell, #modal, #toast) *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html[data-ui-motion='off'] .app-shell .reveal,
html[data-ui-motion='off'] .app-shell .reveal #view-body > * {
  opacity: 1;
  transform: none;
}
html[data-ui-motion='off'] .app-shell .task-card:hover,
html[data-ui-motion='off'] :is(.app-shell, body:has(.app-shell) #modal) .button:hover,
html[data-ui-motion='off'] :is(.app-shell, body:has(.app-shell) #modal) .button:active,
html[data-ui-motion='off'] .app-shell .nav-button:hover svg {
  transform: none !important;
}
html[data-ui-motion='off'] ::view-transition-old(project-view),
html[data-ui-motion='off'] ::view-transition-new(project-view) {
  animation: none !important;
}
html[data-page-hidden='true'] :is(.app-shell, #modal, #toast) *,
html[data-page-hidden='true'] :is(.app-shell, #modal, #toast) *::before,
html[data-page-hidden='true'] :is(.app-shell, #modal, #toast) *::after {
  animation-play-state: paused !important;
}
html[data-input='keyboard'] body:has(.app-shell) #modal[open] {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  :is(.app-shell, body:has(.app-shell) #modal, body:has(.app-shell) #toast),
  :is(.app-shell, body:has(.app-shell) #modal, body:has(.app-shell) #toast) *,
  :is(.app-shell, body:has(.app-shell) #modal, body:has(.app-shell) #toast) *::before,
  :is(.app-shell, body:has(.app-shell) #modal, body:has(.app-shell) #toast) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .app-shell .task-card:hover,
  :is(.app-shell, body:has(.app-shell) #modal) .button:hover,
  :is(.app-shell, body:has(.app-shell) #modal) .button:active,
  .app-shell .nav-button:hover svg {
    transform: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  body:has(.app-shell) #modal::backdrop { backdrop-filter: none; background: #020906ed; }
  body:has(.app-shell) #toast { backdrop-filter: none; }
}
