:root {
  color-scheme: light;
  --bg: #f6f8fa;
  --surface: #fff;
  --soft: #f8fafb;
  --hover: #eef3f5;
  --text: #1a293a;
  --secondary: #526277;
  --muted: #68798b;
  --line: #e3e9ed;
  --strong: #cdd8df;
  --accent: #0a806d;
  --accent-hover: #096451;
  --accent-soft: #e9f5ef;
  --danger: #b7434e;
  --warn: #8b671f;
  --warn-bg: #fff8e8;
  --shadow: 0 2px 7px #233d4b05;
  --sidebar: 226px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101820;
  --surface: #192530;
  --soft: #14202a;
  --hover: #263544;
  --text: #e7eff5;
  --secondary: #b7c7d4;
  --muted: #9bacbc;
  --line: #2c3c4a;
  --strong: #415666;
  --accent: #6ad3b6;
  --accent-hover: #91e1ca;
  --accent-soft: #1f3b34;
  --danger: #f39da7;
  --warn: #e0c489;
  --warn-bg: #362f22;
  --shadow: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  color: inherit;
}
svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
  font-weight: 650;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.25px;
  font-weight: 650;
}
small {
  font-size: 11px;
  color: var(--muted);
}
b,
strong {
  font-weight: 600;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.block {
  display: block;
}
.positive {
  color: var(--accent);
}
.negative {
  color: var(--danger);
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.full {
  width: 100%;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  background: var(--surface);
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 29px 16px 0;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  padding: 0 8px 29px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.45px;
  font-weight: 500;
  margin-top: 1px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--surface);
  border-radius: 10px;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark span {
  font-size: 14px;
  align-self: flex-start;
  margin-top: 4px;
}
.workspace-label {
  padding: 13px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}
.workspace-label small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.workspace-avatar,
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.workspace-lock {
  margin-left: auto;
  color: var(--muted);
  font-size: 20px;
}
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 28px 11px 10px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  min-height: 45px;
  padding: 11px 13px;
  font-size: 12px;
  color: var(--secondary);
}
.nav-item:hover {
  background: var(--soft);
}
.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
}
.nav-item[data-view="settings"] {
  margin-top: 22px;
  position: relative;
}
.nav-item[data-view="settings"]:before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.pilot-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 13px;
  margin-bottom: 23px;
}
.small-kicker {
  font-size: 8px;
  letter-spacing: 0.9px;
  color: var(--accent);
  font-weight: 650;
}
.pilot-card p {
  font-size: 12px;
  font-weight: 600;
  margin: 8px 0;
}
.pilot-card small {
  display: block;
  line-height: 1.7;
  font-size: 10px;
}
.pilot-card .text-button {
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
  font-weight: 600;
}
.avatar {
  border-radius: 50%;
  background: var(--hover);
  font-size: 10px;
  color: var(--secondary);
}
.account small {
  display: block;
  font-weight: 400;
  font-size: 10px;
}
.account .icon-button {
  margin-left: auto;
}
.app-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 13px;
  color: var(--strong);
}
.breadcrumb b {
  color: var(--text);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.preview-badge {
  font-size: 10px;
  color: var(--warn);
  background: var(--warn-bg);
  border-radius: 5px;
  padding: 5px 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid var(--strong);
  border-radius: 7px;
  padding: 9px 13px;
  background: var(--surface);
  color: var(--secondary);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.button:hover:not(:disabled) {
  text-decoration: none;
  background: var(--hover);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.button.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
[data-theme="dark"] .button.primary,
[data-theme="dark"] .brand-mark {
  color: #102a23;
}
.button.quiet {
  background: transparent;
  border-color: transparent;
}
.button.compact {
  min-height: 34px;
  padding: 6px 11px;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 19px;
  color: var(--secondary);
}
.icon-button:hover {
  background: var(--hover);
}
.text-button {
  background: transparent;
  border: 0;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.text-button:hover {
  text-decoration: underline;
}
.contextbar {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.chain-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
}
.chain-control > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.chain-control select {
  width: 155px;
  min-height: 36px;
  padding: 6px 28px 6px 11px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  background: var(--soft);
}
.chain-context {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  min-width: 0;
  color: var(--muted);
}
.chain-context b {
  color: var(--secondary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 190px;
}
.network-dot,
.workspace-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
  flex-shrink: 0;
}
.context-divider {
  color: var(--strong);
  margin: 0 3px;
}
.prep-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
main {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 32px 30px 48px;
  flex: 1;
  min-width: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.25px;
  color: var(--accent);
  margin-bottom: 9px;
}
.page-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 690px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.section-heading h2 + .muted {
  font-size: 12px;
  margin-top: 5px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.section-gap {
  margin-top: 22px;
}
.subtle-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35px;
  white-space: nowrap;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 7px;
}
.chain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.chain-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.chain-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.chain-card-head > div {
  flex: 1;
}
.chain-card-head h2 {
  font-size: 15px;
}
.chain-card-head small {
  font-size: 10px;
}
.chain-card-head > .status-badge {
  flex-basis: auto;
  font-size: 9px;
}
.chain-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: -0.4px;
  font-weight: 650;
  background: var(--hover);
  color: var(--secondary);
  flex-shrink: 0;
}
.chain-mark.robinhood {
  background: #eaf6e4;
  color: #407034;
}
.chain-mark.bsc {
  background: #fff4d6;
  color: #886409;
}
.chain-mark.arc {
  background: #eaf1fd;
  color: #376cb8;
}
.chain-mark.ethereum {
  background: #f0ecfc;
  color: #75609c;
}
[data-theme="dark"] .chain-mark.robinhood {
  background: #2c3b29;
  color: #abd291;
}
[data-theme="dark"] .chain-mark.bsc {
  background: #403824;
  color: #e6cc89;
}
[data-theme="dark"] .chain-mark.arc {
  background: #263954;
  color: #acc9f4;
}
[data-theme="dark"] .chain-mark.ethereum {
  background: #373044;
  color: #ceb4f5;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
  padding: 3px 6px;
  white-space: nowrap;
}
.status-badge.connected {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.status-badge.connected:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.warning {
  background: var(--warn-bg);
  color: var(--warn);
}
.metric-label {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.balance {
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.balance > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.chain-card > small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
  min-height: 31px;
}
.chain-card-divider {
  height: 1px;
  background: var(--line);
  margin: 15px 0;
}
.key-value {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
}
.key-value span {
  color: var(--muted);
}
.key-value b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chain-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 21px;
}
.chain-card-actions .button {
  font-size: 11px;
  padding: 8px 10px;
  min-height: 36px;
}
.chain-card-actions .text-button {
  font-size: 10px;
}
.overview-bottom {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  margin-top: 26px;
}
.profile-list {
  margin-top: 22px;
}
.profile-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 15px 0;
}
.profile-list-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.profile-list-row .chain-mark {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 8px;
}
.profile-list-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile-list-row b {
  font-size: 12px;
  display: block;
}
.profile-list-row small {
  font-size: 11px;
  display: block;
  overflow-wrap: anywhere;
}
.profile-list-row > span:last-child {
  color: var(--accent);
}
.integration-card h2 {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 13px;
}
.integration-card > p {
  font-size: 12px;
  max-width: 420px;
  line-height: 1.8;
}
.milestone-list {
  padding: 0;
  list-style: none;
  margin: 25px 0 0;
}
.milestone-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
  position: relative;
}
.milestone-list li > span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 10px;
  flex-shrink: 0;
  color: var(--muted);
}
.milestone-list .complete > span,
.milestone-list .current > span {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.milestone-list b {
  font-size: 12px;
}
.milestone-list small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  min-height: 42px;
  margin-top: 7px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  min-height: 94px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.identity-grid {
  grid-template-columns: 1.5fr 1fr;
}
.optional {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-left: 6px;
}
.connection-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--strong);
  border-radius: 9px;
  padding: 17px 20px;
  margin-bottom: 24px;
}
.connection-symbol {
  color: var(--muted);
}
.connection-banner > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.connection-banner b {
  font-size: 12px;
}
.connection-banner p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 23px;
}
.launch-card > .section-heading {
  padding-bottom: 20px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.form-section {
  padding-top: 23px;
}
.form-section + .form-section {
  margin-top: 7px;
  border-top: 1px solid var(--line);
}
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3px;
  font-weight: 650;
  margin-bottom: 19px;
}
.pad-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
}
.pad-summary > div {
  flex: 1;
  min-width: 0;
}
.pad-summary b {
  display: block;
  font-size: 12px;
}
.pad-summary small {
  display: block;
  font-size: 11px;
}
.pad-monogram {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 600;
}
details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  padding: 12px 14px;
  margin: 20px 0;
}
summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
}
summary span {
  float: right;
  font-weight: 400;
  color: var(--muted);
}
details label {
  margin-top: 15px;
  margin-bottom: 0;
}
.launch-footer {
  margin: 23px -24px -24px;
  padding: 20px 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.launch-footer p {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.saved-dot {
  width: 4px;
  height: 4px;
  display: inline-block;
  background: var(--accent);
  border-radius: 50%;
}
.launch-footer > small {
  flex-basis: 100%;
  font-size: 10px;
}
.launch-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.context-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  font-size: 11px;
}
.context-rows span {
  color: var(--muted);
  white-space: nowrap;
}
.context-rows b {
  text-align: right;
}
.notice {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--secondary);
  line-height: 1.7;
  margin-top: 16px;
}
.notice.warning {
  color: var(--warn);
  background: var(--warn-bg);
}
.profile-headline {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.funding-details {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.funding-details > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 8px 0;
}
.funding-details dt {
  color: var(--muted);
}
.funding-details dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.launch-aside .muted {
  font-size: 12px;
  line-height: 1.8;
}
.launch-aside .full {
  margin-top: 20px;
}
.quiet-panel {
  padding: 2px 8px;
}
.quiet-panel .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.quiet-panel p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}
.metric > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.metric > strong {
  display: block;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 5px 0;
}
.metric > strong small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  padding: 11px 14px;
  text-align: left;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:first-child,
th:first-child {
  padding-left: 8px;
}
td small {
  font-size: 10px;
}
.address {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.role-badge {
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 4px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 35px 20px;
  gap: 8px;
}
.empty-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 10px;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 7px;
}
.empty-state b {
  font-size: 12px;
  color: var(--secondary);
}
.empty-state p {
  font-size: 12px;
  max-width: 430px;
  color: var(--muted);
}
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.group-tile {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
}
.group-tile > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.group-tile b {
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-tile p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.group-tile small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.operation-list > div {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.operation-list small {
  display: block;
  overflow-wrap: anywhere;
  font-size: 10px;
}
.connections-list {
  margin-top: 23px;
}
.connections-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.connections-list > div > span:nth-child(2) {
  flex: 1;
}
.connections-list b {
  display: block;
  font-size: 12px;
}
.connections-list small {
  display: block;
  font-size: 11px;
}
.safeguard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 25px 0;
}
.safeguard-grid b {
  font-size: 12px;
}
.safeguard-grid p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.workspace-footer {
  padding: 18px 30px 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.workspace-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
dialog {
  width: min(500px, calc(100% - 30px));
  max-height: calc(100dvh - 40px);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 18px 80px #0003;
  overflow-y: auto;
}
dialog::backdrop {
  background: #0b1d3290;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}
.dialog-heading .eyebrow {
  font-size: 9px;
}
.dialog-heading h2 {
  font-size: 21px;
}
.dialog-heading .icon-button {
  margin: -5px -6px 0 0;
}
.dialog-heading + .muted {
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 23px;
}
.form-message {
  font-size: 12px;
  color: var(--danger);
  margin: 9px 0 14px;
}
.form-message:empty {
  display: none;
}
.dialog-note {
  display: block;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 13px;
}
.profile-rules {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-rules p {
  font-size: 11px;
  color: var(--secondary);
  margin: 5px 0;
}
.profile-rules span {
  color: var(--accent);
  margin-right: 5px;
}
.profile-rules + .notice {
  margin-bottom: 20px;
}
.error-note {
  font-size: 11px;
  color: var(--danger);
  margin-top: 10px;
}
.loading-state {
  padding: 50px;
  color: var(--muted);
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(620px, calc(100vw - 32px));
  padding: 13px 20px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  border-radius: 9px;
  z-index: 30;
  box-shadow: 0 5px 22px #0002;
}
@media (min-width: 1500px) {
  main {
    padding: 38px 40px 48px;
  }
  .chain-card {
    padding: 24px;
  }
  .chain-card-head > .status-badge {
    margin-left: auto;
  }
}
@media (max-width: 1350px) {
  .chain-card-head > .status-badge {
    margin-top: 2px;
  }
  .chain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chain-card-head {
    flex-wrap: nowrap;
    margin-bottom: 22px;
  }
  .chain-card > small {
    min-height: 0;
  }
  .chain-card-head > .status-badge {
    margin-left: auto;
  }
  .chain-card {
    padding: 22px;
  }
  .contextbar {
    gap: 14px;
  }
  .chain-context {
    display: none;
  }
  .launch-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  }
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1050px) {
  :root {
    --sidebar: 195px;
  }
  .brand {
    font-size: 22px;
    gap: 8px;
    padding-left: 0;
  }
  .brand small {
    font-size: 7px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace-lock {
    display: none;
  }
  .topbar,
  .contextbar {
    padding-left: 22px;
    padding-right: 22px;
  }
  main {
    padding: 26px 22px 40px;
  }
  .overview-bottom {
    grid-template-columns: 1fr;
  }
  .launch-layout {
    grid-template-columns: 1fr;
  }
  .launch-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .launch-aside .quiet-panel {
    grid-column: 1/-1;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .metric > strong {
    font-size: 23px;
  }
  .metric > small {
    font-size: 10px;
  }
  .workspace-footer {
    flex-direction: column;
    gap: 6px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .heading-actions .button {
    font-size: 10px;
  }
  .chain-grid {
    gap: 15px;
  }
  .chain-card {
    padding: 19px;
  }
  .preview-badge {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0 8px max(5px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
    z-index: 10;
    background: var(--surface);
  }
  .brand,
  .workspace-label,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }
  .nav-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    min-height: 60px;
    padding: 8px 1px 6px;
    font-size: 9px;
    border-radius: 0;
  }
  .nav-item svg {
    width: 19px;
    height: 19px;
  }
  .nav-item.active {
    background: transparent;
    color: var(--accent);
  }
  .nav-item[data-view="settings"] {
    margin: 0;
  }
  .nav-item[data-view="settings"]:before,
  .nav-count {
    display: none;
  }
  .topbar {
    min-height: 57px;
    padding: 0 18px;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .topbar-actions {
    gap: 5px;
  }
  .topbar-actions .compact span {
    display: none;
  }
  .preview-badge {
    font-size: 8px;
    padding: 4px 6px;
  }
  .topbar .icon-button {
    width: 29px;
  }
  .contextbar {
    min-height: 65px;
    padding: 12px 18px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .chain-control > span {
    display: none;
  }
  .chain-control select {
    width: 135px;
    min-height: 36px;
    font-size: 12px;
  }
  .prep-actions {
    gap: 3px;
  }
  .prep-actions .button {
    font-size: 10px;
    min-height: 36px;
    padding: 7px 9px;
  }
  #profileButton {
    font-size: 10px;
  }
  main {
    padding: 26px 18px 35px;
  }
  .app-shell {
    padding-bottom: 68px;
  }
  h1 {
    font-size: 26px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .page-subtitle {
    font-size: 12px;
    line-height: 1.8;
  }
  .page-heading {
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading > .muted {
    font-size: 11px;
  }
  .chain-card {
    padding: 17px;
  }
  .chain-card-head {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .chain-card-head > .status-badge {
    margin: 3px 0 0;
    flex-basis: auto;
  }
  .chain-card-head h2 {
    font-size: 13px;
  }
  .chain-card-head small {
    font-size: 9px;
  }
  .chain-card-head .chain-mark {
    width: 30px;
    height: 30px;
    font-size: 10px;
    border-radius: 8px;
  }
  .chain-card > small {
    font-size: 10px;
    line-height: 1.8;
  }
  .balance {
    font-size: 24px;
  }
  .chain-card-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .chain-card-actions .button {
    width: 100%;
    font-size: 10px;
  }
  .chain-card-actions .text-button {
    margin: auto;
  }
  .key-value {
    font-size: 10px;
    gap: 8px;
  }
  .key-value b {
    max-width: 85px;
  }
  .metric-label {
    font-size: 10px;
  }
  .card {
    padding: 20px;
  }
  .overview-bottom {
    gap: 18px;
    margin-top: 20px;
  }
  .card .subtle-tag {
    font-size: 8px;
  }
  .integration-card h2 {
    font-size: 21px;
  }
  .profile-list-row small {
    font-size: 10px;
  }
  .launch-aside {
    display: flex;
  }
  .launch-footer {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    padding: 18px 20px;
  }
  .connection-banner {
    padding: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
  }
  .connection-banner p {
    font-size: 11px;
  }
  .connection-banner .button {
    margin-left: auto;
  }
  .connection-symbol {
    display: none;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metric-grid .metric:last-child {
    grid-column: 1/-1;
  }
  .metric > strong {
    font-size: 25px;
  }
  .metric > span {
    font-size: 11px;
  }
  .metric > small {
    font-size: 10px;
  }
  .group-grid {
    grid-template-columns: 1fr;
  }
  .connections-list > div {
    gap: 10px;
    flex-wrap: wrap;
  }
  .connections-list small {
    font-size: 10px;
  }
  .connections-list .status-badge {
    font-size: 9px;
  }
  .connections-list .button {
    min-height: 33px;
    font-size: 10px;
    padding: 6px 9px;
  }
  .connections-list > div > span:nth-child(2) {
    min-width: 150px;
  }
  .safeguard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workspace-footer {
    padding: 10px 18px 20px;
    font-size: 9px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .field-grid {
    gap: 12px;
  }
  label {
    font-size: 11px;
  }
  .pad-summary {
    gap: 10px;
    flex-wrap: wrap;
  }
  .pad-summary .subtle-tag {
    display: none;
  }
  .field-grid.identity-grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  dialog {
    padding: 22px;
  }
  #toast {
    bottom: 80px;
    width: max-content;
    font-size: 11px;
  }
  .empty-state {
    padding: 25px 12px;
  }
}
@media (max-width: 390px) {
  .chain-grid {
    grid-template-columns: 1fr;
  }
  .chain-card-head {
    flex-wrap: nowrap;
  }
  .chain-card-head > .status-badge {
    margin-left: auto;
  }
  .chain-card-actions {
    flex-wrap: nowrap;
  }
  .chain-card-actions .button {
    width: auto;
  }
  .chain-card-actions .text-button {
    margin: 0;
  }
  .chain-card {
    padding: 20px;
  }
  .chain-card-head h2 {
    font-size: 15px;
  }
  .chain-card-head .chain-mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .contextbar {
    gap: 10px;
  }
  .prep-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .chain-control {
    width: 100%;
  }
  .chain-control > span {
    display: block;
  }
  .chain-control select {
    margin-left: auto;
  }
  .page-heading .heading-actions {
    width: 100%;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .identity-grid {
    grid-template-columns: 1fr !important;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid .metric:last-child {
    grid-column: auto;
  }
  .topbar .breadcrumb {
    font-size: 10px;
  }
  .preview-badge {
    font-size: 7px;
  }
  .subtle-tag {
    white-space: normal;
    text-align: right;
  }
  .card .section-heading {
    align-items: flex-start;
  }
  .connections-list > div > span:nth-child(2) {
    min-width: 140px;
  }
}
@media (max-height: 750px) and (min-width: 761px) {
  .pilot-card {
    display: none;
  }
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.prep-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 430px;
}
.prepare-summary {
  width: 100%;
  text-align: right;
  font-size: 10px;
  color: var(--muted);
}
.button-row .button {
  min-width: 0;
}
.field-help {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}
input[type="file"]::file-selector-button {
  color: var(--accent);
  background: var(--accent-soft);
  border: 0;
  border-radius: 5px;
  padding: 7px 10px;
  margin-right: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
}
.check-field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 1px 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.check-field span {
  line-height: 1.45;
}
.check-field small,
.position-head small,
.holding-row small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
  font-size: 11px;
}
.platform-settings {
  margin-bottom: 20px;
}
.bundle-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.bundle-list .bundle-amount {
  max-width: 135px;
  margin: 0;
  font-size: 10px;
}
.bundle-list .check-field {
  margin: 0;
}
.position-head {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.holding-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.holding-actions {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.holding-row + .button-row {
  margin-top: 16px;
}
.operation-list .operation-item {
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.operation-item > span:first-child {
  flex: 1;
  min-width: 130px;
  overflow-wrap: anywhere;
}
.operation-item > .status-badge {
  max-width: 140px;
  white-space: normal;
  text-align: center;
}
.review-details {
  display: grid;
  gap: 10px;
  margin: 15px 0 25px;
}
.review-details > div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.review-details dt {
  color: var(--muted);
  font-size: 12px;
}
.review-details dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.field-grid > label:has(textarea),
.field-grid > label:has(input[type="file"]) {
  grid-column: 1 / -1;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-heading .button-row {
    width: 100%;
  }
  .review-details > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .field-grid > label:has(textarea) {
    grid-column: auto;
  }
}
.sign-in-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  background: var(--surface);
}
.sign-in-story {
  color: #e9f7f0;
  background: #0c322c;
  padding: clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  overflow: hidden;
  position: relative;
}
.sign-in-story::after {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  right: -300px;
  bottom: -80px;
  box-shadow:
    0 0 0 60px #ffffff03,
    0 0 0 120px #ffffff03;
  pointer-events: none;
}
.sign-in-story .brand {
  display: flex;
  color: #fff;
  padding: 0;
  font-size: 28px;
  gap: 12px;
  width: fit-content;
}
.sign-in-story .brand small {
  color: #9fc9bb;
  font-size: 8px;
}
.sign-in-story .brand-mark {
  background: #6bccad;
  color: #113a30;
}
.sign-in-message {
  max-width: 490px;
  position: relative;
  z-index: 1;
}
.sign-in-message .eyebrow {
  color: #91d3ba;
  letter-spacing: 0.13em;
  font-size: 10px;
}
.sign-in-message h1 {
  margin: 20px 0 22px;
  font-size: clamp(36px, 4.1vw, 61px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: #f3fbf6;
}
.sign-in-message > p:not(.eyebrow) {
  color: #b1cfc2;
  font-size: 16px;
  line-height: 1.8;
  max-width: 420px;
}
.sign-in-networks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 42px;
}
.sign-in-networks > span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #d7eade;
}
.sign-in-networks b {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #b4dbc426;
  border-radius: 9px;
  color: #bce7cd;
  font-size: 10px;
  background: #ffffff05;
}
.sign-in-footnote {
  font-size: 11px;
  color: #8fb4a4;
  max-width: 370px;
  line-height: 1.8;
  margin: 0;
}
.sign-in-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  position: relative;
  min-width: 0;
}
.sign-in-theme {
  position: absolute;
  top: 28px;
  right: 32px;
}
.sign-in-form-wrap {
  width: 100%;
  max-width: 365px;
}
.sign-in-form-wrap > .eyebrow {
  font-size: 10px;
}
.sign-in-form-wrap h2 {
  font-size: 33px;
  letter-spacing: -0.04em;
  margin: 12px 0 10px;
  line-height: 1.2;
}
.sign-in-subtitle {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 14px;
}
.sign-in-form-wrap label {
  margin-bottom: 20px;
}
.sign-in-form-wrap input {
  min-height: 48px;
}
.sign-in-form-wrap .button.primary {
  min-height: 48px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}
.sign-in-security {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  margin: 22px 0 0;
}
.sign-in-panel-footer {
  position: absolute;
  bottom: 30px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}
@media (max-width: 800px) {
  .sign-in-screen {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .sign-in-story {
    padding: 27px 28px;
    gap: 24px;
  }
  .sign-in-message {
    display: none;
  }
  .sign-in-story .brand {
    font-size: 24px;
  }
  .sign-in-story .brand-mark {
    width: 38px;
    height: 38px;
  }
  .sign-in-footnote {
    font-size: 11px;
    max-width: 330px;
  }
  .sign-in-panel {
    padding: 64px 28px 80px;
    align-items: flex-start;
  }
  .sign-in-theme {
    top: 15px;
    right: 20px;
  }
  .sign-in-form-wrap h2 {
    font-size: 30px;
  }
  .sign-in-panel-footer {
    bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  .button,
  .button.compact,
  .prep-actions .button,
  .connections-list .button,
  .chain-card-actions .button,
  .icon-button {
    min-height: 44px;
  }
  .icon-button {
    min-width: 44px;
  }
}
