* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
:root {
  color-scheme: dark;
  --bg: #070a0b;
  --panel: #0c1112;
  --panel-2: #111819;
  --line: #25312f;
  --muted: #82948f;
  --text: #d9e5e1;
  --accent: #91c7b4;
  --accent-2: #43695d;
  --danger: #df9a86;
  --ok: #94d5a9;
  --warn: #e2bf7f;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(70, 126, 105, 0.18), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(58, 89, 103, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 14px Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(145, 199, 180, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 199, 180, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 18%, transparent 72%);
}
header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 11, 0.88);
  backdrop-filter: blur(12px);
}
.bar {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand-copy { display: grid; gap: 3px; min-width: 0; }
h1 { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.brand-copy span {
  max-width: min(56vw, 560px);
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a {
  color: inherit;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}
.nav-links a:hover { color: var(--text); }
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
main {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto 48px;
  display: grid;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
section, .card {
  border: 1px solid var(--line);
  background: rgba(12, 17, 18, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}
section { padding: 18px; }
.card { padding: 14px; min-height: 108px; }
.landing { display: grid; gap: 72px; padding: 8px 0 32px; }
.auth-page {
  width: min(460px, 100%);
  margin: clamp(42px, 8vh, 92px) auto 72px;
}
.auth-page .auth-card { min-height: 520px; }
.landing > section { scroll-margin-top: 92px; }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 18px;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hero-copy,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  min-height: 560px;
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 8%, rgba(145, 199, 180, 0.23), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(67, 105, 93, 0.20), transparent 20rem),
    linear-gradient(135deg, rgba(145, 199, 180, 0.10), transparent 44%),
    rgba(12, 17, 18, 0.94);
}
.hero-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(145, 199, 180, 0.16);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(145, 199, 180, 0.08), transparent 62%);
}
.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(145, 199, 180, 0.22);
  border-radius: 999px;
  background: rgba(145, 199, 180, 0.06);
  color: #b7d8cd;
  padding: 6px 10px;
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.04em;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(148, 213, 169, 0.12);
}
.landing-title {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 700;
}
.landing-title em {
  color: #89a49b;
  font-style: normal;
}
.landing-lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 22px;
  color: #a5b5b0;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #33413e;
  border-radius: 12px;
  padding: 12px 15px;
  background: #0a0f10;
  color: var(--text);
  font-weight: 600;
}
.link-button.primary {
  border-color: var(--accent-2);
  background: #162420;
  color: #e8f2ef;
}
.link-button:hover { border-color: rgba(145, 199, 180, 0.55); }
.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
  max-width: 720px;
}
.hero-metric {
  border: 1px solid rgba(145, 199, 180, 0.16);
  border-radius: 16px;
  background: rgba(7, 10, 11, 0.42);
  padding: 14px;
}
.hero-metric strong {
  display: block;
  color: #e8f2ef;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.hero-metric span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.auth-card {
  scroll-margin-top: 92px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(145, 199, 180, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(17, 24, 25, 0.98), rgba(10, 15, 16, 0.98));
}
.auth-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.product-preview {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.mock-window {
  border: 1px solid rgba(145, 199, 180, 0.18);
  border-radius: 24px;
  background: #090d0e;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.mock-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(145, 199, 180, 0.12);
  color: var(--muted);
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.mock-dots {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}
.mock-dots i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: block;
}
.mock-dots i:nth-child(1) { background: #ef7d6d; }
.mock-dots i:nth-child(2) { background: #e2bf7f; }
.mock-dots i:nth-child(3) { background: #94d5a9; }
.mock-body {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  min-height: 460px;
}
.mock-sidebar,
.mock-inspector {
  padding: 18px;
  background: #0b1112;
  border-right: 1px solid rgba(145, 199, 180, 0.10);
}
.mock-inspector {
  border-right: 0;
  border-left: 1px solid rgba(145, 199, 180, 0.10);
}
.mock-label {
  color: #5f736d;
  margin-bottom: 12px;
  font: 11px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-device,
.mock-panel {
  border: 1px solid rgba(145, 199, 180, 0.13);
  border-radius: 13px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 10px;
}
.mock-device.active { border-color: rgba(145, 199, 180, 0.36); background: rgba(145, 199, 180, 0.07); }
.mock-device strong,
.mock-panel strong {
  display: block;
  color: #dce9e5;
  font-size: 13px;
}
.mock-device span,
.mock-panel span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.mock-console {
  padding: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(145, 199, 180, 0.08), transparent 18rem),
    #071011;
  font: 13px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.console-line { color: #8aa39b; }
.console-line strong { color: #e8f2ef; font-weight: 600; }
.console-line .ok { color: var(--ok); }
.console-line .warn { color: var(--warn); }
.console-card {
  margin: 18px 0;
  border: 1px solid rgba(145, 199, 180, 0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(7, 10, 11, 0.48);
}
.terminal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}
.terminal-tabs span {
  border: 1px solid rgba(145, 199, 180, 0.13);
  border-radius: 999px;
  padding: 4px 9px;
}
.terminal-tabs .active { color: #e8f2ef; background: rgba(145, 199, 180, 0.08); }
.value-props,
.bento-section,
.workflow-section,
.compare-section,
.faq-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}
.section-eyebrow {
  color: var(--accent);
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-title {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.section-sub {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 17, 18, 0.72);
}
.value-card {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--line);
}
.value-card:last-child { border-right: 0; }
.value-card span,
.bento-card span,
.flow-card span {
  color: var(--accent);
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1em;
}
.value-card h3,
.bento-card h3,
.flow-card h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bento-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(145, 199, 180, 0.07), transparent 46%),
    rgba(12, 17, 18, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.bento-card.wide { grid-column: span 4; min-height: 300px; }
.bento-card.side { grid-column: span 2; min-height: 300px; }
.bento-card.half { grid-column: span 3; }
.bento-card p,
.value-card p,
.flow-card p {
  color: var(--muted);
  line-height: 1.68;
}
.mini-flow {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mini-flow div,
.mini-chip {
  border: 1px solid rgba(145, 199, 180, 0.15);
  border-radius: 12px;
  padding: 10px;
  background: rgba(7, 10, 11, 0.5);
  color: #a5b5b0;
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.mini-flow div:nth-child(2) { border-color: rgba(145, 199, 180, 0.34); color: #dce9e5; }
.mini-chips {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.flow-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(12, 17, 18, 0.86);
}
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 17, 18, 0.82);
}
.compare-table { border: 0; }
.compare-table th,
.compare-table td { padding: 16px 18px; }
.compare-table th { color: #9fb4ae; }
.compare-table td.own {
  color: #e8f2ef;
  background: rgba(145, 199, 180, 0.06);
}
.faq-list {
  display: grid;
  gap: 10px;
}
.q {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 17, 18, 0.86);
  padding: 16px 18px;
}
.q summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.q .a {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.landing-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(145, 199, 180, 0.12), transparent 50%),
    rgba(12, 17, 18, 0.92);
}
.kicker {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}
.page-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 28px;
  letter-spacing: 0;
}
.page-head p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}
.dashboard-panel {
  min-height: 340px;
}
.ops-section {
  display: grid;
  gap: 16px;
}
.ops-summary {
  margin-bottom: 0;
}
.ops-summary-item.ok {
  border-color: rgba(148, 213, 169, 0.26);
}
.ops-summary-item.danger {
  border-color: rgba(223, 154, 134, 0.28);
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ops-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(145, 199, 180, 0.045), transparent 44%),
    rgba(7, 10, 11, 0.42);
  padding: 14px;
  min-height: 260px;
}
.panel-head.compact {
  align-items: center;
  margin-bottom: 14px;
}
.panel-head.compact h2 {
  margin-top: 4px;
  font-size: 18px;
}
.ops-kv {
  display: grid;
  gap: 8px;
}
.launcher-section {
  display: grid;
  gap: 16px;
}
.launcher-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.launcher-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 30px;
  letter-spacing: 0;
}
.launcher-head p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
}
.launcher-summary {
  margin-bottom: 0;
}
.launcher-summary.onboarding-hidden {
  display: none;
}
.launcher-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.launcher-actions.onboarding-hidden [data-action="start-binding"] {
  display: none;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-head h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 24px;
  letter-spacing: 0;
}
.panel-head p {
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.summary-item {
  border: 1px solid rgba(145, 199, 180, 0.14);
  background: rgba(7, 10, 11, 0.45);
  padding: 12px;
  min-height: 92px;
}
.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.summary-item strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}
.account-list {
  display: grid;
  gap: 10px;
}
.account-row {
  display: grid;
  gap: 6px;
}
.next-action {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(145, 199, 180, 0.16);
  background:
    linear-gradient(135deg, rgba(145, 199, 180, 0.08), transparent 52%),
    rgba(7, 10, 11, 0.45);
  padding: 14px;
  margin-bottom: 16px;
}
.next-action strong {
  color: var(--text);
  font-size: 15px;
}
.next-action p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.next-action.attention {
  border-color: rgba(226, 191, 127, 0.28);
  background:
    linear-gradient(135deg, rgba(226, 191, 127, 0.08), transparent 52%),
    rgba(7, 10, 11, 0.45);
}
.next-action.ready {
  border-color: rgba(148, 213, 169, 0.26);
}
.next-action.offline-empty {
  text-align: center;
  justify-items: center;
}
.next-action.offline-empty .row {
  justify-content: center;
}
.next-action.empty-primary {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
  justify-items: center;
  min-height: 260px;
  align-content: center;
  padding: clamp(28px, 5vw, 40px);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.next-action.empty-primary strong {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0;
}
.next-action.empty-primary p {
  max-width: 520px;
  font-size: 14px;
}
.next-action.empty-primary .row {
  justify-content: center;
}
.next-action.empty-primary .primary {
  border-color: rgba(145, 199, 180, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(145, 199, 180, 0.16), transparent 8rem),
    linear-gradient(135deg, rgba(145, 199, 180, 0.16), rgba(18, 34, 30, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 14px 36px rgba(0, 0, 0, 0.22);
  color: #e8f2ef;
  padding: 13px 22px;
  font-weight: 650;
}
.onboarding-flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0 4px;
}
.onboarding-flow span {
  border: 1px solid rgba(145, 199, 180, 0.16);
  background: rgba(7, 10, 11, 0.42);
  color: #a8bcb6;
  padding: 7px 10px;
  font-size: 12px;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.setup-step {
  border: 1px solid rgba(145, 199, 180, 0.14);
  background: rgba(7, 10, 11, 0.42);
  padding: 12px;
  min-height: 112px;
}
.setup-step span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(145, 199, 180, 0.24);
  color: var(--accent);
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.setup-step strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
}
.setup-step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.developer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.kv-list {
  display: grid;
  border: 1px solid rgba(145, 199, 180, 0.12);
  background: rgba(7, 10, 11, 0.38);
}
.kv-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(145, 199, 180, 0.10);
  align-items: start;
}
.kv-row:last-child { border-bottom: 0; }
.kv-row span {
  color: var(--muted);
  font-size: 12px;
}
.kv-row strong,
.kv-row code {
  color: var(--text);
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}
.advanced-section-title {
  margin: 16px 0 8px;
  color: #b7c8c3;
  font-size: 13px;
  font-weight: 650;
}
.ticket-code {
  margin: 10px 0;
  border: 1px solid #3d5b53;
  background: #091110;
  color: #e8f2ef;
  border-radius: 12px;
  padding: 18px;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0.1em;
  text-align: center;
  user-select: all;
}
.ticket-code.ticket-link {
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  word-break: break-all;
}
.ticket-expiry {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 142px;
  text-align: right;
}
.ticket-expiry-time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.ticket-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  border: 1px solid rgba(226, 191, 127, 0.28);
  background: rgba(226, 191, 127, 0.06);
  color: #cdbf9a;
  border-radius: 12px;
  padding: 12px;
}
.ticket-link-value {
  min-width: 0;
  color: #cdbf9a;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
  user-select: all;
}
.ticket-link-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}
.ticket-link-actions button {
  border-color: rgba(226, 191, 127, 0.34);
  color: #d7c49d;
  background: rgba(7, 10, 11, 0.28);
}
.ticket-link-actions button.primary {
  border-color: rgba(226, 191, 127, 0.48);
  background: rgba(226, 191, 127, 0.12);
  color: var(--warn);
}
.ticket-link-actions button:hover {
  border-color: rgba(226, 191, 127, 0.68);
}
.ticket-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.bind-panel {
  display: grid;
  gap: 14px;
}
.bind-panel .setup-steps {
  margin: 0;
}
.client-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.client-actions + .account-list {
  margin-top: 18px;
}
.modal-client {
  border: 1px solid rgba(145, 199, 180, 0.12);
  background: rgba(7, 10, 11, 0.34);
  padding: 12px;
}
.modal-client p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.device-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(145, 199, 180, 0.045), transparent 44%),
    #0a0f10;
  padding: 16px;
  display: grid;
  gap: 14px;
}
.device-card.status-online {
  border-color: rgba(148, 213, 169, 0.28);
}
.device-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.device-name {
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}
.device-primary-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.device-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.device-state-note {
  border: 1px solid rgba(145, 199, 180, 0.12);
  background: rgba(7, 10, 11, 0.32);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  line-height: 1.55;
}
.device-state-note.ready {
  border-color: rgba(148, 213, 169, 0.20);
  color: #b7d8cd;
}
.device-state-note.attention {
  border-color: rgba(226, 191, 127, 0.20);
  color: #d7c49d;
}
.device-tech {
  border: 1px solid rgba(145, 199, 180, 0.12);
  background: rgba(7, 10, 11, 0.32);
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
}
.device-tech summary {
  cursor: pointer;
  color: #9fb8b1;
}
.device-tech .stack {
  margin-top: 10px;
}
.device-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.device-more {
  border: 1px solid rgba(145, 199, 180, 0.12);
  background: rgba(7, 10, 11, 0.22);
  padding: 0;
}
.device-more summary {
  cursor: pointer;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 12px;
}
.device-more-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 10px 10px;
}
.copyable {
  border: 1px solid var(--line);
  background: #070a0b;
  padding: 8px;
  color: var(--muted);
  word-break: break-all;
  line-height: 1.55;
}
.rename-panel {
  border: 1px solid rgba(145, 199, 180, 0.14);
  background: rgba(7, 10, 11, 0.5);
  padding: 12px;
}
.rename-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.empty {
  padding: 26px;
  border: 1px dashed var(--line);
  background: rgba(7, 10, 11, 0.34);
  color: var(--muted);
  text-align: center;
}
.empty strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}
.empty p {
  max-width: 520px;
  margin: 8px auto 0;
}
.empty .hero-actions {
  justify-content: center;
  margin-top: 16px;
}
details.advanced {
  border: 1px solid var(--line);
  background: rgba(12, 17, 18, 0.72);
  padding: 14px 18px;
}
details.advanced summary {
  cursor: pointer;
  color: var(--text);
}
dialog.bind-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(145, 199, 180, 0.12), transparent 18rem),
    #0a0f10;
  color: var(--text);
  padding: 0;
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.48);
}
dialog.bind-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(5px);
}
.modal-shell {
  display: grid;
  gap: 18px;
  padding: 20px;
}
.bind-dialog.ticket-created .binding-setup,
.bind-dialog.ticket-created #binding-ticket-form,
.bind-dialog.ticket-created .modal-client {
  display: none;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.modal-head h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 24px;
  letter-spacing: 0;
}
.modal-head p {
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted);
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: -0.01em; }
h3 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
.value { color: var(--text); word-break: break-all; line-height: 1.5; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.stack { display: grid; gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.space { justify-content: space-between; }
.accounts-list,
.ticket-output-actions { margin-top: 12px; }
label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}
.field-help,
.field-error {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}
.field-help { color: #65746f; }
.field-error { color: var(--danger); }
.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}
.password-field button {
  min-width: 62px;
  padding-inline: 10px;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  border: 1px solid #34413e;
  background: #070a0b;
  color: var(--text);
  outline: none;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}
textarea { min-height: 118px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); }
button {
  border: 1px solid #33413e;
  background: #0a0f10;
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
button:hover { border-color: var(--accent-2); }
button.primary {
  border-color: var(--accent-2);
  background: #162420;
  color: #e8f2ef;
}
button.small { padding: 7px 9px; font-size: 12px; }
button.tiny { padding: 5px 8px; font-size: 11px; border-radius: 7px; }
button.danger { color: var(--danger); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.tabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  color: var(--muted);
}
.tabs button.active {
  background: #162420;
  color: var(--text);
}
.notice {
  border: 1px solid var(--line);
  background: #0a0f10;
  color: var(--muted);
  padding: 12px;
  line-height: 1.6;
  word-break: break-word;
}
.notice.error { border-color: #5b3b35; color: var(--danger); }
.notice.ok { border-color: #355344; color: var(--accent); }
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  overflow: hidden;
}
th, td {
  padding: 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { color: var(--muted); font-weight: 500; background: #0a0f10; }
td { color: var(--text); }
tr:last-child td { border-bottom: 0; }
.mono {
  max-width: 420px;
  word-break: break-all;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.badge {
  display: inline-block;
  border: 1px solid #35413f;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 12px;
}
.badge.online { border-color: #456f55; color: #94d5a9; }
.badge.offline { border-color: #65493e; color: #dca089; }
.badge.warning { border-color: #5f563d; color: var(--warn); }
@media (max-width: 980px) {
  .grid, .cards, .dashboard-grid, .landing-hero, .value-grid, .flow-grid, .developer-grid, .setup-steps, .ops-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar, .mock-inspector { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide, .bento-card.side, .bento-card.half { grid-column: span 2; }
  .value-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: 0; }
}
@media (max-width: 900px) {
  .bar { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .landing-cta { align-items: flex-start; flex-direction: column; }
  .launcher-head { align-items: flex-start; flex-direction: column; }
  .launcher-actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
  main, .bar { width: min(1180px, calc(100% - 28px)); }
  .nav-links { gap: 10px; flex-wrap: wrap; }
  .landing { gap: 48px; }
  .hero-copy { min-height: auto; padding: 30px 22px; }
  .landing-title { font-size: clamp(38px, 13vw, 58px); }
  .hero-metrics { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide, .bento-card.side, .bento-card.half { grid-column: span 1; }
  .mini-flow { position: static; margin-top: 20px; grid-template-columns: 1fr 1fr; }
  .mini-chips { position: static; margin-top: 20px; }
  .compare-wrap { overflow-x: auto; }
  .compare-table { min-width: 640px; }
  .rename-panel form { grid-template-columns: 1fr; }
  .password-field { grid-template-columns: 1fr; }
}
*, *::before, *::after { border-radius: 0 !important; }
