/* Bundled Magnetic fonts. No local() lookup: every user receives these exact assets.
   Keep CDS family names, weights and fallbacks unchanged. Vite rewrites relative URLs
   for dev, production and subdirectory hosting. Sources/notices: docs/fonts.md. */

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Italic-hKgVlhAp.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-MediumItalic-eHnJB7Jg.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-SemiBoldItalic-BCv_V4rY.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-BoldItalic-BdQXFVxU.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Regular-aSe4hpkI.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Medium-COKxvYe5.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-SemiBold-CXOlOdAT.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Bold-DHeK16mP.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-Italic-miA2IlNG.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-MediumItalic-BIZh6gGH.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-SemiBoldItalic-CnMSyToc.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-BoldItalic-wr0YQra_.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-Regular-Bdp2M05j.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-Medium-IwbejJhe.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-SemiBold-VfbYQRNC.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/RobotoMono-Bold-gL1XQ8pZ.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharp Sans";
  src: url("/assets/SharpSans-Bold-Df83NUso.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* The full app sets this on every element. The standalone protohost build does not,
   so a width of 100% plus padding would grow past the phone and shift centered content right. */
.nimbus-demo,
.nimbus-demo *,
.nimbus-demo *::before,
.nimbus-demo *::after {
  box-sizing: border-box;
}

.nimbus-demo {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 18px 24px;
  background: #080d14;
  color: #f3f6fa;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.nimbus-demo-bar {
  width: min(390px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
}

.nimbus-demo-bar > a {
  justify-self: start;
}

.nimbus-demo-bar > button {
  justify-self: end;
}

.nimbus-demo-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: center;
}

.nimbus-demo-switch select {
  appearance: none;
  margin: 0;
  padding: 6px 26px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #121a24;
  color: #f3f6fa;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-demo-switch svg {
  position: absolute;
  right: 10px;
  color: #9fadbf;
  pointer-events: none;
}

.nimbus-demo-bar a,
.nimbus-demo-bar button {
  color: #9fadbf;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.nimbus-demo-bar a:hover,
.nimbus-demo-bar button:hover {
  color: #f3f6fa;
}

.nimbus-device {
  position: relative;
  width: min(390px, 100%);
  height: min(780px, calc(100dvh - 72px));
  background: #000;
  border: 10px solid #1b222c;
  border-radius: 48px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.nimbus-device::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
  pointer-events: none;
}

.nimbus-device-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 55% at 70% 115%, rgba(88, 28, 160, 0.42), transparent 58%),
    radial-gradient(80% 40% at 0% 100%, rgba(37, 24, 92, 0.35), transparent 52%),
    #0f161e;
}

.nimbus-device-screen.is-launch {
  background:
    radial-gradient(160% 120% at 62% 78%, rgba(64, 18, 118, 0.55), transparent 74%),
    radial-gradient(130% 90% at 0% 88%, rgba(26, 14, 68, 0.44), transparent 70%),
    #0b1118;
}

.nimbus-device-screen.is-lock {
  background:
    radial-gradient(90% 55% at 18% 0%, rgba(70, 110, 160, 0.28), transparent 60%),
    radial-gradient(80% 50% at 100% 85%, rgba(24, 42, 78, 0.4), transparent 62%),
    #101820;
}

.nimbus-device-screen.is-launch .nimbus-demo-status {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.nimbus-demo-status {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  padding: 18px 26px 0;
  font-size: 12px;
  font-weight: 600;
  color: #9fadbf;
  font-variant-numeric: tabular-nums;
}

.nimbus-status-marks {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f3f6fa;
}

.nimbus-demo-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}

.nimbus-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* The empty status row is 32px. On a chat screen it leaves the flow so the fade
   reaches the top edge of the phone, and the header drops by that same 32px. */
.nimbus-device-screen:has(.nimbus-demo-scroll.is-under) .nimbus-demo-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.nimbus-device-screen:has(.nimbus-demo-scroll.is-under) .nimbus-who {
  top: 32px;
}

.nimbus-demo-scroll.is-under {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.22) 32px,
    rgba(0, 0, 0, 0.4) 136px,
    #000 208px,
    #000 calc(100% - 20px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.22) 32px,
    rgba(0, 0, 0, 0.4) 136px,
    #000 208px,
    #000 calc(100% - 20px),
    transparent 100%
  );
}

.nimbus-composer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
}

.nimbus-composer-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 8px 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #121a26;
}

.nimbus-composer-field:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 2px #2f6fe0;
}

.nimbus-composer input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 6px;
  background: transparent;
  color: #f3f6fa;
  font: inherit;
  font-size: 14px;
  box-shadow: none;
}

.nimbus-composer input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.nimbus-composer button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #2f6fe0;
  color: #fff;
  cursor: pointer;
}

.nimbus-composer button.is-voice {
  background: #1c2633;
  color: #c5d0de;
}

.nimbus-composer button.is-live {
  color: #9ee4ff;
  filter:
    drop-shadow(0 0 2px rgba(26, 164, 255, 0.95))
    drop-shadow(0 0 8px rgba(26, 164, 255, 0.55));
}

.nimbus-listen {
  margin: 0;
  padding: 0 16px 2px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ee4ff;
  text-shadow: 0 0 10px rgba(26, 164, 255, 0.55);
}

.nimbus-listen.is-note {
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.35;
}

.nimbus-send-hold {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  padding: 72px 16px 152px;
  background-image: linear-gradient(
    to bottom,
    rgba(2, 11, 20, 0) 0%,
    rgba(2, 11, 20, 0.12) 46%,
    rgba(2, 11, 20, 0.28) 100%
  );
  color: #bbc1c9;
}

.nimbus-send-hold-card {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(2, 200, 255, 0.34);
  border-radius: 20px;
  /* rgba(), not an 8-digit hex. The v4 publisher otherwise rewrites this
     alpha into #0d1e3038, which Protohost drops, so the card loses its fill. */
  background-color: rgba(13, 30, 48, 0.22);
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
  backdrop-filter: blur(10px) saturate(1.35);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.nimbus-send-hold-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nimbus-send-hold-head p {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #bbc1c9;
}

.nimbus-send-ring-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.nimbus-send-ring {
  display: block;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 6px rgba(2, 200, 255, 0.45));
}

.nimbus-send-ring circle {
  fill: none;
  stroke-width: 3.5;
}

.nimbus-send-ring .track {
  stroke: rgba(2, 200, 255, 0.22);
}

.nimbus-send-ring .value {
  stroke: #02c8ff;
  stroke-linecap: round;
}

.nimbus-send-seconds {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 650;
  color: #02c8ff;
}

.nimbus-send-bar {
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: rgba(2, 200, 255, 0.16);
  overflow: hidden;
}

.nimbus-send-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: #02c8ff;
  transform-origin: left center;
}

.nimbus-send-preview {
  margin: 10px 2px 12px;
  color: #f4fbff;
  font-size: 15px;
  line-height: 22px;
  text-shadow: 0 1px 8px rgba(2, 11, 20, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nimbus-send-hold button {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #02c8ff;
  color: #071525;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
}

.nimbus-send-hold button:hover {
  background: #02c8ff;
  opacity: 0.9;
}

.nimbus-send-hold button:focus-visible {
  outline: 2px solid #f4fbff;
  outline-offset: 2px;
}

@media (prefers-reduced-transparency: reduce) {
  .nimbus-send-hold {
    background: rgba(2, 11, 20, 0.45);
  }

  .nimbus-send-hold-card {
    background: rgba(7, 21, 37, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nimbus-voice-tag {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d7ecff;
}

.nimbus-slip {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fadbf;
}

.nimbus-composer button.nimbus-composer-plus {
  width: 32px;
  height: 32px;
  background: transparent;
  color: #c5d0de;
}

.nimbus-launch {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 36px 28px 64px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.nimbus-launch-glow {
  display: block;
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  filter: none;
  box-shadow:
    0 0 8px rgba(2, 200, 255, 0.7),
    0 0 36px rgba(2, 200, 255, 0.32);
}

.nimbus-who-mark.nimbus-launch-mark {
  display: block;
  width: 148px;
  height: 148px;
  background: transparent;
  overflow: hidden;
  filter: none;
}

.nimbus-who-mark.nimbus-launch-mark img {
  border-radius: 50%;
}

.nimbus-launch h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #f3f7fb;
}

.nimbus-launch p {
  margin: 0;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.35;
  color: #c5d0de;
}


.nimbus-who {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 0;
  pointer-events: none;
}

.nimbus-who-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(150deg, #02c8ff 0%, #1869ff 48%, #0a5fe8 100%);
  filter:
    drop-shadow(0 0 4px rgba(26, 164, 255, 0.95))
    drop-shadow(0 0 16px rgba(26, 164, 255, 0.7))
    drop-shadow(0 0 32px rgba(46, 170, 255, 0.45));
}

.nimbus-who-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nimbus-who-float {
  animation: nimbus-hover 3.6s ease-in-out infinite;
}

@keyframes nimbus-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4.5%); }
}

button.nimbus-who-mark {
  padding: 0;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

.nimbus-who-name {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: #161f2c;
  color: #f3f6fa;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nimbus-goal {
  pointer-events: none;
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  padding: 10px 14px 12px;
  border-radius: 16px;
  background: rgba(12, 18, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.nimbus-goal p,
.nimbus-goal strong,
.nimbus-goal span,
.nimbus-goal em {
  margin: 0;
  font-style: normal;
}

.nimbus-goal p {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f8fa3;
}

.nimbus-goal strong {
  font-size: 14px;
  font-weight: 650;
  color: #f3f6fa;
}

.nimbus-goal span,
.nimbus-goal em {
  font-size: 12px;
  line-height: 1.35;
  color: #9fadbf;
}

.nimbus-turn:has(.nimbus-goal-msg),
.nimbus-msg.is-goal {
  max-width: 100%;
  min-width: 0;
}

.nimbus-msg.is-goal .nimbus-msg-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nimbus-goal-msg {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(120, 196, 255, 0.2), transparent 58%),
    #1b2636;
  border: 1px solid rgba(168, 220, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(150, 214, 255, 0.16),
    0 0 14px rgba(96, 186, 255, 0.34),
    0 0 28px rgba(82, 156, 255, 0.16);
  text-align: left;
}

.nimbus-goal-msg p,
.nimbus-goal-msg strong,
.nimbus-goal-msg span,
.nimbus-goal-msg em {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-style: normal;
}

.nimbus-goal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f8fa3;
}

.nimbus-goal-kicker svg {
  color: #4aa8ff;
  flex: 0 0 auto;
}

.nimbus-goal-msg strong {
  font-size: 15px;
  font-weight: 650;
  color: #f3f6fa;
}

.nimbus-goal-msg span,
.nimbus-goal-msg em {
  font-size: 13px;
  line-height: 1.35;
  color: #9fadbf;
}

.nimbus-goal-msg hr {
  width: 100%;
  height: 1px;
  margin: 16px 0;
  border: 0;
  background: rgba(214, 230, 244, 0.22);
}

.nimbus-goal-msg-body {
  margin-top: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: #e6edf5;
}

.nimbus-delete-modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 24px;
}

.nimbus-delete-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(5, 10, 16, 0.72);
  cursor: pointer;
}

.nimbus-delete-card {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #121a24;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.nimbus-delete-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.nimbus-delete-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f3f7fb;
}

.nimbus-delete-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #c5d0de;
}

.nimbus-delete-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.nimbus-delete-actions button {
  flex: 1 1 0;
  height: 40px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-delete-actions button.is-cancel {
  background: #1c2a3a;
  color: #f3f7fb;
}

.nimbus-delete-actions button.is-delete {
  background: #e15b64;
  color: #fff;
}

.nimbus-avatar-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
}

.nimbus-avatar-sheet {
  pointer-events: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.nimbus-avatar-sheet-bar {
  align-self: stretch;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
}

.nimbus-avatar-close {
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(12, 18, 28, 0.94);
  color: #d7ecff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  transform: translateY(-50%);
  cursor: pointer;
}

.nimbus-avatar-mode {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(12, 18, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.nimbus-avatar-mode button {
  border: 0;
  background: transparent;
  color: #9fadbf;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.nimbus-avatar-mode button[aria-selected="true"] {
  background: #1c2a3a;
  color: #f3f7fb;
  box-shadow: 0 0 0 1px rgba(158, 228, 255, 0.4);
}

.nimbus-avatar-status {
  margin: 0;
  color: #d7ecff;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.nimbus-avatar-menu {
  pointer-events: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  padding: 8px 6px;
  border-radius: 22px;
  background: rgba(12, 18, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.nimbus-avatar-menu > button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d7ecff;
  cursor: pointer;
}

.nimbus-avatar-menu > button:disabled {
  opacity: 0.28;
  cursor: default;
}

.nimbus-avatar-window {
  position: relative;
  flex: 1 1 auto;
  height: 84px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - 32px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - 32px),
    transparent 100%
  );
}

.nimbus-avatar-track {
  position: absolute;
  left: 18px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 280ms ease;
}

.nimbus-avatar-track button {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #101820;
  cursor: pointer;
  opacity: 0.72;
  transform: scale(0.9);
  transition: transform 280ms ease, opacity 280ms ease, box-shadow 280ms ease;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.nimbus-avatar-track button.is-centered:not(.is-selected) {
  opacity: 0.9;
  transform: scale(0.96);
}

.nimbus-avatar-track button.is-selected {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 2px #9ee4ff, 0 0 14px rgba(26, 164, 255, 0.55);
}

.nimbus-avatar-track button.is-holding {
  opacity: 1;
  transform: scale(0.82);
  box-shadow: 0 0 0 2px #ff8d8d;
}

.nimbus-avatar-track button.nimbus-avatar-add {
  display: grid;
  place-items: center;
  background: transparent;
  color: #d7ecff;
  border: 1.5px solid rgba(215, 236, 255, 0.72);
  opacity: 0.92;
  box-shadow: none;
}

.nimbus-avatar-track button.nimbus-avatar-add.is-centered {
  opacity: 1;
  transform: scale(1);
}

.nimbus-avatar-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nimbus-avatar-menu.is-customize {
  align-items: stretch;
  padding: 12px 10px 14px;
  max-height: min(490px, calc(100dvh - 280px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.nimbus-looks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.nimbus-looks section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nimbus-looks h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7f8fa3;
}

.nimbus-looks-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 4px;
}

.nimbus-looks button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9fadbf;
  font: inherit;
  font-size: 10.5px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.nimbus-looks button > span:last-child {
  min-height: 2.4em;
}

.nimbus-looks button.is-selected {
  color: #f3f7fb;
}

.nimbus-look-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #101820;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nimbus-looks button.is-selected .nimbus-look-mark {
  box-shadow: 0 0 0 2px #9ee4ff, 0 0 14px rgba(26, 164, 255, 0.55);
}

.nimbus-look-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nimbus-avatar-track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nimbus-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 196px 14px 36px;
}

.nimbus-time {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #6f7d8f;
}

.nimbus-chat > .nimbus-turn:first-child .nimbus-time {
  margin-top: 8px;
}

.nimbus-turn {
  scroll-margin-top: 96px;
}

.nimbus-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.nimbus-msg.is-follow {
  margin-top: 3px;
}

.nimbus-msg.is-you {
  flex-direction: row-reverse;
}

.nimbus-msg-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: fit-content;
  max-width: 86%;
}

.nimbus-msg.is-you .nimbus-msg-body {
  align-items: flex-end;
  max-width: 78%;
}

.nimbus-msg.is-ask .nimbus-msg-body {
  width: 100%;
  max-width: 100%;
}

.nimbus-msg-bubble {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.45;
}

.nimbus-msg.is-nimbus .nimbus-msg-bubble {
  background: #1b2636;
  color: #e6edf5;
}

.nimbus-msg-body:has(.nimbus-goat-connect) {
  width: 100%;
  max-width: 92%;
}

.nimbus-goat-connect {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 13px;
  border-radius: 18px;
  background: #1b2636;
  color: #e6edf5;
}

.nimbus-goat-connect p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
}

.nimbus-goat-connect label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9eb0c6;
}

.nimbus-goat-connect input {
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #101820;
  color: #e6edf5;
  font: 16px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.nimbus-goat-connect button {
  align-self: flex-start;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #49c6e5;
  color: #06202a;
  font: 600 13px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.nimbus-goat-connect button:disabled {
  opacity: 0.45;
}

.nimbus-goat-connect .is-error {
  color: #ffb4b4;
  font-size: 13px;
}

.nimbus-process {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 42px;
  min-height: 18px;
}

.nimbus-process-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ad9d9;
  animation: nimbus-process 1.1s ease-in-out infinite;
}

.nimbus-process-dot.is-b {
  background: #649ef5;
  animation-delay: 0.55s;
}

.nimbus-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes nimbus-process {
  0%, 100% { transform: scale(1.3); opacity: 1; }
  50% { transform: scale(0.65); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-process-dot { animation: none; }
}

.nimbus-msg.is-you .nimbus-msg-bubble {
  background: #1f4f9e;
  color: #fff;
}

.nimbus-msg.is-nimbus.is-first .nimbus-msg-bubble { border-radius: 18px 18px 18px 6px; }
.nimbus-msg.is-nimbus.is-mid .nimbus-msg-bubble { border-radius: 6px 18px 18px 6px; }
.nimbus-msg.is-nimbus.is-last .nimbus-msg-bubble { border-radius: 6px 18px 18px 18px; }
.nimbus-msg.is-you.is-first .nimbus-msg-bubble { border-radius: 18px 18px 6px 18px; }
.nimbus-msg.is-you.is-mid .nimbus-msg-bubble { border-radius: 18px 6px 6px 18px; }
.nimbus-msg.is-you.is-last .nimbus-msg-bubble { border-radius: 18px 6px 18px 18px; }

.nimbus-thread-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.nimbus-chips,
.nimbus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.nimbus-chips span,
.nimbus-pills span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #1c2636;
  color: #d5deea;
  font-size: 12px;
  font-weight: 600;
}

.nimbus-chips span {
  border: 1px solid rgba(125, 160, 210, 0.35);
  background: transparent;
}

.nimbus-chips .is-need {
  border-color: transparent;
  background: #5b4d86;
  color: #f3eaff;
}

.nimbus-pills .is-critical {
  color: #ff8ea3;
}

.nimbus-thread-head p {
  margin: 8px 0 0;
  color: #8b98a8;
  font-size: 12px;
}

.nimbus-ask {
  background: #1b2636;
  border: 1px solid rgba(90, 160, 255, 0.85);
  border-radius: 18px;
  padding: 13px 13px 0;
  box-shadow: 0 0 0 1px rgba(90, 160, 255, 0.28), 0 0 18px rgba(47, 111, 224, 0.55);
}

.nimbus-ask.is-settled,
.nimbus-msg.is-ask.is-landed .nimbus-ask.is-settled {
  border-color: transparent;
  box-shadow: none;
  animation: none;
}

.nimbus-ask h2 {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f3f6fa;
}

.nimbus-ask-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5aa0ff;
}

.nimbus-ask-kicker.is-approved { color: #3ddc97; }
.nimbus-ask-kicker.is-staged { color: #ffc14d; }
.nimbus-ask-kicker.is-left { color: #9fadbf; }

.nimbus-ask-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #e6edf5;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.nimbus-ask-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin-top: 14px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #2f6fe0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-ask-alt {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.nimbus-ask-alt button {
  padding: 0;
  border: 0;
  background: none;
  color: #9fb4cc;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.nimbus-ask-foot {
  margin: 12px 0 0;
  color: #8b98a8;
  font-size: 12px;
  line-height: 1.4;
}

.nimbus-earlier h2 {
  margin: 8px 0 0;
  color: #8b98a8;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nimbus-note {
  margin: 8px 0 0;
  color: #d5deea;
  font-size: 14px;
  line-height: 1.45;
}

.nimbus-note span {
  display: block;
  margin-bottom: 2px;
  color: #6f7d8f;
  font-size: 11px;
}

.nimbus-ask-body {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #c5d0de;
}

.nimbus-portrait-ask {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.nimbus-portrait-ask img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.nimbus-portrait-ask p {
  margin: 0;
}

.nimbus-portrait-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.nimbus-portrait-actions button {
  flex: 1 1 0;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #2a3544;
  color: #f3f6fa;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-portrait-actions button:first-child {
  background: #1c4f86;
}

.nimbus-portrait-choice {
  color: #9fadbf;
  font-size: 13px;
}

.nimbus-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.nimbus-cta p {
  margin: 0;
}

.nimbus-cta button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: #2a3544;
  color: #f3f6fa;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.nimbus-cta button:hover {
  background: #354256;
}

.nimbus-cta button:disabled {
  background: #24303c;
  color: #9aa8b8;
  cursor: default;
}

.nimbus-ask-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.nimbus-ask-actions button {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #2a3544;
  color: #f3f6fa;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.nimbus-ask-actions button:hover {
  background: #354256;
}

.nimbus-ask-actions button:active {
  background: #24303c;
}

.nimbus-ask-more {
  display: flex;
  width: calc(100% + 26px);
  margin: 10px -13px 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 18px 18px;
  background: none;
  color: #d5deea;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.nimbus-ask .nimbus-demo-why {
  margin-top: 12px;
}

.nimbus-curve {
  margin: 0 0 10px;
}

.nimbus-curve svg {
  display: block;
  width: 100%;
  height: auto;
}

.nimbus-curve text {
  fill: #9fadbf;
  font-size: 10px;
  font-family: inherit;
}

.nimbus-curve-limit {
  stroke: #ffc14d;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.nimbus-curve-limit-label {
  fill: #ffc14d;
}

.nimbus-curve-past,
.nimbus-curve-model,
.nimbus-curve-tonight {
  fill: none;
  stroke-linecap: round;
}

.nimbus-curve-past {
  stroke: #c5d0de;
  stroke-width: 2;
}

.nimbus-curve-model {
  stroke: #9fadbf;
  stroke-width: 2;
  stroke-dasharray: 4 3;
}

.nimbus-curve-tonight {
  stroke: #5aa0ff;
  stroke-width: 2.25;
}

.nimbus-curve-dot {
  fill: #f3f6fa;
}

.nimbus-curve figcaption {
  display: flex;
  gap: 14px;
  margin-top: 2px;
  font-size: 11px;
  color: #9fadbf;
}

.nimbus-curve figcaption i {
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: #5aa0ff;
}

.nimbus-curve figcaption i.is-model {
  background: repeating-linear-gradient(90deg, #9fadbf 0 4px, transparent 4px 7px);
}

.nimbus-ask .nimbus-demo-why .nimbus-demo-facts {
  margin-top: 0;
}

.nimbus-msg-resolved {
  margin: 10px 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #3ddc97;
}

.nimbus-msg-resolved.is-staged { color: #ffc14d; }
.nimbus-msg-resolved.is-left { color: #9fadbf; }

.nimbus-msg.is-ask.is-landed .nimbus-ask {
  animation: nimbus-land 1.8s ease;
}

@keyframes nimbus-land {
  0%, 35% { box-shadow: 0 0 0 2px #5aa0ff, 0 0 22px rgba(47, 111, 224, 0.75); }
  100% { box-shadow: 0 0 0 1px rgba(90, 160, 255, 0.28), 0 0 18px rgba(47, 111, 224, 0.55); }
}

.nimbus-demo-scroll::-webkit-scrollbar {
  display: none;
}

.nimbus-demo-banner {
  margin: 12px 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1e2a3a;
  color: #f3f6fa;
  font-size: 13.5px;
  line-height: 1.45;
}

.nimbus-demo-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2px 24px 0;
}

.nimbus-pfp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(150deg, #02c8ff 0%, #1869ff 48%, #0a5fe8 100%);
  overflow: hidden;
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.nimbus-pfp img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}

.nimbus-demo-greet {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6f7d8f;
}

.nimbus-demo-hero h1 {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.nimbus-demo-sub {
  margin: 8px 0 0;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.45;
  color: #9fadbf;
}

.nimbus-demo-pad {
  padding: 12px 16px 0;
}

.nimbus-demo-card {
  background: #1e2a3a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px;
}

.nimbus-demo-card h2,
.nimbus-demo-sec h2,
.nimbus-demo-thread h2,
.nimbus-demo-you h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.nimbus-demo-card p,
.nimbus-demo-row p,
.nimbus-demo-bubble,
.nimbus-demo-you p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #9fadbf;
}

.nimbus-demo-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.nimbus-demo-facts span {
  font-size: 11.5px;
  color: #9fadbf;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
}

.nimbus-demo-facts .is-good {
  color: #3ddc97;
  background: rgba(61, 220, 151, 0.12);
}

.nimbus-demo-facts .is-warn {
  color: #ffc14d;
  background: rgba(255, 193, 77, 0.12);
}

.nimbus-demo-primary,
.nimbus-demo-quiet {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.nimbus-demo-primary {
  display: flex;
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2f6fe0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.nimbus-demo-primary:disabled {
  opacity: 0.7;
}

.nimbus-demo-disclose {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
}

.nimbus-demo-quiet {
  min-height: 40px;
  padding: 0 10px;
  background: none;
  color: #9fadbf;
  font-size: 14px;
}

.nimbus-demo-why {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
}

.nimbus-demo-why ul {
  margin: 0;
  padding-left: 18px;
}

.nimbus-demo-why li {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #9fadbf;
}

.nimbus-demo-why .nimbus-demo-say {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d5deea;
}

.nimbus-demo-why p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6f7d8f;
}

.nimbus-demo-sec {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 20px 6px;
}

.nimbus-demo-sec span {
  margin-left: auto;
  font-size: 13px;
  color: #5aa0ff;
}

.nimbus-demo-tiles {
  display: flex;
  gap: 8px;
  padding: 0 16px;
}

.nimbus-demo-tiles div {
  flex: 1;
  background: #161f2c;
  border-radius: 14px;
  padding: 8px 12px 6px;
}

.nimbus-demo-tiles strong {
  display: block;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.nimbus-demo-tiles span,
.nimbus-demo-note,
.nimbus-demo-by {
  color: #6f7d8f;
  font-size: 12px;
  line-height: 1.45;
}

.nimbus-demo-note {
  margin: 8px 20px 16px;
}

.nimbus-demo-list {
  padding-top: 8px;
}

.nimbus-day + .nimbus-day .nimbus-demo-sec {
  margin-top: 18px;
}

.nimbus-day .nimbus-demo-sec span {
  color: #6f7d8f;
  font-size: 12px;
}

.nimbus-demo-row {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nimbus-day .nimbus-demo-row:first-of-type {
  border-top: 0;
}

.nimbus-demo-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #6f7d8f;
}

.nimbus-demo-dot.is-ok { background: #3ddc97; }
.nimbus-demo-dot.is-up { background: #ffc14d; }

.nimbus-demo-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.nimbus-demo-row-top span {
  font-size: 12px;
  font-weight: 650;
  color: #d7ecff;
}

.nimbus-demo-row-top time {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  color: #6f7d8f;
}

.nimbus-demo-thread,
.nimbus-demo-you {
  padding: 8px 18px 24px;
}

.nimbus-thread-group button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nimbus-thread-group button svg {
  flex: 0 0 auto;
  color: #6f7d8f;
}

.nimbus-thread-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.nimbus-thread-filters {
  display: flex;
  gap: 6px;
  margin: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 4px 0 8px;
  background: #0f161e;
}

.nimbus-thread-filters button {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #161f2c;
  color: #9fadbf;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-thread-filters button[aria-checked="true"] {
  background: #2a3544;
  color: #f3f6fa;
}

.nimbus-app .nimbus-projects .nimbus-demo-sec h2,
.nimbus-app .nimbus-projects.nimbus-demo-thread h2,
.nimbus-app .nimbus-threads .nimbus-demo-sec h2,
.nimbus-app .nimbus-threads.nimbus-demo-thread h2,
.nimbus-app .nimbus-activity .nimbus-demo-sec h2,
.nimbus-app .nimbus-activity.nimbus-demo-thread h2 {
  font-size: 22px;
}

.nimbus-app .nimbus-activity .nimbus-demo-row-top span {
  font-size: 15px;
}

.nimbus-app .nimbus-activity .nimbus-demo-row p {
  font-size: 18px;
}

.nimbus-app .nimbus-activity .nimbus-demo-row .nimbus-demo-by {
  font-size: 14px;
}

.nimbus-app .nimbus-projects .nimbus-thread-top strong,
.nimbus-app .nimbus-threads .nimbus-thread-top strong {
  font-size: 18px;
}

.nimbus-app .nimbus-projects .nimbus-thread-top em,
.nimbus-app .nimbus-threads .nimbus-thread-top em {
  font-size: 15px;
}

.nimbus-app .nimbus-projects .nimbus-thread-preview,
.nimbus-app .nimbus-threads .nimbus-thread-preview {
  font-size: 16px;
}

.nimbus-app .nimbus-projects .nimbus-thread-with,
.nimbus-app .nimbus-projects .nimbus-demo-by,
.nimbus-app .nimbus-threads .nimbus-demo-by,
.nimbus-app .nimbus-activity.nimbus-demo-thread .nimbus-demo-by {
  font-size: 14px;
}

.nimbus-app .nimbus-projects .nimbus-demo-bubble,
.nimbus-app .nimbus-threads .nimbus-demo-bubble,
.nimbus-app .nimbus-activity .nimbus-demo-bubble {
  font-size: 16px;
}

.nimbus-thread-group button:first-of-type,
.nimbus-thread-list > button:first-of-type {
  border-top: 0;
}

.nimbus-thread-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.nimbus-thread-tags i {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #b7c6ea;
}

.nimbus-thread-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.nimbus-thread-top strong {
  font-size: 15px;
  font-weight: 650;
}

.nimbus-thread-top em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: #ffc14d;
}

.nimbus-thread-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.nimbus-thread-meta i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ffb020;
  transform: rotate(45deg);
}

.nimbus-thread-meta i.is-critical {
  border-radius: 50%;
  background: #ff4d6a;
  transform: none;
}

.nimbus-thread-meta i.is-ok {
  border-radius: 50%;
  background: #3ddc97;
  transform: none;
}

.nimbus-thread-bar {
  flex: 1 1 auto;
  height: 4px;
  border-radius: 999px;
  background: #2a3344;
  overflow: hidden;
}

.nimbus-thread-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8b6cff;
}

.nimbus-thread-bar.is-open span { width: 62%; }
.nimbus-thread-bar.is-done span { width: 100%; }

.nimbus-thread-meta em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 12px;
  color: #8b98a8;
}

.nimbus-thread-with,
.nimbus-thread-preview {
  display: block;
}

.nimbus-thread-with {
  margin-top: 2px;
  color: #6f7d8f;
  font-size: 12px;
}

.nimbus-thread-preview {
  margin-top: 4px;
  color: #c5d0de;
  font-size: 13.5px;
  line-height: 1.35;
}

.nimbus-thread-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #5aa0ff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nimbus-demo-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  background: #161f2c;
}

.nimbus-demo-you section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nimbus-demo-you h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.nimbus-you-menu {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nimbus-you-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% + 36px);
  margin: 0 -18px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.nimbus-you-menu button svg {
  flex: 0 0 auto;
  color: #6f7d8f;
}

.nimbus-you-menu p {
  margin: 0;
  padding: 4px 0 14px;
}

.nimbus-you-logout {
  display: flex;
  width: 100%;
  margin-top: 18px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #2a3544;
  color: #f3f6fa;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.nimbus-you-logout:hover {
  background: #354256;
}

.nimbus-view-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0 16px 12px;
  padding: 3px;
  border-radius: 12px;
  background: #161f2c;
}

.nimbus-view-switch button {
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #9fadbf;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.nimbus-view-switch button[aria-checked="true"] {
  background: #2a3544;
  color: #f3f6fa;
}

.nimbus-monitor-map {
  margin: 0 16px 8px;
  border-radius: 16px;
  background: #161f2c;
  overflow: hidden;
}

.nimbus-map-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 12px 12px 0;
}

.nimbus-map-top strong {
  font-size: 14px;
  font-weight: 650;
}

.nimbus-map-top span {
  color: #6f7d8f;
  font-size: 10px;
}

.nimbus-map-canvas svg {
  display: block;
  width: 100%;
  height: auto;
}

.nimbus-map-land {
  fill: url("#nimbusLandFill");
  stroke: #314860;
  stroke-width: 0.65;
  stroke-linejoin: round;
}

.nimbus-map-route {
  fill: none;
  stroke: #52c9df;
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
  opacity: 0.66;
  animation: nimbus-route-flow 7s linear infinite;
}

.nimbus-map-route.is-watch { stroke: #f2bf5b; opacity: 0.9; }
.nimbus-map-route.is-risk { stroke: #ff6c85; opacity: 0.92; }

.nimbus-map-ring {
  fill: none;
  stroke-width: 1;
  opacity: 0.72;
  transform-box: fill-box;
  transform-origin: center;
  animation: nimbus-site-pulse 3.2s ease-out infinite;
}

.nimbus-map-ring.is-good { stroke: #4bd2a0; }
.nimbus-map-ring.is-watch { stroke: #f2bf5b; }
.nimbus-map-ring.is-risk { stroke: #ff6c85; }

.nimbus-map-dot { stroke: #09121d; stroke-width: 2; }

.nimbus-map-label {
  fill: #e7eef6;
  font: 600 8px Inter, sans-serif;
}

.nimbus-map-state {
  fill: #98aabe;
  font: 500 6.5px Inter, sans-serif;
}

.nimbus-map-hit { fill: transparent; cursor: pointer; }

.nimbus-map-hotspot.is-selected .nimbus-map-ring { stroke: #f6fbff; stroke-width: 1.6; }

.nimbus-map-floor { fill: url("#nimbusCityFloor"); stroke: #32455f; }
.nimbus-map-grid { fill: none; stroke: #283a50; stroke-width: 3; }
.nimbus-map-grid.is-b { stroke: #26394f; }
.nimbus-map-spine { fill: none; stroke: #42617e; stroke-width: 1.1; stroke-dasharray: 3 5; }

.nimbus-zone { cursor: pointer; }
.nimbus-zone.is-off { opacity: 0.38; }
.nimbus-zone.is-selected path { stroke: #f6fbff; stroke-width: 2.2; }

.nimbus-zone-label {
  fill: #e7eef6;
  font: 600 7px Inter, sans-serif;
  letter-spacing: 0.4px;
  pointer-events: none;
}

.nimbus-map-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  padding: 2px 12px 12px;
  color: #9fadbf;
  font-size: 10px;
}

.nimbus-map-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: -1px;
}

.nimbus-map-detail {
  margin: 0 12px 12px;
  padding: 12px;
  border-radius: 12px;
  background: #1c2633;
}

.nimbus-map-detail strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.nimbus-map-detail p {
  margin: 4px 0 0;
  color: #9fadbf;
  font-size: 12px;
  line-height: 1.4;
}

@keyframes nimbus-route-flow {
  to { stroke-dashoffset: -36; }
}

@keyframes nimbus-site-pulse {
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}

.nimbus-demo-helpers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.nimbus-demo-helper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #161f2c;
}

.nimbus-demo-helper strong,
.nimbus-demo-helper em {
  display: block;
  font-style: normal;
}

.nimbus-demo-helper em {
  margin-top: 2px;
  font-size: 12.5px;
  color: #9fadbf;
}

.nimbus-demo-helper-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.nimbus-demo-helper.is-off strong,
.nimbus-demo-helper.is-off em {
  color: #6f7d8f;
}

.nimbus-switch {
  flex: 0 0 auto;
  width: 34px;
  height: 20px;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: #2a3544;
  cursor: pointer;
}

.nimbus-switch[aria-checked="true"] {
  background: #2f6fe0;
}

.nimbus-switch span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3f6fa;
  transition: transform 160ms ease;
}

.nimbus-switch[aria-checked="true"] span {
  transform: translateX(14px);
}

.nimbus-demo-led {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #3ddc97;
}

.nimbus-demo-led.is-held { background: #ffc14d; }
.nimbus-demo-led.is-idle { background: #55616f; }

.nimbus-demo-tabs {
  flex: 0 0 auto;
  display: flex;
  padding: 6px 6px 12px;
  background: transparent;
  border-top: 0;
}

.nimbus-demo-tabs button {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 6px 0 2px;
  border: 0;
  background: none;
  color: #55616f;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

.nimbus-demo-tabs.is-v2 button {
  font-size: 10px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nimbus-demo-tabs button svg {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 5px;
  transition: color 160ms ease, filter 160ms ease;
}

.nimbus-demo-tabs button[aria-current="page"] {
  color: #f3f7fb;
  font-weight: 650;
  text-shadow: 0 0 8px rgba(26, 164, 255, 0.4);
}

.nimbus-demo-tabs button[aria-current="page"] svg {
  color: #9ee4ff;
  filter:
    drop-shadow(0 0 2px rgba(26, 164, 255, 0.95))
    drop-shadow(0 0 6px rgba(26, 164, 255, 0.45));
}

.nimbus-demo-tabs button[aria-current="page"] .nimbus-tab-pfp,
.nimbus-demo-tabs button[aria-current="page"] .nimbus-tab-mark {
  filter:
    drop-shadow(0 0 2px rgba(26, 164, 255, 0.85))
    drop-shadow(0 0 6px rgba(26, 164, 255, 0.4));
}

.nimbus-tab-mark {
  width: 22px;
  height: 22px;
  margin: 5px 0;
  display: block;
  flex: 0 0 auto;
  transition: filter 160ms ease;
}

.nimbus-tab-mark img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.nimbus-action-done {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nimbus-action-done p {
  margin: 4px 0 0;
  color: #9fadbf;
  font-size: 13px;
  line-height: 1.4;
}

.nimbus-action-done time {
  flex: 0 0 auto;
  color: #6f7d8f;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.nimbus-you-library {
  margin: 18px 0 0;
  color: #6f7d8f;
  font-size: 13px;
  line-height: 1.4;
}

.nimbus-tab-pfp {
  width: 28px;
  height: 28px;
  margin: 2px 0 2px;
  position: relative;
  flex: 0 0 auto;
  transition: filter 160ms ease;
}

.nimbus-tab-pfp img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.nimbus-demo-nub {
  position: absolute;
  top: 0;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.nimbus-demo-face {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  background: rgba(8, 13, 20, 0.94);
}

.nimbus-demo-face h2 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 650;
}

.nimbus-demo-face p {
  margin: 0 0 8px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
  color: #9fadbf;
}

.nimbus-demo-face-mark {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background:
    linear-gradient(#d7ecff, #d7ecff) 16px 8px / 18px 4px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 50px 8px / 18px 4px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 16px 72px / 18px 4px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 50px 72px / 18px 4px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 8px 16px / 4px 18px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 72px 16px / 4px 18px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 8px 50px / 4px 18px no-repeat,
    linear-gradient(#d7ecff, #d7ecff) 72px 50px / 4px 18px no-repeat;
  box-shadow: 0 0 24px rgba(120, 190, 255, 0.35);
}

.nimbus-demo-face-mark.is-checking {
  animation: nimbus-face-pulse 0.7s ease-in-out infinite;
}

@keyframes nimbus-face-pulse {
  50% { opacity: 0.45; }
}

.nimbus-lock {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 36px 22px 24px;
}

.nimbus-lock-clock {
  margin: 12px 0 0;
  font-size: 72px;
  font-weight: 260;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.nimbus-lock-clock span {
  margin-left: 8px;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: 0.04em;
}

.nimbus-lock-date {
  margin: 10px 0 0;
  color: #d5deea;
  font-size: 17px;
}

.nimbus-lock-quiet {
  margin: 4px 0 0;
  color: #6f7d8f;
  font-size: 14px;
}

.nimbus-lock-note {
  margin-top: 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: #1e2a3a;
  color: #f3f6fa;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nimbus-lock-note:hover {
  background: #263447;
}

.nimbus-lock-note.is-in {
  animation: nimbus-notice-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes nimbus-notice-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-lock-note.is-in { animation: none; }
}

.nimbus-lock-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, #02c8ff 0%, #1869ff 48%, #0a5fe8 100%);
}

.nimbus-lock-mark img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 3px;
  object-fit: cover;
  object-position: center bottom;
}

.nimbus-lock-mark.nimbus-lock-pfp {
  background: #101820;
  border: 0;
  box-shadow: none;
}

.nimbus-lock-mark.nimbus-lock-pfp img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.nimbus-lock-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nimbus-lock-from {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #9fadbf;
  font-size: 12px;
  font-weight: 600;
}

.nimbus-lock-from strong {
  color: #f3f6fa;
  font-weight: 650;
}

.nimbus-lock-from span {
  margin-left: auto;
  text-align: right;
}

.nimbus-lock-title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nimbus-lock-body {
  color: #c5d0de;
  font-size: 13.5px;
  line-height: 1.35;
}

.nimbus-welcome {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0d141e;
}

.nimbus-welcome-back {
  align-self: flex-start;
  display: flex;
  margin: 6px 8px 0 14px;
  padding: 8px;
  border: 0;
  background: none;
  color: #d7e2ee;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.nimbus-welcome-back:disabled {
  opacity: 0.4;
  cursor: default;
}

.nimbus-welcome-copy {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 32px;
  text-align: center;
}

.nimbus-welcome-copy h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-shadow:
    0 0 10px rgba(120, 190, 255, 0.7),
    0 0 28px rgba(120, 190, 255, 0.45);
}

.nimbus-welcome-copy p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #8b98a8;
}

.nimbus-welcome-stage {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Larger than the figure, and transparent well inside its own box, so the fade is not cut off. */
.nimbus-welcome-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 240%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(150, 205, 255, 0.38) 0%,
    rgba(120, 190, 255, 0.14) 22%,
    rgba(120, 190, 255, 0) 46%
  );
  pointer-events: none;
}

.nimbus-welcome-figure {
  position: relative;
  width: min(340px, 88%);
  margin-bottom: -10%;
}

.nimbus-welcome-stage img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.nimbus-eye {
  position: absolute;
  z-index: 1;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(236, 253, 255, 0.95) 0%,
    rgba(150, 230, 255, 0.55) 32%,
    rgba(120, 200, 255, 0.16) 58%,
    rgba(120, 200, 255, 0) 74%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  animation: nimbus-eye-pulse 3.4s ease-in-out infinite;
}

.nimbus-eye.is-left {
  left: 26.54%;
  top: 42.42%;
}

.nimbus-eye.is-right {
  left: 72.16%;
  top: 42.29%;
}

@keyframes nimbus-eye-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.72);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

.nimbus-welcome-continue {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 28px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #2a3544;
  color: #f3f6fa;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.nimbus-welcome-continue:hover {
  background: #354256;
}

.nimbus-setup {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0d141e;
}

.nimbus-setup-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 28px 12px;
  text-align: center;
}

.nimbus-jump {
  width: 128px;
  height: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 16px rgba(120, 190, 255, 0.45));
}

.nimbus-setup-body h1 {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.nimbus-setup-body p {
  margin: 12px 0 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.45;
  color: #8b98a8;
}

.nimbus-setup-account {
  width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #161f2c;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.nimbus-setup-account strong,
.nimbus-setup-account span {
  display: block;
}

.nimbus-setup-account span {
  margin-top: 3px;
  font-size: 13px;
  color: #8b98a8;
}

.nimbus-setup-foot {
  padding: 8px 22px 28px;
}

.nimbus-setup-go {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #2f6fe0;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.nimbus-setup-go:disabled {
  opacity: 0.7;
  cursor: default;
}

.nimbus-setup-go:hover:not(:disabled) {
  background: #3a7df0;
}

.nimbus-setup-go.is-quiet {
  background: #2a3544;
  color: #f3f6fa;
}

.nimbus-setup-go.is-quiet:hover:not(:disabled) {
  background: #354256;
}

.nimbus-demo :focus-visible {
  outline: 2px solid #5aa0ff;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .nimbus-demo {
    padding: 0;
    gap: 0;
    justify-content: stretch;
  }

  .nimbus-demo-bar {
    display: none;
  }

  .nimbus-device {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nimbus-device::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-demo-face-mark.is-checking,
  .nimbus-eye,
  .nimbus-msg.is-ask.is-landed .nimbus-ask,
  .nimbus-who-float {
    animation: none;
  }

  .nimbus-who-float {
    transform: none;
  }

  .nimbus-avatar-track,
  .nimbus-avatar-track button {
    transition: none;
  }

  .nimbus-msg.is-ask.is-landed .nimbus-ask {
    box-shadow: 0 0 0 1px rgba(90, 160, 255, 0.28), 0 0 18px rgba(47, 111, 224, 0.55);
  }

  .nimbus-ask.is-settled,
  .nimbus-msg.is-ask.is-landed .nimbus-ask.is-settled {
    box-shadow: none;
  }

  .nimbus-switch span {
    transition: none;
  }

  .nimbus-map-route,
  .nimbus-map-ring {
    animation: none;
  }

  .nimbus-eye {
    opacity: 0;
  }
}
/* Nimbus v3. The phone stories stay the same. Surfaces follow the desktop
   prototype: #020B14, #02C8FF, and the thread filter track. The prompt keeps
   that border, in a single row sized for a thumb. */

@property --nimbus-v3-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@property --nimbus-v3-mix {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}

@property --nimbus-v3-wash {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 6%;
}

@keyframes nimbus-v3-prompt-turn {
  to { --nimbus-v3-angle: 360deg; }
}

.nimbus-v3,
.nimbus-v3 .nimbus-demo,
.nimbus-v3 .nimbus-device-screen,
.nimbus-v3 .nimbus-device-screen.is-launch,
.nimbus-v3 .nimbus-device-screen.is-lock {
  color: #bbc1c9;
  background:
    radial-gradient(ellipse 120% 38% at 50% 100%, rgba(48, 48, 102, 0.95) 0%, rgba(32, 28, 72, 0.42) 46%, transparent 72%),
    radial-gradient(ellipse 70% 32% at 12% 100%, rgba(41, 21, 70, 0.9) 0%, transparent 68%),
    radial-gradient(ellipse 62% 30% at 88% 100%, rgba(42, 34, 85, 0.75) 0%, transparent 66%),
    radial-gradient(ellipse 36% 22% at 100% 100%, rgba(28, 12, 39, 0.85) 0%, transparent 70%),
    linear-gradient(180deg, #0a1119 0%, #090e16 38%, #080b12 58%, #0a1020 100%);
}

.nimbus-v3 .nimbus-device-screen.is-launch {
  overflow: hidden;
  background: linear-gradient(180deg, #0a1119 0%, #090e16 38%, #080b12 58%, #0a1020 100%);
}

.nimbus-v3 .nimbus-device-screen.is-launch::before,
.nimbus-v3 .nimbus-device-screen.is-launch::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(26px);
}

.nimbus-v3 .nimbus-device-screen.is-launch::before {
  inset: 18% -35% -18%;
  background:
    radial-gradient(ellipse 62% 48% at 42% 92%, rgba(48, 48, 102, 0.95) 0%, rgba(32, 28, 72, 0.4) 48%, transparent 74%),
    radial-gradient(ellipse 48% 40% at 78% 100%, rgba(72, 40, 128, 0.72) 0%, transparent 70%);
  animation: nimbus-launch-fog-a 34s ease-in-out infinite alternate;
}

.nimbus-v3 .nimbus-device-screen.is-launch::after {
  inset: 28% -40% -8%;
  background:
    radial-gradient(ellipse 46% 42% at 18% 100%, rgba(41, 21, 70, 0.9) 0%, transparent 68%),
    radial-gradient(ellipse 36% 34% at 64% 78%, rgba(96, 48, 150, 0.55) 0%, transparent 72%);
  animation: nimbus-launch-fog-b 48s ease-in-out infinite alternate;
}

@keyframes nimbus-launch-fog-a {
  0% { transform: translate3d(-8%, 5%, 0) scale(1.04); }
  100% { transform: translate3d(12%, -6%, 0) scale(1.16); }
}

@keyframes nimbus-launch-fog-b {
  0% { transform: translate3d(14%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-16%, 9%, 0) scale(0.9); }
}

.nimbus-v3 {
  min-height: 100dvh;
}

.nimbus-v3 .nimbus-demo-bar a,
.nimbus-v3 .nimbus-demo-bar button {
  color: rgba(187, 193, 201, 0.55);
}

.nimbus-v3 .nimbus-demo-bar a:hover,
.nimbus-v3 .nimbus-demo-bar button:hover {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-demo-switch select {
  border-color: rgba(255, 255, 255, 0.09);
  background: #0d1e30;
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-demo-switch svg {
  color: rgba(187, 193, 201, 0.55);
}

.nimbus-v3 .nimbus-device {
  border-color: #0d1e30;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.nimbus-v3 .nimbus-lock-date,
.nimbus-v3 .nimbus-lock-quiet,
.nimbus-v3 .nimbus-time {
  color: rgba(187, 193, 201, 0.55);
}

.nimbus-v3 .nimbus-demo-status,
.nimbus-v4 .nimbus-demo-status,
.nimbus-v4 .nimbus-launch-status,
.nimbus-v3 .nimbus-status-marks,
.nimbus-v3 .nimbus-lock-clock {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-launch h1,
.nimbus-v3 .nimbus-launch p {
  color: #bbc1c9;
}

/* Magnetic type scale on a ~370px phone.
   Page titles use Heading primary, 24px / 32px. */
.nimbus-v4 .nimbus-launch h1,
.nimbus-v4 .nimbus-welcome-copy h1,
.nimbus-v4 .nimbus-setup-body h1,
.nimbus-v4 .nimbus-demo-hero h1 {
  font-size: 24px;
  line-height: 32px;
}

/* The lock time sits above the notification. 68px keeps it the largest type on the phone. */
.nimbus-v4 .nimbus-lock-clock {
  font-size: 68px;
  line-height: 76px;
}

.nimbus-v4 .nimbus-lock-clock span {
  font-size: 22px;
  line-height: 28px;
}

.nimbus-v3 .nimbus-reply,
.nimbus-v4 .nimbus-reply {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 12px 8px;
  padding: 8px 14px;
  border: 1px solid rgba(2, 200, 255, 0.45);
  border-radius: 16px;
  background: rgba(2, 200, 255, 0.12);
  color: #f4fbff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.nimbus-v3 .nimbus-reply span,
.nimbus-v4 .nimbus-reply span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #02c8ff;
}

.nimbus-v3 .nimbus-reply:active,
.nimbus-v4 .nimbus-reply:active {
  background: rgba(2, 200, 255, 0.2);
}

.nimbus-v3 .nimbus-msg-bubble:has(.nimbus-reply-actions),
.nimbus-v4 .nimbus-msg-bubble:has(.nimbus-reply-actions) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
}

.nimbus-v3 .nimbus-msg-bubble .nimbus-reply-actions,
.nimbus-v4 .nimbus-msg-bubble .nimbus-reply-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.nimbus-v3 .nimbus-reply-actions button,
.nimbus-v4 .nimbus-reply-actions button {
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.nimbus-v3 .nimbus-reply-actions button:focus-visible,
.nimbus-v4 .nimbus-reply-actions button:focus-visible {
  outline: 2px solid #02c8ff;
  outline-offset: 2px;
}

.nimbus-v3 .nimbus-reply-actions button.is-quiet,
.nimbus-v4 .nimbus-reply-actions button.is-quiet {
  color: #8b98a8;
}

.nimbus-v3 .nimbus-reply-actions button.is-quiet:hover,
.nimbus-v4 .nimbus-reply-actions button.is-quiet:hover {
  color: #a8b3c2;
}

.nimbus-v3 .nimbus-reply-actions button.is-go,
.nimbus-v4 .nimbus-reply-actions button.is-go {
  border: 1px solid #02c8ff;
  color: #02c8ff;
}

.nimbus-v3 .nimbus-reply-actions button.is-go:hover,
.nimbus-v4 .nimbus-reply-actions button.is-go:hover {
  background: rgba(2, 200, 255, 0.1);
}

.nimbus-v3 .nimbus-reply-actions button.is-go:active,
.nimbus-v4 .nimbus-reply-actions button.is-go:active {
  background: rgba(2, 200, 255, 0.18);
}

.nimbus-v4 .nimbus-launch-gate {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.nimbus-v4 .nimbus-launch-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 750ms ease 180ms;
}

.nimbus-v4 .nimbus-launch-gate::before,
.nimbus-v4 .nimbus-launch-gate::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: blur(26px);
  transition: transform 900ms ease 180ms, opacity 750ms ease 180ms;
}

.nimbus-v4 .nimbus-launch-gate::before {
  inset: 18% -35% -18%;
  background:
    radial-gradient(ellipse 62% 48% at 42% 92%, rgba(48, 48, 102, 0.95) 0%, rgba(32, 28, 72, 0.4) 48%, transparent 74%),
    radial-gradient(ellipse 48% 40% at 78% 100%, rgba(72, 40, 128, 0.72) 0%, transparent 70%);
}

.nimbus-v4 .nimbus-launch-gate::after {
  inset: 28% -40% -8%;
  background:
    radial-gradient(ellipse 46% 42% at 18% 100%, rgba(41, 21, 70, 0.9) 0%, transparent 68%),
    radial-gradient(ellipse 36% 34% at 64% 78%, rgba(96, 48, 150, 0.55) 0%, transparent 72%);
}

.nimbus-v4 .nimbus-launch-gate.is-out {
  pointer-events: auto;
}

.nimbus-v4 .nimbus-launch-gate.is-out .nimbus-launch p {
  opacity: 0;
}

.nimbus-v4 .nimbus-launch-gate.is-out .nimbus-launch h1,
.nimbus-v4 .nimbus-launch-gate.is-out .nimbus-launch-status {
  opacity: 0;
}

.nimbus-v4 .nimbus-launch-gate.is-out .nimbus-launch-veil,
.nimbus-v4 .nimbus-launch-gate.is-out::before,
.nimbus-v4 .nimbus-launch-gate.is-out::after {
  opacity: 0;
}

.nimbus-v4 .nimbus-launch-gate.is-out::before,
.nimbus-v4 .nimbus-launch-gate.is-out::after {
  transform: translate3d(0, 22%, 0);
}

.nimbus-v4 .nimbus-launch-gate .nimbus-launch p {
  transition: opacity 400ms ease;
}

.nimbus-v4 .nimbus-launch-gate .nimbus-launch h1,
.nimbus-v4 .nimbus-launch-gate .nimbus-launch-status {
  transition: opacity 450ms ease 160ms;
}

.nimbus-v4 .nimbus-launch-gate .nimbus-launch-status {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  padding: 18px 26px 0;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.nimbus-v4 .nimbus-launch-gate .nimbus-launch {
  position: relative;
  z-index: 2;
  inset: auto;
  flex: 1 1 auto;
  cursor: inherit;
}

.nimbus-v4 .nimbus-launch-gate .nimbus-launch-glow {
  z-index: 1;
  position: relative;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1) 420ms;
  animation: nimbus-launch-halo 5s ease-in-out infinite alternate;
}

.nimbus-v4 .nimbus-device-screen:has(.nimbus-launch-gate) .nimbus-who .nimbus-who-mark {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-v3 .nimbus-device-screen.is-launch::before,
  .nimbus-v3 .nimbus-device-screen.is-launch::after,
  .nimbus-v3 .nimbus-who-mark.nimbus-launch-mark,
  .nimbus-v4 .nimbus-launch-gate .nimbus-launch-glow {
    animation: none;
  }

  .nimbus-v4 .nimbus-launch-veil,
  .nimbus-v4 .nimbus-launch-gate::before,
  .nimbus-v4 .nimbus-launch-gate::after,
  .nimbus-v4 .nimbus-launch-gate .nimbus-launch-status,
  .nimbus-v4 .nimbus-launch-gate .nimbus-launch h1,
  .nimbus-v4 .nimbus-launch-gate .nimbus-launch p,
  .nimbus-v4 .nimbus-launch-gate .nimbus-launch-glow {
    transition: none;
  }
}

.nimbus-v3 .nimbus-who-mark.nimbus-launch-mark {
  background: transparent;
  overflow: hidden;
  filter: none;
  animation: none;
  box-shadow: none;
}

@keyframes nimbus-launch-halo {
  0% {
    box-shadow:
      0 0 6px rgba(2, 200, 255, 0.4),
      0 0 20px rgba(2, 200, 255, 0.16);
  }
  100% {
    box-shadow:
      0 0 14px rgba(2, 200, 255, 0.95),
      0 0 52px rgba(2, 200, 255, 0.5);
  }
}

.nimbus-v3 .nimbus-who-mark {
  background: #071525;
  filter:
    drop-shadow(0 0 4px rgba(2, 200, 255, 0.7))
    drop-shadow(0 0 16px rgba(2, 200, 255, 0.28));
}

.nimbus-v3 .nimbus-who-name {
  background: #0d1e30;
  color: #bbc1c9;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.nimbus-v3 .nimbus-msg-bubble {
  font-size: 15px;
  line-height: 22px;
}

.nimbus-v3 .nimbus-msg.is-nimbus .nimbus-msg-bubble {
  background: #071525;
  color: #bbc1c9;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
}

.nimbus-v3 .nimbus-msg.is-you .nimbus-msg-bubble {
  background: #1c2128;
  color: #bbc1c9;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
}

.nimbus-v3 .nimbus-goat-connect {
  background: #071525;
  color: #bbc1c9;
  border: 1px solid rgba(2, 200, 255, 0.18);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(2, 200, 255, 0.18),
    0 4px 32px rgba(2, 200, 255, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.6);
}

.nimbus-v3 .nimbus-goat-connect button {
  background: #02c8ff;
  color: #020b14;
}

.nimbus-v3 .nimbus-ask,
.nimbus-v3 .nimbus-goal-msg,
.nimbus-v3 .nimbus-goal {
  background: #071525;
  color: #bbc1c9;
  border: 1px solid rgba(2, 200, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(2, 200, 255, 0.18),
    0 4px 32px rgba(2, 200, 255, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.6);
}

.nimbus-v3 .nimbus-ask h2,
.nimbus-v3 .nimbus-goal-msg strong,
.nimbus-v3 .nimbus-goal strong {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-lock-note {
  background: #071525;
  color: #bbc1c9;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.nimbus-v3 .nimbus-lock-note:hover {
  background: #0d1e30;
}

.nimbus-v3 .nimbus-composer {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px 10px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: none;
}

.nimbus-v3 .nimbus-composer-field {
  --nimbus-v3-angle: 0deg;
  --nimbus-v3-mix: 50%;
  --nimbus-v3-wash: 6%;
  flex: 1 1 auto;
  height: 48px;
  min-height: 48px;
  padding: 0 4px 0 2px;
  border: 2px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, #4ad9d9 var(--nimbus-v3-wash), transparent), transparent 58%) padding-box,
    radial-gradient(120% 160% at 100% 100%, color-mix(in srgb, #9b5ff5 var(--nimbus-v3-wash), transparent), transparent 58%) padding-box,
    linear-gradient(#0d1e30, #0d1e30) padding-box,
    conic-gradient(
      from var(--nimbus-v3-angle),
      color-mix(in srgb, #4ad9d9 var(--nimbus-v3-mix), transparent),
      color-mix(in srgb, #02c8ff var(--nimbus-v3-mix), transparent),
      color-mix(in srgb, #9b5ff5 var(--nimbus-v3-mix), transparent),
      color-mix(in srgb, #f582d8 var(--nimbus-v3-mix), transparent),
      color-mix(in srgb, #4ad9d9 var(--nimbus-v3-mix), transparent)
    ) border-box;
  box-shadow: none;
  animation: nimbus-v3-prompt-turn 9s linear infinite;
  transition: box-shadow 200ms ease, --nimbus-v3-mix 200ms ease, --nimbus-v3-wash 200ms ease;
}

.nimbus-v3 .nimbus-composer-field:hover {
  --nimbus-v3-mix: 78%;
  --nimbus-v3-wash: 8%;
  box-shadow: 0 0 18px rgba(23, 168, 245, 0.1);
}

.nimbus-v3 .nimbus-composer-field:focus-within {
  --nimbus-v3-mix: 100%;
  --nimbus-v3-wash: 10%;
  box-shadow: 0 0 32px rgba(23, 168, 245, 0.12);
}

.nimbus-v3 .nimbus-composer input {
  height: 44px;
  color: #bbc1c9;
  background: transparent;
  font-size: 16px;
  line-height: 22px;
  caret-color: #02c8ff;
}

.nimbus-v3 .nimbus-composer input::placeholder {
  color: rgba(187, 193, 201, 0.55);
}

.nimbus-v3 .nimbus-composer input::selection {
  background: rgba(2, 200, 255, 0.38);
  color: #f4fbff;
}

.nimbus-v3 .nimbus-composer button.nimbus-composer-plus {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: transparent;
  color: rgba(187, 193, 201, 0.75);
}

.nimbus-v3 .nimbus-composer button.nimbus-composer-plus:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nimbus-v3 .nimbus-composer > button {
  align-self: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 24px;
  background: #0d1e30;
  color: rgba(187, 193, 201, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.nimbus-v3 .nimbus-composer > button.is-live,
.nimbus-v3 .nimbus-composer > button.is-voice:active {
  background: rgba(2, 200, 255, 0.12);
  color: #02c8ff;
  filter: none;
}

.nimbus-v3 .nimbus-demo-tabs button {
  color: rgba(187, 193, 201, 0.42);
  background: none;
  transition: color 160ms ease;
}

.nimbus-v3 .nimbus-demo-tabs button::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
  pointer-events: none;
  transition: background 160ms ease;
}

.nimbus-v3 .nimbus-demo-tabs button:hover {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-demo-tabs button:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

.nimbus-v3 .nimbus-demo-tabs button[aria-current="page"] {
  color: #02c8ff;
  text-shadow: none;
}

.nimbus-v3 .nimbus-demo-tabs button[aria-current="page"]:hover {
  color: #02c8ff;
}

.nimbus-v3 .nimbus-demo-tabs button[aria-current="page"]:hover::before {
  background: rgba(2, 200, 255, 0.14);
}

.nimbus-v3 .nimbus-demo-tabs button[aria-current="page"] svg,
.nimbus-v3 .nimbus-demo-tabs button[aria-current="page"] .nimbus-tab-mark {
  color: #02c8ff;
  filter: drop-shadow(0 0 6px rgba(2, 200, 255, 0.45));
}

.nimbus-v3 .nimbus-day,
.nimbus-v3 .nimbus-demo-list {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-thread-filters {
  display: flex;
  width: calc(100% - 32px);
  max-width: none;
  gap: 0;
  margin: 0 16px 10px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: #071525;
}

.nimbus-v3 .nimbus-thread-filters button {
  flex: 1 1 0;
  min-width: 0;
  height: 28px;
  padding: 0 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(187, 193, 201, 0.75);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.nimbus-v3 .nimbus-thread-filters button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nimbus-v3 .nimbus-project-filters button {
  font-size: 11px;
  padding: 0 2px;
  letter-spacing: -0.01em;
}

.nimbus-v3 .nimbus-thread-filters button[aria-checked="true"],
.nimbus-v3 .nimbus-thread-filters button[aria-checked="true"]:hover {
  background: rgba(2, 200, 255, 0.08);
  border-color: rgba(2, 200, 255, 0.22);
  color: #02c8ff;
}

.nimbus-v3 .nimbus-thread-group button {
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.nimbus-v3 .nimbus-thread-group button:hover {
  background: #0d1e30;
}

.nimbus-v3 .nimbus-thread-top strong {
  color: #bbc1c9;
}

.nimbus-v3 .nimbus-thread-top em,
.nimbus-v3 .nimbus-thread-meta,
.nimbus-v3 .nimbus-thread-meta em {
  color: rgba(187, 193, 201, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-v3 .nimbus-composer-field {
    animation: none;
    --nimbus-v3-angle: 45deg;
  }
}
/* The phone UI is the page. No bezel, no page behind it. */

html:has(.nimbus-app),
html:has(.nimbus-app) body {
  height: 100%;
  overflow: hidden;
  background: #020b14;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

html:has(.nimbus-app) body {
  display: flex;
  justify-content: center;
}

html:has(.nimbus-app) #root,
.nimbus-app {
  width: min(100%, 480px);
  height: 100dvh;
}

.nimbus-app,
.nimbus-app .nimbus-v3,
.nimbus-app .nimbus-demo {
  min-height: 0;
  height: 100%;
}

.nimbus-app .nimbus-demo {
  padding: 0;
  gap: 0;
  justify-content: stretch;
  background: #020b14;
}

.nimbus-app .nimbus-demo {
  position: relative;
}

.nimbus-app .nimbus-demo-bar {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: block;
  width: auto;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.nimbus-app .nimbus-demo-menu,
.nimbus-app .nimbus-demo-sheet,
.nimbus-app .nimbus-demo-backdrop {
  pointer-events: auto;
}

.nimbus-app .nimbus-demo-menu {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top));
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(13, 30, 48, 0.88);
  color: #f3f6fa;
  cursor: pointer;
}

.nimbus-app .nimbus-demo-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.nimbus-app .nimbus-demo-sheet {
  position: absolute;
  top: calc(58px + env(safe-area-inset-top));
  right: 12px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 6px;
  border-radius: 16px;
  background: #0d1e30;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nimbus-app .nimbus-demo-sheet button,
.nimbus-app .nimbus-demo-sheet a {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d5dde6;
  font: inherit;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nimbus-app .nimbus-demo-sheet button[aria-current="page"] {
  background: rgba(23, 168, 245, 0.16);
  color: #f3f6fa;
}

.nimbus-app .nimbus-demo-sheet a,
.nimbus-app .nimbus-demo-sheet button:last-child {
  color: #9fadbf;
}

.nimbus-app .nimbus-device {
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nimbus-app .nimbus-device::after,
.nimbus-app .nimbus-demo-status,
.nimbus-app .nimbus-launch-status {
  display: none;
}

.nimbus-app .nimbus-device-screen:has(.nimbus-demo-scroll.is-under) .nimbus-who {
  top: 0;
}

/* iOS draws filter: drop-shadow from the square box and stops clipping the
   mark's background to the circle. A round shadow does not. */
.nimbus-app .nimbus-who-mark.nimbus-launch-mark {
  background: transparent;
  filter: none;
  box-shadow:
    0 0 8px rgba(2, 200, 255, 0.55),
    0 0 36px rgba(2, 200, 255, 0.28);
  animation: nimbus-launch-halo-round 5s ease-in-out infinite alternate;
}

@keyframes nimbus-launch-halo-round {
  0% {
    box-shadow:
      0 0 6px rgba(2, 200, 255, 0.35),
      0 0 20px rgba(2, 200, 255, 0.14);
  }
  100% {
    box-shadow:
      0 0 14px rgba(2, 200, 255, 0.85),
      0 0 52px rgba(2, 200, 255, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nimbus-app .nimbus-who-mark.nimbus-launch-mark {
    animation: none;
  }
}

.nimbus-app .nimbus-device-screen.is-launch,
.nimbus-app .nimbus-device-screen.is-lock {
  padding-bottom: env(safe-area-inset-bottom);
}

.nimbus-app .nimbus-demo-tabs {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.nimbus-app .nimbus-demo-tabs button {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.nimbus-app .nimbus-msg-bubble {
  font-size: 18px;
  line-height: 26px;
}

.nimbus-app .nimbus-time {
  font-size: 13px;
}

.nimbus-app .nimbus-composer input {
  font-size: 18px;
  line-height: 24px;
}

.nimbus-app .nimbus-listen {
  font-size: 14px;
}

.nimbus-app .nimbus-lock-from {
  font-size: 14px;
}

.nimbus-app .nimbus-lock-title {
  font-size: 18px;
}

.nimbus-app .nimbus-lock-body {
  font-size: 16px;
  line-height: 1.35;
}

.nimbus-app .nimbus-goal-kicker {
  font-size: 13px;
}

.nimbus-app .nimbus-goal-msg strong {
  font-size: 20px;
}

.nimbus-app .nimbus-goal-msg span,
.nimbus-app .nimbus-goal-msg em {
  font-size: 16px;
}

.nimbus-app .nimbus-goal-msg-body {
  font-size: 18px;
  line-height: 26px;
}

.nimbus-app .nimbus-integrations-card .nimbus-ask-kicker {
  font-size: 13px;
}

.nimbus-app .nimbus-integrations-card h2 {
  font-size: 20px;
}

.nimbus-app .nimbus-integrations-card .nimbus-ask-body {
  font-size: 18px;
  line-height: 26px;
}

.nimbus-app .nimbus-integrations-card .nimbus-ask-actions button,
.nimbus-app .nimbus-integrations-card .nimbus-ask-more {
  font-size: 16px;
}
