/* AMT Journal — vista Journal (registro de operaciones). Prefijo .jr- */

.jr-kpis { margin-bottom: 16px; }
.jr-card { overflow: hidden; }

/* ---------- barra de filtros ---------- */
.jr-filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.jr-search { position: relative; flex: 1 1 180px; min-width: 160px; max-width: 320px; }
.jr-search .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.jr-search .input { height: 30px; padding: 0 10px 0 31px; font-size: 12.5px; border-radius: var(--r-sm); }
.jr-sel {
  flex: none;
  field-sizing: content; /* ancho según la opción elegida (donde el navegador lo soporta) */
  width: auto; max-width: 190px; height: 30px;
  padding: 0 28px 0 10px;
  font-size: 12.5px; color: var(--text-2);
  border-radius: var(--r-sm);
  background-position: right 8px center;
  text-overflow: ellipsis;
}
.jr-sel.is-active { color: var(--text); border-color: var(--line-strong); background-color: rgba(255, 255, 255, .055); }
.jr-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 4px 0 10px;
  border: 1px solid var(--blue-line); border-radius: var(--r-sm);
  background: var(--blue-soft);
  font-size: 12.5px; font-weight: 500; color: var(--text);
  white-space: nowrap;
}
.jr-chip > .ic { color: var(--text-2); }
.jr-chip button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r-xs); color: var(--text-2); transition: background .14s, color .14s; }
.jr-chip button:hover { background: var(--active); color: var(--text); }
.jr-clear {
  margin-left: auto;
  height: 30px; padding: 0 8px;
  border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  transition: background .14s, color .14s;
}
.jr-clear:hover { background: var(--hover); color: var(--text); }

/* ---------- tabla ---------- */
.jr-table td { padding-top: 9px; padding-bottom: 9px; }
.jr-table tr:focus-visible { outline: 2px solid rgba(61, 123, 255, .7); outline-offset: -2px; }
.jr-table th:focus-visible { outline-offset: -2px; }
.jr-date { line-height: 1.35; }
.jr-time { font-size: 12px; line-height: 1.35; color: var(--text-3); }
.jr-ins { display: inline-flex; align-items: center; gap: 10px; }
.jr-ins .sym { min-width: 34px; }
.jr-ins .side { font-size: 12px; color: var(--text-2); }
.jr-setup { display: inline-block; max-width: 210px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.jr-r { color: var(--text-2); }
.jr-pnl { font-weight: 600; }
.jr-th { display: inline-flex; align-items: center; gap: 4px; }
th.r .jr-th { flex-direction: row-reverse; }
.jr-th .ic { opacity: 0; transition: opacity .14s; }
th[data-sort]:hover .jr-th .ic, th[data-sort]:focus-visible .jr-th .ic { opacity: .7; }
th.is-sorted .jr-th .ic { opacity: 1; }

.jr-foot { font-variant-numeric: tabular-nums; }
.jr-pager { display: flex; align-items: center; gap: 10px; }
.jr-page { min-width: 44px; text-align: center; color: var(--text-2); }

/* ---------- detalle (drawer) ---------- */
.jr-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 2px 0 20px; }
.jr-hero-pnl { margin-top: 8px; font-size: 32px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.jr-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.jr-hero-r { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }

.jr-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .004)), var(--bg-1);
  overflow: hidden;
}
.jr-fact { min-width: 0; padding: 12px 16px 13px; border-top: 1px solid var(--line-soft); }
.jr-fact:nth-child(-n + 2) { border-top: none; }
.jr-fact:nth-child(even) { border-left: 1px solid var(--line-soft); }
.jr-fact-v { margin-top: 6px; font-size: 14px; font-weight: 500; }
.jr-fact-sub { margin-top: 1px; font-size: 12px; color: var(--text-3); }

.jr-ctx { margin-top: 18px; }
.jr-ctx-row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 40px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.jr-ctx-row:last-child { border-bottom: none; }
.jr-ctx-k { color: var(--text-3); }
.jr-ctx-v { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.jr-stars { display: inline-flex; gap: 3px; color: var(--text-4); }
.jr-stars i.is-on { color: var(--text); }
.jr-stars i.is-on svg { fill: currentColor; }

.jr-notes { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.jr-notes p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }

.jr-d-del { margin-right: auto; }

/* ---------- cabecera: selector de vista ---------- */
.jr-view .seg { height: 34px; padding: 3px; border-color: var(--line); border-radius: var(--r-md); }
.jr-view .seg button { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 11px; border-radius: 6px; font-size: 12.5px; }

/* ---------- vista por día ---------- */
.jr-card.is-bar .jr-filters { border-bottom: none; }
.jr-days { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.jr-day { overflow: hidden; }
.jr-day-head {
  width: 100%;
  display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto 6px;
  grid-template-areas: "chev date meta pnl dot";
  align-items: center; column-gap: 12px;
  min-height: 52px; padding: 8px 18px;
  text-align: left;
  transition: background .14s;
}
.jr-day-head:hover { background: rgba(255, 255, 255, .02); }
.jr-day-head:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }
.jr-day-chev { grid-area: chev; display: grid; place-items: center; color: var(--text-3); transition: transform .2s var(--ease); }
.jr-day.is-open .jr-day-chev { transform: rotate(90deg); }
.jr-day-date { grid-area: date; display: flex; align-items: baseline; gap: 9px; min-width: 0; font-size: 13.5px; white-space: nowrap; }
.jr-day-wd { font-weight: 600; text-transform: capitalize; }
.jr-day-d { color: var(--text-3); }
.jr-day-meta { grid-area: meta; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.jr-day-pnl { grid-area: pnl; min-width: 96px; text-align: right; font-size: 13.5px; font-weight: 600; }
.jr-day-dot { grid-area: dot; width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); }
.jr-day-dot.pos { background: var(--pos); box-shadow: 0 0 8px rgba(62, 207, 142, .7); }
.jr-day-dot.neg { background: var(--neg); box-shadow: 0 0 8px rgba(240, 97, 109, .7); }
.jr-day-body { border-top: 1px solid var(--line-soft); }

.jr-trade + .jr-trade { border-top: 1px solid var(--line-soft); }
.jr-trade.is-open { background: rgba(255, 255, 255, .016); }
.jr-trade-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 10px 0 18px;
  cursor: pointer;
  transition: background .12s;
}
.jr-trade-row:hover { background: rgba(255, 255, 255, .025); }
.jr-t-res { flex: none; width: 46px; }
.jr-t-time { flex: none; width: 38px; font-size: 12.5px; color: var(--text-3); }
.jr-t-sym { flex: none; min-width: 44px; font-size: 13px; }
.jr-trade-row .side { flex: none; min-width: 58px; font-size: 12px; color: var(--text-2); }
.jr-t-setup { flex: 0 1 auto; min-width: 0; font-size: 12.5px; color: var(--text-3); }
.jr-t-ev {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 6px;
  border: 1px solid var(--line); border-radius: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--text-2);
}
.jr-t-ev + .jr-t-ev { margin-left: -6px; }
.jr-t-fill { flex: 1 1 0; min-width: 0; }
.jr-t-r { flex: none; min-width: 58px; text-align: right; font-size: 12.5px; color: var(--text-3); }
.jr-t-pnl { flex: none; min-width: 88px; text-align: right; font-size: 13px; font-weight: 600; }
.jr-t-acts { flex: none; display: flex; align-items: center; gap: 2px; margin-left: 2px; }
.jr-t-acts .btn { color: var(--text-3); }
.jr-t-acts .btn:hover { color: var(--text); }
.jr-t-acts .jr-t-del:hover { color: var(--neg); background: var(--neg-soft); }
.jr-t-toggle svg { transition: transform .2s var(--ease); }
.jr-trade.is-open .jr-t-toggle svg { transform: rotate(180deg); }

/* operación desplegada */
.jr-x { display: flex; flex-direction: column; gap: 14px; padding: 8px 18px 18px; }
.jr-x-facts { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--line-soft); overflow: hidden; }
.jr-x-fact { flex: 1 1 124px; min-width: 0; padding: 10px 14px 11px; background: var(--bg-1); }
.jr-x-fact-v { margin-top: 5px; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-x-sec > .cap, .jr-d-sec > .cap { display: block; margin-bottom: 8px; }
.jr-x-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.jr-x-kv { display: flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; font-size: 13px; }
.jr-x-k { flex: none; color: var(--text-3); }
.jr-x-v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.jr-wrap { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.jr-x .jr-notes { margin-top: 0; padding: 12px 14px 13px; border-radius: var(--r-md); background: var(--bg-1); }
.jr-x .jr-notes p { margin-top: 7px; font-size: 13px; line-height: 1.6; }
.jr-x-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.jr-x-foot.is-solo { display: none; }
.jr-x-acts { display: none; gap: 8px; margin-left: auto; }
.jr-add { border-style: dashed; border-color: var(--line-strong); background: none; color: var(--text-2); }
.jr-add:hover { border-color: var(--blue-line); background: var(--blue-soft); color: var(--text); }

/* evidencia: cajas de proporción fija */
.jr-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jr-shot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.jr-img {
  position: relative;
  display: block; width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  background: var(--inset);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .14s;
}
.jr-img:hover { border-color: var(--line-strong); }
.jr-img:focus-visible { outline-offset: 1px; }
.jr-img img { width: 100%; height: 100%; object-fit: cover; }
.jr-img-main { aspect-ratio: 16 / 9; max-height: 460px; }
.jr-img-main img { object-fit: contain; }
.jr-img-main.is-missing { aspect-ratio: auto; height: 132px; }
.jr-miss { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: 12px; text-align: center; color: var(--text-4); }
.jr-cap { padding: 11px 14px 12px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--bg-1); }
.jr-cap p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.jr-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.jr-thumb { min-width: 0; }
.jr-thumb figcaption {
  margin-top: 6px;
  font-size: 12px; line-height: 1.45; color: var(--text-3);
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* análisis en tres columnas; el texto largo envuelve dentro de su tarjeta */
.jr-an-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.jr-an { min-width: 0; padding: 12px 14px 13px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--bg-1); }
.jr-an p { margin-top: 7px; font-size: 13px; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.jr-an p.jr-an-empty { color: var(--text-4); }

.jr-factors { display: flex; flex-wrap: wrap; gap: 6px; }
.jr-factor {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px;
  max-width: 100%; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 6px;
  font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--text);
  overflow-wrap: anywhere;
}
.jr-factor-cat { font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }

.jr-more { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--text-3); }

/* detalle (drawer): mismas piezas en una columna */
.jr-d-sec { margin-top: 18px; }
.jr-detail .jr-an-grid { grid-template-columns: minmax(0, 1fr); }
.jr-detail .jr-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- visor de imágenes ---------- */
.jr-lb {
  position: fixed; inset: 0; z-index: 150;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center;
  background: rgba(0, 0, 0, .93);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade-in .18s ease both;
}
.jr-lb-fig { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 60px 0 36px; }
.jr-lb-stage { display: grid; place-items: center; min-width: 0; max-width: 100%; }
.jr-lb-stage img {
  max-width: 100%; max-height: calc(100dvh - 210px);
  object-fit: contain;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--inset);
}
.jr-lb-miss { position: relative; width: min(520px, 80vw); aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); }
.jr-lb-cap { max-width: 760px; max-height: 96px; overflow-y: auto; padding: 0 8px; font-size: 14px; line-height: 1.6; text-align: center; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.jr-lb-nav {
  justify-self: center;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  transition: background .14s, color .14s, border-color .14s;
}
.jr-lb-nav:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-strong); color: var(--text); }
.jr-lb-prev { grid-column: 1; grid-row: 1; }
.jr-lb-next { grid-column: 3; grid-row: 1; }
.jr-lb-fig { grid-row: 1; }
.jr-lb-close { position: absolute; top: 14px; right: 16px; color: var(--text-2); }
.jr-lb-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 12.5px; color: var(--text-3); }

/* ---------- importación CSV ---------- */
.jr-imp { display: flex; flex-direction: column; gap: 18px; }
.jr-drop {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .015);
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.jr-drop:hover, .jr-drop.is-over { border-color: var(--blue-line); background: var(--blue-soft); }
.jr-drop:focus-within { border-color: rgba(61, 123, 255, .65); box-shadow: 0 0 0 3px rgba(61, 123, 255, .14); }
.jr-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.jr-drop-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); color: var(--text-2); }
.jr-drop-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jr-drop-title { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-drop-hint { font-size: 12.5px; color: var(--text-3); }
.jr-drop.has-file { border-style: solid; border-color: var(--line); }

.jr-imp-help p { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.jr-cols { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; margin-top: 10px; font-size: 12.5px; }
.jr-cols-k { color: var(--text-2); }
.jr-cols > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.jr-col {
  padding: 2px 7px;
  border: 1px solid var(--line); border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .025);
  font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
}

.jr-imp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.jr-imp-stat { padding: 12px 16px 13px; }
.jr-imp-stat + .jr-imp-stat { border-left: 1px solid var(--line-soft); }
.jr-imp-n { margin-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.jr-imp-block { margin-top: 18px; }
.jr-imp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12px; }
.jr-imp-prev { border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.jr-imp-prev .tbl td { padding-top: 9px; padding-bottom: 9px; }
.jr-imp-setup { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.jr-imp-skips { list-style: none; border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.jr-imp-skips li { display: grid; grid-template-columns: 34px auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 14px; font-size: 13px; }
.jr-imp-skips li + li { border-top: 1px solid var(--line-soft); }
.jr-imp-count { font-weight: 600; color: var(--warn); }
.jr-imp-lines { text-align: right; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-imp-error {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--warn-line); border-radius: var(--r-md);
  background: var(--warn-soft);
  font-size: 13px; line-height: 1.5; color: var(--text);
}
.jr-imp-error .ic { flex: none; margin-top: 2px; color: var(--warn); }
.jr-imp-stats + .jr-imp-error { margin-top: 18px; }

/* ---------- responsive ---------- */
/* cuando la tabla ya no cabe, el P&L queda fijo a la derecha y el resto se desplaza por debajo */
@media (max-width: 1400px) {
  .jr-table th:last-child, .jr-table td:last-child {
    position: sticky; right: 0;
    background: var(--bg-1);
    box-shadow: -1px 0 0 var(--line-soft);
  }
  .jr-table tbody tr:hover td:last-child { background: var(--bg-2); }
  .jr-setup { max-width: 170px; }
}
@media (max-width: 640px) {
  .jr-act-label { display: none; }
  .jr-act { width: 34px; padding: 0; }
  .jr-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .jr-search { grid-column: 1 / -1; max-width: none; }
  .jr-sel { width: 100%; max-width: none; }
  .jr-chip { justify-content: space-between; }
  .jr-clear { grid-column: 1 / -1; justify-self: end; margin: -2px 0; }
  .jr-table th:last-child, .jr-table td:last-child { padding-left: 12px; padding-right: 14px; }
  .jr-table th:first-child, .jr-table td:first-child { padding-left: 14px; }
  .jr-foot { padding: 10px 12px; }
  .jr-hero-pnl { font-size: 28px; }
  .jr-detail .drawer-body { padding: 18px 16px 22px; }
  .jr-detail .drawer-head { padding: 16px 16px 14px; }
  .jr-detail .drawer-foot { padding: 12px 16px; }
  .jr-cols { grid-template-columns: minmax(0, 1fr); gap: 6px; }

  .jr-view { flex: 1 1 100%; }
  .jr-view .seg { display: flex; }
  .jr-view .seg button { flex: 1; justify-content: center; }
  .jr-day-head {
    grid-template-columns: 16px minmax(0, 1fr) auto 6px;
    grid-template-areas: "chev date pnl dot" "chev meta pnl dot";
    column-gap: 10px; row-gap: 1px; padding: 9px 14px;
  }
  .jr-day-pnl { min-width: 0; }
  .jr-trade-row { gap: 9px; padding: 0 6px 0 14px; }
  .jr-t-time, .jr-t-setup, .jr-t-r, .jr-t-edit, .jr-t-del { display: none; }
  .jr-t-pnl { min-width: 0; }
  .jr-t-sym { min-width: 0; }
  .jr-trade-row .side { min-width: 0; }
  .jr-x { padding: 6px 14px 14px; }
  .jr-x-fact { flex-basis: 96px; padding: 9px 12px 10px; }
  .jr-x-foot.is-solo { display: flex; }
  .jr-x-acts { display: inline-flex; }
  .jr-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-lb { display: flex; align-items: center; justify-content: center; padding: 0 8px; }
  .jr-lb-fig { width: 100%; padding: 60px 0 76px; }
  .jr-lb-nav { position: absolute; bottom: 18px; }
  .jr-lb-prev { left: calc(50% - 50px); }
  .jr-lb-next { right: calc(50% - 50px); }
}
@media (max-width: 900px) {
  .jr-an-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .jr-t-time, .jr-t-r { display: none; }
}
@media (max-width: 420px) {
  .jr-trade-row .side { font-size: 0; gap: 0; }
}
