/* ==========================================================================
   Terminal skin. Loaded after bootstrap.min.css and overrides its visual
   layer; Bootstrap's grid, modal and validation plumbing is left alone.
   All values come from tokens.css - no raw hex below this line.
   ========================================================================== */

/* --------------------------------------------------------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-1);
  background: var(--plane);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--ink-1); font-weight: 600; margin: 0; }

img { max-width: 100%; }

::selection { background: var(--accent-wash); }

/* thin scrollbars - a dense UI shouldn't lose 15px to chrome */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 5px;
  border: 2px solid var(--plane);
}
*::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* numbers that sit in columns must align; standalone figures stay
   proportional per the type spec */
.num, td.num, th.num, .grid td, .grid th, .dygraph-axis-label {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------- app shell ----------- */
.app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app > main {
  flex: 1 1 auto;
  min-height: 0;         /* lets inner panels scroll instead of the page */
  overflow: auto;
}

.app-body { padding: var(--sp-5); min-height: 100%; }
/* the terminal manages its own gutters and needs a definite height so the
   three panes can scroll internally rather than growing the page */
.app-body--flush { padding: 0; height: 100%; }

/* ------------------------------------------------------- top bar --------- */
.topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--topbar-h);
  flex: 0 0 var(--topbar-h);
  padding: 0 var(--sp-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-1);
  white-space: nowrap;
}
.topbar__brand:hover { color: var(--ink-1); }
.topbar__brand-mark {
  width: 18px; height: 18px;
  border-radius: var(--radius);
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-ink);
  font-size: var(--fs-micro);
  font-weight: 700;
}

.topbar__nav { display: flex; align-items: center; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }

.topbar__link {
  display: block;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.topbar__link:hover { color: var(--ink-1); background: var(--surface-3); }
.topbar__link.is-active { color: var(--ink-1); background: var(--surface-3); box-shadow: inset 0 -2px 0 var(--accent); }

.topbar__spacer { flex: 1 1 auto; }

.topbar__meta { display: flex; align-items: center; gap: var(--sp-6); }

/* balance readout - a label over a figure, the top bar's stat tile */
.readout { display: flex; flex-direction: column; line-height: 1.15; }
.readout__label {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.readout__value {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------- status bar --------- */
.statusbar {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--statusbar-h);
  flex: 0 0 var(--statusbar-h);
  padding: 0 var(--sp-5);
  background: var(--surface-2);
  border-top: 1px solid var(--border-strong);
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.statusbar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gain);
  display: inline-block;
  margin-right: var(--sp-3);
}

/* -------------------------------------------------------- panels --------- */
.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: 0 0 auto;
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.panel__title {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.panel__head-spacer { flex: 1 1 auto; }
.panel__body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.panel__body--pad { padding: var(--sp-5); }
.panel__foot {
  flex: 0 0 auto;
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--ink-3);
}

/* -------------------------------------------- terminal 3-pane layout ----- */
.terminal {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--ticket-w);
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-4);
}
.terminal__center {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--sp-4);
  min-height: 0;
}

@media (max-width: 1200px) {
  .terminal { grid-template-columns: var(--rail-w) minmax(0, 1fr); }
  .terminal__ticket { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .terminal { grid-template-columns: minmax(0, 1fr); height: auto; }
  .terminal__rail { max-height: 280px; }
}

/* ------------------------------------------------------ data grid -------- */
.grid {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-size: var(--fs-base);
  color: var(--ink-1);
}

.grid thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: left;
}

.grid tbody td {
  height: var(--row-h);
  padding: 0 var(--sp-5);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  vertical-align: middle;
}

.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover td { background: var(--surface-3); }

.grid tfoot th {
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border-top: 1px solid var(--border-strong);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.grid .t-right, .grid td.t-right, .grid th.t-right { text-align: right; }
.grid__sym { font-weight: 600; letter-spacing: .02em; }
.grid__sub { display: block; font-size: var(--fs-micro); color: var(--ink-3); }

/* ------------------------------------------------------- watchlist ------- */
.watchlist { width: 100%; font-size: var(--fs-base); }

.watchlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink-1);
}
.watchlist__row:hover { background: var(--surface-3); color: var(--ink-1); }
.watchlist__row.is-active {
  background: var(--surface-3);
  box-shadow: inset 2px 0 0 var(--accent);
}
.watchlist__sym { font-weight: 600; letter-spacing: .02em; }
.watchlist__name {
  display: block;
  font-size: var(--fs-micro);
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watchlist__figs { text-align: right; font-variant-numeric: tabular-nums; }
.watchlist__last { display: block; font-weight: 600; }
.watchlist__chg { display: block; font-size: var(--fs-micro); }

.watchlist__filter {
  width: 100%;
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-input);
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-1);
  font-size: var(--fs-base);
}
.watchlist__filter::placeholder { color: var(--ink-3); }
.watchlist__filter:focus { outline: 0; background: var(--surface-1); }

/* ------------------------------------------------ deltas (up / down) ----- */
/* colour is always paired with a sign or an arrow, never used alone */
.delta { font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta--up   { color: var(--gain); }
.delta--down { color: var(--loss); }
.delta--flat { color: var(--ink-2); }
.delta__arrow { font-size: .85em; margin-right: 1px; }

/* -------------------------------------------------------- quote row ------ */
.quote {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding: var(--sp-5);
}
.quote__sym { font-size: var(--fs-xl); font-weight: 700; letter-spacing: .01em; }
.quote__name { font-size: var(--fs-base); color: var(--ink-3); }
.quote__last { font-size: var(--fs-hero); font-weight: 600; line-height: 1; }
.quote__delta { font-size: var(--fs-lg); font-weight: 600; }
.quote__spacer { flex: 1 1 auto; }

/* stat tiles - label above figure, the OHLC strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
}
.stat {
  flex: 1 1 0;
  min-width: 84px;
  padding: var(--sp-4) var(--sp-5);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat__label {
  display: block;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
}
.stat__value {
  display: block;
  margin-top: var(--sp-1);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------- order ticket ------ */
.ticket__body { padding: var(--sp-5); }

.ticket__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.ticket__side-btn {
  padding: var(--sp-4);
  background: var(--surface-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.ticket__side-btn:hover:not(:disabled) { color: var(--ink-1); border-color: var(--ink-3); }
.ticket__side-btn:disabled { opacity: .4; cursor: not-allowed; }
.ticket__side-btn.is-active[data-side="buy"] {
  background: var(--gain-wash); border-color: var(--gain); color: var(--gain);
}
.ticket__side-btn.is-active[data-side="sell"] {
  background: var(--loss-wash); border-color: var(--loss); color: var(--loss);
}

.field { margin-bottom: var(--sp-5); }
.field__label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
}

.ticket__rows { border-top: 1px solid var(--border); margin-top: var(--sp-5); }
.ticket__row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-3) 0;
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--border);
}
.ticket__row:last-child { border-bottom: 0; }
.ticket__row dt { color: var(--ink-3); font-weight: 400; margin: 0; }
.ticket__row dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket__row--total dd { font-size: var(--fs-lg); }

.ticket__submit {
  width: 100%;
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 0;
  border-radius: var(--radius);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  cursor: pointer;
}
.ticket__submit[data-side="buy"]  { background: var(--gain); }
.ticket__submit[data-side="sell"] { background: var(--loss); }
.ticket__submit:hover:not(:disabled) { filter: brightness(1.12); }
.ticket__submit:disabled { background: var(--surface-3); color: var(--ink-3); cursor: not-allowed; }

.ticket__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.ticket__actions .ticket__submit { margin-top: 0; }

.ticket__note {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-micro);
  line-height: 1.4;
  color: var(--ink-3);
}

/* ---------------------------------------------------------- forms -------- */
.input, .form-control, select.form-control {
  width: 100%;
  height: auto;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink-1);
  font-family: var(--font);
  font-size: var(--fs-body);
  box-shadow: none;
}
.input:focus, .form-control:focus, select.form-control:focus {
  background: var(--surface-input);
  border-color: var(--accent);
  color: var(--ink-1);
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent-wash);
}
.input::placeholder, .form-control::placeholder { color: var(--ink-3); }
.input.num, input[type="number"] { font-variant-numeric: tabular-nums; }

select.form-control, .select {
  appearance: none;
  padding-right: var(--sp-7);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
  border-color: var(--loss);
  background-image: none;
  box-shadow: none;
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
  box-shadow: 0 0 0 2px var(--loss-wash);
  outline: 0;
}
.invalid-tooltip, .invalid-feedback {
  background: var(--loss);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: var(--accent-ink);
}

.asterisk { color: var(--loss); }
.field__hint { font-size: var(--fs-micro); color: var(--ink-3); }

/* -------------------------------------------------------- buttons -------- */
.btn {
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: .04em;
  padding: var(--sp-4) var(--sp-5);
  box-shadow: none !important;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-success { background: var(--gain); border-color: var(--gain); color: var(--accent-ink); }
.btn-danger  { background: var(--loss); border-color: var(--loss); color: var(--accent-ink); }
.btn-secondary {
  background: var(--surface-input);
  border-color: var(--border-strong);
  color: var(--ink-2);
}
.btn-secondary:hover { background: var(--surface-3); border-color: var(--ink-3); color: var(--ink-1); }

/* segmented range switch on the chart */
.segmented { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.segmented__btn {
  padding: var(--sp-2) var(--sp-5);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border-strong);
  color: var(--ink-3);
  font-family: var(--font);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.segmented__btn:last-child { border-right: 0; }
.segmented__btn:hover { color: var(--ink-1); background: var(--surface-3); }
.segmented__btn.is-active { color: var(--accent-ink); background: var(--accent); }

.badge-pill--pos {
  display: inline-block;
  padding: 1px var(--sp-3);
  border-radius: 8px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: var(--fs-micro);
  font-weight: 700;
}

/* ---------------------------------------------------------- chart -------- */
.chart { position: relative; width: 100%; height: 100%; min-height: 320px; }
#graphdiv { width: 100%; height: 100%; min-height: 320px; }

.dygraph-axis-label { color: var(--ink-3); font-size: var(--fs-micro); }
.dygraph-title { color: var(--ink-2); font-size: var(--fs-small); font-weight: 600; padding-top: var(--sp-3); }
.dygraph-legend {
  text-align: right;
  background: var(--surface-2) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4) !important;
  font-size: var(--fs-small);
  color: var(--ink-2);
  width: auto !important;
  box-shadow: none;
}
.dygraph-legend span { color: var(--ink-1) !important; }

.chart__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  color: var(--ink-3);
  font-size: var(--fs-base);
}

/* ---------------------------------------------------------- flash -------- */
.flash { position: fixed; top: calc(var(--topbar-h) + var(--sp-5)); right: var(--sp-5); z-index: 1080; width: 340px; max-width: calc(100vw - 2 * var(--sp-5)); }
.flash .alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--ink-3);
  border-radius: var(--radius);
  color: var(--ink-1);
  font-size: var(--fs-base);
}
.flash .alert-success { border-left-color: var(--gain); }
.flash .alert-danger  { border-left-color: var(--loss); }
.flash .alert-warning { border-left-color: var(--warning); }
.flash .alert__icon { flex: 0 0 auto; font-weight: 700; }
.flash .alert-success .alert__icon { color: var(--gain); }
.flash .alert-danger  .alert__icon { color: var(--loss); }
.flash .alert-warning .alert__icon { color: var(--warning); }
.flash .close { color: var(--ink-3); opacity: 1; text-shadow: none; font-size: var(--fs-lg); font-weight: 400; }
.flash .close:hover { color: var(--ink-1); }

/* ---------------------------------------------------------- modal -------- */
.modal-content {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}
.modal-header, .modal-footer { border-color: var(--border); padding: var(--sp-5); }
.modal-body { padding: var(--sp-5); }
.modal-title { font-size: var(--fs-body); font-weight: 600; }
.modal-header .close { color: var(--ink-3); opacity: 1; text-shadow: none; font-weight: 400; }
.modal-header .close:hover { color: var(--ink-1); }
.modal-backdrop.show { opacity: .7; }

/* ---------------------------------------------------------- empty -------- */
.empty {
  padding: var(--sp-7);
  text-align: center;
  color: var(--ink-3);
  font-size: var(--fs-base);
}
.empty__title { display: block; margin-bottom: var(--sp-3); color: var(--ink-2); font-weight: 600; }

/* ----------------------------------------------------------- auth -------- */
.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: var(--sp-7) var(--sp-5);
}
.auth__card { width: 100%; max-width: 380px; }
.auth__card--wide { max-width: 560px; }
.auth__head { margin-bottom: var(--sp-6); text-align: center; }
.auth__title { font-size: var(--fs-xl); font-weight: 700; }
.auth__sub { margin-top: var(--sp-3); font-size: var(--fs-base); color: var(--ink-3); }
.auth__foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: var(--fs-base);
  color: var(--ink-3);
}
.auth__captcha { display: flex; align-items: center; gap: var(--sp-5); }
.auth__captcha img { border-radius: var(--radius); border: 1px solid var(--border-strong); }

/* --------------------------------------------------------- landing ------- */
.hero { padding: var(--sp-7) var(--sp-5); text-align: center; }
.hero__title { font-size: var(--fs-display); font-weight: 700; line-height: 1.15; }
.hero__sub { max-width: 520px; margin: var(--sp-5) auto 0; color: var(--ink-2); font-size: var(--fs-lg); }
.hero__marks {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-4); margin-top: var(--sp-7);
}
.hero__mark {
  min-width: 118px;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

/* ------------------------------------------------------------ news ------- */
.news__item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.news__item:last-child { border-bottom: 0; }
.news__item:hover { background: var(--surface-3); }
.news__thumb {
  flex: 0 0 72px;
  width: 72px; height: 54px;
  border-radius: var(--radius);
  background: var(--surface-3) center / cover no-repeat;
}
.news__body { min-width: 0; }
.news__headline {
  display: block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-1);
}
a.news__headline:hover { color: var(--accent); }
.news__summary {
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-base);
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news__meta { margin-top: var(--sp-3); font-size: var(--fs-micro); color: var(--ink-3); }
.news__meta > * + *::before { content: "·"; margin: 0 var(--sp-3); }

/* ------------------------------------------------------- utilities ------- */
.u-muted { color: var(--ink-3); }
.u-sec { color: var(--ink-2); }
.u-right { text-align: right; }
.u-center { text-align: center; }
.u-nowrap { white-space: nowrap; }
.u-flex { display: flex; }
.u-between { display: flex; justify-content: space-between; align-items: center; }
.u-gap { gap: var(--sp-5); }
.u-mt { margin-top: var(--sp-5); }
.u-mb { margin-bottom: var(--sp-5); }
.u-grow { flex: 1 1 auto; }
.u-hidden { display: none !important; }

/* screen-reader-only, for the labels that carry meaning beside colour */
.u-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* stack the two history blotters on narrow screens */
.blotters { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 1100px) { .blotters { grid-template-columns: 1fr; } }

/* positions blotter fills the page */
.page-grid { display: grid; gap: var(--sp-4); }
