:root,
[data-theme="dark"] {
  --background-color: #131313;
  --text-color: #ffffff;
  --color-text: #ffffff;
  --color-text-gray: #eeeeee;
  --secondary-border-color: #ffffff;
  --table-head-background-color: #131313;
  --table-body-background-color: #131313;
  --table-text-color: #ffffff;
  --pagination-text-color: #679aff;
  --arrow-color: #ffffff;
  --arrow-background-color: #131313;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--background-color);
  color: var(--color-text);
  font-family: "Proxima Nova", system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-nav__btn {
  flex: 1 1 0;
  min-width: 120px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-size: 14px;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.top-nav__btn:hover {
  border-color: #679aff;
  color: #679aff;
}

.top-nav__btn--active {
  background: #679aff;
  border-color: #679aff;
  color: #131313;
  font-weight: 600;
}

.signals-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.signals-subnav__tab {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-size: 13px;
  padding: 8px 12px;
}

.signals-subnav__tab--active {
  background: #679aff;
  border-color: #679aff;
  color: #131313;
  font-weight: 600;
}

.validator-mini {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #fff;
}

.validator-mini__dot {
  margin-right: 4px;
}

.page--stub {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.stub-text {
  margin: 0;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--color-text-gray);
  text-align: center;
}

.logo {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 28px;
  width: auto;
}

.logo span {
  font-size: 14px;
  color: var(--color-text-gray);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-user {
  margin-left: auto;
  font-size: 13px;
  color: var(--color-text-gray);
}

.header-logout {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.header-logout:hover {
  border-color: #679aff;
  color: #679aff;
}

.mirror-badge {
  margin-left: 0;
  font-size: 12px;
  color: #679aff;
  border: 1px solid #679aff;
  border-radius: 999px;
  padding: 4px 10px;
}

.page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.page-title {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.filters-subtitle {
  margin: -12px 0 16px;
  font-size: 16px;
  color: var(--color-text-gray);
}

.filters {
  margin-bottom: 28px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 10px;
}

@media (max-width: 1200px) {
  .filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-label {
  font-size: 12px;
  color: #b7b7b7;
  line-height: 1.2;
}

.filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-size: 14px;
}

.filter-ms {
  position: relative;
}

.filter-ms__trigger {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-ms__panel {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #1e1e1e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.filter-ms__panel--wide {
  min-width: 280px;
}

.filter-ms--open .filter-ms__panel {
  display: block;
}

.filter-ms__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  font-size: 13px;
  cursor: pointer;
}

.filter-ms__option:hover {
  color: #679aff;
}

.filter-field--toggle {
  justify-content: flex-end;
}

.filter-toggle {
  display: flex;
  align-items: center;
  min-height: 42px;
  cursor: pointer;
}

.filter-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-toggle__ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #555;
  position: relative;
  transition: background 0.15s;
}

.filter-toggle__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}

.filter-toggle input:checked + .filter-toggle__ui {
  background: #679aff;
}

.filter-toggle input:checked + .filter-toggle__ui::after {
  transform: translateX(20px);
}

.filters-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

.filter-status {
  margin: 0;
  font-size: 13px;
  color: #b7b7b7;
}

.filter-status--error {
  color: #f87171;
}

.filter-apply {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  background: #679aff;
  color: #131313;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.filter-apply:disabled {
  opacity: 0.6;
  cursor: wait;
}

.filter-apply:hover:not(:disabled) {
  filter: brightness(1.08);
}

.filter-apply--locked {
  background: #555;
  color: #eee;
  cursor: not-allowed;
}

.filters--readonly {
  opacity: 0.85;
}

.filters--readonly .filter-ms__trigger {
  cursor: not-allowed;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: min(400px, 100%);
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: #1a1a1a;
}

.login-logo {
  display: block;
  height: 32px;
  margin: 0 auto 20px;
}

.login-title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #b7b7b7;
}

.login-label input {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #262626;
  color: #fff;
  font-size: 15px;
}

.login-error {
  margin: 0;
  font-size: 13px;
  color: #f87171;
}

.login-submit {
  margin-top: 8px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #679aff;
  color: #131313;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.login-submit:disabled {
  opacity: 0.6;
}

.result-label {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--color-text-gray);
}

.auth-alert {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 2px solid #ef4444;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-weight: 700;
  font-size: 15px;
}

.status-line {
  margin: 0 0 16px;
  font-size: 13px;
  color: #b7b7b7;
}

.status-line.error {
  color: #f87171;
}

.panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  align-items: start;
}

.panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: var(--table-body-background-color);
  min-height: 360px;
  overflow: hidden;
}

.panel--detail {
  min-width: 0;
}

.detail {
  padding: 10px 12px 14px;
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.deal-detail .info-block {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.deal-detail .info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.deal-detail a {
  color: #679aff;
  text-decoration: none;
}

.deal-detail a:hover {
  text-decoration: underline;
}

.deal-detail .deal-links {
  margin-top: 6px;
  line-height: 1.6;
  color: #679aff;
}

.deal-detail .deal-head {
  line-height: 1.55;
}

.deal-head {
  line-height: 1.5;
}

.deal-links {
  margin-top: 6px;
}

.deal-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
}

.deal-warn {
  color: #f0ad4e;
  margin-top: 4px;
  white-space: pre-line;
}

.deal-futures {
  margin-top: 6px;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 28px 4px 8px;
  margin: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M4 2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h1V2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 13px;
}

.copy-chip:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.detail--empty {
  color: #b7b7b7;
  padding: 24px 14px;
}

.detail-block {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.detail-code {
  font-size: 12px;
  word-break: break-all;
}

.detail-links a {
  color: #679aff;
}

.detail-warn {
  color: #f87171;
}

.detail-panel--stale {
  opacity: 0.55;
}

.spread-table {
  display: flex;
  flex-direction: column;
}

.spread-table__title {
  display: block;
  text-align: center;
  padding: 10px 8px;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500;
  line-height: 1.25;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  word-break: break-word;
}

.spread-row {
  padding: 8px 10px;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  user-select: none;
  word-break: break-word;
  text-align: center;
}

.spread-row:hover {
  background: rgba(217, 217, 217, 0.12);
}

.spread-row--selected {
  background: rgba(217, 217, 217, 0.4);
}

.spread-row--stale {
  opacity: 0.45;
}

.spread-row--empty {
  min-height: 44px;
  cursor: default;
}

.spread-row--empty:hover {
  background: transparent;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
}

.pager__btn {
  background: var(--arrow-background-color);
  color: var(--pagination-text-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
}

.pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pager__num {
  color: var(--pagination-text-color);
  font-size: 14px;
}

.site-footer {
  margin-top: 48px;
  padding: 24px;
  border-radius: 24px 24px 0 0;
  background: #1a1a1a;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #b7b7b7;
}

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

@media (max-width: 640px) {
  .page {
    padding: 16px 12px 32px;
  }

  .panels {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: 280px;
  }
}

.dashboard-controls {
  margin: 0 0 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: end;
}

.signals-validator-controls {
  flex-wrap: wrap;
}

.signals-validator-controls #validator-timed-mode {
  width: 180px;
  flex: 0 0 180px;
}

.signals-validator-controls #validator-timed-minutes {
  width: 90px;
  flex: 0 0 90px;
}

.signals-validator-controls #validator-toggle-status,
.signals-validator-controls #validator-uptime {
  flex: 0 0 auto;
}

.dash-hint {
  color: #679aff;
  cursor: help;
  font-size: 12px;
}

.dashboard-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-control label {
  font-size: 12px;
  color: #b7b7b7;
}

.dashboard-select,
.dashboard-input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #262626;
  color: #fff;
}

.dashboard-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #679aff;
  color: #131313;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-btn.secondary {
  background: transparent;
  color: #fff;
}

.dashboard-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dashboard-table th,
.dashboard-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 8px;
  text-align: center;
  vertical-align: middle;
}

.dashboard-table th:last-child,
.dashboard-table td:last-child {
  border-right: none;
}

.dashboard-table th {
  color: #b7b7b7;
  font-weight: 500;
  position: sticky;
  top: 0;
  background: #131313;
}

.dashboard-table tbody tr:hover td {
  background: rgba(103, 154, 255, 0.22) !important;
}

.dashboard-row-stale {
  opacity: 0.5;
}

.dashboard-row-profitable {
  background: rgba(34, 197, 94, 0.12);
}

.dashboard-cell-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 18px;
}

.dashboard-cell-sub {
  color: #b7b7b7;
  font-size: 12px;
  text-align: center;
}

.dashboard-badge {
  color: #679aff;
}

.dashboard-badge--neutral {
  color: #b7b7b7;
}

.analytics-block {
  margin-bottom: 14px;
}

#daily-profit-chart {
  display: block;
  width: 100% !important;
  max-width: 880px;
  height: 350px !important;
  margin: 0 auto;
}

#causes-chart {
  display: block;
  width: 100% !important;
  max-width: 430px;
  height: 320px !important;
  margin: 0 auto;
}

.analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.analytics-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.analytics-tile {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px;
  background: #101010;
}

.analytics-tile__label {
  color: #b7b7b7;
  font-size: 12px;
  margin-bottom: 4px;
}

.analytics-tile__value {
  font-size: 18px;
  font-weight: 600;
}

.analytics-tile__sub {
  margin-top: 4px;
  color: #8e8e8e;
  font-size: 11px;
}

.analytics-value--pos {
  color: #22c55e;
}

.analytics-value--neg {
  color: #f87171;
}

.analytics-col__title {
  margin: 12px 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.analytics-table-wrap {
  max-height: 280px;
}

.analytics-table th,
.analytics-table td {
  font-size: 12px;
  padding: 6px 8px;
}

@media (max-width: 1100px) {
  .analytics-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analytics-pair-grid {
    grid-template-columns: 1fr;
  }
}

.dash-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.dash-coin-cell {
  min-width: 120px;
}

.dash-coin-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 4px;
}

.dash-coin-name {
  font-weight: 700;
}

.dash-rank-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
}

.dash-rank-arrow-svg {
  width: 20px;
  height: 20px;
  fill: #6ea0ff;
  flex: 0 0 auto;
}

.dash-fut-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.dash-fut-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 2px 0 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.dashboard-grid-wrap {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  overflow: auto;
  max-height: 70vh;
}

.dashboard-status {
  margin: 0 0 10px;
  color: #b7b7b7;
  font-size: 13px;
}

.deal-compare-log {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  background: #161616;
}

.deal-compare-log__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.deal-compare-log__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-compare-log__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.deal-compare-log__clear {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.deal-compare-log__toggle {
  border: 1px solid rgba(103, 154, 255, 0.5);
  background: rgba(103, 154, 255, 0.12);
  color: #cfe0ff;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.deal-compare-log__toggle--off {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #b7b7b7;
}

.deal-compare-log__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 45vh;
  overflow: auto;
}

.deal-compare-log__empty {
  color: #b7b7b7;
  font-size: 13px;
}

.deal-compare-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0;
}

.deal-compare-item__meta {
  color: #b7b7b7;
  font-size: 12px;
  margin-bottom: 8px;
}

.deal-compare-item__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.deal-compare-item__block {
  margin: 0;
  padding: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 6px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.deal-inline-card {
  position: relative;
  width: 100%;
  background: #121212;
  border-left: 5px solid #6b7280;
  border-radius: 6px;
  padding: 16px 18px;
}

.deal-inline-card--profitable {
  border-left-color: #22c55e;
}

.deal-inline-card--unprofitable {
  border-left-color: #ef4444;
}

.deal-inline-card--warning {
  border-left-color: #f59e0b;
}

.deal-inline-card--neutral {
  border-left-color: #6b7280;
}

.deal-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.deal-inline-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.deal-inline-close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #b7b7b7;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  line-height: 20px;
  cursor: pointer;
  font-size: 14px;
  flex: 0 0 24px;
}

.deal-inline-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 6px;
}

.deal-inline-label {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.25;
}

.deal-inline-value {
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.3;
  word-break: break-word;
}

.deal-inline-side {
  margin-left: 12px;
  color: #9ca3af;
}

.deal-inline-ok {
  color: #22c55e;
  font-weight: 600;
}

.deal-inline-warn {
  color: #f59e0b;
  font-weight: 600;
}

.deal-inline-sep {
  display: inline-block;
  width: 8px;
}

.deal-inline-muted {
  color: #9ca3af;
  font-size: 11px;
}

.deal-inline-error {
  margin-top: 6px;
  color: #ef4444;
  font-size: 11px;
  line-height: 1.25;
}

.cross-quote-block {
  overflow: auto;
}

.cross-quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.cross-quote-table th,
.cross-quote-table td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 8px;
  text-align: center;
}

.cross-quote-table th {
  color: #b7b7b7;
  font-weight: 600;
}

.cross-quote-primary td:first-child {
  font-weight: 700;
}

.cross-quote-outlier td:nth-child(3) {
  color: #f87171;
  font-weight: 700;
}

.cross-quote-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cross-quote-mismatch--bad {
  color: #f87171;
  font-weight: 700;
}

.cross-quote-mismatch--ok {
  color: #22c55e;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .deal-compare-item__cols {
    grid-template-columns: 1fr;
  }
}
