.revenue-product {
  scroll-margin-top: 100px;
}
.product-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}
.product-heading h2 {
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.product-intro {
  max-width: 330px;
  padding-bottom: 5px;
}
.product-intro p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.product-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #dfe9d9;
  color: #35573d;
  padding: 7px 10px;
  border-radius: 4px;
}
.account-strip {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #d3dbd3;
  border-bottom: 1px solid #d3dbd3;
  padding: 19px 0;
  font-size: 13px;
}
.account-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-notice {
  font-size: 13px;
  min-height: 40px;
  padding: 12px 0;
  color: #4e6658;
  line-height: 1.5;
}
.is-error {
  color: #a33825 !important;
}
.revenue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.connection-editor,
.connection-monitor {
  border-radius: 18px;
  border: 1px solid #cfd9cf;
  padding: 30px;
  background: #edf0e9;
}
.connection-monitor {
  background: #172c23;
  color: #eef5e9;
  box-shadow: 0 16px 40px #0e241719;
}
.instrument-heading {
  display: flex;
  gap: 15px;
  align-items: start;
  margin-bottom: 30px;
}
.port-number {
  border: 1px solid #abbba6;
  border-radius: 5px;
  padding: 4px 7px;
  font: 11px monospace;
  line-height: 1.5;
}
.instrument-heading h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
  margin: 0 0 7px;
}
.instrument-heading p {
  font-size: 12px;
  color: #65776a;
  line-height: 1.5;
  margin: 0;
}
.connection-monitor .instrument-heading p {
  color: #a8baaa;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}
.connection-editor label {
  font-size: 11px;
  color: #49604e;
  display: block;
}
.connection-editor input,
.connection-editor select,
.token-drawer input,
.fund-connection input {
  width: 100%;
  background: #fafbf6;
  border: 1px solid #c4d0c0;
  border-radius: 7px;
  padding: 13px 12px;
  font: inherit;
  font-size: 13px;
  color: #1c3625;
  min-width: 0;
  margin-top: 8px;
  height: 46px;
}
.connection-editor select {
  font-family: inherit;
  font-size: 12px;
}
.recipient-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #72816d;
  margin-bottom: 15px;
}
.live-recipient {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 12px;
  margin-bottom: 14px;
  align-items: end;
}
.live-recipient input {
  font-size: 12px;
  font-family: monospace;
}
.live-recipient .share-input {
  position: relative;
}
.share-input span:not(.sr-only) {
  position: absolute;
  right: 12px;
  top: 21px;
  color: #64785e;
}
.share-input input {
  padding-right: 25px;
}
.share-total {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0 18px;
  border-bottom: 1px solid #ccd7c7;
}
.editor-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 20px 0;
  font-size: 11px;
}
.connection-actions {
  display: flex;
  gap: 10px;
  margin: 25px 0 12px;
}
.connection-actions .button {
  font-size: 12px;
  padding: 14px 16px;
  min-width: 0;
}
.connection-editor .fine-print {
  line-height: 1.6;
  font-size: 11px;
}
.server-library {
  border-top: 1px solid #ccd7c7;
  margin-top: 28px;
  padding-top: 20px;
}
.server-library > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.server-library h4 {
  font-size: 12px;
  margin: 0;
}
.server-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #d4ddd0;
  background: none;
  padding: 14px 0;
  color: #283e2b;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.server-rule small {
  display: block;
  font-size: 10px;
  color: #7b8876;
  margin-top: 5px;
}
#server-rules > p {
  font-size: 12px;
  color: #72806b;
  line-height: 1.5;
}
.monitor-refresh {
  margin-left: auto;
  background: none;
  border: 0;
  color: #bbcfac;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  padding: 5px;
}
.split-list {
  max-height: 190px;
  overflow-y: auto;
  margin-bottom: 20px;
}
.split-list > p {
  font-size: 12px;
  color: #9cb09f;
}
.split-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #21392b;
  border: 1px solid #3d5540;
  padding: 12px;
  border-radius: 7px;
  text-align: left;
  margin-bottom: 8px;
  color: #e1eed7;
  cursor: pointer;
}
.split-choice.active {
  border-color: #b6d594;
}
.split-choice small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #9cb29b;
}
.split-choice > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #bad0aa;
}
.connection-empty {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.connection-empty svg {
  width: 90%;
  max-width: 300px;
  stroke: #a9cc86;
  fill: none;
  stroke-width: 3;
  margin-bottom: 25px;
}
.connection-empty rect {
  fill: #294833;
}
.connection-empty circle {
  fill: #a9cc86;
}
.connection-empty h4 {
  font-size: 21px;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
}
.connection-empty p {
  font-size: 12px;
  color: #a0b39e;
  line-height: 1.7;
}
.verified-connection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #acbf9d;
  border-top: 1px solid #38513c;
  padding-top: 24px;
}
.verified-connection > div > span:last-child {
  display: block;
  margin: 8px 0 0 13px;
  color: #809c82;
}
.verified-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b4d18d;
  border-radius: 50%;
  margin-right: 6px;
}
.connection-monitor .quiet-link {
  color: #bdd49e;
}
.contract-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  color: white;
  font: 18px monospace;
  gap: 10px;
}
.contract-address a {
  color: #eff8e8;
  text-decoration: none;
}
.contract-address button {
  border: 0;
  background: none;
  color: #aec79e;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.connection-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0;
  border-top: 1px solid #38513c;
  border-bottom: 1px solid #38513c;
  gap: 8px;
}
.connection-metrics small {
  display: block;
  color: #a5b79c;
  font-size: 10px;
  margin-bottom: 10px;
}
.connection-metrics b {
  display: block;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.connection-metrics span {
  font-size: 10px;
  color: #789677;
}
.live-allocations > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #2f4a35;
}
.allocation-wire {
  height: 24px;
  width: 4px;
  background: #4165eb;
  border-radius: 3px;
}
.allocation-wire.wire-1 {
  background: #afcc7a;
}
.allocation-wire.wire-2 {
  background: #cb9c59;
}
.live-allocations b {
  font-size: 12px;
  font-weight: 500;
}
.live-allocations span:not(.allocation-wire) {
  display: block;
  font-size: 10px;
  color: #8da98d;
  margin-top: 6px;
}
.live-allocations > div > div:last-child {
  margin-left: auto;
  text-align: right;
}
.live-allocations button,
.asset-row button {
  display: block;
  border: 0;
  padding: 0;
  margin: 7px 0 0 auto;
  font: inherit;
  font-size: 10px;
  background: none;
  color: #c2e09c;
  cursor: pointer;
}
.live-allocations button:disabled,
.asset-row button:disabled {
  color: #648163;
  cursor: default;
}
.live-allocations b small {
  font: inherit;
  font-size: 9px;
  color: #bfda9e;
}
.fund-connection {
  margin: 22px 0;
}
.fund-connection label {
  font-size: 11px;
  color: #b4c6a9;
}
.fund-connection > div {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
.fund-connection input {
  margin: 0;
  background: #233e2c;
  border-color: #4b6646;
  color: #eef8e1;
  flex: 1;
}
.fund-connection .button.dark {
  background: #c0d9a5;
  color: #233321;
  padding: 12px;
  font-size: 11px;
  flex-shrink: 0;
}
.fund-connection small {
  font-size: 10px;
  color: #89a383;
  line-height: 1.6;
  display: block;
}
.token-drawer {
  border-top: 1px solid #38513c;
  padding: 16px 0;
  font-size: 11px;
}
.token-drawer summary {
  cursor: pointer;
  color: #bed1b0;
}
.token-drawer p {
  color: #9cb393;
  font-size: 11px;
  line-height: 1.7;
}
.token-drawer a {
  color: #bdd49e;
}
.token-drawer form {
  display: flex;
  gap: 8px;
}
.token-drawer input {
  margin: 0;
  font-size: 11px;
}
.token-drawer .button {
  color: #d5e7c7;
  font-size: 11px;
  padding: 10px;
}
.asset-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  margin: 14px 0;
}
.asset-row b {
  overflow-wrap: anywhere;
  margin-left: auto;
}
.asset-row button {
  margin: 0;
}
.receipt-heading {
  border-top: 1px solid #38513c;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.receipt-heading h4 {
  font-size: 12px;
  margin: 0;
}
.receipt-heading a,
.activity-list a {
  color: #b7cf9e;
  font-size: 10px;
}
.activity-list > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #2c4632;
}
.activity-list > p,
.history-scope {
  font-size: 10px;
  color: #829e7e;
  line-height: 1.7;
}
.release-boundary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.release-boundary p {
  font-size: 11px;
  margin: 0;
}
.sandbox-tag {
  background: #e7e9e0;
  color: #77816e;
}
.pending-panel {
  background: #e5ebf9;
  border: 1px solid #bac8ef;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 15px;
}
.pending-panel b,
.pending-panel span {
  display: block;
  font-size: 12px;
}
.pending-panel span {
  margin-top: 6px;
  font: 11px monospace;
  color: #536890;
}
.pending-panel .button {
  font-size: 11px;
  padding: 12px;
}
.pending-panel[hidden] {
  display: none;
}
.fixture-note {
  font-size: 11px;
  color: #8b642c;
  background: #f6ecd5;
  padding: 12px;
  border-radius: 5px;
}
.deploy-dialog {
  border: 1px solid #c8d2bf;
  border-radius: 18px;
  background: #f5f7ef;
  color: #203624;
  width: min(660px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 30px 150px #17281840;
}
.deploy-dialog::backdrop {
  background: #12261e90;
  backdrop-filter: blur(8px);
}
.deploy-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deploy-dialog h2 {
  font-size: 32px;
  letter-spacing: -0.045em;
  margin: 18px 0 24px;
}
.deploy-dialog p {
  font-size: 12px;
  line-height: 1.7;
}
.deploy-dialog .review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #d0d8c8;
  font-size: 12px;
}
.deploy-dialog .review-row code,
.deploy-dialog .review-row b {
  max-width: 75%;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 400;
}
.deploy-dialog .deployment-consent {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  line-height: 1.7;
  margin: 24px 0;
}
.deployment-consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #3658ed;
}
.deploy-dialog .button {
  width: 100%;
  font-size: 13px;
}
.deploy-dialog .button:disabled {
  opacity: 0.35;
  cursor: default;
}
.dialog-close {
  border: 1px solid #c5d2bb;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: none;
  color: #4b6446;
  font-size: 22px;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button:disabled {
  cursor: wait;
}
.connection-monitor .button:disabled {
  opacity: 0.5;
}
#product-logout[hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .revenue-grid {
    gap: 15px;
  }
  .connection-editor,
  .connection-monitor {
    padding: 22px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .live-recipient {
    grid-template-columns: 1fr 70px;
  }
  .product-intro p {
    font-size: 16px;
  }
  .instrument-heading h3 {
    font-size: 20px;
  }
  .connection-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 750px) {
  .product-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
  }
  .product-intro p {
    margin-top: 0;
  }
  .revenue-grid {
    grid-template-columns: 1fr;
  }
  .account-strip {
    align-items: start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }
  .account-strip > div {
    font-size: 11px;
  }
  .connection-editor,
  .connection-monitor {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .form-pair {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .form-pair select {
    font-size: 10px;
    padding: 10px 6px;
  }
  .connection-metrics b {
    font-size: 24px;
  }
  .connection-actions .button {
    flex: 1;
    padding: 13px 10px;
  }
  .release-boundary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .release-boundary p {
    font-size: 10px;
    line-height: 1.6;
  }
  .deploy-dialog {
    padding: 22px;
  }
  .deploy-dialog .review-row {
    flex-direction: column;
    gap: 8px;
  }
  .deploy-dialog .review-row code,
  .deploy-dialog .review-row b {
    max-width: 100%;
    font-size: 10px;
  }
  .deploy-dialog h2 {
    font-size: 27px;
  }
  .live-allocations b {
    font-size: 11px;
  }
  .contract-address {
    font-size: 18px;
  }
  .pending-panel {
    align-items: start;
    flex-direction: column;
  }
}
.pending-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.receipt-recovery {
  font-size: 11px;
  color: #9cb393;
  border-top: 1px solid #38513c;
  padding: 14px 0 20px;
}
.receipt-recovery summary {
  cursor: pointer;
  color: #bdd1af;
}
.receipt-recovery p {
  line-height: 1.7;
}
.receipt-recovery form {
  display: flex;
  gap: 8px;
}
.receipt-recovery input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 9px;
  border: 1px solid #4b6646;
  border-radius: 6px;
  background: #233e2c;
  color: #eef8e1;
  font: 11px monospace;
}
.receipt-recovery button {
  font-size: 10px;
  padding: 10px;
  color: #bdd49e;
}
.asset-row b {
  max-width: 50%;
  overflow-wrap: anywhere;
}

/* Token routing belongs to the same paper-and-instrument vocabulary. */
.pons-workspace {
  border: 1px solid #cfd9cf;
  border-radius: 18px;
  padding: 30px;
  background: #f0f3ed;
  margin-bottom: 26px;
}
.pons-workspace-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.pons-workspace h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
  margin: 8px 0 10px;
}
.pons-workspace-heading p:not(.eyebrow) {
  font-size: 13px;
  color: #65776a;
  line-height: 1.6;
}
.pons-workspace-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: 35px;
}
.pons-entry label {
  display: block;
  font-size: 12px;
  color: #49604e;
  line-height: 1.6;
}
.pons-entry input {
  width: 100%;
  min-width: 0;
  background: #fafbf6;
  border: 1px solid #c4d0c0;
  border-radius: 7px;
  height: 46px;
  padding: 12px;
  color: #1c3625;
  font: 12px monospace;
  margin: 10px 0;
}
.pons-entry .button {
  font-size: 12px;
  padding: 13px 18px;
}
#pons-status,
.pons-entry > p,
.pons-saved-token small,
.pons-entry details {
  font-size: 11px;
  line-height: 1.7;
  color: #65776a;
}
#pons-status {
  min-height: 52px;
  overflow-wrap: anywhere;
}
.pons-entry h4 {
  font-size: 12px;
  margin-top: 24px;
}
#pons-saved > p {
  font-size: 11px;
  color: #65776a;
  line-height: 1.7;
}
.pons-saved-token {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #cfd9cf;
  padding: 14px 0;
  background: none;
  text-align: left;
  font: 12px inherit;
  color: #243c2d;
  cursor: pointer;
}
.pons-saved-token small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.pons-recover {
  border-top: 1px solid #cfd9cf;
  padding-top: 17px;
  margin-top: 20px;
}
.pons-recover summary {
  cursor: pointer;
}
.pons-result {
  min-width: 0;
  border-left: 1px solid #cfd9cf;
  padding-left: 30px;
}
.pons-empty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pons-empty h4 {
  font-size: 25px;
  letter-spacing: -0.04em;
  margin: 20px 0 0;
}
.pons-empty p {
  font-size: 13px;
  color: #65776a;
  max-width: 280px;
  line-height: 1.7;
}
.pons-empty-wire {
  width: 85%;
  height: 48px;
  border-bottom: 5px solid #345ce9;
  border-right: 5px solid #345ce9;
  border-radius: 0 0 28px;
  opacity: 0.35;
  margin-top: 15px;
}
.pons-token-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pons-symbol {
  height: 42px;
  width: 42px;
  background: #dbe3f9;
  color: #345ce9;
  border: 1px solid #becbf0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}
.pons-token-heading h4 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.025em;
}
.pons-token-heading h4 span {
  font-size: 11px;
  color: #65776a;
  font-weight: 400;
  margin-left: 6px;
}
.pons-token-heading p {
  font-size: 10px;
  color: #65776a;
  margin: 7px 0;
}
.pons-token-heading .product-tag {
  font-size: 9px;
  margin-left: auto;
}
.pons-result a {
  color: #345ce9;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.pons-route {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 0;
  margin: 15px 0;
  border-top: 1px solid #cfd9cf;
  border-bottom: 1px solid #cfd9cf;
}
.pons-route > div {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.pons-route small {
  display: block;
  color: #65776a;
  font-size: 10px;
  margin-bottom: 9px;
}
.pons-you {
  display: block;
  font-size: 10px;
  color: #49604e;
  margin-top: 8px;
}
.pons-cable {
  height: 4px;
  flex: 0 1 70px;
  background: repeating-linear-gradient(
    90deg,
    #a4b3a8 0 6px,
    transparent 6px 10px
  );
}
.pons-cable.is-connected {
  background: #345ce9;
}
.pons-balances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pons-balances small,
.pons-balances b,
.pons-balances span {
  display: block;
}
.pons-balances small {
  font-size: 11px;
  color: #65776a;
}
.pons-balances b {
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.pons-balances span {
  font-size: 10px;
  color: #65776a;
  line-height: 1.6;
  max-width: 230px;
}
.pons-explanation,
.pons-warning,
.pons-more p,
.pons-result .connection-actions p {
  font-size: 11px;
  line-height: 1.8;
  color: #536b5b;
}
.pons-warning {
  background: #f3e7cc;
  padding: 14px;
  border: 1px solid #d9c191;
  border-radius: 7px;
}
.pons-more {
  margin-top: 22px;
  border-top: 1px solid #cfd9cf;
  padding-top: 18px;
  font-size: 11px;
}
.pons-more summary {
  cursor: pointer;
  color: #345ce9;
}
.pons-ledger {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d7dfd1;
  padding: 15px 0;
  font-size: 11px;
  line-height: 1.7;
}
.pons-ledger b {
  overflow-wrap: anywhere;
  text-align: right;
}
.pons-more .button {
  padding: 12px;
  font-size: 11px;
}
.pons-workspace button:disabled {
  opacity: 0.45;
  cursor: default;
}
.pons-workspace input:focus-visible,
.pons-workspace button:focus-visible,
.pons-workspace summary:focus-visible {
  outline: 2px solid #345ce9;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .pons-workspace {
    padding: 24px;
  }
  .pons-workspace-grid {
    gap: 22px;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  }
  .pons-result {
    padding-left: 22px;
  }
  .pons-route {
    gap: 10px;
  }
  .pons-cable {
    flex-basis: 24px;
  }
  .pons-balances b {
    font-size: 20px;
  }
}
@media (max-width: 750px) {
  .pons-workspace {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .pons-workspace h3 {
    font-size: 26px;
  }
  .pons-workspace-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .pons-result {
    border-left: 0;
    border-top: 1px solid #cfd9cf;
    padding: 25px 0 0;
  }
  .pons-empty {
    min-height: 200px;
  }
  .pons-workspace-heading {
    margin-bottom: 15px;
  }
  .pons-workspace .connection-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pons-workspace .connection-actions .button {
    text-align: center;
  }
  .pons-route > div {
    font-size: 11px;
  }
  .pons-token-heading .product-tag {
    margin-left: 0;
  }
  .pons-balances {
    gap: 15px;
  }
  .pons-balances b {
    font-size: 21px;
  }
}
.pons-result a.button.dark {
  color: #f5f8ef;
  text-decoration: none;
}
.pons-workspace {
  scroll-margin-top: 90px;
}
.wallet-steps {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #536b5b;
  margin-bottom: 25px;
}
.wallet-options {
  display: grid;
  gap: 10px;
}
.wallet-option {
  border: 1px solid #c8d2bf;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #203624;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.wallet-option:hover {
  border-color: #345ce9;
}
.wallet-option-mark,
.public-token-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #dfe7fb;
  color: #345ce9;
  font-weight: 600;
}
.wallet-option small {
  display: block;
  font-size: 11px;
  color: #65776a;
  margin-top: 5px;
}
.wallet-empty {
  padding: 18px;
  background: #e7ede2;
  border-radius: 9px;
}
.wallet-empty h3 {
  margin: 0;
  font-size: 17px;
}
.wallet-empty[hidden] {
  display: none;
}
#change-wallet[hidden] {
  display: none;
}
.public-connection-link {
  display: inline-block;
  margin: 0 0 22px;
  color: #345ce9;
  font-size: 13px;
  text-underline-offset: 4px;
}
.public-connection-link[hidden] {
  display: none;
}
.public-token-summary {
  padding: 25px 0;
  border-bottom: 1px solid #cfd9cf;
  margin-bottom: 25px;
}
.public-token-heading {
  display: flex;
  gap: 18px;
  align-items: start;
}
.public-token-heading h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 0;
}
.public-token-heading h3 small {
  font-size: 13px;
  font-weight: 400;
  color: #65776a;
}
.public-token-heading p,
.public-source-note {
  font-size: 12px;
  line-height: 1.8;
  color: #65776a;
}
.public-token-heading a {
  font-size: 12px;
  color: #345ce9;
}
.public-token-heading .product-tag {
  margin-left: auto;
}
.public-connection main > section:not(#revenue-product),
.public-connection .connection-editor,
.public-connection .pons-workspace,
.public-connection .release-boundary,
.public-connection .builder,
.public-connection .header nav,
.public-connection #menu-button,
.public-connection .split-list,
.public-connection .receipt-recovery {
  display: none;
}
.public-connection #revenue-product {
  padding-top: 150px;
  max-width: 1050px;
  margin: auto;
}
.public-connection .revenue-grid {
  grid-template-columns: 1fr;
}
.public-connection .connection-monitor {
  padding: 36px;
}
.public-connection .connection-metrics b {
  font-size: 34px;
}
.public-connection .live-allocations b {
  font-size: 15px;
}
.public-connection .live-allocations span:not(.allocation-wire) {
  font-size: 12px;
}
.public-connection .activity-list > div {
  font-size: 12px;
  padding: 18px 0;
}
.public-connection .activity-list a {
  font-size: 12px;
}
.public-connection .header .brand {
  pointer-events: auto;
}
.public-connection .account-strip .quiet-link {
  white-space: nowrap;
}
@media (max-width: 750px) {
  .public-token-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .public-token-heading h3 {
    font-size: 23px;
  }
  .public-token-heading .product-tag {
    margin-left: 0;
  }
  .public-connection .connection-monitor {
    padding: 24px 18px;
  }
  .public-connection .connection-metrics b {
    font-size: 25px;
  }
  .public-connection .live-allocations b {
    font-size: 12px;
  }
  .public-connection .live-allocations span:not(.allocation-wire) {
    font-size: 10px;
  }
  .public-connection #revenue-product {
    padding-top: 110px;
  }
  .public-connection .account-strip > div:last-child {
    flex-wrap: wrap;
  }
}

.public-connection .connection-monitor .port-number,
.public-connection #public-connection-link {
  display: none;
}
.public-connection .product-heading h2 {
  font-size: clamp(42px, 5vw, 65px);
}
/* Keep the real controls comfortably legible without adding dashboard chrome. */
.revenue-product .product-heading h2 {
  font-size: clamp(40px, 4.7vw, 66px);
}
.pons-workspace-heading p:not(.eyebrow),
.instrument-heading p {
  color: #526957;
}
.pons-entry label,
.connection-editor label {
  font-size: 12px;
}
.connection-editor input,
.connection-editor select {
  font-size: 13px;
}
#server-rules > p,
#pons-saved > p,
.pons-explanation,
.pons-more p {
  color: #4e6556;
}
.connection-empty .button {
  font-size: 12px;
  white-space: normal;
  color: #d5e7c7;
  margin-top: 18px;
}
.public-connection .product-heading h2 {
  font-size: clamp(40px, 4.7vw, 65px);
}

/* Revenue studio: separate the three jobs; give the rule a visible output. */
.workspace-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  margin: 4px 0 28px;
  background: #e7ebe5;
  border: 1px solid #d2dbcf;
  border-radius: 14px;
}
.workspace-tabs button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  color: #5c6c60;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.workspace-tabs button[aria-selected="true"] {
  background: #fbfcf8;
  border-color: #d4ddce;
  color: #203a2a;
  box-shadow: 0 3px 5px #1b34250a;
}
.workspace-tabs small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #66765f;
  font-weight: 400;
  line-height: 1.4;
}
.workspace-tab-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #d6e2c8;
  color: #395631;
  border: 1px solid #bccaad;
  border-radius: 8px;
  font-size: 23px;
  flex-shrink: 0;
}
.workspace-tabs button:not([aria-selected="true"]) .workspace-tab-icon {
  background: transparent;
  border-color: #c6d0c0;
  color: #7b8a70;
}
.workspace-panel[hidden] {
  display: none !important;
}
#build-workspace {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  background: #f0f3eb;
  border: 1px solid #ccd6c6;
  border-radius: 20px;
  overflow: hidden;
  align-items: stretch;
}
#build-workspace .connection-editor {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 36px;
}
.allocation-studio {
  padding: 30px 32px 20px;
  margin: 12px 12px 12px 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #2b3e32, #14261c);
  color: #f1f7e9;
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 5px 12px #24352816;
  min-width: 0;
}
.allocation-studio-top {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #b5c9a8;
  padding-bottom: 30px;
}
.studio-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4e48d;
  box-shadow: 0 0 8px #c4e48d50;
  margin-left: auto;
}
.allocation-studio h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
  overflow-wrap: anywhere;
}
.allocation-studio > p {
  color: #a7b99d;
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0 28px;
}
.allocation-source {
  background: #101f17;
  border: 1px solid #4b6342;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 auto;
  width: 80%;
  box-shadow: inset 0 2px 6px #0003;
}
.allocation-source label {
  font-size: 12px;
  color: #9fb291;
}
.allocation-source > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}
.allocation-source input {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #e0f5bd;
  font: inherit;
  font-size: 39px;
  letter-spacing: -0.045em;
  outline-offset: 5px;
}
.allocation-source span {
  font-size: 13px;
  color: #9baf88;
}
.allocation-circuit {
  display: block;
  width: 100%;
  height: 82px;
  overflow: visible;
}
.allocation-circuit path {
  fill: none;
  stroke: #93b977;
  stroke-width: 2;
}
.allocation-circuit circle {
  fill: #d3edab;
  stroke: #526d40;
  stroke-width: 5;
}
.allocation-outputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.allocation-output {
  padding: 15px 7px;
  text-align: center;
  background: #ffffff06;
  border: 1px solid #758e5d70;
  border-radius: 8px;
  min-width: 0;
}
.allocation-output span {
  display: block;
  font-size: 11px;
  color: #b0c09f;
}
.allocation-output strong {
  display: block;
  font-size: clamp(18px, 2vw, 29px);
  letter-spacing: -0.04em;
  font-weight: 450;
  margin: 13px 0 8px;
  overflow-wrap: anywhere;
}
.allocation-output small {
  font-size: 11px;
  color: #9fb48d;
}
.allocation-output[data-inactive="true"] {
  opacity: 0.4;
}
.allocation-strip {
  display: flex;
  height: 5px;
  gap: 3px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 2px;
}
.allocation-strip i {
  background: #c3df97;
  transition: flex 0.2s;
}
.allocation-strip .output-1 {
  background: #8ba867;
}
.allocation-strip .output-2 {
  background: #556e43;
}
.allocation-studio .preview-note {
  font-size: 11px;
  line-height: 1.65;
  margin: 12px 0 24px;
  min-height: 36px;
  color: #a8b69c;
}
.share-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  padding: 16px 0;
  border-top: 1px solid #41533b;
  border-bottom: 1px solid #41533b;
}
.share-presets > span {
  margin-right: auto;
  color: #a9bc9b;
}
.share-presets button {
  font: inherit;
  color: #e1edce;
  background: #ffffff08;
  border: 1px solid #586e4a;
  border-radius: 5px;
  padding: 8px;
  cursor: pointer;
}
.share-presets button:hover {
  background: #d4edb220;
}
.studio-readiness {
  padding: 24px 0;
}
.studio-readiness > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #e1edce;
}
.studio-readiness b {
  font-weight: 500;
  color: #b7d88c;
}
.studio-readiness ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 12px;
  color: #95a68a;
}
.studio-readiness li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-readiness li[data-ready="true"] {
  color: #caddb9;
}
.studio-readiness li > span {
  width: 16px;
  color: #bad68f;
}
.studio-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #41533b;
  font-size: 10px;
  color: #a9b99b;
}
.recipient-validation {
  font-size: 12px;
  line-height: 1.6;
  color: #62785a;
  min-height: 20px;
  margin: 12px 0;
}
.recipient-hint {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 7px;
  min-height: 0;
  color: #567543;
}
.live-recipient {
  align-items: start;
}
.live-recipient .share-input input {
  margin-top: 24px;
}
.live-recipient .share-input span:not(.sr-only) {
  top: 38px;
}
.live-recipient input[aria-invalid="true"] {
  border-color: #b56752;
  background: #fff8f2;
}
#connections-workspace .connection-monitor {
  padding: 36px;
  max-width: 1100px;
  margin: auto;
  border: 1px solid #3f593d;
}
#connections-workspace .connection-metrics b {
  font-size: 34px;
}
#connections-workspace .live-allocations b {
  font-size: 15px;
}
#connections-workspace .live-allocations span:not(.allocation-wire) {
  font-size: 12px;
}
.pons-workspace.workspace-panel {
  margin-bottom: 0;
  background: #eef2e9;
}
.connection-editor .instrument-heading h3 {
  font-size: 27px;
}
.connection-editor .fine-print {
  font-size: 12px;
}
.workspace-tabs button:focus-visible,
.share-presets button:focus-visible {
  outline: 2px solid #345ce9;
  outline-offset: 3px;
}
.public-connection .workspace-tabs,
.public-connection #build-workspace {
  display: none !important;
}
.public-connection #connections-workspace {
  display: block !important;
}
@media (max-width: 1000px) {
  .workspace-tabs button {
    padding: 14px 12px;
    gap: 10px;
  }
  .workspace-tabs small {
    font-size: 11px;
  }
  #build-workspace .connection-editor {
    padding: 26px;
  }
  .allocation-studio {
    padding: 26px 20px 18px;
  }
  .allocation-output span {
    font-size: 10px;
  }
  .allocation-source {
    width: 92%;
  }
}
@media (max-width: 750px) {
  .workspace-tabs {
    gap: 3px;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .workspace-tabs button {
    padding: 13px 4px;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    border-radius: 6px;
  }
  .workspace-tabs small,
  .workspace-tab-icon {
    display: none;
  }
  #build-workspace {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  #build-workspace .connection-editor {
    padding: 24px 20px;
  }
  .allocation-studio {
    margin: 0 10px 10px;
    padding: 24px 20px 18px;
  }
  .allocation-studio-top {
    padding-bottom: 22px;
  }
  .allocation-output strong {
    font-size: 26px;
  }
  .allocation-output span {
    font-size: 10px;
  }
  .allocation-source {
    width: 80%;
  }
  .allocation-circuit {
    height: 70px;
  }
  .allocation-studio h3 {
    font-size: 27px;
  }
  #connections-workspace .connection-monitor {
    padding: 24px 18px;
  }
  #connections-workspace .connection-metrics b {
    font-size: 25px;
  }
  #connections-workspace .live-allocations b {
    font-size: 12px;
  }
  #connections-workspace .live-allocations span:not(.allocation-wire) {
    font-size: 10px;
  }
  .connection-actions {
    flex-wrap: wrap;
  }
  .workspace-tabs {
    scroll-margin-top: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .allocation-strip i,
  .workspace-tabs button {
    transition: none;
  }
}

.revenue-product .product-heading {
  align-items: center;
  margin-bottom: 24px;
}
.revenue-product .product-heading h2 {
  font-size: clamp(36px, 4vw, 54px);
}
.product-heading .product-intro p {
  font-size: 16px;
  margin-bottom: 12px;
}
.product-heading .product-intro {
  padding-bottom: 0;
}
.account-strip {
  padding: 15px 0;
}
.product-notice {
  padding: 10px 0;
  min-height: 36px;
}

.share-presets button[aria-pressed="true"] {
  background: #c7e6a5;
  color: #23371c;
  border-color: #c7e6a5;
}
