:root { color-scheme: light; font: 16px/1.65 system-ui, sans-serif; color: #20354c; background: #f5f8fc; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #14549c; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3c86db; outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: -100px; padding: 8px 14px; background: white; z-index: 3; }
.skip:focus { top: 12px; }
.masthead { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 15px clamp(18px, 4vw, 56px); background: #102847; color: white; }
.masthead a { color: inherit; text-decoration: none; }
.brand { font-size: 1.15rem; font-weight: 800; }
.brand span { margin-left: 12px; padding-left: 12px; border-left: 1px solid #ffffff50; color: #b9d5f5; font-size: .88rem; font-weight: 550; }
.system-link { font-size: .9rem; }
.layout { display: grid; grid-template-columns: minmax(210px, 250px) minmax(0, 1fr); max-width: 1450px; margin: auto; }
.sidebar { border-right: 1px solid #dbe5f1; }
.sidebar nav { position: sticky; top: 88px; display: grid; gap: 5px; padding: 30px 18px; }
.sidebar strong { padding: 6px 10px; color: #102847; }
.sidebar a { padding: 7px 10px; border-radius: 7px; text-decoration: none; font-size: .92rem; }
.sidebar a:hover { background: #e4effc; }
main { width: min(100%, 980px); min-width: 0; margin: 0 auto; padding: clamp(20px, 4vw, 54px); }
.intro { padding: clamp(22px, 4vw, 38px); color: #102847; background: #e6f0fc; border-radius: 16px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: #fff; color: #14549c; font-weight: 700; font-size: .82rem; }
h1 { margin: 10px 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
h2 { margin-top: 0; color: #102847; font-size: 1.4rem; }
.intro p { margin-bottom: 0; max-width: 58ch; }
section { margin-top: 16px; padding: clamp(18px, 3vw, 30px); border: 1px solid #dbe5f1; border-radius: 12px; background: #fff; }
section, .intro { scroll-margin-top: 100px; }
section > :last-child { margin-bottom: 0; }
li { margin-block: 8px; }
details { margin-top: 12px; }
summary { color: #14549c; cursor: pointer; font-weight: 650; }
code { overflow-wrap: anywhere; }
pre { overflow: auto; padding: 14px; border-radius: 8px; background: #edf3fb; }
@media (max-width: 700px) {
  .masthead { position: static; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { border-right: 0; border-bottom: 1px solid #dbe5f1; }
  .sidebar nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 18px; }
  .sidebar strong { grid-column: 1 / -1; }
  section, .intro { scroll-margin-top: 14px; }
}
.environments { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 20px; border: 1px solid #dbe5f1; border-radius: 10px; background: #f5f8fc; }
.environments dt { color: #102847; font-weight: 750; }
.environments dt:not(:first-child) { margin-top: 12px; }
.environments dd { margin: 0; min-width: 0; }
.environments dd p { margin: 4px 0 0; }
.docs-table { overflow-x: auto; }
.docs-table table { width: 100%; border-collapse: collapse; }
.docs-table th, .docs-table td { padding: 10px; border-bottom: 1px solid #dbe5f1; text-align: left; vertical-align: top; }
.docs-table th { color: #102847; background: #edf3fb; }
:root { --ink: #11213a; --muted: #52647e; --line: #dce5f0; --blue: #174da3; --surface: #fff; background: #f8fafd; color: var(--ink); }
.masthead { background: #0b1930; border-bottom: 1px solid #213551; padding-inline: clamp(18px, 4vw, 64px); }
.brand { letter-spacing: -.025em; }
.system-link { padding: 6px 11px; border: 1px solid #52647e; border-radius: 7px; }
.system-link:hover { background: #223855; }
.layout { max-width: 1510px; grid-template-columns: minmax(224px, 270px) minmax(0, 1fr); }
.sidebar { background: #f4f7fb; }
.sidebar nav { top: 72px; gap: 3px; max-height: calc(100vh - 82px); overflow-y: auto; }
.sidebar strong { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.sidebar strong:not(:first-child) { margin-top: 11px; }
.sidebar a[aria-current="location"] { background: #dfebff; color: #113e85; font-weight: 750; box-shadow: inset 3px 0 #2d69cc; }
main { width: min(100%, 1080px); }
.intro { padding: clamp(24px, 5vw, 52px); background: linear-gradient(115deg, #10254a 10%, #1a4486 100%); color: white; border: 1px solid #244a83; box-shadow: 0 12px 30px #10254a1c; }
.intro h1 { font-size: clamp(2.25rem, 5vw, 3.55rem); }
.intro p { color: #dce9ff; }
.badge { background: #dcebff; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.intro-actions a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #b9ccef; border-radius: 7px; padding: 8px 13px; color: white; text-decoration: none; font-weight: 700; font-size: .9rem; }
.intro-actions a:first-child { background: #fff; color: #183e77; }
.intro-actions a:hover { text-decoration: underline; }
.api-quick { margin: 24px 0 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.api-quick-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 17px; }
.api-quick-header span, .api-quick p { color: var(--muted); font-size: .86rem; }
.api-quick p { padding: 0 17px; }
section { margin-top: 20px; padding: clamp(20px, 4vw, 38px); }
section h2 { font-size: clamp(1.3rem, 2.5vw, 1.72rem); letter-spacing: -.025em; }
section h3 { font-size: 1.1rem; }
p code, li code, td code, dd code { padding: 2px 5px; border-radius: 4px; background: #edf3fc; color: #174681; font-size: .89em; }
pre { margin: 0; background: #0f203b; color: #e4efff; border-radius: 0; font-size: .87rem; line-height: 1.6; }
.code-sample { position: relative; overflow: hidden; border-radius: 8px; }
.code-sample pre { padding: 44px 16px 16px; }
.api-quick .code-sample { border-radius: 0; }
.copy-code { position: absolute; top: 8px; right: 9px; padding: 4px 8px; border: 1px solid #6982aa; border-radius: 6px; background: #20395e; color: white; font: inherit; font-size: .78rem; cursor: pointer; }
.copy-code:hover { background: #304e79; }
button:focus-visible { outline: 3px solid #6daaff; outline-offset: 2px; }
details > summary { padding: 6px 0; }
.docs-table table { font-size: .9rem; }
.docs-table th { color: #193962; background: #edf3fc; }
.docs-table tbody tr:nth-child(even) { background: #f8fafd; }
@media (max-width: 700px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar nav { max-height: none; }
  .api-quick-header { align-items: start; }
}
section > pre, section > .code-sample { margin-block: 8px 20px; border-radius: 8px; }

.masthead { background: #fff; color: #102647; border-bottom: 1px solid #dbe5f1; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; object-fit: cover; }
.brand .brand-copy { display: grid; margin: 0; padding: 0; border: 0; color: inherit; line-height: 1.2; }
.brand-copy strong { font-size: 1.02rem; }
.brand-copy small { margin-top: 3px; color: #52677f; font-size: .78rem; }
.masthead .system-link { padding: 8px 12px; border: 1px solid #dbe5f1; border-radius: 8px; color: #174681; font-weight: 700; }
.layout { grid-template-columns: minmax(210px, 244px) minmax(0, 1fr); }
.sidebar { background: #fff; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(115px, 29%); align-items: center; gap: clamp(14px, 3vw, 36px); background: linear-gradient(125deg, #0c2142, #164888); }
.intro .api-version { margin: 0 0 12px; color: #c2dbff; font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.intro h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.8vw, 3.45rem); }
.intro p { color: #e0edff; }
.intro-logo { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 35px #06152e66; }
.api-quick { box-shadow: 0 8px 22px #1732530b; }
@media (max-width: 700px) {
  .layout, .intro { grid-template-columns: minmax(0, 1fr); }
  .intro-logo { width: min(100%, 155px); }
}
