.exchanges-page.exchanges-dashboard {
  background: #eef3f4;
  color: #04182f;
  font: 400 16px/1.5 "Poppins", system-ui, sans-serif;
}

.exchanges-dashboard .exchanges-header {
  display: block;
  max-width: none;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #d9e0e4;
}
.dashboard-header-inner {
  max-width: 1300px;
  margin: auto;
  padding: 6px clamp(14px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.exchanges-dashboard .exchanges-brand { font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; }
.dashboard-header-session { display: flex; min-width: 0; align-items: center; gap: clamp(4px, 2vw, 20px); }
.dashboard-header-session form { flex: none; }
.dashboard-header-inner .dashboard-greeting { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.exchanges-dashboard .dashboard-header-inner form { display: block; margin: 0; }
.exchanges-dashboard .dashboard-sign-out {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px;
  background: transparent;
  color: #04182f;
  font-weight: 500;
  white-space: nowrap;
}
.dashboard-sign-out svg { flex-shrink: 0; }
.exchanges-dashboard .exchanges-content { max-width: 1300px; padding: 32px clamp(14px, 3vw, 28px) 0; }
.exchanges-dashboard :focus-visible { outline: 2px solid #04182f; outline-offset: 3px; }
.exchange-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 10px; font-weight: 600; text-decoration: none; }
.exchange-back-link:hover { text-decoration: underline; }
.dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 32px;
  margin-bottom: 26px;
}
.exchanges-dashboard .dashboard-intro h1 {
  max-width: none;
  margin: 0 0 6px;
  font-size: clamp(26px, 3.15vw, 46px);
  line-height: 1.17;
}
.dashboard-intro p, .dashboard-section > p, .dashboard-promo p {
  margin: 0;
  color: #485465;
  line-height: 1.4;
}
.exchanges-dashboard .dashboard-create {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px clamp(20px, 4vw, 54px);
  border-radius: 8px;
  background: #04182f;
  color: #d3fcf3;
  text-align: center;
  text-decoration: none;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
}
.exchanges-dashboard .dashboard-create:hover { background: #163652; }
.dashboard-section { margin-top: 20px; }
.exchanges-dashboard .dashboard-section h2, :is(.exchanges-dashboard, .exchanges-confirm-creation, .exchanges-access, .exchanges-landing) .dashboard-promo h2 {
  margin: 0 0 4px;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.22;
}
.dashboard-cards { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.dashboard-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(208px, 24%);
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border: 1px solid #cbd4da;
  border-radius: 8px;
  background: #fff;
}
.dashboard-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 44px;
  border-right: 1px solid #cbd4da;
}
.dashboard-card-icon::before {
  position: absolute;
  width: 42px;
  height: 15px;
  border-radius: 50%;
  transform: translateY(8px);
  background: #d3fcf3;
  content: "";
}
.dashboard-card-icon svg { position: relative; }
.exchanges-dashboard .dashboard-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.23;
  overflow-wrap: anywhere;
}
.dashboard-card h3 a { text-decoration: none; }
.dashboard-card h3 a:hover { text-decoration: underline; }
.dashboard-card-status {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 5px;
  background: #ffecac;
  font-size: 13px;
  font-weight: 600;
}
.dashboard-card-action {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1.5px solid #04182f;
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}
.dashboard-card-action:hover { background: #eafbf6; }
.dashboard-action-arrow { display: none; }
.dashboard-empty { padding: 18px; border: 1px solid #cbd4da; border-radius: 8px; background: #fff; }
.dashboard-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 24%);
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  border-radius: 10px;
  background: #d3fcf3;
  overflow: hidden;
}
.dashboard-promo-copy { padding: 16px 20px; }
:is(.exchanges-dashboard, .exchanges-confirm-creation, .exchanges-access, .exchanges-landing) .dashboard-promo h2 { text-wrap: balance; }
:is(.exchanges-dashboard, .exchanges-confirm-creation, .exchanges-access, .exchanges-landing) .dashboard-promo .button_to { display: block; width: fit-content; margin-top: 6px; }
:is(.exchanges-dashboard, .exchanges-confirm-creation, .exchanges-access, .exchanges-landing) .dashboard-promo button {
  min-height: 44px;
  padding: 4px 0;
  background: transparent;
  color: #04182f;
  font-weight: 700;
  text-align: left;
}
.dashboard-promo button::after { content: " →"; }
.dashboard-promo button:hover { text-decoration: underline; }
.dashboard-promo-image { display: block; width: 100%; height: auto; align-self: end; }
.dashboard-promo.dashboard-promo--compact {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 27%);
  margin-top: 18px;
  border: 1px solid #cbd4da;
  border-radius: 9px;
  background: #d3fcf3;
  box-shadow: 0 2px 4px #04182f12;
  overflow-wrap: anywhere;
}
.dashboard-promo--compact .dashboard-promo-image { width: 100%; max-width: 255px; justify-self: end; }
.dashboard-preferences { margin: 14px 0 0; font-size: 14px; }

@media (max-width: 680px) {
  .exchange-back-link { display: flex; width: fit-content; margin-bottom: 0; }
  .exchanges-dashboard .exchanges-content { padding-top: 22px; }
  .dashboard-intro { grid-template-columns: minmax(0, 1fr); }
  .dashboard-card { grid-template-columns: 54px minmax(0, 1fr); gap: 0 12px; padding: 8px 10px; }
  .dashboard-card-icon { grid-row: span 2; }
  .dashboard-card-action { grid-column: 2; justify-content: flex-start; padding: 4px 0; border: 0; text-align: left; }
  .dashboard-action-arrow { display: inline; margin-left: 6px; }
  .dashboard-promo.dashboard-promo--compact { grid-template-columns: minmax(0, 1fr) minmax(100px, 33%); }
  .dashboard-promo--compact .dashboard-promo-image { align-self: center; }
  .dashboard-promo--compact .dashboard-promo-copy { padding: 12px 0 12px 14px; }
}

@media (max-width: 520px) {
  .dashboard-promo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dashboard-promo-image { width: min(100%, 340px); justify-self: end; }
}

@media (max-width: 360px) {
  .dashboard-promo.dashboard-promo--compact { grid-template-columns: minmax(0, 1fr); }
  .dashboard-promo--compact .dashboard-promo-copy { padding-right: 14px; }
  .dashboard-promo--compact .dashboard-promo-image { width: 55%; }
}
@media (prefers-reduced-motion: no-preference) {
  .exchanges-dashboard [data-dashboard-entry] {
    animation: exchange-screen-enter 220ms ease-out 80ms backwards;
  }

  .exchanges-dashboard [data-dashboard-entry="0"] { animation-delay: 0ms; }
  .exchanges-dashboard [data-dashboard-entry="1"] { animation-delay: 40ms; }
}
