:root { --ink: #17211d; --muted: #66736c; --line: #dfe6e1; --paper: #ffffff; --canvas: #f7f9f8; --green: #08784c; --green-soft: #e5f5ec; --code: #102019; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 15px; line-height: 1.65; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.topbar { position: sticky; z-index: 3; top: 0; height: 62px; display: flex; align-items: center; gap: 32px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(12px); }
.brand { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }.brand span { color: var(--green); }.brand em { margin-left: 8px; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 650; }
.topbar nav { display: flex; gap: 22px; }.topbar nav a { color: var(--muted); font-size: 13px; text-decoration: none; }.topbar nav a:hover { color: var(--green); }.console-link { margin-left: auto; padding: 7px 12px; border: 1px solid #a5c9b5; border-radius: 5px; color: var(--green); font-size: 12px; font-weight: 700; text-decoration: none; }
.page-shell { display: grid; grid-template-columns: 220px minmax(0, 790px); gap: 76px; width: min(1200px, calc(100% - 48px)); margin: 0 auto; }.sidebar { position: sticky; top: 88px; align-self: start; padding: 32px 0 48px; }.sidebar p { margin: 18px 0 6px; color: #8a9790; font-size: 11px; font-weight: 800; text-transform: uppercase; }.sidebar a { display: block; padding: 5px 9px; border-left: 2px solid transparent; color: var(--muted); font-size: 13px; text-decoration: none; }.sidebar a:hover, .sidebar a.active { border-left-color: var(--green); color: var(--green); background: #edf7f1; }
main { min-width: 0; padding-bottom: 100px; } section { padding: 62px 0; border-bottom: 1px solid var(--line); } h1, h2, h3 { letter-spacing: 0; line-height: 1.22; } h1 { max-width: 620px; margin: 8px 0 15px; font-size: 44px; } h2 { margin: 6px 0 12px; font-size: 27px; } h3 { margin: 7px 0; font-size: 16px; } p { color: var(--muted); }.hero { padding: 78px 0 68px; }.eyebrow, .section-label { margin: 0; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }.hero-copy { max-width: 630px; font-size: 17px; }.hero-actions { display: flex; gap: 10px; margin-top: 26px; }.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 5px; font-size: 13px; font-weight: 750; text-decoration: none; }.primary { color: white; background: var(--green); }.secondary { border: 1px solid #b9c8c0; color: #385047; background: white; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }.steps article { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }.steps b { color: var(--green); font-size: 12px; }.steps p { margin: 5px 0; font-size: 13px; }.endpoint-card, .request-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center; padding: 18px; border: 1px solid #cee2d5; border-radius: 6px; background: #fbfefc; }.endpoint-card p { margin: 6px 0 0; font-size: 13px; }.endpoint-card pre, .request-card pre, .wide-code { margin: 0; padding: 14px; overflow: auto; border-radius: 5px; color: #d5e9dd; background: var(--code); font-size: 12px; line-height: 1.65; }
.method { display: inline-flex; min-width: 48px; justify-content: center; margin-right: 8px; padding: 2px 6px; border-radius: 3px; font-family: monospace; font-size: 11px; font-weight: 800; }.get { color: #056a4a; background: #dff3e9; }.post { color: #155bb1; background: #e2edff; }.workflow { display: flex; align-items: center; gap: 9px; margin: 25px 0; overflow-x: auto; }.workflow span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #cbd8d0; border-radius: 5px; background: white; font-size: 12px; font-weight: 700; }.workflow i { width: 22px; height: 1px; background: #99aaa0; }.note { padding: 13px 15px; border-left: 3px solid var(--green); color: #3c5147; background: var(--green-soft); font-size: 13px; }
.scenario-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0; }.scenario-tabs button { min-height: 52px; padding: 8px 12px; border: 1px solid #d4dfd9; border-radius: 5px; color: #56655d; background: white; text-align: left; font-size: 12px; cursor: pointer; }.scenario-tabs button:hover, .scenario-tabs button.active { border-color: var(--green); color: var(--green); background: #f0faf4; font-weight: 750; }.scenario-detail { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: white; }.scenario-detail h3 { font-size: 20px; }.scenario-detail p { font-size: 13px; }.scenario-type { margin: 0; color: var(--green); font-size: 11px; font-weight: 800; }.scenario-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 16px 0 0; font-size: 12px; }.scenario-detail dt { color: #7b8881; }.scenario-detail dd { margin: 0; font-family: monospace; }.code-panel { overflow: hidden; border-radius: 5px; background: var(--code); }.code-tabs { display: flex; border-bottom: 1px solid #294137; }.code-tabs button { padding: 9px 12px; border: 0; border-bottom: 2px solid transparent; color: #92a89b; background: transparent; font-size: 11px; cursor: pointer; }.code-tabs button.active { border-bottom-color: #6ed59d; color: white; }.code-panel pre { min-height: 255px; margin: 0; padding: 15px; overflow: auto; color: #d5e9dd; font-size: 11px; line-height: 1.65; }.request-heading { margin-bottom: 13px; }.request-card { display: block; }.wide-code { max-width: 570px; }.endpoint-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }.endpoint-list article { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }.endpoint-list article:last-child { border-bottom: 0; }.endpoint-list p { margin: 4px 0 0; font-size: 13px; }.sdk-links { display: flex; gap: 10px; }.sdk-links a { padding: 11px 13px; border: 1px solid #bfd0c6; border-radius: 5px; color: #185f40; background: white; font-size: 13px; text-decoration: none; }
@media (max-width: 860px) { .topbar { padding: 0 20px; }.topbar nav { display: none; }.page-shell { display: block; width: min(100% - 32px, 720px); }.sidebar { display: none; } h1 { font-size: 35px; }.steps, .scenario-detail { grid-template-columns: 1fr; }.endpoint-card { grid-template-columns: 1fr; }.scenario-tabs { grid-template-columns: 1fr; } }
.preview-badge { display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 3px; color: #846400; background: #fff1bd; font-size: 10px; line-height: 1.4; vertical-align: 2px; }
.preview-note { max-width: 630px; margin: 16px 0 0; padding: 8px 11px; border-left: 3px solid #d0a500; color: #6f5711; background: #fff9e5; font-size: 12px; }
.sdk-links code { padding: 11px 13px; border: 1px solid #bfd0c6; border-radius: 5px; color: #185f40; background: white; font-size: 13px; }
