/* SunSetup — Energy Credit Marketplace
 * ---------------------------------------------------------------------------
 * One document, two skins. Everything below the token block is written once
 * and reads from custom properties, so Basic and Pro are the same components
 * at different densities rather than two codebases that drift apart.
 *
 *   [data-mode="basic"] — roomy, plain language. One number per card.
 *   [data-mode="pro"]   — light terminal. Tabular figures, depth ladder, tape.
 *
 * Both skins are light. What separates them is density and vocabulary, not
 * darkness — Pro packs an order book, a tape and a dispatch schedule into the
 * space Basic gives to four cards.
 */

/* ===================================================================== */
/* Tokens                                                                */
/* ===================================================================== */
:root {
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --disp: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --t: 160ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

[data-mode='basic'] {
  --bg: #eef4fb;
  --panel: #ffffff;
  --panel-2: #f7fafd;
  --panel-3: #eef3f9;
  --line: rgba(15, 23, 42, 0.10);
  --line-soft: rgba(15, 23, 42, 0.06);
  --text: #0f172a;
  --dim: #52637a;
  --faint: #8496ad;
  --up: #0f7a3d;
  --up-bg: rgba(15, 122, 61, 0.10);
  --down: #b3261e;
  --down-bg: rgba(179, 38, 30, 0.10);
  --accent: #0369a1;
  --accent-2: #075985;
  --accent-ink: #ffffff;
  --accent-bg: rgba(3, 105, 161, 0.09);
  --gold: #b45309;
  --gold-bg: rgba(245, 158, 11, 0.14);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  --num: var(--sans);
  --row-h: 60px;
}

/* Pro is a light terminal. What separates it from Basic is density, tabular
   figures and information per square inch — not darkness.
   Two consequences worth knowing when editing this block:
   - The up/down pair cannot be the usual terminal neon. #00c805 on white is
     around 2:1 and unreadable; these are darkened to carry the same meaning
     at an accessible contrast.
   - Hairlines do more work than in Basic, because there are no shadows and
     panels sit directly against each other, so --line is deliberately
     stronger here than the Basic equivalent. */
[data-mode='pro'] {
  --bg: #e7edf5;
  --panel: #ffffff;
  --panel-2: #f5f8fc;
  --panel-3: #e6ecf4;
  --line: rgba(15, 23, 42, 0.14);
  --line-soft: rgba(15, 23, 42, 0.075);
  --text: #0b1220;
  --dim: #4c5b70;
  --faint: #8494a8;
  --up: #0a7d3c;
  --up-bg: rgba(10, 125, 60, 0.11);
  --down: #c02626;
  --down-bg: rgba(192, 38, 38, 0.10);
  --accent: #b45309;
  --accent-2: #92400e;
  --accent-ink: #ffffff;
  --accent-bg: rgba(180, 83, 9, 0.12);
  --gold: #b45309;
  --gold-bg: rgba(245, 158, 11, 0.18);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.07);
  --num: var(--mono);
  --row-h: 26px;
  /* Height of the sticky header + tabs + stats strip. The terminal grid fills
     what is left of the viewport, and Pro toasts hang just below it. */
  --head-h: 118px;
}

/* ===================================================================== */
/* Base                                                                  */
/* ===================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[data-mode='pro'] body { font-size: 13px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--accent); }
[data-mode='pro'] a { color: var(--accent-2); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* Every figure in the interface is a column of digits that people compare
   vertically, so they all get tabular numerals in both modes. */
.num, .mono, td.num, th.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
[data-mode='pro'] .num { letter-spacing: -0.01em; }

.up { color: var(--up); }
.down { color: var(--down); }
.dim { color: var(--dim); }
.faint { color: var(--faint); }

/* ===================================================================== */
/* Shell                                                                 */
/* ===================================================================== */
.mk {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header and tab bar stick as one unit. Two separate `top: 0` sticky bars
   stack on top of each other the moment the page scrolls, and the tab bar
   loses — it slides under the header and stops being clickable. */
.mk-head { position: sticky; top: 0; z-index: 40; }

.mk-top {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
[data-mode='pro'] .mk-top { padding: 7px 12px; }

.mk-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--disp); font-weight: 800; font-size: 0.95rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
  white-space: nowrap;
}
.mk-brand__sun {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #fef3c7, #fbbf24 45%, #f59e0b 75%, #d97706);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
}
.mk-brand__sep { color: var(--faint); font-weight: 500; }
.mk-brand__app { color: var(--dim); font-weight: 600; }

/* Live market status */
.mk-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--up-bg); color: var(--up);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
}
.mk-status__dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: mkPulse 2.4s ease-in-out infinite;
}
@keyframes mkPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.mk-top__spacer { flex: 1 1 auto; }

/* --- the mode switch: the one control this page is really about ------- */
.mk-switch {
  position: relative; display: flex; flex: none;
  padding: 3px; border-radius: 999px;
  background: var(--panel-3);
  border: 1px solid var(--line);
}
.mk-switch__thumb {
  position: absolute; top: 3px; left: 3px; bottom: 3px;
  width: calc(50% - 3px); border-radius: 999px;
  background: var(--accent);
  transition: transform var(--t);
}
[data-mode='pro'] .mk-switch__thumb { transform: translateX(100%); }
.mk-switch__btn {
  position: relative; z-index: 1;
  padding: 5px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--dim);
  transition: color var(--t);
  white-space: nowrap;
}
.mk-switch__btn[aria-pressed='true'] { color: var(--accent-ink); }

.mk-iconbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text);
  font-size: 0.8rem; font-weight: 600;
  transition: background var(--t), border-color var(--t);
  white-space: nowrap;
}
.mk-iconbtn:hover { background: var(--panel-3); border-color: var(--accent); }

/* --- tabs ------------------------------------------------------------- */
.mk-tabs {
  display: flex; gap: 2px; align-items: center;
  padding: 0 18px;
  background: var(--panel); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.mk-tabs::-webkit-scrollbar { display: none; }
[data-mode='pro'] .mk-tabs { padding: 0 12px; }

.mk-tab {
  position: relative;
  padding: 11px 15px;
  font-size: 0.85rem; font-weight: 600; color: var(--dim);
  white-space: nowrap;
  transition: color var(--t);
}
[data-mode='pro'] .mk-tab { padding: 8px 13px; font-size: 0.78rem; }
.mk-tab::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform var(--t);
}
.mk-tab[aria-selected='true'] { color: var(--text); }
.mk-tab[aria-selected='true']::after { transform: scaleX(1); }
.mk-tab__count {
  display: inline-block; margin-left: 6px; padding: 0 6px;
  border-radius: 999px; background: var(--accent-bg); color: var(--accent);
  font-size: 0.68rem; font-weight: 700; font-family: var(--num);
}
[data-mode='pro'] .mk-tab__count { color: var(--accent-2); }

.mk-main { flex: 1 1 auto; }
.mk-view { display: none; }
.mk-view--active { display: block; }

/* Panels are only shown in the mode they belong to. */
[data-mode='basic'] .pro-only { display: none !important; }
[data-mode='pro'] .basic-only { display: none !important; }

.mk-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 18px 60px; }

/* ===================================================================== */
/* Atoms                                                                 */
/* ===================================================================== */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
[data-mode='pro'] .card { border-radius: var(--r-sm); box-shadow: none; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex; flex-direction: column;
  min-height: 0;
}
.panel__head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim);
  flex: none;
}
.panel__head h2, .panel__head h3 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.panel__head .grow { flex: 1 1 auto; }
.panel__body { flex: 1 1 auto; min-height: 0; overflow: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-md);
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid transparent;
  transition: filter var(--t), background var(--t);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--panel-3); }
.btn--sm { padding: 6px 12px; font-size: 0.78rem; }
.btn--buy { background: var(--up); color: #fff; }
.btn--sell { background: var(--down); color: #fff; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--panel-3); color: var(--dim);
  font-size: 0.7rem; font-weight: 700; white-space: nowrap;
}
.pill--up { background: var(--up-bg); color: var(--up); }
.pill--down { background: var(--down-bg); color: var(--down); }
.pill--accent { background: var(--accent-bg); color: var(--accent); }
[data-mode='pro'] .pill--accent { color: var(--accent-2); }
.pill--warn { background: var(--gold-bg); color: var(--gold); }

/* Risk grade chip. Colour carries meaning, the letter carries it again for
   anyone who cannot use the colour. */
.grade {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; padding: 2px 7px; border-radius: var(--r-sm);
  font-family: var(--num); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
}
.grade--strong { background: var(--up-bg); color: var(--up); }
.grade--good { background: var(--accent-bg); color: var(--accent); }
[data-mode='pro'] .grade--good { color: var(--accent-2); }
.grade--watch { background: var(--down-bg); color: var(--down); }

.meter { height: 5px; border-radius: 3px; background: var(--panel-3); overflow: hidden; }
.meter__fill { height: 100%; border-radius: 3px; background: var(--accent); transition: width var(--t); }
.meter__fill--strong { background: var(--up); }
.meter__fill--watch { background: var(--down); }

.tag {
  display: inline-block; padding: 1px 7px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--panel-2);
  font-size: 0.68rem; font-weight: 600; color: var(--dim);
}

.empty { padding: 44px 20px; text-align: center; color: var(--dim); }
.empty strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 1rem; }

/* ===================================================================== */
/* Basic mode                                                            */
/* ===================================================================== */
.b-hero { margin-bottom: 22px; }
.b-hero h1 {
  font-family: var(--disp); font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.b-hero p { max-width: 62ch; margin-top: 8px; color: var(--dim); }

.b-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 20px 0 24px;
}
.b-stat { padding: 15px 17px; }
.b-stat__k { font-size: 0.75rem; font-weight: 600; color: var(--dim); }
.b-stat__v {
  font-family: var(--num); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.02em; margin-top: 3px;
}
.b-stat__s { font-size: 0.75rem; color: var(--faint); }

/* Explainer strip — the thing that makes Basic worth having. */
.b-how {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0; margin-bottom: 24px; overflow: hidden;
}
.b-how__step { padding: 16px 18px; border-right: 1px solid var(--line-soft); }
.b-how__step:last-child { border-right: 0; }
.b-how__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  font-family: var(--num); font-size: 0.75rem; font-weight: 800;
}
.b-how__step h3 { font-size: 0.9rem; font-weight: 700; margin: 9px 0 3px; }
.b-how__step p { font-size: 0.82rem; color: var(--dim); line-height: 1.5; }

.b-filters {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  margin-bottom: 16px;
}
/* min-width:0 throughout. A flex item will not shrink below the intrinsic
   width of its content by default, and a <select> whose longest option is
   "SDG&E default LAP — San Diego" is intrinsically wider than a phone. Without
   this the control pushes its own card past the viewport. */
.b-search {
  flex: 1 1 240px; min-width: 0;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: var(--r-md);
  background: var(--panel); border: 1px solid var(--line);
}
.b-search input, .b-search select { flex: 1; min-width: 0; max-width: 100%; border: 0; background: none; outline: none; font-size: 0.88rem; }
.b-search input::placeholder { color: var(--faint); }

.sel {
  min-width: 0; max-width: 100%;
  padding: 9px 12px; border-radius: var(--r-md);
  background: var(--panel); border: 1px solid var(--line);
  font-size: 0.83rem; font-weight: 600; cursor: pointer;
}

/* Listing cards */
.board-count {
  margin: -4px 0 12px; font-size: 0.8rem; font-weight: 600; color: var(--dim);
}

.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }

.b-card {
  padding: 17px 18px; text-align: left; width: 100%;
  /* Grid items default to min-width:auto, i.e. min-content. A card holding a
     nowrap title longer than its column will otherwise stretch the 1fr track
     and push the whole page sideways. */
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.b-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.b-card__top { display: flex; align-items: flex-start; gap: 10px; }
.b-card__title { flex: 1; min-width: 0; }
.b-card__project {
  font-family: var(--disp); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.b-card__sponsor { font-size: 0.78rem; color: var(--dim); }

.b-price {
  display: flex; align-items: baseline; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-md);
  background: var(--panel-2); border: 1px solid var(--line-soft);
}
.b-price__big { font-family: var(--num); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.b-price__k { font-size: 0.75rem; color: var(--dim); }

.b-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-fact__k { font-size: 0.7rem; color: var(--faint); font-weight: 600; }
.b-fact__v { font-family: var(--num); font-size: 0.92rem; font-weight: 700; }

.b-card__foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 11px; border-top: 1px solid var(--line-soft);
  font-size: 0.76rem; color: var(--dim);
}

/* The plain-language money line: what you pay, what you keep. */
.b-math {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: var(--r-md);
  background: var(--up-bg);
  font-size: 0.82rem;
}
.b-math b { font-family: var(--num); font-size: 0.95rem; }
.b-math__arrow { color: var(--faint); }

/* ===================================================================== */
/* Pro mode — terminal grid                                              */
/* ===================================================================== */
[data-mode='pro'] .mk-wrap { max-width: none; padding: 0; }

.p-strip {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow-x: auto; scrollbar-width: none;
}
.p-strip::-webkit-scrollbar { display: none; }
.p-strip__item {
  padding: 7px 16px; border-right: 1px solid var(--line-soft);
  white-space: nowrap; flex: none;
}
.p-strip__k {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint);
}
.p-strip__v { font-family: var(--mono); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.p-grid {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 300px;
  gap: 1px;
  background: var(--line-soft);
  height: calc(100vh - var(--head-h));
  min-height: 560px;
}
.p-col { display: flex; flex-direction: column; gap: 1px; min-width: 0; min-height: 0; }

/* --- watchlist -------------------------------------------------------- */
.p-search {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-bottom: 1px solid var(--line);
  flex: none;
}
.p-search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: var(--mono); font-size: 0.75rem;
}
.p-search input::placeholder { color: var(--faint); }

.p-list { flex: 1 1 auto; overflow-y: auto; }
.p-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 8px;
  width: 100%; text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 90ms linear;
}
.p-row:hover { background: var(--panel-2); }
.p-row--on { background: var(--panel-3); box-shadow: inset 2px 0 0 var(--accent); }
.p-row__id { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: -0.02em; }
.p-row__sub {
  grid-column: 1; font-size: 0.66rem; color: var(--faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.p-row__px { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; text-align: right; }
.p-row__chg { grid-column: 2; font-family: var(--mono); font-size: 0.66rem; text-align: right; }

/* --- chart ------------------------------------------------------------ */
.p-chart { flex: 1 1 auto; min-height: 220px; position: relative; }
.p-chart svg { display: block; width: 100%; height: 100%; }
.p-chart__grid { stroke: var(--line-soft); stroke-width: 1; }
.p-chart__axis { fill: var(--faint); font-family: var(--mono); font-size: 9px; }
.p-candle--up { fill: var(--up); stroke: var(--up); }
.p-candle--down { fill: var(--down); stroke: var(--down); }
.p-vol--up { fill: var(--up); opacity: 0.28; }
.p-vol--down { fill: var(--down); opacity: 0.28; }
.p-chart__last { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 3; }

.p-chart__tools { display: flex; gap: 1px; }
.p-chart__tool {
  padding: 2px 8px; border-radius: 3px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700; color: var(--faint);
}
.p-chart__tool[aria-pressed='true'] { background: var(--panel-3); color: var(--accent-2); }

/* --- order book ------------------------------------------------------- */
.p-book { font-family: var(--mono); font-size: 0.72rem; }
.p-book__head {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 4px 10px; gap: 8px;
  font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--faint); border-bottom: 1px solid var(--line-soft);
}
.p-book__row {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.p-book__row > * { position: relative; z-index: 1; }
.p-book__row > :nth-child(2), .p-book__row > :nth-child(3) { text-align: right; }
/* Cumulative depth, drawn behind the row from the price side inward. */
.p-book__depth {
  position: absolute; top: 0; bottom: 0; right: 0; z-index: 0;
  opacity: 0.20;
}
.p-book__row--bid .p-book__depth { background: var(--up); }
.p-book__row--ask .p-book__depth { background: var(--down); }
.p-book__row--bid > :first-child { color: var(--up); }
.p-book__row--ask > :first-child { color: var(--down); }
.p-book__row:hover { background: var(--panel-2); }

.p-book__mid {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 10px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.p-book__last { font-family: var(--mono); font-size: 1rem; font-weight: 800; }
.p-book__spread { font-size: 0.66rem; color: var(--faint); margin-left: auto; }

/* --- tape ------------------------------------------------------------- */
.p-tape { font-family: var(--mono); font-size: 0.71rem; }
.p-tape__row {
  display: grid; grid-template-columns: 62px 1fr 1fr 44px; gap: 8px;
  padding: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.p-tape__row > :nth-child(2), .p-tape__row > :nth-child(3) { text-align: right; }
.p-tape__row--head {
  font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--faint); border-bottom: 1px solid var(--line-soft);
}
.p-tape__row--new { animation: tapeIn 260ms ease-out; }
@keyframes tapeIn {
  from { opacity: 0; transform: translateY(-6px); background: var(--accent-bg); }
  to { opacity: 1; transform: none; background: transparent; }
}

/* --- order ticket ----------------------------------------------------- */
.p-ticket { padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.p-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: var(--r-sm); overflow: hidden; }
.p-side__btn {
  padding: 7px; font-size: 0.76rem; font-weight: 700;
  background: var(--panel-3); color: var(--dim);
  transition: background var(--t), color var(--t);
}
.p-side__btn[aria-pressed='true'] { background: var(--up); color: #fff; }
.p-side__btn--sell[aria-pressed='true'] { background: var(--down); color: #fff; }

.f-row { display: flex; flex-direction: column; gap: 3px; }
.f-row > label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--faint);
}
.f-in {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: var(--r-sm);
  background: var(--panel-2); border: 1px solid var(--line);
}
.f-in:focus-within { border-color: var(--accent); }
.f-in input, .f-in select {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: var(--num); font-size: 0.86rem; font-weight: 600;
}
.f-in__unit { font-size: 0.72rem; color: var(--faint); font-family: var(--mono); }
.f-in--err { border-color: var(--down); }

.f-note { font-size: 0.7rem; color: var(--faint); line-height: 1.45; }
.f-err { font-size: 0.72rem; color: var(--down); font-weight: 600; }

.p-calc { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: var(--r-sm); background: var(--panel-2); }
.p-calc__row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.74rem; }
.p-calc__row b { font-family: var(--num); font-variant-numeric: tabular-nums; }
.p-calc__row--total { padding-top: 5px; margin-top: 3px; border-top: 1px solid var(--line); font-weight: 700; }

.p-hot {
  display: flex; flex-wrap: wrap; gap: 5px 10px;
  padding: 6px 10px; border-top: 1px solid var(--line);
  font-size: 0.65rem; color: var(--faint);
}
kbd {
  display: inline-block; padding: 0 4px; min-width: 16px; text-align: center;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px;
  background: var(--panel-3); font-family: var(--mono); font-size: 0.65rem; color: var(--dim);
}

/* --- underwriting console -------------------------------------------- */
.p-risk { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line-soft); }
.risk-leg { display: grid; grid-template-columns: 1fr 42px; gap: 4px 10px; align-items: center; padding: 6px 12px; }
.risk-leg__k { font-size: 0.76rem; }
.risk-leg__v { font-family: var(--num); font-size: 0.78rem; font-weight: 700; text-align: right; }
.risk-leg .meter { grid-column: 1 / -1; }

/* ===================================================================== */
/* Tables (deals, docs, checks) — shared by both modes                   */
/* ===================================================================== */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); }
[data-mode='pro'] .tbl th, [data-mode='pro'] .tbl td { padding: 5px 10px; }
.tbl th {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
  position: sticky; top: 0; background: var(--panel); z-index: 1;
}
.tbl td { font-size: 0.84rem; }
[data-mode='pro'] .tbl td { font-size: 0.74rem; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr { transition: background var(--t); }
.tbl tbody tr:hover { background: var(--panel-2); }
.tbl__sort { display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.tbl__sort[aria-sort] { color: var(--accent); }
[data-mode='pro'] .tbl__sort[aria-sort] { color: var(--accent-2); }

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--faint); margin-right: 6px; vertical-align: middle;
}
.dot--ok { background: var(--up); }
.dot--warn { background: var(--gold); }
.dot--bad { background: var(--down); }

/* Pipeline for deal status */
.pipe { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.pipe__step { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--faint); }
.pipe__step + .pipe__step::before {
  content: ''; width: 18px; height: 1px; background: var(--line); margin: 0 7px;
}
.pipe__dot {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); background: var(--panel);
}
.pipe__step--done .pipe__dot { background: var(--up); border-color: var(--up); }
.pipe__step--done { color: var(--dim); }
.pipe__step--now .pipe__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.pipe__step--now { color: var(--text); font-weight: 700; }

/* ===================================================================== */
/* Drawer (listing detail / deal room / ticket on Basic)                 */
/* ===================================================================== */
.scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 8, 14, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.scrim--on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(560px, 100%);
  display: flex; flex-direction: column;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.28);
  transform: translateX(100%);
  transition: transform var(--t);
  visibility: hidden;
}
.drawer--on { transform: none; visibility: visible; }
.drawer__head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer__title { flex: 1; min-width: 0; }
.drawer__title h2 { font-family: var(--disp); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.drawer__title p { font-size: 0.78rem; color: var(--dim); }
.drawer__x {
  width: 30px; height: 30px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; color: var(--dim);
  border: 1px solid var(--line);
}
.drawer__x:hover { background: var(--panel-3); color: var(--text); }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 18px 30px; }
.drawer__foot {
  display: flex; gap: 9px; padding: 12px 18px;
  border-top: 1px solid var(--line); background: var(--panel-2); flex: none;
}

.dsec { margin-bottom: 20px; }
.dsec__h {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 9px;
}
.kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; }
.kv__k { font-size: 0.8rem; color: var(--dim); }
.kv__v { font-family: var(--num); font-size: 0.83rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.seg { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--panel-3); margin-bottom: 14px; }
.seg__btn {
  flex: 1; padding: 6px 10px; border-radius: var(--r-sm);
  font-size: 0.76rem; font-weight: 700; color: var(--dim);
  transition: background var(--t), color var(--t);
}
.seg__btn[aria-selected='true'] { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }

/* ===================================================================== */
/* Energy desk                                                           */
/* ===================================================================== */
.desk-h {
  font-family: var(--disp); font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 3px;
}
.desk-h__n {
  display: inline-block; padding: 1px 8px; border-radius: 999px; vertical-align: 3px;
  background: var(--panel-3); color: var(--dim);
  font-family: var(--num); font-size: 0.72rem; font-weight: 700;
}

.desk-sub { color: var(--dim); font-size: 0.85rem; margin-bottom: 13px; max-width: 70ch; }

.desk-subbar { padding: 12px 12px 0; }

.desk-grid {
  display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px;
  gap: 1px; background: var(--line-soft);
  height: calc(100vh - var(--head-h) + 26px);
  min-height: 580px;
}

.desk-sel {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--panel-2); color: var(--text);
  font-family: var(--mono); font-size: 0.7rem; padding: 2px 6px; max-width: 190px;
}

/* --- price curve ------------------------------------------------------ */
.curve { flex: 1 1 auto; min-height: 190px; position: relative; }
.curve--basic { height: 260px; margin-top: 12px; }
.curve svg { display: block; width: 100%; height: 100%; }

.curve__da { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.curve__rt { fill: none; stroke: var(--dim); stroke-width: 1.2; stroke-dasharray: 4 3; }
.curve__gap { fill: var(--dim); opacity: 0.22; }
/* Below zero is the single most counter-intuitive fact on this screen, so it
   gets a filled band rather than just a gridline. */
.curve__negzone { fill: var(--down); opacity: 0.09; }
.curve__zero { stroke: var(--down); stroke-width: 1; stroke-dasharray: 2 3; }
.curve__chg { fill: var(--down); }
.curve__dis { fill: var(--up); }

.curve__key {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding: 7px 12px; font-size: 0.7rem; color: var(--dim);
  border-top: 1px solid var(--line-soft);
}
.curve__key .k { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.k--da { background: var(--accent); }
.k--rt { background: var(--dim); }
.k--neg { background: var(--down); opacity: 0.5; }
.k--chg { background: var(--down); height: 8px; width: 8px; border-radius: 50%; }
.k--dis { background: var(--up); height: 8px; width: 8px; border-radius: 50%; }

/* --- credentials ------------------------------------------------------ */
.cred-list { display: flex; flex-direction: column; }
.cred {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 8px 10px; border-bottom: 1px solid var(--line-soft); cursor: pointer;
}
.cred:hover { background: var(--panel-2); }
.cred input { margin-top: 3px; flex: none; }
.cred__body { display: flex; flex-direction: column; gap: 1px; }
.cred__body b { font-size: 0.78rem; }

.row--on { background: var(--panel-3); box-shadow: inset 2px 0 0 var(--accent); }
.row--blocked td:first-child { color: var(--down); }

/* --- gated + blocked cards -------------------------------------------- */
.b-card--gated { opacity: 0.86; }
/* Credit listings have short, uniform project names and read better clipped
   to one line. Strategy names are sentences, so they wrap instead. */
.b-card--strategy .b-card__project,
.b-card--blocked .b-card__project { white-space: normal; }
.b-card--blocked {
  text-align: left; width: 100%;
  border-color: var(--down);
  background:
    repeating-linear-gradient(135deg, var(--down-bg) 0 10px, transparent 10px 20px),
    var(--panel);
}
.b-card--blocked:hover { transform: translateY(-2px); }
.blocked-lock {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: var(--r-sm);
  background: var(--down-bg); color: var(--down);
}
.blocked-lock--sm { width: auto; height: auto; background: none; }
.blocked-bar {
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--line-soft);
}

/* --- product locks ---------------------------------------------------- */
/* Locked products stay on the board. A padlock plus a hatched row says "you
   cannot buy this" far faster than prose, and hiding them would imply the gap
   does not exist. */
.lock-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 999px; vertical-align: 3px;
  background: var(--down-bg); color: var(--down);
  font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.lock-inline { color: var(--down); vertical-align: -3px; }

.tbl tbody tr.tbl__group td {
  padding: 7px 10px 3px;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
  background: var(--panel-2);
}
.tbl tbody tr.tbl__group:hover { background: var(--panel-2); }

tr.row--locked td:first-child { color: var(--down); }
tr.row--locked {
  background: repeating-linear-gradient(135deg, var(--down-bg) 0 8px, transparent 8px 16px);
}

.crumbs { font-size: 0.8rem; color: var(--faint); }
.crumbs a { color: var(--dim); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span { margin: 0 2px; }

/* --- category sections ------------------------------------------------ */
.cat { margin-bottom: 30px; }

.cat-head {
  display: flex; align-items: flex-start; gap: 13px;
  margin-bottom: 14px;
}
.cat-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--accent-bg); color: var(--accent);
}
[data-mode='pro'] .cat-icon { color: var(--accent-2); }
.cat-head__text { flex: 1; min-width: 0; }
.cat-head__text h2 {
  font-family: var(--disp); font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.3;
}
.cat-head__text p { font-size: 0.85rem; color: var(--dim); max-width: 72ch; margin-top: 2px; }

.cat-more {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 13px;
}
.cat-more .btn { text-decoration: none; }
.cat-more__all { margin-left: auto; }

.chev { vertical-align: -2px; transition: transform var(--t); }
.chev--up { transform: rotate(180deg); }

/* --- the gate --------------------------------------------------------- */
/* Publisher-paywall treatment on the locked listings past the first three:
   blurred, faded out into the background, with a panel over the top. The
   visual language normally means "pay to continue", so the copy in the panel
   has to do the opposite work — nothing here is purchasable at any price. */
.gate { position: relative; margin-bottom: 24px; }

.gate__masked {
  filter: blur(5px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  max-height: 520px;
  overflow: hidden;
  /* Fade the bottom out rather than cutting it off — a hard edge reads as a
     rendering bug, a fade reads as "there is more". */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0, 0, 0, 0.25) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0, 0, 0, 0.25) 68%, transparent 100%);
}

.gate__panel {
  position: absolute; left: 50%; bottom: 8px;
  transform: translateX(-50%);
  width: min(560px, 92%);
  padding: 24px 26px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}
/* The campaign flag leads the panel. The lock is the situation; the campaign
   is the thing we actually want read, so it gets the top line. */
.gate__flag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; margin-bottom: 11px; border-radius: 999px;
  background: var(--accent-bg); color: var(--accent);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
}
[data-mode='pro'] .gate__flag { color: var(--accent-2); }
.gate__flag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: mkPulse 2.4s ease-in-out infinite;
}

.gate__list {
  list-style: none; margin: 13px 0 0; padding: 0;
  text-align: left; display: inline-block;
}
.gate__list li {
  position: relative; padding-left: 22px; margin-bottom: 5px;
  font-size: 0.83rem; color: var(--text);
}
.gate__list li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
[data-mode='pro'] .gate__list li::before { background: var(--accent-2); }

.gate__foot { font-size: 0.75rem; color: var(--faint); margin-top: 13px; line-height: 1.5; }
.gate__panel h3 {
  font-family: var(--disp); font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 8px;
}
.gate__panel p { font-size: 0.85rem; color: var(--dim); line-height: 1.55; }
.gate__actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 15px; }
.gate__actions .btn { text-decoration: none; }

/* Pro: the same idea at table density. */
tr.row--gated td {
  filter: blur(3.5px);
  opacity: 0.45;
  user-select: none;
}
tr.row--gated { pointer-events: none; }
tr.row--gate td {
  padding: 10px 12px;
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem; color: var(--dim);
}
tr.row--gate:hover td { background: var(--panel-2); }
tr.row--gate a { font-weight: 700; }

@media (max-width: 560px) {
  .gate__panel { padding: 18px 16px; width: 96%; }
  .gate__masked { max-height: 320px; }
}

/* ===================================================================== */
/* Blocker — the hard stop                                               */
/* ===================================================================== */
.blocker {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(4, 8, 14, 0.72);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.blocker--on { opacity: 1; visibility: visible; }

.blocker__panel {
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--down);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(10px);
  transition: transform var(--t);
}
.blocker--on .blocker__panel { transform: none; }

.blocker__lock {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 14px;
  border-radius: var(--r-md);
  background: var(--down-bg); color: var(--down);
}
.blocker__panel h2 {
  font-family: var(--disp); font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.25; margin: 10px 0 6px;
}
.blocker__plain { color: var(--dim); font-size: 0.9rem; margin-bottom: 16px; }

.blocker__box {
  padding: 13px 15px; margin-bottom: 11px;
  border-radius: var(--r-md);
  background: var(--panel-2); border: 1px solid var(--line);
  font-size: 0.86rem; line-height: 1.55;
}
.blocker__box--ask { background: var(--accent-bg); border-color: transparent; }

.blocker__actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.blocker__actions .btn { flex: 1 1 auto; text-decoration: none; }

/* Exactly what left the browser, shown verbatim. If someone is going to paste
   this into an email themselves, they need to see the real thing. */
.outbox-pre {
  margin: 0; padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--panel-2); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
code {
  padding: 1px 5px; border-radius: 4px;
  background: var(--panel-3); font-family: var(--mono); font-size: 0.85em;
}

/* ===================================================================== */
/* Toast                                                                 */
/* ===================================================================== */
/* Bottom-centre on narrow screens where there is nowhere else to go; out of
   the way in the corner on desktop, because centred toasts land squarely on
   top of the tape in Pro. */
.toast-wrap {
  position: fixed; left: 50%; bottom: 22px; z-index: 80;
  transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
@media (min-width: 720px) {
  .toast-wrap {
    left: auto; right: 18px; bottom: 18px;
    transform: none; align-items: flex-end;
  }
  /* In Pro the bottom-right corner is the order ticket and the bottom-centre
     is the tape, so notifications go top-right, clear of both. */
  [data-mode='pro'] .toast-wrap {
    top: calc(var(--head-h) + 10px); bottom: auto;
  }
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 17px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  font-size: 0.83rem; font-weight: 600;
  animation: toastIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 92vw;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast--out { animation: toastOut 200ms ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ===================================================================== */
/* Disclosure banner — this is a demo and must always say so             */
/* ===================================================================== */
.demo-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 18px;
  background: var(--gold-bg);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem; color: var(--text);
}
.demo-note b { font-weight: 700; }
.demo-note a { font-weight: 700; }

/* ===================================================================== */
/* Responsive                                                            */
/* ===================================================================== */
@media (max-width: 1080px) {
  .p-grid { grid-template-columns: 220px minmax(0, 1fr) 268px; }
  .desk-grid { grid-template-columns: 240px minmax(0, 1fr) 280px; }
}
/* Below this the three-column terminals stack. Both grids must be listed —
   dropping one leaves it three columns wide inside a phone-width viewport,
   which scrolls the whole document sideways. */
@media (max-width: 900px) {
  .p-grid,
  .desk-grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto; min-height: 0;
  }
  .p-col { min-height: 320px; }
  .p-chart { min-height: 260px; }
  .mk-top { flex-wrap: wrap; }
  .b-how__step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .mk-wrap { padding: 16px 13px 48px; }
  .b-grid { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
  .mk-brand__app, .mk-brand__sep { display: none; }
  .b-card__facts { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================== */
/* Accessibility                                                         */
/* ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* The tape and the status dot are the two things that move on their own.
     Data still updates — only the motion stops. */
  .mk-status__dot { opacity: 1; }
  .p-tape__row--new { animation: none; }
}
