:root {
  color-scheme: light;
  --honey: #166649;
  --honey-dark: #166649;
  --dark: #f5f7f6;
  --darker: #fff;
  --text: #182923;
  --text-muted: #52645c;
  --text-faint: #61736b;
  --card-bg: #f5f7f6;
  --card-border: #dbe4df;
  --code-bg: #f5f7f6;
  --code-border: #dbe4df;
  --green: #166649;
  --red: #b93639;
  --blue: #2363a1;
}
* { letter-spacing: 0 !important; }
body { background: #fff; }
.bg-glow { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
nav {
  height: 76px;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  background: #fff;
  backdrop-filter: none;
  gap: 24px;
}
.nav-brand { flex-shrink: 0; }
.nav-brand img { width: 40px; height: 40px; border-radius: 8px; }
.nav-brand span { color: var(--text); font-size: 24px; font-weight: 800; }
.nav-links { gap: 26px; }
.nav-links a { opacity: 1; white-space: nowrap; }
.nav-cta { background: var(--text); color: #fff !important; border-radius: 6px; padding: 8px 18px; }
.nav-cta:hover { background: var(--green); transform: none; box-shadow: none; }
#beein-lang-switcher { margin-left: 0 !important; }
#beein-lang-switcher button { opacity: .65 !important; border-color: var(--card-border) !important; padding: 6px !important; }
#beein-lang-switcher button.active { opacity: 1 !important; border-color: var(--green) !important; }
h1 .gradient, .hero h1 .gradient { background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
.layout { max-width: 1200px; padding-top: 112px; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.doc-toc { position: sticky; top: 104px; height: max-content; min-width: 0; }
.doc-toc > summary { display: none; cursor: pointer; color: var(--green); font-weight: 600; }
.sidebar { position: static; max-height: calc(100vh - 128px); font-size: 14px; }
.sidebar a { padding-top: 6px; padding-bottom: 6px; }
.sidebar a.active { background: #eaf4ed; }
.hero-meta { gap: 8px; }
.hero-meta .pill { border-radius: 6px; padding: 6px 10px; overflow-wrap: anywhere; }
section.doc { scroll-margin-top: 100px; }
section.doc a, .container a { text-decoration: underline; text-underline-offset: 3px; }
section.doc p, section.doc li, .container p, .container li { overflow-wrap: anywhere; }
section.doc code:not(pre code) { overflow-wrap: anywhere; }
section.doc .anchor { text-decoration: none; }
.endpoint, pre, .callout, .usecase { border-radius: 6px; }
.endpoint .path { overflow-wrap: anywhere; }
.endpoint .auth { background: #eaf4ed; color: var(--green); }
.endpoint .method.get { background: #e9f2fc; }
.endpoint .method.post { background: #eaf4ed; }
.endpoint .method.put { background: #fff5d1; color: #805b08; }
.endpoint .method.delete { background: #fceced; }
pre .c-key, pre .c-num, section.doc code:not(pre code), table td code { color: #805b08; }
pre { max-width: 100%; }
table { display: block; max-width: 100%; overflow-x: auto; }
table th { background: #f5f7f6; }
.callout { background: #f2f7f3; border-left-color: var(--green); }
.callout.warn { background: #fff2f2; }
.callout.note { background: #eef5fc; }
.usecase-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.usecase { background: #fff; }
.usecase:hover { border-color: var(--green); transform: none; }
.container { padding-top: 112px; }
footer { background: #fff; color: var(--text-muted); }
.footer-copy { color: var(--text-muted); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { margin: 0; color: var(--text); }
@media (max-width: 920px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-toc { top: 76px; z-index: 50; background: #fff; border-bottom: 1px solid var(--card-border); }
  .doc-toc > summary { display: list-item; padding: 14px 4px; }
  .doc-toc .sidebar { display: block; max-height: 50vh; padding-bottom: 16px; }
  .hero-meta { display: flex; }
  .nav-links { gap: 14px; }
  section.doc { scroll-margin-top: 144px; }
}
@media (max-width: 600px) {
  nav { height: 68px; padding: 0 16px; gap: 12px; }
  .nav-brand img { width: 34px; height: 34px; }
  .nav-brand span { font-size: 21px; }
  .nav-links { gap: 10px; }
  .nav-links > .nav-cta { display: inline-block; padding: 7px 10px; font-size: 13px; }
  #beein-lang-switcher { gap: 4px !important; }
  #beein-lang-switcher img { width: 20px !important; height: 14px !important; }
  #beein-lang-switcher button { padding: 5px !important; }
  .layout { padding: 84px 18px 40px; }
  .doc-toc { top: 68px; }
  .container { padding: 96px 18px 40px; }
  .hero h1 { font-size: 28px; }
  .hero-meta .pill { font-size: 12px; }
  pre { padding: 14px; font-size: 12px; }
  table th, table td { padding: 10px; }
  .endpoint { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
