/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Canvas & Surface - Binance Pro Dark Canvas */
  --canvas-dark: #0b0e11;
  --surface-card-dark: #1e2329;
  --surface-elevated-dark: #2b3139;
  --hairline-on-dark: #2b3139;
  --border-strong: #474d57;

  /* Brand Accent - Binance Iconic Yellow */
  --primary: #fcd535;
  --primary-active: #f0b90b;
  --primary-disabled: #3a3a1f;
  --on-primary: #181a20;

  /* Trading Semantics (Chuẩn Quốc tế & MXV — FDS v2.0 §3.1) */
  --trading-up: #0ecb81;
  --trading-up-bg: rgba(14, 203, 129, 0.12);
  --trading-down: #f6465d;
  --trading-down-bg: rgba(246, 70, 93, 0.12);
  --trading-ref: #f5ac37;
  --color-ceiling: #c77dff;   /* Giá trần — Purple */
  --color-floor: #2dbdb6;     /* Giá sàn — Turquoise */
  --accent-turquoise: #2dbdb6;
  --info: #3b82f6;            /* Info badge, input focus ring */
  --sev1-alert: #f6465d;      /* SEV-1 reuse trading-down — không tạo màu riêng */

  /* Text & Labels */
  --text-on-dark: #ffffff;
  --text-body: #eaecef;
  --text-muted: #707a8a;
  --text-muted-strong: #929aa5;

  /* Shape Tokens (Shape Consistency Lock — FDS v2.0 §5.2) */
  --radius-xs: 2px;    /* Badge trạng thái rất nhỏ */
  --radius-sm: 4px;    /* Button trading inline */
  --radius-md: 6px;    /* Button primary, Input field */
  --radius-lg: 8px;    /* Search input, Content card, Panel widget */
  --radius-xl: 12px;   /* Elevated card (Market table, CTA band) */
  --radius-pill: 9999px; /* CTA sign-up, Status pill */

  /* Spacing Scale (Base 4px — FDS v2.0 §2.1) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 80px;

  /* Typography */
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Sans', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: var(--canvas-dark);
  color: var(--text-body);
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.4;
  overflow-x: hidden;
  overflow-y: auto; /* UAT-003: route pages must scroll; workstation / still fits 100dvh with internal panel scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light Mode — FDS v2.0 §3.2. Chỉ cho Backoffice Portal + transactional dialogs.
   Trading workspace giữ dark (§3.1). Kích hoạt qua [data-theme="light"] (xem lib/theme.ts). */
.light-mode,
[data-theme="light"] {
  --canvas-dark: #ffffff;
  --surface-card-dark: #fafafa;
  --surface-elevated-dark: #f5f5f5;
  --hairline-on-dark: #eaecef;
  --border-strong: #cdd1d6;
  --text-on-dark: #181a20;
  --text-body: #181a20;
  --text-muted: #707a8a;
  --text-muted-strong: #474d57;
  --primary-disabled: #e6e8ea;
  /* trading-up / trading-down / primary / on-primary giữ nguyên ngữ nghĩa */
}

/* Tabular numbers for financial integrity */
.tabular-nums,
.num-cell,
.ticker-num,
.financial-number {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.2px;
}

.financial-number {
  text-align: right;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--canvas-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--hairline-on-dark);
  border-radius: var(--radius-xs);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

/* Realtime Price Blinking Animations */
@keyframes flashGreen {
  0% {
    background-color: rgba(14, 203, 129, 0.35);
    color: #ffffff;
  }
  100% {
    background-color: transparent;
  }
}

@keyframes flashRed {
  0% {
    background-color: rgba(246, 70, 93, 0.35);
    color: #ffffff;
  }
  100% {
    background-color: transparent;
  }
}

.flash-up {
  animation: flashGreen 300ms ease-out forwards;
}

.flash-down {
  animation: flashRed 300ms ease-out forwards;
}

/* Layout Utilities */
.workstation-container {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100vw;
  background-color: var(--canvas-dark);
  overflow-y: auto;
  overflow-x: hidden;
}

.workstation-body {
  display: grid;
  grid-template-areas:
    "ticker ticker right"
    "book   center right";
  grid-template-columns: 300px 1fr 340px; /* Binance: book trái 300px, center 1fr, watch+tape phải 340px */
  grid-template-rows: 52px minmax(0, 1fr);
  min-height: calc(100dvh - 50px);
  height: calc(100dvh - 50px);
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  grid-gap: 1px;
  gap: 1px;
  background-color: var(--hairline-on-dark);
}

.panel-card {
  background-color: var(--surface-card-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.panel-header {
  height: 36px;
  min-height: 36px;
  padding: 0 var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline-on-dark);
  background-color: var(--surface-card-dark);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted-strong);
}

/* Interactive Elements */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.15s ease;
}

button:active {
  transform: translateY(1px);
}

input,
select {
  font-family: inherit;
  outline: none;
  border: 1px solid var(--hairline-on-dark);
  background-color: var(--canvas-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease;
}

input:focus,
select:focus {
  border-color: var(--primary);
}

/* Micro Status Pulse */
@keyframes pulseSafe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse-status {
  animation: pulseSafe 2s infinite ease-in-out;
}

/* Auth Screens — FDS v2.0 §6.4 + §3.1 (Phase 07-02 compliance).
   Các class login-, form-, modal- được component tham chiếu nhưng chưa từng
   được định nghĩa ở đâu (Tailwind cũng không cài) → toàn bộ màn hình auth
   render thô. Định nghĩa tập trung tại đây bằng token vars. */
.login-container {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas-dark);
  color: var(--text-body);
  font-family: var(--font-text);
  padding: var(--space-lg);
  padding-bottom: 76px; /* UAT-002: dock clearance cho login/forgot/open-account */
  position: relative;
  overflow-x: hidden;
  overflow-y: auto; /* UAT-003: don't clip card on short viewports */
}

.login-bg-glow-1,
.login-bg-glow-2 {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(252, 213, 53, 0.05) 0%, transparent 70%);
}

.login-bg-glow-1 { top: -160px; left: -120px; }
.login-bg-glow-2 { bottom: -180px; right: -120px; }

.login-lang-bar {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  z-index: 2;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: var(--surface-card-dark);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-md);
  color: var(--text-muted-strong);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--surface-card-dark);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  z-index: 1;
}

.login-header { text-align: center; margin-bottom: var(--space-lg); }

.login-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background-color: rgba(252, 213, 53, 0.1);
  border: 1px solid rgba(252, 213, 53, 0.3);
  margin-bottom: var(--space-sm);
}

.login-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.3px;
}

.login-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.login-error-alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--trading-down-bg);
  border: 1px solid var(--trading-down);
  color: var(--trading-down);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.login-form { display: flex; flex-direction: column; gap: var(--space-md); }

.form-group { display: flex; flex-direction: column; }

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted-strong);
  margin-bottom: 4px;
}

.input-wrapper { position: relative; display: flex; align-items: center; }

.input-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  color: var(--text-on-dark);
  background-color: var(--canvas-dark);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-md);
}

.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--primary); }

.eye-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
}

.submit-btn {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.submit-btn:hover { background-color: var(--primary-active); }
.submit-btn:disabled { background-color: var(--primary-disabled); color: var(--text-muted); cursor: not-allowed; }

.login-footer {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-md);
  overflow-y: auto; /* UAT-003: tall modals on short screens */
}

.modal-card {
  width: 100%;
  max-width: 28rem;
  background-color: var(--surface-card-dark);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--text-body);
}

/* Backoffice shared layer — FDS v2.0 tokens (Phase 09 code compliance).
   Thay thế Tailwind utilities chết (Tailwind chưa từng được cài).
   Quy ước: .bo-* dùng var() + fallback nên ăn theo switch Sáng/Tối.
   Không dùng class này ngoài backoffice. */
.bo-page { display: flex; flex-direction: column; gap: 24px; }
.bo-page-xl { max-width: 1024px; margin: 0 auto; width: 100%; }
.bo-card-title { font-size: 14px; font-weight: 700; color: var(--text-body, #eaecef); border-bottom: 1px solid var(--hairline-on-dark, #2b3139); padding-bottom: 8px; }
.bo-strong { font-weight: 600; color: var(--text-on-dark, #ffffff); }
.bo-body { color: var(--text-body, #eaecef); }
.bo-mono-muted { font-family: var(--font-mono); color: var(--text-muted, #707a8a); }
.bo-xs { font-size: 12px; }
.bo-cur { color: var(--primary, #fcd535); font-weight: 500; }
.bo-right { text-align: right; }
.bo-detail-grid { display: grid; grid-template-columns: 2fr 1fr; grid-gap: 24px; gap: 24px; align-items: start; }
.bo-detail-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bo-detail-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bo-timeline { position: relative; padding-left: 24px; border-left: 2px solid var(--hairline-on-dark, #2b3139); display: flex; flex-direction: column; gap: 4px; }
.bo-timeline-dot { position: absolute; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface-card-dark, #1e2329); }
.bo-timeline-dot.is-ok { background: var(--trading-up, #0ecb81); }
.bo-timeline-dot.is-warn { background: var(--primary, #fcd535); }
@media (max-width: 900px) {
  .bo-detail-grid { grid-template-columns: 1fr; }
}
.bo-h1 { font-size: 24px; font-weight: 700; color: var(--text-on-dark, #ffffff); letter-spacing: -0.3px; }
.bo-title { font-size: 20px; font-weight: 700; color: var(--text-on-dark, #ffffff); letter-spacing: -0.3px; }
.bo-h4 { font-size: 18px; font-weight: 700; color: var(--text-on-dark, #ffffff); }
.bo-muted14 { font-size: 14px; color: var(--text-muted, #707a8a); }
.bo-micro { font-size: 10px; color: var(--text-muted, #707a8a); }
.bo-mono-strong { font-family: var(--font-mono); font-weight: 700; color: var(--text-on-dark, #ffffff); }
.bo-h2 { font-size: 14px; font-weight: 700; color: var(--text-on-dark, #ffffff); text-transform: uppercase; letter-spacing: 0.5px; }
.bo-h3 { font-size: 14px; font-weight: 700; color: var(--text-body, #eaecef); }
.bo-sub { font-size: 14px; color: var(--text-muted, #707a8a); }
.bo-sub-sm { font-size: 12px; color: var(--text-muted, #707a8a); }
.bo-card {
  background: var(--surface-card-dark, #1e2329);
  border: 1px solid var(--hairline-on-dark, #2b3139);
  border-radius: var(--radius-xl, 12px);
  padding: 20px;
  color: var(--text-on-dark, #ffffff);
}
.bo-well {
  background: var(--canvas-dark, #0b0e11);
  border: 1px solid var(--hairline-on-dark, #2b3139);
  border-radius: var(--radius-md, 6px);
  padding: 12px;
}
.bo-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bo-header-row.bordered {
  border-bottom: 1px solid var(--hairline-on-dark, #2b3139);
  padding-bottom: 16px;
}
.bo-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted-strong, #929aa5); margin-bottom: 4px; }
.bo-label-strong { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted, #707a8a); margin-bottom: 4px; }
.bo-field {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-on-dark, #ffffff);
  background: var(--canvas-dark, #0b0e11);
  border: 1px solid var(--hairline-on-dark, #2b3139);
  border-radius: var(--radius-md, 6px);
}
.bo-field::placeholder { color: var(--text-muted, #707a8a); }
.bo-field:focus { border-color: var(--primary, #fcd535); }
.bo-field:disabled { opacity: 0.6; cursor: not-allowed; }
.bo-check { width: 16px; height: 16px; accent-color: var(--primary, #fcd535); }
.bo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg, 8px);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.bo-btn.is-sm { padding: 4px 10px; font-size: 12px; border-radius: var(--radius-sm, 4px); }
.bo-btn.is-primary { background: var(--primary, #fcd535); color: var(--on-primary, #181a20); }
.bo-btn.is-ok { background: var(--trading-up, #0ecb81); color: #ffffff; }
.bo-btn.is-danger { background: var(--trading-down, #f6465d); color: #ffffff; }
.bo-btn.is-info { background: var(--info, #3b82f6); color: #ffffff; }
.bo-btn.is-purple { background: #7c3aad; color: #ffffff; }
.bo-btn.is-ghost {
  background: var(--surface-elevated-dark, #2b3139);
  color: var(--text-muted-strong, #929aa5);
  border: 1px solid var(--hairline-on-dark, #2b3139);
}
.bo-btn.is-ghost:hover { color: var(--text-on-dark, #ffffff); }
.bo-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.bo-pill {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid transparent;
  white-space: nowrap;
}
.bo-pill.is-ok { background: var(--trading-up-bg, rgba(14,203,129,0.12)); color: var(--trading-up, #0ecb81); border-color: rgba(14,203,129,0.3); }
.bo-pill.is-warn { background: rgba(252,213,53,0.12); color: var(--primary, #fcd535); border-color: rgba(252,213,53,0.3); }
.bo-pill.is-err { background: var(--trading-down-bg, rgba(246,70,93,0.12)); color: var(--trading-down, #f6465d); border-color: rgba(246,70,93,0.3); }
.bo-pill.is-info { background: rgba(59,130,246,0.12); color: var(--info, #3b82f6); border-color: rgba(59,130,246,0.3); }
.bo-pill.is-muted { background: var(--surface-elevated-dark, #2b3139); color: var(--text-muted, #707a8a); border-color: var(--hairline-on-dark, #2b3139); }
.bo-pill.is-purple { background: rgba(199,125,255,0.12); color: var(--color-ceiling, #c77dff); border-color: rgba(199,125,255,0.3); }
.bo-banner { padding: 12px 16px; border-radius: var(--radius-lg, 8px); font-size: 14px; font-weight: 500; }
.bo-banner.is-ok {
  background: var(--trading-up-bg, rgba(14,203,129,0.12));
  border: 1px solid rgba(14,203,129,0.3);
  color: var(--trading-up, #0ecb81);
}
.bo-banner.is-err {
  background: var(--trading-down-bg, rgba(246,70,93,0.12));
  border: 1px solid rgba(246,70,93,0.3);
  color: var(--trading-down, #f6465d);
}
.bo-banner.is-warn {
  background: rgba(252,213,53,0.08);
  border: 1px solid var(--primary, #fcd535);
  color: var(--primary, #fcd535);
  font-size: 12px;
}
.bo-table-wrap { overflow-x: auto; border-radius: var(--radius-xl, 12px); background: var(--surface-card-dark, #1e2329); border: 1px solid var(--hairline-on-dark, #2b3139); }
.bo-table { width: 100%; text-align: left; font-size: 14px; color: var(--text-body, #eaecef); border-collapse: collapse; }
.bo-table thead { background: var(--canvas-dark, #0b0e11); font-size: 12px; color: var(--text-muted, #707a8a); text-transform: uppercase; letter-spacing: 0.5px; }
.bo-table thead th { padding: 12px 16px; border-bottom: 1px solid var(--hairline-on-dark, #2b3139); font-weight: 600; }
.bo-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--hairline-on-dark, #2b3139); }
.bo-table tbody tr:last-child td { border-bottom: none; }
.bo-table .num { text-align: right; font-family: var(--font-mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.bo-table .ctr { text-align: center; }
.bo-table .muted { color: var(--text-muted, #707a8a); }
.bo-table .strong { color: var(--text-on-dark, #ffffff); font-weight: 700; }
.bo-table .primary { color: var(--primary, #fcd535); font-weight: 700; }
.bo-table .up { color: var(--trading-up, #0ecb81); font-weight: 700; }
.bo-table .down { color: var(--trading-down, #f6465d); font-weight: 700; }
.bo-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hairline-on-dark, #2b3139); flex-wrap: wrap; }
.bo-tab {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted, #707a8a);
  cursor: pointer;
}
.bo-tab.active { color: var(--primary, #fcd535); border-bottom-color: var(--primary, #fcd535); }
.bo-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-gap: 16px; gap: 16px; }
.bo-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 16px; gap: 16px; }
.bo-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-gap: 16px; gap: 16px; }
.bo-col { display: flex; flex-direction: column; }
.bo-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bo-between { display: flex; align-items: center; justify-content: space-between; }
.bo-stat { padding: 16px; border-radius: var(--radius-xl, 12px); background: var(--surface-card-dark, #1e2329); border: 1px solid var(--hairline-on-dark, #2b3139); }
.bo-stat.b-ok { border-color: rgba(14,203,129,0.3); }
.bo-stat.b-warn { border-color: rgba(252,213,53,0.3); }
.bo-stat.b-err { border-color: rgba(246,70,93,0.3); }
.bo-stat.b-info { border-color: rgba(59,130,246,0.3); }
.bo-stat.b-purple { border-color: rgba(199,125,255,0.3); }
.bo-stat-label { font-size: 12px; font-weight: 500; color: var(--text-muted, #707a8a); }
.bo-stat-value { font-size: 24px; font-weight: 700; font-family: var(--font-mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.bo-empty { padding: 32px; text-align: center; color: var(--text-muted, #707a8a); font-size: 12px; }
.bo-option-card {
  padding: 12px;
  border-radius: var(--radius-md, 6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  background: var(--canvas-dark, #0b0e11);
  border: 1px solid var(--hairline-on-dark, #2b3139);
}
.bo-option-card.active { border-color: var(--primary, #fcd535); background: rgba(252,213,53,0.08); }
.bo-modal-card {
  background: var(--surface-card-dark, #1e2329);
  border: 1px solid var(--hairline-on-dark, #2b3139);
  border-radius: 16px;
  width: 100%;
  max-width: 512px;
  overflow: hidden;
}
.bo-stack { display: flex; flex-direction: column; gap: 24px; }
.bo-stack-sm { display: flex; flex-direction: column; gap: 16px; }
.bo-stack-xs { display: flex; flex-direction: column; gap: 12px; }
.bo-stack-2xs { display: flex; flex-direction: column; gap: 8px; }
.bo-narrow { max-width: 448px; margin: 0 auto; width: 100%; }
.bo-narrow-md { max-width: 576px; margin: 0 auto; width: 100%; }
.bo-narrow-lg { max-width: 672px; margin: 0 auto; width: 100%; }
.bo-narrow-lg { max-width: 672px; margin: 0 auto; width: 100%; }
.bo-crumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted, #707a8a); margin-bottom: 4px; }
.bo-crumb a { color: var(--text-muted, #707a8a); text-decoration: none; }
.bo-crumb .cur { color: var(--primary, #fcd535); font-weight: 500; }
.bo-center-text { text-align: center; }
.bo-table .nowrap { white-space: nowrap; }

.bo-ok-text { font-size: 14px; font-weight: 700; color: var(--trading-up, #0ecb81); }
.bo-code-primary { font-size: 14px; font-family: var(--font-mono); font-weight: 700; color: var(--primary, #fcd535); }
.span-all { grid-column: 1 / -1; }

