[hidden] {
  display: none !important;
}

.provider-symbols {
  position: absolute;
  width: 0;
  height: 0;
}

.auth-layer {
  position: fixed;
  inset: 0;
  background: rgb(245 245 247 / 82%);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 150px 24px 24px;
  overflow-y: auto;
}

.auth-card {
  width: 400px;
  border-radius: 24px;
  background: var(--background);
  padding: 36px 32px 28px;
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 80px rgb(0 0 0 / 18%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[data-theme="dark"] .auth-layer {
  background: rgb(0 0 0 / 72%);
}

[data-theme="dark"] .auth-card,
[data-theme="dark"] .account-menu {
  background: var(--canvas);
}

.auth-card h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: -0.8px;
  text-align: center;
}

.browser-welcome {
  display: contents;
}

.app-welcome {
  display: none;
}

.auth-card p {
  margin: 2px 0 14px;
  font-size: 15px;
  line-height: 22px;
  color: var(--soft);
  text-align: center;
}

.auth-card .button {
  height: 50px;
  border-radius: 14px;
}

.auth-card button {
  border: 0;
  flex-shrink: 0;
}

.auth-card .secondary {
  background: transparent;
  color: var(--ink);
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.legal {
  margin-top: 10px;
  color: var(--grey);
  font-size: 12px;
  text-align: center;
}

.auth-card #auth-status {
  margin: 0;
  font-size: 13px;
}

#auth-status:empty {
  display: none;
}

.account {
  position: relative;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  vertical-align: middle;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar[aria-expanded="true"] {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.account-menu {
  color: var(--ink);
  position: absolute;
  top: 48px;
  right: 0;
  width: 300px;
  z-index: 10;
  border-radius: 18px;
  background: var(--background);
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 80px rgb(0 0 0 / 18%);
  padding: 8px 0;
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 14px;
  border-bottom: 1px solid var(--line);
}

.account-summary > div {
  min-width: 0;
}

.account-summary .avatar {
  width: 44px;
  height: 44px;
}

.account-summary strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 20px;
}

.account-email {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.provider-icon {
  flex-shrink: 0;
}

.account-menu .menu-label {
  flex: 1;
  margin-left: 12px;
  color: var(--ink);
}

.account-menu svg {
  width: 18px;
  height: 18px;
}

.account-menu button {
  justify-content: flex-start;
  gap: 12px;
}

.topbar .account-menu nav {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
}

.account-menu a,
.account-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
}

.account-menu a span {
  color: var(--grey);
}

.account-menu button {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.account-menu a:hover,
.account-menu button:hover {
  background: var(--canvas);
}

@media (max-width: 600px) {
  body[data-signed-in="false"] #landing {
    display: none;
  }

  .auth-layer {
    position: static;
    padding: 70px 24px 24px;
    background: transparent;
    backdrop-filter: none;
  }

  [data-theme="dark"] .auth-layer,
  [data-theme="dark"] .auth-card {
    background: transparent;
  }

  .auth-card {
    width: 100%;
    max-width: 400px;
    box-shadow: none;
    padding: 0;
  }

  .account {
    position: static;
  }

  .account-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: max(54px, calc(env(safe-area-inset-top) + 44px));
    width: auto;
  }
}

.desktop-app {
  display: grid;
  grid-template-columns: 260px 290px 260px;
  justify-content: center;
  align-items: start;
  gap: 72px;
  padding: 4px 24px 32px;
}
.phone-install,
.coming-soon {
  padding-top: 110px;
  font-size: 14px;
}
.desktop-app h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.4px;
}
.phone-install p {
  color: var(--soft);
  line-height: 21px;
  margin: 6px 0 0;
}
.qr {
  position: relative;
  width: max-content;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin: 20px 0 14px;
}
.qr img {
  display: block;
}
.qr-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 6px;
  display: flex;
  gap: 3px;
  align-items: center;
  border-radius: 6px;
  background: white;
}
.qr-mark i {
  width: 20px;
  height: 10px;
  border-radius: 4px;
  background: #000;
}
.qr-mark i:first-child {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34c759;
}
.coming-soon > div {
  display: flex;
  justify-content: space-between;
  background: var(--canvas);
  padding: 16px;
  border-radius: 14px;
  margin-top: 12px;
  font-weight: 500;
  font-size: 15px;
}
.coming-soon small {
  color: var(--grey);
}
#app-root {
  color-scheme: dark;
  --background: #1c1c1e;
  --canvas: #000;
  --ink: #fff;
  --soft: #8e8e93;
  --line: #2c2c2e;
  --outline: #3a3a3c;
  --button: #fff;
  --button-text: #000;
  --dot: #30d158;
  position: relative;
  width: 100%;
  height: 631px;
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 70px rgb(0 0 0 / 22%);
  isolation: isolate;
}
#feed-root,
#screens-root {
  height: 100%;
}
.keyboard-guide {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 8px;
  color: var(--soft);
}
kbd {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}
#open-wile {
  display: none;
}
.feed {
  position: relative;
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}
.feed button {
  color: inherit;
}
.feed-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: max(16px, env(safe-area-inset-top)) 14px 14px;
  background: linear-gradient(#000b, #0000);
  transition: opacity 0.2s;
}
.feed-head.playing {
  opacity: 0;
}
.feed-head:hover,
.feed-head:focus-within {
  opacity: 1;
}
.feed-wordmark {
  display: flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.feed-wordmark span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #30d158;
  margin-left: 1px;
}
.feed-tabs {
  display: flex;
  gap: 12px;
}
.feed-tabs button {
  padding: 8px 0;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: 13px;
  opacity: 0.6;
}
.feed-tabs button[aria-pressed="true"] {
  opacity: 1;
  border-bottom: 2px solid white;
}
.unread-dot {
  display: inline-block;
  margin: 0 0 2px 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30d158;
}
.usage-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid #ffffff70;
  border-radius: 12px;
  font:
    11px "IBM Plex Mono",
    monospace;
}
progress {
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: var(--line);
}
progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: var(--ink);
  border-radius: 8px;
}
.usage-chip progress {
  width: 24px;
  height: 4px;
}
.usage-chip progress::-webkit-progress-bar {
  background: #ffffff30;
}
.usage-chip progress::-webkit-progress-value {
  background: white;
}
.reel,
.video-shade {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.reel {
  object-fit: cover;
}
.video-shade {
  pointer-events: none;
  background: linear-gradient(transparent 55%, #000b);
}
.rail {
  position: absolute;
  right: 10px;
  width: 44px;
  bottom: calc(30px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.rail button,
.answer-box button,
.close-sheet {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: transparent;
  border: 0;
}
.rail button {
  width: 24px;
  height: 24px;
  padding: 0;
}
.rail button[aria-pressed="true"] svg {
  fill: #fff;
}
.tool-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
svg.tool-icon {
  fill: currentColor;
}
.letter-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #000;
  font-weight: 600;
}
.agent-tile {
  background: #fff;
  border-radius: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reply-card-wrap {
  position: absolute;
  left: 10px;
  right: 62px;
  bottom: calc(30px + env(safe-area-inset-bottom));
}
.reply-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 38px 9px 9px;
  border: 1px solid #ffffff29;
  border-radius: 14px;
  background: #16161a6b;
  box-shadow:
    0 8px 24px #0004,
    inset 0 1px 0 #ffffff0f;
  backdrop-filter: blur(16px);
  position: relative;
}
.source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
}
.source-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-row small {
  color: #8e8e93;
  font-size: 10px;
  border: 1px solid #ffffff99;
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}
.source-row .tool-icon {
  width: 24px;
  height: 24px;
}
.reply-card strong {
  display: block;
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
  color: #ffffffe0;
  margin-top: 4px;
  padding-left: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mic-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  background: #ffffff24;
  display: grid;
  place-content: center;
}
.mic-badge svg {
  width: 12px;
  height: 12px;
}
.watch-only,
.answer-state {
  display: block;
  margin-top: 6px;
  color: #8e8e93;
  font-size: 11px;
}
.seek {
  display: block;
  margin: 0 8px 9px;
  width: calc(100% - 16px);
  height: 2px;
  appearance: none;
  background: #ffffff50;
  border-radius: 2px;
  accent-color: white;
  cursor: pointer;
}
.seek-preview {
  position: absolute;
  bottom: 100%;
  left: 25%;
  width: 120px;
  height: 150px;
  background-size: auto 100%;
  background-color: #000;
  color: white;
  text-align: center;
  padding-top: 120px;
  border-radius: 10px;
  font:
    12px "IBM Plex Mono",
    monospace;
}
.feed-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 44px 24px 80px;
}
.feed-empty p {
  color: #8e8e93;
  line-height: 1.5;
}
.feed-empty button {
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 24px;
  padding: 12px 20px;
}
.pending-answers {
  position: absolute;
  top: 68px;
  left: 12px;
  z-index: 5;
  display: flex;
  gap: 6px;
}
.undo-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 5px;
  border: 0;
  background: conic-gradient(
    #fff calc(var(--remaining) * 360deg),
    #ffffff30 0deg
  );
  display: grid;
  place-content: center;
}
.undo-ring .tool-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 3px solid #000;
}
.sheet-layer {
  position: absolute;
  z-index: 6;
  inset: 0;
  background: #0008;
  display: flex;
  align-items: end;
  touch-action: auto;
  user-select: text;
}
.app-sheet {
  position: relative;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  border-radius: 22px 22px 0 0;
  padding: 40px 18px calc(28px + env(safe-area-inset-bottom));
  background: var(--background);
  color: var(--ink);
}
.close-sheet {
  position: absolute;
  right: 8px;
  top: 6px;
}
.sheet-content h2 {
  font-size: 22px;
}
.summary {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 14px;
}
.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  text-decoration: underline;
}
.thread {
  font-size: 13px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  color: var(--soft);
}
.question {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.solid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  width: 100%;
  border-radius: 24px;
  background: var(--button);
  color: var(--button-text) !important;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0;
}
.answer-box {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  margin-top: 14px;
  padding: 4px;
}
.answer-box textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 0;
  resize: none;
  outline-offset: 0;
}
.recording .app-sheet {
  outline: 2px solid var(--ink);
}
.feed-status {
  position: absolute;
  top: 100px;
  left: 12px;
  right: 12px;
  z-index: 8;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  background: #1d1d1f;
  color: #fff;
}
.feed-status:empty {
  display: none;
}
.screen {
  height: 100%;
  background: var(--canvas);
  overflow-y: auto;
  color: var(--ink);
}
.screen header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: max(18px, env(safe-area-inset-top)) 12px 16px;
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}
.screen header h1 {
  flex: 1;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.2px;
  text-align: center;
  margin: 0;
}
.screen header a {
  display: flex;
  padding: 4px;
}
.screen-content {
  padding: 20px 14px calc(32px + env(safe-area-inset-bottom));
}
.screen-content h2 {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--soft);
  margin: 22px 4px 8px;
}
.group {
  margin: 0 0 14px;
  border-radius: 16px;
  background: var(--background);
  overflow: hidden;
}
.group > button,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 16px;
}
.group > :last-child {
  border-bottom: 0;
}
.secondary-text {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.6;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
}
.profile-initial {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--background);
  font-size: 22px;
}
.profile-row small,
.agent-row small,
.rule-row small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--soft);
  line-height: 1.5;
  margin-top: 4px;
}
.agent-row > a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.agent-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}
.screen-content form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 18px;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
  accent-color: var(--ink);
}
input:not([type="range"], [type="checkbox"], [type="radio"]),
textarea,
select {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.row select {
  width: auto;
  max-width: 160px;
  font-size: 13px;
}
.rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rule-row a {
  flex: 1;
}
.install-command {
  display: block;
  background: var(--background);
  padding: 14px;
  font:
    12px/1.8 "IBM Plex Mono",
    monospace;
  overflow-wrap: anywhere;
  border-radius: 12px;
}
.usage-total {
  font-size: 72px;
  font-weight: 600;
  margin: 24px 0;
}
.usage-total span {
  font-size: 24px;
  color: var(--soft);
}
.usage-days {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.usage-days > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  width: 28px;
  font:
    10px "IBM Plex Mono",
    monospace;
}
.usage-days progress {
  width: 28px;
  height: 8px;
}
.plan-detail {
  padding: 0 14px;
  font-size: 13px;
  color: var(--soft);
}
.saved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.saved-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.saved-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  opacity: 0.6;
}
.saved-tile strong,
.saved-tile small {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 30px;
  font-size: 12px;
}
.saved-tile small {
  bottom: 8px;
  font-size: 9px;
}
.install-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: max(146px, calc(env(safe-area-inset-top) + 100px)) 24px 30px;
  color: #fff;
  background: #000;
  position: relative;
}
.install-screen h1 {
  font-size: 28px;
  letter-spacing: -0.7px;
  line-height: 34px;
  margin: 30px 0 0;
}
.install-screen p {
  color: #8e8e93;
  line-height: 23px;
  font-size: 16px;
  margin: 10px 12px 0;
}
.install-screen img {
  border-radius: 24px;
  background: white;
}
.install-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 34px;
  color: #8e8e93;
  white-space: nowrap;
}
.install-screen .solid {
  background: #fff;
  color: #000 !important;
  max-width: 240px;
  height: 52px;
  font-size: 16px;
  border-radius: 14px;
  margin-top: 30px;
}
.install-arrow {
  position: absolute;
  right: 34px;
  bottom: 16px;
  width: 40px;
  height: 120px;
}
@media (max-width: 1080px) {
  .desktop-app {
    gap: 30px;
    grid-template-columns: 230px 290px 220px;
  }
}
@media (max-width: 850px) {
  .desktop-app {
    grid-template-columns: 220px 290px;
  }
  .coming-soon {
    display: none;
  }
}
@media (max-width: 600px) {
  body[data-signed-in="true"] > .topbar {
    position: fixed;
    right: 8px;
    top: max(8px, env(safe-area-inset-top));
    padding: 0;
    height: 32px;
    z-index: 20;
  }
  body[data-signed-in="true"] > .topbar .wordmark,
  body[data-signed-in="true"] > .topbar .theme-toggle {
    display: none;
  }
  body[data-signed-in="true"] > .topbar .avatar {
    width: 28px;
    height: 28px;
  }
  .desktop-app {
    display: block;
    padding: 0;
  }
  .phone-install,
  .coming-soon,
  .keyboard-guide,
  #open-wile {
    display: none;
  }
  #app-root {
    height: var(--app-height, 100dvh);
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .feed-head {
    padding-right: 46px;
  }

  .feed-tabs {
    gap: 14px;
  }
  .feed-tabs button {
    font-size: 15px;
  }

  .rail {
    right: 10px;
    gap: 20px;
  }
}

#landing {
  display: block;
  width: 100%;
}
.desktop-app .coming-soon {
  display: block;
  padding: 120px 0 0;
  color: var(--ink);
}
.coming-soon > div {
  gap: 16px;
  line-height: 1.3;
}
@media (max-width: 850px) {
  .desktop-app .coming-soon {
    display: none;
  }
}

.seek::-webkit-slider-thumb {
  appearance: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
}
.seek:active::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
}
.app-sheet:has(#answer-text:focus) .summary,
.app-sheet:has(#answer-text:focus) .detail-links,
.app-sheet:has(#answer-text:focus) .thread {
  display: none;
}

.paused-hint {
  display: none;
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0008;
  place-content: center;
  color: white;
  pointer-events: none;
}
.feed.paused .paused-hint {
  display: grid;
}

img.tool-icon {
  background: white;
  padding: 2px;
}

.auth-backdrop {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body[data-signed-in="true"] .auth-backdrop,
body[data-signed-in="false"] .desktop-app {
  display: none;
}
.phone-install .mono {
  font:
    500 13px/1 "IBM Plex Mono",
    monospace;
  margin-bottom: 20px;
}
.install-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #3a3a3c;
  border-radius: 8px;
  background: #2c2c2e;
  color: #fff;
}
.install-key svg {
  width: 14px;
  height: 14px;
}
.rail [data-action="speed"] {
  border: 1.5px solid #fff;
  border-radius: 7px;
  width: auto;
  height: auto;
  padding: 1px 5px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
}
.agent-tile .tool-icon {
  width: 18px;
  height: 18px;
}
.notification-layer {
  align-items: start;
  padding: 0 12px;
  background: #0007;
}
.notification-layer .app-sheet {
  top: 34%;
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  color: #fff;
  background: #1c1c1ef5;
  border: 1px solid #ffffff24;
  box-shadow: 0 18px 40px #0006;
}
.notification-layer .close-sheet {
  color: #8e8e93;
  right: 8px;
  top: 10px;
}
.notification-layer .close-sheet svg {
  width: 18px;
  height: 18px;
}
.notification-heading {
  display: flex;
  align-items: start;
  gap: 12px;
  padding-right: 24px;
}
.notification-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #000;
}
.notification-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 21px;
}
.notification-heading p {
  margin: 2px 0 0;
  color: #a1a1a6;
  font-size: 13px;
  line-height: 18px;
}
.notification-layer .solid {
  margin: 14px 0 0;
  height: 44px;
  border-radius: 22px;
  background: #fff;
  color: #000 !important;
  font-size: 15px;
}
@media (min-width: 601px) {
  #feed-root,
  #screens-root {
    width: 402px;
    height: 874px;
    transform: scale(0.721393);
    transform-origin: top left;
  }
}
@media (max-width: 600px) {
  body[data-signed-in="false"] #landing {
    display: none;
  }
  body[data-standalone="true"][data-signed-in="false"] {
    background: #000;
  }
  body[data-standalone="true"][data-signed-in="false"] > .topbar {
    display: none;
  }
  body[data-standalone="true"] .auth-layer {
    position: relative;
    min-height: 100dvh;
    padding: max(338px, calc(100dvh - 482px)) 20px
      max(24px, env(safe-area-inset-bottom));
    color: #fff;
    background: #000 url("/video/signin-reels.jpg") top center / 100% auto
      no-repeat;
    isolation: isolate;
  }
  body[data-standalone="true"] .auth-layer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(#0002 0%, #0009 36%, #000 54%);
  }
  body[data-standalone="true"] .auth-card {
    background: transparent;
    max-width: 400px;
  }
  body[data-standalone="true"] .browser-welcome {
    display: none;
  }
  body[data-standalone="true"] .app-welcome {
    display: block;
    padding: 0 8px;
    margin-bottom: 10px;
  }
  .app-welcome .wordmark {
    font-size: 52px;
  }
  .app-welcome h2 {
    margin-top: 22px;
    text-align: left;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: -0.6px;
  }
  .app-welcome p {
    margin: 10px 0 0;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    color: #a1a1a6;
  }
  body[data-standalone="true"] .auth-card .primary {
    background: #fff;
    color: #000;
  }
  body[data-standalone="true"] .auth-card .secondary {
    background: #1c1c1e;
    color: #fff;
    box-shadow: none;
  }
  body[data-standalone="true"] .auth-card .legal {
    margin-top: 6px;
  }
  body[data-signed-in="true"] > .topbar:has(+ #landing .install-screen) {
    display: none;
  }
}

body[data-signed-in="true"] .auth-start {
  display: none;
}
.phone-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
}
.phone-steps > div {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.phone-steps svg {
  width: 15px;
  height: 15px;
}
.key {
  padding: 0 8px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--outline);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
}
.key-group,
[data-glyph] {
  display: inline-flex;
  align-items: center;
}
.key-group {
  gap: 6px;
}
.keyboard-guide svg {
  width: 15px;
  height: 15px;
}
.keyboard-guide kbd {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  min-width: 30px;
  border-color: #3a3a3c;
  background: #2c2c2e;
  color: #fff;
  border-radius: 8px;
  font:
    500 14px/1 "IBM Plex Sans",
    sans-serif;
}
.keyboard-guide .down svg {
  transform: rotate(180deg);
}
.desktop-app .coming-soon > div {
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 16px;
}
.coming-soon small {
  margin-left: auto;
  border-radius: 11px;
  font:
    500 12px/1 "IBM Plex Mono",
    monospace;
}
.coming-soon [data-glyph] svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 600px) {
  .auth-start {
    display: none;
  }
}

.feed:has(.notification-layer:not([hidden])) .feed-head {
  opacity: 0;
}

[data-theme="dark"] .auth-card .secondary {
  background: #000;
  box-shadow: inset 0 0 0 1px var(--outline);
}
.header-spacer {
  width: 32px;
}
.feed-menu {
  display: flex;
}
.keyboard-guide [data-glyph="check"] {
  color: #30d158;
}
.row-title {
  flex: 1;
}
.row-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #262628;
}
.row-icon svg {
  width: 18px;
  height: 18px;
}
.row-chevron {
  color: #636366;
  margin-left: 6px;
  font-size: 22px;
}
.settings-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings-profile .profile-row {
  flex: 1;
  min-width: 0;
  padding: 6px 4px;
}
.profile-row strong {
  font-size: 19px;
  line-height: 24px;
}
.profile-row small {
  font-size: 13px;
  line-height: 18px;
}
.profile-initial {
  flex: none;
  width: 60px;
  height: 60px;
  border: 2px solid var(--line);
}
.profile-usage {
  flex: none;
  width: 96px;
  color: var(--soft);
  text-align: right;
  font-size: 13px;
}
.profile-usage progress {
  display: block;
  margin-top: 6px;
}
.appearance-control {
  padding: 8px 10px;
}
.segments {
  display: flex;
  padding: 4px;
  border-radius: 10px;
  background: #262628;
}
.segments label {
  position: relative;
  flex: 1;
  text-align: center;
  cursor: pointer;
}
.segments input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.segments span {
  display: block;
  padding: 8px;
  border-radius: 7px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}
.segments input:checked + span {
  background: #48484c;
  color: #fff;
}
.segments input:focus-visible + span {
  outline: 2px solid #fff;
}
.screen input[type="checkbox"] {
  appearance: none;
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: #39393d;
  padding: 2px;
  margin: 0;
  cursor: pointer;
}
.screen input[type="checkbox"]::before {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.screen input[type="checkbox"]:checked {
  background: #fff;
}
.screen input[type="checkbox"]:checked::before {
  background: #000;
  transform: translateX(20px);
}
.device-row {
  min-height: 64px;
}
.device-row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--soft);
}
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #636366;
}
.online-dot.online {
  background: #30d158;
}
.agent-row {
  min-height: 64px;
  padding-left: 56px;
  font-size: 14px;
}
.device-heading {
  text-align: center;
}
.device-heading > .row-icon {
  width: 64px;
  height: 64px;
  margin: 10px auto;
  border-radius: 18px;
}
.device-heading > .row-icon svg {
  width: 34px;
  height: 34px;
}
.device-heading h2 {
  color: #fff;
  font-size: 22px;
  text-transform: none;
}
@media (max-width: 600px) {
  body[data-signed-in="true"] {
    background: #000;
  }
  body[data-signed-in="true"] .account-menu {
    color-scheme: dark;
    --background: #1c1c1e;
    --canvas: #000;
    --ink: #fff;
    --soft: #8e8e93;
    --line: #2c2c2e;
  }
  body[data-signed-in="true"] > .topbar:has(+ #landing .screen) {
    display: none;
  }
}

#device-count {
  margin-right: 6px;
}
.device-actions > button {
  justify-content: center;
}
