:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --surface: #ffffff;
  --soft: #f3f3f3;
  --text: #171717;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --strong: #111111;
  --on-strong: #ffffff;
  --accent: #171717;
  --accent-soft: #ededed;
  --danger: #a12b2b;
  --danger-soft: #fff2f2;
  --success: #2a6347;
  --success-soft: #edf5ef;
  --focus: #111111;
  --shadow: 0 8px 30px #00000005;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111;
    --surface: #191919;
    --soft: #242424;
    --text: #eeeeee;
    --muted: #ababab;
    --line: #343434;
    --strong: #eeeeee;
    --on-strong: #111111;
    --accent: #eeeeee;
    --accent-soft: #2d2d2d;
    --danger: #efa5a5;
    --danger-soft: #352222;
    --success: #a4ceb1;
    --success-soft: #26352b;
    --focus: #eeeeee;
    --shadow: 0 8px 30px #00000020;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111111;
  --surface: #191919;
  --soft: #242424;
  --text: #eeeeee;
  --muted: #ababab;
  --line: #343434;
  --strong: #eeeeee;
  --on-strong: #111111;
  --accent: #eeeeee;
  --accent-soft: #2d2d2d;
  --danger: #efa5a5;
  --danger-soft: #352222;
  --success: #a4ceb1;
  --success-soft: #26352b;
  --focus: #eeeeee;
  --shadow: 0 8px 30px #00000020;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 500;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1280px;
  padding-left: 48px;
  padding-right: 48px;
  margin: auto;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill {
  fill: currentColor;
  stroke: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand > .icon {
  color: var(--text);
  width: 26px;
  height: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  border: 1px solid var(--strong);
  background: var(--strong);
  color: var(--on-strong);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  transition:
    background 160ms ease,
    transform 160ms ease;
}
.button:hover:not(:disabled) {
  filter: brightness(0.88);
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.button.small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 12px;
}
.button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--soft);
  filter: none;
}
.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--surface);
}
.button.wide {
  width: 100%;
  min-height: 44px;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  line-height: 1;
}
.icon-button:hover {
  color: var(--text);
  background: var(--soft);
}
.button.icon-button {
  background: var(--strong);
  color: var(--on-strong);
  border: 1px solid var(--strong);
  width: 40px;
  height: 40px;
}
.quiet-link,
.text-link,
.quiet-button,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  min-height: 32px;
}
.quiet-link .icon,
.text-link .icon,
.quiet-button .icon,
.text-button .icon {
  width: 14px;
  height: 14px;
}
.quiet-link:hover,
.text-link:hover,
.quiet-button:hover,
.text-button:hover {
  color: var(--text);
}
.quiet-button,
.text-button {
  border: 0;
  background: transparent;
  padding: 4px 0;
}
.muted {
  color: var(--muted);
}
.fine {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.mono,
code,
pre {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: 10px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transform: translateY(-160%);
  z-index: 99;
}
.skip:focus {
  transform: none;
}
.status {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.status:empty {
  display: none;
}
.status.error {
  color: var(--danger);
}
.status.success {
  color: var(--success);
}
.large-icon,
.story-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
}
.large-icon .icon {
  width: 20px;
  height: 20px;
}
input:not([type="radio"]),
select {
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}
input::placeholder {
  color: var(--muted);
  opacity: 0.65;
}
label {
  font-size: 13px;
  color: var(--text);
}
input[aria-invalid="true"] {
  border-color: var(--danger);
}
.header-spacer {
  flex: 1;
}
.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  color: var(--muted);
}
.site-header nav > a:not(.button):hover {
  color: var(--text);
}
.theme-switcher {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.theme-options {
  position: absolute;
  z-index: 50;
  right: 0;
  top: 40px;
  width: 150px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px #00000010;
}
.theme-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 9px;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
}
.theme-options label:hover {
  background: var(--soft);
}
.theme-options input {
  accent-color: var(--text);
  margin: 0;
  width: 13px;
  height: 13px;
}
.landing-hero {
  text-align: center;
  padding-top: 62px;
  padding-bottom: 43px;
}
.landing-hero h1 {
  font-size: clamp(48px, 6.3vw, 84px);
  letter-spacing: -0.065em;
  line-height: 1.04;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 23px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 27px;
}
.hero-board {
  height: 608px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  isolation: isolate;
}
.dot-surface {
  background-image: radial-gradient(var(--line) 0.8px, transparent 0.8px);
  background-size: 9px 9px;
}
.hero-board:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent, var(--soft) 80%);
  z-index: -1;
}
.hero-commands {
  position: absolute;
  left: 10%;
  top: 126px;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.command-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.command-brand > .icon {
  color: var(--accent);
  width: 17px;
  height: 17px;
}
.demo-command {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 20px;
  font-size: 13px;
  min-height: 79px;
  transition: background 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-command.active {
  background: var(--soft);
}
.demo-command > .icon {
  width: 25px;
  height: 25px;
  color: var(--accent);
}
.demo-command small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.hero-phone {
  position: absolute;
  left: 65%;
  top: 25px;
  text-align: center;
}
.phone-illustration {
  width: 260px;
  height: 500px;
  display: block;
  filter: drop-shadow(0 15px 15px #0000001b);
}
.hero-phone > .fine {
  display: block;
  margin-top: 9px;
  font-size: 10px;
}
.phone-edge {
  fill: var(--line);
  stroke: var(--muted);
  stroke-width: 0.7;
}
.phone-screen {
  fill: var(--surface);
}
.phone-clock {
  font-size: 10px;
  fill: var(--text);
}
.signal {
  stroke: var(--text);
  stroke-width: 2;
}
.phone-headline {
  font-size: 30px;
  letter-spacing: -1px;
  fill: var(--text);
}
.app-one {
  fill: var(--accent-soft);
}
.app-two {
  fill: var(--soft);
}
.app-three {
  fill: var(--line);
}
.app-symbol {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.app-label {
  font-size: 10px;
  text-anchor: middle;
  fill: var(--muted);
}
.phone-task {
  fill: var(--soft);
  stroke: var(--line);
}
.phone-task-title {
  font-size: 12px;
  fill: var(--text);
}
.phone-task-lines {
  stroke: var(--line);
  stroke-width: 5;
  stroke-linecap: round;
}
.phone-home {
  stroke: var(--text);
  stroke-width: 4;
  stroke-linecap: round;
}
.hero-connector {
  position: absolute;
  left: 39%;
  top: 210px;
  width: 29%;
  height: 180px;
  overflow: visible;
}
.hero-connector path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}
.command-packet {
  fill: var(--accent);
}
.scene-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  border-top: 1px solid var(--line);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 45px;
  padding-bottom: 62px;
  gap: 20px;
}
.facts > div {
  padding: 12px 30px;
  border-right: 1px solid var(--line);
}
.facts > div:last-child {
  border: 0;
}
.facts strong {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.8px;
  display: block;
}
.facts span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 60px;
  padding-bottom: 65px;
}
.feature-copy h2,
.section-heading h2,
.closing h2 {
  font-size: 54px;
  letter-spacing: -0.06em;
}
.feature-copy p {
  font-size: 17px;
  max-width: 290px;
  margin-top: 23px;
  line-height: 1.6;
}
.environment-art {
  position: relative;
  height: 400px;
}
.environment-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.layer > path:first-child {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.3;
}
.layer-state > path:first-child {
  fill: var(--accent-soft);
}
.layer-outline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.layer-tiles {
  fill: var(--accent);
  opacity: 0.6;
}
.art-labels {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.fork-section {
  border-top: 1px solid var(--line);
  padding-top: 65px;
  padding-bottom: 65px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.section-heading > p {
  font-size: 17px;
  padding-bottom: 8px;
}
.fork-art {
  position: relative;
  height: 270px;
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 40px;
}
.fork-source {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
}
.fork-source > .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.fork-art > svg {
  height: 200px;
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.fork-art > svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
}
.fork-dot {
  fill: var(--accent);
}
.fork-outputs {
  display: flex;
  flex-direction: column;
  gap: 110px;
  width: 240px;
}
.fork-outputs > span {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 65px;
  padding-bottom: 72px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer > div {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-footer .brand {
  font-size: 17px;
}
.site-footer .muted {
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
}
.site-footer > .fine {
  width: 100%;
  font-size: 10px;
}

.auth-page {
  background: var(--surface);
}
.auth-header {
  height: 72px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.auth-header .brand {
  font-size: 21px;
}
.auth-header .brand > .icon {
  width: 24px;
  height: 24px;
}
.header-slash {
  font-size: 20px;
  color: var(--line);
}
.back-link {
  font-size: 12px;
  color: var(--muted);
}
.back-link:hover {
  color: var(--text);
}
.auth-stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 72px);
  padding: clamp(40px, 10vh, 108px) 24px 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.auth-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(var(--line), var(--line)) calc(50% - 280px) 0/1px 100%
      no-repeat,
    linear-gradient(var(--line), var(--line)) calc(50% + 280px) 0/1px 100%
      no-repeat;
  opacity: 0.6;
}
.auth-stage > #account-content {
  width: min(560px, 100%);
}
.pattern-frame {
  width: 560px;
  max-width: 100%;
  padding: 32px;
  border: 1px solid #313131;
  border-radius: 10px;
  background-color: #171717;
  background-image: radial-gradient(
    circle,
    transparent 2.7px,
    #494949 2.9px,
    #494949 3.4px,
    transparent 3.6px
  );
  background-size: 14px 14px;
  background-position: 5px 5px;
  box-shadow: 0 8px 28px #00000005;
}
.auth-card {
  position: relative;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.auth-card > .brand {
  font-size: 25px;
  margin-bottom: 28px;
}
.auth-card > .brand > .icon {
  width: 28px;
  height: 28px;
}
.auth-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 19px;
}
.auth-card > p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.auth-card > .status {
  margin: 14px 0 0;
  font-size: 12px;
}
.auth-link {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.auth-link > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--text);
}
.auth-link .icon {
  width: 14px;
  height: 14px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 19px;
  font-size: 11px;
  color: var(--muted);
}
.legal-links a {
  min-height: 28px;
  display: flex;
  align-items: center;
}
.legal-links a:hover {
  color: var(--text);
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
  min-height: 28px;
}
.auth-back .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.auth-card form label {
  display: block;
  margin-bottom: 7px;
}
.auth-card input {
  display: block;
  width: 100%;
}
.code-input {
  font-family: var(--mono);
  font-size: 24px !important;
  letter-spacing: 3px;
  text-align: center;
  min-height: 58px !important;
}
.auth-card form .fine {
  margin: 9px 0 18px;
}
.device-review {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 22px;
}
.device-review h2 {
  font-size: 18px;
  margin-bottom: 18px;
}
.device-review h3 {
  font-size: 12px;
  margin-top: 22px;
  letter-spacing: 0;
}
.details-list {
  margin: 0;
}
.details-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.details-list > div:last-child {
  border: 0;
}
.details-list dt {
  color: var(--muted);
  flex-shrink: 0;
}
.details-list dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.scope-list {
  font-size: 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.result-panel {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 22px;
}
.result-panel h2 {
  font-size: 22px;
  margin: 16px 0 12px;
}
.result-panel p {
  font-size: 13px;
  margin-bottom: 24px;
}
.result-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 50%;
}
.connection-choices {
  display: grid;
  gap: 9px;
  margin: 25px 0;
}
.connection-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}
.connection-choice:hover {
  background: var(--soft);
  border-color: var(--muted);
}
.connection-choice > .icon:first-child {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.connection-choice > span {
  flex: 1;
  min-width: 0;
}
.connection-choice strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.connection-choice small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 3px;
}
.connection-choice > .icon:last-child {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.onboarding-card h1 {
  font-size: 27px;
}

.app-layout {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 23px 22px 24px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-width: 0;
  z-index: 40;
}
.workspace-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
}
.workspace-bar > .brand {
  font-size: 15px;
  letter-spacing: -0.3px;
  gap: 7px;
  min-width: 0;
}
.workspace-bar > .brand > .icon {
  width: 20px;
  height: 20px;
}
.workspace-bar .search-trigger {
  width: 28px;
  min-width: 28px;
  height: 32px;
  padding: 5px;
  margin-left: auto;
}
.workspace-bar .search-trigger > .icon {
  width: 15px;
  height: 15px;
}
.app-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 101px;
}
.app-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.25;
}
.app-nav a > .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.3;
}
.app-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
}
.app-nav a:hover {
  background: var(--soft);
  color: var(--text);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 15px;
  min-width: 0;
}
.sidebar-docs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-docs > .icon {
  width: 15px;
  height: 15px;
}
.sidebar-docs:hover {
  color: var(--text);
}
details summary {
  list-style: none;
  cursor: pointer;
}
details summary::-webkit-details-marker {
  display: none;
}
.account-menu {
  position: relative;
  min-width: 0;
}
.account-menu > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  min-height: 36px;
  border-radius: 6px;
}
.account-menu > summary:hover,
.account-menu[open] > summary {
  background: var(--soft);
}
.account-avatar {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.account-menu > summary strong {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu > summary > .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: var(--muted);
}
.account-popover {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 0;
  min-width: 215px;
  z-index: 42;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px #00000010;
}
.account-popover > p {
  font-size: 11px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.account-popover > a {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  min-height: 33px;
  border-radius: 4px;
}
.account-popover > a:hover {
  background: var(--soft);
}
.account-legal {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 5px;
  padding: 7px 10px;
  font-size: 10px;
  color: var(--muted);
}
.account-legal a {
  min-height: 26px;
  display: flex;
  align-items: center;
}
.app-workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 13px;
}
.header-docs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}
.header-docs > .icon {
  width: 13px;
  height: 13px;
  transform: rotate(-35deg);
}
.app-main {
  width: 100%;
  max-width: 1052px;
  min-width: 0;
  padding: 20px 30px 54px;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.65px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 7px;
  line-height: 1.65;
}
.page-heading.centered {
  display: block;
  text-align: center;
  margin-bottom: 26px;
}
.connection-launcher {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 2px 3px #00000003;
  margin-bottom: 23px;
}
.launcher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.launcher-tabs,
.setup-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: var(--bg);
  border-radius: 6px;
  width: max-content;
}
.launcher-tabs [role="tab"],
.setup-tabs [role="tab"] {
  background: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  min-height: 28px;
  padding: 5px 10px;
  line-height: 1.3;
}
.launcher-tabs [role="tab"][aria-selected="true"],
.setup-tabs [role="tab"][aria-selected="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 1px 2px #00000005;
}
.launcher-top > .quiet-link {
  margin-right: 6px;
  font-size: 11px;
}
.launch-code-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.launch-code-form > input {
  flex: 1;
  border-color: transparent;
  background: var(--surface);
  letter-spacing: 1.7px;
  font-family: var(--mono);
  width: 100%;
  font-size: 15px;
  padding-left: 12px;
}
.launch-code-form > input:focus-visible {
  outline-offset: 0;
}
.launch-code-form > .button {
  flex-shrink: 0;
}
.launcher-key {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 3px 0 9px;
  min-height: 40px;
  font-size: 13px;
  color: var(--muted);
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}
.usage-column {
  min-width: 0;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  min-width: 0;
  box-shadow: 0 2px 3px #00000002;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.panel-title h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.panel-title h2 > .icon {
  width: 16px;
  height: 16px;
}
.panel-title > span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.panel-title .quiet-link {
  font-size: 11px;
  min-height: 22px;
}
.usage-panel {
  margin-bottom: 12px;
}
.usage-chart {
  width: 100%;
  height: 166px;
  display: block;
}
.chart-bar {
  fill: var(--text);
}
.chart-axis {
  stroke: var(--line);
  stroke-width: 1;
}
.empty-chart {
  height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
#chart-range {
  font-size: 10px;
  margin-top: 10px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 17px 15px;
}
.metric h2 {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.metric strong {
  display: block;
  margin-top: 11px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.metric p {
  font-size: 10px;
  margin-top: 10px;
}
.usage-column > .quiet-button {
  margin-top: 9px;
  font-size: 11px;
}
.quickstart-panel > .panel-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 19px;
}
.setup-steps {
  list-style: none;
  counter-reset: setup;
  display: grid;
  gap: 23px;
  padding: 0;
  margin: 0;
}
.setup-steps > li {
  display: flex;
  gap: 11px;
  counter-increment: setup;
  min-width: 0;
}
.setup-steps > li:before {
  content: counter(setup);
  font-size: 10px;
  color: var(--muted);
  height: 17px;
  min-width: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-top: 1px;
}
.setup-steps > li > div {
  min-width: 0;
  flex: 1;
}
.setup-steps h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 7px;
}
.setup-steps p {
  font-size: 11px;
  line-height: 1.65;
}
.setup-steps .button {
  margin-top: 11px;
  font-size: 12px;
  min-height: 38px;
}
.setup-tabs {
  margin-top: 9px;
}
.setup-tabs [role="tab"] {
  font-size: 11px;
  min-height: 26px;
  padding: 4px 10px;
}
.setup-steps pre {
  margin: 9px 0 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font: 10px/1.7 var(--mono);
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.setup-steps .quiet-button {
  font-size: 11px;
  margin-top: 6px;
  min-height: 28px;
}
.setup-steps .status {
  font-size: 11px;
  margin: 6px 0 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.phone-row > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.phone-row > div {
  min-width: 0;
}
.phone-row strong {
  font: 11px var(--mono);
  font-weight: 400;
  display: block;
  overflow-wrap: anywhere;
}
.phone-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.status-badge {
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  padding: 3px 7px;
}
.status-badge.ready,
.status-badge.active {
  background: var(--accent-soft);
  color: var(--text);
  border-color: transparent;
}
.phone-list > .muted {
  font-size: 12px;
}
meter {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  accent-color: var(--text);
}
meter::-webkit-meter-bar {
  background: var(--soft);
  border-color: var(--line);
}
meter::-webkit-meter-optimum-value {
  background: var(--text);
}
meter::-moz-meter-bar {
  background: var(--text);
}
#limit-caption {
  margin-top: 8px;
  font-size: 10px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 30px;
  font-size: 10px;
  color: var(--muted);
}
.app-footer nav {
  display: flex;
  gap: 20px;
}
.page-loading {
  padding: 110px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.error-panel {
  max-width: 520px;
  margin: 40px auto;
  padding: 24px;
}
.error-panel h2 {
  font-size: 23px;
}
.error-panel p {
  margin: 18px 0 24px;
  font-size: 13px;
}
.error-panel .text-link {
  margin-left: 18px;
}
.key-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding-left: 10px;
  background: var(--surface);
  width: 240px;
  max-width: 100%;
}
.search-field > .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.search-field > input {
  min-height: 34px;
  border: 0;
  background: transparent;
  font-size: 12px;
  width: 100%;
  padding-left: 0;
}
.filter-field select {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
  background: var(--surface);
}
.table-panel {
  padding: 0;
  overflow: hidden;
}
.table-scroll {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.keys-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 12px;
  text-align: left;
}
.keys-table th {
  background: var(--soft);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.keys-table td {
  padding: 17px 16px;
  border-bottom: 1px solid var(--line);
  max-width: 220px;
  overflow-wrap: anywhere;
}
.keys-table tbody tr:last-child td {
  border: 0;
}
.keys-table td .status-badge {
  display: inline-block;
  margin: 0;
}
.revoke-button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  padding: 5px 9px;
}
.revoke-button:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.empty-state {
  padding: 45px 25px;
  text-align: center;
}
.empty-state h2 {
  font-size: 20px;
  margin: 18px 0 12px;
}
.empty-state p {
  font-size: 12px;
}
.empty-state .quiet-link {
  margin-top: 9px;
}
#refresh-keys {
  margin-top: 13px;
}
.billing-placeholder {
  max-width: 620px;
  padding: 32px;
  margin: auto;
}
.billing-placeholder h2 {
  font-size: 23px;
  margin: 23px 0 14px;
}
.billing-placeholder > p {
  font-size: 13px;
}
.billing-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 27px 0;
  font-size: 12px;
}
.billing-status strong {
  font-weight: 500;
}
.billing-placeholder > .quiet-button {
  margin-left: 17px;
}
.open-sidebar,
.close-sidebar,
.mobile-wordmark {
  display: none;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  border: 0;
  background: #00000055;
  cursor: default;
}

dialog {
  max-width: 480px;
  width: calc(100% - 36px);
  max-height: calc(100dvh - 40px);
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 16px 60px #00000020;
}
dialog::backdrop {
  background: #00000022;
}
dialog form {
  margin: 0;
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
}
dialog h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
dialog p {
  font-size: 12px;
  margin-bottom: 22px;
  line-height: 1.65;
}
dialog label {
  display: block;
  margin: 21px 0 7px;
  font-size: 12px;
}
dialog input {
  width: 100%;
}
.dialog-heading > .icon-button {
  margin: -5px -6px 0 0;
  font-size: 22px;
}
dialog .status {
  margin: 12px 0 0;
  font-size: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 24px;
}
.dialog-actions .button {
  min-height: 34px;
  font-size: 12px;
  padding: 8px 13px;
}
.copy-field {
  display: flex;
  gap: 8px;
}
.copy-field input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.copy-field .button {
  flex-shrink: 0;
  font-size: 12px;
  gap: 7px;
}
.copy-field .icon {
  width: 14px;
  height: 14px;
}
#revoke-key-name,
#revoke-key-id {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  margin: 10px 0;
}
#revoke-key-name {
  font-weight: 500;
}
.command-dialog {
  max-width: 530px;
  padding: 0;
  margin-top: min(18vh, 150px);
  border-radius: 10px;
}
.command-search-row {
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 18px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.command-search-row > .icon {
  color: var(--muted);
  width: 17px;
  height: 17px;
}
.command-search-row input {
  border: 0;
  flex: 1;
  min-height: 40px;
  padding: 8px 0;
  font-size: 14px;
}
.command-search-row input:focus-visible {
  outline: 0;
}
.command-dialog nav {
  padding: 7px;
}
.command-dialog nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 6px;
  font-size: 13px;
}
.command-dialog nav a:hover,
.command-dialog nav a:focus-visible {
  background: var(--soft);
}
.command-dialog nav a > .icon {
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.command-dialog nav a > .icon:last-child {
  margin-left: auto;
  width: 13px;
  height: 13px;
}
.command-empty {
  padding: 24px;
  font-size: 13px;
  margin: 0;
}
.docs-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 65px;
  padding-top: 55px;
  padding-bottom: 80px;
}
.docs-nav {
  position: sticky;
  top: 25px;
  align-self: start;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.docs-nav > span {
  font-size: 12px;
  font-weight: 550;
}
.docs-nav nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.prose {
  max-width: 820px;
  padding-top: 45px;
  padding-bottom: 80px;
}
.docs-layout .prose {
  padding: 0;
}
.prose h1 {
  font-size: 43px;
  margin-bottom: 24px;
}
.prose h2 {
  font-size: 25px;
  margin-top: 42px;
  margin-bottom: 17px;
}
.prose h3 {
  font-size: 19px;
  margin-top: 28px;
  margin-bottom: 13px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.8;
  margin: 14px 0;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .meta {
  font-size: 12px;
  color: var(--muted);
}
.prose pre {
  overflow-x: auto;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  font-size: 12px;
  line-height: 1.85;
  margin: 22px 0;
  tab-size: 2;
}
.prose code {
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.prose pre code {
  font-size: inherit;
  overflow-wrap: normal;
}
.docs-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 25px;
  font-size: 13px;
}
.docs-next a {
  text-decoration: none;
}
.banner {
  padding: 12px 0;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 12px;
}
.site-header > .wrap,
.site-footer > .wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.site-header:not(.wrap) {
  max-width: 1280px;
  margin: auto;
}
.nav,
.foot-links {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.foot-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.legal-line {
  width: 100%;
  font-size: 11px;
}
.note {
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 6px;
}
.center {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 120px;
}
.center > .button,
.center > .btn {
  margin-top: 25px;
}
.btn {
  display: inline-flex;
  padding: 11px 20px;
  border-radius: 7px;
  background: var(--strong);
  color: var(--on-strong);
  font-size: 13px;
}
.reveal {
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.pending {
  opacity: 0;
  transform: translateY(22px);
  transition: none;
}
.environment-art.reveal .layer {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.environment-art.reveal.pending .layer-apps {
  transform: translateY(146px);
}
.environment-art.reveal.pending .layer-state {
  transform: translateY(73px);
}
.motion-paused .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.motion-paused .reveal .layer {
  transform: none;
  transition: none;
}
@media (max-width: 1100px) {
  .hero-commands {
    left: 6%;
    width: 270px;
  }
  .hero-phone {
    left: 65%;
  }
  .hero-connector {
    left: 36%;
    width: 30%;
  }
}
@media (max-width: 820px) {
  .hero-board {
    height: 566px;
  }
  .hero-commands {
    width: 240px;
    left: 5%;
    top: 115px;
  }
  .hero-phone {
    left: 64%;
    top: 35px;
  }
  .phone-illustration {
    width: 214px;
    height: 445px;
  }
  .hero-connector {
    display: none;
  }
  .demo-command {
    font-size: 12px;
    padding: 18px 15px;
    gap: 11px;
  }
  .demo-command small {
    font-size: 10px;
  }
  .feature-section {
    gap: 30px;
  }
  .feature-copy h2,
  .section-heading h2,
  .closing h2 {
    font-size: 45px;
  }
  .environment-art {
    height: 340px;
  }
  .fork-outputs {
    width: 160px;
  }
  .fork-source {
    width: 125px;
  }
  .fork-art {
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .landing-hero {
    padding-top: 35px;
    padding-bottom: 31px;
  }
  .landing-hero h1 {
    font-size: 51px;
    line-height: 1.02;
    max-width: 360px;
    margin: auto;
  }
  .lede {
    font-size: 15px;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 24px;
  }
  .hero-actions > .button {
    padding: 11px 16px;
    font-size: 12px;
  }
  .hero-actions > .text-link {
    font-size: 12px;
  }
  .hero-board {
    height: 742px;
  }
  .hero-commands {
    left: 15px;
    right: 15px;
    top: 17px;
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }
  .command-brand {
    grid-column: 1/-1;
    padding: 12px 13px;
    font-size: 11px;
  }
  .demo-command {
    display: block;
    padding: 12px 9px;
    font-size: 10px;
    min-height: 97px;
    line-height: 1.4;
  }
  .demo-command > .icon {
    width: 20px;
    height: 20px;
    display: block;
    margin-bottom: 7px;
  }
  .demo-command small {
    display: none;
  }
  .hero-phone {
    left: 50%;
    transform: translateX(-50%);
    top: 190px;
  }
  .phone-illustration {
    width: 235px;
    height: 488px;
  }
  .hero-phone > .fine {
    font-size: 10px;
    margin-top: 2px;
  }
  .scene-bottom {
    left: 15px;
    right: 15px;
    height: 43px;
    font-size: 10px;
  }
  .scene-bottom > span {
    max-width: 165px;
  }
  .scene-bottom > .text-button {
    font-size: 10px;
  }
  .facts {
    padding-top: 25px;
    padding-bottom: 39px;
    gap: 0;
  }
  .facts > div {
    padding: 7px 9px;
  }
  .facts > div:first-child {
    padding-left: 0;
  }
  .facts strong {
    font-size: 26px;
    letter-spacing: -1.2px;
    line-height: 1.2;
  }
  .facts span {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 7px;
  }
  .feature-section {
    display: block;
    padding-top: 47px;
    padding-bottom: 42px;
  }
  .feature-copy h2,
  .section-heading h2,
  .closing h2 {
    font-size: 42px;
  }
  .feature-copy p {
    font-size: 15px;
    margin-top: 20px;
    max-width: 285px;
  }
  .environment-art {
    height: 315px;
    margin-top: 28px;
  }
  .art-labels {
    font-size: 11px;
  }
  .fork-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    font-size: 15px;
    margin-top: 20px;
  }
  .fork-art {
    height: 290px;
    margin-top: 23px;
    gap: 0;
  }
  .fork-source {
    width: 98px;
    height: 95px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .fork-source > .icon {
    width: 25px;
    height: 25px;
  }
  .fork-art > svg {
    height: 190px;
    min-width: 40px;
  }
  .fork-outputs {
    width: 105px;
    gap: 108px;
    flex-shrink: 0;
  }
  .fork-outputs > span {
    font-size: 11px;
    padding-bottom: 12px;
  }
  .closing {
    display: block;
    padding-top: 45px;
    padding-bottom: 49px;
  }
  .closing > .button {
    margin-top: 25px;
  }
  .site-footer {
    padding-top: 24px;
    padding-bottom: 22px;
    gap: 20px;
  }
  .site-footer > div {
    display: block;
  }
  .site-footer .muted {
    display: block;
    margin-top: 12px;
    font-size: 11px;
  }
  .site-footer nav {
    gap: 16px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .site-footer > .fine {
    font-size: 9px;
  }
  .phone-row strong {
    font-size: 11px;
  }
  .phone-row small {
    font-size: 10px;
  }
}
@media (max-width: 370px) {
  .landing-hero h1 {
    font-size: 47px;
  }
  .hero-board {
    height: 723px;
  }
  .hero-phone {
    top: 188px;
  }
  .phone-illustration {
    width: 225px;
    height: 470px;
  }
  .demo-command {
    font-size: 9px;
    padding: 12px 7px;
  }
  .facts strong {
    font-size: 23px;
  }
  .facts span {
    font-size: 9px;
  }
  .feature-copy h2,
  .section-heading h2,
  .closing h2 {
    font-size: 38px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
  .app-main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .app-topbar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .dashboard-columns {
    gap: 12px;
  }
  .panel {
    padding: 16px;
  }
  .overview-grid {
    gap: 12px;
  }
  .metric {
    padding: 15px 12px;
  }
  .metric h2 {
    font-size: 10px;
  }
  .metric strong {
    font-size: 24px;
  }
}
@media (max-width: 800px) {
  .app-layout {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 248px;
    height: 100dvh;
    border-right: 1px solid var(--line);
    padding: 20px 20px 24px;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 210ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 210ms;
  }
  .sidebar-open .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .sidebar-open {
    overflow: hidden;
  }
  .sidebar .close-sidebar {
    display: inline-flex;
    margin-left: 0;
    min-width: 28px;
    width: 28px;
  }
  .sidebar .search-trigger {
    margin-left: auto;
  }
  .workspace-bar > .brand {
    font-size: 15px;
  }
  .workspace-bar > .brand > .icon {
    width: 21px;
    height: 21px;
  }
  .app-nav {
    margin-top: 55px;
  }
  .app-nav a {
    min-height: 42px;
    font-size: 14px;
  }
  .sidebar-bottom {
    gap: 12px;
  }
  .account-menu > summary {
    min-height: 42px;
  }
  .app-topbar {
    height: 62px;
    gap: 10px;
    padding: 0 20px;
  }
  .app-topbar > .open-sidebar {
    display: inline-flex;
    margin-left: -7px;
  }
  .mobile-wordmark {
    display: inline;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
  }
  .app-main {
    padding-top: 22px;
  }
  .app-footer {
    padding: 18px 24px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .dashboard-columns {
    gap: 14px;
  }
  .setup-steps {
    gap: 18px;
  }
  .setup-steps > li {
    gap: 8px;
  }
  .quickstart-panel {
    padding: 15px;
  }
  .setup-steps p {
    font-size: 10px;
  }
  .setup-steps h3 {
    font-size: 12px;
  }
  .overview-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  .details-list > div {
    font-size: 11px;
    gap: 10px;
  }
  .phone-row strong {
    font-size: 10px;
  }
  .phone-row small {
    font-size: 9px;
  }
  .docs-layout {
    display: block;
    padding-top: 30px;
  }
  .docs-nav {
    position: static;
    padding: 0;
    border: 0;
    margin-bottom: 28px;
  }
  .docs-nav nav {
    flex-direction: row;
    gap: 16px;
    overflow: auto;
    white-space: nowrap;
    margin-top: 16px;
    padding-bottom: 9px;
    font-size: 12px;
  }
  .prose {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 74px;
    gap: 12px;
  }
  .site-header .brand {
    font-size: 20px;
  }
  .site-header .brand > .icon {
    width: 24px;
    height: 24px;
  }
  .site-header nav {
    gap: 9px;
  }
  .site-header nav > a:not(.button) {
    display: none;
  }
  .site-header .button {
    font-size: 11px;
    white-space: nowrap;
    min-height: 36px;
    padding: 9px 12px;
  }
  .site-header .button > .icon {
    display: none;
  }
  .site-header .theme-switcher > .icon-button {
    width: 32px;
    min-width: 32px;
  }
  .auth-header {
    height: 68px;
    padding: 0 20px;
    gap: 15px;
  }
  .auth-header .brand {
    font-size: 20px;
  }
  .auth-header .brand > .icon {
    width: 24px;
    height: 24px;
  }
  .auth-header .header-slash,
  .auth-header .back-link {
    display: none;
  }
  .auth-stage {
    min-height: calc(100dvh - 68px);
    padding: 48px 16px;
  }
  .auth-stage:before {
    display: none;
  }
  .pattern-frame {
    padding: 16px;
    border-radius: 9px;
  }
  .auth-card {
    padding: 27px 23px;
    border-radius: 7px;
  }
  .auth-card > .brand {
    font-size: 23px;
    margin-bottom: 26px;
  }
  .auth-card > .brand > .icon {
    width: 26px;
    height: 26px;
  }
  .auth-card h1 {
    font-size: 27px;
    line-height: 1.16;
    max-width: 320px;
  }
  .auth-card > p {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .auth-card .legal-links {
    font-size: 10px;
    gap: 14px;
  }
  .auth-link {
    gap: 8px;
    font-size: 11px;
  }
  .auth-link a {
    min-height: 32px;
  }
  .code-input {
    font-size: 23px !important;
    letter-spacing: 2px;
  }
  .auth-back {
    font-size: 11px;
  }
  .device-review h2 {
    font-size: 18px;
  }
  .details-list > div {
    font-size: 12px;
  }
  .scope-list {
    font-size: 11px;
  }
  .button-row {
    gap: 9px;
  }
  .button-row > .button {
    font-size: 12px;
    padding: 10px 14px;
  }
  .connection-choice {
    padding: 15px 12px;
    gap: 11px;
  }
  .connection-choice strong {
    font-size: 13px;
  }
  .connection-choice small {
    font-size: 11px;
  }
  .onboarding-card h1 {
    font-size: 26px;
  }
  .app-topbar {
    padding: 0 18px;
  }
  .header-docs {
    font-size: 10px;
  }
  .app-main {
    padding: 20px 18px 35px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 265px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 8px 10px;
    white-space: nowrap;
    min-height: 34px;
    gap: 6px;
  }
  .page-heading > .button .icon {
    width: 13px;
    height: 13px;
  }
  .page-heading.centered {
    margin-bottom: 22px;
  }
  .dashboard-columns {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-bottom: 19px;
  }
  .usage-column {
    width: 100%;
  }
  .quickstart-panel {
    width: 100%;
    padding: 17px;
  }
  .panel {
    padding: 17px;
  }
  .panel-title {
    gap: 10px;
  }
  .panel-title h2 {
    font-size: 13px;
  }
  .panel-title > .quiet-link {
    font-size: 10px;
  }
  .launcher-tabs [role="tab"] {
    font-size: 11px;
    min-height: 28px;
    padding: 6px 9px;
  }
  .launcher-top > .quiet-link {
    font-size: 10px;
    margin-right: 2px;
    gap: 4px;
  }
  .launcher-top .icon {
    width: 12px;
    height: 12px;
  }
  .connection-launcher {
    margin-bottom: 19px;
    padding: 8px;
  }
  .launch-code-form > input {
    font-size: 14px;
    letter-spacing: 1.3px;
    padding-left: 9px;
    min-height: 40px;
  }
  .launcher-key {
    font-size: 11px;
    gap: 9px;
    padding-left: 5px;
  }
  .launcher-key .button {
    font-size: 10px;
    padding: 8px 9px;
    gap: 5px;
    white-space: nowrap;
  }
  .usage-chart,
  .empty-chart {
    height: 170px;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 15px 11px;
  }
  .metric h2 {
    font-size: 10px;
  }
  .metric strong {
    font-size: 25px;
    letter-spacing: -0.6px;
  }
  .metric p {
    font-size: 9px;
    line-height: 1.5;
  }
  .setup-steps {
    gap: 21px;
  }
  .setup-steps h3 {
    font-size: 13px;
  }
  .setup-steps p {
    font-size: 12px;
  }
  .setup-steps > li {
    gap: 10px;
  }
  .setup-steps .button {
    min-height: 40px;
    font-size: 12px;
  }
  .setup-steps pre {
    font-size: 10px;
  }
  .setup-steps .quiet-link,
  .setup-steps .quiet-button {
    font-size: 11px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .phone-row strong {
    font-size: 11px;
  }
  .phone-row small {
    font-size: 10px;
  }
  .status-badge {
    font-size: 9px;
  }
  .details-list > div {
    font-size: 12px;
  }
  .app-footer {
    padding: 20px 18px;
    display: block;
    font-size: 10px;
  }
  .app-footer nav {
    margin-top: 12px;
    gap: 19px;
  }
  .key-toolbar {
    gap: 10px;
    margin-bottom: 15px;
  }
  .search-field {
    width: 180px;
    min-width: 0;
    flex: 1;
    padding-left: 8px;
    gap: 5px;
  }
  .search-field > input {
    font-size: 11px;
    padding-right: 8px;
  }
  .filter-field select {
    max-width: 115px;
    font-size: 10px;
    padding: 8px;
  }
  .table-panel {
    padding: 0;
  }
  .keys-table {
    min-width: 650px;
  }
  .keys-table th,
  .keys-table td {
    padding-left: 14px;
    padding-right: 14px;
  }
  .empty-state {
    padding: 38px 22px;
  }
  .empty-state h2 {
    font-size: 21px;
  }
  dialog {
    padding: 23px 22px;
  }
  dialog h2 {
    font-size: 20px;
  }
  .dialog-heading > .icon-button {
    margin-right: -8px;
  }
  .copy-field {
    display: block;
  }
  .copy-field .button {
    margin-top: 10px;
  }
  .dialog-actions {
    gap: 9px;
  }
  .billing-placeholder {
    padding: 24px;
  }
  .billing-placeholder h2 {
    font-size: 24px;
  }
  .billing-placeholder > .quiet-button {
    margin: 13px 0 0;
    display: block;
  }
  .prose h1 {
    font-size: 36px;
  }
  .prose h2 {
    font-size: 24px;
  }
  .prose p,
  .prose li {
    font-size: 14px;
  }
  .prose pre {
    font-size: 11px;
    padding: 17px;
  }
  .docs-next {
    display: block;
  }
  .docs-next .button {
    margin-top: 15px;
  }
  .foot-row {
    display: block;
  }
  .foot-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  .legal-line {
    margin-top: 18px;
    font-size: 10px;
  }
  .prose.wrap {
    padding-top: 30px;
  }
  .nav {
    gap: 12px;
  }
  .banner {
    font-size: 11px;
  }
  .center h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal.pending {
    opacity: 1;
    transform: none;
  }
  .environment-art.reveal.pending .layer {
    transform: none;
  }
}
.packet-done {
  opacity: 0;
}

.chart-body {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 4px;
}
.chart-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 20px;
  height: 166px;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}
.setup-steps pre {
  font-size: 11px;
}
@media (max-width: 600px) {
  .chart-scale {
    height: 170px;
  }
  .setup-steps pre {
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  .sidebar {
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 212px;
    height: calc(100dvh - 16px);
    padding: 23px 16px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 12px 36px #00000015;
  }
  .app-nav {
    margin-top: 92px;
  }
  .app-nav a {
    min-height: 34px;
    font-size: 13px;
  }
  .workspace-bar > .brand {
    font-size: 14px;
  }
  .workspace-bar > .brand > .icon {
    width: 19px;
    height: 19px;
  }
  .workspace-bar .search-trigger {
    width: 24px;
    min-width: 24px;
  }
  .sidebar .close-sidebar {
    width: 24px;
    min-width: 24px;
    padding: 5px;
  }
  .account-menu > summary {
    padding-left: 3px;
    padding-right: 3px;
  }
}

.chart-scale {
  position: relative;
  display: block;
  padding: 0;
}
.chart-scale span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}
.chart-scale span:nth-child(1) {
  top: 16.27%;
}
.chart-scale span:nth-child(2) {
  top: 51.2%;
}
.chart-scale span:nth-child(3) {
  top: 86.15%;
}
@media (min-width: 601px) {
  dialog:not(.command-dialog) {
    margin-top: min(12vh, 120px);
    margin-bottom: auto;
    max-height: calc(100dvh - min(12vh, 120px) - 32px);
  }
}
dialog h2 {
  font-size: 18px;
}

.phone-app-content {
  opacity: 1;
  transition: opacity 220ms ease;
}
.phone-boot-screen {
  opacity: 0;
  transition: opacity 180ms ease;
}
.phone-boot-text {
  font-size: 14px;
  fill: var(--text);
  text-anchor: middle;
}
.boot-dot {
  fill: var(--text);
}
.hero-board[data-demo-state="starting"] .phone-app-content {
  opacity: 0;
}
.hero-board[data-demo-state="starting"] .phone-boot-screen {
  opacity: 1;
}
.vm-boundary {
  position: absolute;
  inset: -9px -10px 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}
.vm-boundary > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.vm-boundary path {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.15;
}
.vm-lock {
  position: absolute;
  right: -15px;
  top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text);
}
.vm-lock .icon {
  width: 15px;
  height: 15px;
}
.hero-board[data-demo-state="isolated"] .vm-boundary,
.hero-board[data-demo-state="forked"] .vm-boundary {
  opacity: 1;
}
.fork-result {
  position: absolute;
  right: -52px;
  top: 62%;
  width: 148px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 12px 9px;
  box-shadow: 0 8px 20px #00000007;
  opacity: 0;
  transform: translateY(7px);
  transition:
    opacity 240ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fork-result > svg {
  width: 100%;
  height: 50px;
  display: block;
  overflow: visible;
}
.fork-result path {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.3;
}
.fork-result circle {
  fill: var(--text);
}
.fork-result rect {
  fill: var(--surface);
  stroke: var(--text);
  stroke-width: 1.2;
}
.fork-result span {
  font-size: 11px;
  display: block;
  text-align: center;
  color: var(--text);
  margin-top: 5px;
}
.hero-board[data-demo-state="forked"] .fork-result {
  opacity: 1;
  transform: none;
}
.motion-paused .phone-app-content,
.motion-paused .phone-boot-screen,
.motion-paused .vm-boundary,
.motion-paused .fork-result {
  transition: none;
}
@media (max-width: 600px) {
  .fork-result {
    right: -3px;
    width: 132px;
    padding: 10px 9px 8px;
  }
  .fork-result span {
    font-size: 10px;
  }
  .vm-lock {
    right: -11px;
    width: 26px;
    height: 26px;
  }
  .vm-lock .icon {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 960px) {
  .fork-result {
    right: -3px;
    width: 132px;
  }
}

.onboarding-card > h1,
.onboarding-card > p {
  text-align: center;
}
input::placeholder {
  opacity: 1;
}
input:not([type="radio"]):focus-visible,
select:focus-visible {
  outline-offset: 1px;
}
@media (min-width: 641px) and (max-width: 960px) {
  .hero-phone {
    left: auto;
    right: 30px;
    transform: none;
  }
}

.brand > svg:not(.icon) {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Selected account direction: shadcn navigation and Catalyst content. */
.account-page .app-layout {
  grid-template-columns: 256px minmax(0, 1fr);
}
.account-page .sidebar {
  padding: 16px 12px 12px;
  background: var(--bg);
  transition-property: transform;
}
.account-page .workspace-bar {
  min-height: 40px;
  padding: 0 4px;
}
.account-page .workspace-bar > .brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.workspace-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--strong);
  flex-shrink: 0;
}
.workspace-mark .icon {
  width: 24px;
  height: 24px;
}
.sidebar-connect {
  justify-content: flex-start;
  gap: 10px;
  min-height: 36px;
  margin: 22px 0 10px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar-connect .icon {
  width: 16px;
  height: 16px;
}
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}
.sidebar-search .icon {
  width: 16px;
  height: 16px;
}
.sidebar-search kbd {
  margin-left: auto;
  font: 10px var(--font);
  background: var(--soft);
  border-radius: 3px;
  padding: 2px 4px;
  white-space: nowrap;
}
.account-page .app-nav {
  margin-top: 22px;
  gap: 4px;
}
.account-page .app-nav a {
  min-height: 36px;
  padding: 9px 12px;
  gap: 10px;
  font-size: 13px;
  border-radius: 6px;
  color: var(--text);
}
.account-page .app-nav a > .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
}
.account-page .app-nav a[aria-current="page"] {
  background: var(--accent-soft);
  font-weight: 500;
}
.account-page .sidebar-bottom {
  gap: 8px;
}
.account-page .sidebar-docs {
  min-height: 36px;
  padding: 8px 12px;
  gap: 10px;
  font-size: 13px;
  border-radius: 6px;
  color: var(--text);
}
.account-page .sidebar-docs:hover {
  background: var(--soft);
}
.account-page .sidebar-docs > .icon {
  width: 16px;
  height: 16px;
}
.account-page .account-menu > summary {
  min-height: 48px;
  padding: 8px 10px;
  gap: 10px;
}
.account-page .account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 12px;
}
.account-page .account-menu > summary strong {
  font-size: 13px;
  font-weight: 500;
}
.account-page .app-workspace {
  margin: 8px 8px 8px 0;
  min-height: calc(100dvh - 16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px #00000004;
}
.account-page .app-topbar {
  height: 56px;
  flex-shrink: 0;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.account-page .app-topbar > .open-sidebar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 5px;
  border-radius: 5px;
}
.account-page .app-topbar > .open-sidebar:hover {
  background: var(--soft);
}
.workspace-crumb {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  line-height: 20px;
}
.account-page .header-docs {
  font-size: 12px;
}
.account-page .app-main {
  max-width: 1280px;
  padding: 34px 40px 40px;
}
.account-page .page-heading {
  margin-bottom: 28px;
  gap: 16px;
}
.account-page .page-heading h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.75px;
  line-height: 1.3;
}
.account-page .page-heading p {
  font-size: 13px;
}
.page-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.account-page .button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 7px;
  gap: 8px;
}
.account-page .page-actions .icon-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
}
.account-page .metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.account-page .metric {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 17px 0 0;
}
.account-page .metric h2 {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.account-page .metric strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-top: 10px;
}
.account-page .metric p {
  margin-top: 6px;
  font-size: 12px;
}
.inventory-section {
  margin-bottom: 34px;
}
.inventory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.inventory-heading h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
.inventory-heading .quiet-link {
  font-size: 12px;
}
.inventory-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.account-page .search-field {
  width: 260px;
  border-radius: 7px;
}
.account-page .search-field input {
  font-size: 13px;
  min-height: 36px;
}
.account-page .filter-field select {
  font-size: 13px;
  min-height: 36px;
  min-width: 140px;
  max-width: none;
  padding: 7px 30px 7px 10px;
  border-radius: 7px;
}
.phones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.phones-table th {
  padding: 0 12px 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.phones-table th:first-child,
.phones-table td:first-child {
  padding-left: 0;
}
.phones-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}
.phones-table th:last-child,
.phones-table td:last-child {
  padding-right: 0;
}
.phones-table tbody tr:hover {
  background: var(--bg);
}
.phone-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.phone-identity > div {
  min-width: 0;
}
.phone-identity strong {
  font: 12px var(--mono);
  overflow-wrap: anywhere;
  font-weight: 500;
}
.phone-glyph {
  width: 30px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--muted);
}
.phone-glyph > .icon {
  width: 15px;
  height: 17px;
}
.phone-created {
  color: var(--muted);
  font-size: 12px;
}
.phone-created-mobile {
  display: none;
}
.row-actions {
  width: 36px;
  text-align: right;
}
.row-actions .icon-button {
  height: 30px;
  min-width: 30px;
  width: 30px;
  padding: 7px;
  color: var(--muted);
  border-radius: 5px;
}
.row-actions .icon-button:hover {
  background: var(--soft);
  color: var(--text);
}
.phones-table .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  font-size: 11px;
  margin: 0;
  border-radius: 5px;
}
.phones-table .status-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.inventory-empty {
  padding: 35px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.inventory-empty h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 12px 0 6px;
}
.inventory-empty p {
  font-size: 13px;
  margin-bottom: 16px;
}
.inventory-empty .large-icon {
  width: 40px;
  height: 40px;
}
#phone-copy-status:empty {
  display: none;
}
.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
  align-items: start;
  gap: 28px;
}
.account-page .panel {
  border-radius: 8px;
  box-shadow: none;
  padding: 20px;
}
.account-page .panel-title h2 {
  font-size: 14px;
  font-weight: 500;
}
.account-page .panel-title > span {
  font-size: 11px;
}
.account-page .usage-panel {
  margin: 0;
}
.account-page .details-list > div {
  padding: 13px 0;
  font-size: 12px;
}
.account-page #limit-caption,
.account-page #chart-range {
  font-size: 11px;
}
.setup-disclosure {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.setup-disclosure > summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
}
.setup-disclosure > summary > span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.setup-disclosure > summary .icon {
  width: 16px;
  height: 16px;
}
.setup-disclosure > summary > .icon {
  transition: transform 150ms ease;
}
.setup-disclosure[open] > summary > .icon {
  transform: rotate(90deg);
}
.account-page .setup-disclosure .quickstart-panel {
  border: 0;
  padding: 8px 0 0;
}
.account-page .setup-disclosure .quickstart-panel > .panel-title {
  display: none;
}
.account-page .setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.account-page .setup-steps h3 {
  font-size: 13px;
}
.account-page .setup-steps p {
  font-size: 12px;
}
.account-page .setup-steps .button {
  min-height: 36px;
  font-size: 12px;
  padding: 8px 10px;
}
.account-page .setup-steps pre {
  margin-top: 10px;
  font-size: 11px;
}
.account-page .connect-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 12px;
}
.connect-dialog > p {
  font-size: 13px;
}
.connect-dialog .connection-launcher {
  margin: 20px 0 0;
  border: 0;
  padding: 0;
  box-shadow: none;
  background: transparent;
}
.connect-dialog .launcher-top {
  display: block;
}
.connect-dialog .launcher-top > .quiet-link {
  display: none;
}
.connect-dialog .launcher-tabs {
  display: flex;
  width: 100%;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 7px;
}
.connect-dialog .launcher-tabs > button {
  flex: 1;
  font-size: 13px;
  min-height: 32px;
}
.connect-dialog .launch-code-form {
  gap: 8px;
}
.connect-dialog .launch-code-form > input {
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 16px;
  letter-spacing: 1.5px;
}
.connect-dialog .launch-code-form > .button {
  width: 42px;
  height: 42px;
  border-radius: 7px;
}
.connect-dialog .launcher-key {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 0;
  font-size: 13px;
}
.account-page .key-toolbar {
  margin-bottom: 20px;
}
.account-page .table-panel {
  border: 0;
  border-radius: 0;
  padding: 0;
}
.account-page .keys-table {
  font-size: 13px;
}
.account-page .keys-table th {
  background: transparent;
  font-size: 12px;
  padding: 0 16px 12px;
  font-weight: 500;
}
.account-page .keys-table td {
  padding: 20px 16px;
}
.account-page .keys-table th:first-child,
.account-page .keys-table td:first-child {
  padding-left: 0;
}
.account-page .keys-table th:last-child,
.account-page .keys-table td:last-child {
  padding-right: 0;
}
.account-page .keys-table tbody tr:hover {
  background: var(--bg);
}
.account-page .revoke-button {
  font-size: 12px;
  min-height: 32px;
  min-width: 72px;
  white-space: nowrap;
  border-radius: 6px;
}
.account-page .keys-table .key-action-cell {
  width: 88px;
}
.account-page .app-footer {
  font-size: 11px;
  padding: 18px 40px;
}
@media (min-width: 801px) {
  .account-page.sidebar-collapsed .app-layout {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .sidebar-collapsed .sidebar .workspace-bar {
    padding: 0;
  }
  .sidebar-collapsed .workspace-bar > .brand {
    width: 100%;
    justify-content: center;
  }
  .sidebar-collapsed .sidebar-connect,
  .sidebar-collapsed .sidebar-search,
  .sidebar-collapsed .app-nav a,
  .sidebar-collapsed .sidebar-docs {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .sidebar-collapsed .sidebar-connect > span,
  .sidebar-collapsed .sidebar-search > span,
  .sidebar-collapsed .sidebar-search > kbd,
  .sidebar-collapsed .app-nav a > span,
  .sidebar-collapsed .sidebar-docs > span,
  .sidebar-collapsed .account-menu > summary > strong,
  .sidebar-collapsed .account-menu > summary > .icon,
  .sidebar-collapsed .brand > [data-brand] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .sidebar-collapsed .account-menu > summary {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .sidebar-collapsed .account-popover {
    left: 52px;
    bottom: 0;
    width: 240px;
  }
}
@media (max-width: 1100px) {
  .account-page .app-main {
    padding: 28px;
  }
  .dashboard-bottom-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .account-page .setup-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 800px) {
  .account-page .app-layout {
    display: block;
  }
  .account-page .app-workspace {
    margin: 8px;
  }
  .account-page .sidebar {
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: min(272px, calc(100vw - 16px));
    height: calc(100dvh - 16px);
    border-radius: 12px;
    padding: 16px 12px 12px;
    background: var(--bg);
  }
  .account-page .sidebar .close-sidebar {
    margin-left: auto;
    min-width: 32px;
    width: 32px;
    height: 36px;
    padding: 6px;
  }
  .account-page .sidebar-connect {
    min-height: 40px;
  }
  .account-page .sidebar-search {
    min-height: 40px;
  }
  .account-page .app-nav a {
    min-height: 40px;
    font-size: 14px;
  }
  .account-page .app-topbar {
    padding: 0 16px;
    gap: 12px;
  }
  .account-page .mobile-wordmark {
    display: none;
  }
  .account-page .app-topbar > .open-sidebar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin: 0;
  }
  .workspace-crumb {
    padding-left: 12px;
  }
  .account-page .app-main {
    padding: 28px 24px;
  }
}
@media (max-width: 600px) {
  .account-page .app-main {
    padding: 24px 16px 28px;
  }
  .account-page .app-topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .account-page .page-heading {
    align-items: center;
    margin-bottom: 25px;
  }
  .account-page .page-heading h1 {
    font-size: 24px;
  }
  .account-page .page-heading > .button {
    font-size: 12px;
  }
  .account-page .page-actions {
    gap: 6px;
  }
  .account-page .page-actions .button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .account-page .page-actions .icon-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .account-page .metric-grid {
    gap: 18px;
    margin-bottom: 30px;
  }
  .account-page .metric {
    padding-top: 14px;
  }
  .account-page .metric h2 {
    font-size: 12px;
    min-height: 36px;
    line-height: 1.5;
  }
  .account-page .metric strong {
    font-size: 26px;
    margin-top: 5px;
  }
  .account-page .metric p {
    font-size: 11px;
  }
  .inventory-heading {
    gap: 10px;
  }
  .inventory-heading .quiet-link {
    font-size: 11px;
  }
  .inventory-toolbar .search-field {
    width: auto;
    flex: 1 1 145px;
  }
  .inventory-toolbar .filter-field {
    flex: 1 1 140px;
    min-width: 140px;
  }
  .inventory-toolbar select {
    width: 100%;
  }
  .account-page .key-toolbar {
    flex-wrap: wrap;
  }
  .account-page .key-toolbar .search-field {
    flex: 1 1 145px;
    width: auto;
  }
  .account-page .key-toolbar .filter-field {
    flex: 1 1 140px;
    min-width: 140px;
  }
  .account-page .key-toolbar select {
    width: 100%;
  }
  .account-page .search-field input,
  .account-page .filter-field select {
    font-size: 16px;
    min-height: 40px;
  }
  .phones-table {
    table-layout: fixed;
  }
  .phones-table th,
  .phones-table td {
    padding-left: 6px;
    padding-right: 6px;
  }
  .phones-table th:nth-child(1) {
    width: auto;
  }
  .phones-table th:nth-child(2) {
    width: 80px;
  }
  .phones-table th:nth-child(4) {
    width: 36px;
  }
  .phones-table th:nth-child(3),
  .phones-table td:nth-child(3) {
    display: none;
  }
  .phone-identity {
    gap: 8px;
  }
  .phone-identity strong {
    font-size: 12px;
  }
  .phone-glyph {
    width: 26px;
    height: 30px;
  }
  .phone-created-mobile {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.4;
  }
  .phones-table .status-badge {
    font-size: 10px;
    padding: 3px 5px;
    gap: 4px;
  }
  .account-page .dashboard-bottom-grid .panel {
    padding: 16px;
  }
  .account-page .app-footer {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .account-page .app-footer nav {
    gap: 14px;
  }
  .account-page .connect-dialog {
    padding: 20px;
  }
}

/* Review refinements: short screens, touch-readable data and key actions. */
.account-page .workspace-bar,
.account-page .sidebar-connect,
.account-page .sidebar-search,
.account-page .sidebar-bottom {
  flex-shrink: 0;
}
.account-page .app-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 8px;
}
.account-page .app-nav a {
  flex-shrink: 0;
}
.account-page .app-nav a:focus-visible {
  outline-offset: -2px;
}
.account-page .account-popover {
  max-height: min(360px, calc(100dvh - 96px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.account-page .status-badge,
.account-page .phones-table .status-badge {
  font-size: 12px;
}
.account-page .phone-identity strong {
  font-size: 13px;
}
.cell-label {
  display: none;
}
.phone-copy-recovery {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.phone-copy-recovery > label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
.phone-copy-recovery .copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-copy-recovery input {
  min-width: 0;
  width: 100%;
  font-size: 13px;
}
.phone-copy-recovery button {
  flex-shrink: 0;
}
.chart-dates {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-left: 44px;
  padding-right: 13px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.chart-inspector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.chart-inspector select {
  width: 128px;
  min-height: 34px;
  padding: 6px 24px 6px 10px;
  background: var(--surface);
  font-size: 13px;
  border-radius: 6px;
}
.chart-inspector output {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chart-bar {
  cursor: pointer;
  opacity: 0.45;
}
.chart-bar.selected {
  opacity: 1;
}
@media (max-height: 520px) {
  .account-page .sidebar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .account-page .workspace-bar {
    min-height: 36px;
  }
  .account-page .sidebar-connect {
    min-height: 32px;
    margin-top: 10px;
    margin-bottom: 6px;
  }
  .account-page .sidebar-search {
    min-height: 32px;
  }
  .account-page .app-nav {
    margin-top: 10px;
  }
  .account-page .app-nav a {
    min-height: 36px;
  }
  .account-page .sidebar-bottom {
    gap: 0;
  }
  .account-page .sidebar-docs {
    min-height: 32px;
  }
  .account-page .account-menu > summary {
    min-height: 40px;
  }
}
@media (max-width: 600px) {
  .account-page .metric p,
  .account-page .phone-created-mobile,
  .account-page #chart-range,
  .account-page #limit-caption {
    font-size: 12px;
  }
  .account-page .phone-identity strong {
    font-size: 12px;
  }
  .phones-table th:nth-child(2) {
    width: 88px;
  }
  .phones-table th:nth-child(4) {
    width: 40px;
  }
  .phone-copy-recovery input,
  .chart-inspector select {
    font-size: 16px;
  }
  .chart-inspector select {
    width: 120px;
  }
}
.account-page .app-main {
  container-type: inline-size;
  container-name: account-content;
}
@container account-content (max-width: 700px) {
  .account-page .keys-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .account-page .keys-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .account-page .keys-table tbody {
    display: block;
  }
  .account-page .keys-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .account-page .keys-table td {
    padding: 0;
    border: 0;
    max-width: none;
    font-size: 13px;
    min-width: 0;
  }
  .key-name-cell {
    grid-column: 1;
    grid-row: 1;
    font-weight: 500;
  }
  .key-state-cell {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .key-id-cell {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--muted);
    font-size: 12px;
  }
  .key-created-cell {
    grid-column: 1;
    grid-row: 3;
  }
  .key-used-cell {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }
  .key-action-cell {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: end;
  }
  .account-page .keys-table .key-action-cell {
    width: auto;
  }
  .key-action-cell:empty {
    display: none;
  }
  .cell-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .account-page .keys-table .revoke-button {
    min-height: 36px;
    padding: 7px 12px;
  }
}
.account-page .keys-table {
  font-size: 14px;
}
.account-page .keys-table th {
  font-size: 13px;
}
.account-page .keys-table td {
  padding-top: 16px;
  padding-bottom: 16px;
}
.phones-table {
  table-layout: fixed;
}
.phones-table th:first-child {
  width: 45%;
}
.phones-table th:nth-child(2) {
  width: 20%;
}
.phones-table th:last-child {
  width: 40px;
}
.phones-table th {
  font-size: 13px;
}
.phones-table td {
  padding-top: 14px;
  padding-bottom: 14px;
}
.phone-glyph {
  width: 28px;
  height: 30px;
}
.phone-identity > div {
  overflow: hidden;
}
.phone-identifier {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  border-radius: 3px;
  padding: 2px 0;
  background: transparent;
  color: var(--text);
  font: 13px var(--mono);
  text-align: left;
}
.phone-identifier:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.phone-identifier:focus-visible {
  outline-offset: -1px;
}
@container account-content (max-width: 700px) {
  .account-page .keys-table td {
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 600px) {
  .phones-table th:first-child {
    width: auto;
  }
  .phones-table th:nth-child(2) {
    width: 88px;
  }
  .phones-table th:last-child {
    width: 40px;
  }
  .phone-identifier {
    font-size: 12px;
  }
}

/* Helicopter: quieter identity and a workspace centered on the phone resource. */
.brand [data-brand],
.sidebar-wordmark {
  text-transform: lowercase;
}
.pattern-frame {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.onboarding-card .onboarding-continue {
  display: inline-flex;
  margin-top: 24px;
  font-size: 13px;
}
.connection-choice {
  padding: 18px 16px;
}
.page-description {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}
.phone-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.phone-workspace .inventory-section {
  min-width: 0;
  margin: 0;
}
.phone-workspace .inventory-heading {
  justify-content: flex-end;
  margin-bottom: 14px;
}
.phone-workspace .inventory-toolbar {
  margin-bottom: 16px;
}
.phones-table .row-actions {
  width: 74px;
  white-space: nowrap;
}
.phones-table .row-actions .icon-button {
  width: 30px;
  height: 34px;
  min-width: 30px;
}
.phones-table .phone-selected {
  background: var(--soft);
}
.phone-inspector {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}
.phone-inspector-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;
}
.phone-inspector h2 {
  margin: 0;
  max-width: 100%;
  font-size: 15px;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}
.phone-inspector h2 code {
  font-size: 13px;
}
.phone-inspector-meta {
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.phone-inspector-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.phone-inspector-meta dt {
  color: var(--muted);
}
.phone-inspector-meta dd {
  margin: 0;
}
.phone-command-heading h3 {
  font-size: 14px;
  font-weight: 500;
}
.phone-command-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.55;
}
.phone-inspector select {
  margin-top: 18px;
  width: 100%;
  height: 36px;
  font-size: 13px;
}
.phone-command-code {
  margin: 12px 0;
  padding: 12px;
  background: var(--soft);
  border: 0;
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.phone-inspector .quiet-link {
  display: flex;
  margin-top: 20px;
  font-size: 12px;
}
#phone-command-status:empty {
  display: none;
}
.account-page .metric-grid {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 24px;
  margin-bottom: 32px;
}
.account-page .metric {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0;
  padding: 0;
}
.account-page .metric h2 {
  order: 2;
  font-size: 12px;
  line-height: 1.6;
}
.account-page .metric strong {
  order: 1;
  margin: 0;
  font-size: 23px;
  white-space: nowrap;
}
.account-page .dashboard-bottom-grid .panel {
  padding: 0;
  border: 0;
  background: transparent;
}
.account-page .dashboard-bottom-grid {
  margin-bottom: 32px;
}
.environment-box {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.5;
}
.environment-title,
.environment-label {
  fill: var(--text);
  font-family: var(--font);
  font-size: 18px;
}
.environment-title {
  font-size: 20px;
  font-weight: 500;
}
.environment-id {
  font-family: var(--mono);
  fill: var(--muted);
  font-size: 14px;
}
.environment-divider {
  stroke: var(--line);
  stroke-width: 1.3;
  fill: none;
}
.environment-token {
  fill: var(--soft);
  stroke: var(--line);
  stroke-width: 1;
}
.environment-dot {
  fill: var(--text);
}
.fork-outputs {
  gap: 64px;
}
.fork-resource {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}
.fork-resource strong,
.fork-resource code,
.fork-resource small {
  display: block;
}
.fork-resource strong {
  font-size: 14px;
  font-weight: 500;
}
.fork-resource code {
  margin: 8px 0;
  font-size: 12px;
  color: var(--muted);
}
.fork-resource small {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1180px) {
  .phone-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .phone-inspector {
    max-width: 100%;
  }
  .phone-inspector select {
    max-width: 280px;
    display: block;
  }
}
@media (max-width: 640px) {
  .phone-workspace {
    gap: 22px;
  }
  .phone-inspector {
    padding: 18px;
  }
  .account-page .metric-grid {
    gap: 16px;
  }
  .account-page .metric {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 5px;
  }
  .account-page .metric strong {
    font-size: 22px;
  }
  .account-page .metric h2 {
    font-size: 11px;
  }
  .fork-outputs {
    gap: 50px;
  }
  .fork-resource {
    padding: 12px 10px;
  }
  .fork-resource code,
  .fork-resource small {
    font-size: 10px;
  }
}
.phones-table th:last-child,
.phones-table td:last-child {
  width: 80px;
}
.phone-inspector-heading .status-badge {
  margin: 0;
  align-self: flex-start;
}
.dashboard-heading .page-actions {
  flex-shrink: 0;
}
.dashboard-heading .page-actions .button {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .account-page .dashboard-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }
  .dashboard-heading > div:first-child {
    flex: 1 1 100px;
  }
}
.phone-inspector-heading {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.phone-inspector-heading h2 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-page .sidebar-connect {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.account-page .sidebar-connect:hover {
  background: var(--soft);
}
.fork-art {
  gap: 0;
}
.fork-outputs {
  display: block;
  position: relative;
  height: 200px;
  flex-shrink: 0;
}
.fork-resource {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.fork-resource:first-child {
  top: 10%;
}
.fork-resource:last-child {
  top: 90%;
}
@media (max-width: 640px) {
  .fork-outputs {
    height: 190px;
  }
}
.phone-inspector {
  scroll-margin-top: 84px;
}
.phone-command-options {
  margin: 16px 0 0;
  border: 0;
  padding: 3px;
  display: flex;
  border-radius: 6px;
  background: var(--soft);
  gap: 3px;
}
.phone-command-options label {
  flex: 1;
  min-width: 0;
  position: relative;
}
.phone-command-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.phone-command-options span {
  display: block;
  padding: 6px;
  font-size: 12px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
}
.phone-command-options input:checked + span {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.phone-command-options input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.phone-resource-id {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 15px;
}
.phone-control-divider {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.phone-control-label {
  fill: var(--text);
  font-size: 17px;
  font-weight: 500;
}
.phone-control-icon,
.environment-function-icon {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-request-id {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.hero-board[data-demo-state="starting"] .hero-request-id {
  opacity: 0;
}

/* Public docs: compact reading measure, task-first navigation. */
.docs-compact {
  padding-top: 48px;
  padding-bottom: 72px;
}
.docs-compact .docs {
  max-width: 720px;
}
.docs-compact h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1.1px;
  line-height: 1.15;
}
.docs-compact .lede {
  font-size: 17px;
  line-height: 1.6;
}
.docs-compact h2 {
  margin-top: 32px;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.docs-compact pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.7;
}
.docs-compact table {
  font-size: 14px;
  min-width: 480px;
}
.setup-prompt-details {
  margin-top: 16px;
}
.setup-prompt-details summary {
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.docs-compact table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.docs-compact caption {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  padding-bottom: 12px;
}
.docs-compact th,
.docs-compact td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.docs-compact th {
  font-weight: 500;
}
.performance-docs table {
  min-width: 0;
  table-layout: fixed;
  font-size: 13px;
}
.performance-docs th:first-child {
  width: 48%;
}
.performance-docs th:nth-child(2),
.performance-docs th:nth-child(3) {
  width: 20%;
}
.performance-docs th:last-child {
  width: 12%;
}
.performance-docs abbr {
  text-decoration: none;
}
@media (max-width: 640px) {
  .performance-docs th,
  .performance-docs td {
    padding: 10px 4px;
    font-size: 12px;
  }
}

/* A: an open rotor, kept small beside a regular system wordmark. */
.brand [data-brand],
.sidebar-wordmark {
  font-weight: 400;
  letter-spacing: -0.55px;
}
.brand > .icon,
.auth-header .brand > .icon,
.workspace-bar > .brand > .icon {
  width: 22px;
  height: 22px;
}

/* Prompt-first setup, informed by Context's method switch and Exa's copy panel. */
.prompt-onboarding {
  padding: 32px;
}
.prompt-onboarding > h1 {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.prompt-onboarding > p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.setup-methods {
  display: flex;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  gap: 3px;
  margin: 0 0 22px;
  background: var(--soft);
}
.setup-methods label {
  position: relative;
  cursor: pointer;
}
.setup-methods input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.setup-methods span {
  display: block;
  padding: 6px 15px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 4px;
}
.setup-methods input:checked + span {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 3px #00000010;
}
.setup-methods input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.prompt-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.prompt-summary > svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: currentColor;
  stroke: none;
}
.prompt-summary p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.prompt-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  max-width: 270px;
}
.setup-copy {
  width: 100%;
  gap: 9px;
  min-height: 42px;
  font-size: 13px;
}
.prompt-onboarding .setup-prompt-details {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.prompt-onboarding pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
}
.setup-terminal-label {
  font-size: 13px;
  color: var(--muted);
}
#terminal-panel .setup-copy {
  margin-top: 14px;
}
.setup-copy-status {
  min-height: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 0;
}
.connection-progress {
  margin: 18px 0 4px;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
}
.connection-progress-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.connection-progress-heading strong {
  font-size: 13px;
  font-weight: 500;
}
.connection-progress-heading button {
  margin-left: auto;
  font-size: 12px;
  background: none;
  border: 0;
  padding: 6px 0 6px 8px;
  cursor: pointer;
}
.setup-indicator {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
}
.connection-progress[data-state="connected"] .setup-indicator {
  background: var(--success);
}
.connection-progress > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 7px;
}
.setup-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
  font-size: 12px;
}
.prompt-onboarding .setup-bottom .onboarding-continue {
  margin: 0;
  font-size: 12px;
}
.prompt-onboarding .legal-links {
  margin-top: 28px;
}
@media (max-width: 600px) {
  .prompt-onboarding {
    padding: 25px 22px;
  }
  .prompt-onboarding > h1 {
    font-size: 25px;
  }
  .prompt-summary {
    padding: 14px;
    gap: 10px;
  }
}

.prompt-summary p {
  color: var(--text);
}
