:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #182230;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.panel {
  width: min(100%, 520px);
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 18px 45px rgb(24 34 48 / 10%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #007f74;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1;
}

.copy {
  margin: 18px 0 26px;
  color: #536072;
  font-size: 1rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 18px;
  text-decoration: none;
}

.button:hover {
  background: #283548;
}

.button.secondary {
  margin-top: 24px;
  background: #e8edf4;
  color: #182230;
}

.button.compact {
  min-height: 38px;
  margin-top: 0;
}

.profile {
  margin-top: 24px;
  color: #344054;
}

.profile img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

dt {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.app-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px;
}

.app-header,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-header {
  margin-bottom: 18px;
}

.app-header h1 {
  font-size: 2.25rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.surface,
.notice {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  margin-bottom: 16px;
}

.notice {
  border-color: #93c5bd;
  background: #eefaf8;
  color: #155e57;
}

.surface h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.muted {
  color: #667085;
}

.badge {
  border: 1px solid #b8c2d2;
  border-radius: 999px;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #182230;
  font: inherit;
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

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

.asset-item,
.opportunity-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
}

.code-box {
  max-height: 340px;
  overflow: auto;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #101828;
  color: #d1fadf;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 14px;
  white-space: pre-wrap;
}

.opportunity-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.opportunity-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
}

.opportunity-item p,
.opportunity-item dl {
  grid-column: 1 / -1;
}

.score {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #155e57;
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 760px) {
  .app-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.two,
  .form-grid,
  .asset-list {
    grid-template-columns: 1fr;
  }
}

.review-login-body {
  background:
    radial-gradient(circle at 12% 12%, rgb(37 244 238 / 12%), transparent 28rem),
    radial-gradient(circle at 88% 88%, rgb(254 44 85 / 10%), transparent 30rem),
    #f5f7fa;
}

.review-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.review-login-card {
  width: min(100%, 450px);
  border: 1px solid #e1e5eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(18 24 35 / 12%);
  padding: 42px;
}

.production-connect-shell { align-items: flex-start; padding: 64px 20px; }
.production-connect-card { max-width: 680px; text-align: left; }
.production-connect-card .review-logo, .production-connect-card .eyebrow { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.production-connect-card h1 { margin: 10px 0; text-align: center; }
.production-connect-card > .muted { text-align: center; margin: 0 auto 22px; max-width: 500px; }
.production-connect-card > .button { display: flex; justify-content: center; margin: 0 auto; width: fit-content; }
.production-connections { margin-top: 28px; border-top: 1px solid #f1dbe8; padding-top: 22px; }
.production-connections h2 { font-size: 18px; margin: 0 0 12px; }
.production-connection-card { border: 1px solid #f1dbe8; border-radius: 14px; padding: 16px; margin: 12px 0; background: #fffafd; }
.production-connection-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.production-connection-card > div span { color: #786b74; font-size: 13px; }
.production-connection-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.production-connection-card dl div { display: block; }
.production-connection-card dt { color: #8b7b84; font-size: 12px; }
.production-connection-card dd { margin: 3px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.production-data-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.production-data-actions input, .production-data-actions select { border: 1px solid #e3d4de; border-radius: 8px; min-height: 36px; padding: 0 10px; }
@media (max-width: 560px) { .production-connection-card dl { grid-template-columns: 1fr; } }

.review-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 9px;
}

.review-logo.small {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 6px;
}

.review-login-card h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: -0.04em;
}

.review-login-form {
  display: grid;
  gap: 17px;
}

.review-login-form label {
  display: grid;
  gap: 8px;
  color: #394150;
  font-size: 0.85rem;
  font-weight: 750;
}

.review-login-form input {
  min-height: 48px;
  border-radius: 10px;
}

.review-primary {
  min-height: 50px;
  margin-top: 4px;
  background: #111318;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #be123c;
  font-size: 0.86rem;
}

.review-security {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #edf0f4;
  margin-top: 24px;
  padding-top: 20px;
  color: #727b8b;
  font-size: 0.82rem;
}

.review-app-body {
  background: #f3f5f7;
}

.review-app {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 230px minmax(0, 1fr);
}

.review-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  border-right: 1px solid #e1e5eb;
  background: #fff;
  padding: 24px 18px;
}

.review-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 7px 32px;
}

.review-brand strong,
.review-brand span {
  display: block;
}

.review-brand span {
  color: #7a8494;
  font-size: 0.76rem;
}

.review-nav {
  display: grid;
  gap: 5px;
}

.review-nav button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #636d7d;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 12px 14px;
  text-align: left;
}

.review-nav button.active,
.review-nav button:hover {
  background: #f0f2f5;
  color: #111318;
}

.review-sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  color: #6d7685;
  font-size: 0.8rem;
}

.review-sidebar-footer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-button {
  border: 0;
  background: transparent;
  color: #6d7685;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.review-main {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 34px 40px 60px;
}

.review-topbar,
.section-intro,
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.review-topbar {
  margin-bottom: 28px;
}

.review-topbar h1 {
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.tiktok-connect {
  gap: 10px;
  background: #111318;
}

.tiktok-connect span {
  color: #25f4ee;
  font-size: 1.2rem;
  text-shadow: 2px 1px #fe2c55;
}

.review-tab {
  display: none;
}

.review-tab.active {
  display: block;
}

.review-hero {
  position: relative;
  display: flex;
  min-height: 210px;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 18px;
  background: #111318;
  color: #fff;
  padding: 34px;
}

.review-hero::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
  right: -70px;
  top: -130px;
}

.review-hero h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.review-hero p {
  margin: 0;
  color: #aeb6c3;
}

.tiktok-symbol {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 5rem;
  font-weight: 900;
  text-shadow: -5px 3px #25f4ee, 5px -3px #fe2c55;
}

.connection-badge {
  display: inline-flex;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
  padding: 7px 11px;
  text-transform: uppercase;
}

.connection-badge.connected {
  background: rgb(37 244 238 / 15%);
  color: #6ffcf7;
}

.connection-badge.pending {
  background: rgb(255 255 255 / 10%);
  color: #d8dde5;
}

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

.review-metrics article {
  display: grid;
  min-height: 135px;
  align-content: space-between;
  border: 1px solid #e1e5eb;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.review-metrics span,
.review-metrics small {
  color: #788292;
}

.review-metrics span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-metrics strong {
  font-size: 2rem;
}

.review-metrics small {
  font-size: 0.75rem;
}

.review-grid {
  display: grid;
  gap: 18px;
}

.review-grid.two {
  grid-template-columns: 1.1fr 0.9fr;
}

.review-card {
  border: 1px solid #e1e5eb;
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.card-heading h3,
.section-intro h2,
.empty-state h3 {
  margin: 4px 0 0;
}

.card-kicker {
  color: #8992a0;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7cdd6;
}

.health-dot.connected {
  background: #12b76a;
  box-shadow: 0 0 0 5px rgb(18 183 106 / 12%);
}

.count-pill {
  border-radius: 999px;
  background: #f0f2f5;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 11px;
}

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

.connection-details div {
  min-width: 0;
}

.connection-details dt {
  margin-bottom: 6px;
}

.connection-details dd {
  font-size: 0.88rem;
}

.review-scope-list {
  display: flex;
  max-height: 260px;
  flex-wrap: wrap;
  gap: 7px;
  overflow: auto;
  margin-top: 20px;
}

.review-scope-list span {
  border: 1px solid #e0e5eb;
  border-radius: 999px;
  background: #f8f9fb;
  color: #485262;
  font-size: 0.7rem;
  padding: 7px 9px;
}

.section-intro {
  margin-bottom: 22px;
}

.section-intro h2 {
  font-size: 2rem;
}

.section-intro p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #727c8b;
}

.refresh-button {
  border: 1px solid #d7dce4;
  border-radius: 9px;
  background: #fff;
  color: #384252;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 10px 14px;
}

.loading-state,
.empty-state {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  color: #7c8594;
  text-align: center;
}

.empty-state p {
  max-width: 470px;
  margin: 10px auto;
  line-height: 1.55;
}

.empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 15px;
  background: #f0f2f5;
  color: #555f6f;
  font-size: 1.5rem;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #edf0f4;
  padding: 15px 12px;
  text-align: left;
}

.data-table th {
  color: #7a8494;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.data-table td {
  font-size: 0.86rem;
}

.data-table td small {
  display: block;
  margin-top: 4px;
  color: #8a93a1;
}

.review-message {
  border: 1px solid #b7e5d0;
  border-radius: 11px;
  background: #edfbf4;
  color: #087443;
  margin-bottom: 18px;
  padding: 13px 16px;
}

.review-message.error {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .review-app {
    grid-template-columns: 1fr;
  }

  .review-sidebar {
    position: static;
    height: auto;
  }

  .review-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-sidebar-footer {
    display: none;
  }

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

@media (max-width: 620px) {
  .review-main {
    padding: 24px 16px 44px;
  }

  .review-topbar,
  .section-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-grid.two,
  .review-metrics,
  .connection-details {
    grid-template-columns: 1fr;
  }

  .review-login-card {
    padding: 30px 24px;
  }

  .review-hero {
    padding: 26px;
  }

  .tiktok-symbol {
    display: none;
  }
}

.exchange-body {
  min-height: 100vh;
  background: #eef2f6;
  color: #1f2937;
}

.exchange-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
}

.exchange-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #d7dde6;
  background: #ffffff;
  padding: 18px 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 18px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
}

.brand-lockup span {
  display: block;
  color: #667085;
  font-size: 0.78rem;
}

.side-nav {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.side-nav a {
  border-radius: 8px;
  color: #475467;
  font-weight: 750;
  padding: 10px 12px;
  text-decoration: none;
}

.side-nav a.active,
.side-nav a:hover {
  background: #e8f2ef;
  color: #0f766e;
}

.sidebar-foot {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  color: #475467;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0f766e;
}

.exchange-main {
  min-width: 0;
  padding: 22px;
}

.exchange-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.exchange-topbar h1 {
  font-size: 2rem;
  line-height: 1.1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 8px 12px;
}

.exchange-alert {
  border: 1px solid #c9d7f8;
  border-radius: 8px;
  background: #eef4ff;
  color: #263d70;
  margin-bottom: 14px;
  padding: 12px 14px;
}

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

.metric-card {
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: #667085;
  font-size: 0.82rem;
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #111827;
  font-size: 1.9rem;
  line-height: 1;
}

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

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

.exchange-panel {
  min-width: 0;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

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

.panel-toolbar h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.panel-toolbar p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
}

.exchange-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.exchange-table th,
.exchange-table td {
  border-bottom: 1px solid #e4e8ef;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

.exchange-table th {
  color: #667085;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.exchange-table tr {
  cursor: pointer;
}

.exchange-table tbody tr:hover {
  background: #f8fafc;
}

.exchange-table small {
  display: block;
  color: #667085;
  margin-top: 3px;
}

.table-score {
  display: inline-grid;
  min-width: 38px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #e8f2ef;
  color: #0f766e;
  font-weight: 900;
}

.state-chip {
  display: inline-flex;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 5px 9px;
  white-space: nowrap;
}

.detail-panel {
  align-self: start;
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.detail-empty {
  color: #667085;
}

.detail-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: #f6f8fb;
  padding: 12px;
}

.detail-score span,
.detail-block span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-score strong {
  color: #0f766e;
  font-size: 2rem;
}

.detail-panel h3 {
  margin: 14px 0;
}

.info-stack {
  display: grid;
  gap: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef1f5;
  padding-bottom: 8px;
}

.info-row span {
  color: #667085;
}

.info-row strong {
  text-align: right;
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scope-list span {
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 0.76rem;
  padding: 5px 8px;
}

.asset-summary {
  margin-top: 14px;
}

.asset-card-selected {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: #f6f8fb;
  padding: 12px;
}

.asset-card-selected span,
.asset-card-selected small {
  color: #667085;
}

.asset-card-selected small {
  overflow-wrap: anywhere;
}

.detail-block {
  margin-top: 14px;
}

.detail-block p {
  margin: 6px 0 0;
  color: #344054;
  line-height: 1.45;
}

.guardrail {
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 850;
  margin-top: 14px;
  padding: 10px 12px;
}

.catalog-status {
  display: grid;
  gap: 12px;
}

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

.catalog-grid .info-row {
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  padding: 10px 12px;
}

.catalog-scopes {
  margin-top: 2px;
}

.catalog-note {
  margin: 0;
}

.dense-form {
  display: grid;
  gap: 12px;
}

.dense-form.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dense-form label {
  display: grid;
  gap: 6px;
  color: #475467;
  font-size: 0.84rem;
  font-weight: 800;
}

.dense-form .wide {
  grid-column: 1 / -1;
}

.compact-box {
  max-height: 230px;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .exchange-layout {
    grid-template-columns: 1fr;
  }

  .exchange-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #d7dde6;
  }

  .side-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .side-nav a {
    text-align: center;
  }

  .sidebar-foot {
    position: static;
    margin-top: 12px;
  }

  .kpi-grid,
  .exchange-grid,
  .exchange-grid.lower,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .exchange-main {
    padding: 14px;
  }

  .exchange-topbar,
  .panel-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .dense-form.two-col {
    grid-template-columns: 1fr;
  }
}
