:root {
  --bg: #030712;
  --bg-soft: #08111f;
  --bg-grid: rgba(148, 163, 184, 0.06);
  --panel: rgba(7, 14, 28, 0.72);
  --panel-2: rgba(10, 19, 37, 0.88);
  --panel-3: rgba(13, 26, 50, 0.9);
  --border: rgba(125, 211, 252, 0.16);
  --border-strong: rgba(125, 211, 252, 0.3);
  --text: #edf4ff;
  --muted: #93a9c8;
  --muted-2: #6d86ab;
  --green: #34d399;
  --red: #fb7185;
  --yellow: #fbbf24;
  --blue: #38bdf8;
  --purple: #a78bfa;
  --cyan: #22d3ee;
  --shadow-xl: 0 30px 80px rgba(2, 6, 23, 0.52);
  --shadow-lg: 0 18px 45px rgba(2, 6, 23, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(56, 189, 248, 0.16), transparent 0 24%),
    radial-gradient(circle at 88% 14%, rgba(167, 139, 250, 0.16), transparent 0 18%),
    radial-gradient(circle at 50% 105%, rgba(34, 211, 238, 0.14), transparent 0 22%),
    linear-gradient(180deg, #040814 0%, #07101d 42%, #02060f 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(100% - 1px), var(--bg-grid) calc(100% - 1px)),
    linear-gradient(to bottom, transparent 0, transparent calc(100% - 1px), var(--bg-grid) calc(100% - 1px));
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,.18), transparent 90%);
}

body::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.1), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(168, 85, 247, 0.12), transparent 20%),
    radial-gradient(circle at 48% 100%, rgba(34, 211, 238, 0.12), transparent 26%);
  filter: blur(24px);
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1800px;
  margin: 0 auto;
  padding: 26px 24px 38px;
}

.topbar,
.double-grid,
.triple-grid,
.kpi-grid,
.quick-stats,
.controls-grid,
.chips,
.form-grid {
  gap: 18px !important;
}

.topbar {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .92fr) !important;
  align-items: stretch;
  margin-bottom: 20px !important;
}

.hero,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    var(--panel) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl) !important;
  border-radius: var(--radius-xl) !important;
}

.hero::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: .9;
}

.hero::after {
  width: 320px !important;
  height: 320px !important;
  inset: auto -120px -120px auto !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 65%) !important;
  filter: blur(10px);
}

.hero {
  min-height: 250px;
  padding: 28px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.13), transparent 26%),
    radial-gradient(circle at 18% 30%, rgba(167, 139, 250, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(9, 18, 37, 0.82), rgba(5, 11, 23, 0.9)) !important;
}

.hero h1 {
  margin: 0 0 14px !important;
  font-size: clamp(1.8rem, 2.3vw, 2.8rem) !important;
  letter-spacing: -.03em;
  line-height: 1.18;
}

.hero h1 i {
  margin-left: 8px;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(34, 211, 238, .32);
}

.hero p {
  max-width: 70ch;
  color: #a6bad8 !important;
  font-size: 14px;
  line-height: 1.95 !important;
}

.section-title {
  position: relative;
  z-index: 1;
  margin-bottom: 20px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section-title h2,
.section-title h3 {
  font-size: 1.08rem !important;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.subtle,
.footer-note,
.chip .label,
.metric .caption,
.metric .meta,
.control .desc,
.field label {
  color: var(--muted) !important;
}

.status-row {
  justify-content: flex-end;
  align-items: center;
}

.status-pill {
  padding: 10px 14px !important;
  background: rgba(2, 6, 23, 0.42) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.dot {
  width: 12px !important;
  height: 12px !important;
}

.dot.blue {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(56, 189, 248, .45);
}

.chips {
  margin-top: 22px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.chip,
.metric,
.control,
.table-wrap,
.log-box,
.field input,
.field textarea,
.badge,
.status-pill,
.tab-btn,
.btn,
.empty {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.chip {
  position: relative;
  overflow: hidden;
  min-height: 102px;
  padding: 16px 16px 14px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.chip::after,
.metric::after,
.control::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,0), rgba(56,189,248,.75), rgba(167,139,250,0));
  opacity: .28;
}

.chip:hover,
.metric:hover,
.control:hover,
.table-wrap:hover,
.log-box:hover,
.field input:hover,
.field textarea:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(125, 211, 252, .24) !important;
}

.chip .value {
  font-size: clamp(1.1rem, 1.55vw, 1.7rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.03em;
}

.panel {
  padding: 22px !important;
}
.controls-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.control {
  position: relative;
  min-height: 104px;
  padding: 16px !important;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028)) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  align-items: center !important;
}

.control .title {
  font-size: 15px !important;
  color: #f5f8ff;
  margin-bottom: 6px;
}

.toggle {
  width: 72px !important;
  height: 38px !important;
}

.slider {
  background: rgba(148, 163, 184, .25) !important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.slider::before {
  width: 28px !important;
  height: 28px !important;
  top: 4px !important;
  right: 4px !important;
  background: linear-gradient(180deg, #ffffff, #d8e3f8) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .34);
}

.toggle input:checked + .slider {
  background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(96,165,250,.95)) !important;
}

.toggle input:checked + .slider::before {
  transform: translateX(-34px) !important;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-bottom: 18px !important;
}

.quick-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.metric .number {
  font-size: clamp(1.65rem, 2.2vw, 2.75rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.04em;
}

.metric .caption {
  font-size: 12px !important;
  text-transform: none;
  letter-spacing: .03em;
}

.metric .meta {
  margin-top: auto !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.kpi-grid .metric:nth-child(1) { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(34,211,238,.08); }
.kpi-grid .metric:nth-child(2) { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(52,211,153,.08); }
.kpi-grid .metric:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(251,191,36,.08); }
.kpi-grid .metric:nth-child(4) { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(167,139,250,.08); }

.mode-comparison-wrap {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 11, 23, .5), rgba(5, 11, 23, .32));
}

.mode-comparison-table {
  width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
}

.mode-comparison-table th,
.mode-comparison-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  text-align: right;
}

.mode-comparison-table thead th {
  background: rgba(4, 10, 22, .8) !important;
  color: #d7e8ff !important;
}

.mode-comparison-table tbody tr:last-child th,
.mode-comparison-table tbody tr:last-child td {
  border-bottom: none !important;
}

.mode-comparison-table tbody td {
  font-weight: 800;
  letter-spacing: -.01em;
}

.positive {
  color: #6ee7b7 !important;
  text-shadow: 0 0 22px rgba(52, 211, 153, .16);
}

.negative {
  color: #fda4af !important;
  text-shadow: 0 0 22px rgba(251, 113, 133, .12);
}

.neutral {
  color: var(--text) !important;
}

.double-grid {
  grid-template-columns: 1.24fr .96fr !important;
  margin-bottom: 18px !important;
}

.triple-grid {
  grid-template-columns: 1.18fr 1.02fr .86fr !important;
}

.tab-btn,
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px !important;
  padding: 10px 15px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

.tab-btn {
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.tab-btn:hover,
.btn:hover {
  transform: translateY(-1px);
}

.tab-btn.active {
  color: white !important;
  border-color: rgba(56,189,248,.38) !important;
  background: linear-gradient(90deg, rgba(56,189,248,.25), rgba(167,139,250,.2)) !important;
  box-shadow: 0 10px 28px rgba(34, 211, 238, .12), inset 0 1px 0 rgba(255,255,255,.08);
}

.btn {
  border: 1px solid transparent !important;
  box-shadow: 0 14px 28px rgba(2, 6, 23, .26);
}

.btn-primary {
  background: linear-gradient(90deg, #0ea5e9, #3b82f6) !important;
}

.btn-danger {
  background: linear-gradient(90deg, #e11d48, #fb7185) !important;
}

.btn-warning {
  background: linear-gradient(90deg, #f59e0b, #facc15) !important;
  color: #1f2937 !important;
}

.btn-ghost {
  background: rgba(255,255,255,.05) !important;
  color: #f2f7ff !important;
  border-color: rgba(255,255,255,.08) !important;
}

.table-wrap {
  position: relative;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(5, 11, 23, .58), rgba(5, 11, 23, .36)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.table-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

 table {
  min-width: 980px !important;
 }

th,
td {
  padding: 14px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  font-size: 13px !important;
}

th {
  top: 0;
  background: rgba(4, 10, 22, .94) !important;
  color: #d7e8ff !important;
  font-weight: 700;
}

tbody tr:nth-child(even) {
  background: rgba(255,255,255,.018);
}

tbody tr:hover {
  background: rgba(56, 189, 248, .06) !important;
}

.badge {
  padding: 5px 11px !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.badge.green { background: rgba(52,211,153,.12) !important; color: #9ff2dd !important; border-color: rgba(52,211,153,.28) !important; }
.badge.red { background: rgba(251,113,133,.12) !important; color: #ffc3ce !important; border-color: rgba(251,113,133,.28) !important; }
.badge.blue { background: rgba(56,189,248,.12) !important; color: #d8efff !important; border-color: rgba(56,189,248,.28) !important; }
.badge.yellow { background: rgba(251,191,36,.12) !important; color: #fde8ad !important; border-color: rgba(251,191,36,.28) !important; }

.stack {
  gap: 9px !important;
}

.inline {
  gap: 10px !important;
}

#rejectionReasons .control {
  min-height: auto;
  padding: 14px 15px !important;
}
.log-box {
  height: 520px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, .95), rgba(3, 10, 22, .92)),
    #020817 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), inset 0 0 0 1px rgba(56,189,248,.03);
  padding: 16px !important;
}

.log-line {
  position: relative;
  padding: 7px 16px 7px 0 !important;
  border-bottom: 1px dashed rgba(255,255,255,.05) !important;
}

.log-line::before {
  content: "";
  position: absolute;
  right: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(56,189,248,.75);
  box-shadow: 0 0 10px rgba(56,189,248,.4);
}

.log-line.error::before { background: rgba(251,113,133,.9); box-shadow: 0 0 10px rgba(251,113,133,.4); }
.log-line.warn::before { background: rgba(251,191,36,.9); box-shadow: 0 0 10px rgba(251,191,36,.4); }
.log-line.error { color: #fecdd3 !important; }
.log-line.warn { color: #fde68a !important; }

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.field {
  gap: 10px !important;
}

.field label {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.field input,
.field textarea {
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--text) !important;
  padding: 14px 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(56,189,248,.42) !important;
  box-shadow: 0 0 0 4px rgba(56,189,248,.12), inset 0 1px 0 rgba(255,255,255,.05);
}

.field textarea {
  min-height: 132px !important;
}

.empty {
  padding: 32px 20px !important;
  border-radius: 18px !important;
  border: 1px dashed rgba(255,255,255,.09) !important;
  background: radial-gradient(circle at top, rgba(56,189,248,.06), transparent 45%), rgba(255,255,255,.02) !important;
  color: var(--muted) !important;
}

.sticky-actions {
  position: sticky !important;
  bottom: -2px;
  margin-top: 18px;
  padding-top: 18px !important;
  background: linear-gradient(180deg, rgba(4,8,20,0), rgba(4,8,20,.96) 42%) !important;
  backdrop-filter: blur(6px);
}

.footer-note {
  font-size: 12px !important;
  line-height: 1.8;
}

.toast-root {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.toast {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(4, 10, 20, .92);
  color: #eff6ff;
  box-shadow: 0 22px 60px rgba(2, 6, 23, .46);
  backdrop-filter: blur(16px);
  animation: toastIn .26s ease;
}

.toast.success { border-color: rgba(52,211,153,.25); box-shadow: 0 20px 52px rgba(52,211,153,.08); }
.toast.error { border-color: rgba(251,113,133,.26); box-shadow: 0 20px 52px rgba(251,113,133,.08); }
.toast.info { border-color: rgba(56,189,248,.24); box-shadow: 0 20px 52px rgba(56,189,248,.08); }

.toast strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,.03);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56,189,248,.52), rgba(167,139,250,.5));
  border-radius: 999px;
  border: 2px solid rgba(4, 8, 20, 0.8);
}

@media (max-width: 1280px) {
  .topbar,
  .double-grid,
  .triple-grid {
    grid-template-columns: 1fr !important;
  }

  .chips,
  .kpi-grid,
  .quick-stats,
  .controls-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 18px 14px 30px !important;
  }

  .hero,
  .panel {
    border-radius: 22px !important;
  }

  .hero {
    min-height: auto;
    padding: 22px !important;
  }

  .status-row {
    justify-content: flex-start;
  }

  .chips,
  .kpi-grid,
  .quick-stats,
  .controls-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .section-title {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .metric {
    min-height: 130px;
  }

  th,
  td {
    font-size: 12px !important;
    padding: 12px 10px !important;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 12px, 100%);
    margin: 10px auto 18px;
  }

  .hero,
  .panel,
  .controls-card,
  .mode-card,
  .settings-card,
  .wide-card,
  .side-card,
  .log-card {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .topbar,
  .double-grid,
  .triple-grid,
  .quick-stats,
  .kpi-grid,
  .chips,
  .controls-grid,
  .form-grid,
  .hero-top,
  .with-tabs,
  .control-grid,
  .settings-grid,
  .hero-mini-grid,
  .metric-grid,
  .controls-layout,
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .section-title,
  .inline,
  .status-row,
  .hero-actions,
  .tabs {
    flex-direction: column;
    align-items: stretch !important;
  }

  .section-title {
    gap: 10px;
  }

  .status-pill,
  .tab-btn,
  .btn {
    width: 100%;
    justify-content: center;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table {
    min-width: 0 !important;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  table thead {
    display: none;
  }

  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tbody tr {
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
    border: 1px solid rgba(129, 161, 225, 0.18);
    border-radius: 18px;
    padding: 8px 10px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
  }

  table tbody tr:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  }

  table tbody td {
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    padding: 10px 4px;
    text-align: right;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(92px, 118px) 1fr;
    gap: 12px;
    align-items: start;
  }

  table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
  }

  table tbody td:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  table tbody td .badge,
  table tbody td .btn {
    width: fit-content;
  }

  .log-box {
    height: 320px;
    font-size: 11px;
  }
}


/* dual mode KPI cards */
.dual-mode-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.metric-dual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0 !important;
}

.dual-mode-values {
  display: grid;
  gap: 10px;
}

.mode-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.mode-stat.real {
  border-color: rgba(45,212,191,.22);
  background: linear-gradient(90deg, rgba(45,212,191,.12), rgba(15,118,110,.08));
}

.mode-stat.paper {
  border-color: rgba(96,165,250,.22);
  background: linear-gradient(90deg, rgba(96,165,250,.12), rgba(167,139,250,.10));
}

.mode-stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #dce8f8;
}

.mode-stat.real .mode-stat-label { color: #99f6e4; }
.mode-stat.paper .mode-stat-label { color: #c4b5fd; }

.mode-stat-value {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  text-align: left;
  direction: ltr;
}

.pnl-stat .mode-stat-value > span {
  font-size: 18px;
  font-weight: 900;
}

.compact-meta {
  margin-top: auto !important;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.legacy-hidden,
.mode-comparison-wrap {
  display: none !important;
}
