/* apibacklinks: glue between the old site's shell (style.css, apibl.css) and the core's pages and banners. */
.abl-gate{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:1000;max-width:min(680px,calc(100vw - 32px));
  display:flex;align-items:center;gap:12px;padding:12px 14px 12px 16px;border-radius:12px;background:#0b2a3c;color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:14px;line-height:1.45}
.abl-gate[hidden]{display:none}
.abl-gate a{color:#7fd3ff;font-weight:600}
.abl-gate button{flex:none;background:none;border:0;color:#fff;font-size:22px;line-height:1;cursor:pointer;opacity:.7}
.abl-gate button:hover{opacity:1}
/* footer bottom row: copyright on the left, the legal pages on the right (stacked on phones) */
.site-footer__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px}
.sf-legal{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 0 auto;font-size:12.5px}
.sf-legal a{color:inherit;text-decoration:none}
.sf-legal a:hover{color:var(--c-text);text-decoration:underline}
@media (max-width:760px){.site-footer__bar{flex-direction:column;align-items:flex-start}.site-footer__bar .sf-legal{margin-left:0}}
/* language menus: flags, Auto on its own row */
.lang-flag{width:20px;height:15px;flex:none;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.1)}
i.lang-flag{box-shadow:none;font-size:14px;line-height:15px;text-align:center;opacity:.75}
.lang-sw summary .lang-flag{width:18px;height:13.5px}
.lang-sw__menu a{display:flex;align-items:center;gap:9px}
.lang-sw__menu .lang-auto{grid-column:1/-1;margin-bottom:4px;padding-bottom:9px;border-bottom:1px solid var(--c-hair,rgba(128,128,128,.2));border-radius:7px 7px 0 0}
/* the core's pages inside the old shell: no sidebar, centred content */
body.core-page .page-with-sidebar{margin-left:0}
body.core-page .page-wrapper{max-width:1180px;margin:0 auto;padding:86px 26px 48px}
/* header and footer rows line up with the page content:
   pages without a sidebar — the 1180px column with 26px sides; pages with the sidebar — the content area right of it */
.app-header{padding:0}
.app-header__in{display:flex;align-items:center;gap:16px;width:100%;height:100%;margin:0 auto;padding:0 26px 0 20px}
body.lp-nosb .app-header__in{max-width:1180px;padding:0 26px}
body.lp-nosb .app-brand{width:auto;margin-right:8px}
body:not(.lp-nosb) .site-footer__grid,body:not(.lp-nosb) .site-footer__bar{max-width:1720px}
body.core-page .wrap{max-width:none;margin:0;padding:0}
@media (max-width:640px){.abl-gate{bottom:10px;font-size:13px}}
/* phones: the domain search folds behind an icon (opens as a row under the header), header buttons go icon-only */
.m-search{display:none}
@media (max-width:760px){
  .app-header__in,body.lp-nosb .app-header__in{gap:8px;padding:0 16px}
  .page-wrapper,body.core-page .page-wrapper{padding-left:16px;padding-right:16px}
  .site-footer__grid,.site-footer__bar{padding-left:16px;padding-right:16px}
  .app-search{display:none;position:absolute;left:0;right:0;top:100%;padding:8px 12px;background:var(--c-surface);
    border-bottom:1px solid var(--c-border);box-shadow:var(--shadow-sm)}
  .app-header.search-open .app-search{display:flex}
  .m-search{display:inline-flex}
  .app-header__right{gap:6px}
  .app-header__right .icon-btn{width:36px;height:36px}
}
@media (max-width:560px){
  .app-header__right .lbl,.acct-chip span{display:none}
  .btn-signin,.acct-chip{padding:8px 10px}
  .acct-chip{padding:5px}
  #themeToggle{display:none}
  .app-brand .brand-lockup{width:122px;height:auto}
}
@media (max-width:400px){.btn-cta-sm{display:none}}
/* wide tables in articles scroll inside themselves instead of widening the page */
.alt-body table{display:block;max-width:100%;overflow-x:auto}
/* card payments while Stripe is in test mode */
.tu-test{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:var(--c-surface-3,rgba(128,128,128,.1));font-size:13px}
/* every button and control is a pill like the header chips (owner, 2026-11-18): it was 6/8/10/14/20 px and pills mixed */
:root{--abl-r:999px}
body .app-search input{border-radius:var(--abl-r) 0 0 var(--abl-r)}
body .app-search button{border-radius:0 var(--abl-r) var(--abl-r) 0}
body .btn-signin,body .btn-cta-sm,body .bal-chip,body .acct-chip,body .icon-btn,body .lang-sw summary,body .btn-cta,body .btn-cta--lg,
body .btn-ghost,body .btn,body .ui-btn,body .copy-btn{border-radius:var(--abl-r)}
/* header controls: one height */
body .app-header .app-search input,body .app-header .app-search button{height:40px}
body .app-header__right>.btn-signin,body .app-header__right>.btn-cta-sm,body .app-header__right>.bal-chip,body .app-header__right>.acct-chip,
body .app-header__right>.icon-btn,body .app-header__right .lang-sw summary{height:40px;box-sizing:border-box;align-items:center}
body .app-header__right>.icon-btn{width:40px;justify-content:center}
@media (max-width:760px){
  body .app-header__right>.btn-signin,body .app-header__right>.btn-cta-sm,body .app-header__right>.bal-chip,body .app-header__right>.acct-chip,
  body .app-header__right>.icon-btn,body .app-header__right .lang-sw summary{height:36px}
  body .app-header__right>.icon-btn{width:36px}
}
/* phones: tap targets of at least ~32px, no text under 11.5px */
@media (max-width:760px){
  .site-footer .sf-col a{display:block;padding:6px 0}
  .site-footer__bar .sf-legal{gap:2px 18px}
  .site-footer__bar .sf-legal a{display:inline-block;padding:7px 0}
  .app-brand{padding:8px 0}
  .crumbs a{display:inline-block;padding:6px 0}
  body:not(.lp-nosb) .cmp-table{min-width:0;width:100%}   /* the pricing table fits the phone, so prices are visible without scrolling */
  body:not(.lp-nosb) .cmp-table th,body:not(.lp-nosb) .cmp-table td{padding-left:10px;padding-right:10px}
  .code-win__body{word-break:normal;overflow-wrap:anywhere}   /* wrap code lines at spaces, split only very long tokens (URLs) */
  .badge{font-size:11.5px}
  .hub-card__k{font-size:11.5px}
  .api-docs code,.page-wrapper td code,.page-wrapper th code{font-size:12px}
}
