/* Shared public actions: compact pills, content-sized widths and clear states. */
:is(.home-refresh,.public-refresh) :is(.button,.route-cta,.route-form button,.tool-run,.tool-cancel,.prompt-copy-button,.resource-reset,.directory-filter,.resource-types a,.trade-topics button) {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  width:max-content; max-width:100%; min-width:0; min-height:40px;
  padding:9px 20px; border:1px solid #d5deeb; border-radius:999px;
  font-size:14px; font-weight:550; line-height:20px; letter-spacing:0;
  white-space:nowrap; flex:0 0 auto; cursor:pointer;
  transition:background-color .15s,border-color .15s,box-shadow .15s;
}
:is(.home-refresh,.public-refresh) :is(.button-primary,.button-light,.route-cta,.route-form button,.tool-run) { background:#3370ff; color:#fff; border-color:#3370ff; }
:is(.home-refresh,.public-refresh) :is(.button-ghost,.button-outline,.tool-cancel,.prompt-copy-button,.resource-reset) { background:#fff; color:#3370ff; border-color:#b8cdfc; }
:is(.home-refresh,.public-refresh) :is(.button,.route-cta,.route-form button,.tool-run):hover:not(:disabled) { background:#245bdb; border-color:#245bdb; color:#fff; box-shadow:0 3px 10px #3370ff20; }
:is(.home-refresh,.public-refresh) :is(.button-ghost,.button-outline,.tool-cancel,.prompt-copy-button,.resource-reset):hover:not(:disabled) { background:#f0f5ff; color:#245bdb; border-color:#83a9fc; box-shadow:none; }
:is(.home-refresh,.public-refresh) :is(.button,.route-cta,.route-form button,.tool-run,.tool-cancel,.prompt-copy-button,.resource-reset):active:not(:disabled) { background:#e6efff; border-color:#245bdb; color:#245bdb; }
:is(.home-refresh,.public-refresh) :is(button,.button,.route-cta,.resource-types a):focus-visible { outline:2px solid #3370ff; outline-offset:4px; }
:is(.home-refresh,.public-refresh) :is(button,.button)[disabled] { opacity:.55; cursor:not-allowed; box-shadow:none; }
:is(.home-refresh,.public-refresh) button[aria-busy="true"] { cursor:wait; }
:is(.home-refresh,.public-refresh) :is(.hero-actions .button,.trade-consultation .route-cta) { min-height:46px; padding:12px 24px; font-size:15px; }
:is(.home-refresh,.public-refresh) :is(.header-inner .button,.route-header .route-cta) { min-height:36px; padding:7px 16px; font-size:13px; }
:is(.home-refresh,.public-refresh) .route-cta span { color:currentColor; }
.home-refresh .consultation-form button[type="submit"] { justify-self:start; }
.public-refresh :is(.directory-filter,.resource-types a,.trade-topics button) { background:transparent; border-color:transparent; color:#657185; }
.public-refresh :is(.resource-types a[aria-current="page"],.trade-topics button[aria-pressed="true"]) { color:#245bdb; background:#edf3ff; border-color:#d5e3ff; }
.home-refresh .directory-filter.is-active { background:#edf3ff; border-color:#d5e3ff; color:#245bdb; }
:is(.home-refresh,.public-refresh) :is(.public-icon-button,.tool-icon-button,.carousel-arrow) { border-radius:50%; }
.public-refresh :is(.developer-button,.developer-endpoint button,.knowledge-search button,.knowledge-form button,.knowledge-feedback button,.script-copy-button,.search-submit) {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  width:max-content; max-width:100%; min-width:0; min-height:40px;
  padding:9px 20px; border:1px solid #3370ff; border-radius:999px;
  background:#3370ff; color:#fff; font-family:inherit;
  font-size:14px; font-weight:550; line-height:20px; letter-spacing:0;
  white-space:nowrap; flex:0 0 auto; cursor:pointer;
  transition:background-color .15s,border-color .15s,box-shadow .15s;
}
.public-refresh :is(.developer-button.secondary,.developer-endpoint button,.knowledge-secondary,.script-copy-button) { background:#fff; color:#3370ff; border-color:#b8cdfc; }
.public-refresh :is(.developer-button,.developer-endpoint button,.knowledge-search button,.knowledge-form button,.knowledge-feedback button,.script-copy-button,.search-submit):hover:not(:disabled) { background:#f0f5ff; color:#245bdb; border-color:#83a9fc; }
.public-refresh :is(.developer-button,.developer-endpoint button,.knowledge-search button,.knowledge-form button,.knowledge-feedback button,.script-copy-button,.search-submit):active:not(:disabled) { background:#e6efff; color:#245bdb; border-color:#245bdb; }
@media(max-width:560px) {
  :is(.home-refresh,.public-refresh) :is(.button,.route-cta,.route-form button,.tool-run,.tool-cancel,.prompt-copy-button,.resource-reset) { padding-left:16px; padding-right:16px; }
  .public-refresh .route-header .route-cta { display:none; }
}
