:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #647082;
  --subtle: #8a95a5;
  --line: #d8e0eb;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --bg: #eef1f7;
  --accent: #2447d8;
  --accent-strong: #162c91;
  --accent-soft: #eef2ff;
  --accent-rgb: 36, 71, 216;
  --gold: #b57414;
  --gold-soft: #fff4df;
  --red: #b4233c;
  --black: #111827;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.13), transparent 34%),
    linear-gradient(315deg, rgba(181, 116, 20, 0.12), transparent 38%),
    var(--bg);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.shell {
  position: relative;
  width: min(1360px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-shell {
  position: relative;
  width: min(100%, 460px);
}

.auth-panel {
  border-radius: 8px;
  padding: 30px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-brand h1 {
  font-size: 2.1rem;
}

.auth-intro {
  padding: 24px 0 20px;
}

.auth-intro h2 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

.auth-intro p,
.auth-footnote {
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 2px;
}

.auth-submit {
  margin-top: 4px;
}

.auth-error {
  margin-bottom: 18px;
  border-left: 3px solid var(--red);
  background: #fff0f2;
  color: var(--red);
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 800;
}

.auth-footnote {
  margin-top: 18px;
  font-size: 0.76rem;
  text-align: center;
}

.surface {
  background: var(--panel);
  border: 1px solid rgba(220, 227, 235, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 18px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 28px);
  grid-template-rows: repeat(2, 28px);
  gap: 7px;
  width: 70px;
  height: 70px;
  padding: 6px;
  border-radius: 8px;
  background: #111820;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.brand-mark span {
  border-radius: 50%;
  background: #f7f9fb;
  box-shadow: inset -5px -7px 13px rgba(23, 32, 51, 0.16);
}

.brand-mark span:nth-child(2) {
  background: var(--accent);
}

.brand-mark span:nth-child(3) {
  background: #d79a2b;
  grid-column: 2;
}

.eyebrow,
.metric-label,
.field-label {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 1.18rem;
  letter-spacing: 0;
}

.status-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.pill {
  min-width: 116px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 13px;
  font-weight: 900;
}

.pill.running {
  color: var(--gold);
  border-color: rgba(183, 121, 31, 0.28);
  background: #fff8ea;
}

.pill.ready {
  color: var(--accent-strong);
  border-color: rgba(var(--accent-rgb), 0.24);
  background: var(--accent-soft);
}

.pill.failed {
  color: var(--red);
  border-color: rgba(190, 49, 68, 0.26);
  background: #fff0f2;
}

.microcopy,
small {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.metric-card {
  border-radius: 8px;
  padding: 17px;
  min-height: 118px;
  display: grid;
  align-content: space-between;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.layout {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
}

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

.command-panel {
  position: sticky;
  top: 16px;
}

.field-block {
  margin-bottom: 18px;
}

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

.game-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
  width: 100%;
  min-height: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.game-card:hover,
.game-card:focus {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.09);
}

.game-card.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 10px 24px rgba(var(--accent-rgb), 0.15);
}

.game-initial {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
}

.game-card:nth-child(3n) .game-initial {
  background: var(--accent);
}

.game-card:nth-child(3n + 1) .game-initial {
  background: var(--gold);
}

.game-card strong {
  font-size: 0.93rem;
}

.game-card small {
  line-height: 1.25;
}

.game-card-meta {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.jackpot-meta {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.11), transparent 58%),
    #f8f9fd;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.1);
}

.jackpot-label,
.jackpot-detail {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.jackpot-value {
  color: var(--accent-strong);
  font-size: 1.05rem;
  line-height: 1.1;
}

.jackpot-detail {
  min-height: 14px;
  color: rgba(23, 32, 51, 0.58);
  font-size: 0.66rem;
  letter-spacing: 0;
  text-transform: none;
}

.jackpot-meta--fixed {
  background:
    linear-gradient(135deg, rgba(181, 116, 20, 0.13), transparent 58%),
    #fffaf0;
  box-shadow: inset 0 0 0 1px rgba(181, 116, 20, 0.14);
}

.jackpot-meta--fixed .jackpot-value {
  color: #8b5610;
}

.jackpot-meta--updating,
.jackpot-meta--unavailable {
  background: #f3f6fa;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.jackpot-meta--updating .jackpot-value,
.jackpot-meta--unavailable .jackpot-value {
  color: var(--muted);
}

.draw-meta {
  display: grid;
  gap: 4px;
  align-self: end;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f7f9fc;
  color: var(--muted);
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.draw-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.draw-label-row > span:first-child {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.draw-status {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

.draw-time {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  font-size: 0.82rem;
  color: var(--accent-strong);
}

.draw-date {
  border-radius: 999px;
  padding: 2px 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.draw-clock {
  font-weight: 950;
}

.draw-timing {
  color: rgba(23, 32, 51, 0.62);
  font-size: 0.72rem;
  font-weight: 850;
}

.draw-meta--today,
.draw-meta--soon {
  background: var(--accent-soft);
}

.draw-meta--today .draw-date,
.draw-meta--soon .draw-date {
  background: var(--accent);
  color: #fff;
}

.draw-meta--soon .draw-status {
  background: var(--gold-soft);
  color: #9a6414;
}

.draw-meta--soon .draw-clock {
  color: #9a6414;
}

.draw-meta--passed {
  background: #f7f1e7;
}

.draw-meta--passed .draw-status {
  background: var(--gold-soft);
  color: #9a6414;
}

.draw-meta--passed .draw-timing {
  color: #9a6414;
}

.history-meta {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 7px;
  background: #f4f6fb;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.history-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.history-label-row > span:first-child {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-status {
  color: var(--accent-strong);
  font-size: 0.66rem;
  font-weight: 900;
}

.history-meta > strong {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.2;
}

.history-detail {
  color: rgba(23, 32, 51, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
}

.history-meta--current {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.14);
}

.history-meta--attention {
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(181, 116, 20, 0.16);
}

.history-meta--attention .history-status,
.history-meta--stale .history-status {
  color: #8b5610;
}

.history-meta--stale,
.history-meta--building {
  background: #fff8ea;
  box-shadow: inset 0 0 0 1px rgba(181, 116, 20, 0.2);
}

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

label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

select,
input[type="number"],
input[type="text"],
input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 7px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  padding: 8px 10px;
}

select:focus,
input[type="number"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
button:focus {
  outline: 3px solid rgba(var(--accent-rgb), 0.18);
  outline-offset: 2px;
}

.switch-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  margin: 2px 0 16px;
  cursor: pointer;
}

.switch-row input {
  position: absolute;
  opacity: 0;
}

.switch-visual {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #c7d0da;
  transition: background 0.16s ease;
}

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

.switch-row input:checked + .switch-visual {
  background: var(--accent);
}

.switch-row input:checked + .switch-visual::after {
  transform: translateX(20px);
}

.primary-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-weight: 900;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 12px 26px rgba(16, 24, 33, 0.22);
}

.panel-heading .primary-action {
  width: auto;
  min-width: 158px;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.primary-action:hover {
  transform: translateY(-1px);
  background: #071019;
}

.primary-action:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sign-out {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 2px 0;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.sign-out:hover {
  color: var(--accent-strong);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.message {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.hidden {
  display: none;
}

.active-run {
  max-width: 310px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: #f8fafb;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-body {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 14px;
}

.run-list {
  display: grid;
  gap: 9px;
  align-content: start;
  max-height: 520px;
  overflow: auto;
  padding: 12px;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
}

.run-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.run-item:hover,
.run-item.selected {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.08);
}

.run-title {
  display: block;
  font-weight: 900;
}

.run-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: capitalize;
}

.badge.failed {
  background: #fff0f1;
  color: var(--red);
}

.badge.running {
  background: #fff7e8;
  color: var(--gold);
}

.output-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.recent-shell,
.visual-shell {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.output-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.visual-output {
  display: grid;
  gap: 14px;
  max-height: 440px;
  overflow: auto;
  padding: 14px;
}

.analysis-block {
  display: grid;
  gap: 12px;
}

.analysis-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.analysis-head h3 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.model-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.model-summary-item {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.model-summary-item:nth-child(4) {
  border-right: 0;
}

.model-summary-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-summary-item strong,
.model-summary-item small {
  display: block;
  overflow-wrap: anywhere;
}

.model-summary-item strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.model-summary-item small {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.3;
}

.model-summary-item.validation.historical_lift strong {
  color: var(--accent-strong);
}

.model-summary-item.validation.stable_historical_lift strong {
  color: var(--accent-strong);
}

.model-summary-item.validation.no_stable_edge strong {
  color: var(--ink);
}

.model-summary-item.validation.below_baseline strong {
  color: var(--red);
}

.data-trust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #f2f5ff;
}

.data-trust-mark {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.data-trust strong,
.data-trust small {
  display: block;
}

.data-trust strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.data-trust small {
  margin-top: 3px;
  font-size: 0.7rem;
  line-height: 1.35;
}

.data-trust--fallback,
.data-trust--stale,
.data-trust--attention {
  background: #fff8ea;
}

.data-trust--fallback .data-trust-mark,
.data-trust--stale .data-trust-mark,
.data-trust--attention .data-trust-mark {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(181, 116, 20, 0.12);
}

.model-disclaimer {
  grid-column: 1 / -1;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.download-link:hover {
  background: #e1e8ff;
}

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

.outcome-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), transparent 42%),
    #fbfcfd;
}

.outcome-index {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.outcome-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.visual-ball {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 54px;
  border-radius: 8px;
  background: #111820;
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 32, 43, 0.16);
}

.visual-ball strong {
  font-size: 1.08rem;
  line-height: 1;
}

.visual-ball small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 900;
}

.visual-ball.special {
  background: var(--gold);
  color: #111820;
}

.visual-ball.special small {
  color: rgba(17, 24, 32, 0.68);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f3f6f8;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

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

  .layout,
  .activity-body {
    grid-template-columns: 1fr;
  }

  .command-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .auth-page {
    align-items: start;
    padding: 10px;
  }

  .auth-panel {
    padding: 22px;
  }

  .shell {
    width: min(100vw - 20px, 1360px);
    padding-top: 10px;
  }

  .topbar,
  .panel-heading {
    display: block;
  }

  .panel-heading .primary-action {
    width: 100%;
    margin-top: 14px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    grid-template-columns: repeat(2, 22px);
    grid-template-rows: repeat(2, 22px);
  }

  .status-stack {
    justify-items: start;
    margin-top: 16px;
  }

  .outcome-grid,
  .game-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .model-summary-item:nth-child(2) {
    border-right: 0;
  }

  .model-summary-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .analysis-head,
  .output-toolbar {
    display: block;
  }

  .download-link {
    margin-top: 9px;
  }

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

  .metric-card {
    min-height: 104px;
    padding: 16px;
  }

  .metric-card strong {
    font-size: 1.72rem;
  }

  .active-run {
    max-width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 360px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .model-summary {
    grid-template-columns: 1fr;
  }

  .model-summary-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .model-summary-item:nth-child(4) {
    border-bottom: 0;
  }
}
