@charset "UTF-8";
:root {
  --bg: #f7f9f6;
  --surface: #fff;
  --ink: #202e26;
  --muted: #63705e;
  --line: #e3e9e1;
  --green: #285d42;
  --green-dark: #18462e;
  --green-pale: #eaf2e7;
  --lime: #d6efaf;
  --danger: #a33e2e;
  --radius: 16px;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
a,
button,
input,
textarea,
select {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
}
::selection {
  background: var(--lime);
}
[hidden] {
  display: none !important;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.mono,
.eyebrow,
kbd {
  font-family: var(--mono);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 12px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  max-width: 1440px;
  margin: auto;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: var(--green);
  margin-right: 10px;
  color: var(--lime);
}
.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.brand-dash {
  color: #929c92;
}
.brand-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: var(--muted);
  border-left: 1px solid #cdd6cc;
  margin-left: 15px;
  padding-left: 15px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  color: #5d6b60;
  font-size: 13px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.site-header nav a:hover,
.github-link:hover {
  color: var(--green);
}
.github-link {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  min-height: 44px;
}
.github-link .icon {
  width: 14px;
  height: 14px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 0 52px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
  padding: 76px 0 72px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1.6px;
}
.tiny-line {
  width: 20px;
  height: 2px;
  background: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(36px, 3.8vw, 55px);
  font-weight: 650;
  letter-spacing: -2.5px;
  line-height: 1.28;
  margin-bottom: 20px;
}
h1 span {
  color: var(--green);
}
.hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 25px;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  min-height: 46px;
  padding: 10px 19px;
  font-size: 13px;
  font-weight: 550;
  transition:
    background 0.18s,
    transform 0.18s;
}
.primary-button:hover {
  background: var(--green-dark);
}
.primary-button:active {
  transform: translateY(1px);
}
.hero-cta {
  width: 143px;
}
.hero-visual {
  background: #eaf0e4;
  border: 1px solid #dce5d6;
  border-radius: 22px;
  min-height: 310px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#bdcbb6 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}
.visual-top,
.visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.visual-top .mono {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #64735e;
}
.visual-star {
  font-size: 27px;
  line-height: 1;
  color: #5a764c;
}
.network {
  height: 203px;
  max-width: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 12px;
  position: relative;
  margin: 0 auto;
}
.network:before,
.network:after {
  content: "";
  position: absolute;
  height: 1px;
  left: 10%;
  right: 10%;
  background: #9db28c;
  transform: rotate(20deg);
}
.network:after {
  transform: rotate(-20deg);
}
.network-node {
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfdbc4;
  border-radius: 10px;
  background: #f7faef;
  box-shadow: 0 4px 12px #34462c05;
  font-size: 12px;
  color: #5e7052;
  z-index: 1;
}
.network-node:nth-child(2) {
  grid-column: 3;
}
.network-node:nth-child(4) {
  grid-row: 2;
  grid-column: 1;
}
.network-node:nth-child(5) {
  grid-row: 2;
  grid-column: 3;
}
.network-center {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  z-index: 2;
}
.network-center svg {
  width: 70px;
  height: 70px;
  padding: 18px;
  border-radius: 19px;
  background: var(--green);
  stroke: var(--lime);
  stroke-width: 1.5;
  fill: none;
  box-shadow: 0 8px 24px #285d4229;
}
.network-center span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--green);
  background: #eaf0e4;
  border-radius: 5px;
  white-space: nowrap;
}
.visual-bottom {
  padding-top: 16px;
  border-top: 1px solid #d2ddc9;
  font-size: 10px;
  color: #6d7c64;
}
.visual-bottom .mono {
  font-size: 9px;
  letter-spacing: 0.6px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
  font-size: 9px;
}
.section-heading h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.4;
  margin-bottom: 0;
}
.connection-status {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #edf1eb;
  border: 1px solid #e0e6dc;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  color: #65745f;
}
.connection-status.is-ready {
  color: var(--green);
  background: #e8f2e2;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9af9d;
  flex: none;
}
.is-ready .status-dot {
  background: #49845e;
}
.status-dot.subtle {
  background: #8eaa89;
}
.workspace {
  display: grid;
  grid-template-columns: 185px 300px minmax(0, 1fr);
  border: 1px solid #dce3d8;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  min-height: 590px;
  box-shadow: 0 8px 40px #263e2514;
}
.tool-sidebar {
  display: flex;
  flex-direction: column;
  background: #f5f7f2;
  border-right: 1px solid var(--line);
  padding: 22px 10px 12px;
}
.sidebar-title {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px 24px;
  font-size: 11px;
  font-weight: 500;
  color: #788171;
}
.sidebar-title .icon {
  width: 14px;
  height: 14px;
}
.sidebar-title > span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
}
.tool-navigation {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-tool {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 45px;
  padding: 10px 12px;
  width: 100%;
  border: 1px solid transparent;
  background: none;
  border-radius: 7px;
  text-align: left;
  color: #717b6b;
  font-size: 12px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-tool .icon {
  width: 17px;
  height: 17px;
}
.nav-tool:hover {
  background: #edf0e7;
}
.nav-tool[aria-pressed="true"] {
  background: #e5edde;
  border-color: #d9e3d0;
  color: var(--green);
  font-weight: 600;
}
.nav-tool .nav-arrow {
  width: 13px;
  height: 13px;
  margin-left: auto;
  opacity: 0;
}
.nav-tool[aria-pressed="true"] .nav-arrow {
  opacity: 1;
}
.sidebar-footer {
  margin-top: auto;
  padding: 35px 11px 4px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #818b7a;
  white-space: nowrap;
}
.input-panel {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.input-heading {
  position: relative;
}
.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--green-pale);
  border: 1px solid #dce8d6;
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 18px;
}
.tool-icon .icon {
  width: 19px;
  height: 19px;
}
.input-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.1px;
  position: absolute;
  right: 0;
  top: 10px;
}
.input-heading h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 7px;
}
.input-heading p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}
.provider-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 24px;
}
.provider-chips span,
.protocol-tag {
  font-size: 9px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #7a8475;
  background: #fafbf9;
}
.tool-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
}
.tool-tabs:empty {
  display: none;
}
.tool-tabs button {
  font-size: 11px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: #fafbf9;
  border-radius: 6px;
  padding: 6px 10px;
}
.tool-tabs button[aria-pressed="true"] {
  border-color: #b5c9ab;
  background: var(--green-pale);
  color: var(--green);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  min-width: 0;
}
.field > label,
.field > legend {
  font-size: 11px;
  font-weight: 550;
  color: #465440;
}
.field label > span {
  color: var(--green);
  margin-left: 3px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dfe5da;
  border-radius: 7px;
  background: #fdfefb;
  color: var(--ink);
  padding: 10px 11px;
  min-height: 42px;
  font-size: 12px;
  transition: border-color 0.15s;
  min-width: 0;
}
.field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.7;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #969f90;
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: #b7c5ad;
}
.field .field-help {
  font-size: 10px;
  color: var(--muted);
  margin: -3px 0 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-row .field {
  margin-bottom: 18px;
}
.checkbox-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  font-size: 11px;
}
.checkbox-field input {
  width: 15px;
  height: 15px;
  min-height: 0;
  accent-color: var(--green);
}
fieldset.field {
  padding: 0;
  border: 0;
}
.multi-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.multi-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 5px 8px;
  min-height: 36px;
  border-radius: 5px;
}
.multi-options input {
  width: 13px;
  height: 13px;
  min-height: 0;
  accent-color: var(--green);
}
.field-caption {
  font-size: 10px;
  color: #818a79;
}
.example-section {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin: 6px 0 22px;
}
.example-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.example-list button {
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px 8px;
  min-height: 33px;
  border-radius: 5px;
  font-size: 10px;
  color: #697561;
}
.example-list button:hover {
  border-color: #b3c4a8;
  background: #f7faf4;
}
.example-list .icon {
  width: 11px;
  height: 11px;
}
.run-button {
  width: 100%;
  min-height: 43px;
  font-size: 12px;
  position: relative;
}
.run-button .icon {
  width: 16px;
  height: 16px;
}
.run-button kbd {
  position: absolute;
  right: 11px;
  border: 1px solid #ffffff30;
  padding: 0 4px;
  font-size: 11px;
  border-radius: 3px;
  color: #cbd7c8;
}
.run-button:disabled {
  background: #7e937d;
  border-color: #7e937d;
}
.run-note {
  font-size: 9px;
  color: #939c8b;
  text-align: center;
  margin: 9px 0 0;
}
.form-error {
  font-size: 11px;
  color: var(--danger);
  margin-bottom: 10px;
}
.output-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}
.output-toolbar {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}
.output-toolbar > div {
  display: flex;
  gap: 7px;
  align-items: center;
}
.output-toolbar h3 {
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  color: #66715f;
}
.output-toolbar > .mono {
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #8a9482;
}
.result-layout {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.result-main {
  min-width: 0;
  padding: 22px;
  overflow-wrap: anywhere;
}
.empty-result {
  min-height: 435px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  border: 1px solid #e3e9dd;
  border-radius: 19px;
  background: #f6f8f2;
  margin-bottom: 22px;
  box-shadow: 0 0 0 9px #fafbf8;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
  color: #829575;
}
.empty-result h4 {
  font-size: 15px;
  font-weight: 550;
  margin: 0 0 8px;
  color: #52634a;
}
.empty-result > p {
  font-size: 11px;
  color: #929b89;
  line-height: 1.9;
  margin: 0 0 24px;
}
.empty-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: #a0aa96;
  border: 1px dashed #e1e7da;
  padding: 8px 13px;
  border-radius: 5px;
}
.empty-flow .icon {
  width: 12px;
  height: 12px;
}
.unconfigured-note {
  font-size: 10px;
  color: #8b7960;
  background: #fbf8ef;
  border: 1px solid #ece6d6;
  padding: 10px 12px;
  border-radius: 6px;
  text-align: left;
  max-width: 340px;
  margin-top: 23px;
}
.spinner {
  width: 21px;
  height: 21px;
  border: 2px solid #d5e1cd;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  display: block;
  margin-bottom: 18px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.result-heading strong {
  font-weight: 550;
  color: var(--ink);
}
.result-badge {
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
  color: #77886c;
}
.search-result {
  padding: 17px 0;
  border-bottom: 1px solid #edf0e8;
}
.search-result:first-of-type {
  padding-top: 0;
}
.source-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #8b9682;
  margin-bottom: 7px;
}
.source-index {
  display: grid;
  place-items: center;
  background: #eef3e8;
  width: 17px;
  height: 17px;
  font-family: var(--mono);
  font-size: 8px;
  border-radius: 4px;
  color: #7b8e6b;
}
.search-title {
  display: block;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
  color: #335c31;
  margin-bottom: 6px;
}
.search-title:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.search-snippet {
  font-size: 11px;
  color: #7c8773;
  line-height: 1.9;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.read-button,
.text-button {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 10px;
  color: var(--green);
}
.read-button .icon,
.text-button .icon {
  width: 12px;
  height: 12px;
}
.read-button:hover,
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-actions > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #939d8b;
  min-height: 32px;
}
.search-actions > a .icon {
  width: 10px;
  height: 10px;
}
.call-details {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.call-details summary {
  cursor: pointer;
  font-size: 10px;
  color: #78866c;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.call-details summary:before {
  content: "+";
  font-family: var(--mono);
  font-size: 13px;
}
.call-details[open] summary:before {
  content: "−";
}
.call-details pre,
.raw-content {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f7f1;
  border: 1px solid #e8ecdf;
  border-radius: 6px;
  padding: 14px;
  max-height: 370px;
  overflow: auto;
  color: #5f7055;
}
.call-details .text-button {
  margin-left: auto;
}
.call-caption {
  font-family: var(--mono);
  font-size: 9px;
  color: #839178;
  letter-spacing: 1px;
  margin: 14px 0 6px;
}
.reader-panel {
  border-left: 1px solid var(--line);
  min-width: 0;
  background: #fcfdf9;
}
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.reader-toolbar > div {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--green);
}
.reader-toolbar .icon {
  width: 15px;
  height: 15px;
}
.reader-toolbar h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #7a8770;
}
.icon-button:hover {
  background: var(--green-pale);
  border-color: #dbe4d1;
}
#reader-content {
  padding: 20px;
  overflow-wrap: anywhere;
}
.workspace.reading {
  grid-template-columns: 185px minmax(0, 1fr);
}
.workspace.reading .input-panel {
  display: none;
}
.result-layout.has-reader {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.25fr);
}
.result-layout.has-reader .result-main {
  max-height: 790px;
  overflow: auto;
}
.result-layout.has-reader #reader-content {
  max-height: 730px;
  overflow: auto;
}
.article-title {
  font-size: 21px;
  letter-spacing: -0.5px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 9px;
}
.article-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-actions > a {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
}
.article-actions .icon {
  width: 12px;
  height: 12px;
}
.markdown {
  font-size: 13px;
  line-height: 1.95;
  color: #58614f;
}
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4 {
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 600;
  margin: 24px 0 12px;
}
.markdown h1 {
  font-size: 24px;
}
.markdown h2 {
  font-size: 20px;
}
.markdown h3 {
  font-size: 16px;
}
.markdown h4 {
  font-size: 14px;
}
.markdown p {
  margin: 0 0 15px;
}
.markdown a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.markdown pre {
  background: #eef2e8;
  padding: 13px;
  border-radius: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.markdown code {
  font-family: var(--mono);
  background: #eef2e8;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.9em;
}
.markdown pre code {
  padding: 0;
}
.markdown ul,
.markdown ol {
  padding-left: 24px;
}
.markdown blockquote {
  border-left: 3px solid #bdcfae;
  margin: 16px 0;
  padding: 5px 16px;
  background: #f0f4e9;
}
.markdown table {
  border-collapse: collapse;
  font-size: 11px;
  display: block;
  overflow: auto;
  max-width: 100%;
}
.markdown td,
.markdown th {
  padding: 8px;
  border: 1px solid #dce5d2;
}
.markdown hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.error-box {
  background: #fdf7f0;
  border: 1px solid #ecdccc;
  border-radius: 9px;
  padding: 20px;
  color: #916349;
  margin-bottom: 18px;
}
.error-box h4 {
  font-size: 14px;
  margin: 0 0 7px;
}
.error-box p {
  font-size: 12px;
  margin: 0;
  line-height: 1.8;
}
.error-code {
  font-size: 9px;
  font-family: var(--mono);
  opacity: 0.75;
  margin-top: 12px;
}
.notice {
  padding: 10px 12px;
  background: #f3f6eb;
  border: 1px solid #e2e9d5;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.8;
  color: #778665;
  margin: 13px 0;
}
.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  margin: 12px 0;
  background: #fdfefb;
}
.result-card h4 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 7px;
}
.result-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}
.result-card .text-link {
  font-size: 10px;
  margin-top: 9px;
}
.result-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f3;
}
.image-caption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.weather-days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.weather-day {
  padding: 15px 12px;
  text-align: center;
  background: #f4f7ed;
  border: 1px solid #e5ecda;
  border-radius: 8px;
}
.weather-day p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 9px;
}
.weather-day strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  color: var(--green);
}
.weather-day span {
  display: block;
  font-size: 11px;
  margin-top: 7px;
  color: #819071;
}
.weather-city {
  font-size: 19px;
  font-weight: 550;
  margin-bottom: 18px;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  margin-top: 20px;
}
.hourly-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  white-space: nowrap;
}
.hourly-table th,
.hourly-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 9px;
  font-weight: 400;
}
.hourly-table th {
  color: var(--muted);
}
.journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.journey > div:last-child {
  text-align: right;
}
.journey strong {
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 500;
  color: var(--green);
}
.journey span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.journey-line {
  text-align: center;
  color: #98a78a;
  font-size: 10px;
}
.journey-line:after {
  content: "";
  height: 1px;
  display: block;
  background: var(--line);
  min-width: 56px;
  margin: 6px 0;
}
.price {
  font-family: var(--mono);
  font-size: 17px;
  color: var(--green);
  text-align: right;
}
.result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.workspace-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #8b9681;
  margin: 14px 0 0;
}
.workspace-footnote .icon {
  width: 12px;
  height: 12px;
}
.integrations-section {
  padding: 76px 0 64px;
}
.section-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5d9;
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
  max-width: 320px;
  width: 100%;
  color: #8f9985;
}
.catalog-search .icon {
  width: 14px;
  height: 14px;
}
.catalog-search input {
  border: 0;
  background: transparent;
  min-height: 40px;
  width: 100%;
  font-size: 11px;
  color: var(--ink);
  min-width: 0;
}
.catalog-search input::placeholder {
  color: #939d89;
}
.catalog-search:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.catalog-search input:focus-visible {
  outline: none;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.integration-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  text-align: left;
  min-height: 222px;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.integration-card:hover {
  transform: translateY(-3px);
  border-color: #becfb1;
  box-shadow: 0 8px 18px #354e2110;
}
.integration-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}
.integration-card .tool-icon {
  margin: 0;
  width: 33px;
  height: 33px;
  border-radius: 9px;
}
.integration-card .card-number {
  font-family: var(--mono);
  font-size: 9px;
  color: #a0aa94;
}
.integration-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.integration-card > p {
  font-size: 11px;
  line-height: 1.9;
  color: #8a9580;
  flex: 1;
  margin-bottom: 16px;
}
.integration-card .card-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.card-bottom .providers {
  font-size: 9px;
  color: #8f9a84;
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-bottom > .icon {
  width: 14px;
  height: 14px;
  color: #839c70;
}
.connect-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 37px 44px;
  background: #edf2e6;
  border: 1px solid #dfe7d6;
  border-radius: 16px;
  margin-bottom: 65px;
}
.connect-section h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.connect-section > div > p:not(.eyebrow) {
  font-size: 12px;
  color: #7a886d;
  line-height: 1.9;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 12px;
  min-height: 36px;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.connect-code {
  padding: 18px 21px;
  background: #25382b;
  border: 1px solid #344a34;
  border-radius: 10px;
  color: #c8d7ba;
  box-shadow: 0 5px 20px #243b1e10;
}
.connect-code > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #94aa83;
  border-bottom: 1px solid #40523a;
  padding-bottom: 12px;
}
.code-dot {
  display: block;
  width: 5px;
  height: 5px;
  background: #a6c383;
  border-radius: 50%;
}
.connect-code pre {
  font: 10px/1.8 var(--mono);
  margin: 15px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.connect-code > p {
  font-size: 9px !important;
  color: #91a37f !important;
  margin: 10px 0 0 !important;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1336px;
  margin: auto;
  padding: 25px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-brand span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #939c8a;
}
footer > .mono {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a0a893;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 20px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px #183a2820;
  font-size: 12px;
  z-index: 20;
}
.noscript {
  padding: 30px;
  text-align: center;
}
.empty-catalog {
  grid-column: 1/-1;
  text-align: center;
  padding: 32px;
  color: var(--muted);
  font-size: 13px;
}
.spin-icon {
  animation: spin 0.85s linear infinite;
}
@media (min-width: 1500px) {
  .workspace {
    grid-template-columns: 205px 320px minmax(0, 1fr);
  }
  .workspace.reading {
    grid-template-columns: 205px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  .site-header {
    padding: 0 30px;
  }
  main {
    padding: 0 30px;
  }
  .hero {
    gap: 40px;
    padding: 58px 0;
  }
  .workspace {
    grid-template-columns: 158px 265px minmax(0, 1fr);
  }
  .input-panel {
    padding: 23px 18px;
  }
  .nav-tool {
    font-size: 11px;
    gap: 8px;
  }
  .sidebar-footer {
    font-size: 8px;
  }
  .integration-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .integration-card {
    padding: 18px 15px;
  }
  .workspace.reading {
    grid-template-columns: 158px minmax(0, 1fr);
  }
  .result-layout.has-reader {
    grid-template-columns: minmax(220px, 0.8fr) minmax(290px, 1fr);
  }
  footer {
    margin: 0 30px;
  }
  .connect-section {
    padding: 30px;
    gap: 35px;
  }
  .brand-label {
    display: none;
  }
  .result-main {
    padding: 18px;
  }
  .output-toolbar {
    padding: 0 17px;
  }
  .output-toolbar > .mono {
    letter-spacing: 0;
    font-size: 7px;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 28px;
  }
  .hero-visual {
    padding: 20px;
    min-height: 280px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-description {
    font-size: 13px;
  }
  .visual-top .mono {
    font-size: 8px;
  }
  .visual-bottom {
    font-size: 9px;
  }
  .network {
    height: 182px;
    gap: 8px;
  }
  .network-node {
    padding: 8px;
    font-size: 10px;
  }
  .network-center svg {
    width: 59px;
    height: 59px;
    padding: 15px;
  }
  .network-center span {
    font-size: 8px;
  }
  .workspace {
    grid-template-columns: 265px minmax(0, 1fr);
  }
  .tool-sidebar {
    grid-column: 1/-1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px;
    display: block;
    overflow: auto;
  }
  .sidebar-title,
  .sidebar-footer {
    display: none;
  }
  .tool-navigation {
    flex-direction: row;
    width: max-content;
    gap: 4px;
  }
  .nav-tool {
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    gap: 7px;
    white-space: nowrap;
  }
  .nav-arrow {
    display: none;
  }
  .workspace.reading {
    grid-template-columns: minmax(0, 1fr);
  }
  .result-layout.has-reader {
    grid-template-columns: minmax(220px, 0.8fr) minmax(290px, 1fr);
  }
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integration-card {
    min-height: 200px;
    padding: 22px;
  }
  .connect-section {
    gap: 26px;
  }
  .connect-section h2 {
    font-size: 23px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 15px;
  }
  .site-header {
    height: 74px;
    padding: 0 20px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .brand-mark svg {
    width: 20px;
    height: 20px;
  }
  .site-header nav {
    display: none;
  }
  .github-link {
    font-size: 11px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 39px 0 42px;
    gap: 31px;
  }
  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
    line-height: 1.25;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 20px;
  }
  .hero-visual {
    min-height: 228px;
    border-radius: 16px;
    padding: 18px 20px;
  }
  .network {
    height: 143px;
    max-width: 300px;
  }
  .network-node {
    max-width: 87px;
    min-height: 35px;
  }
  .network-node:nth-child(2),
  .network-node:nth-child(5) {
    justify-self: end;
  }
  .network-center svg {
    width: 54px;
    height: 54px;
    padding: 14px;
    border-radius: 14px;
  }
  .visual-bottom {
    padding-top: 12px;
    font-size: 9px;
  }
  .visual-top .mono {
    font-size: 8px;
  }
  .visual-star {
    font-size: 22px;
  }
  .section-heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 21px;
    letter-spacing: -0.6px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
  }
  .connection-status {
    font-size: 9px;
    padding: 4px 7px;
    gap: 5px;
    white-space: nowrap;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    min-height: 0;
  }
  .tool-sidebar {
    width: 100%;
    padding: 7px;
  }
  .nav-tool {
    min-height: 40px;
    font-size: 11px;
    padding: 8px 10px;
  }
  .nav-tool .icon {
    width: 15px;
    height: 15px;
  }
  .input-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
  }
  .input-heading h3 {
    font-size: 19px;
  }
  .input-heading .eyebrow {
    top: 7px;
  }
  .input-heading p:not(.eyebrow) {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .tool-icon {
    margin-bottom: 13px;
  }
  .provider-chips {
    margin-bottom: 20px;
  }
  .field textarea {
    min-height: 90px;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    min-height: 46px;
  }
  .field > label,
  .field > legend {
    font-size: 12px;
  }
  .field-row {
    gap: 10px;
  }
  .example-section {
    margin-bottom: 18px;
    padding-top: 14px;
  }
  .example-list button {
    min-height: 38px;
    font-size: 11px;
  }
  .run-button {
    min-height: 46px;
    font-size: 13px;
  }
  .run-note {
    font-size: 10px;
  }
  .output-toolbar {
    min-height: 50px;
    padding: 0 20px;
  }
  .output-toolbar > .mono {
    font-size: 8px;
  }
  .output-panel {
    min-height: 360px;
  }
  .result-main {
    padding: 20px;
  }
  .empty-result {
    min-height: 300px;
  }
  .empty-result h4 {
    font-size: 15px;
  }
  .empty-result > p {
    font-size: 12px;
  }
  .empty-flow {
    font-size: 10px;
    gap: 8px;
  }
  .workspace-footnote {
    font-size: 9px;
    align-items: flex-start;
    text-align: center;
    padding: 0 8px;
  }
  .workspace-footnote .icon {
    margin-top: 2px;
  }
  .result-layout.has-reader {
    grid-template-columns: 1fr;
  }
  .reader-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .result-layout.has-reader .result-main {
    max-height: 470px;
  }
  .result-layout.has-reader #reader-content {
    max-height: none;
  }
  .reader-toolbar {
    position: sticky;
    top: 0;
    background: #f7faf2;
    z-index: 2;
  }
  .reader-toolbar h3 {
    font-size: 13px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .search-title {
    font-size: 16px;
  }
  .search-snippet {
    font-size: 12px;
  }
  .source-line {
    font-size: 10px;
  }
  .read-button {
    font-size: 12px;
    min-height: 44px;
  }
  .search-actions > a {
    font-size: 11px;
    min-height: 44px;
  }
  .search-actions {
    gap: 20px;
  }
  .search-result {
    padding: 20px 0;
  }
  .markdown {
    font-size: 14px;
  }
  .call-details summary {
    min-height: 44px;
    font-size: 11px;
  }
  .call-details pre {
    font-size: 11px;
  }
  .article-actions .text-button,
  .article-actions > a {
    font-size: 12px;
    min-height: 44px;
  }
  .integrations-section {
    padding: 50px 0 40px;
  }
  .section-description {
    display: none;
  }
  .catalog-controls {
    margin-top: 20px;
  }
  .catalog-search {
    max-width: 235px;
  }
  .catalog-search input {
    font-size: 16px;
    min-height: 44px;
  }
  .catalog-count,
  .catalog-controls > .field-caption {
    white-space: nowrap;
    font-size: 9px;
  }
  .integration-grid {
    gap: 10px;
  }
  .integration-card {
    padding: 18px 14px;
    min-height: 220px;
  }
  .integration-card .card-top {
    margin-bottom: 16px;
  }
  .integration-card h3 {
    font-size: 13px;
  }
  .integration-card > p {
    font-size: 11px;
  }
  .card-bottom .providers {
    font-size: 8px;
    max-width: 84%;
  }
  .connect-section {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 22px;
    border-radius: 12px;
    margin-bottom: 39px;
  }
  .connect-section h2 {
    font-size: 24px;
  }
  .connect-section .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .connect-section > div > p:not(.eyebrow) {
    font-size: 12px;
  }
  .connect-code {
    padding: 16px;
  }
  .connect-code pre {
    font-size: 10px;
  }
  .connect-code > div {
    font-size: 8px;
  }
  footer {
    margin: 0 20px;
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .footer-brand span {
    font-size: 10px;
  }
  footer > .mono {
    font-size: 8px;
  }
  .weather-day strong {
    font-size: 23px;
  }
  .result-card p {
    font-size: 12px;
  }
  .journey strong {
    font-size: 22px;
  }
  .journey {
    gap: 9px;
  }
  .result-heading {
    font-size: 12px;
  }
  .notice {
    font-size: 11px;
  }
  .text-button {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 细小文字仍保持可读对比，触屏上的常用操作保留足够点击面积。 */
.eyebrow,
.field-caption,
.source-line,
.search-snippet,
.card-bottom .providers,
.integration-card > p,
.run-note,
.workspace-footnote,
.footer-brand span,
.output-toolbar > .mono,
.sidebar-footer,
.search-actions > a,
.result-badge,
.image-caption,
.empty-result > p,
.empty-flow,
.provider-chips span,
.protocol-tag,
.visual-bottom,
.visual-top .mono,
.call-caption,
.catalog-controls > .field-caption {
  color: #64705d;
}
.search-snippet {
  font-size: 12px;
}
.integration-card > p {
  font-size: 12px;
}
.field > label,
.field > legend {
  font-size: 12px;
}
.protocol-tags {
  display: flex;
  gap: 5px;
  margin: 0 0 11px;
}
.protocol-tag {
  font-family: var(--mono);
  font-size: 8px;
}
.visual-star .icon {
  width: 23px;
  height: 23px;
}
@media (max-width: 640px) {
  .example-list button,
  .tool-tabs button,
  .nav-tool {
    min-height: 44px;
  }
  .catalog-controls > .field-caption {
    font-size: 9px;
  }
}
