:root {
  color-scheme: light;
  --ink: #182d2b;
  --muted: #78827d;
  --green: #087f68;
  --green-dark: #066653;
  --border: #e4e8e3;
  --bg: #f7f8f5;
  --soft-green: #edf6ef;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #77b9a8;
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
code,
.mono {
  font-family: var(--mono);
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 86px;
  max-width: 1216px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 23px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 6px;
  letter-spacing: -2px;
}
.brand-name {
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -1.25px;
  line-height: 1;
}
.brand-dot {
  color: var(--green);
}
.header-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin-left: 3px;
}
.header-label {
  color: #717b75;
  font-size: 13px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65766c;
  font-size: 12px;
}
.status-dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b8a80;
}
.server-status.connected .status-dot,
.footer-local .status-dot {
  background: #3d9a76;
  box-shadow: 0 0 0 3px #eaf4ed;
}
.server-status.offline .status-dot {
  background: #bc6546;
}
.docs-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #52625b;
}
.docs-link .icon {
  width: 15px;
  height: 15px;
}
.docs-link:hover {
  color: var(--green);
}
.workspace {
  max-width: 1216px;
  padding: 38px 28px 25px;
  margin: auto;
}
.breadcrumb {
  display: flex;
  gap: 13px;
  color: #7f8a83;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.45px;
}
.breadcrumb-slash {
  color: #b8c2b9;
}
.breadcrumb span:last-child {
  color: #65766b;
}
.page-heading {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 17px;
}
h1 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.65px;
}
.example-badge {
  padding: 4px 7px;
  border: 1px solid #dce3d9;
  border-radius: 4px;
  background: #f0f2eb;
  color: #7f8978;
  font: 9px/1.2 var(--mono);
  letter-spacing: 0.85px;
}
.page-description {
  color: #7a857e;
  margin-top: 11px;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 550;
  font-size: 12px;
  line-height: 1.4;
}
.button-secondary {
  background: #fff;
  color: #40574b;
  border-color: #dbe2d9;
  box-shadow: 0 1px 2px #102b1810;
}
.button-secondary:hover:not(:disabled) {
  background: #f2f6f0;
  border-color: #b5c9bb;
}
.button-secondary:disabled {
  opacity: 0.55;
}
.button-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 2px 3px #087f6810;
}
.button-primary:hover:not(:disabled) {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.button-primary:disabled {
  background: #e5ece6;
  color: #899b8e;
  border-color: #e0e8de;
  box-shadow: none;
}
.page-heading > .button {
  margin-top: 7px;
}
.environment-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 33px 0 18px;
}
.environment-label {
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.15px;
  color: #879287;
}
.environment-label > span:last-child {
  font-size: 12px;
  color: #7b857e;
}
.environment-switch {
  display: flex;
  border: 1px solid #e0e6dd;
  background: #eef1eb;
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}
.environment-option {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 34px;
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #7f897f;
  font-size: 12px;
  font-weight: 550;
  padding: 7px 14px;
}
.environment-option .icon {
  width: 15px;
  height: 15px;
}
.environment-option.active {
  background: #fff;
  border-color: #dce5d9;
  color: var(--green);
  box-shadow: 0 1px 3px #263b2510;
}
.environment-option:hover:not(:disabled):not(.active) {
  background: #e4eade;
}
.environment-option:disabled {
  opacity: 0.65;
}
.live-dot {
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.environment-option[data-environment="production"].active {
  color: #a76935;
}
.environment-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid #dce9d9;
  border-radius: 8px;
  background: #eef5e9;
  margin-bottom: 24px;
  color: #4d6b49;
}
.notice-icon {
  width: 33px;
  height: 33px;
  border: 1px solid #d6e5cf;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e6f0e0;
  color: #658358;
}
.environment-notice strong {
  font-size: 12px;
  font-weight: 600;
  color: #496643;
}
.environment-notice p {
  font-size: 12px;
  color: #7b8e72;
  margin-top: 2px;
}
.notice-tag {
  margin-left: auto;
  border: 1px solid #d3e2cc;
  border-radius: 4px;
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.7px;
  color: #70905e;
  padding: 5px 8px;
  white-space: nowrap;
}
.environment-notice.production {
  background: #faf2e7;
  border-color: #eddcc4;
}
.production .notice-icon {
  border-color: #ebd8be;
  background: #f8e9d3;
  color: #b47c42;
}
.environment-notice.production strong {
  color: #885b2e;
}
.environment-notice.production p {
  color: #a08464;
}
.production .notice-tag {
  border-color: #e8d5bb;
  color: #9d713f;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 5px #18381c03;
}
.panel-heading {
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.heading-with-icon > .icon {
  color: #5b7064;
  width: 19px;
  height: 19px;
}
h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.small-muted {
  font-size: 10px;
  color: #9ba49b;
}
.order-summary {
  margin: 0 25px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 0 25px;
  border-bottom: 1px solid var(--border);
}
.product-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #dce8df;
  background: #edf5ef;
  border-radius: 9px;
  color: #588568;
}
.product-icon .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.5;
}
.product-description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-description strong {
  font-size: 13px;
  font-weight: 550;
}
.product-description span {
  font-size: 11px;
  color: #90998f;
}
.order-amount {
  margin-left: auto;
  white-space: nowrap;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1;
}
.currency-prefix {
  font-size: 20px;
  color: #6c7d70;
  vertical-align: top;
  line-height: 1.4;
  margin-right: 2px;
}
.amount-decimals {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.checkout-body {
  padding: 24px 25px 16px;
}
.flow-steps {
  display: flex;
  align-items: center;
  margin: 0 0 29px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: #a2aaa0;
  gap: 0;
}
.flow-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  white-space: nowrap;
}
.flow-steps li:not(:last-child):after {
  content: "";
  height: 1px;
  flex: 1;
  margin: 0 15px;
  background: #e7ebe4;
  min-width: 10px;
}
.flow-steps li:last-child {
  flex: 0;
}
.step-number {
  width: 21px;
  height: 21px;
  border: 1px solid #e1e7dd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  background: #f9faf7;
  flex: none;
}
.flow-steps .current {
  color: #476b55;
  font-weight: 550;
}
.current .step-number {
  border-color: #bcd3bd;
  background: #eef6ed;
  color: #4b7c52;
}
.flow-steps .complete {
  color: var(--green);
}
.complete .step-number {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.card-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
h3 {
  font-size: 12px;
  font-weight: 550;
}
.card-form-heading > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #a0a89e;
}
.card-form-heading .icon {
  width: 11px;
  height: 11px;
}
.setup-placeholder {
  background: #fafbf8;
  border: 1px dashed #d8e2d4;
  border-radius: 8px;
  text-align: center;
  padding: 21px 20px 23px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.placeholder-art {
  width: 174px;
  height: 93px;
  position: relative;
  margin: 0 auto 13px;
}
.mini-card {
  position: absolute;
  left: 21px;
  top: 4px;
  width: 125px;
  height: 76px;
  border-radius: 9px;
  background: linear-gradient(120deg, #edf3e9, #e7efe4);
  border: 1px solid #cddfc9;
  transform: rotate(-7deg);
  box-shadow: 4px 6px 0 #e5ece022;
  color: #8baa80;
}
.mini-chip {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 17px;
  height: 13px;
  border: 1px solid #b5c6a9;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    transparent 45%,
    #bccdae 46%,
    #bccdae 52%,
    transparent 53%
  );
}
.mini-dots {
  position: absolute;
  bottom: 24px;
  left: 15px;
  font-size: 9px;
  letter-spacing: 0.4px;
}
.mini-line {
  position: absolute;
  bottom: 13px;
  left: 15px;
  width: 24px;
  height: 3px;
  background: #c6d7bb;
  border-radius: 2px;
}
.mini-card > .icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 15px;
  height: 15px;
}
.art-spark {
  position: absolute;
  color: #adc4a1;
  font-size: 17px;
  font-weight: 300;
}
.spark-one {
  left: 0;
  top: 21px;
}
.spark-two {
  right: 0;
  top: 3px;
  font-size: 23px;
}
.art-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bfd0b2;
  right: 3px;
  bottom: 21px;
}
.setup-placeholder h3 {
  font-size: 13px;
  color: #53694f;
  font-weight: 550;
}
.setup-placeholder > p {
  max-width: 300px;
  color: #94a08d;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 7px;
}
.setup-placeholder code {
  font-size: 10px;
  color: #71886b;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.6;
}
.text-button:hover:not(:disabled) {
  color: #054f40;
}
.text-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.setup-placeholder > .text-button {
  margin-top: 12px;
  font-size: 11px;
  color: #608451;
}
.frame-container {
  position: relative;
  border: 1px solid #e2e8df;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  min-height: 248px;
}
.frame-container iframe {
  display: block;
  width: 100%;
  height: 235px;
  border: 0;
  background: #fff;
}
.frame-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #fbfcf9;
  color: #8b9985;
  pointer-events: none;
}
.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #9aa492;
  font-size: 9px;
  margin: 14px 0 20px;
}
.secure-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
}
.full-width {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}
.full-width > .icon:last-child {
  margin-left: auto;
}
.full-width > span:first-child {
  margin-right: auto;
}
.full-width > .icon:first-child {
  width: 15px;
  height: 15px;
}
.payment-action {
  margin-top: 11px;
}
.confirmation {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fcf4e9;
  color: #9c773f;
  border: 1px solid #efdfc5;
  border-radius: 6px;
  font-size: 11px;
  padding: 11px;
  margin-bottom: 12px;
}
.confirmation input {
  margin: 3px 0 0;
  accent-color: #a7793a;
}
.checkout-status {
  font-size: 10px;
  line-height: 1.65;
  color: #94a08e;
  text-align: center;
  margin-top: 11px;
  min-height: 18px;
  overflow-wrap: anywhere;
}
.checkout-status.success {
  color: var(--green);
}
.checkout-status.error {
  color: #b66643;
}
.checkout-status.pending {
  color: #9d7d43;
}
.sample-section {
  padding: 20px 25px;
  background: #fcfdfb;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sample-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e3e9dc;
  border-radius: 7px;
  color: #8a9d7e;
  background: #f4f7ef;
}
.sample-icon .icon {
  width: 16px;
  height: 16px;
}
.sample-section strong {
  font-size: 11px;
  font-weight: 550;
  color: #62745b;
}
.sample-section p {
  font-size: 10px;
  color: #9aa48f;
  margin-top: 2px;
}
.sample-section > .button {
  margin-left: auto;
  padding: 8px 11px;
  min-height: 35px;
  white-space: nowrap;
  font-size: 10px;
  color: #608253;
}
.sample-section .button .icon {
  width: 13px;
  height: 13px;
}
.details-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.connection-panel .panel-heading {
  padding-bottom: 16px;
}
.connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 500;
  border: 1px solid #e5e8dc;
  background: #f7f8f0;
  color: #909479;
  border-radius: 4px;
  padding: 3px 6px;
}
.connection-badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.connection-badge.ready {
  background: #eef6ef;
  border-color: #d9e9da;
  color: #61865e;
}
.connection-details {
  padding: 0 25px;
  margin: 0 0 18px;
}
.connection-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 6px 0;
  font-size: 11px;
}
.connection-details dt {
  color: #94a08e;
}
.connection-details dd {
  margin: 0;
  color: #546952;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection-details .mono {
  font-size: 10px;
}
.detail-pill {
  font-size: 8px;
  border: 1px solid #e1e8d9;
  color: #93a084;
  border-radius: 3px;
  padding: 0 4px;
}
.endpoint {
  position: relative;
  padding: 12px 15px;
  margin: 0 25px;
  border: 1px solid #e4eadd;
  border-radius: 6px;
  background: #fafbf7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.endpoint .eyebrow {
  font-size: 8px;
  letter-spacing: 0.9px;
  color: #9aa58f;
}
.endpoint code {
  font-size: 11px;
  color: #7c9172;
}
.endpoint .icon {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 13px;
  height: 13px;
  color: #a5b39a;
}
.connection-settings {
  margin: 16px 25px 21px;
  font-size: 10px;
  color: #789267;
}
.inspector-panel .panel-heading {
  padding-bottom: 20px;
}
.terminal-mark {
  font: 14px/1 var(--mono);
  color: #80957a;
}
.inspector-tabs {
  display: flex;
  padding: 0 25px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.inspector-tabs button {
  position: relative;
  padding: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  color: #98a290;
  font-size: 10px;
  white-space: nowrap;
}
.inspector-tabs button.active {
  color: #608552;
  font-weight: 550;
}
.inspector-tabs button.active:after {
  content: "";
  height: 2px;
  background: #719466;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.inspector-tabs button:hover {
  color: var(--green);
}
.tab-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #88aa7b;
}
.code-panel {
  margin: 18px 20px 0;
  background: #172522;
  border: 1px solid #1c2f28;
  border-radius: 7px;
  overflow: hidden;
  color: #c1cec0;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #293730;
  color: #869b84;
  font: 9px/1.5 var(--mono);
}
.code-toolbar > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.code-dot {
  width: 5px;
  height: 5px;
  border: 1px solid #6f8669;
  border-radius: 50%;
}
.icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: inherit;
  padding: 3px;
}
.icon-button .icon {
  width: 14px;
  height: 14px;
}
.icon-button:hover:not(:disabled) {
  background: #9bb48b15;
}
.icon-button:disabled {
  opacity: 0.4;
}
.response-empty {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.response-empty > .icon {
  width: 26px;
  height: 26px;
  color: #6d8765;
  stroke-width: 1.2;
  margin-bottom: 12px;
}
.response-empty strong {
  font-size: 10px;
  font-weight: 400;
  color: #99b28e;
}
.response-empty p {
  font-size: 9px;
  color: #697e63;
  line-height: 1.8;
  margin-top: 5px;
}
.code-panel pre {
  padding: 15px 16px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 175px;
  max-height: 325px;
  overflow-y: auto;
  font: 10px/1.85 var(--mono);
  color: #b5c8aa;
  tab-size: 2;
}
.json-key {
  color: #a4bd90;
}
.json-string {
  color: #d0d3a6;
}
.json-boolean {
  color: #e2b688;
}
.json-number {
  color: #aec9c3;
}
.json-null {
  color: #7c9180;
}
.code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #293730;
  padding: 8px 12px;
  color: #71836b;
  font: 8px/1.5 var(--mono);
}
.code-footer span:last-child {
  font-size: 8px;
  letter-spacing: 0.6px;
}
.inspector-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 14px 22px 19px;
  color: #929e87;
}
.inspector-note > .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: #a1ad95;
}
.inspector-note p {
  font-size: 9px;
  line-height: 1.75;
}
.inspector-note code {
  font-size: 8px;
  background: #f2f5ed;
  border-radius: 3px;
  padding: 2px 3px;
  color: #7a916b;
}
.flow-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1px 7px;
}
.flow-note-icon {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e7eee0;
  color: #91a783;
  display: grid;
  place-items: center;
  flex: none;
}
.flow-note-icon .icon {
  width: 10px;
  height: 10px;
}
.flow-note p {
  font-size: 10px;
  color: #a0aa93;
  max-width: 345px;
  line-height: 1.8;
}
.workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 31px;
  border-top: 1px solid #e0e7d9;
  padding-top: 19px;
  font-size: 10px;
  color: #9aa68e;
}
.footer-separator {
  margin: 0 8px;
  color: #b3bda6;
}
.workspace-footer .text-button {
  font-size: 10px;
  color: #8ca07c;
}
.workspace-footer .text-button .icon {
  width: 12px;
  height: 12px;
}
.footer-local {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-local .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}
dialog {
  padding: 25px 27px;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 610px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  box-shadow: 0 25px 100px #182d2b30;
  color: var(--ink);
  overflow-y: auto;
}
dialog::backdrop {
  background: #172c255b;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.dialog-heading h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin-top: 6px;
}
.dialog-heading .icon-button {
  color: #94a08a;
  padding: 7px;
}
.dialog-heading .icon-button .icon {
  width: 18px;
  height: 18px;
}
.dialog-intro {
  font-size: 12px;
  color: #8c9884;
  line-height: 1.8;
  margin: 15px 0 18px;
}
.dialog-intro code {
  font-size: 11px;
  color: #69835c;
  overflow-wrap: anywhere;
}
.credential-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 17px;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e4e9dc;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fafbf7;
  font-size: 11px;
  color: #929e86;
}
.credential-item .icon {
  width: 13px;
  height: 13px;
  color: #a4ac98;
}
.credential-item.present {
  background: #f1f7ed;
  color: #69895b;
  border-color: #dfeada;
}
.credential-item.present .icon {
  color: #7c9c6c;
}
.credential-item .credential-state {
  margin-left: auto;
  font-size: 9px;
  white-space: nowrap;
}
.env-snippet {
  background: #172522;
  border: 1px solid #24382c;
  border-radius: 7px;
  color: #aabd9e;
}
.env-snippet > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2d3b2e;
  padding: 9px 13px;
  font: 10px/1.5 var(--mono);
  color: #7f9874;
}
.env-snippet pre {
  margin: 0;
  padding: 15px 14px;
  font: 10px/1.9 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.source-url-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #dfe9d7;
  border-radius: 6px;
  background: #f4f8ef;
  color: #899c7b;
}
.source-url-note > .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.source-url-note p {
  font-size: 11px;
  line-height: 1.8;
}
.source-url-note strong {
  font-weight: 500;
  color: #658657;
}
.source-url-note code {
  font-size: 10px;
  color: #628651;
  overflow-wrap: anywhere;
}
.dialog-footnote {
  font-size: 10px;
  line-height: 1.8;
  color: #9aa68e;
  margin-top: 13px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}
.configuration-error {
  padding: 10px 12px;
  background: #faf0e9;
  border: 1px solid #ecd7c8;
  color: #a7724b;
  font-size: 11px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #203a2b;
  color: #e4eddf;
  font-size: 12px;
  max-width: calc(100% - 32px);
  padding: 11px 19px;
  border-radius: 7px;
  box-shadow: 0 6px 30px #172c2520;
  z-index: 5;
  text-align: center;
}
.busy {
  cursor: wait !important;
}
.busy > svg:last-child {
  animation: busy-pulse 1s infinite;
}
@keyframes busy-pulse {
  50% {
    opacity: 0.25;
  }
}
@media (min-width: 1450px) {
  .workspace {
    padding-top: 48px;
  }
  .header-inner {
    height: 92px;
  }
  .page-heading {
    margin-top: 23px;
  }
  .environment-bar {
    margin-top: 37px;
  }
  .environment-notice {
    margin-bottom: 28px;
  }
  .checkout-body {
    padding-top: 27px;
  }
  .setup-placeholder {
    min-height: 269px;
  }
  .panel-heading {
    padding-top: 25px;
  }
  .order-summary {
    padding-top: 23px;
    padding-bottom: 28px;
  }
}
@media (max-width: 960px) {
  .header-label {
    display: none;
  }
  .header-inner {
    gap: 17px;
  }
  .header-divider {
    display: none;
  }
  .header-right {
    gap: 22px;
  }
  .workspace {
    padding: 30px 23px 25px;
  }
  .content-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  }
  h1 {
    font-size: 32px;
  }
  .title-row {
    gap: 12px;
  }
  .panel-heading {
    padding: 20px;
  }
  .order-summary {
    margin: 0 20px;
    gap: 10px;
  }
  .product-description span {
    max-width: 185px;
    font-size: 10px;
  }
  .product-icon {
    width: 40px;
    height: 40px;
    flex: none;
  }
  .checkout-body {
    padding: 22px 20px 16px;
  }
  .flow-steps {
    font-size: 10px;
  }
  .flow-steps li:not(:last-child):after {
    margin: 0 8px;
  }
  .sample-section {
    padding: 17px 20px;
  }
  .sample-icon {
    display: none;
  }
  .sample-section > .button {
    font-size: 9px;
  }
  .sample-section p {
    font-size: 9px;
  }
  .connection-details {
    padding: 0 20px;
  }
  .endpoint {
    margin: 0 20px;
  }
  .connection-settings {
    margin-left: 20px;
  }
  .inspector-tabs {
    gap: 16px;
    padding: 0 20px;
  }
  .inspector-tabs button {
    font-size: 9px;
  }
  .code-panel {
    margin: 17px 16px 0;
  }
  .inspector-note {
    padding: 13px 18px 18px;
  }
  .order-amount {
    font-size: 29px;
  }
}
@media (max-width: 740px) {
  .header-inner {
    height: 72px;
    padding: 0 20px;
  }
  .brand-name {
    font-size: 25px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 28px;
  }
  .header-right {
    gap: 17px;
  }
  .server-status {
    font-size: 10px;
  }
  .docs-link {
    font-size: 11px;
    gap: 6px;
  }
  .docs-link .icon {
    width: 13px;
    height: 13px;
  }
  .workspace {
    max-width: 580px;
    padding: 26px 20px 24px;
  }
  .breadcrumb {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .page-heading > .button {
    margin: 0;
    min-height: 35px;
    font-size: 10px;
    padding: 8px 11px;
  }
  .page-heading > .button .icon {
    width: 14px;
    height: 14px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .example-badge {
    font-size: 8px;
  }
  .page-description {
    font-size: 12px;
    margin-top: 8px;
  }
  .environment-bar {
    margin-top: 24px;
    align-items: center;
  }
  .environment-label {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .environment-label > span:last-child {
    font-size: 10px;
    max-width: 150px;
  }
  .environment-switch {
    padding: 3px;
    gap: 3px;
  }
  .environment-option {
    min-width: 88px;
    min-height: 32px;
    font-size: 10px;
    padding: 7px 10px;
  }
  .environment-option .icon {
    width: 12px;
    height: 12px;
  }
  .environment-notice {
    padding: 13px 14px;
    gap: 10px;
    margin-bottom: 19px;
  }
  .notice-tag {
    display: none;
  }
  .environment-notice strong {
    font-size: 11px;
  }
  .environment-notice p {
    font-size: 10px;
    max-width: 355px;
  }
  .content-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .product-description span {
    max-width: none;
    font-size: 10px;
  }
  .setup-placeholder {
    min-height: 253px;
  }
  .details-column {
    gap: 19px;
  }
  .panel-heading {
    padding: 21px 23px;
  }
  .order-summary {
    margin: 0 23px;
    padding-top: 15px;
  }
  .checkout-body {
    padding: 22px 23px 16px;
  }
  .flow-steps {
    font-size: 11px;
  }
  .flow-steps li:not(:last-child):after {
    margin: 0 13px;
  }
  .sample-section {
    padding: 20px 23px;
  }
  .sample-icon {
    display: grid;
  }
  .sample-section > .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .sample-section p {
    font-size: 9px;
  }
  .connection-details {
    padding: 0 23px;
  }
  .endpoint {
    margin: 0 23px;
  }
  .connection-settings {
    margin-left: 23px;
  }
  .inspector-tabs {
    padding: 0 23px;
    gap: 24px;
  }
  .inspector-tabs button {
    font-size: 10px;
  }
  .code-panel {
    margin: 18px 20px 0;
  }
  .code-panel pre {
    font-size: 11px;
  }
  .response-empty {
    min-height: 193px;
  }
  .inspector-note {
    padding: 15px 23px 20px;
  }
  .flow-note {
    padding: 0 6px;
  }
  .workspace-footer {
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 17px;
  }
  .footer-local {
    display: none;
  }
  .workspace-footer .text-button {
    margin-left: auto;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .credential-checklist {
    gap: 7px;
  }
  .credential-item {
    font-size: 10px;
    padding: 8px;
  }
  .credential-state {
    font-size: 8px !important;
  }
  .env-snippet pre {
    font-size: 9px;
  }
}
@media (max-width: 400px) {
  .server-status {
    display: none;
  }
  .header-inner {
    padding: 0 17px;
  }
  .workspace {
    padding-right: 16px;
    padding-left: 16px;
  }
  h1 {
    font-size: 27px;
  }
  .example-badge {
    padding: 3px 5px;
    font-size: 7px;
  }
  .title-row {
    gap: 9px;
  }
  .environment-label > span:last-child {
    max-width: 120px;
  }
  .environment-option {
    min-width: 83px;
    font-size: 9px;
  }
  .sample-section {
    gap: 9px;
    padding: 18px;
  }
  .sample-icon {
    display: none;
  }
  .panel-heading {
    padding: 20px;
  }
  .order-summary {
    margin: 0 20px;
  }
  .checkout-body {
    padding: 22px 20px 16px;
  }
  .product-description span {
    max-width: 176px;
    font-size: 9px;
  }
  .order-amount {
    font-size: 27px;
  }
  .amount-decimals {
    font-size: 20px;
  }
  .card-form-heading > span {
    font-size: 8px;
  }
  .flow-steps li:not(:last-child):after {
    margin: 0 10px;
  }
  .credential-checklist {
    grid-template-columns: 1fr;
  }
  .env-snippet pre {
    font-size: 8px;
  }
  dialog {
    padding: 22px;
  }
  .dialog-actions .button {
    width: 100%;
  }
}
.has-token #tokenize {
  background: #fff;
  color: var(--green);
  border-color: #bdd5c6;
  box-shadow: none;
}
.has-token #tokenize:hover:not(:disabled) {
  background: #f0f6ef;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
