/* LMS 流动性管理系统 · 暖白主题（对齐 dashi.help Credits · Redeem） */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface2: #f5f1ea;
  --surface3: #ede8df;
  --border: #e3dcd2;
  --border-light: #d4cbbf;
  --text: #1c1917;
  --text2: #57534e;
  --muted: #78716c;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --accent-dim: rgba(37, 99, 235, 0.1);
  --brand-gold: #a67c52;
  --cta: #059669;
  --cta-hover: #047857;
  --cta-dim: rgba(5, 150, 105, 0.12);
  --pass: #059669;
  --pass-dim: rgba(5, 150, 105, 0.12);
  --fail: #dc2626;
  --fail-dim: rgba(220, 38, 38, 0.1);
  --watch: #b45309;
  --watch-dim: rgba(180, 83, 9, 0.12);
  --okx: #374151;
  --kucoin: #059669;
  --gate: #2563eb;
  --binance: #c99400;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px rgba(28, 25, 23, 0.06);
  --font: "IBM Plex Sans", -apple-system, "PingFang SC", sans-serif;
  --font-serif: "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(251, 228, 196, 0.45) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(5, 150, 105, 0.06) 0%, transparent 52%),
    var(--bg);
  pointer-events: none;
  z-index: 0;
}

/* —— Topbar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e3a5f, #152a45);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 0.06em;
}

.brand-copy { display: flex; flex-direction: column; gap: 2px; }

.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.status-pill.running {
  background: var(--pass-dim);
  color: var(--pass);
  border-color: rgba(46, 168, 122, 0.35);
}

.status-pill.stopped {
  background: var(--surface2);
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.running .dot {
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* —— Info strip —— */
.info-strip {
  position: relative;
  z-index: 1;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.info-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}

.info-badge {
  background: var(--cta);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

/* —— Main —— */
.main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 64px;
}

.hero-block {
  padding: 32px 0 24px;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-block h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-block h1 em {
  font-style: normal;
  color: var(--brand-gold);
}

.subtitle {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
  max-width: 640px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text2);
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.hero-link-ext {
  font-size: 13px;
}

.hero-tag-gold {
  border-color: rgba(196, 165, 116, 0.45);
  background: rgba(196, 165, 116, 0.1);
  color: var(--brand-gold);
}

/* —— Site nav —— */
.site-nav {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
}

.site-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav-inner::-webkit-scrollbar { display: none; }

.site-nav a {
  display: inline-block;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.site-nav a:hover { color: var(--text2); }

.site-nav a.nav-cta {
  color: var(--accent);
  font-weight: 600;
}

.site-nav a.nav-cta:hover { color: var(--accent2); }

/* —— Sell sections —— */
.sell-section {
  margin-bottom: 56px;
  scroll-margin-top: 72px;
}

.sell-section-value {
  padding: 32px;
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sell-section-scope { margin-bottom: 40px; }

.scope-notice {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-gold);
  border-radius: var(--radius);
}

.scope-notice-lead {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.scope-notice-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.75;
}

.scope-notice-list li { margin-bottom: 10px; }
.scope-notice-list li:last-child { margin-bottom: 0; }

.scope-notice-foot {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.scope-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.scope-contact strong { display: block; font-size: 14px; margin-bottom: 4px; }
.scope-contact p { margin: 0; font-size: 13px; color: var(--muted); }

.scope-notice a,
.pay-trial-note a,
.sell-lead a,
.auth-gate a {
  color: var(--accent2);
  text-decoration: none;
}
.scope-notice a:hover,
.pay-trial-note a:hover,
.sell-lead a:hover,
.auth-gate a:hover { text-decoration: underline; }

.sell-head { margin-bottom: 28px; }

.sell-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 8px;
}

.sell-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.sell-lead {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.75;
  max-width: 720px;
}

.sell-grid {
  display: grid;
  gap: 16px;
}

.sell-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sell-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .sell-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .sell-grid-2 { grid-template-columns: 1fr; }
}

.sell-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.sell-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.sell-icon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.sell-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.sell-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

.sell-card-feature {
  border-top: 3px solid var(--accent);
}

.feature-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

/* —— Advantages —— */
.advantage-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .advantage-list { grid-template-columns: 1fr; }
}

.advantage-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cta);
}

.advantage-list strong {
  font-size: 14px;
  color: var(--text);
}

.advantage-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.compliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance-list li {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 12px 20px;
  align-items: start;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-gold);
}

@media (max-width: 720px) {
  .compliance-list li { grid-template-columns: 1fr; gap: 6px; }
}

.compliance-list strong {
  font-size: 14px;
  color: var(--brand-gold);
}

.compliance-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.sell-section-compliance {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

/* —— Value grid —— */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

.value-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.value-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent2);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.value-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* —— Console section —— */
.console-section {
  scroll-margin-top: 72px;
  margin-bottom: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.console-head h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* —— Stat grid (summary) —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-top: 3px solid var(--stat-color, var(--accent));
}

.stat-card label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-card .stat-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.stat-card .stat-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.stat-card .stat-renew-warn {
  color: var(--warn, #e6a817);
  margin-top: 6px;
}

.stat-card .api-ok { color: var(--pass); }
.stat-card .api-no { color: var(--fail); }

.stat-card.mode-bar {
  grid-column: 1 / -1;
  border-top-color: var(--brand-gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.stat-card.mode-bar .stat-val { font-size: 13px; color: var(--text2); }

/* —— Layout —— */
.layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 960px) {
  .layout-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* —— Panel cards —— */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-card-grow { flex: 1; display: flex; flex-direction: column; }
.panel-card-grow .panel-card-body-flush { flex: 1; display: flex; flex-direction: column; }

.panel-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-card-head h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.panel-card-hint {
  font-size: 11px;
  color: var(--muted);
}

.panel-card-body { padding: 20px; }
.panel-card-body-flush { padding: 0; }
.panel-card-body-flush .log-box { border: none; border-radius: 0; max-height: 360px; }

.panel-card-foot {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

/* —— Form —— */
.section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title:first-child { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 0; }

.field-label,
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field input[type="checkbox"] {
  width: auto;
  accent-color: var(--accent);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text2);
  cursor: pointer;
}

.checkbox-row:hover { border-color: var(--border-light); }

.hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.hint-block {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

/* —— Exchange tags —— */
.ex-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.ex-okx { background: rgba(55, 65, 81, 0.08); color: var(--okx); border: 1px solid var(--border-light); }
.ex-kucoin { background: var(--pass-dim); color: var(--kucoin); }
.ex-gate { background: var(--accent-dim); color: var(--gate); }
.ex-binance { background: rgba(240, 185, 11, 0.15); color: var(--binance); }
.ex-bybit { background: rgba(247, 166, 0, 0.15); color: #f7a600; }
.ex-bitget { background: rgba(0, 200, 150, 0.15); color: #00c896; }
.ex-mexc { background: rgba(25, 173, 255, 0.15); color: #19adff; }
.ex-htx { background: rgba(0, 130, 255, 0.15); color: #0082ff; }
.ex-bingx { background: rgba(255, 180, 0, 0.15); color: #ffb400; }

.btn-invite {
  border-color: rgba(255, 180, 0, 0.35);
  color: #ffb400;
}
.btn-invite:hover {
  background: rgba(255, 180, 0, 0.12);
  color: #ffc933;
}

.console-engine-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.console-engine-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.console-engine-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1 1 220px;
}
.console-engine-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.console-engine-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* —— Buttons —— */
.btn {
  padding: 10px 18px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.15s;
}

.btn:hover { border-color: var(--border-light); color: var(--text); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-cta {
  width: 100%;
  margin-top: 4px;
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  box-shadow: 0 2px 12px rgba(34, 160, 107, 0.35);
}

.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-start {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  box-shadow: 0 2px 12px rgba(34, 160, 107, 0.35);
}

.btn-start:hover { background: var(--cta-hover); }

.btn-stop {
  background: var(--fail-dim);
  border-color: rgba(224, 85, 85, 0.4);
  color: var(--fail);
}

.btn-stop:hover {
  background: var(--fail);
  color: #fff;
}

/* —— Accounts —— */
.accounts-panel { margin-bottom: 20px; }

.accounts-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.accounts-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.accounts-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.accounts-tab:hover { color: var(--text2); }
.accounts-tab.active {
  background: var(--surface);
  color: var(--brand-gold);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.accounts-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.acc-filter {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  min-width: 140px;
}

.acc-filter-symbol { flex: 1; min-width: 160px; max-width: 240px; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-ghost:hover { color: var(--text2); border-color: var(--accent2); }

.accounts-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface2);
}

.accounts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.accounts-table[hidden] { display: none; }

.accounts-table thead {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
}

.accounts-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
}

.accounts-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.accounts-table tbody tr:last-child td { border-bottom: none; }
.accounts-table tbody tr:hover { background: rgba(212, 160, 23, 0.04); }
.accounts-table tbody tr.row-disabled { opacity: 0.5; }

.cell-symbol {
  font-weight: 600;
  color: var(--text2);
  font-family: var(--font-serif);
}

.cell-sub { font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }

.key-mask {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--accent2);
  background: rgba(96, 165, 250, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.key-empty {
  font-family: inherit;
  color: var(--muted);
  font-size: 11px;
}

.col-actions {
  width: 88px;
  text-align: right;
  white-space: nowrap;
}

.accounts-table .col-actions .icon-btn { margin-left: 4px; }

.accounts-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.accounts-empty[hidden] { display: none; }
.accounts-empty p { font-size: 15px; color: var(--text2); margin-bottom: 6px; }
.accounts-empty span { font-size: 12px; }

.primary-pill {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.15);
  color: var(--brand-gold);
  vertical-align: middle;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.icon-btn:hover { border-color: var(--accent2); color: var(--text); }
.icon-btn.danger:hover { border-color: var(--fail); color: var(--fail); }

.modal-product-banner {
  font-size: 12px;
  color: var(--brand-gold);
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
}

.input-disabled {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  opacity: 0.85;
}

@media (max-width: 960px) {
  .accounts-table-wrap { overflow-x: auto; }
  .accounts-table { min-width: 880px; }
}

/* Modal */
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.account-modal[hidden] { display: none; }

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.account-modal-sheet {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 820px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.account-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.account-modal-head h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0;
}

.account-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.account-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.cred-groups { display: grid; gap: 10px; margin-top: 12px; }

.cred-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface2);
  overflow: hidden;
}

.cred-group summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}

.cred-group summary::-webkit-details-marker { display: none; }

.cred-group .req { color: var(--brand-gold); font-size: 11px; font-weight: 400; }
.cred-group .opt { color: var(--muted); font-size: 11px; font-weight: 400; }

.cred-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 14px 14px;
}

@media (max-width: 560px) {
  .cred-sides { grid-template-columns: 1fr; }
}

.cred-side-title {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field.compact { margin-bottom: 8px; }
.field.compact .field-label { font-size: 11px; margin-bottom: 4px; }
.field.compact input, .field.compact select {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
}

.modal-footnote {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* —— Pairs —— */
.grants-panel { margin-bottom: 20px; }

.pairs-panel { margin-bottom: 20px; }

.account-modal-sheet-wide { width: min(720px, 100%); }

.col-check { width: 36px; text-align: center; }

.cell-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.status-pill-sm {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-pill-sm.on {
  background: var(--pass-dim);
  color: var(--pass);
  border: 1px solid rgba(46, 168, 122, 0.35);
}

.status-pill-sm.off {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}

.pair-form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pair-form-tab {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.pair-form-tab.active {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: rgba(212, 160, 23, 0.1);
}

.pair-pane { display: none; }
.pair-pane.active { display: block; }

.pane-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 10px;
}

/* —— Log —— */
.log-box {
  background: var(--surface2);
  padding: 14px 16px;
  font-family: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  font-size: 11px;
  line-height: 1.65;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--muted);
}

/* —— Toast —— */
.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 12px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  transition: all 0.25s;
  pointer-events: none;
  max-width: min(90vw, 420px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.ok { border-color: var(--pass); color: var(--text2); }
.toast.err { border-color: var(--fail); color: var(--fail); background: var(--fail-dim); }

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-col strong {
  color: var(--text2);
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.footer-center { text-align: center; flex: 1; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text2); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.social-link:hover {
  border-color: var(--border-light);
  color: var(--text);
  background: var(--surface2);
}

.social-link-dev {
  border-color: rgba(196, 165, 116, 0.35);
  color: var(--brand-gold);
}

.social-link-dev:hover {
  background: rgba(196, 165, 116, 0.1);
  color: var(--brand-gold);
}

.footer-muted { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }

/* —— Spot orders —— */
.spot-orders-panel { margin-bottom: 20px; }

.spot-order-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.spot-usdt-pill {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.spot-usdt-pill strong { color: var(--cta); margin-left: 4px; }

.spot-order-toolbar { margin-bottom: 14px; }
.spot-account-field { max-width: 420px; }

.spot-order-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: 20px;
  align-items: start;
}

.spot-info-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
}

.so-left-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.so-left-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.so-left-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  background: var(--surface);
}

.spot-info-body { padding: 12px 16px 16px; }

.spot-info-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.accounts-table .col-run {
  white-space: nowrap;
  width: 1%;
}
.accounts-table .col-run .btn-sm {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
}

.btn-sm {
  padding: 6px 12px;
  min-height: 32px;
  font-size: 12px;
}

.spot-ticket {
  padding: 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spot-ticket-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.spot-symbol-row {
  display: flex;
  gap: 8px;
}

.spot-symbol-row .fo-input { flex: 1; }

.so-ticker-bar {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.so-ticker-bar strong { color: var(--text); }

.so-price-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.so-qty-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .spot-order-layout { grid-template-columns: 1fr; }
}

/* —— Reports —— */
.reports-panel { margin-bottom: 20px; }

.reports-toolbar { flex-wrap: wrap; }

.rp-account-select { min-width: 220px; }

.reports-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.reports-table { min-width: 1400px; font-size: 12px; }

.reports-table th,
.reports-table td { white-space: nowrap; }

.pnl-pos { color: var(--cta); font-weight: 600; }
.pnl-neg { color: var(--fail); font-weight: 600; }

.reports-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.rp-page-info { font-size: 12px; color: var(--muted); }

/* —— Principal maintenance —— */
.principal-panel { margin-bottom: 20px; }

.principal-hint code {
  font-size: 11px;
  padding: 2px 6px;
  background: var(--surface);
  border-radius: 4px;
}

.principal-form {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principal-maintained {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text2);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.principal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.principal-note { margin: 0; max-width: 640px; }

/* —— Futures orders —— */
.futures-orders-panel { margin-bottom: 20px; }

.futures-order-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 20px;
  align-items: start;
}

.futures-ticket {
  padding: 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fo-input { width: 100%; }

.fo-side-toggle,
.fo-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.fo-side-btn,
.fo-type-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.fo-side-btn.buy.active {
  background: rgba(34, 160, 107, 0.18);
  border-color: rgba(34, 160, 107, 0.5);
  color: var(--cta);
}

.fo-side-btn.sell.active {
  background: var(--fail-dim);
  border-color: rgba(224, 85, 85, 0.45);
  color: var(--fail);
}

.fo-type-btn.active {
  background: var(--accent-dim);
  border-color: rgba(59, 130, 246, 0.45);
  color: var(--accent);
}

.btn-fo-submit {
  width: 100%;
  margin-top: 4px;
  min-height: 44px;
  font-size: 14px;
  border: none;
  color: #fff;
}

.btn-fo-submit.buy {
  background: var(--cta);
  box-shadow: 0 2px 12px rgba(34, 160, 107, 0.35);
}

.btn-fo-submit.sell {
  background: var(--fail);
  box-shadow: 0 2px 12px rgba(224, 85, 85, 0.3);
}

.fo-disclaimer {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.fo-hint-banner {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  margin: 0 0 14px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.futures-orders-list {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.futures-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.futures-orders-actions {
  display: flex;
  gap: 8px;
}

.fo-table-wrap { border: none; }

.side-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.side-pill.buy { background: rgba(34, 160, 107, 0.15); color: var(--cta); }
.side-pill.sell { background: var(--fail-dim); color: var(--fail); }

.cell-time { font-size: 12px; color: var(--muted); white-space: nowrap; }

@media (max-width: 960px) {
  .futures-order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner { padding: 12px 16px; }
  .main { padding: 0 16px 48px; }
  .brand-sub { display: none; }
  .topbar-actions { width: 100%; justify-content: flex-end; }
  .info-strip-inner { font-size: 12px; padding: 10px 16px; }
  .site-nav-inner { padding: 0 16px; }
  .sell-section-value { padding: 20px; }
  .footer-links { width: 100%; justify-content: flex-start; }
  .topbar-actions .social-link { padding: 8px 10px; }
  .topbar-actions .social-link svg { display: none; }
}

.console-module {
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.console-module-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.console-module-lead {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 920px;
}

.console-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.console-module-link {
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text2);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.console-module-link:hover {
  border-color: var(--brand-gold);
  color: var(--text);
}

.panel-module-tag {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-gold);
}

.console-engine-tag {
  flex: 0 0 auto;
  margin: 0;
}

.quota-overview-panel {
  margin-top: 8px;
}

.pairs-quota-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-gold);
  line-height: 1.55;
}

.quota-summary-top {
  margin-bottom: 12px;
}

.quota-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.quota-metric {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.quota-metric-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.quota-metric-val {
  font-size: 15px;
  font-weight: 600;
}

.quota-renew-warn {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--warn, #e6a23c);
}

.quota-pair-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quota-pair-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.quota-pair-row:last-child {
  border-bottom: none;
}

.quota-pair-name {
  flex: 1;
  min-width: 180px;
}

.quota-pair-slot {
  color: var(--text-muted);
  font-size: 12px;
}

.engine-global-panel {
  margin-top: 8px;
}

.engine-log-wrap {
  border-top: 1px solid var(--border);
  max-height: 220px;
}

.pair-pane-inner.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pair-pane-skipped .pane-hint {
  color: var(--warn, #e6a23c);
}

.depth-guide {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.06);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text2);
}

.depth-guide ol {
  margin: 8px 0 0 18px;
  padding: 0;
}

.depth-guide strong {
  color: var(--text);
}

.modal-product-banner + .pair-form-tabs {
  margin-top: 0;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--brand-gold);
}

.engine-global-guide {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text2);
}

.engine-global-guide ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}

.engine-global-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 12px;
}

.tg-alert-block {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.tg-alert-block summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  list-style: none;
}

.tg-alert-block summary::-webkit-details-marker {
  display: none;
}

.console-hub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.console-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.console-hub-card:hover {
  border-color: var(--accent2);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.console-hub-card.is-active {
  border-color: var(--brand-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 60%);
}

.console-hub-card.is-unlocked .console-hub-lock { display: none; }

.console-hub-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.console-hub-card strong {
  font-size: 15px;
  font-weight: 600;
}

.console-hub-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.console-hub-lock {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--warn, #e6a23c);
  background: rgba(230, 162, 60, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}

.page-main {
  position: relative;
  z-index: 1;
}

.console-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.ops-locked {
  max-width: 640px;
  margin: 48px auto;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ops-locked-inner h2 {
  font-family: var(--font-serif);
  margin: 8px 0 16px;
}

.ops-feature-list {
  margin: 0 0 16px 20px;
  color: var(--text2);
  line-height: 1.75;
}

.ops-locked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 720px) {
  .console-hub { grid-template-columns: 1fr; }
}

.console-landing-hero {
  margin-bottom: 28px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.07), transparent 55%), var(--surface);
}

.console-landing-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 8px 0 14px;
}

.console-landing-lead {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 24px;
}

.console-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.console-steps li {
  padding: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.console-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.console-steps span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.console-landing-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.console-landing-note a { color: var(--accent2); }

.console-auth-gate {
  max-width: 520px;
  margin: 0 auto 48px;
  padding: 0;
  background: transparent;
  border: none;
}

.console-auth-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.console-auth-card h2 {
  font-family: var(--font-serif);
  margin-bottom: 12px;
}

.console-auth-foot {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.console-auth-foot a { color: var(--accent2); }

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.trial-cta-section {
  margin-top: 8px;
  padding: 48px 32px;
  border: 1px solid var(--brand-gold);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent 60%), var(--surface);
}

.trial-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trial-cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 8px 0 14px;
}

.trial-cta-lead {
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.trial-cta-lead a { color: var(--accent2); }

.trial-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 768px) {
  .console-steps { grid-template-columns: 1fr; }
  .console-landing-hero { padding: 24px 18px; }
  .trial-cta-section { padding: 32px 18px; }
}
