:root {
  --ink: #0a0a0b;
  --panel: #151516;
  --panel-deep: #101011;
  --panel-hover: #1a1a1c;
  --line: #2b2c2e;
  --line-strong: #38393c;
  --text: #f2f2f0;
  --muted: #96979b;
  --muted-strong: #c0c1c3;
  --signal: #18d391;
  --signal-wash: rgba(24, 211, 145, 0.075);
  --danger: #ff5a63;
  color: var(--text);
  background: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ink); }
body { min-width: 320px; min-height: 100dvh; margin: 0; background: var(--ink); }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }

.member-shell { min-height: 100dvh; padding: 0 26px 18px; }
.member-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--text); }
.back-link > span:first-child { color: var(--signal); font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: transform .16s cubic-bezier(.22, 1, .36, 1); }
.back-link:hover > span:first-child { transform: translateX(-3px); }
.back-link b, .back-link small { display: block; }
.back-link b { font: 720 15px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.025em; }
.back-link small { margin-top: 5px; color: var(--muted); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.session-state { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); padding: 0 13px; font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.session-state i, .auth-status i { width: 7px; height: 7px; border-radius: 50%; background: #6f7074; }
.session-state.is-live { border-color: rgba(24, 211, 145, .35); color: #c4f5e2; background: var(--signal-wash); }
.session-state.is-live i, .auth-status.is-live i { background: var(--signal); box-shadow: 0 0 0 3px rgba(24, 211, 145, .1); }

.identity-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(380px, .78fr); min-height: calc(100dvh - 137px); border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.identity-ledger { display: flex; min-width: 0; flex-direction: column; border-right: 1px solid var(--line); }
.identity-copy { min-height: 292px; padding: 55px clamp(32px, 5vw, 78px) 42px; }
.surface-kicker, .rail-index, .verified-label { color: var(--signal); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.identity-copy h1 { max-width: 690px; margin: 22px 0 18px; color: var(--text); font-size: clamp(36px, 4.45vw, 70px); font-weight: 680; line-height: .99; letter-spacing: -.035em; text-wrap: balance; }
.identity-copy p { max-width: 65ch; margin: 0; color: var(--muted-strong); font-size: 14px; line-height: 1.75; }

.identity-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-deep); }
.identity-strip div { min-width: 0; min-height: 85px; border-right: 1px solid var(--line); padding: 20px 24px; }
.identity-strip div:last-child { border-right: 0; }
.identity-strip span, .access-ledger header > span { display: block; color: var(--muted); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .075em; }
.identity-strip strong { display: block; margin-top: 11px; color: var(--text); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.access-ledger { padding: 38px clamp(32px, 5vw, 78px) 34px; }
.access-ledger header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.access-ledger h2, .signature-contract h2 { margin: 0; color: var(--text); font-size: 16px; font-weight: 680; letter-spacing: -.02em; }
.access-ledger header p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.access-row { display: grid; grid-template-columns: minmax(120px, .72fr) 1.25fr minmax(120px, .72fr); align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.access-row:last-child { border-bottom: 1px solid var(--line); }
.access-row > span { color: var(--text); font-size: 13px; font-weight: 660; }
.access-row small { color: var(--muted); font-size: 11px; }
.access-row b { color: #b8ead8; font: 650 10px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: right; }

.signature-contract { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .8fr); gap: 34px; margin: auto clamp(32px, 5vw, 78px) 40px; border-top: 1px solid rgba(24, 211, 145, .35); background: var(--signal-wash); padding: 25px 28px; }
.signature-contract > div { display: flex; gap: 14px; }
.contract-mark { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid rgba(24, 211, 145, .48); color: var(--signal); font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.signature-contract p { max-width: 58ch; margin: 8px 0 0; color: #b6cfc6; font-size: 11px; line-height: 1.6; }
.signature-contract dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.signature-contract dl div { border-left: 1px solid rgba(24, 211, 145, .19); padding-left: 18px; }
.signature-contract dt { color: #75a793; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.signature-contract dd { margin: 9px 0 0; color: #dbf4ea; font-size: 11px; font-weight: 650; line-height: 1.35; }

.auth-rail { display: flex; min-width: 0; flex-direction: column; background: var(--panel-deep); padding: 44px clamp(24px, 3.6vw, 50px) 26px; }
.auth-heading { margin-bottom: 29px; }
.auth-heading h2 { margin: 14px 0 8px; color: var(--text); font-size: 25px; font-weight: 680; letter-spacing: -.025em; }
.auth-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.auth-method { padding: 22px 0; }
.method-heading { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.method-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); color: var(--text); font: 750 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.google-icon { background: #f0f0ed; color: #151516; }
.wallet-icon { border-color: rgba(24, 211, 145, .4); color: var(--signal); background: var(--signal-wash); }
.method-heading h3 { margin: 0; color: var(--text); font-size: 14px; font-weight: 680; }
.method-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.method-state { color: var(--muted); font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .07em; }
.google-action { display: flex; align-items: center; min-height: 47px; margin-top: 18px; overflow: hidden; }
.google-action > div { max-width: 100%; }
.google-unavailable { display: flex; width: 100%; min-height: 44px; align-items: center; border: 1px solid var(--line); color: #a8a9ac; background: #181819; padding: 0 14px; font: 620 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.method-note { min-height: 16px; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.method-separator { position: relative; height: 33px; border-top: 1px solid var(--line); }
.method-separator span { position: absolute; top: -5px; left: 0; background: var(--panel-deep); color: #737478; padding-right: 10px; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wallet-list { display: grid; margin-top: 17px; border-top: 1px solid var(--line); }
.wallet-list[hidden] { display: none; }
.wallet-choice { display: grid; width: 100%; min-height: 53px; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); padding: 7px 3px; text-align: left; transition: background .16s ease, color .16s ease; }
.wallet-choice:hover { background: var(--panel-hover); }
.wallet-choice:disabled { cursor: not-allowed; color: #77787b; background: transparent; }
.wallet-choice.is-busy { cursor: wait; color: #c7f3e2; background: var(--signal-wash); }
.wallet-choice-icon { display: grid; place-items: center; width: 31px; height: 31px; overflow: hidden; border: 1px solid var(--line-strong); background: #1c1d1e; color: #d7d8d8; font: 750 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wallet-choice-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wallet-choice b, .wallet-choice small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-choice b { color: inherit; font: 680 11px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.wallet-choice small { margin-top: 4px; color: var(--muted); font: 620 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wallet-choice-arrow { color: var(--signal); font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wallet-detecting { display: flex; min-height: 53px; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.wallet-recommendations { margin-top: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 3px 16px; }
.wallet-recommendations p { margin: 0 0 10px; color: var(--muted-strong); font-size: 10px; }
.wallet-recommendations nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.wallet-recommendations a { display: flex; min-height: 34px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--text); font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wallet-recommendations a:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 11px; }
.wallet-recommendations a:nth-child(even) { padding-left: 11px; }
.wallet-recommendations a::after { content: "↗"; color: var(--muted); }
.wallet-recommendations a:hover { color: var(--signal); }
.wallet-recommendations > small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.member-record { padding-top: 20px; }
.verified-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border: 1px solid rgba(24, 211, 145, .48); background: var(--signal-wash); color: var(--signal); font: 760 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.member-record h3 { margin: 13px 0 24px; color: var(--text); font-size: 26px; font-weight: 680; letter-spacing: -.03em; overflow-wrap: anywhere; }
.member-record dl { margin: 0; border-top: 1px solid var(--line); }
.member-record dl div { display: grid; grid-template-columns: minmax(90px, .55fr) minmax(0, 1.45fr); gap: 12px; min-height: 51px; align-items: center; border-bottom: 1px solid var(--line); }
.member-record dt { color: var(--muted); font-size: 10px; }
.member-record dd { min-width: 0; margin: 0; color: var(--text); font: 650 10px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; text-align: right; }
.member-record dd.is-live { color: var(--signal); }
.member-command-center { display: grid; margin-top: 25px; }
.command-group-label { display: flex; min-height: 32px; align-items: center; color: var(--muted); font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.command-group-label:not(:first-child) { margin-top: 10px; }
.account-command-grid, .workspace-command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.member-command { display: grid; min-width: 0; min-height: 67px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted-strong); padding: 12px 14px; transition: background-color .16s ease-out, color .16s ease-out, border-color .16s ease-out; }
.member-command > span { min-width: 0; }
.member-command strong, .member-command small { display: block; }
.member-command strong { overflow: hidden; color: var(--text); font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.member-command small { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.member-command i { color: var(--muted); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; transition: color .16s ease-out, transform .16s cubic-bezier(.22, 1, .36, 1); }
.member-command:hover { background: var(--panel-hover); color: var(--text); }
.member-command:hover i { color: var(--signal); transform: translateX(3px); }
.member-command[href^="#"]:hover i { transform: translateY(3px); }
.member-command.is-api { border-color: rgba(24, 211, 145, .35); background: var(--signal-wash); }
.member-command.is-api strong, .member-command.is-api i { color: var(--signal); }
.member-command.is-api small { color: var(--muted-strong); }
.member-command.is-api:hover { border-color: rgba(24, 211, 145, .55); background: rgba(24, 211, 145, .12); }
.logout-button { width: 100%; min-height: 40px; margin-top: 18px; border: 1px solid var(--line); background: transparent; color: var(--muted-strong); font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.logout-button:hover { border-color: #57585b; color: var(--text); background: var(--panel-hover); }

.auth-status { display: flex; align-items: center; gap: 9px; min-height: 47px; margin-top: auto; border-top: 1px solid var(--line); color: var(--muted); padding-top: 18px; font: 620 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.auth-status.is-error { color: #ff9aa0; }
.auth-status.is-error i { background: var(--danger); }

.defaults-center { scroll-margin-top: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--panel-deep); }
.defaults-center-header { display: grid; min-height: 166px; grid-template-columns: minmax(0, 1fr) minmax(260px, auto); align-items: end; gap: 34px; border-bottom: 1px solid var(--line); padding: 40px clamp(28px, 5vw, 72px) 34px; }
.defaults-center-header h2 { margin: 14px 0 9px; color: var(--text); font-size: clamp(28px, 3vw, 44px); font-weight: 680; line-height: 1; letter-spacing: -.03em; }
.defaults-center-header p { max-width: 72ch; margin: 0; color: var(--muted-strong); font-size: 12px; line-height: 1.65; }
.defaults-summary { min-width: 260px; border-top: 1px solid var(--line-strong); padding-top: 14px; text-align: right; }
.defaults-summary span, .defaults-summary strong { display: block; }
.defaults-summary span { color: var(--muted); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.defaults-summary strong { margin-top: 9px; color: #bdf1dd; font: 700 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.defaults-summary strong.is-loading { color: #e6c36c; }
.defaults-summary strong.is-error { color: #ff9299; }

.defaults-boundary { display: grid; min-height: 82px; grid-template-columns: minmax(0, 1fr) minmax(350px, .7fr); border-bottom: 1px solid rgba(24, 211, 145, .24); background: var(--signal-wash); padding: 0 clamp(28px, 5vw, 72px); }
.defaults-boundary > div { display: flex; align-items: center; gap: 14px; }
.defaults-boundary p { margin: 0; }
.defaults-boundary p strong, .defaults-boundary p small { display: block; }
.defaults-boundary p strong { color: #d8f5ea; font-size: 12px; }
.defaults-boundary p small { margin-top: 5px; color: #93b8aa; font-size: 10px; line-height: 1.45; }
.defaults-boundary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.defaults-boundary dl div { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(24, 211, 145, .18); padding-left: 22px; }
.defaults-boundary dt { color: #75a793; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.defaults-boundary dd { margin: 8px 0 0; color: #d8f5ea; font: 650 10px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.funding-defaults-form { display: block; }
.defaults-funding { min-width: 0; }
.defaults-strategy-header { display: grid; min-height: 82px; grid-template-columns: minmax(220px, 1fr) auto; align-items: stretch; border-bottom: 1px solid var(--line); }
.defaults-strategy-title { display: flex; align-items: center; gap: 15px; padding: 0 clamp(24px, 3.5vw, 48px); }
.defaults-strategy-title span { color: var(--signal); font: 720 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.defaults-strategy-title strong { color: var(--text); font-size: 18px; font-weight: 680; letter-spacing: -.02em; }
.defaults-tablist { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); border-left: 1px solid var(--line); }
.defaults-tablist button { position: relative; display: grid; min-height: 81px; align-content: center; border: 0; border-radius: 0; background: transparent; color: var(--muted); padding: 0 25px; text-align: left; transition: color .16s ease-out, background-color .16s ease-out; }
.defaults-tablist button + button { border-left: 1px solid var(--line); }
.defaults-tablist button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; content: ""; }
.defaults-tablist button:hover:not(:disabled) { background: var(--panel-hover); color: var(--muted-strong); }
.defaults-tablist button[aria-selected="true"] { background: var(--signal-wash); color: var(--text); }
.defaults-tablist button[aria-selected="true"]::after { background: var(--signal); }
.defaults-tablist button:disabled { cursor: wait; opacity: .55; }
.defaults-tablist span { font-size: 13px; font-weight: 700; letter-spacing: -.015em; }
.defaults-tablist small { margin-top: 7px; color: currentColor; font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; opacity: .72; }
.defaults-group { min-width: 0; margin: 0; border: 0; padding: 34px clamp(24px, 3.5vw, 48px) 38px; }
.defaults-group.is-exit { border-left: 0; }
.defaults-group legend { display: flex; width: 100%; align-items: end; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
.defaults-group legend span { color: var(--signal); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.defaults-group legend strong { color: var(--text); font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.defaults-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defaults-group.is-exit .defaults-field-grid { grid-template-columns: 1fr; }
.defaults-group.is-funding-panel .defaults-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defaults-field { display: grid; min-width: 0; align-content: start; border-bottom: 1px solid var(--line); padding: 23px 0 18px; }
.defaults-field:nth-child(odd) { padding-right: 24px; }
.defaults-field:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
.defaults-group.is-exit .defaults-field { padding-right: 0; padding-left: 0; }
.defaults-group.is-exit .defaults-field:nth-child(even) { border-left: 0; }
.defaults-group.is-funding-panel .defaults-field:nth-child(odd) { padding-right: 24px; padding-left: 0; }
.defaults-group.is-funding-panel .defaults-field:nth-child(even) { border-left: 1px solid var(--line); padding-right: 0; padding-left: 24px; }
.defaults-group legend.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.defaults-field > span { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.defaults-field > span b { color: var(--muted-strong); font-size: 11px; font-weight: 680; }
.defaults-field > span em { color: var(--muted); font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; text-align: right; }
.defaults-input { display: grid; height: 48px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 10px; border: 1px solid var(--line-strong); background: #111112; transition: border-color .16s ease-out, background-color .16s ease-out; }
.defaults-input.has-prefix { grid-template-columns: auto minmax(0, 1fr); }
.defaults-input:focus-within { border-color: var(--signal); box-shadow: 0 0 0 1px rgba(24, 211, 145, .2); }
.defaults-input.is-invalid { border-color: rgba(255, 90, 99, .72); background: rgba(255, 90, 99, .035); }
.defaults-input input { width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--text); padding: 0 14px; font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.defaults-input i { color: var(--muted); padding: 0 14px; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; }
.defaults-input input:disabled { cursor: wait; color: #77787b; }
.defaults-field > small { display: block; min-height: 28px; margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.defaults-field .defaults-field-error { min-height: 0; margin-top: 3px; color: #ff9299; }
.defaults-field .defaults-field-error:empty { display: none; }

.defaults-protection { margin-top: 0; border: 1px solid #423d2b; background: rgba(145, 119, 31, .035); }
.defaults-protection-toggle { display: grid; min-width: 0; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: start; gap: 13px; border-bottom: 1px solid #353225; padding: 15px 16px; cursor: pointer; }
.defaults-protection-toggle:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.defaults-protection-toggle input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #efc04a; }
.defaults-protection-toggle span, .defaults-protection-toggle strong, .defaults-protection-toggle small { display: block; min-width: 0; }
.defaults-protection-toggle strong { color: #ded5b5; font-size: 11px; line-height: 1.35; }
.defaults-protection-toggle small { max-width: 76ch; margin-top: 5px; color: #85806e; font-size: 9px; line-height: 1.55; }
.defaults-protection-toggle em { align-self: center; border: 1px solid rgba(239, 192, 74, .38); color: #e2c76f; padding: 5px 7px; font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; white-space: nowrap; }
.defaults-protection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 16px; transition: opacity .16s ease-out; }
.defaults-protection-grid.is-disabled { opacity: .42; }
.defaults-group.is-funding-panel .defaults-protection-grid .defaults-field { padding: 20px 18px 17px; }
.defaults-group.is-funding-panel .defaults-protection-grid .defaults-field:first-child { padding-left: 0; }
.defaults-group.is-funding-panel .defaults-protection-grid .defaults-field:last-child { padding-right: 0; }
.defaults-group.is-funding-panel .defaults-protection-grid .defaults-field + .defaults-field { border-left: 1px solid #353225; }
.defaults-protection-grid.is-disabled input { cursor: not-allowed; }

.defaults-form-footer { display: flex; min-height: 78px; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); padding: 16px clamp(24px, 3.5vw, 48px); }
.defaults-form-footer > div { display: grid; flex: 0 0 auto; grid-template-columns: auto minmax(190px, auto); gap: 8px; }
.defaults-form-status { min-width: 0; margin: 0; color: var(--muted); font: 620 9px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.defaults-form-status.is-loading { color: #e6c36c; }
.defaults-form-status.is-ready { color: #99d6bf; }
.defaults-form-status.is-error { color: #ff9299; }
.defaults-reset-button, .defaults-save-button { min-height: 42px; border-radius: 0; padding: 0 16px; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.defaults-reset-button { border: 1px solid var(--line-strong); background: transparent; color: var(--muted-strong); }
.defaults-reset-button:hover:not(:disabled) { border-color: #57585b; background: var(--panel-hover); color: var(--text); }
.defaults-save-button { border: 1px solid rgba(24, 211, 145, .55); background: var(--signal-wash); color: var(--signal); }
.defaults-save-button:hover:not(:disabled) { background: rgba(24, 211, 145, .14); }
.defaults-reset-button:disabled, .defaults-save-button:disabled { cursor: not-allowed; opacity: .46; }

.credential-center { scroll-margin-top: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--panel-deep); }
.credential-center-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, auto); align-items: end; gap: 34px; min-height: 166px; border-bottom: 1px solid var(--line); padding: 40px clamp(28px, 5vw, 72px) 34px; }
.credential-center-header h2 { margin: 14px 0 9px; color: var(--text); font-size: clamp(28px, 3vw, 44px); font-weight: 680; line-height: 1; letter-spacing: -.03em; }
.credential-center-header p { max-width: 68ch; margin: 0; color: var(--muted-strong); font-size: 12px; line-height: 1.65; }
.credential-summary { min-width: 260px; border-top: 1px solid var(--line-strong); padding-top: 14px; text-align: right; }
.credential-summary span, .credential-summary strong { display: block; }
.credential-summary span { color: var(--muted); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.credential-summary strong { margin-top: 9px; color: #bdf1dd; font: 700 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.credential-security { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .7fr); min-height: 82px; border-bottom: 1px solid rgba(24, 211, 145, .24); background: var(--signal-wash); padding: 0 clamp(28px, 5vw, 72px); }
.credential-security > div { display: flex; align-items: center; gap: 14px; }
.security-mark { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid rgba(24, 211, 145, .45); color: var(--signal); font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.credential-security p { margin: 0; }
.credential-security p strong, .credential-security p small { display: block; }
.credential-security p strong { color: #d8f5ea; font-size: 12px; }
.credential-security p small { margin-top: 5px; color: #93b8aa; font-size: 10px; line-height: 1.45; }
.credential-security dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.credential-security dl div { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(24, 211, 145, .18); padding-left: 22px; }
.credential-security dt { color: #75a793; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.credential-security dd { margin: 8px 0 0; color: #d8f5ea; font: 650 10px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.credential-venue-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.api-venue-panel { min-width: 0; padding: 0 clamp(24px, 3.5vw, 48px) 38px; }
.api-venue-panel + .api-venue-panel { border-left: 1px solid var(--line); }
.api-venue-panel > header { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.api-venue-panel > header > div { display: flex; min-width: 0; align-items: center; gap: 13px; }
.api-venue-code { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; overflow: hidden; border: 1px solid rgba(185, 249, 0, .6); background: #b9f900; }
.api-venue-code.ondo-code { border-color: #55575b; background: #050505; }
.api-venue-code.extended-code { border-color: #2d5f4d; background: #050505; }
.api-venue-code.lighter-code { border-color: #36565d; background: #071012; }
.api-venue-code img { display: block; width: 40px; height: 40px; object-fit: cover; }
.api-venue-panel h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 700; }
.api-venue-panel header p { margin: 5px 0 0; color: var(--muted); font: 620 9px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.api-config-status { max-width: 48%; border: 1px solid var(--line-strong); color: var(--muted-strong); padding: 8px 10px; font: 700 9px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: right; overflow-wrap: anywhere; }
.api-config-status.is-ready { border-color: rgba(24, 211, 145, .42); background: var(--signal-wash); color: var(--signal); }
.api-config-status.is-error { border-color: rgba(255, 90, 99, .42); background: rgba(255, 90, 99, .07); color: #ff9299; }
.api-config-status.is-testing { border-color: rgba(218, 173, 69, .45); color: #e6c36c; }

.api-credential-form { display: grid; gap: 20px; padding-top: 27px; }
.api-credential-form.is-configured { gap: 12px; padding-top: 18px; }
.api-credential-fields { display: grid; gap: 20px; }
.api-credential-fields[hidden] { display: none; }
.api-field { display: grid; gap: 9px; }
.api-field > span { color: var(--muted-strong); font-size: 11px; font-weight: 680; }
.api-field-heading { display: flex; min-height: 20px; align-items: center; justify-content: space-between; gap: 16px; }
.api-field-heading label { color: var(--muted-strong); font-size: 11px; font-weight: 680; }
.api-field-help { display: inline-flex; min-height: 30px; align-items: center; gap: 5px; margin: -6px 0; border: 0; background: transparent; color: #99d6bf; padding: 0 1px; font: 680 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-field-help span { color: var(--signal); transition: transform .16s cubic-bezier(.22, 1, .36, 1); }
.api-field-help:hover:not(:disabled) { color: #d4f5e8; }
.api-field-help:hover:not(:disabled) span { transform: translate(2px, -2px); }
.api-field-help:disabled { cursor: wait; opacity: .45; }
.api-field input, .api-field select { width: 100%; height: 46px; min-width: 0; border: 1px solid var(--line-strong); border-radius: 0; outline: 0; background: #111112; color: var(--text); padding: 0 13px; font: 650 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-field input:hover, .api-field select:hover { border-color: #505156; }
.api-field input:focus, .api-field select:focus { border-color: var(--signal); box-shadow: 0 0 0 1px rgba(24, 211, 145, .2); }
.api-field input::placeholder { color: #737478; }
.api-field input:disabled, .api-field select:disabled { cursor: wait; color: #77787b; background: #171718; }
.api-field small { min-height: 15px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.api-gas-note { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(210px, .8fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); background: #101011; transition: border-color .16s ease-out, background-color .16s ease-out; }
.api-gas-copy { min-width: 0; padding: 16px 17px 15px; }
.api-gas-copy > span, .api-gas-address > span { display: block; color: var(--muted); font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.api-gas-copy strong { display: block; margin-top: 8px; color: var(--muted-strong); font-size: 11px; font-weight: 700; line-height: 1.35; }
.api-gas-copy output { display: block; min-width: 0; margin-top: 7px; color: var(--text); font: 800 21px/1.12 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.api-gas-copy p { max-width: 61ch; margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.api-gas-copy a { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; margin-top: 7px; color: #99d6bf; font: 680 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-gas-copy a:hover { color: #d4f5e8; }
.api-gas-address { display: grid; min-width: 0; align-content: center; border-left: 1px solid var(--line); padding: 15px 16px; }
.api-gas-address code { display: block; min-width: 0; margin-top: 9px; color: var(--text); font: 650 9px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.api-gas-address button { min-height: 31px; margin-top: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted-strong); font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-gas-address button:hover:not(:disabled) { border-color: rgba(24, 211, 145, .42); background: var(--signal-wash); color: #c5f4e3; }
.api-gas-address button:disabled { cursor: not-allowed; opacity: .42; }
.api-gas-note[data-gas-state="ready"] { border-color: rgba(24, 211, 145, .3); background: rgba(24, 211, 145, .035); }
.api-gas-note[data-gas-state="ready"] .api-gas-copy > span,
.api-gas-note[data-gas-state="ready"] .api-gas-copy output { color: var(--signal); }
.api-gas-note[data-gas-state="zero"] { border-color: rgba(255, 90, 99, .46); background: rgba(255, 90, 99, .055); }
.api-gas-note[data-gas-state="zero"] .api-gas-copy > span,
.api-gas-note[data-gas-state="zero"] .api-gas-copy strong,
.api-gas-note[data-gas-state="zero"] .api-gas-copy output { color: #ff9299; }
.api-gas-note[data-gas-state="zero"] .api-gas-copy p { color: #f0b8bb; }
.api-gas-note[data-gas-state="loading"] .api-gas-copy output,
.api-gas-note[data-gas-state="stale"] .api-gas-copy output { color: #e6c36c; }
.api-form-actions { display: grid; grid-template-columns: minmax(140px, 1fr) auto auto; gap: 8px; margin-top: 2px; }
.api-form-actions button { min-height: 42px; border-radius: 0; padding: 0 15px; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-save-button { border: 1px solid rgba(24, 211, 145, .55); background: var(--signal-wash); color: var(--signal); }
.api-save-button:hover:not(:disabled) { background: rgba(24, 211, 145, .14); }
.api-view-button { border: 1px solid var(--line-strong); background: #191a1b; color: var(--muted-strong); }
.api-view-button:hover:not(:disabled), .api-view-button[aria-pressed="true"] { border-color: rgba(24, 211, 145, .42); color: #c5f4e3; background: var(--signal-wash); }
.api-delete-button { border: 1px solid var(--line-strong); background: transparent; color: var(--muted); }
.api-delete-button:hover:not(:disabled) { border-color: rgba(255, 90, 99, .42); color: #ff9299; background: rgba(255, 90, 99, .06); }
.api-form-actions button:disabled { cursor: not-allowed; opacity: .48; }
.api-form-status { min-height: 38px; margin: 0; border-top: 1px solid var(--line); color: var(--muted); padding-top: 11px; font: 620 9px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.api-form-status[hidden] { display: none; }
.api-form-status.is-testing { color: #e6c36c; }
.api-form-status.is-ready { color: #99d6bf; }
.api-form-status.is-error { color: #ff9299; }

.extended-access-note { display: grid; gap: 9px; border-top: 1px solid rgba(24, 211, 145, .28); border-bottom: 1px solid var(--line); background: rgba(24, 211, 145, .035); padding: 16px 17px; }
.extended-access-note > span { color: var(--signal); font: 760 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; }
.extended-access-note p { margin: 0; }
.extended-access-note strong, .extended-access-note small { display: block; }
.extended-access-note strong { color: var(--text); font-size: 11px; line-height: 1.35; }
.extended-access-note small { margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.extended-access-note a { color: #99d6bf; font: 680 8px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.extended-access-note a:hover { color: var(--signal); }

@media (max-width: 1760px) and (min-width: 1051px) {
  .credential-venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-venue-panel + .api-venue-panel { border-left: 0; }
  .api-venue-panel:nth-child(even) { border-left: 1px solid var(--line); }
  .api-venue-panel:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.venue-account-overview { margin-top: 22px; border-top: 1px solid var(--line-strong); }
.venue-account-overview > header { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; }
.venue-account-overview h4 { margin: 0; color: var(--text); font-size: 12px; font-weight: 700; }
.venue-account-overview [data-account-state] { display: block; margin-top: 5px; color: var(--muted); font: 620 8px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.venue-account-overview.is-live [data-account-state] { color: #8fd8bc; }
.venue-account-overview.is-stale [data-account-state] { color: #e1bd66; }
.venue-account-overview.is-error [data-account-state] { color: #ff9299; }
.venue-account-overview [data-refresh-account] { min-width: 48px; min-height: 31px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted-strong); padding: 0 10px; font: 680 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.venue-account-overview [data-refresh-account]:hover:not(:disabled) { border-color: rgba(24, 211, 145, .48); background: var(--signal-wash); color: var(--signal); }
.venue-account-overview [data-refresh-account]:disabled { cursor: not-allowed; opacity: .42; }
.venue-account-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.venue-account-metrics div { min-width: 0; min-height: 72px; border-left: 1px solid var(--line); padding: 14px 13px 12px; }
.venue-account-metrics dt { color: var(--muted); font-size: 9px; line-height: 1.3; }
.venue-account-metrics dd { margin: 9px 0 0; color: var(--text); font: 720 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.venue-account-metrics dd.is-positive { color: var(--signal); }
.venue-account-metrics dd.is-negative { color: #ff737c; }
.venue-account-overview.is-loading .venue-account-metrics dd { color: #77787b; }
.venue-position-ledger { margin-top: 10px; border: 1px solid var(--line); }
.venue-position-head,
.venue-position-row { display: grid; grid-template-columns: minmax(80px, .65fr) minmax(120px, 1fr) minmax(100px, .8fr); align-items: center; gap: 12px; }
.venue-position-head { min-height: 29px; border-bottom: 1px solid var(--line); background: #111212; color: var(--muted); padding: 0 12px; font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.venue-position-head span:last-child,
.venue-position-row > strong { text-align: right; }
.venue-position-row { min-height: 52px; padding: 9px 12px; color: var(--muted-strong); font: 650 10px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.venue-position-row + .venue-position-row { border-top: 1px solid var(--line); }
.venue-position-symbol { color: var(--text); font-weight: 760; }
.venue-position-size { display: flex; min-width: 0; align-items: center; gap: 8px; }
.venue-position-size span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.venue-position-side { min-width: 38px; border: 1px solid currentColor; padding: 4px 5px; font-size: 7px; line-height: 1; text-align: center; }
.venue-position-side.is-long { color: var(--signal); }
.venue-position-side.is-short { color: #ff737c; }
.venue-position-row > strong { color: var(--text); font-weight: 700; }
.venue-position-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 600; }
.venue-position-empty { min-height: 58px; margin: 0; color: var(--muted); padding: 20px 12px; font-size: 9px; line-height: 1.55; }

.account-guide-popover {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  border: 1px solid #44464a;
  background: #0f1011;
  color: var(--text);
  padding: 0;
  overflow: auto;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .62);
}
.account-guide-popover:popover-open { display: block; animation: account-guide-reveal .22s cubic-bezier(.22, 1, .36, 1); }
.account-guide-popover::backdrop { background: rgba(3, 4, 4, .78); }
.account-guide-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; border-bottom: 1px solid var(--line); padding: 30px 34px 27px; }
.account-guide-header > div > span { color: var(--signal); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .11em; }
.account-guide-header h2 { margin: 12px 0 9px; font-size: clamp(23px, 3vw, 34px); font-weight: 680; line-height: 1.08; letter-spacing: -.03em; }
.account-guide-header p { max-width: 68ch; margin: 0; color: var(--muted-strong); font-size: 12px; line-height: 1.6; }
.account-guide-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: #151617; color: var(--muted-strong); font: 500 22px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.account-guide-close:hover { border-color: #606166; background: var(--panel-hover); color: var(--text); }

.account-guide-content { display: grid; grid-template-columns: minmax(230px, .62fr) minmax(0, 1.8fr); gap: 34px; padding: 30px 34px 32px; }
.account-guide-steps { display: grid; align-content: start; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: guide-step; }
.account-guide-steps li { position: relative; min-height: 91px; border-top: 1px solid var(--line); padding: 18px 0 17px 46px; counter-increment: guide-step; }
.account-guide-steps li:last-child { border-bottom: 1px solid var(--line); }
.account-guide-steps li::before { position: absolute; top: 18px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(24, 211, 145, .4); color: var(--signal); content: counter(guide-step, decimal-leading-zero); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account-guide-steps b, .account-guide-steps span { display: block; }
.account-guide-steps b { color: var(--text); font-size: 12px; }
.account-guide-steps span { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.account-guide-steps code, .account-guide-footer code { color: #c9f2e3; font: 650 .95em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.account-guide-figure { min-width: 0; margin: 0; }
.account-guide-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 31px; margin-bottom: 10px; }
.account-guide-figure figcaption span { color: var(--muted); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account-guide-figure figcaption strong { color: #c9f2e3; font-size: 10px; font-weight: 680; text-align: right; }
.account-guide-image { position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: #050606; }
.account-guide-image img { display: block; width: 100%; height: auto; }
.account-guide-highlight { position: absolute; top: 75.2%; right: 16.2%; bottom: 16.8%; left: 5.7%; border: 2px solid var(--signal); background: rgba(24, 211, 145, .08); box-shadow: 0 0 0 999px rgba(0, 0, 0, .26); pointer-events: none; }
.account-guide-callout { position: absolute; right: 16.2%; bottom: 25.5%; min-width: 178px; border: 1px solid rgba(24, 211, 145, .7); background: #0d251d; color: #bfeede; padding: 9px 11px; font: 620 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; pointer-events: none; }
.account-guide-callout::after { position: absolute; right: 18px; bottom: -7px; width: 12px; height: 12px; border-right: 1px solid rgba(24, 211, 145, .7); border-bottom: 1px solid rgba(24, 211, 145, .7); background: #0d251d; content: ""; transform: rotate(45deg); }
.account-guide-callout b { display: block; margin-bottom: 3px; color: var(--signal); }
.account-guide-legend { display: grid; grid-template-columns: 1fr 1fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.account-guide-legend span { min-height: 48px; padding: 12px 14px; color: var(--muted-strong); font-size: 9px; line-height: 1.5; }
.account-guide-legend span + span { border-left: 1px solid var(--line); }
.account-guide-legend b { display: block; margin-bottom: 3px; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account-guide-legend .is-correct b { color: var(--signal); }
.account-guide-legend .is-wrong b { color: #ff9299; }

.account-guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); background: #141515; padding: 18px 34px; }
.account-guide-footer p { max-width: 74ch; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.account-guide-footer a { display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 9px; border: 1px solid rgba(24, 211, 145, .5); color: #c9f2e3; padding: 0 14px; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account-guide-footer a:hover { background: var(--signal-wash); color: var(--signal); }

@keyframes account-guide-reveal {
  from { opacity: .72; clip-path: inset(0 0 8% 0); transform: translateY(12px); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}

.member-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 53px; border-top: 1px solid var(--line); color: #77787c; padding: 0 4px; font-size: 10px; line-height: 1.45; }

@media (max-width: 1050px) {
  .identity-grid { grid-template-columns: 1fr; }
  .identity-ledger { border-right: 0; }
  .auth-rail { min-height: 620px; border-top: 1px solid var(--line); }
  .signature-contract { margin-top: 6px; }
  .credential-center-header { grid-template-columns: 1fr; }
  .credential-summary { min-width: 0; text-align: left; }
  .defaults-center-header { grid-template-columns: 1fr; }
  .defaults-summary { min-width: 0; text-align: left; }
  .defaults-boundary { grid-template-columns: 1fr; gap: 19px; padding-top: 20px; padding-bottom: 20px; }
  .defaults-boundary dl { min-height: 52px; }
  .defaults-strategy-header { grid-template-columns: 1fr; }
  .defaults-strategy-title { min-height: 68px; }
  .defaults-tablist { border-top: 1px solid var(--line); border-left: 0; }
  .defaults-tablist button { min-height: 70px; }
  .defaults-group.is-exit { border-left: 0; }
  .defaults-group.is-exit .defaults-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .defaults-group.is-exit .defaults-field:nth-child(odd) { padding-right: 24px; }
  .defaults-group.is-exit .defaults-field:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .credential-security { grid-template-columns: 1fr; gap: 19px; padding-top: 20px; padding-bottom: 20px; }
  .credential-security dl { min-height: 52px; }
  .credential-venue-grid { grid-template-columns: 1fr; }
  .api-venue-panel + .api-venue-panel { border-left: 0; }
  .api-venue-panel:not(:last-child) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .member-shell { padding: 0 12px 12px; }
  .member-topbar { min-height: 70px; }
  .session-state { padding: 0 10px; }
  .session-state span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .identity-copy { min-height: 0; padding: 38px 22px 31px; }
  .identity-copy h1 { margin-top: 18px; font-size: 38px; line-height: 1.02; }
  .identity-copy p { font-size: 13px; }
  .identity-strip { grid-template-columns: 1fr; }
  .identity-strip div { min-height: 66px; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 21px; }
  .identity-strip div:last-child { border-bottom: 0; }
  .access-ledger { padding: 31px 21px; }
  .access-ledger header { align-items: start; }
  .access-ledger header > span { display: none; }
  .access-row { grid-template-columns: 1fr auto; gap: 5px 12px; padding: 11px 0; }
  .access-row small { grid-row: 2; }
  .access-row b { grid-column: 2; grid-row: 1 / span 2; }
  .signature-contract { grid-template-columns: 1fr; margin: 0 21px 31px; padding: 22px; }
  .signature-contract dl { border-top: 1px solid rgba(24, 211, 145, .19); padding-top: 18px; }
  .signature-contract dl div:first-child { border-left: 0; padding-left: 0; }
  .auth-rail { min-height: 600px; padding: 38px 22px 24px; }
  .account-command-grid, .workspace-command-grid { grid-template-columns: 1fr; }
  .method-heading { grid-template-columns: 38px minmax(0, 1fr); }
  .method-state { grid-column: 2; }
  .credential-center-header { min-height: 0; gap: 25px; padding: 33px 21px 27px; }
  .credential-center-header h2 { font-size: 32px; }
  .defaults-center-header { min-height: 0; gap: 25px; padding: 33px 21px 27px; }
  .defaults-center-header h2 { font-size: 32px; }
  .defaults-boundary { padding: 19px 21px; }
  .defaults-boundary > div { align-items: flex-start; }
  .defaults-boundary dl { grid-template-columns: 1fr; }
  .defaults-boundary dl div { min-height: 49px; border-top: 1px solid rgba(24, 211, 145, .16); border-left: 0; padding-left: 0; }
  .defaults-strategy-title { min-height: 62px; padding: 0 21px; }
  .defaults-strategy-title strong { font-size: 16px; }
  .defaults-tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .defaults-tablist button { min-width: 0; min-height: 66px; padding: 0 15px; }
  .defaults-tablist span { font-size: 12px; }
  .defaults-group { padding: 28px 21px 30px; }
  .defaults-group.is-exit .defaults-field-grid, .defaults-group.is-funding-panel .defaults-field-grid, .defaults-field-grid { grid-template-columns: 1fr; }
  .defaults-field:nth-child(odd), .defaults-group.is-exit .defaults-field:nth-child(odd), .defaults-group.is-funding-panel .defaults-field:nth-child(odd) { padding-right: 0; }
  .defaults-field:nth-child(even), .defaults-group.is-exit .defaults-field:nth-child(even), .defaults-group.is-funding-panel .defaults-field:nth-child(even) { border-left: 0; padding-right: 0; padding-left: 0; }
  .defaults-protection { margin-top: 0; }
  .defaults-protection-toggle { grid-template-columns: 18px minmax(0, 1fr); }
  .defaults-protection-toggle em { grid-column: 2; justify-self: start; }
  .defaults-protection-grid { grid-template-columns: 1fr; padding: 0 14px; }
  .defaults-group.is-funding-panel .defaults-protection-grid .defaults-field { padding: 18px 0 15px; }
  .defaults-group.is-funding-panel .defaults-protection-grid .defaults-field + .defaults-field { border-left: 0; }
  .defaults-form-footer { display: grid; gap: 15px; padding: 19px 21px 22px; }
  .defaults-form-footer > div { width: 100%; grid-template-columns: 1fr 1fr; }
  .credential-security { padding: 19px 21px; }
  .credential-security > div { align-items: flex-start; }
  .credential-security dl { grid-template-columns: 1fr; }
  .credential-security dl div { min-height: 49px; border-top: 1px solid rgba(24, 211, 145, .16); border-left: 0; padding-left: 0; }
  .api-venue-panel { padding: 0 21px 29px; }
  .api-venue-panel > header { min-height: 92px; align-items: flex-start; padding: 21px 0; }
  .api-config-status { max-width: 46%; }
  .api-gas-note { grid-template-columns: 1fr; }
  .api-gas-address { border-top: 1px solid var(--line); border-left: 0; }
  .api-form-actions { grid-template-columns: 1fr 1fr; }
  .api-save-button { grid-column: 1 / -1; }
  .venue-account-metrics { grid-template-columns: 1fr 1fr; }
  .venue-account-metrics div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .venue-position-head,
  .venue-position-row { grid-template-columns: minmax(68px, .55fr) minmax(118px, 1fr); }
  .venue-position-head span:last-child,
  .venue-position-row > strong { display: none; }
  .account-guide-popover { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .account-guide-header { gap: 18px; padding: 24px 20px 21px; }
  .account-guide-header h2 { font-size: 25px; }
  .account-guide-content { grid-template-columns: 1fr; gap: 25px; padding: 24px 20px 26px; }
  .account-guide-steps li { min-height: 78px; }
  .account-guide-figure figcaption { align-items: flex-start; }
  .account-guide-callout { right: 15.5%; bottom: 26%; min-width: 0; padding: 6px 8px; font-size: 7px; }
  .account-guide-legend { grid-template-columns: 1fr; }
  .account-guide-legend span + span { border-top: 1px solid var(--line); border-left: 0; }
  .account-guide-footer { display: grid; gap: 14px; padding: 17px 20px 20px; }
  .account-guide-footer a { justify-content: center; }
  .member-footer { display: block; padding: 14px 4px; }
  .member-footer span { display: block; }
  .member-footer span + span { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
