:root {
  color-scheme: light;
  --bg: #eef3f6;
  --ink: #101820;
  --muted: #64737c;
  --line: rgba(16, 24, 32, 0.11);
  --panel: #ffffff;
  --accent: #007f73;
  --accent-dark: #025a52;
  --cyan: #1d9bf0;
  --amber: #f09a24;
  --rose: #e5484d;
  --violet: #7258e8;
  --warn: #b86b00;
  --danger: #c5282f;
  --good: #087a42;
  --shadow: 0 22px 70px rgba(21, 38, 54, 0.13);
  --soft-shadow: 0 10px 28px rgba(21, 38, 54, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(0, 127, 115, 0.14), transparent 34%),
    linear-gradient(260deg, rgba(29, 155, 240, 0.14), transparent 36%),
    linear-gradient(180deg, #f7fbfc 0%, var(--bg) 44%, #edf1f5 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 820;
  color: #0f1720;
}

h2 {
  font-size: 17px;
  line-height: 1.25;
}

.topbar p,
.muted {
  color: var(--muted);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #e7f4f2);
  color: var(--accent);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.icon-button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.metric,
.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metric {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: 0;
}

.metric strong {
  font-size: 30px;
  line-height: 1;
}

.metric:nth-child(2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.metric:nth-child(3)::before {
  background: linear-gradient(90deg, var(--amber), var(--rose));
}

.metric:nth-child(4)::before {
  background: linear-gradient(90deg, var(--accent), var(--amber));
}

.decision.good {
  border-color: rgba(8, 122, 66, 0.34);
  background: linear-gradient(180deg, rgba(235, 250, 242, 0.95), rgba(255, 255, 255, 0.9));
}

.decision.warn {
  border-color: rgba(240, 154, 36, 0.42);
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.9));
}

.decision.bad {
  border-color: rgba(197, 40, 47, 0.36);
  background: linear-gradient(180deg, rgba(255, 238, 239, 0.98), rgba(255, 255, 255, 0.9));
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 14px;
  margin-bottom: 14px;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

.app-nav {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: sticky;
  top: 10px;
  z-index: 5;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 3px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 10px;
  background: rgba(238, 243, 246, 0.7);
}

.nav-tab {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.nav-tab.active {
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: var(--soft-shadow);
}

.panel {
  padding: 18px;
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.auth-panel {
  max-width: 720px;
  margin: 0 auto 14px;
}

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

.auth-grid.single {
  grid-template-columns: minmax(0, 280px);
  margin-top: 14px;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(240px, 420px) auto;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

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

.settings-status {
  margin-top: 12px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.app-nav strong {
  display: block;
  margin-top: 4px;
}

.primary {
  background:
    linear-gradient(135deg, rgba(0, 127, 115, 0.09), rgba(29, 155, 240, 0.05) 46%, rgba(255, 255, 255, 0.94) 100%);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 127, 115, 0.18);
  border-radius: 999px;
  background: rgba(0, 127, 115, 0.07);
  color: var(--accent-dark);
  font-size: 12px;
  white-space: nowrap;
  font-weight: 700;
}

.recommendation {
  font-size: 24px;
  line-height: 1.32;
  font-weight: 700;
  max-width: 780px;
}

.reason-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

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

.deploy-controls {
  display: grid;
  grid-template-columns: minmax(110px, 160px) minmax(170px, 220px);
  gap: 12px;
  margin-top: 18px;
}

.deploy-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.deploy-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.deploy-preview div {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.deploy-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.deploy-preview strong {
  font-size: 20px;
}

.kite-chain {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 127, 115, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 249, 247, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.08);
}

.builder-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.builder-heading h3 {
  margin: 0;
  font-size: 20px;
}

.builder-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.builder-badge {
  align-self: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 127, 115, 0.1);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.chain-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.chain-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 160px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selected-legs {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.selected-leg-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.selected-leg-card {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.selected-leg-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: rgba(0, 127, 115, 0.5);
}

.selected-leg-card.sell::before {
  background: #ef6a32;
}

.selected-leg-card span,
.strategy-premium span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-leg-card strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1;
}

.selected-leg-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 800;
}

.strategy-premium {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 127, 115, 0.09);
  color: var(--accent-dark);
}

.strategy-premium strong {
  color: var(--ink);
  font-size: 18px;
}

.muted-premium {
  background: rgba(100, 115, 124, 0.08);
}

.condor-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(0, 127, 115, 0.16);
  border-radius: 12px;
  background: rgba(0, 127, 115, 0.06);
}

.condor-hint strong {
  margin-right: 4px;
  color: var(--accent-dark);
}

.condor-hint span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.leg-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.leg-edit-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.leg-edit-grid input {
  min-height: 42px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.leg-edit-grid input:disabled {
  opacity: 0.55;
  background: rgba(238, 245, 246, 0.8);
}

.chain-table-wrap {
  max-height: 420px;
  overflow: auto;
  margin-top: 14px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
}

.chain-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: white;
}

.chain-table th,
.chain-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.07);
  text-align: right;
  white-space: nowrap;
}

.chain-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef7f7;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.chain-table th:nth-child(4),
.chain-table td:nth-child(4),
.chain-table th:nth-child(8),
.chain-table td:nth-child(8) {
  text-align: center;
}

.selected-chain-row {
  background: rgba(0, 127, 115, 0.06);
}

.leg-buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.leg-buttons button {
  border: 1px solid rgba(0, 127, 115, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
}

.leg-buttons button[data-leg^="sell"] {
  border-color: rgba(239, 106, 50, 0.25);
  background: rgba(239, 106, 50, 0.08);
  color: #a64219;
}

.leg-buttons button[data-leg^="buy"] {
  border-color: rgba(0, 127, 115, 0.22);
  background: rgba(0, 127, 115, 0.08);
}

.leg-buttons button[data-suggested="true"] {
  box-shadow: 0 0 0 3px rgba(250, 197, 74, 0.34);
}

.leg-buttons button:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.exit-fallback {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(0, 127, 115, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
}

.exit-fallback label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-exit-button {
  border: 1px solid rgba(0, 127, 115, 0.24);
  border-radius: 999px;
  background: rgba(0, 127, 115, 0.08);
  color: var(--accent-dark);
  padding: 7px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.trades-panel {
  align-content: start;
}

.trade-view,
.trade-history {
  display: grid;
  gap: 10px;
}

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

.performance-card,
.performance-row {
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.performance-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 13px;
}

.performance-card span,
.performance-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.performance-card strong {
  font-size: 24px;
  line-height: 1;
}

.performance-series {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pnl-chart {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(58px, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 250px;
  overflow-x: auto;
  padding: 18px 14px 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.pnl-zero {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 104px;
  border-top: 1px dashed rgba(16, 24, 32, 0.2);
}

.pnl-bar-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 92px 92px auto auto;
  align-items: end;
  justify-items: center;
  gap: 4px;
  min-width: 58px;
}

.pnl-bar-space {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 92px;
}

.pnl-bar-space.loss {
  align-items: flex-start;
}

.pnl-bar {
  width: 34px;
  border-radius: 7px 7px 0 0;
}

.negative-bar {
  border-radius: 0 0 7px 7px;
  background: #ef6a32;
}

.positive-bar {
  background: #168ff0;
}

.pnl-bar-wrap strong {
  font-size: 12px;
  white-space: nowrap;
}

.pnl-bar-wrap small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.performance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
}

.performance-values {
  display: grid;
  gap: 4px;
  justify-items: end;
  white-space: nowrap;
}

.performance-values span {
  font-size: 18px;
  font-weight: 820;
}

.performance-values small {
  color: var(--muted);
}

.trade-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trade-strikes {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trade-leg-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.trade-leg-strip span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 127, 115, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.trade-leg-strip b {
  color: var(--accent-dark);
}

.trade-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.trade-stats div,
.trade-row {
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.trade-stats div {
  display: grid;
  gap: 5px;
  padding: 11px;
}

.trade-stats span,
.trade-row-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.trade-stats strong {
  font-size: 15px;
}

.trade-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px;
}

.trade-row-metrics {
  display: flex;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
}

.trade-row-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(100, 115, 124, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-chip.open {
  background: rgba(8, 122, 66, 0.12);
  color: var(--good);
}

.status-chip.exited {
  background: rgba(29, 155, 240, 0.12);
  color: #1265a8;
}

.status-chip.skipped {
  background: rgba(240, 154, 36, 0.16);
  color: var(--warn);
}

.action-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.action-button.secondary,
.file-action {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 127, 115, 0.24);
  color: var(--accent-dark);
}

.action-button.editing {
  border: 1px solid rgba(250, 197, 74, 0.8);
  background: #fac54a;
  color: #182028;
}

.action-button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.file-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.file-action input {
  display: none;
}

.reason {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  flex: 0 0 auto;
}

.controls {
  display: grid;
  align-content: start;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
select {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(16, 24, 32, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

input:focus,
select:focus {
  outline: 3px solid rgba(29, 155, 240, 0.16);
  border-color: rgba(29, 155, 240, 0.62);
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 252, 0.9));
  box-shadow: var(--soft-shadow);
}

.news-item:first-child {
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.impact {
  width: 74px;
  text-align: center;
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid rgba(240, 154, 36, 0.25);
  background: linear-gradient(135deg, rgba(240, 154, 36, 0.14), rgba(229, 72, 77, 0.09));
  color: #8b4b00;
  font-weight: 750;
}

.news-item a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: underline;
}

.news-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.compact {
  display: grid;
  gap: 10px;
  line-height: 1.5;
}

.positive {
  color: var(--good);
}

.negative {
  color: var(--danger);
}

.neutral {
  color: var(--warn);
}

@media (max-width: 880px) {
  .status-grid,
  .workspace {
    grid-template-columns: 1fr 1fr;
  }

  .deploy-preview,
  .selected-leg-cards,
  .leg-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .workspace .primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  h1 {
    font-size: 25px;
  }

  .status-grid,
  .workspace,
  .app-nav,
  .auth-grid,
  .settings-grid,
  .deploy-controls,
  .deploy-preview,
  .selected-leg-cards,
  .leg-edit-grid {
    grid-template-columns: 1fr;
  }

  .builder-heading,
  .chain-toolbar {
    display: grid;
    align-items: stretch;
  }

  .strategy-premium {
    grid-template-columns: 1fr 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .trade-stats,
  .trade-row,
  .performance-grid,
  .performance-row {
    grid-template-columns: 1fr;
  }

  .trade-row-metrics,
  .performance-values {
    justify-content: space-between;
    justify-items: start;
  }

  .impact {
    width: fit-content;
  }
}
