/* Small improvements around the existing workbench. */
[data-service-logo] { position:relative; display:inline-grid; place-items:center; flex-shrink:0; overflow:hidden; background-image:none !important; }
[data-service-logo] .service-icon-initial { color:#42665b; font-size:12px; font-weight:750; line-height:1; }
[data-service-logo] > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#fff; }
.mobile-page-nav { display:none; }
.workbench-intro { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:2px 0 18px; padding:17px 20px; border:1px solid #dce5eb; border-radius:12px; background:#fff; }
.workbench-intro h1 { margin:0 0 5px; font-size:20px; letter-spacing:-.02em; color:#243342; }
.workbench-intro p { margin:0; color:#657488; font-size:13px; line-height:1.65; }
.workbench-intro a { flex-shrink:0; color:#08685f; font-size:12px; font-weight:700; text-decoration:none; }
.workbench-intro a:hover { text-decoration:underline; }
.workbench-guide-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 16px; }
.member-mode .workbench-intro { display:none; }
.api-guest-panel { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px; margin-bottom:18px; border-color:#c9e4dc; background:#f3faf7; box-shadow:none; }
.api-guest-panel h3 { margin:7px 0; color:#243342; font-size:19px; }
.api-guest-panel p { max-width:660px; margin:0; color:#657488; font-size:13px; line-height:1.7; }
.api-guest-panel .eyebrow { color:#087f73; }
.api-guest-panel .button { white-space:nowrap; flex-shrink:0; }
.api-guest-panel .button.primary { background:#087f73; }
#page-api .page-heading h2 { font-size:clamp(26px,3vw,36px); margin:6px 0 10px; }
#page-api :is(.api-guide,.api-key-panel,.api-example) { border-radius:12px; box-shadow:none; }
.site-footer { width:calc(100% - 40px); max-width:1600px; margin:22px auto 0; padding:30px 0 20px; border-top:1px solid #d7e2df; color:#61716c; }
.site-footer-main { display:flex; justify-content:space-between; gap:42px; align-items:flex-start; }
.site-footer-brand { max-width:340px; }
.footer-brand { display:inline-flex; align-items:center; gap:10px; color:#243342; text-decoration:none; font-size:16px; }
.site-footer-brand p { margin:10px 0 0; font-size:12px; line-height:1.7; }
.site-footer-links { display:flex; justify-content:flex-end; align-items:flex-start; flex-wrap:wrap; gap:18px 24px; max-width:760px; padding-top:6px; }
.site-footer-links a { color:#435c54; text-decoration:none; font-size:12px; line-height:1.6; }
.site-footer-links a:hover { color:#087f73; text-decoration:underline; }
.site-footer-links .footer-contact { display:grid; gap:3px; border-left:1px solid #d7e2df; padding-left:24px; }
.footer-contact span:first-child { color:#657488; font-size:11px; }
.site-footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:26px; padding-top:16px; border-top:1px solid #e2e9e6; font-size:11px; line-height:1.6; }
.site-footer-bottom p { margin:0; }
.site-footer a:focus-visible,.workbench-intro a:focus-visible { outline:2px solid #087f73; outline-offset:4px; border-radius:3px; }
@media(max-width:760px) {
  #workspace-view > .sidebar { display:none; }
  .mobile-page-nav { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:14px; margin:0 0 16px; padding:10px 12px; border:1px solid #dce5eb; border-radius:10px; background:#fff; }
  .mobile-page-nav > span { color:#657488; font-size:12px; font-weight:500; }
  .mobile-page-nav select { min-width:0; min-height:44px; padding:9px 12px; border-color:#c9ded8; color:#08685f; background:#f3faf7; font-size:14px; font-weight:700; }
  .workbench-intro { display:block; padding:15px 16px; }
  .workbench-intro h1 { font-size:18px; }
  .workbench-guide-links { justify-content:flex-start; margin-top:10px; }
  .api-guest-panel { display:grid; gap:16px; padding:18px; }
  .api-guest-panel .button { justify-self:start; }
  #page-api .page-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  #page-api .api-example pre { max-width:100%; font-size:11px; }
  .site-footer-main { display:grid; gap:22px; }
  .site-footer-links { justify-content:flex-start; gap:14px 22px; }
  .site-footer-links .footer-contact { width:100%; padding:12px 0 0; border-left:0; border-top:1px solid #e2e9e6; }
  .site-footer-bottom { flex-direction:column; gap:7px; }
}
@media(max-width:400px) {
  .workbench-intro p { font-size:12px; }
  .topbar .top-actions { min-width:0; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
  .topbar .top-actions .user-email { max-width:150px; }
}
@media(max-width:650px) {
  body:not(.member-mode) .topbar,
  body:not(.member-mode):has(#page-catalog:not(.hidden)) .topbar { display:flex; flex-wrap:nowrap; }
  body:not(.member-mode) .topbar .brand { flex-shrink:0; }
  body:not(.member-mode) .topbar .top-actions,
  body:not(.member-mode):has(#page-catalog:not(.hidden)) .topbar .top-actions { width:auto; flex-wrap:nowrap; }
}
