:root {
  color-scheme: light;
  --ink: #132e25;
  --muted: #53675f;
  --green: #157853;
  --line: #d7e2d9;
  --page: #fafbf8;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,p,figure,ol,dl,dd { margin: 0; }
button,input { font: inherit; }
button { cursor: pointer; }
code,pre { font-family: var(--mono); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 20; background: white; padding: 12px 16px; border: 1px solid var(--ink); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #079a6c; outline-offset: 4px; }
.shell { width: min(1184px, 100% - 88px); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: #fafbf8; }
.head-inner,.head-actions,.nav-main,.brand,.btn,.hero-actions,.link-arrow,.foot-inner,.foot-inner nav,.steps li>a,.base-box,.overline,.code-head,.code-head button { display: flex; align-items: center; }
.head-inner { min-height: 75px; gap: 54px; }
.brand-link { display: inline-flex; }
.brand { gap: 9px; white-space: nowrap; color: #123b2e; font-size: 22px; font-weight: 790; letter-spacing: -.065em; }
.brand-mark { flex: none; }
.nav-main { gap: 29px; align-self: stretch; }
.nav-main a { display: grid; align-content: center; font-size: 14px; color: #445a50; position: relative; }
.nav-main a[aria-current="page"],.nav-main a:hover,.login:hover,.foot-inner nav a:hover { color: var(--green); }
.nav-main a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; background: var(--green); inset: auto 0 16px; }
.head-actions { gap: 21px; margin-left: auto; }
.login { font-size: 14px; }
.btn { gap: 12px; justify-content: center; min-height: 47px; padding: 11px 21px; font-size: 15px; font-weight: 610; border-radius: 7px; border: 1px solid transparent; transition: background .15s, box-shadow .15s; }
.btn-dark { color: white; background: #143e30; border-color: #143e30; }
.btn-dark:hover { background: #095a3d; }
.btn-light { color: #254b3c; background: #fff; border-color: #bbcdc0; }
.btn-light:hover { background: #eaf2eb; }
.btn.small { min-height: 37px; padding: 7px 14px; font-size: 13px; gap: 9px; }
.nav-toggle { display: none; width: 36px; height: 36px; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px,5.4vw,80px); padding-block: clamp(52px,6.1vw,92px) clamp(49px,5vw,76px); }
.overline { gap: 9px; color: var(--green); font: 600 11px/1.4 var(--mono); letter-spacing: .11em; }
.rule { display: inline-block; width: 22px; height: 2px; background: #43956d; }
.hero h1 { margin-block: 22px 19px; color: #142f25; font-size: clamp(48px,4.9vw,74px); line-height: 1.18; letter-spacing: -.065em; font-weight: 745; }
.hero h1 em { color: #19805b; font-style: normal; }
.hero-desc { color: var(--muted); font-size: clamp(15px,1.25vw,18px); line-height: 1.85; max-width: 29em; }
.hero-actions { gap: 12px; margin-top: 25px; flex-wrap: wrap; }
.base-box { margin-top: 23px; border: 1px solid var(--line); background: #f0f4ee; border-radius: 6px; padding: 4px 4px 4px 12px; gap: 11px; min-height: 36px; width: fit-content; max-width: 100%; }
.base-box>span { color: #53685b; border-right: 1px solid #bbcabc; padding-right: 10px; font: 11px var(--mono); white-space: nowrap; }
.base-box code { font-size: 12px; overflow-wrap: anywhere; }
.icon-button { display: grid; place-items: center; flex: none; border: 0; background: transparent; color: #38674b; width: 29px; height: 28px; border-radius: 4px; margin-left: auto; }
.icon-button:hover { background: #dce7dc; }
.diagram { background-color: #edf3ea; background-image: linear-gradient(#4b72530d 1px,transparent 1px),linear-gradient(90deg,#4b72530d 1px,transparent 1px),radial-gradient(ellipse at 54% 48%, #d7efdb, transparent 72%); background-size: 23px 23px,23px 23px,100% 100%; isolation: isolate; border-radius: 15px; border: 1px solid #ccdbcd; overflow: hidden; position: relative; }
.diagram-top { position: absolute; z-index: 1; top: 18px; left: 20px; right: 18px; display: flex; align-items: center; justify-content: space-between; color: #385745; font: 500 12px var(--mono); }
.diagram-top>span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; vertical-align: 1px; background: #5b876c; margin-right: 7px; }
.diagram-sign { font: 17px var(--mono); }
.diagram-field { height: clamp(258px,24.5vw,355px); position: relative; overflow: hidden; }
.diagram-orbit,.iso-shadow,.iso-brick { position: absolute; left: 50%; transform: translateX(-50%); }
.diagram-orbit { width: 76%; height: 28%; bottom: 9%; border: 1px dashed #85a58a8c; border-radius: 50%; transform: translateX(-50%) rotate(-8deg); }
.iso-shadow { width: 43%; height: 17%; top: 69%; border-radius: 55%; background: #386d4f4a; filter: blur(14px); }
.iso-brick { width: 43%; height: 35%; }
.iso-brick i,.iso-brick b,.iso-brick u { position: absolute; inset: 0; }
.iso-brick i { clip-path: polygon(50% 0,100% 40%,50% 80%,0 40%); background: var(--roof); }
.iso-brick b { clip-path: polygon(0 40%,50% 80%,50% 100%,0 60%); background: var(--left); }
.iso-brick u { clip-path: polygon(50% 80%,100% 40%,100% 60%,50% 100%); background: var(--right); }
.b-top { top: 14%; --roof: linear-gradient(130deg,#c8f1c7,#7ad6a0); --left: linear-gradient(100deg,#70c99a,#60bf8f); --right: #409e77; }
.b-mid { top: 32%; --roof: linear-gradient(126deg,#7bd1a0,#4eaf83); --left: #459d75; --right: #2c7958; }
.b-bottom { top: 50%; --roof: linear-gradient(130deg,#388d6d,#26714f); --left: #246446; --right: #194e37; }
.callout { position: absolute; display: flex; gap: 0; align-items: center; font: 600 clamp(10px, .8vw, 12px)/1.15 var(--mono); color: #3e634d; }
.callout span { background: #edf4ebe6; padding: 3px 5px; border-radius: 3px; }
.callout::before,.callout::after { content: ""; display: block; }
.callout-a { top: 28%; left: 70%; }
.callout-a::before,.callout-c::before { width: clamp(11px,1.65vw,27px); height: 1px; background: #6a9375; }
.callout-b { flex-direction: row-reverse; right: 70%; top: 50%; }
.callout-b::before { width: clamp(12px,1.65vw,27px); height: 1px; background: #6a9375; }
.callout-c { left: 70%; top: 70%; }
.diagram figcaption { display: flex; align-items: center; gap: 12px; background: #173b2e; color: #e8f5ea; min-height: 49px; padding: 10px 19px; }
.diagram figcaption code { font-size: clamp(11px,1.1vw,14px); }
.verb { background: #355f48; border-radius: 4px; color: #c6edb3; padding: 4px 7px; font: 600 10px var(--mono); }
.prompt-sign { margin-left: auto; color: #98b49f; }
.catalog-band { background: #eff4ee; border-block: 1px solid var(--line); padding-block: 45px 47px; }
.section-line { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.section-line h2 { margin-top: 9px; font-size: clamp(27px,2.3vw,35px); letter-spacing: -.045em; line-height: 1.35; }
.link-arrow,.steps a { color: var(--green); gap: 7px; font-size: 14px; font-weight: 600; }
.link-arrow:hover,.steps a:hover,.doc-body p a:hover { text-decoration: underline; text-underline-offset: 3px; }
.model-cards,.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.model-card { display: flex; flex-direction: column; align-items: start; gap: 13px; padding: 20px; border: 1px solid #d4e1d5; background: #fbfcf9; border-radius: 9px; }
.model-card>a { font-size: 12px; color: var(--green); }
.model-card>a:hover { text-decoration: underline; }
.model-id { color: #153e2e; font: 650 clamp(16px,1.3vw,21px)/1.4 var(--mono); overflow-wrap: anywhere; }
.model-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #51695b; }
.model-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; border: 1px solid #c9dfcf; background: #e6f3e7; color: #39775a; }
.model-card:nth-child(2) .model-icon { background: #f5eadf; color: #865c3b; border-color: #e6d9cb; }
.model-card:nth-child(3) .model-icon { background: #e7edf3; color: #426e85; border-color: #d1dce8; }
.catalog-info { color: var(--muted); font-size: 15px; grid-column: 1 / -1; background: #fafbf8; border: 1px solid var(--line); padding: 20px; border-radius: 6px; }
.catalog-info button { background: transparent; border: 0; color: var(--green); margin-left: 10px; text-decoration: underline; }
.connect-section { padding-block: 46px 62px; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 12px 1px 0; border-top: 1px solid var(--line); position: relative; }
.steps li::after { content: "0" counter(step); position: absolute; right: 5px; top: 19px; color: #62836c; font: 12px var(--mono); }
.step-icon { color: var(--green); margin-bottom: 14px; }
.steps h3 { font-size: 19px; letter-spacing: -.025em; }
.steps p { margin: 8px 0 15px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.steps a { display: inline-flex; gap: 6px; font-size: 13px; }
.site-foot { border-top: 1px solid var(--line); background: #f3f6ef; }
.foot-inner { min-height: 79px; gap: 17px; }
.foot-inner .brand { font-size: 17px; gap: 6px; }
.foot-inner .logo-mark { width: 23px; height: 27px; }
.foot-inner p,.foot-inner nav { font-size: 12px; color: var(--muted); }
.foot-inner nav { gap: 18px; margin-left: auto; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); border-radius: 6px; padding: 11px 19px; background: #163e30; color: white; font-size: 14px; z-index: 8; box-shadow: 0 6px 18px #163e3026; }
.toast:empty { display: none; }
.doc-grid { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0,1fr); gap: clamp(30px,5vw,72px); padding-block: 50px 75px; }
.doc-aside { position: sticky; top: 25px; align-self: start; border-left: 1px solid var(--line); padding: 5px 0 4px 16px; }
.doc-aside nav { display: grid; margin-top: 17px; gap: 4px; }
.doc-aside nav a { color: var(--muted); padding: 7px 0; font-size: 14px; }
.doc-aside nav a:hover { color: var(--green); }
.doc-body { max-width: 820px; }
.doc-body h1 { margin-top: 13px; font-size: clamp(36px,4vw,56px); letter-spacing: -.055em; }
.doc-body h2 { font-size: clamp(22px,2.1vw,31px); line-height: 1.3; letter-spacing: -.04em; }
.doc-intro,.doc-body section>p { color: var(--muted); line-height: 1.85; font-size: 15px; }
.doc-intro { margin-top: 12px; }
.doc-body section { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 28px; scroll-margin-top: 16px; }
.doc-body section>p { margin-block: 13px; }
.doc-body section .base-box { margin: 16px 0; }
.doc-body p a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.doc-body p code { color: #28583d; background: #eaf1e7; border-radius: 3px; padding: 1px 4px; font-size: .9em; overflow-wrap: anywhere; }
.code-box { overflow: hidden; border: 1px solid #284b3c; border-radius: 8px; background: #142c23; color: #e9f5e9; }
.code-head { min-height: 43px; justify-content: space-between; border-bottom: 1px solid #365144; padding: 0 13px; font-size: 12px; }
.code-head button { color: #c4d9c8; background: transparent; border: 0; padding: 7px 4px; gap: 7px; border-radius: 2px; }
.code-head button:hover { color: white; }
.code-box pre { padding: 18px; margin: 0; overflow-x: auto; line-height: 1.66; font-size: 13px; tab-size: 2; }
.code-tabs { display: flex; gap: 8px; }
.code-head .code-tabs button { border-bottom: 2px solid transparent; min-height: 43px; padding-inline: 6px; }
.code-head .code-tabs button[aria-selected="true"] { border-bottom-color: #96dfab; color: white; }
.field-label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.model-input-row input { height: 40px; width: min(100%,430px); border: 1px solid #adc3b2; border-radius: 5px; padding: 0 10px; background: white; font-family: var(--mono); color: var(--ink); }
.doc-body section .code-hint { font-size: 12px; margin: 6px 0 16px; }
.error-list { margin-top: 12px; }
.error-list>div { display: flex; gap: 16px; align-items: baseline; font-size: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.error-list dt { min-width: 84px; font: 600 13px var(--mono); color: var(--green); }
.error-list dd>p { color: var(--muted); margin-top: 4px; line-height: 1.7; }
@media(max-width:960px) {
  .shell { width: min(100% - 52px,1184px); }
  .head-inner { gap: 34px; }
  .nav-main { gap: 18px; }
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(44px,5.5vw,59px); }
  .hero-desc { font-size: 15px; }
}
@media(max-width:720px) {
  .shell { width: calc(100% - 36px); }
  .head-inner { min-height: 61px; gap: 12px; }
  .head-inner .logo-mark { width: 27px; height: 31px; }
  .brand { font-size: 19px; gap: 6px; }
  .head-actions { gap: 11px; }
  .nav-toggle { display: grid; }
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 18px 12px; background: var(--page); box-shadow: 0 8px 12px #1f38231a; border-bottom: 1px solid var(--line); }
  .nav-main.is-open { display: grid; }
  .nav-main a { padding: 9px 4px; }
  .nav-main a[aria-current="page"]::after { display: none; }
  .btn.small { min-height: 33px; padding: 6px 10px; font-size: 12px; gap: 5px; }
  .login { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 36px; }
  .hero h1 { margin: 15px 0 12px; font-size: clamp(43px,8vw,56px); }
  .hero-actions { margin-top: 18px; }
  .base-box { margin-top: 15px; }
  .diagram { width: 100%; max-width: 560px; }
  .diagram-field { height: clamp(210px,52vw,282px); }
  .diagram figcaption { min-height: 39px; }
  .diagram-top { top: 13px; left: 14px; }
  .catalog-band,.connect-section { padding-block: 31px; }
  .section-line { margin-bottom: 17px; }
  .model-cards,.steps { grid-template-columns: 1fr; gap: 12px; }
  .model-card { gap: 8px; padding: 14px 16px; }
  .steps li { padding: 17px 0 4px; }
  .step-icon { margin-bottom: 6px; }
  .steps p { margin: 5px 0 7px; }
  .doc-grid { grid-template-columns: 1fr; gap: 23px; padding-block: 25px 43px; }
  .doc-aside { position: static; border: 0; padding: 0; }
  .doc-aside>.overline { display: none; }
  .doc-aside nav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .doc-aside nav a { font-size: 12px; }
  .code-box pre { font-size: 12px; padding: 13px; }
  .error-list dt { min-width: 69px; font-size: 11px; }
  .foot-inner { flex-wrap: wrap; gap: 11px; padding-block: 17px; }
  .foot-inner nav { width: 100%; margin-left: 0; }
}
@media(max-width:360px) {
  .shell { width: calc(100% - 26px); }
  .head-actions { gap: 6px; }
  .hero h1 { font-size: 39px; }
  .base-box { gap: 6px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration: 0s !important; } }
.clipboard-field { position: fixed; top: 0; left: -10000px; }
.credits { display: flex; flex-wrap: wrap; gap: 6px 12px; color: #53675f; padding: 0 0 17px; font-size: 11px; line-height: 1.5; } .credits a { text-decoration: underline; text-underline-offset: 2px; }
.doc-body, .hero-copy { min-width: 0; }
.protocol-list { display: grid; gap: 14px; margin-top: 18px; } .protocol-list dt { font-weight: 650; font-size: 15px; } .protocol-list dd { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--muted); } .protocol-list dd a { color: var(--green); text-decoration: underline; } .protocol-list dd code { font-size: 12px; overflow-wrap: anywhere; } @media(min-width:721px) { .nav-main a { align-self: stretch; } }
