/* Shared API console skin. Routing, forms and API contracts remain unchanged. */
:root { --radius:10px; color-scheme:light; }
[hidden] { display:none !important; }
body > header { background:#fff; backdrop-filter:none; }
.nav-wrap { max-width:1360px; gap:24px; }
.back-to-site { display:flex; flex:none; align-items:center; justify-content:center; width:32px; height:36px; color:#636977; border-radius:6px; }
.back-to-site:hover { background:#f1f2f5; color:#17191f; }
/* Keep the primary destination reachable without crowding the mobile brand row. */
@media(max-width:560px) {
  body .nav-wrap, body.api-overview .nav-wrap { column-gap:10px; row-gap:12px; }
  body .nav-account, body.api-overview .nav-account { order:2; flex-basis:100%; margin-left:0; justify-content:flex-end; }
  body .nav-account .nav-test, body.api-overview .nav-account .nav-test { display:inline-flex; margin-right:auto; min-height:38px; padding:9px 14px; }
  body .nav-links, body.api-overview .nav-links { order:3; }
}
.brand { white-space:nowrap; font-size:23px; font-weight:700; letter-spacing:-.6px; }
.brand-mark { width:32px; height:32px; background:none; border:0; border-radius:6px; }
.brand-mark img { width:32px; height:32px; margin:0; object-fit:contain; }
.brand > span:last-child:not(.brand-mark) { display:inline; color:#858a98; font-size:16px; font-weight:500; }
.nav-links { margin-inline:auto; gap:12px; }
.nav-links a { background:none; color:#555965; border-radius:0; position:relative; font-size:14px; padding:12px 6px; }
.nav-links a.active { background:none; color:#17191f; font-weight:600; }
.nav-links a.active::after { content:""; position:absolute; bottom:-15px; left:0; right:0; height:2px; background:#17191f; }
.nav-links a:hover { background:#f6f6f8; }
.nav-account { gap:14px; }
.button { border-radius:6px; box-shadow:none; font-size:14px; font-weight:550; }
.button:hover { transform:none; }
.button.primary { background:#4858df; border-color:#4858df; color:white; }
.button.primary:hover { background:#3949c9; }
.button.secondary { background:#fff; border-color:#dcdfe5; color:#17191f; }
.text-link, .sidebar-cta a, .form-field a { color:#4858df; }
input,textarea,select { border-radius:6px; color:#17191f; border-color:#dfe1e7; accent-color:#4858df; }
input:focus,textarea:focus,select:focus { border-color:#6978ed; box-shadow:0 0 0 3px #4858df14; }
.switch:checked { background:#4858df; }
.panel { border-radius:10px; box-shadow:none; }
.container { max-width:1280px; }
.page-head h1 { font-size:34px; letter-spacing:-1px; }
.page-head p { font-size:14px; }
.codebox { background:#171b21; border-color:#303640; border-radius:8px; }
.code-head { background:#1d222a; color:#dce0e9; border-color:#343942; }
.codebox code { color:#e1e4ec; }
.codebox .copy { color:#dce0e9; border-color:#49505d; }
.doc-intro { background:#fff; border:0; border-radius:0; padding:4px 0 32px; border-bottom:1px solid #e4e5e9; }
.doc-intro h1 { font-size:40px; letter-spacing:-1.2px; }
.doc-intro > p { font-size:15px; line-height:1.8; }
.summary-card { background:#f7f8fa; border:0; border-radius:6px; }
.summary-card small { color:#686d7b; font-size:12px; }
.summary-card strong { font-size:14px; }
.base-url { background:#171b21; color:#e1e4ec; border-radius:6px; }
.base-url > span,.base-url small { color:#aeb5c2; }
.base-url code { font-size:13px; overflow-wrap:anywhere; }
.doc-nav a { color:#686d7b; font-size:13px; border-radius:5px; }
.doc-nav a.current,.doc-nav a:hover { background:#f0f2ff; color:#3949c9; }
.doc-nav h4 { font-size:12px; color:#343945; }
.doc-content section { scroll-margin-top:130px; }
.breadcrumb { color:#686d7b; font-size:12px; }
.doc-note { background:#f7f8fa; border-color:#dadde5; }
.login-panel { max-width:460px; margin:64px auto; padding:40px; border:1px solid #e4e5e9; background:#fff; }
.login-panel .feature-icon { background:none; padding:0; width:44px; height:44px; margin-inline:auto; }
.login-panel .feature-icon img { width:44px; height:44px; }
.login-panel h1 { font-size:30px; letter-spacing:-.8px; }
.login-panel .button { min-height:46px; }
.login-panel .google-login { background:white; color:#17191f; border:1px solid #dfe1e7; gap:12px; }
.login-panel .google-login:hover { background:#f7f8fa; }
.doc-intro { border-bottom:0; }
dialog { border-radius:12px; border-color:#e4e5e9; background:#fff; box-shadow:0 24px 80px #17191f26; }
dialog::backdrop { background:#17191f66; }
#toast { background:#171b21; color:#fff; }
footer { background:#fff; }
@media(max-width:560px) { footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; } footer > a { min-width:0; white-space:normal; } footer > a[href^="mailto"] { display:none; } }
@media(max-width:1100px) { .nav-wrap { flex-wrap:wrap; gap:14px; } .nav-links { order:3; width:100%; justify-content:center; } .nav-links a.active::after { bottom:-7px; } .nav-account { margin-left:auto; } }
@media(max-width:560px) { .nav-wrap { padding:14px 18px; gap:8px; } .brand { font-size:18px; gap:6px; } .brand > span:last-child:not(.brand-mark) { font-size:13px; } .nav-links { justify-content:space-between; gap:6px; } .nav-links a { font-size:12px; padding:8px 0; } .nav-test { display:none; } .nav-account { gap:10px; } .account-name { display:none; } .back-to-site { width:24px; } .login-panel { margin:24px auto; padding:26px 20px; } .doc-intro h1 { font-size:30px; } .doc-content section { scroll-margin-top:160px; } }
