.apcb-pricing,
.apcb-status,
.apcb-account-links {
  --apcb-ink: #171717;
  --apcb-muted: #626262;
  --apcb-line: #d8d8d8;
  --apcb-accent: #ad831b;
  color: var(--apcb-ink);
  font-family: inherit;
}

.apcb-pricing { max-width: 760px; margin: 32px auto; }
.apcb-plan-switch { display: flex; gap: 4px; width: max-content; margin: 0 auto 24px; padding: 4px; border: 1px solid var(--apcb-line); }
.apcb-plan-switch button { border: 0; background: transparent; color: var(--apcb-muted); padding: 9px 18px; cursor: pointer; }
.apcb-plan-switch button.is-active { background: var(--apcb-ink); color: #fff; }
.apcb-plan { border-top: 1px solid var(--apcb-line); border-bottom: 1px solid var(--apcb-line); padding: 28px 0; }
.apcb-plan h2 { margin: 4px 0 8px; font-size: 32px; letter-spacing: 0; }
.apcb-plan header > p:last-child { max-width: 620px; color: var(--apcb-muted); }
.apcb-kicker { margin: 0; color: var(--apcb-accent); font-weight: 700; }
.apcb-price { margin: 0 0 10px; color: var(--apcb-ink) !important; font-size: 22px; font-weight: 700; }
.apcb-plan form { margin-top: 28px; }
.apcb-plan label { display: block; margin-bottom: 7px; font-weight: 600; }
.apcb-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.apcb-form-row input { min-width: 0; min-height: 46px; border: 1px solid var(--apcb-line); padding: 9px 12px; font: inherit; }
.apcb-form-row button { min-height: 46px; border: 0; background: var(--apcb-accent); color: #fff; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.apcb-form-row button:disabled { cursor: wait; opacity: .65; }
.apcb-message { min-height: 24px; color: var(--apcb-muted); }
.apcb-status { max-width: 680px; margin: 48px auto; padding: 40px 0; text-align: center; border-top: 1px solid var(--apcb-line); border-bottom: 1px solid var(--apcb-line); }
.apcb-result-overlay { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: start center; overflow: auto; padding: clamp(24px, 7vh, 72px) 20px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(8px); }
.apcb-result-panel { position: relative; width: min(680px, 100%); border: 1px solid #292929; background: #0b0c0d; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); color: #f6f4ef; }
.apcb-result-panel .apcb-status { --apcb-ink: #f6f4ef; --apcb-muted: #a4a4a4; --apcb-line: #303030; --apcb-accent: #c39613; margin: 0; padding: clamp(46px, 8vw, 76px) clamp(24px, 8vw, 72px); border: 0; color: var(--apcb-ink); }
.apcb-result-panel .apcb-status h2 { margin: 8px 0 12px; color: inherit; font-size: clamp(28px, 5vw, 42px); letter-spacing: 0; }
.apcb-result-panel .apcb-status p { color: var(--apcb-muted); }
.apcb-result-panel .apcb-status .apcb-kicker { color: var(--apcb-accent); }
.apcb-status-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border: 1px solid var(--apcb-line); }
.apcb-spinner { width: 28px; height: 28px; margin: 0 auto 18px; border: 3px solid var(--apcb-line); border-top-color: var(--apcb-accent); border-radius: 50%; animation: apcb-spin .8s linear infinite; }
.apcb-status-mark .apcb-spinner { margin: 0; }
.apcb-check { display: none; color: #d3a91f; font-size: 31px; line-height: 1; }
.apcb-status-actions { margin-top: 28px; }
.apcb-primary-link, .apcb-status-actions button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid #c39613; background: #c39613; color: #0b0c0d !important; padding: 10px 20px; font: inherit; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.apcb-status-actions button { background: transparent; color: #f6f4ef !important; }
.apcb-result-close { position: absolute; top: 12px; right: 16px; color: #a4a4a4 !important; font-size: 34px; line-height: 1; text-decoration: none !important; }
.apcb-cancel-notice { position: fixed; z-index: 999999; left: 50%; bottom: 24px; translate: -50% 0; width: min(620px, calc(100% - 32px)); border: 1px solid #303030; background: #0b0c0d; color: #f6f4ef; padding: 18px 22px; text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.apcb-cancel-notice a { color: #d3a91f; }
.apcb-status.is-ready h2 { color: #246b3c; }
.apcb-result-panel .apcb-status.is-ready h2 { color: #f6f4ef; }
.apcb-status.has-error h2 { color: #9b2c2c; }
.apcb-account-links { display: flex; flex-wrap: wrap; gap: 18px; }
.apcb-account-links a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
@keyframes apcb-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .apcb-form-row { grid-template-columns: 1fr; } .apcb-form-row button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .apcb-spinner { animation-duration: 1.8s; } }
