/* Manual, balance-based examples. Component styles are scoped to .tools-section. */
.tools-section {
  padding-top: 110px;
  padding-bottom: 30px;
  color: var(--text, #191a1d);
}
.tools-section [hidden] {
  display: none !important;
}
.tools-section-heading {
  max-width: 810px;
  margin-bottom: 38px;
}
.tools-kicker {
  display: inline-block;
  color: var(--accent, #ba3500);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1.6;
}
.tools-section-heading h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin: 18px 0 20px;
}
.tools-section-heading h2 span {
  color: var(--muted, #60646d);
}
.tools-section-heading > p {
  font-size: 16px;
  color: var(--muted, #60646d);
  line-height: 1.8;
  max-width: 730px;
  margin: 0;
}
.tools-workspace {
  border: 1px solid var(--line, #dddee1);
  border-radius: 16px;
  background: var(--panel, #fff);
  box-shadow: 0 16px 50px #191a1d05;
  overflow: hidden;
}
.tools-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line, #dddee1);
  padding: 0 28px;
  gap: 20px;
}
.tools-tabs > button {
  border: 0;
  background: transparent;
  color: var(--muted, #60646d);
  font: inherit;
  font-size: 14px;
  padding: 23px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  line-height: 1.5;
}
.tools-tabs > button > svg {
  height: 22px;
  width: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  flex-shrink: 0;
}
.tools-tabs > button[aria-selected="true"] {
  color: var(--accent, #ba3500);
}
.tools-tabs > button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent, #ba3500);
}
.tools-tab-short {
  display: none;
}
.tools-section button:focus-visible {
  outline: 2px solid var(--accent, #ba3500);
  outline-offset: 4px;
  border-radius: 4px;
}
.tools-tabs > button:hover {
  color: var(--accent, #ba3500);
}
.tools-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 55px;
  padding: 44px 40px;
  align-items: center;
  min-height: 565px;
}
.tools-copy {
  min-width: 0;
}
.tools-panel-number {
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.065em;
  color: var(--muted, #60646d);
}
.tools-copy h3 {
  font-size: 31px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.04em;
  margin: 15px 0 20px;
}
.tools-copy > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted, #60646d);
  margin: 0 0 19px;
}
.tools-copy strong {
  font-weight: 400;
  color: var(--text, #191a1d);
}
.tools-range-explanation,
.tools-action-description {
  padding-top: 20px;
  border-top: 1px solid var(--line, #dddee1);
  margin-top: 25px;
  min-height: 110px;
}
.tools-range-explanation > strong,
.tools-action-description > strong {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text, #191a1d);
}
.tools-range-explanation > p,
.tools-action-description > p {
  font-size: 14px;
  line-height: 1.85;
  margin: 8px 0 0;
  color: var(--muted, #60646d);
}
.tools-copy > p.tools-supporting-copy {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 16px;
  color: var(--muted, #60646d);
}
.tools-visual {
  min-width: 0;
  border: 1px solid var(--line, #dddee1);
  border-radius: 12px;
  padding: 25px;
  background: var(--bg);
}
.tools-visual-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 22px;
  line-height: 1.7;
}
.tools-fixed-price {
  font-size: 11px;
  color: var(--muted, #60646d);
  white-space: nowrap;
}
.tools-range-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #eeeff1;
  border-radius: 10px;
  padding: 4px;
}
.tools-range-options > button {
  font: inherit;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted, #60646d);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: 4px;
}
.tools-range-options > button[aria-pressed="true"] {
  background: #fff;
  border-color: #dddee1;
  box-shadow: 0 2px 6px #191a1d06;
  color: var(--accent, #ba3500);
}
.tools-range-chart {
  height: 182px;
  margin: 25px 0 28px;
  position: relative;
  border-bottom: 1px solid #dddee1;
}
.tools-range-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to top,
    #dddee170 0 1px,
    transparent 1px 40px
  );
}
.tools-range-window {
  position: absolute;
  bottom: 0;
  height: 90px;
  left: 28.5714%;
  right: 40%;
  background: #f2f3f5;
  border-top: 1px solid #68707d;
  transition:
    left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    right 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tools-range-edge {
  position: absolute;
  top: -14px;
  bottom: 0;
  width: 1px;
  background: #68707d;
}
.tools-range-edge-left {
  left: 0;
}
.tools-range-edge-right {
  right: 0;
}
.tools-price-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42.8571%;
  border-left: 1px dashed var(--accent, #ba3500);
  z-index: 1;
}
.tools-price-line > span {
  font-size: 10px;
  white-space: nowrap;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent, #ba3500);
  background: #fff0e8;
  padding: 2px 5px;
  border-radius: 3px;
}
.tools-price-line > i {
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, #ba3500);
}
.tools-range-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted, #60646d);
  line-height: 1.6;
}
.tools-bound-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}
.tools-bound-values > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tools-bound-values > div:last-child {
  text-align: right;
}
.tools-bound-values > div > span {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted, #60646d);
  white-space: nowrap;
}
.tools-bound-values strong {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.tools-bound-rule {
  width: 38px;
  height: 1px;
  background: var(--line, #dddee1);
}
.tools-chart-caption {
  font-size: 11px;
  line-height: 1.8;
  margin: 18px 0 0;
  color: var(--muted, #60646d);
}
.tools-primary-button {
  display: inline-flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
  background: var(--primary, #ff4f0a);
  color: var(--on-primary, #191a1d);
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  border-radius: 10px;
  padding: 13px 17px;
  cursor: pointer;
  margin-top: 18px;
  transition: background 0.2s;
}
.tools-primary-button:hover {
  background: #f34500;
}
.tools-primary-button > span {
  font-size: 18px;
  line-height: 1;
}
.tools-example-control {
  display: block;
  color: var(--muted, #60646d);
  font-size: 10px;
  line-height: 1.8;
  margin-top: 10px;
}
.tools-money-card {
  border: 1px solid #dddee1;
  border-radius: 8px;
  background: #fff;
  padding: 17px;
}
.tools-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text, #191a1d);
}
.tools-card-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.tools-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--muted, #60646d);
  fill: none;
  stroke-width: 1.2;
}
.tools-stage-chip {
  font-size: 10px;
  padding: 2px 6px;
  line-height: 1.6;
  border: 1px solid var(--line, #dddee1);
  border-radius: 4px;
  color: var(--muted, #60646d);
  margin-left: auto;
  white-space: nowrap;
}
.tools-wallet-balance,
.tools-position-balance {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  flex-wrap: wrap;
}
.tools-wallet-balance > strong,
.tools-position-balance > strong,
.tools-compound-principal > strong {
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.4;
}
.tools-money-card strong small,
.tools-pocket strong small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted, #60646d);
}
.tools-empty-balance {
  font-size: 12px;
  color: #60646d;
  line-height: 1.8;
}
.tools-wallet-balance .tools-amount-pair,
.tools-position-balance .tools-amount-pair {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: baseline;
}
.tools-amount-pair > strong {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.6;
}
.tools-amount-pair > span {
  font-size: 13px;
  color: #60646d;
}
.tools-operation-arrow {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  color: var(--muted, #60646d);
  line-height: 1.6;
  padding: 11px 0;
}
.tools-operation-arrow > span:last-child {
  font-size: 20px;
  color: var(--accent, #ba3500);
  line-height: 1;
}
.tools-total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid #dddee1;
  font-size: 12px;
  color: var(--muted, #60646d);
}
.tools-total-line > strong {
  font-size: 15px;
  font-weight: 400;
  color: var(--text, #191a1d);
  white-space: nowrap;
}
.tools-deposit-visual[data-tools-deposit-stage="2"] .tools-position-card {
  background: #fff0e8;
  border-color: #d0a38e;
}
.tools-deposit-visual[data-tools-deposit-stage="2"]
  .tools-position-card
  .tools-card-icon {
  color: var(--accent, #ba3500);
}
.tools-compound-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 23px;
}
.tools-compound-actions > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 9px;
  background: var(--accent-soft, #fff0e8);
  border: 1px solid #d0a38e;
  color: var(--accent, #ba3500);
  border-radius: 10px;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
  white-space: nowrap;
}
.tools-compound-actions > button > span {
  font-size: 10px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: inherit;
  opacity: 0.65;
}
.tools-compound-actions > button:disabled {
  background: #f5f5f4;
  border-color: var(--line, #dddee1);
  color: #60646d;
  cursor: default;
}
.tools-compound-actions > button[data-complete="true"] {
  background: #f2f3f5;
  border-color: #dddee1;
  color: #60646d;
}
.tools-repeat-button {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12px;
  color: var(--accent, #ba3500);
  cursor: pointer;
  margin-top: 18px;
  line-height: 1.7;
}
.tools-repeat-button > span {
  font-size: 17px;
  line-height: 1;
}
.tools-compound-principal {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
}
.tools-position-added {
  font-size: 11px;
  line-height: 1.7;
  padding: 3px 6px;
  color: var(--accent, #ba3500);
  border-radius: 4px;
  background: var(--accent-soft, #fff0e8);
  white-space: nowrap;
}
.tools-principal-pair {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 9px;
  color: var(--muted, #60646d);
}
.tools-compound-pocket-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 17px;
}
.tools-pocket {
  border: 1px solid var(--line, #dddee1);
  border-radius: 7px;
  padding: 13px;
  min-width: 0;
  background: #fff;
}
.tools-pocket-label {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted, #60646d);
  min-height: 35px;
}
.tools-pocket strong {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.035em;
}
.tools-pocket .tools-small-pair {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text, #191a1d);
  margin-top: 5px;
}
.tools-pocket .tools-small-pair strong {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.6;
}
.tools-compound-visual[data-tools-compound-stage="3"] .tools-principal-card {
  background: #fff0e8;
  border-color: #d0a38e;
}
.tools-footnote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 17px 28px;
  border-top: 1px solid var(--line, #dddee1);
  background: #f5f5f4;
}
.tools-footnote > p {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted, #60646d);
}
.tools-note-mark {
  width: 14px;
  height: 14px;
  border: 1px solid #767b85;
  border-radius: 50%;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-family: serif;
  line-height: 1;
  color: #60646d;
  margin-top: 4px;
}
@media (max-width: 1100px) {
  .tools-panel {
    gap: 35px;
    padding: 35px 30px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .tools-copy h3 {
    font-size: 27px;
  }
  .tools-visual {
    padding: 20px;
  }
  .tools-visual-heading {
    font-size: 12px;
  }
  .tools-fixed-price {
    font-size: 10px;
  }
  .tools-copy > p {
    font-size: 14px;
  }
  .tools-card-heading {
    font-size: 11px;
  }
  .tools-stage-chip {
    font-size: 9px;
  }
  .tools-amount-pair > strong {
    font-size: 19px;
  }
  .tools-wallet-balance,
  .tools-position-balance {
    gap: 8px;
  }
  .tools-compound-actions > button {
    font-size: 11px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .tools-pocket-label {
    font-size: 10px;
  }
  .tools-pocket {
    padding: 11px;
  }
  .tools-bound-values strong {
    font-size: 24px;
  }
}
@media (max-width: 850px) {
  .tools-section-heading h2 {
    font-size: 41px;
  }
  .tools-tabs {
    padding: 0 16px;
    gap: 8px;
  }
  .tools-tabs > button {
    font-size: 12px;
    gap: 8px;
  }
  .tools-tabs > button > svg {
    width: 19px;
    height: 19px;
  }
  .tools-panel {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
    min-height: 0;
  }
  .tools-copy h3 {
    font-size: 31px;
    margin-top: 12px;
  }
  .tools-copy h3 br {
    display: none;
  }
  .tools-copy {
    max-width: none;
  }
  .tools-copy > p {
    font-size: 15px;
  }
  .tools-range-explanation,
  .tools-action-description {
    min-height: 0;
  }
  .tools-copy > p.tools-supporting-copy {
    font-size: 13px;
  }
  .tools-copy > p {
    margin-bottom: 16px;
  }
  .tools-visual {
    padding: 25px;
  }
  .tools-visual-heading {
    font-size: 13px;
  }
  .tools-fixed-price {
    font-size: 12px;
  }
  .tools-compound-actions {
    max-width: 440px;
  }
  .tools-compound-actions > button {
    font-size: 13px;
    padding: 13px;
  }
  .tools-card-heading {
    font-size: 13px;
  }
  .tools-stage-chip {
    font-size: 10px;
  }
  .tools-amount-pair > strong {
    font-size: 24px;
  }
  .tools-wallet-balance,
  .tools-position-balance {
    min-height: 70px;
  }
  .tools-compound-pocket-row {
    gap: 17px;
  }
  .tools-pocket-label {
    min-height: 25px;
    font-size: 11px;
  }
  .tools-pocket {
    padding: 17px;
  }
  .tools-pocket strong {
    font-size: 27px;
  }
  .tools-pocket .tools-small-pair {
    font-size: 14px;
  }
  .tools-pocket .tools-small-pair strong {
    font-size: 17px;
  }
}
@media (max-width: 540px) {
  .tools-section {
    padding-top: 78px;
    padding-bottom: 15px;
  }
  .tools-section-heading {
    margin-bottom: 27px;
  }
  .tools-kicker {
    font-size: 10px;
  }
  .tools-section-heading h2 {
    font-size: 34px;
    line-height: 1.24;
    margin-top: 16px;
    margin-bottom: 18px;
  }
  .tools-section-heading > p {
    font-size: 14px;
    line-height: 1.9;
  }
  .tools-workspace {
    border-radius: 11px;
  }
  .tools-tabs {
    gap: 0;
    padding: 0 9px;
  }
  .tools-tabs > button {
    font-size: 12px;
    gap: 5px;
    padding: 19px 2px;
  }
  .tools-tabs > button > svg {
    display: none;
  }
  .tools-tab-full {
    display: none;
  }
  .tools-tab-short {
    display: inline;
  }
  .tools-tabs > button[aria-selected="true"]:after {
    left: 5px;
    right: 5px;
  }
  .tools-panel {
    padding: 25px 19px;
    gap: 27px;
  }
  .tools-panel-number {
    font-size: 9px;
  }
  .tools-copy h3 {
    font-size: 27px;
    line-height: 1.32;
    margin: 12px 0 17px;
  }
  .tools-copy h3 br {
    display: initial;
  }
  .tools-copy > p {
    font-size: 14px;
    line-height: 1.9;
  }
  .tools-range-explanation,
  .tools-action-description {
    padding-top: 18px;
    margin-top: 20px;
  }
  .tools-range-explanation > strong,
  .tools-action-description > strong {
    font-size: 14px;
  }
  .tools-range-explanation > p,
  .tools-action-description > p {
    font-size: 14px;
    line-height: 1.85;
  }
  .tools-copy > p.tools-supporting-copy {
    font-size: 12px;
    line-height: 1.9;
  }
  .tools-visual {
    padding: 18px;
    border-radius: 9px;
  }
  .tools-visual-heading {
    font-size: 12px;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .tools-fixed-price {
    font-size: 10px;
  }
  .tools-range-chart {
    height: 165px;
    margin-top: 23px;
  }
  .tools-range-window {
    height: 80px;
  }
  .tools-range-options > button {
    font-size: 12px;
    padding: 8px 5px;
  }
  .tools-bound-values {
    gap: 15px;
  }
  .tools-bound-values > div > span {
    font-size: 10px;
  }
  .tools-bound-values strong {
    font-size: 24px;
  }
  .tools-bound-rule {
    width: 24px;
  }
  .tools-chart-caption {
    font-size: 10px;
    line-height: 1.9;
  }
  .tools-price-line > span {
    font-size: 9px;
  }
  .tools-range-axis {
    font-size: 9px;
  }
  .tools-primary-button {
    font-size: 12px;
    min-height: 46px;
    padding: 12px 15px;
  }
  .tools-example-control {
    font-size: 10px;
    line-height: 1.9;
  }
  .tools-money-card {
    padding: 14px;
  }
  .tools-card-heading {
    font-size: 11px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .tools-stage-chip {
    font-size: 9px;
  }
  .tools-card-icon {
    width: 17px;
    height: 17px;
  }
  .tools-wallet-balance > strong,
  .tools-position-balance > strong,
  .tools-compound-principal > strong {
    font-size: 28px;
  }
  .tools-wallet-balance,
  .tools-position-balance {
    min-height: 63px;
  }
  .tools-empty-balance {
    font-size: 11px;
  }
  .tools-money-card strong small {
    font-size: 11px;
  }
  .tools-amount-pair > strong {
    font-size: 20px;
  }
  .tools-amount-pair > span {
    font-size: 12px;
  }
  .tools-wallet-balance .tools-amount-pair,
  .tools-position-balance .tools-amount-pair {
    gap: 7px;
  }
  .tools-operation-arrow {
    font-size: 10px;
    padding: 10px 0;
  }
  .tools-total-line {
    font-size: 11px;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
  }
  .tools-total-line > strong {
    font-size: 14px;
  }
  .tools-compound-actions {
    gap: 6px;
  }
  .tools-compound-actions > button {
    padding: 12px 8px;
    font-size: 12px;
    gap: 8px;
  }
  .tools-compound-actions > button > span {
    font-size: 9px;
  }
  .tools-compound-pocket-row {
    gap: 10px;
    margin-top: 13px;
  }
  .tools-pocket {
    padding: 12px;
  }
  .tools-pocket-label {
    font-size: 10px;
    min-height: 40px;
  }
  .tools-pocket strong {
    font-size: 23px;
  }
  .tools-pocket strong small {
    font-size: 10px;
  }
  .tools-pocket .tools-small-pair {
    font-size: 12px;
  }
  .tools-pocket .tools-small-pair strong {
    font-size: 14px;
  }
  .tools-principal-pair {
    font-size: 11px;
  }
  .tools-position-added {
    font-size: 10px;
  }
  .tools-footnote {
    padding: 16px 18px;
    gap: 9px;
  }
  .tools-footnote > p {
    font-size: 10px;
    line-height: 1.9;
  }
  .tools-note-mark {
    width: 13px;
    height: 13px;
    font-size: 8px;
  }
}
@media (max-width: 370px) {
  .tools-section-heading h2 {
    font-size: 30px;
  }
  .tools-tabs {
    padding: 0 7px;
  }
  .tools-tabs > button {
    font-size: 11px;
  }
  .tools-panel {
    padding: 22px 15px;
  }
  .tools-visual {
    padding: 15px;
  }
  .tools-copy h3 {
    font-size: 25px;
  }
  .tools-card-heading {
    font-size: 10px;
  }
  .tools-stage-chip {
    font-size: 8px;
  }
  .tools-card-icon {
    width: 16px;
    height: 16px;
  }
  .tools-money-card {
    padding: 12px;
  }
  .tools-bound-values > div > span {
    font-size: 9px;
  }
  .tools-bound-values strong {
    font-size: 22px;
  }
  .tools-compound-actions > button {
    font-size: 11px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .tools-wallet-balance .tools-amount-pair,
  .tools-position-balance .tools-amount-pair {
    gap: 5px;
  }
  .tools-amount-pair > strong {
    font-size: 17px;
  }
  .tools-principal-pair {
    font-size: 10px;
  }
  .tools-pocket {
    padding: 10px;
  }
  .tools-pocket-label {
    font-size: 9px;
  }
  .tools-total-line {
    font-size: 10px;
  }
  .tools-total-line > strong {
    font-size: 12px;
  }
  .tools-compound-principal > strong {
    font-size: 25px;
  }
  .tools-pocket .tools-small-pair {
    font-size: 11px;
  }
  .tools-pocket .tools-small-pair strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tools-range-window {
    transition: none;
  }
  .tools-primary-button {
    transition: none;
  }
}
/* Keep step numbers and action labels on one text baseline; wrap whole buttons. */
.tools-compound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tools-compound-actions > button {
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  min-height: 42px;
  padding: 11px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.tools-compound-actions > button > span {
  font-size: 10px;
  line-height: 1;
}
@media (max-width: 370px) {
  .tools-compound-actions > button {
    font-size: 11px;
    padding: 10px 11px;
    gap: 6px;
  }
}

/* Distinct boundary roles from the Poolaro 2.1 range specification. */
.tools-range-edge { width: 2px; }
.tools-range-edge-left { background: var(--range-lower); }
.tools-range-edge-right { background: var(--range-upper); }
.tools-price-line { border-color: var(--text-secondary); }
.tools-price-line > span { background: var(--surface); color: var(--text-secondary); }
.tools-price-line > i { background: var(--text-secondary); }
.tools-tabs > button { align-items: baseline; }
.tools-tabs > button > svg { align-self: center; }
