:root {
  color-scheme: light;
  --ink: #142c39;
  --muted: #516571;
  --accent: #3eaf7c;
  --line: #dde6e9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.site-header { min-height: 84px; padding: 16px 4%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 172px; height: auto; }
.brand-divider { height: 24px; width: 1px; background: var(--line); margin: 0 4px; }
.brand-label, .header-link { font-size: 14px; color: var(--muted); }
.edition-tabs { display: flex; gap: 4px; background: #f2f6f7; border: 1px solid #e6edef; border-radius: 10px; padding: 4px; }
.edition-tab { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--muted); font-size: 13px; font-weight: 600; border-radius: 7px; }
.edition-tab.active { background: #fff; box-shadow: 0 1px 5px #142c3912; color: var(--ink); }
.edition-tab span { font-size: 11px; background: #e5edef; border-radius: 4px; padding: 2px 5px; }
.edition-tab.active span { color: var(--accent); background: #3eaf7c1a; }
.hero { padding: 60px max(6%, calc((100% - 1120px) / 2)) 52px; background: radial-gradient(ellipse at 88% 20%, #3eaf7c14 0, transparent 55%), linear-gradient(110deg, #f8fbfc, #3eaf7c08); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 11px; letter-spacing: 1.6px; font-weight: 750; color: var(--accent); }
.eyebrow span { display: inline-block; font-size: 10px; letter-spacing: .5px; border: 1px solid #3eaf7c40; border-radius: 20px; padding: 5px 9px; margin-left: 12px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -2px; margin: 24px 0 20px; font-weight: 750; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 640px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; gap: 24px; padding: 13px 17px; font-size: 13px; font-weight: 650; border-radius: 7px; border: 1px solid var(--line); }
.button:hover { text-decoration: none; filter: brightness(.95); }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.secondary { background: #fff; color: var(--ink); }
.overview { max-width: 1120px; margin: 44px auto 0; }
.overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { font-size: 25px; letter-spacing: -.6px; margin: 10px 0; }
.downloads { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.downloads > span { color: var(--muted); margin-right: 4px; }
.downloads a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; font-weight: 650; }
.overview-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 8px 0 22px; }
.endpoint-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; font-size: 12px; }
.endpoint-filter label { font-weight: 650; }
.endpoint-filter input { flex: 1; min-width: 180px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.endpoint-filter input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
#endpoint-count { color: var(--muted); min-width: 90px; }
.table-scroll { overflow: auto; max-height: 460px; border: 1px solid var(--line); border-radius: 10px; }
.endpoint-table { width: 100%; border-collapse: collapse; text-align: left; }
.endpoint-table th { position: sticky; top: 0; z-index: 1; padding: 12px 18px; background: #f7f9fa; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.endpoint-table td { padding: 16px 18px; border-top: 1px solid #e9eef0; font-size: 12px; }
.endpoint-table td:first-child { width: 80px; }
.endpoint-table code { font-size: 12px; color: var(--ink); }
.endpoint-table small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.method { font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.get { color: var(--accent); }
.put { color: #95620e; }
.post { color: #335cc3; }
.delete { color: #b83838; }
.patch { color: #7150a4; }
.badge { display: inline-block; white-space: nowrap; border-radius: 5px; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.shared { background: #3eaf7c14; color: var(--accent); }
.enterprise { background: #f0ebfa; color: #6e41a1; }
.encryption-cell { color: var(--muted); white-space: nowrap; }
.layer-note { display: flex; align-items: center; gap: 18px; max-width: 1120px; margin: 24px auto 48px; padding: 20px 24px; background: #f4f8fa; border: 1px solid var(--line); border-radius: 9px; }
.layer-icon { color: var(--accent); font-family: monospace; font-size: 28px; font-weight: 700; white-space: nowrap; }
.layer-note strong { font-size: 13px; }
.layer-note p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 5px 0 0; }
#reference { scroll-margin-top: 16px; border-top: 1px solid var(--line); min-height: 400px; }
.loading { padding: 40px; color: var(--muted); }
#app .operation-description .markdown table { table-layout: auto; font-size: 13px; }
#app .operation-description .markdown th { white-space: nowrap; }
#app .operation-description .markdown td,
#app .operation-description .markdown td code { overflow-wrap: anywhere; }
.site-footer { padding: 26px 4%; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer div { display: flex; gap: 24px; }
.guide { max-width: 850px; margin: 44px auto 72px; padding: 0 24px; }
.back-link { font-size: 13px; }
.guide article { line-height: 1.8; }
.guide h1 { font-size: 36px; line-height: 1.2; letter-spacing: -1px; margin-top: 30px; }
.guide h2 { margin-top: 40px; }
.guide p, .guide li { color: var(--muted); font-size: 15px; }
.guide pre { overflow: auto; padding: 22px; border: 1px solid var(--line); background: #f5f8fa; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.guide :not(pre) > code { font-size: .85em; padding: 2px 5px; border-radius: 4px; background: #edf3f4; color: var(--ink); }
@media (max-width: 1200px) {
  .overview, .layer-note { margin-left: 5%; margin-right: 5%; }
}
@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; gap: 16px; }
  .edition-tabs { order: 3; width: 100%; }
  .edition-tab { flex: 1; justify-content: center; }
  .hero { padding: 40px 5%; }
  .overview-heading { flex-wrap: wrap; }
  .downloads > span { display: none; }
  .site-footer { flex-direction: column; }
}
@media (max-width: 480px) {
  .brand-logo { width: 130px; }
  .brand-label { font-size: 12px; }
  .header-link { font-size: 11px; }
  .edition-tab { font-size: 11px; padding: 10px; }
  .hero h1 { letter-spacing: -1px; }
  .eyebrow span { display: block; width: fit-content; margin: 10px 0 0; }
  .layer-note { padding: 16px; gap: 12px; }
}
