/* Only the two independently placeable Partner API shortcode blocks. */
.vm-api-block {
  --vm-blue:#0067ed;
  --vm-text:#334155;
  --vm-heading:#111827;
  max-width:100%;
  margin:0 auto;
  color:var(--vm-text);
  font-family:inherit;
  line-height:1.55;
  box-sizing:border-box;
}
.vm-api-block * {box-sizing:border-box;}
.vm-api-container {max-width:1200px;margin:0 auto;}
.vm-api-cycle {
  display:flex;justify-content:center;gap:5px;width:max-content;max-width:100%;
  padding:5px;margin:0 auto 22px;border:1px solid #d6e5ff;border-radius:16px;background:#eef5ff;
}
.vm-api-block .vm-api-cycle > button {
  appearance:none !important;-webkit-appearance:none !important;min-width:108px;min-height:43px;
  padding:9px 19px !important;margin:0 !important;border:1px solid transparent !important;
  border-radius:11px !important;background:transparent !important;color:#334155 !important;
  box-shadow:none !important;font-family:inherit !important;font-size:15px !important;font-weight:700 !important;line-height:1.25 !important;text-transform:none !important;
  letter-spacing:normal !important;cursor:pointer !important;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease !important;
}
.vm-api-block .vm-api-cycle > button:hover:not(.is-active){background:#dfeaff !important;color:#0759d0 !important;}
.vm-api-block .vm-api-cycle > button.is-active,
.vm-api-block .vm-api-cycle > button.is-active:hover {
  background:linear-gradient(135deg,#0067ed,#0757c8) !important;color:#fff !important;
  box-shadow:0 4px 13px rgba(0,103,237,.23) !important;
}
.vm-api-cycle-saving {display:block;margin-top:2px;color:#17784a;font-size:11px;font-weight:800;white-space:nowrap;}
.vm-api-block .vm-api-cycle > button.is-active .vm-api-cycle-saving {color:#d9ffe9;}
.vm-api-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px;align-items:stretch;padding:26px 6px 5px;}
.vm-api-block .vm-api-card {
  --tier:#64748b;--tier-dark:#334155;--tier-border:#aebbc9;--tier-shadow:rgba(71,85,105,.16);
  position:relative;display:flex;flex-direction:column;min-width:0;overflow:visible;
  margin:0;padding:0;border:2px solid var(--tier-border) !important;border-radius:22px !important;
  background:linear-gradient(150deg,#fff 3%,#f3f6fa 56%,#e8edf4 100%) !important;
  box-shadow:0 14px 34px var(--tier-shadow) !important;
  transition:transform .22s ease,box-shadow .22s ease !important;
}
.vm-api-block .vm-api-card-gold {
  --tier:#a66c13;--tier-dark:#70450c;--tier-border:#d6aa50;--tier-shadow:rgba(166,108,19,.17);
  border:3px solid #d9a333 !important;
  background:linear-gradient(150deg,#fffdf7 3%,#fff3d3 56%,#f5e3ae 100%) !important;
  box-shadow:0 0 0 5px rgba(228,188,97,.32),0 23px 43px rgba(158,112,27,.24) !important;
  transform:translateY(-7px);
}
.vm-api-block .vm-api-card-vip {
  --tier:#7045bc;--tier-dark:#542c9e;--tier-border:#ac8be5;--tier-shadow:rgba(104,65,174,.18);
  background:linear-gradient(150deg,#fefcff 3%,#f2eaff 56%,#e4d7fa 100%) !important;
}
.vm-api-block .vm-api-card:hover {transform:translateY(-4px);box-shadow:0 21px 42px var(--tier-shadow) !important;}
.vm-api-block .vm-api-card-gold:hover {transform:translateY(-10px);box-shadow:0 0 0 5px rgba(228,188,97,.38),0 27px 47px rgba(158,112,27,.28) !important;}
.vm-api-recommended {
  position:absolute;z-index:2;top:-20px;left:50%;transform:translateX(-50%);
  max-width:calc(100% - 18px);padding:8px 13px;border:2px solid #fff2ca;border-radius:999px;
  background:linear-gradient(135deg,#a8720c,#ffdc79 50%,#ad7510);
  box-shadow:0 5px 18px rgba(142,101,28,.35);color:#563400;
  font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1.2;text-align:center;white-space:nowrap;
}
.vm-api-recommended span {padding:0 2px;}
.vm-api-card-image {
  aspect-ratio:3/2;height:auto;overflow:hidden;border-radius:19px 19px 0 0;background:var(--tier-border);border-bottom:1px solid var(--tier-border);
}
.vm-api-block .vm-api-card-image img {
  display:block !important;width:100% !important;height:100% !important;max-width:none !important;
  margin:0 !important;border:0 !important;border-radius:0 !important;object-fit:contain;object-position:center;
}
.vm-api-card-body {display:flex;flex:1;flex-direction:column;padding:21px 23px 24px;}
.vm-api-block .vm-api-card h3 {margin:0 0 7px;color:var(--vm-heading);font-size:24px;font-weight:750;line-height:1.2;}
.vm-api-block .vm-api-card-desc {min-height:72px;margin:0 0 15px;color:#405064;font-size:14px;line-height:1.55;}
.vm-api-price {display:flex;align-items:baseline;gap:4px;margin:0 0 16px;color:var(--vm-heading);white-space:nowrap;}
.vm-api-price .vm-api-currency {font-size:18px;font-weight:700;line-height:1;}
.vm-api-price strong {font-size:clamp(29px,3vw,37px);font-weight:800;line-height:1;font-variant-numeric:tabular-nums;}
.vm-api-price .vm-api-period {margin-left:3px;color:#59667a;font-size:14px;font-weight:600;}
.vm-api-saving {width:max-content;max-width:100%;margin:-5px 0 13px;padding:5px 10px;border-radius:999px;background:#e1f7e8;color:#17683c;font-size:12px;font-weight:600;line-height:1.4;}
.vm-api-saving[hidden] {display:none !important;}
.vm-api-block .vm-api-card form {margin:0 0 18px;padding:0;}
.vm-api-block .vm-api-card form > button.vm-api-button,
.vm-api-block .vm-api-card a.vm-api-button,
.vm-api-block .vm-api-button--disabled {
  appearance:none !important;-webkit-appearance:none !important;display:inline-flex !important;
  align-items:center !important;justify-content:center !important;width:100% !important;min-height:46px !important;
  margin:0 !important;padding:10px 16px !important;border:1px solid var(--tier-dark) !important;
  border-radius:13px !important;background:linear-gradient(135deg,var(--tier-dark),var(--tier)) !important;
  box-shadow:none !important;color:#fff !important;font-family:inherit !important;font-size:14px !important;font-weight:700 !important;line-height:1.3 !important;
  text-transform:none !important;letter-spacing:normal !important;text-decoration:none !important;cursor:pointer !important;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease !important;
}
.vm-api-block .vm-api-card form > button.vm-api-button:hover,
.vm-api-block .vm-api-card a.vm-api-button:hover {
  transform:translateY(-2px);background:linear-gradient(135deg,var(--tier),var(--tier-dark)) !important;
  box-shadow:0 9px 18px var(--tier-shadow) !important;color:#fff !important;
}
.vm-api-block .vm-api-card a.vm-api-button {margin-bottom:18px !important;}
.vm-api-block .vm-api-button--disabled {margin-bottom:18px !important;opacity:.55;cursor:not-allowed !important;}
.vm-api-block .vm-api-features {list-style:none !important;margin:0 !important;padding:0 !important;}
.vm-api-block .vm-api-features li {
  position:relative;list-style:none !important;margin:0 0 9px !important;padding:0 0 0 22px !important;
  color:#334155;font-size:13px;line-height:1.45;
}
.vm-api-block .vm-api-features li:last-child {margin-bottom:0 !important;}
.vm-api-block .vm-api-features li::before {
  content:'';position:absolute;left:0;top:.5em;width:7px;height:7px;border-radius:50%;background:var(--tier);
}
.vm-api-block .vm-api-cycle > button:focus-visible,
.vm-api-block .vm-api-card button:focus-visible,
.vm-api-block .vm-api-card a.vm-api-button:focus-visible {outline:3px solid #17377b !important;outline-offset:3px !important;}
.vm-api-free-message{margin:18px 6px 0;padding:12px 15px;border:1px solid #badac6;border-radius:11px;background:#ecf9ef;color:#17683c;font-weight:700;}
@media(max-width:700px){
  .vm-api-cards{grid-template-columns:1fr;gap:26px;}
  .vm-api-card-gold{transform:none !important;}
  .vm-api-block .vm-api-card-gold:hover{transform:none !important;}
  .vm-api-card-image{aspect-ratio:3/2;height:auto;}
  .vm-api-card-body{padding:19px 20px 22px;}
  .vm-api-card-desc{min-height:0 !important;}
}
@media(max-width:380px){.vm-api-cycle{width:100%;}.vm-api-block .vm-api-cycle > button{flex:1;min-width:0;padding:9px 12px !important;}}
@media(prefers-reduced-motion:reduce){
  .vm-api-block .vm-api-card,.vm-api-block button{transition:none !important;transform:none !important;}
}


/* Native VM Dark: component-owned rules, active only with shared mode signal and migration marker. */
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]):not(#vm-theme-light-only):not(#vm-theme-compat-off) body:not(.wp-admin) :is(.vm-api-block .vm-api-card,:not(*).vm-native-never.vm-native-never vm-native-never):not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){background:var(--vm-api-plans-dark-card,var(--vmd-card,#192230))!important;color:var(--vm-api-plans-dark-text,var(--vmd-text,#edf2fa))!important;border-color:var(--vm-api-plans-dark-line,var(--vmd-line,#39485d))!important;}
/* Native plan typography; CTA gradients and package art stay untouched. */
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]) .vm-api-block:not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){--vm-heading:var(--vm-api-plans-dark-text,var(--vmd-text,#edf2fa));--vm-text:var(--vm-api-plans-dark-muted,var(--vmd-muted,#b2bfd1))}
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]) .vm-api-block :is(.vm-api-card-desc,.vm-api-period,.vm-api-features li):not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){color:var(--vm-api-plans-dark-muted,var(--vmd-muted,#b2bfd1))!important}
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]) .vm-api-block .vm-api-cycle:not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){background:var(--vm-api-plans-dark-raised,var(--vmd-raised,#222e3f));border-color:var(--vm-api-plans-dark-line,var(--vmd-line,#39485d))}
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]) .vm-api-block .vm-api-cycle>button:not(.is-active):not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){color:var(--vm-api-plans-dark-text,var(--vmd-text,#edf2fa))!important}
html[data-vm-theme="dark"]:where([data-vm-theme-native~="api-plans"]) .vm-api-block .vm-api-cycle>button:not(.is-active):hover:not(:where([data-vm-theme-preserve],[data-vm-theme-preserve] *)){background:var(--vm-api-plans-dark-card,var(--vmd-card,#192230))!important}
