.fee-guide {
  padding: clamp(38px, 6vw, 90px) clamp(18px, 5vw, 88px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #193a66;
  background: transparent;
  scroll-margin-top: 24px;
}
.fg-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.fg-intro h2 {
  margin: 0 0 20px;
  max-width: 9.8em;
  color: #193a66;
  font:
    400 clamp(40px, 4.8vw, 72px)/0.98 Inter,
    sans-serif;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.fg-intro > p {
  max-width: 32em;
  margin: 0;
  color: #324861;
  font:
    400 clamp(15px, 1.2vw, 19px)/1.5 Inter,
    sans-serif;
}
.fg-intro > p + p {
  margin-top: 12px;
}
.fg-proof {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 26px 0 0;
}
.fg-proof a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #193a66;
  font:
    600 15px/1.35 Inter,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fg-proof a:hover {
  color: #194c9e;
}
.fg-proof small {
  color: #3e566d;
  font: 400 12px/1.5 var(--mono, monospace);
}
.fg-ledger {
  min-width: 0;
  padding: clamp(20px, 3.2vw, 42px);
  color: #193a66;
  background: rgb(243 248 252 / 0.94);
  border-top: 1px solid #fff;
  border-radius: 2px;
  font-family: Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}
.fg-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #abbacd;
  border-radius: 3px;
  background: #dde6ee;
}
.fg-switch button {
  min-height: 32px;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: #3b536f;
  font:
    500 13px/1.3 Inter,
    sans-serif;
  cursor: pointer;
}
.fg-switch button[aria-pressed="true"] {
  background: #fff;
  color: #193a66;
  box-shadow: 0 0 0 1px #b7c7d7;
}
.fg-switch button[aria-pressed="false"]:hover {
  background: #cddae8;
}
.fg-ledger :focus-visible {
  outline: 2px solid #194c9e;
  outline-offset: 3px;
}
.fg-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 16px;
}
.fg-amount label {
  margin: 0;
  color: #193a66;
  font:
    550 clamp(15px, 1.45vw, 21px)/1.2 Inter,
    sans-serif;
  letter-spacing: -0.025em;
}
.fg-input {
  display: flex;
  align-items: center;
  gap: 7px;
  width: clamp(104px, 13vw, 170px);
  padding-right: 10px;
  color: #486381;
  background: #fbfdff;
  border: 1px solid #91a5bb;
  border-radius: 4px;
  font: 400 12px/1.3 var(--mono, monospace);
}
.fg-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 38px;
  padding: 6px 0 6px 10px;
  border: 0;
  border-radius: 3px;
  color: #17375b;
  background: transparent;
  font: 500 16px/1.2 var(--mono, monospace);
}
.fg-input:focus-within {
  border-color: #194c9e;
}
.fg-error,
.fg-rounding {
  margin: 8px 0 12px;
  color: #794a27;
  font:
    400 12px/1.5 Inter,
    sans-serif;
}
.fg-ledger [hidden] {
  display: none;
}
.fg-bar {
  display: flex;
  height: 7px;
  gap: 3px;
  margin: 0 0 12px;
}
.fg-bar > span {
  flex-basis: 0;
  border-radius: 1px;
}
.fg-remix {
  background: #275ea4;
}
.fg-original {
  background: #7098be;
}
.fg-holders {
  background: #8aa7a2;
}
.fg-treasury {
  background: #c2a59c;
}
.fg-rows {
  display: block;
  padding: 0;
  margin: 0;
  color: #142d4c;
}
.fg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4ch minmax(7.3em, auto);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #b8c5d2;
}
.fg-row > * {
  min-width: 0;
  margin: 0;
}
.fg-row dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1d3d60;
  font:
    400 14px/1.35 Inter,
    sans-serif;
}
.fg-swatch {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
}
.fg-percent,
.fg-output {
  text-align: right;
  overflow-wrap: anywhere;
  font: 400 13px/1.4 var(--mono, monospace);
}
.fg-percent {
  color: #4c627a;
}
.fg-note {
  margin: 15px 0 0;
  color: #435a71;
  font:
    400 12px/1.55 Inter,
    sans-serif;
}
@media (max-width: 820px) {
  .fg-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fg-intro h2 {
    max-width: none;
  }
  .fg-proof {
    margin-top: 14px;
  }
}
@media (max-width: 460px) {
  .fg-ledger {
    padding: 18px 15px;
  }
  .fg-row {
    grid-template-columns: minmax(0, 1fr) 3.5ch minmax(6em, auto);
    gap: 8px;
  }
  .fg-row dt {
    font-size: 13px;
  }
  .fg-amount {
    margin-top: 18px;
  }
  .fg-percent,
  .fg-output {
    font-size: 12px;
  }
}
