:root {
  --sidebar: #132321;
  --sidebar-hover: #213935;
  --sidebar-muted: #93aaa3;
  --sidebar-line: #35504a;
  --canvas: #f5f7f5;
  --panel: #ffffff;
  --ink: #172623;
  --muted: #687872;
  --line: #dfe7e1;
  --accent: #b3864c;
  --accent-dark: #745125;
  --accent-soft: #f7efe2;
  --green: #226a4a;
  --green-soft: #e6f4ea;
  --danger: #a4433b;
  --focus: #a86c24;
  --shadow: 0 8px 28px rgba(23, 38, 35, .035);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font: 15px/1.5 var(--font); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { background: var(--sidebar); color: #e9f0eb; padding: 28px 16px; display: flex; flex-direction: column; gap: 52px; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 0 12px; text-decoration: none; font-weight: 750; font-size: 1.14rem; letter-spacing: -.04em; white-space: nowrap; }
.sidebar-brand small { display: block; color: var(--sidebar-muted); font-size: .68rem; font-weight: 500; letter-spacing: .01em; line-height: 1.1; }
.brand-symbol { width: 35px; height: 35px; display: grid; place-items: center; flex: none; border: 1px solid var(--accent); border-radius: 8px; color: #e7b878; font-size: .72rem; letter-spacing: -.05em; }
.sidebar-caption { color: var(--sidebar-muted); font-size: .75rem; margin: 0 12px 10px; }
.side-links { display: grid; gap: 5px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: #b7c8c0; text-decoration: none; font-weight: 550; }
.side-links a:hover, .side-links a.current { background: var(--sidebar-hover); color: #ffffff; }
.nav-icon { width: 22px; text-align: center; color: #b4a17e; font-size: 1.16rem; line-height: 1; }
.sidebar-bottom { margin-top: auto; padding: 16px 12px 2px; border-top: 1px solid var(--sidebar-line); }
.sidebar-bottom span { display: block; color: var(--sidebar-muted); font-size: .75rem; margin-bottom: 3px; }
.sidebar-bottom strong { display: block; font-size: .94rem; font-weight: 650; }
.sidebar-bottom a { display: inline-block; color: #b7c8c0; text-decoration: none; font-size: .8rem; margin-top: 16px; }
.sidebar-bottom a:hover { color: #ffffff; }
.workspace { min-width: 0; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(24px, 3.5vw, 56px); }
.topbar-title { display: flex; align-items: center; gap: 9px; font-size: .88rem; white-space: nowrap; }
.topbar-title a { text-decoration: none; color: var(--muted); }
.topbar-title span { color: #b0bcb5; }
.topbar-title strong { font-weight: 650; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.environment-tag { color: var(--muted); font-size: .8rem; border: 1px solid var(--line); border-radius: 50px; padding: 6px 10px; white-space: nowrap; }
.header-login { text-decoration: none; background: var(--sidebar); color: #ffffff; border-radius: 8px; font-size: .84rem; font-weight: 650; padding: 9px 14px; white-space: nowrap; }
.header-login:hover { background: var(--sidebar-hover); }
.profile-menu { position: relative; }
.profile-menu summary { display: block; list-style: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-menu img, .avatar-fallback { display: block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); }
.profile-menu img { object-fit: cover; }
.avatar-fallback { display: grid; place-items: center; background: var(--sidebar); color: #ffffff; font-weight: 700; }
.profile-popover { position: absolute; z-index: 20; top: 48px; right: 0; width: 260px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 45px rgba(19,35,33,.16); padding: 18px; }
.profile-popover strong, .profile-popover small { display: block; overflow-wrap: anywhere; }
.profile-popover strong { font-size: .95rem; }
.profile-popover small { color: var(--muted); margin-top: 3px; }
.profile-popover form { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; }
.profile-popover button { border: 0; background: none; color: var(--ink); padding: 3px 0; font-weight: 600; }
.profile-popover button:hover { color: var(--accent-dark); }
.main-content { width: min(100% - 52px, 1150px); margin: 0 auto; padding: 42px 0 34px; }
.page-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 29px; }
.context { color: var(--accent-dark); font-size: .76rem; font-weight: 700; margin: 0 0 7px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.055em; margin: 0; }
h2 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.page-intro p:last-child { color: var(--muted); margin: 8px 0 0; }
.access-pill, .panel-state { border-radius: 50px; padding: 5px 10px; background: #edf0ed; color: #65756d; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.access-pill.is-active, .panel-state.state-good { background: var(--green-soft); color: var(--green); }
.notice { padding: 12px 15px; background: var(--accent-soft); border: 1px solid #e9d9bd; border-radius: 8px; margin: 0 0 22px; }
.notice-error { color: var(--danger); background: #fff4f2; border-color: #e9b9b5; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.summary-card { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 21px 23px; box-shadow: var(--shadow); }
.summary-card span, .summary-card small { display: block; color: var(--muted); font-size: .8rem; }
.summary-card strong { display: block; font-size: 1.42rem; letter-spacing: -.04em; margin: 9px 0 3px; font-variant-numeric: tabular-nums; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 25px; box-shadow: var(--shadow); min-width: 0; scroll-margin-top: 20px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.panel-description { color: var(--muted); margin: 17px 0 0; max-width: 600px; }
.locked-key { color: #97a79d; border: 1px dashed #ccd9ce; border-radius: 8px; background: #f8faf8; font: 600 1rem ui-monospace, SFMono-Regular, Consolas, monospace; padding: 17px; margin-top: 25px; }
.api-key-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf8; padding: 8px; margin-top: 23px; }
.api-key-row code { display: block; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 0 7px; font-size: .78rem; }
.api-key-row button { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 7px 11px; font-size: .82rem; font-weight: 650; }
.api-key-row button:hover { border-color: var(--accent); }
.quiet-action { padding: 0; background: none; border: 0; color: var(--accent-dark); text-decoration: underline; font-size: .84rem; font-weight: 600; margin-top: 19px; }
.quiet-action.danger { color: var(--danger); }
.plan-price { font-size: 1.8rem; line-height: 1.2; font-weight: 700; letter-spacing: -.045em; margin-top: 24px; }
.plan-price span { color: var(--muted); font-size: .9rem; font-weight: 400; letter-spacing: 0; }
.billing-detail { color: var(--muted); font-size: .85rem; margin: 18px 0 0; }
.primary-button { border: 0; border-radius: 8px; background: var(--sidebar); color: #ffffff; padding: 11px 16px; font-weight: 650; margin-top: 22px; }
.primary-button:hover { background: var(--sidebar-hover); }
.usage-bar { height: 7px; background: #e8ede8; border-radius: 10px; overflow: hidden; margin-top: 19px; }
.usage-bar span { display: block; height: 100%; background: var(--green); border-radius: 10px; }
.quickstart { margin-top: 16px; }
.method-tag { color: var(--accent-dark); background: var(--accent-soft); border-radius: 6px; padding: 5px 8px; font-size: .74rem; font-weight: 700; }
.code-block { overflow: hidden; margin-top: 23px; background: #172622; color: #dfebe2; border-radius: 9px; }
.code-header { display: flex; justify-content: space-between; padding: 12px 17px; border-bottom: 1px solid #3c5349; color: #b3c5ba; font-size: .78rem; }
pre { overflow-x: auto; margin: 0; padding: 21px 17px; font: 500 .85rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.login-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 34px; margin-bottom: 24px; box-shadow: var(--shadow); }
.login-copy h2 { font-size: 1.65rem; letter-spacing: -.045em; }
.login-copy p:not(.context) { color: var(--muted); max-width: 450px; }
.google-button { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; border: 1px solid #cad7ce; border-radius: 8px; padding: 10px 15px; color: var(--ink); font-weight: 650; margin-top: 9px; }
.google-button:hover { border-color: var(--accent); background: #fffdfa; }
.google-g { display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #4285f4; width: 20px; }
.login-preview { align-self: stretch; border: 1px solid var(--line); border-radius: 9px; background: #f8faf8; padding: 5px 18px; }
.login-preview div { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.login-preview div:last-child { border: 0; }
.login-preview span { color: var(--muted); }
.login-preview strong { font-size: .85rem; text-align: right; }
.workspace-footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .77rem; padding: 34px 0 0; }
.workspace-footer div { display: flex; gap: 17px; }
.workspace-footer a { text-decoration: none; }
.workspace-footer a:hover { color: var(--accent-dark); }
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: 205px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  .main-content { width: min(100% - 36px, 1150px); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .app-shell { display: block; }
  .sidebar { gap: 0; padding: 12px 16px; }
  .sidebar-brand, .sidebar-caption, .sidebar-bottom { display: none; }
  .side-links { display: flex; overflow-x: auto; gap: 5px; }
  .side-links a { white-space: nowrap; padding: 8px 10px; font-size: .82rem; }
  .nav-icon { display: none; }
  .topbar { height: 60px; padding: 0 16px; }
  .environment-tag { display: none; }
  .main-content { padding-top: 26px; width: min(100% - 32px, 1150px); }
  .page-intro { align-items: start; flex-direction: column; gap: 10px; }
  .summary-grid { grid-template-columns: 1fr; gap: 10px; }
  .summary-card { padding: 17px; }
  .login-panel { grid-template-columns: 1fr; padding: 23px; }
  .panel { padding: 20px; }
  .workspace-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Console views */
.pricing-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 22px; }
.pricing-intro p { color: var(--muted); max-width: 650px; margin: 0; }
.pricing-intro span { color: var(--accent-dark); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier-card { --tier: #a7494f; --tier-soft: #f9e9ea; position: relative; min-width: 0; display: flex; flex-direction: column; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--tier); border-radius: 12px; box-shadow: var(--shadow); }
.tier-emerald { --tier: #23765a; --tier-soft: #e7f4ed; }
.tier-sapphire { --tier: #3c69a4; --tier-soft: #e9f0fa; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tier-symbol { display: grid; place-items: center; height: 48px; width: 48px; border-radius: 12px; background: var(--tier-soft); color: var(--tier); font-size: 1.5rem; }
.discount-badge { padding: 6px 10px; border-radius: 50px; background: var(--tier-soft); color: var(--tier); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.tier-card h2 { font-size: 1.65rem; letter-spacing: -.04em; margin: 22px 0 0; }
.tier-subtitle { color: var(--muted); font-size: .84rem; margin: 4px 0 0; }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; margin-top: 26px; }
.tier-price del { width: 100%; color: var(--muted); font-size: 1.05rem; }
.tier-price strong { font-size: clamp(2.35rem, 3vw, 3rem); line-height: 1; letter-spacing: -.06em; }
.tier-price span { color: var(--muted); font-size: .8rem; text-transform: uppercase; font-weight: 650; }
.tier-facts { display: grid; gap: 0; margin: 24px 0 26px; border-top: 1px solid var(--line); }
.tier-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tier-facts strong { font-size: 1.18rem; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.tier-facts span { color: var(--muted); font-size: .78rem; text-align: right; }
.tier-card form { margin-top: auto; }
.tier-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: auto; padding: 10px 14px; border: 0; border-radius: 8px; background: var(--tier); color: #ffffff; text-align: center; text-decoration: none; font-size: .84rem; font-weight: 750; }
.tier-button:hover:not(.disabled):not(.selected) { filter: brightness(.88); }
.tier-button.secondary { background: var(--tier-soft); color: var(--tier); }
.tier-button.disabled, .tier-button.selected { background: #edf0ed; color: var(--muted); cursor: default; }
.pricing-note { color: var(--muted); font-size: .81rem; margin: 18px 0 0; }
.feature-panel { display: flex; flex-direction: column; align-items: start; min-height: 230px; }
.feature-panel .panel-description { margin-bottom: 20px; }
.link-button { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); text-decoration: none; font-weight: 700; font-size: .88rem; margin-top: auto; }
.link-button:hover { text-decoration: underline; }
.endpoint-line { width: 100%; overflow: auto; white-space: nowrap; background: #f4f7f4; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; font: 500 .8rem ui-monospace, SFMono-Regular, Consolas, monospace; margin: 1px 0 18px; }
.page-panel { padding: 30px; }
.page-panel .panel-description { max-width: 760px; }
.page-panel .api-key-row { max-width: 780px; }
.empty-section { min-height: 240px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.empty-section p { color: var(--muted); }
.empty-section .link-button { margin-top: 0; }
.docs-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; }
.docs-grid .code-block { margin-top: 28px; }
.docs-list { margin: 20px 0 0; }
.docs-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.docs-list dt { color: var(--muted); font-size: .83rem; }
.docs-list dd { margin: 0; text-align: right; font-size: .83rem; font-weight: 600; }
.billing-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; max-width: 760px; padding: 24px 0; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.billing-facts span, .billing-facts strong { display: block; }
.billing-facts span { color: var(--muted); font-size: .8rem; margin-bottom: 3px; }
.billing-facts strong { font-size: 1rem; }
.topup-section { margin-top: 18px; }
.topup-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.topup-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#faf9ff,#fff 65%); display: flex; flex-direction: column; }
.topup-card-label { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.topup-card > strong { font-size: clamp(1.75rem,2.5vw,2.2rem); letter-spacing: -.05em; margin-top: 13px; }
.topup-card > small { color: var(--muted); margin-top: 2px; }
.topup-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.topup-card-footer > span:first-child { font-weight: 800; font-size: 1.15rem; }
.topup-card-footer button { border: 0; border-radius: 10px; padding: 10px 15px; background: #34277f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.topup-card-footer button:hover { background: #4c39b2; }
.topup-disabled,.topup-fineprint { color: var(--muted); font-size: .8rem; }
.topup-fineprint { margin: 15px 0 0; }
.topup-history { margin-top: 18px; }
.topup-history-scroll { overflow-x: auto; }
.topup-history-table { width: 100%; border-collapse: collapse; margin-top: 18px; min-width: 620px; text-align: left; }
.topup-history-table th,.topup-history-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.topup-history-table th { color: var(--muted); font-weight: 700; }
.topup-history-table td strong,.topup-history-table td small { display: block; }
.topup-history-table td small { color: var(--muted); margin-top: 3px; }
.topup-status { font-weight: 650; }
@media (max-width: 950px) { .topup-grid { grid-template-columns: 1fr; }.topup-card { padding: 19px; }.topup-card-footer { margin-top: 16px; } }

@media (max-width: 1150px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .docs-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-intro { display: block; } .pricing-intro span { display: block; margin-top: 12px; } .tier-card { padding: 24px; } .page-panel { padding: 22px; } }
@media (max-width: 440px) { .billing-facts { grid-template-columns: 1fr; } .tier-facts span { font-size: .75rem; } }
@media (max-width: 700px) {
  .side-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .side-links a { justify-content: center; white-space: normal; text-align: center; line-height: 1.15; min-height: 36px; padding: 7px 5px; font-size: .76rem; }
}

/* 2026 developer console refresh */
:root {
  --sidebar: #11152b; --sidebar-hover: #262b4a; --sidebar-muted: #9ba5bf; --sidebar-line: #343a5a;
  --canvas: #f6f7fb; --panel: #fff; --ink: #181d35; --muted: #65708b; --line: #e4e8f0;
  --accent: #7058e8; --accent-dark: #5744c5; --accent-soft: #f0edff; --green: #176c63;
  --green-soft: #e5f7f2; --danger: #bd435b; --focus: #7058e8;
  --shadow: 0 14px 40px rgba(26,35,78,.055); --font: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--canvas); font-size: 14px; }
.app-shell { grid-template-columns: 254px minmax(0,1fr); }
.sidebar { position: relative; isolation: isolate; background: radial-gradient(circle at 0 0, #30365e 0, transparent 42%), linear-gradient(165deg,#161a34,#101426 72%); padding: 29px 15px 24px; gap: 56px; }
.sidebar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .3; background-image: radial-gradient(#b8c2f6 0.55px,transparent 0.55px); background-size: 24px 24px; mask-image: linear-gradient(to bottom,#000,transparent 70%); }
.sidebar-brand { gap: 12px; padding: 0 13px; font-size: 1.16rem; letter-spacing: -.055em; }
.sidebar-brand small { color: #9fa9c6; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.brand-symbol { border: 1px solid rgba(176,169,255,.55); border-radius: 11px; background: linear-gradient(145deg,rgba(151,135,255,.28),rgba(149,176,255,.08)); box-shadow: inset 0 1px rgba(255,255,255,.22),0 6px 18px rgba(0,0,0,.15); color: #e4dfff; width: 39px; height: 39px; }
.sidebar-caption { font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 14px; }
.side-links { gap: 6px; }
.side-links a { gap: 13px; padding: 12px 13px; border-radius: 11px; color: #acb6cf; font-weight: 620; transition: background .2s,color .2s,transform .2s; }
.side-links a:hover { transform: translateX(2px); }
.side-links a.current { background: linear-gradient(90deg,rgba(116,98,239,.38),rgba(116,98,239,.12)); color: #fff; box-shadow: inset 3px 0 #a596ff; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; color: #a6a3d7; width: 22px; height: 22px; font-size: 1rem; }
.side-links a.current .nav-icon { color: #ddd6ff; }
.sidebar-bottom { border-color: rgba(199,207,248,.16); padding: 18px 13px 3px; }
.sidebar-bottom strong { font-size: 1rem; }
.sidebar-bottom a { color: #c0c8e0; }
.topbar { height: 78px; padding: 0 clamp(23px,3vw,56px); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); box-shadow: 0 1px rgba(255,255,255,.7); }
.topbar-title { font-size: .83rem; }
.topbar-title strong { font-weight: 760; }
.environment-tag { background: #f5f4ff; color: #6758b7; border-color: #e5e1fb; font-size: .72rem; font-weight: 750; letter-spacing: .02em; }
.header-login { background: #252a49; border-radius: 9px; }
.profile-menu img,.avatar-fallback { border-color: #dcd6ff; box-shadow: 0 0 0 3px #f5f3ff; }
.main-content { width: min(100% - 64px, 1240px); padding-top: 38px; }
.page-intro { margin-bottom: 28px; }
.context,.section-kicker { color: #7461d4; font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(2rem,3.2vw,2.8rem); font-weight: 790; letter-spacing: -.058em; }
h2,h3 { font-weight: 770; }
.page-intro p:last-child { font-size: .9rem; }
.access-pill,.panel-state { border-radius: 7px; padding: 7px 11px; font-size: .7rem; letter-spacing: .02em; }
.panel,.summary-card,.login-panel { border-radius: 16px; box-shadow: var(--shadow); }
.panel { padding: 28px; }
.summary-card { padding: 23px 25px; position: relative; overflow: hidden; }
.summary-card::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg,#907dff,transparent); }
.summary-card strong { font-size: 1.65rem; }
.summary-card span { font-weight: 660; }
.panel-heading h2 { font-size: 1.24rem; }
.link-button { color: #604bd6; }
.link-button:hover { color: #3f2ea5; }
.endpoint-line,.locked-key,.api-key-row { background: #f8f9fd; border-color: #e4e8f1; }
.code-block { background: #161a30; }
.code-header { border-color: #333a59; }
.google-button { border-color: #d8dcef; border-radius: 10px; box-shadow: 0 4px 16px rgba(41,42,91,.06); }
.google-button:hover { background: #f8f7ff; border-color: #b9adfa; }
.tier-card { border-radius: 18px; border: 1px solid #e4e7f0; border-top: 3px solid var(--tier); box-shadow: 0 16px 45px rgba(26,35,78,.05); transition: transform .25s,box-shadow .25s; }
.tier-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(26,35,78,.105); }
.tier-ruby { --tier:#df607a; --tier-soft:#fff0f2; }
.tier-emerald { --tier:#179c83; --tier-soft:#e6faf4; }
.tier-sapphire { --tier:#5e70d9; --tier-soft:#edf0ff; }
.tier-symbol { border-radius: 13px; }
.tier-card h2 { letter-spacing: -.055em; }
.tier-button { border-radius: 10px; min-height: 48px; }
.tier-button:hover:not(.disabled):not(.selected) { filter: none; box-shadow: 0 9px 22px color-mix(in srgb,var(--tier),transparent 72%); }
.notice { border-radius: 11px; }
.workspace-footer { border-top: 1px solid var(--line); margin-top: 44px; }

/* Console overview */
.console-hero { position: relative; display: grid; grid-template-columns: 1.14fr .86fr; min-height: 355px; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 78% 46%,#343d80 0,transparent 32%),radial-gradient(circle at 16% 96%,#352f68 0,transparent 40%),linear-gradient(125deg,#161a36,#22274c 64%,#151a31); color: #fff; margin-bottom: 22px; box-shadow: 0 22px 55px rgba(31,32,81,.17); }
.console-hero::before,.docs-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.6) .6px,transparent .7px); background-size: 33px 33px; opacity: .17; }
.console-hero-copy { position: relative; z-index: 1; padding: clamp(32px,4.4vw,60px); align-self: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #c8c4ff; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.console-hero h2 { font-size: clamp(2.3rem,4vw,4.2rem); letter-spacing: -.065em; line-height: 1.07; margin: 17px 0 16px; font-weight: 790; }
.console-hero h2 em { color: #b9b0ff; font-style: normal; }
.console-hero p { color: #c7cee5; max-width: 500px; font-size: .95rem; line-height: 1.7; margin: 0; }
.console-hero-actions,.docs-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; margin-top: 28px; }
.hero-primary,.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #282655; border-radius: 9px; text-decoration: none; padding: 12px 17px; font-weight: 800; font-size: .82rem; }
.hero-primary:hover,.hero-cta:hover { background: #ebe8ff; }
.hero-secondary,.hero-link { display: inline-flex; align-items: center; gap: 3px; color: #e7e6ff; text-decoration: none; font-weight: 730; font-size: .82rem; }
.hero-secondary:hover,.hero-link:hover { color: #fff; }
.console-hero-art { position: relative; min-height: 355px; }
.hero-ring { position: absolute; left: 50%; top: 49%; border-radius: 50%; border: 1px solid rgba(211,214,255,.25); transform: translate(-50%,-50%) rotate(-22deg); }
.ring-one { width: 180px; height: 180px; border-color: rgba(198,184,255,.4); }
.ring-two { width: 290px; height: 290px; }
.ring-three { width: 420px; height: 180px; transform: translate(-50%,-50%) rotate(-31deg); border-color: rgba(245,186,147,.35); }
.hero-sun { position: absolute; left: 50%; top: 49%; transform: translate(-50%,-50%); width: 135px; height: 135px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 34% 28%,#f6dbcb,#ae8dd5 36%,#6d65b6 66%,#3c467e); box-shadow: 0 0 0 12px rgba(155,144,234,.06),0 0 65px rgba(179,144,244,.35),inset -18px -16px 35px rgba(39,35,86,.4); color: rgba(255,255,255,.85); font-size: 2rem; }
.hero-satellite { position: absolute; border-radius: 50%; box-shadow: 0 0 20px currentColor; }
.sat-one { width: 16px; height: 16px; left: 22%; top: 34%; background: #f6c396; color: #f6c396; }
.sat-two { width: 9px; height: 9px; right: 17%; top: 31%; background: #d4d3ff; color: #d4d3ff; }
.sat-three { width: 7px; height: 7px; right: 20%; bottom: 18%; background: #99dce1; color: #99dce1; }
.hero-art-label { position: absolute; bottom: 27px; right: 34px; color: #c3c5e0; font: 700 .65rem/1.6 ui-monospace,monospace; letter-spacing: .15em; }
.hero-art-label span { display: block; color: #828bb5; text-align: right; }

/* Documentation */
.docs-hero { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; min-height: 300px; overflow: hidden; border-radius: 21px; background: radial-gradient(circle at 80% 30%,#373c84 0,transparent 36%),linear-gradient(120deg,#171b38,#292e5e); color: #fff; padding: 41px 48px; box-shadow: 0 18px 45px rgba(27,32,78,.13); }
.docs-hero > div:first-child { position: relative; z-index: 1; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .14em; font-weight: 800; color: #bdb7ff; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #f4bf91; }
.docs-hero h2 { font-size: clamp(2.4rem,4vw,4.1rem); letter-spacing: -.068em; line-height: 1.05; margin: 18px 0 12px; }
.docs-hero p { color: #c8cde5; font-size: .94rem; max-width: 510px; margin: 0; line-height: 1.65; }
.docs-hero-actions { margin-top: 24px; }
.docs-hero-graphic { position: relative; min-height: 210px; }
.star-orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-28deg); border: 1px solid rgba(196,193,255,.37); border-radius: 50%; }
.star-orbit-one { width: 175px; height: 175px; }
.star-orbit-two { width: 320px; height: 130px; border-color: rgba(255,206,172,.34); }
.star-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 104px; height: 104px; color: #fff; font-size: 2rem; border-radius: 50%; background: radial-gradient(circle at 34% 28%,#ffdfc5,#ad93e0 45%,#514e96); box-shadow: 0 0 45px rgba(210,165,255,.43); }
.star-point { position: absolute; border-radius: 50%; background: #f9d6a4; box-shadow: 0 0 15px #f9d6a4; }
.p1 { top: 21%; left: 13%; width: 10px; height: 10px; }.p2 { bottom: 16%; right: 11%; width: 7px; height: 7px; }.p3 { top: 28%; right: 24%; width: 5px; height: 5px; background: #bcd6ff; }
.docs-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 42px; margin-top: 40px; align-items: start; }
.docs-toc { position: sticky; top: 20px; display: grid; gap: 3px; padding: 10px 0; max-height: calc(100vh - 35px); overflow: auto; }
.docs-toc-title { color: #9aa4ba; font-size: .65rem; font-weight: 850; letter-spacing: .16em; margin: 0 0 13px 13px; }
.docs-toc a { color: #5b6681; text-decoration: none; padding: 8px 12px; border-radius: 7px; font-size: .8rem; font-weight: 660; }
.docs-toc a:hover { background: #eeecff; color: #604ed2; }
.docs-toc a.docs-toc-sub { padding-left: 23px; color: #7c879e; font-size: .75rem; font-weight: 530; }
.docs-toc a.docs-toc-sub:hover { color: #604ed2; }
.docs-body { min-width: 0; }
.docs-section { scroll-margin-top: 28px; margin-bottom: 65px; }
.section-heading { margin: 0 0 23px; }
.section-heading h2 { font-size: clamp(1.7rem,2.4vw,2.3rem); letter-spacing: -.055em; margin: 6px 0 8px; }
.section-heading p { color: var(--muted); max-width: 720px; margin: 0; font-size: .88rem; line-height: 1.7; }
.section-heading code,.docs-callout code,.docs-footnote code { color: #5544bd; background: #f0edff; padding: 2px 5px; border-radius: 4px; font-size: .85em; }
.quick-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin: 26px 0; }
.quick-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 19px; box-shadow: var(--shadow); }
.step-count { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; background: #efecff; color: #6a57d9; border-radius: 8px; font: 800 .7rem ui-monospace,monospace; margin-bottom: 13px; }
.quick-steps strong,.quick-steps small { display: block; }.quick-steps strong { font-size: .83rem; }.quick-steps small { color: var(--muted); font-size: .73rem; line-height: 1.5; margin-top: 5px; }
.docs-code { background: #171b2f; color: #e5e8f6; border-radius: 13px; overflow: hidden; box-shadow: 0 12px 32px rgba(23,27,47,.11); }
.docs-code-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 17px; border-bottom: 1px solid #333953; color: #aab4d4; font-size: .73rem; font-weight: 650; }
.docs-code-top > span { display: inline-flex; align-items: center; gap: 8px; }.code-dot { width: 7px; height: 7px; background: #70d7b3; border-radius: 50%; box-shadow: 0 0 10px #70d7b3; }
.copy-code { display: inline-flex; align-items: center; gap: 6px; border: 0; color: #bfc8e4; background: none; font-size: .72rem; font-weight: 700; padding: 2px; }.copy-code:hover { color: #fff; }
.docs-code pre { margin: 0; padding: 20px 18px; color: #e5e8f6; font: 500 .76rem/1.9 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-x: auto; }
.docs-callout { display: flex; gap: 13px; background: #f0f0fe; color: #454476; border: 1px solid #e1dfff; padding: 17px 19px; border-radius: 11px; margin-top: 18px; }
.docs-callout svg { color: #6856d7; flex: none; margin-top: 2px; }.docs-callout p { font-size: .8rem; margin: 0; line-height: 1.65; }.docs-callout strong { color: #2c2b5d; }
.chart-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.chart-chip { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 10px; padding: 14px 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.chart-chip strong { color: #6554d4; font: 800 .91rem ui-monospace,monospace; }.chart-chip span { font-size: .76rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.chart-chip small { grid-column: 2; color: var(--muted); font-size: .65rem; }
.route-note { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.route-note > div { display: flex; align-items: center; gap: 11px; background: #eeecff; color: #5444ba; border-radius: 10px; padding: 14px; min-width: 0; }.route-note span { min-width: 0; }.route-note strong,.route-note code { display: block; }.route-note strong { font-size: .77rem; }.route-note code { color: #6258a3; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.docs-search { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; color: #8994ad; margin-bottom: 17px; box-shadow: var(--shadow); }.docs-search:focus-within { border-color: #b4a8f8; box-shadow: 0 0 0 3px #eeeaff; }.docs-search input { border: 0; outline: 0; min-width: 0; flex: 1; color: var(--ink); background: transparent; font: inherit; font-size: .84rem; }.docs-search input::placeholder { color: #a2abc0; }.docs-search span { font: 650 .65rem ui-monospace,monospace; border: 1px solid #e7e9f0; padding: 3px 5px; border-radius: 4px; }
.endpoint-list { display: grid; gap: 12px; }.endpoint-card { scroll-margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }.endpoint-card:hover { border-color: #d3cef7; }.endpoint-card-head { display: flex; align-items: center; gap: 12px; }.endpoint-icon { width: 45px; height: 45px; border-radius: 10px; display: grid; place-items: center; color: #6957d4; background: #f1eeff; flex: none; }.endpoint-group { color: #8b95ac; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }.endpoint-card h3 { margin: 2px 0 0; font-size: 1.08rem; letter-spacing: -.035em; }.endpoint-card > p { color: var(--muted); font-size: .8rem; line-height: 1.6; margin: 12px 0; }.http-method { margin-left: auto; color: #14846d; background: #e9f9f3; padding: 6px 8px; font: 800 .65rem ui-monospace,monospace; border-radius: 5px; }
.endpoint-path { color: #4c4b9f; background: #f8f7fd; border: 1px solid #eeecf8; border-radius: 7px; padding: 9px 11px; overflow-x: auto; white-space: nowrap; font-size: .75rem; }.endpoint-path code { font-family: ui-monospace,Consolas,monospace; }
.endpoint-details { margin-top: 14px; border-top: 1px solid var(--line); }.endpoint-details summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; color: #6352d1; font-size: .77rem; font-weight: 760; padding: 15px 1px 1px; }.endpoint-details summary::-webkit-details-marker { display: none; }.endpoint-details summary svg { transition: transform .2s; }.endpoint-details[open] summary svg { transform: rotate(90deg); }.endpoint-details-inner { padding-top: 16px; }.endpoint-details h4 { font-size: .78rem; margin: 22px 0 8px; }.params-table-wrap { overflow-x: auto; }.params-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .74rem; }.params-table th { text-align: left; color: #8993a8; background: #f7f8fc; font-weight: 750; }.params-table th,.params-table td { padding: 10px; border-bottom: 1px solid #e9ecf3; vertical-align: top; }.params-table td:first-child { color: #5043ae; font-weight: 700; }.params-table td:nth-child(2) { color: #8a94a7; white-space: nowrap; }.params-table code { font-size: .71rem; }.response-hint { display: flex; gap: 12px; margin-top: 21px; font-size: .76rem; }.response-hint strong { color: #3e3c77; }.response-hint span { color: var(--muted); }.endpoint-note { display: flex; gap: 8px; color: #6d609f; background: #f7f5ff; border-radius: 8px; padding: 11px; font-size: .73rem; line-height: 1.5; margin-top: 17px; }.endpoint-note svg { flex: none; }.docs-empty { color: var(--muted); text-align: center; padding: 35px; }
.error-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.error-grid > div { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 14px; }.error-grid strong { color: #604ed0; font: 800 .85rem ui-monospace,monospace; }.error-grid span { color: var(--muted); font-size: .76rem; }.docs-footnote { color: var(--muted); font-size: .78rem; line-height: 1.65; }
@media (max-width: 1200px) { .docs-layout { grid-template-columns: 170px minmax(0,1fr); gap: 24px; }.chart-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 1000px) { .app-shell { grid-template-columns: 210px minmax(0,1fr); }.main-content { width: min(100% - 42px,1240px); }.docs-layout { display: block; }.docs-toc { position: static; display: flex; overflow-x: auto; max-height: none; white-space: nowrap; padding: 0 0 12px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }.docs-toc-title,.docs-toc-sub { display: none !important; }.docs-toc a { flex: none; }.docs-hero { padding: 34px; } }
@media (max-width: 700px) { .app-shell { display: block; }.sidebar { padding: 10px 13px; }.sidebar-brand,.sidebar-caption,.sidebar-bottom { display: none; }.side-links { display: flex; overflow-x: auto; gap: 5px; }.side-links a { display: flex; align-items: center; flex: none; min-height: 40px; padding: 8px 11px; font-size: .76rem; white-space: nowrap; }.side-links a.current { box-shadow: inset 0 -2px #a596ff; }.nav-icon { display: inline-flex; width: 17px; }.nav-icon svg { width: 16px; height: 16px; }.topbar { height: 61px; }.main-content { width: min(100% - 28px,1240px); padding-top: 25px; }.console-hero { grid-template-columns: 1fr; min-height: 0; }.console-hero-copy { padding: 32px 26px 36px; }.console-hero h2 { font-size: clamp(2.25rem,8vw,3.3rem); }.console-hero-art { position: absolute; right: -30px; top: -35px; width: 200px; height: 200px; min-height: 0; opacity: .35; }.hero-art-label { display: none; }.docs-hero { grid-template-columns: 1fr; min-height: 300px; padding: 35px 28px; }.docs-hero-graphic { position: absolute; opacity: .22; width: 260px; height: 260px; right: -90px; top: 10px; }.quick-steps { grid-template-columns: 1fr; gap: 8px; }.quick-steps > div { display: grid; grid-template-columns: 32px 1fr; gap: 1px 12px; padding: 13px 15px; }.quick-steps .step-count { grid-row: span 2; margin: 0; }.quick-steps small { margin: 0; }.chart-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.route-note { grid-template-columns: 1fr; }.error-grid { grid-template-columns: 1fr; }.endpoint-card { padding: 16px; } }
@media (max-width: 440px) { .page-intro { gap: 12px; }.environment-tag { display: none; }.topbar-title { font-size: .78rem; }.console-hero-copy { padding: 30px 22px; }.console-hero p { font-size: .85rem; }.docs-hero { padding: 29px 22px; }.docs-hero h2 { font-size: 2.65rem; }.chart-chip { padding: 12px 10px; gap: 3px 6px; }.chart-chip span { font-size: .68rem; }.route-note code { font-size: .62rem; }.docs-code pre { font-size: .69rem; } }
@media (prefers-reduced-motion: reduce) { .tier-card,.side-links a,.endpoint-details summary svg { transition: none; } }
@media (max-width: 700px) {
  .side-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; overflow: visible; }
  .side-links a { min-width: 0; flex: auto; display: flex; justify-content: center; gap: 5px; white-space: normal; text-align: center; padding: 8px 4px; min-height: 38px; font-size: .69rem; }
  .docs-toc { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; overflow: visible; white-space: normal; border-bottom: 0; margin-bottom: 25px; }
  .docs-toc a { display: flex; align-items: center; justify-content: center; min-height: 36px; text-align: center; padding: 7px 5px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .71rem; }
}
@media (max-width: 440px) {
  .topbar { padding-inline: 13px; gap: 8px; }
  .topbar-title { gap: 5px; font-size: .72rem; }
  .header-login { padding: 8px 10px; font-size: .72rem; }
}
.api-spotlight { margin-top: 34px; }
.spotlight-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.spotlight-heading h2 { font-size: clamp(1.4rem,2vw,1.9rem); letter-spacing: -.055em; }
.spotlight-heading .link-button { margin: 0; white-space: nowrap; }
.spotlight-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.spotlight-grid a { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 170px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s,border-color .2s,box-shadow .2s; }
.spotlight-grid a:hover { transform: translateY(-3px); border-color: #c9bfff; box-shadow: 0 17px 34px rgba(38,37,97,.09); }
.spotlight-grid a > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px; color: #6754ce; background: #f0edff; border-radius: 10px; }
.spotlight-grid strong { font-size: .9rem; letter-spacing: -.02em; }.spotlight-grid small { display: block; color: var(--muted); font-size: .73rem; margin-top: 5px; padding-right: 10px; }.spotlight-grid a > svg { position: absolute; right: 19px; bottom: 19px; color: #8c7be0; }
@media (max-width: 1120px) { .spotlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .spotlight-heading { align-items: start; flex-direction: column; gap: 10px; }.spotlight-grid { gap: 9px; }.spotlight-grid a { min-height: 150px; padding: 15px; }.spotlight-grid strong { font-size: .82rem; }.spotlight-grid small { font-size: .68rem; } }
.credit-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.credit-table { border-collapse: collapse; width: 100%; min-width: 650px; font-size: .8rem; }
.credit-table th { color: #7c87a0; background: #f8f9fd; text-align: left; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.credit-table th,.credit-table td { padding: 14px 18px; border-bottom: 1px solid #e9ecf4; }
.credit-table tr:last-child td { border-bottom: 0; }.credit-table td:first-child { color: var(--ink); font-weight: 700; }.credit-table td:nth-child(2) { color: #697592; }.credit-table td:last-child,.credit-table th:last-child { text-align: right; white-space: nowrap; }.credit-table td:last-child strong { display: inline-block; min-width: 43px; border-radius: 6px; background: #f0edff; color: #5844c5; padding: 5px 8px; font: 800 .8rem ui-monospace,monospace; text-align: center; }
.credit-table code { font-size: .74rem; }
.endpoint-card-head { flex-wrap: wrap; }.endpoint-cost { margin-left: auto; color: #6956d0; background: #f1eeff; padding: 6px 8px; border-radius: 6px; font: 750 .68rem ui-monospace,monospace; white-space: nowrap; }.endpoint-card-head .http-method { margin-left: 0; }
@media (max-width: 700px) { .endpoint-card-head .endpoint-cost { order: 3; margin-left: 56px; }.endpoint-card-head .http-method { margin-left: auto; }.credit-table { min-width: 570px; } }

/* Mobile console navigation and site footer */
.topbar-leading { display: flex; align-items: center; min-width: 0; }
.mobile-nav-toggle,.mobile-nav-close,.mobile-nav-backdrop,.mobile-console-brand { display: none; }
.site-footer { margin-top: 38px; border-top: 1px solid var(--line); background: #fff; }
.site-footer-inner { width: min(100% - 64px, 1230px); margin: 0 auto; padding: 64px 0 26px; }
.site-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,minmax(0,.72fr)); gap: clamp(26px,3vw,60px); }
.site-footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 1.55rem; font-weight: 760; letter-spacing: -.055em; }
.site-footer-brand img { display: block; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.site-footer-brand sup { font-size: .46em; vertical-align: super; margin-left: 2px; letter-spacing: 0; }
.site-footer-about p { max-width: 310px; color: var(--muted); line-height: 1.75; font-size: .86rem; margin: 18px 0 0; }
.site-footer-social { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.site-footer-social a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; font-size: .69rem; }
.site-footer-grid h2 { margin: 7px 0 19px; color: var(--accent-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer-grid > div:not(:first-child) > a { display: block; width: fit-content; margin: 0 0 12px; color: var(--muted); font-size: .84rem; }
.site-footer a { text-decoration: none; transition: color .2s,border-color .2s; }
.site-footer a:hover { color: var(--accent-dark) !important; border-color: var(--accent); }
.site-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
.site-footer-bottom p { margin: 0; }.site-footer-bottom div { display: flex; gap: 15px; }
@media (max-width: 1000px) { .site-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; } }
@media (max-width: 700px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; display: flex; flex-direction: column; width: min(86vw,330px); max-height: 100dvh; overflow-y: auto; padding: 30px 18px 24px; gap: 28px; box-shadow: 22px 0 60px rgba(5,16,15,.22); transform: translateX(-110%); visibility: hidden; transition: transform .25s ease,visibility .25s; }
  body.nav-open .sidebar { transform: translateX(0); visibility: visible; }
  .sidebar .sidebar-brand { display: flex; margin-right: 28px; padding: 0 5px; }
  .sidebar .sidebar-caption { display: block; margin: 0 12px 10px; }
  .sidebar .sidebar-bottom { display: block; }
  .sidebar .side-links { display: grid; grid-template-columns: 1fr; gap: 5px; overflow: visible; }
  .sidebar .side-links a { display: flex; justify-content: flex-start; text-align: left; gap: 13px; min-height: 47px; padding: 11px 13px; font-size: .9rem; white-space: nowrap; }
  .sidebar .nav-icon { display: inline-flex; width: 22px; }
  .mobile-nav-close { display: grid; place-items: center; position: absolute; top: 23px; right: 14px; width: 38px; height: 38px; border: 1px solid var(--sidebar-line); border-radius: 9px; color: #dceae2; background: transparent; font-size: 1.8rem; line-height: 1; }
  .mobile-nav-backdrop { display: block; position: fixed; inset: 0; z-index: 70; border: 0; background: rgba(8,20,18,.6); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s,visibility .25s; }
  body.nav-open .mobile-nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .topbar { position: sticky; top: 0; z-index: 60; height: 68px; padding: 0 17px; box-shadow: 0 4px 24px rgba(16,35,31,.055); }
  .topbar-title { display: none; }
  .mobile-nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 42px; height: 42px; flex: none; margin-right: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f9faf8; }
  .mobile-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .mobile-console-brand { display: flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
  .mobile-console-mark { width: 35px; height: 35px; display: grid; place-items: center; flex: none; border: 1px solid #d7c9ac; border-radius: 9px; color: var(--accent-dark); background: #fcf7ed; }
  .mobile-console-brand strong,.mobile-console-brand small { display: block; white-space: nowrap; }
  .mobile-console-brand strong { font-size: .91rem; letter-spacing: -.04em; line-height: 1.1; }
  .mobile-console-brand small { color: var(--muted); font-size: .64rem; line-height: 1.15; margin-top: 2px; }
  .topbar-actions { gap: 7px; }
  .site-footer-inner { width: min(100% - 36px,1230px); padding: 48px 0 24px; }
  .site-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 29px 20px; }
  .site-footer-about { grid-column: 1/-1; }.site-footer-about p { max-width: 430px; }
  .site-footer-bottom { flex-wrap: wrap; align-items: flex-start; gap: 8px 20px; margin-top: 35px; }
}
@media (max-width: 400px) { .mobile-console-mark { display: none; }.mobile-nav-toggle { margin-right: 8px; }.header-login { font-size: .7rem; padding: 8px 9px; }.site-footer-grid { gap: 25px 16px; } }
@media (prefers-reduced-motion: reduce) { .sidebar,.mobile-nav-backdrop { transition: none; } }
