@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #25342d;
  background: #f4f5ef;
  font-synthesis: none;
  --ink: #14251c;
  --muted: #748078;
  --line: #e0e5da;
  --green: #366a41;
  --lime: #c4ed9f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #82a55e;
  outline-offset: 4px;
}
button {
  transition:
    background 0.2s,
    transform 0.2s;
}
button:hover:not(:disabled) {
  filter: brightness(0.97);
}
.topbar {
  height: 80px;
  background: #15221c;
  color: #eef5e7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5.2%;
  border-bottom: 1px solid #334237;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 20px;
  letter-spacing: -0.8px;
}
.brand-mark {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 44px;
  color: var(--lime);
}
.brand-mark span {
  color: #eef5e7;
}
.brand strong {
  font-weight: 450;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.brand-divider {
  color: #536357;
  margin: 0 16px;
  font-weight: 400;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.network {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.network i {
  display: inline-block;
  background: #5179ed;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px #263c64;
}
.quiet {
  border: 0;
  background: none;
  color: inherit;
  font-size: 12px;
  padding: 8px 0;
}
.header-actions .quiet {
  color: #c3cfc0;
}
.quiet span {
  padding-left: 10px;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 48px 5.2% 0;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #668365;
}
.eyebrow span {
  margin-left: 22px;
  color: #a3aaa0;
  font-weight: 500;
}
h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(29px, 3.2vw, 45px);
  line-height: 1.25;
  letter-spacing: -1.9px;
  font-weight: 600;
  margin: 11px 0 10px;
}
h1 > span {
  color: #7d9c52;
}
.intro p {
  font-size: 14px;
  margin: 0;
  color: #748078;
}
.sync {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 18px;
  max-width: 300px;
  padding-bottom: 4px;
}
.status {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #90a37d;
}
.status.live::before {
  background: #6e9b46;
  box-shadow: 0 0 0 3px #e4eddc;
}
.status.error::before {
  background: #c88641;
}
.refresh {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 16px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.refresh span {
  font-size: 11px;
}
.sync small {
  width: 100%;
  color: #889286;
  text-align: right;
  font-size: 10px;
}
.notice {
  padding: 13px 16px;
  background: #fbf0da;
  border: 1px solid #e7d4ab;
  border-radius: 9px;
  font-size: 13px;
  margin-bottom: 20px;
  color: #775b2d;
}
.pool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pool-card {
  background: #fff;
  border: 1px solid #e0e5db;
  border-radius: 13px;
  padding: 23px 26px 19px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 6px #28351c03;
}
.pool-card.selected {
  border-color: #90ac77;
}
.pool-card .pool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pair {
  display: flex;
  gap: 11px;
  align-items: center;
}
.coin-pair {
  display: flex;
  padding-right: 8px;
}
.coin {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid white;
}
.coin.brs {
  background: #ddeaaf;
  color: #4e6931;
}
.coin.brla {
  background: #e5ead8;
  color: #687a38;
}
.coin.usdc {
  background: #2f6bcc;
  color: #fff;
  margin-left: -7px;
  font-size: 16px;
}
.pair h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin: 0 0 3px;
}
.pair small {
  font-size: 10px;
  color: #8b938a;
}
.pill {
  font-size: 10px;
  border-radius: 20px;
  padding: 5px 8px;
  background: #edf4e6;
  color: #65864a;
  white-space: nowrap;
}
.pill.warning {
  background: #faf0df;
  color: #9a733b;
}
.pool-value {
  margin: 23px 0 18px;
}
.pool-value > span {
  display: block;
  font-size: 11px;
  color: #7b857a;
  margin-bottom: 5px;
}
.pool-value strong {
  font-family: Manrope, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.4px;
}
.pool-value strong em {
  font-size: 18px;
  font-style: normal;
  font-weight: 450;
  color: #a4ada0;
  margin-left: 7px;
}
.balance-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5b685d;
  margin-bottom: 9px;
  gap: 8px;
}
.balance-row strong {
  font-weight: 550;
  color: #364935;
}
.balance-bar {
  display: flex;
  height: 5px;
  gap: 4px;
  margin-bottom: 18px;
}
.balance-bar span {
  height: 5px;
  border-radius: 4px;
  background: #9bbf69;
  min-width: 2px;
}
.balance-bar span:last-child {
  background: #7197cf;
}
.pool-stats {
  display: flex;
  border-top: 1px solid #edf0e8;
  padding-top: 15px;
  gap: 23px;
  align-items: center;
}
.pool-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}
.pool-stats div > span {
  color: #8b9386;
  font-size: 10px;
}
.pool-stats strong {
  font-weight: 550;
}
.pool-stats a {
  margin-left: auto;
  font-size: 10px;
  color: #74846e;
}
.pool-warning {
  font-size: 11px;
  color: #a08050;
  line-height: 1.6;
  margin: 0 0 14px;
}
.pool-loading {
  height: 230px;
  display: grid;
  place-items: center;
  color: #8a9484;
  font-size: 13px;
}
.lab-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 38px 0 18px;
}
.lab-heading h2 {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.9px;
  margin: 7px 0 0;
}
.read-only {
  font-size: 11px;
  color: #8b9487;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
}
.read-only span {
  font-size: 17px;
  color: #7d9670;
}
.lab {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 350px 1fr;
  background: #fff;
}
.sim-controls {
  background: #fbfcf7;
  padding: 25px;
  border-right: 1px solid var(--line);
}
.control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.control-head h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.step {
  font-size: 11px;
  color: #a1ac95;
}
.pool-tabs {
  display: flex;
  background: #edf0e6;
  border-radius: 7px;
  padding: 4px;
  gap: 3px;
  margin-bottom: 22px;
}
.pool-tabs button {
  border: 0;
  background: none;
  border-radius: 5px;
  color: #77806f;
  padding: 9px;
  flex: 1;
  font-size: 11px;
  font-weight: 550;
}
.pool-tabs button.selected {
  background: #fff;
  color: #304b2a;
  box-shadow: 0 1px 5px #1a240c0d;
}
.amount-box {
  background: #fff;
  border: 1px solid #dfe5d5;
  border-radius: 9px;
  padding: 15px;
}
.amount-box label {
  font-size: 11px;
  color: #7e8a77;
}
.amount-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
}
.amount-line input {
  border: none;
  outline: none;
  background: none;
  width: 100%;
  min-width: 0;
  font-family: Manrope, sans-serif;
  font-size: 30px;
  color: #243921;
  font-weight: 550;
  letter-spacing: -1px;
  padding: 0;
}
.token-tag {
  font-size: 11px;
  background: #edf2e6;
  color: #566d44;
  border-radius: 5px;
  padding: 6px 9px;
  font-weight: 600;
}
.amount-box small {
  font-size: 10px;
  color: #a0a897;
}
.direction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 1px;
  font-size: 11px;
  color: #839077;
}
.direction-row button {
  background: none;
  border: 0;
  font-size: 11px;
  color: #60714f;
  padding: 3px;
}
.presets {
  display: flex;
  gap: 6px;
  margin: 2px 0 24px;
}
.presets button {
  background: none;
  border: 1px solid #dfe5d5;
  border-radius: 5px;
  flex: 1;
  padding: 6px 1px;
  font-size: 10px;
  color: #78846c;
}
.slippage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
}
.slippage-row label {
  font-size: 11px;
  color: #58664f;
}
.slippage-row small {
  display: block;
  margin-top: 5px;
  color: #9aa38f;
  font-size: 9px;
}
.slippage-row > div {
  border: 1px solid #dfe5d5;
  background: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 8px;
  font-size: 11px;
  color: #7e8d70;
}
.slippage-row input {
  width: 37px;
  border: 0;
  background: none;
  color: #4c6242;
  font-size: 11px;
  padding: 0;
}
.primary {
  border: 0;
  background: #263d25;
  color: #e9f2df;
  padding: 14px 17px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.sim-controls .primary {
  width: 100%;
}
.primary:hover {
  background: #365131;
}
.primary span {
  font-size: 18px;
  line-height: 12px;
  color: #b3d995;
}
.sim-message {
  color: #8a977c;
  font-size: 10px;
  line-height: 1.5;
  margin: 12px 0 0;
  min-height: 28px;
}
.sim-message.error {
  color: #aa6937;
}
.sim-results {
  padding: 25px 30px;
  min-width: 0;
}
.muted {
  font-size: 10px;
  color: #96a08d;
}
.receive > span {
  font-size: 11px;
  color: #8b9681;
}
.receive > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0;
}
.receive strong {
  font-family: Manrope, sans-serif;
  font-size: 43px;
  font-weight: 550;
  letter-spacing: -2px;
  color: #2a4225;
  overflow-wrap: anywhere;
}
.receive > div > span {
  font-size: 14px;
  color: #93a284;
}
.receive small {
  font-size: 10px;
  color: #89967d;
}
.quote-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px;
  border-top: 1px solid #edf0e8;
  border-bottom: 1px solid #edf0e8;
  padding: 18px 0;
  margin: 22px 0;
}
.quote-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-metrics span {
  font-size: 10px;
  color: #87967b;
}
.quote-metrics strong {
  font-size: 15px;
  font-weight: 550;
  color: #506641;
}
.quote-metrics small {
  font-size: 9px;
  color: #a4ad9b;
}
.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.chart-heading h4 {
  font-size: 11px;
  font-weight: 550;
  margin: 0;
}
.chart-heading > span {
  font-size: 9px;
  color: #9aa98d;
}
.chart {
  height: 148px;
  width: 100%;
  position: relative;
}
.chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  fill: #98a58c;
}
.chart-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 36px,
    #edf1e7 36px,
    #edf1e7 37px
  );
}
.chart-empty > span {
  font-size: 23px;
  color: #a8b89b;
}
.chart-empty p {
  font-size: 12px;
  color: #9aa98b;
  margin: 4px 0;
}
.chart-empty small {
  font-size: 10px;
  color: #b0baa4;
}
.chart-footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 9px;
}
.chart-footer small {
  font-size: 9px;
  color: #9ca791;
  line-height: 1.5;
  max-width: 70%;
}
.chart-footer button {
  font-size: 10px;
  color: #6a8059;
  white-space: nowrap;
}
.footnotes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  margin: 34px 0 38px;
}
.footnotes > div {
  position: relative;
  padding-left: 27px;
}
.note-index {
  position: absolute;
  left: 0;
  top: 2px;
  color: #a6b296;
  font-size: 9px;
}
.footnotes h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 8px;
  color: #637458;
}
.footnotes p {
  font-size: 10px;
  line-height: 1.8;
  color: #94a089;
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 21px 0 27px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #a0aa95;
  font-size: 10px;
}
footer > span:first-child {
  color: #788e65;
  font-size: 13px;
}
footer b {
  font-weight: 450;
  font-size: 10px;
  margin-left: 9px;
  color: #9ca991;
}
footer i {
  font-style: normal;
  margin: 0 8px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding-left: 40px;
    padding-right: 40px;
  }
  .topbar {
    padding-left: calc((100% - 1320px) / 2);
    padding-right: calc((100% - 1320px) / 2);
  }
}
@media (max-width: 850px) {
  main {
    padding: 32px 24px 0;
  }
  .topbar {
    padding: 0 24px;
  }
  .lab {
    grid-template-columns: 310px 1fr;
  }
  .sim-results {
    padding: 24px 20px;
  }
  .pool-card {
    padding: 20px;
  }
  .quote-metrics {
    gap: 7px;
  }
  .quote-metrics strong {
    font-size: 13px;
  }
  .footnotes {
    gap: 20px;
  }
  .receive strong {
    font-size: 35px;
  }
  .chart-heading > span {
    display: none;
  }
}
@media (max-width: 680px) {
  .topbar {
    height: 66px;
    padding: 0 18px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand-mark {
    font-size: 34px;
  }
  .brand-divider {
    margin: 0 9px;
  }
  .brand strong {
    font-size: 13px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .network {
    font-size: 0;
    gap: 0;
  }
  .header-actions .quiet {
    font-size: 10px;
  }
  .header-actions .quiet span {
    display: none;
  }
  main {
    padding: 27px 18px 0;
  }
  .intro {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1.4px;
  }
  .intro p {
    font-size: 12px;
  }
  .sync {
    max-width: none;
    width: 100%;
    justify-content: start;
    gap: 10px;
  }
  .sync small {
    width: auto;
    margin-left: auto;
    font-size: 9px;
  }
  .refresh {
    margin-left: auto;
  }
  .refresh span {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .pool-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pool-card {
    padding: 20px;
  }
  .pool-value strong {
    font-size: 32px;
  }
  .pool-value {
    margin: 17px 0;
  }
  .lab-heading {
    margin-top: 28px;
  }
  .lab-heading h2 {
    font-size: 23px;
  }
  .read-only {
    max-width: 110px;
    text-align: right;
    font-size: 9px;
    line-height: 1.5;
  }
  .read-only span {
    display: none;
  }
  .lab {
    grid-template-columns: 1fr;
  }
  .sim-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }
  .sim-results {
    padding: 23px 22px;
  }
  .amount-line input {
    font-size: 33px;
  }
  .quote-metrics strong {
    font-size: 15px;
  }
  .receive strong {
    font-size: 40px;
  }
  .chart {
    height: 160px;
  }
  .footnotes {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 27px;
  }
  .footnotes p {
    font-size: 11px;
  }
  .footnotes h3 {
    font-size: 12px;
  }
  footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  footer > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
