/* Generated by node bin/build-ui.mjs. Edit the named source stylesheets. */
/* tokens.css */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #fff;
  --subtle: #f7f9f8;
  --hover: #eef3f0;
  --ink: #202124;
  --secondary: #4b4f58;
  --muted: #686d76;
  --placeholder: #737883;
  --line: #e3e9e6;
  --input-line: #c9cdd4;
  --accent: #127442;
  --accent-soft: #eaf7ef;
  --plan-day: #26706d;
  --plan-day-soft: #edf8f6;
  --plan-week: #285fa5;
  --plan-week-soft: #eef5fe;
  --plan-month: #674da1;
  --plan-month-soft: #f5f0fd;
  --plan-permanent: #127442;
  --plan-permanent-soft: #eaf7ef;
  --focus: #18854c;
  --home-stage: #edf7f0;
  --auth-panel: #f1f8f4;
  --auth-line: #d9e9df;
  --hero-title-start: #116835;
  --hero-title-middle: #16814c;
  --hero-title-end: #267679;
  --home-nav: #f9fbfa;
  --home-band: #f0faf4;
  --home-result: #f5fcf7;
  --home-result-line: #d6eadd;
  --home-shadow: 0 12px 36px #173d2510, 0 2px 6px #173d2508;
  --code-line: #ffffff18;
  --code-action: #78d8a1;
  --docs-code-bg: #10151d;
  --docs-code-ink: #f4f7fb;
  --docs-code-muted: #c8d2df;
  --docs-syntax-key: #f4f7fb;
  --docs-syntax-string: #b3e1ff;
  --docs-syntax-keyword: #e3c7ff;
  --docs-syntax-number: #ffdf9c;
  --brand-gold: #86652f;
  --brand-line: #c8aa70;
  --syntax-key: #e2e5eb;
  --syntax-string: #a9c8ef;
  --syntax-keyword: #c7b9ee;
  --syntax-number: #dfc08c;
  --code-active: #c8aa70;
  --scrim: #11121680;
  --drawer-scrim: #11121690;
  --button: #16834a;
  --button-hover: #106b3b;
  --button-text: #fff;
  --green: #27603c;
  --green-soft: #eaf4ed;
  --red: #a73c35;
  --red-soft: #fceeea;
  --toast-bg: #146c43;
  --toast-ink: #ffffff;
  --toast-line: #0c5132;
  --toast-error-bg: #b42318;
  --toast-error-ink: #ffffff;
  --toast-error-line: #881b12;
  --amber: #895812;
  --amber-soft: #faf1dd;
  --code-bg: #191b20;
  --code-ink: #e2e5eb;
  --code-muted: #a5abb6;
  --ring: 0 0 0 1px #00000012, 0 1px 2px #00000006;
  --ring-hover: 0 0 0 1px #00000024, 0 1px 3px #00000008;
  --button-shadow: inset 0 1px 0 #ffffff12, 0 1px 2px #00000016;
  --floating: 0 0 0 1px #00000012, 0 6px 14px #00000008, 0 22px 55px #00000012;
  --purple: var(--accent);
  --purple-soft: var(--accent-soft);
  --shadow: var(--ring);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111214;
  --surface: #1b1c20;
  --subtle: #222328;
  --hover: #2d2f35;
  --ink: #ededef;
  --secondary: #c5c7cd;
  --muted: #9ea2ad;
  --placeholder: #9096a2;
  --line: #32343b;
  --input-line: #4a4e58;
  --accent: #64d99a;
  --accent-soft: #20382b;
  --plan-day: #86cec5;
  --plan-day-soft: #203332;
  --plan-week: #9bc3fa;
  --plan-week-soft: #223047;
  --plan-month: #c4b0f0;
  --plan-month-soft: #30283e;
  --plan-permanent: #64d99a;
  --plan-permanent-soft: #20382b;
  --focus: #64d99a;
  --home-stage: #222529;
  --auth-panel: #202226;
  --auth-line: #363b40;
  --hero-title-start: #78e4a6;
  --hero-title-middle: #58d6aa;
  --hero-title-end: #82dfe1;
  --home-nav: #181a1e;
  --home-band: #17191d;
  --home-result: #202e26;
  --home-result-line: #314b3b;
  --home-shadow: 0 12px 36px #00000030, 0 2px 6px #00000020;
  --brand-gold: #ccb17c;
  --brand-line: #8e774e;
  --button: #36c77d;
  --button-hover: #5cd994;
  --button-text: #082b19;
  --green: #9accad;
  --green-soft: #24372b;
  --red: #f0aaa1;
  --red-soft: #3e2825;
  --toast-bg: #17452e;
  --toast-ink: #e5fff0;
  --toast-line: #55b886;
  --toast-error-bg: #5a2424;
  --toast-error-ink: #fff0ee;
  --toast-error-line: #e4877c;
  --amber: #e6c18a;
  --amber-soft: #3b3222;
  --code-bg: #141519;
  --code-ink: #e2e5eb;
  --code-muted: #a5abb6;
  --ring: 0 0 0 1px #ffffff14;
  --ring-hover: 0 0 0 1px #ffffff26;
  --button-shadow: inset 0 1px 0 #ffffff1a, 0 1px 2px #00000020;
  --floating: 0 0 0 1px #ffffff18, 0 6px 18px #00000030, 0 22px 55px #00000040;
}

/* primitives.css */
/* Shared controls, surfaces and feedback. Colors are defined in tokens.css. */
* {
  box-sizing: border-box;
}
html {
  font-family:
    "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  scroll-padding-top: 0;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -1.2px;
  line-height: 1.4;
  margin-bottom: 10px;
}
h2 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  line-height: 1.85;
  text-wrap: pretty;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.7;
}
code,
pre,
.mono {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}
strong {
  font-weight: 600;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 9px 16px;
  background: var(--button);
  color: var(--button-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: var(--button-shadow);
  transition:
    background-color 130ms,
    color 130ms,
    box-shadow 130ms,
    scale 130ms;
}
.btn:hover {
  background: var(--button-hover);
}
.btn:active:not(:disabled) {
  scale: 0.96;
}
.btn.light,
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--ring);
}
.btn.light:hover,
.btn.ghost:hover {
  background: var(--hover);
  box-shadow: var(--ring-hover);
}
.btn.danger {
  background: var(--red-soft);
  color: var(--red);
  box-shadow: none;
}
.btn.danger:hover {
  box-shadow: 0 0 0 1px var(--red);
}
.btn.small {
  font-size: 12px;
  min-height: 40px;
  padding: 7px 12px;
}
.btn.full {
  width: 100%;
}
.btn .icon {
  stroke-width: 2;
}
.btn[aria-busy="true"]:before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.btn[aria-busy="true"] > .icon {
  display: none;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 9px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 130ms;
  box-shadow: 0 1px 2px #00000003;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}
textarea {
  resize: vertical;
  line-height: 1.85;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--accent);
  padding: 0;
  flex-shrink: 0;
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 400;
  margin: 0;
}
input[aria-invalid="true"] {
  border-color: var(--red);
}
.field {
  margin-bottom: 22px;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-right: 46px;
}
.password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 6px;
}
.password-toggle[aria-pressed="true"],
.password-toggle:hover {
  color: var(--ink);
  background: var(--hover);
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 9px 0 0;
}
.form-error {
  padding: 12px 14px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  color: var(--red);
  line-height: 1.75;
  margin: 0 0 18px;
  border-radius: 3px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.field-error {
  font-size: 12px;
  color: var(--red);
  margin: 7px 0 0;
}
.field-error:empty {
  display: none;
}
.card {
  background: var(--surface);
  padding: 26px;
  border-radius: 10px;
  box-shadow: var(--ring);
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.card-head h2 {
  margin: 0;
}
.card-head > .muted {
  font-size: 12px;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.main-side {
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.space {
  margin-top: 24px;
}
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inline input {
  min-width: 0;
  flex: 1;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.eyebrow {
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  background: var(--hover);
  color: var(--muted);
  white-space: nowrap;
}
.pill:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pill.green {
  background: var(--green-soft);
  color: var(--green);
}
.pill.red {
  background: var(--red-soft);
  color: var(--red);
}
.pill.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.pill.purple {
  background: var(--accent-soft);
  color: var(--accent);
}
.note {
  font-size: 13px;
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 14px 16px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.note.warning {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: var(--amber);
}
.note.error {
  background: var(--red-soft);
  color: var(--red);
  border-color: var(--red);
}
.note.success {
  background: var(--green-soft);
  color: var(--green);
  border-color: var(--green);
}
.note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}
.notice-strip {
  margin-bottom: 24px;
}
.table-wrap {
  overflow: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  background: var(--subtle);
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
}
tbody tr {
  transition: background-color 100ms;
}
tbody tr:hover {
  background: var(--subtle);
}
tr:last-child td {
  border-bottom: 0;
}
.strong {
  font-weight: 600;
  color: var(--ink);
}
.table-actions {
  display: flex;
  gap: 8px;
}
.table-detail {
  max-width: 270px;
  white-space: normal;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.table-check {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
}
.table-check input {
  cursor: pointer;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pagination-end {
  padding: 8px 0;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
}
.empty > .icon {
  width: 28px;
  height: 28px;
  color: var(--muted);
  margin-bottom: 16px;
}
.empty p {
  font-size: 13px;
  margin: 0;
}
.empty a {
  display: inline-flex;
  margin-top: 16px;
}
.meta-list {
  display: grid;
  gap: 18px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.meta-list > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.meta-list span {
  color: var(--muted);
}
.meta-list strong {
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
  min-width: 0;
}
.code {
  padding: 22px;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.9;
}
.code.light {
  background: var(--subtle);
  color: var(--secondary);
  border: 1px solid var(--line);
}
.token-value {
  word-break: break-all;
}
.theme-control {
  display: inline-flex;
  align-items: center;
  background: var(--subtle);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 3px;
  border-radius: 8px;
  flex-shrink: 0;
}
.theme-control button {
  width: 40px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--muted);
  transition:
    background-color 120ms,
    color 120ms,
    box-shadow 120ms;
}
.theme-control button .icon {
  width: 16px;
  height: 16px;
}
.theme-control button:hover {
  color: var(--ink);
}
.theme-control button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--ring);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--button);
  color: var(--button-text);
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nowrap {
  white-space: nowrap;
}
.layout-space {
  margin-bottom: 24px;
}
.section-title {
  margin: 32px 0 20px;
}
#toasts {
  position: fixed;
  inset: auto;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: grid;
  gap: 10px;
  justify-items: center;
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 52px;
  padding: 4px 4px 4px 16px;
  background: var(--toast-bg);
  color: var(--toast-ink);
  box-shadow: var(--floating);
  border-radius: 12px;
  border: 1px solid var(--toast-line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
  pointer-events: auto;
}
.toast.error {
  background: var(--toast-error-bg);
  color: var(--toast-error-ink);
  border-color: var(--toast-error-line);
}
.toast-message {
  min-width: 0;
  padding-block: 8px;
}
.toast-icon {
  flex: 0 0 22px;
  text-align: center;
  font-size: 18px;
}
.toast-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.toast-close:hover {
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.toast-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
@media (forced-colors: active) {
  .toast {
    border: 2px solid CanvasText;
  }
}
dialog {
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  width: min(560px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--floating);
}
dialog::backdrop {
  background: var(--scrim);
  backdrop-filter: blur(2px);
}
dialog[data-kind="logout"],
dialog[data-kind="announcement-mutation"] {
  inset: 0;
  margin: auto;
  width: min(440px, calc(100vw - 32px));
}
dialog[data-kind="logout"]::backdrop,
dialog[data-kind="announcement-mutation"]::backdrop {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog[data-kind="logout"] .actions,
dialog[data-kind="announcement-mutation"] .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
dialog[data-kind="announcement-mutation"] p {
  overflow-wrap: anywhere;
}
dialog h2 {
  padding-right: 35px;
  font-size: 20px;
}
dialog .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--subtle);
  font-size: 23px;
  color: var(--muted);
}
dialog form {
  margin-top: 24px;
}
dialog pre {
  max-height: 300px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.initial {
  height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  color: var(--muted);
}
.initial img {
  width: 40px;
  height: 40px;
}
.error-page {
  max-width: 700px;
  padding: 70px 28px;
  margin: auto;
}
.loading {
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.spin {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-label {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .grid.main-side {
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
  }
}
@media (max-width: 950px) {
  .grid.two,
  .grid.main-side {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .btn,
  .btn.small {
    min-height: 44px;
  }
  .theme-control button {
    width: 40px;
    height: 40px;
  }
  .password-toggle {
    height: 44px;
    width: 44px;
  }
  .card {
    padding: 20px;
  }
  .card-head {
    gap: 12px;
    flex-wrap: wrap;
  }
  .grid {
    gap: 18px;
  }
  .inline.wrap-mobile {
    flex-wrap: wrap;
  }
  .inline.wrap-mobile .btn {
    width: 100%;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .actions {
    flex-wrap: wrap;
  }
  .table-wrap {
    margin: 0 -5px;
  }
  .table-detail {
    min-width: 180px;
  }
  .table-check {
    width: 44px;
    height: 44px;
  }
  .code {
    font-size: 12px;
  }
  dialog {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .btn:active:not(:disabled) {
    scale: 1;
  }
}
/* Links in running text remain recognizable without color. */
.auth-bottom a,
p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pill {
  color: var(--secondary);
}
.theme-control button {
  height: 40px;
}
.batch-id {
  font:
    11px Consolas,
    monospace;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  padding: 0;
}
.batch-id:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.nav-open {
  overflow: hidden;
}
@media (max-width: 760px) {
  .theme-control button,
  .docs-header .theme-control button,
  .public-header .theme-control button {
    width: 44px;
    height: 44px;
  }
  .batch-id {
    min-height: 44px;
  }
}

/* layout.css */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand img,
.showcase-bar img,
.initial img {
  border-radius: 7px;
  object-fit: cover;
}
.brand strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.2px;
}
.brand small {
  display: block;
  font:
    10px/1.5 Consolas,
    monospace;
  letter-spacing: 1.1px;
  margin-top: 2px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  padding: 26px 16px 16px;
  background: var(--subtle);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.sidebar .brand {
  padding: 0 10px 28px;
}
.nav-label {
  margin: 22px 12px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 41px;
  padding: 9px 12px;
  margin: 2px 0;
  color: var(--secondary);
  border-radius: 6px;
  font-size: 13px;
  transition:
    background-color 120ms,
    color 120ms;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  background: var(--hover);
  color: var(--ink);
}
.nav-item.active {
  background: var(--surface);
  box-shadow: var(--ring);
  color: var(--ink);
  font-weight: 600;
}
.nav-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 2px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 28px 10px 4px;
}
.sidebar-foot p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.main-wrap {
  margin-left: 224px;
  min-width: 0;
}
.topbar {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 30;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--secondary);
  min-width: 0;
}
.crumb-home {
  color: var(--muted);
}
.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.username {
  font-size: 12px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  font:
    12px Consolas,
    monospace;
}
.page {
  padding: 34px 36px 44px;
  max-width: 1450px;
  margin: auto;
  min-height: calc(100dvh - 126px);
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}
.page-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}
.page-head > .btn {
  margin-top: 6px;
}
.page-head > div {
  min-width: 0;
}
.page-head h1 {
  overflow-wrap: anywhere;
}
.footer {
  padding: 19px 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.mobile-toggle,
.nav-close,
.nav-scrim {
  display: none;
}
.public-header {
  max-width: 1560px;
  margin: auto;
  padding: 22px clamp(24px, 3vw, 40px);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.public-header .brand img {
  width: 38px;
  height: 38px;
}
.public-header .brand strong {
  font-size: 18px;
}
.public-header .brand small {
  font-size: 11px;
}
.public-header .theme-control button {
  width: 44px;
  height: 44px;
}
.public-header .btn {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 15px;
}
.public-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}
.site-nav-toggle,
.site-theme > span {
  display: none;
}
.site-theme {
  display: flex;
  align-items: center;
}
.public-nav > a:not(.btn) {
  color: var(--secondary);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.public-nav > a:not(.btn):hover {
  color: var(--ink);
}
.public-section {
  max-width: 1560px;
  padding: 0 clamp(24px, 3vw, 40px);
  margin: 48px auto 64px;
}
.public-section .page-head h1 {
  font-size: clamp(30px, 2.4vw, 38px);
}
.public-section .page-head p {
  font-size: 15px;
}
.public-section .plan-grid {
  gap: 24px;
}
.public-section .plan {
  padding: 30px;
}
.public-section .plan h3 {
  font-size: 22px;
}
.public-section .plan .price {
  font-size: 36px;
}
.public-section .plan .features {
  font-size: 15px;
}
.public-section .plan .btn {
  min-height: 46px;
  font-size: 14px;
}
.public-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  max-width: 1240px;
  margin: 64px auto 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.public-footer nav {
  display: flex;
  gap: 24px;
}
.public-footer a {
  color: var(--muted);
}
.statusline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
}
@media (min-width: 1700px) {
  .page {
    padding-top: 44px;
  }
  .topbar {
    padding-inline: 48px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 202px;
    padding-inline: 12px;
  }
  .main-wrap {
    margin-left: 202px;
  }
  .page {
    padding: 28px;
  }
  .topbar {
    padding-inline: 28px;
  }
  .public-nav {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: min(290px, 85vw);
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 180ms ease-out,
      visibility 180ms;
    z-index: 60;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .main-wrap {
    margin-left: 0;
  }
  .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 24px;
    color: var(--muted);
  }
  .nav-scrim:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--drawer-scrim);
    z-index: 55;
    cursor: pointer;
  }
  .mobile-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    border-radius: 6px;
  }
  .topbar {
    padding: 0 14px;
    height: 62px;
    gap: 9px;
  }
  .top-right {
    gap: 8px;
  }
  .top-right .username,
  .crumb-home {
    display: none;
  }
  .top-right .theme-control {
    display: none;
  }
  .page {
    padding: 26px 20px 36px;
  }
  .page-head {
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 26px;
  }
  .page-head h1 {
    font-size: 26px;
  }
  .page-head > .btn {
    margin: 0;
  }
  .footer {
    padding: 22px 20px;
    flex-direction: column;
    font-size: 11px;
  }
  .public-header {
    padding: 12px 20px;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 0 8px;
  }
  .public-nav {
    display: none;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px;
  }
  [data-site-panel].is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  [data-site-panel] > a {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--subtle);
    color: var(--secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .site-theme {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 12px;
    padding-block: 8px 0;
  }
  .site-theme > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
  }
  .site-nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
  .site-nav-toggle[aria-expanded="true"] {
    color: var(--accent);
    background: var(--accent-soft);
  }
  .public-header .brand {
    gap: 8px;
    min-width: 0;
  }
  .public-header .brand small {
    font-size: 9px;
  }
  .public-header .brand img {
    width: 32px;
    height: 32px;
  }
  .public-header .brand strong {
    font-size: 15px;
  }
  .public-header .theme-control button {
    width: 44px;
  }
  .public-header .public-login {
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    font-size: 12px;
    padding-inline: 10px;
    white-space: nowrap;
  }
  .public-login > .icon {
    display: none;
  }
  .public-section {
    margin: 28px auto 40px;
    padding: 0 20px;
  }
  .public-footer {
    margin-top: 44px;
    padding: 24px 20px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .nav-item {
    min-height: 44px;
  }
  .sidebar-foot .theme-control button {
    width: 44px;
  }
  .sidebar-foot .theme-control {
    display: flex;
    justify-content: space-between;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .sidebar .brand {
    padding-bottom: 24px;
  }
}
@media (max-width: 360px) {
  .public-header {
    padding-inline: 16px;
  }
  .public-header .brand small {
    letter-spacing: 0.4px;
  }
}
main {
  scroll-margin-top: 90px;
}
@media (max-width: 760px) {
  .docs-content {
    scroll-margin-top: 185px;
  }
}

/* pages.css */
/* Product landing: editorial spacing and a real, labelled interface example. */
dialog[data-kind="payment"] {
  inset: 0;
  margin: auto;
  width: min(460px, calc(100vw - 32px));
  padding: clamp(20px, 4vw, 28px);
}
dialog[data-kind="payment"]::backdrop {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog[data-kind="payment"] .close {
  width: 44px;
  height: 44px;
}
.cashier {
  margin-top: 20px;
  min-width: 0;
}
.cashier-summary,
.cashier-expiry,
.cashier-instruction,
.cashier-result {
  text-align: center;
}
.cashier-summary > strong {
  font-size: 16px;
}
.cashier-summary .payment-amount {
  margin: 4px 0;
}
.cashier-qr {
  width: min(264px, 100%);
  aspect-ratio: 1;
  margin: 18px auto 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cashier-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.cashier-instruction {
  font-weight: 600;
  margin-bottom: 8px;
}
.cashier-mobile-hint {
  display: none;
  margin-bottom: 16px;
}
.cashier-expiry {
  margin-top: 16px;
  color: var(--secondary);
}
.cashier-expiry strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}
.cashier-order {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  overflow-wrap: anywhere;
  margin: 8px 0 18px;
}
.cashier-actions {
  display: grid;
  gap: 10px;
}
.cashier-actions .btn {
  min-height: 44px;
  white-space: normal;
  text-align: center;
}
.cashier [data-cashier-status] {
  margin-top: 12px;
}
.cashier-loading {
  display: grid;
  min-height: 230px;
  place-content: center;
  color: var(--secondary);
}
.cashier-result {
  padding: 24px 0;
}
.cashier-result-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
}
.cashier-result h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.cashier-result p {
  color: var(--secondary);
}
.cashier-resumed {
  margin-bottom: 16px;
  font-size: 13px;
}
.management-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.management-toolbar > span {
  color: var(--secondary);
  font-size: 13px;
}
.management-toolbar .actions {
  margin: 0;
  flex-wrap: wrap;
  gap: 8px;
}
.record-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin: 0;
}
.record-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
th.selection-cell,
td.selection-cell {
  width: 44px;
  padding: 4px;
}
.history-source {
  font-size: 12px;
}
@media (max-width: 760px) {
  .cashier-mobile-hint {
    display: block;
  }
  .management-toolbar .btn {
    min-height: 44px;
  }
}
.payment-settings {
  display: grid;
  gap: 20px;
}
.payment-settings .grid > *,
.payment-detail {
  min-width: 0;
}
.payment-settings fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.payment-settings legend {
  font-weight: 600;
  margin-bottom: 12px;
}
.payment-settings .meta-list strong,
.payment-detail .meta-list strong {
  overflow-wrap: anywhere;
}
.payment-settings textarea {
  font-family: var(--mono);
  font-size: 16px;
}
.payment-detail {
  max-width: 960px;
}
.payment-amount {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 16px 0 24px;
  font-variant-numeric: tabular-nums;
}
.announcement-list {
  display: grid;
  gap: 18px;
}
.announcement-meta,
.announcement-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.announcement-meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.announcement-card h2 {
  font-size: 21px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.announcement-card h2 a {
  color: var(--ink);
}
.announcement-card h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.announcement-summary {
  color: var(--secondary);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.announcement-reading {
  max-width: 960px;
}
.announcement-body,
.contact-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.9;
}
.announcement-reading textarea {
  min-height: 240px;
}
.hero {
  max-width: 1180px;
  margin: 76px auto 62px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 59px);
  letter-spacing: -2.6px;
  line-height: 1.25;
  font-weight: 600;
  margin: 22px 0 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--secondary);
}
.hero-copy > p {
  font-size: 15px;
  max-width: 400px;
  color: var(--secondary);
  line-height: 1.95;
  margin-bottom: 28px;
}
.hero-label {
  font:
    11px Consolas,
    monospace;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.hero-label:before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--brand-gold);
  background: transparent;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.hero-copy .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.hero-preview {
  position: relative;
  background: var(--surface);
  box-shadow: var(--floating);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.hero-preview:before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 58px;
  height: 2px;
  background: var(--brand-line);
  pointer-events: none;
}
.preview-toolbar .icon {
  color: var(--brand-gold);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 17px 20px;
  background: var(--subtle);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--secondary);
}
.preview-toolbar > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.preview-toolbar small {
  font:
    10px Consolas,
    monospace;
}
.preview-content {
  padding: 26px;
}
.preview-caption {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.preview-input {
  border: 1px solid var(--input-line);
  padding: 12px;
  border-radius: 6px;
  font:
    14px Consolas,
    monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary);
  margin-bottom: 22px;
}
.preview-input span {
  font-size: 11px;
  background: var(--subtle);
  padding: 3px 6px;
  border-radius: 3px;
}
.preview-result {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.preview-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 14px;
}
.preview-result p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.preview-bottom {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  background: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    11px Consolas,
    monospace;
  color: var(--muted);
}
.landing-facts {
  max-width: 1116px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.landing-facts > div {
  padding: 0 30px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.landing-facts > div:first-child {
  padding-left: 0;
}
.landing-facts > div:last-child {
  border: 0;
}
.landing-facts strong {
  font:
    26px/1.4 Consolas,
    monospace;
  font-weight: 400;
  letter-spacing: -1px;
}
.landing-facts span {
  font-size: 12px;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.45;
  margin: 0;
  max-width: 430px;
}
.section-heading p {
  font-size: 14px;
  max-width: 370px;
  color: var(--muted);
  margin: 0;
}
.capability-list {
  border-top: 1px solid var(--line);
}
.capability {
  display: grid;
  grid-template-columns: 50px 1fr 1.3fr 40px;
  align-items: start;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.capability > span {
  font:
    12px Consolas,
    monospace;
  color: var(--muted);
  padding-top: 4px;
}
.capability h3 {
  font-size: 18px;
  margin: 0;
}
.capability p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 420px;
}
.capability > .icon {
  margin: 3px 0 0 auto;
  color: var(--muted);
}
.capability:hover h3,
.capability:hover > .icon {
  color: var(--accent);
}
.landing-code {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding-block: 24px;
}
.landing-code h2 {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: -1px;
}
.landing-code p {
  color: var(--muted);
  font-size: 14px;
}
.landing-code .code {
  margin: 0;
  box-shadow: var(--ring);
  line-height: 2;
  font-size: 12px;
  transform: none;
}
.landing-code .code > span {
  display: block;
  color: var(--code-muted);
  font-size: 10px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ffffff18;
  padding-bottom: 14px;
  margin-bottom: 12px;
}
.onboarding {
  background: var(--subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.onboarding h2 {
  font-size: 25px;
  line-height: 1.6;
}
.onboarding p {
  color: var(--muted);
  font-size: 13px;
}
.onboarding ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.onboarding li {
  display: flex;
  gap: 18px;
}
.onboarding li > span {
  font:
    12px Consolas,
    monospace;
  color: var(--muted);
  padding-top: 4px;
}
.onboarding li p {
  margin: 4px 0 0;
}
/* Working pages */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  margin-bottom: 28px;
  overflow: hidden;
}
.stat {
  padding: 23px 24px;
  box-shadow: none;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: none;
}
.stat:last-child {
  border-right: 0;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.stat-icon {
  color: var(--muted);
  display: grid;
  place-items: center;
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.2px;
  margin: 14px 0 6px;
}
.stat small {
  font-size: 11px;
}
.workspace-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--subtle);
}
.workspace-summary h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.workspace-summary p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.workspace-summary > div:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.quick-query {
  padding: 30px;
}
.quick-query .card-head {
  margin-bottom: 28px;
}
.quick-query form > .inline {
  margin-top: 9px;
}
.quick-query input {
  font-family: Consolas, monospace;
  min-height: 46px;
}
.quick-query .btn {
  min-height: 46px;
}
.meta-list .mono {
  font-size: 12px;
}
.result {
  margin-top: 24px;
  padding: 23px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.result h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.result .detail {
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mini-steps {
  display: grid;
  gap: 24px;
}
.mini-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mini-step > span {
  font:
    12px Consolas,
    monospace;
  color: var(--muted);
  width: 26px;
  min-height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.mini-step h3 {
  margin: 2px 0 8px;
  font-size: 13px;
}
.mini-step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.mini-step a {
  font-size: 13px;
  display: inline-flex;
  margin-top: 10px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 24px;
}
.filters .field {
  min-width: 130px;
  flex: 1;
  margin: 0;
}
.filters label {
  color: var(--muted);
  font-size: 12px;
}
.filters .btn {
  min-height: 42px;
}
.selection-count {
  margin-right: auto;
  font-size: 12px;
  color: var(--muted);
}
.dropzone {
  border: 1px dashed var(--input-line);
  background: var(--subtle);
  border-radius: 8px;
  padding: 27px 20px;
  text-align: center;
  position: relative;
}
.dropzone .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  color: var(--muted);
}
.dropzone p {
  font-size: 13px;
  margin: 0 0 7px;
}
.dropzone small {
  font-size: 12px;
}
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.dropzone:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.dropzone:hover {
  border-color: var(--accent);
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0;
  font-variant-numeric: tabular-nums;
}
.progress {
  border-radius: 5px;
  overflow: hidden;
  background: var(--hover);
  height: 6px;
  margin: 18px 0;
}
.progress progress {
  width: 100%;
  height: 6px;
  display: block;
  appearance: none;
  border: 0;
}
.progress progress::-webkit-progress-bar {
  background: var(--hover);
}
.progress progress::-webkit-progress-value {
  background: var(--accent);
}
.progress progress::-moz-progress-bar {
  background: var(--accent);
}
#job-select {
  margin-bottom: 6px;
}
#batch-preview .code {
  max-height: 280px;
}
#job-items {
  margin-top: 24px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.plan {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--plan-color);
}
.plan-day {
  --plan-color: var(--plan-day);
  --plan-tint: var(--plan-day-soft);
}
.plan-week {
  --plan-color: var(--plan-week);
  --plan-tint: var(--plan-week-soft);
}
.plan-month {
  --plan-color: var(--plan-month);
  --plan-tint: var(--plan-month-soft);
}
.plan-permanent {
  --plan-color: var(--plan-permanent);
  --plan-tint: var(--plan-permanent-soft);
}
.plan-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--plan-color);
  font-size: 12px;
  margin-top: 24px;
}
.plan-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--plan-tint);
}
.plan .eyebrow {
  color: var(--plan-color);
}
.plan .plan-identity + h3 {
  margin-top: 14px;
}
.plan .price {
  margin-top: 18px;
}
.mfa-login {
  max-width: 520px;
  margin: 56px auto;
  padding: 0 20px;
}
.mfa-login h1 {
  font-size: 28px;
}
.mfa-login > .card {
  margin-top: 28px;
}
.captcha-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.captcha-row input {
  min-width: 0;
  flex: 1;
}
.captcha-image {
  flex: 0 0 144px;
  min-height: 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  background: var(--subtle);
  color: var(--ink);
  cursor: pointer;
}
.captcha-image img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .captcha-row {
    gap: 10px;
  }
  .captcha-image {
    flex-basis: 128px;
  }
}
@media (max-width: 360px) {
  .captcha-row {
    flex-wrap: wrap;
  }
  .captcha-row input {
    flex-basis: 100%;
  }
}
.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 25px;
}
.plan > .btn {
  margin-top: auto;
}
.plan-description {
  min-height: 41px;
}
.plan.featured {
  box-shadow: 0 0 0 1px var(--accent);
}
.plan .recommend {
  position: absolute;
  right: 24px;
  top: 24px;
}
.plan h3 {
  font-size: 19px;
  margin-top: 22px;
}
.plan .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.price {
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.5;
  margin: 22px 0 8px;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
}
.features {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 2.9;
}
.features li:before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
}
.auth-wrap {
  max-width: 1560px;
  margin: 48px auto 64px;
  padding: 0 clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}
.auth-aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(32px, 3vw, 48px);
  background: var(--auth-panel);
  border: 1px solid var(--auth-line);
  border-radius: 12px;
}
.auth-aside h2 {
  font-size: clamp(29px, 3.2vw, 48px);
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -1.5px;
  margin: 0 0 18px;
}
.auth-aside > p {
  font-size: 17px;
  color: var(--muted);
}
.auth-aside .auth-rule {
  width: 42px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
}
.auth-aside .mini-steps {
  gap: 28px;
  margin-top: auto;
  margin-bottom: auto;
}
.auth-aside .mini-step > span {
  background: var(--surface);
  border-color: var(--auth-line);
  color: var(--accent);
}
.auth-aside .mini-step h3 {
  font-size: 16px;
}
.auth-aside .mini-step p {
  font-size: 14px;
}
.auth-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--auth-line);
}
.auth-facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 34px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.auth-facts strong small {
  margin-left: 5px;
  font-size: 12px;
  color: var(--secondary);
}
.auth-facts span {
  font-size: 14px;
  color: var(--secondary);
}
.auth-card {
  padding: clamp(32px, 3vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.auth-card h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}
.auth-card form {
  margin-top: 28px;
}
.auth-card > .muted {
  font-size: 15px;
}
.auth-card label {
  font-size: 14px;
}
.auth-card input:not([type="checkbox"]):not([type="hidden"]) {
  min-height: 48px;
  font-size: 15px;
}
.auth-card button[type="submit"] {
  min-height: 48px;
  font-size: 15px;
}
.auth-bottom {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.auth-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}
.admin-customer-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
.admin-customer-count strong {
  font-size: 30px;
  color: var(--ink);
  font-weight: 500;
}
.chart-table {
  max-height: 340px;
  overflow: auto;
}
@media (max-width: 1100px) {
  .hero {
    gap: 40px;
    margin-top: 55px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .landing-facts {
    margin-inline: 32px;
  }
  .landing-facts > div {
    padding-inline: 20px;
  }
  .auth-wrap {
    gap: 24px;
  }
  .stat {
    padding: 20px 16px;
  }
  .landing-code {
    gap: 35px;
  }
  .auth-aside,
  .auth-card {
    padding: 28px;
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 660px;
    gap: 35px;
    margin-top: 44px;
  }
  .hero-copy > p {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-preview {
    max-width: 530px;
  }
  .landing-code {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .onboarding {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .auth-wrap {
    display: block;
    max-width: 480px;
    margin: 40px auto;
  }
  .auth-aside {
    display: none;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .capability {
    grid-template-columns: 35px 1fr 1.3fr 25px;
    gap: 14px;
  }
  .workspace-summary {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .hero {
    padding: 0 20px;
    margin: 40px auto;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
    line-height: 1.35;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero .inline {
    gap: 10px;
  }
  .preview-content {
    padding: 22px;
  }
  .preview-toolbar,
  .preview-bottom {
    padding-inline: 18px;
  }
  .landing-facts {
    margin: 0 20px;
    padding: 22px 0;
  }
  .landing-facts > div {
    padding: 0 12px;
    display: block;
  }
  .landing-facts strong {
    display: block;
    font-size: 23px;
    margin-bottom: 6px;
  }
  .landing-facts span {
    font-size: 11px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .capability {
    grid-template-columns: 27px 1fr 24px;
    gap: 12px;
    padding: 23px 0;
  }
  .capability h3 {
    font-size: 17px;
  }
  .capability p {
    grid-column: 2;
    grid-row: 2;
  }
  .capability > .icon {
    grid-column: 3;
    grid-row: 1;
  }
  .landing-code h2 {
    font-size: 26px;
  }
  .landing-code .code {
    font-size: 11px;
    padding: 19px;
  }
  .onboarding {
    padding: 26px 22px;
  }
  .onboarding h2 {
    font-size: 23px;
  }
  .workspace-summary {
    padding: 20px;
  }
  .workspace-summary > div:last-child {
    flex-wrap: wrap;
  }
  .quick-query {
    padding: 22px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat {
    padding: 20px 16px;
  }
  .stat small {
    font-size: 11px;
  }
  .filters .field {
    min-width: calc(50% - 12px);
  }
  .filters .btn {
    flex: 1;
  }
  .auth-wrap {
    padding: 0 20px;
    margin-top: 30px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .auth-card h1 {
    font-size: 26px;
  }
  .auth-card input:not([type="checkbox"]):not([type="hidden"]) {
    font-size: 16px;
  }
  .public-section .page-head h1 {
    font-size: 28px;
  }
  .public-section .plan {
    padding: 24px;
  }
  .public-section .plan-grid {
    gap: 16px;
  }
  .plan .features {
    display: block;
  }
  .metric-row {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .plan {
    padding: 25px;
  }
  .public-section .grid {
    gap: 24px;
  }
}
.query-error-details {
  font-size: 12px;
  margin-top: 16px;
  color: var(--muted);
}
.query-error-details summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.query-error-details p {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
@media (max-width: 1279px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* documentation.css */
.docs-portal {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
}
.docs-portal svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.docs-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 45;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.docs-header-inner {
  height: 100%;
  max-width: 1536px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.docs-header-divider {
  height: 22px;
  width: 1px;
  background: var(--line);
  margin-left: 8px;
}
.docs-header-title {
  font-size: 13px;
  color: var(--muted);
}
.docs-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.docs-mobile-link {
  display: none;
}
.docs-schema-link {
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  min-height: 40px;
}
.docs-layout {
  max-width: 1536px;
  margin: auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}
.docs-nav {
  position: sticky;
  top: 74px;
  height: calc(100dvh - 74px);
  align-self: start;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.docs-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--surface);
  margin-bottom: 28px;
  min-height: 42px;
}
.docs-search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.docs-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 0;
  min-width: 0;
  font-size: 12px;
  outline: none;
}
.docs-search svg {
  color: var(--muted);
  width: 16px;
}
.docs-search kbd {
  font:
    10px Consolas,
    monospace;
  white-space: nowrap;
  color: var(--muted);
}
.docs-nav-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
  display: block;
  margin: 0 10px 13px;
}
.docs-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-nav nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  min-height: 42px;
  color: var(--secondary);
  font-size: 13px;
  border-radius: 5px;
}
.docs-nav nav a:hover {
  background: var(--hover);
}
.docs-nav nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.docs-nav-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
  margin: 0 10px 0 4px;
}
.docs-nav-method {
  font:
    10px Consolas,
    monospace;
  min-width: 30px;
  color: var(--accent);
}
.docs-nav-footer {
  padding-top: 24px;
  margin: 32px 10px 0;
  border-top: 1px solid var(--line);
}
.docs-nav-footer .docs-nav-label {
  margin-left: 0;
}
.docs-nav-footer > div {
  display: flex;
  gap: 6px;
}
.docs-nav-footer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 17px 0;
}
.docs-nav-footer > a {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.docs-nav-footer svg {
  width: 14px;
}
.docs-no-results {
  font-size: 13px;
  color: var(--muted);
  padding: 0 10px;
}
.docs-mobile-toggle {
  display: none;
}
.docs-content {
  padding: 45px 48px 24px;
  min-width: 0;
}
.docs-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}
.docs-kicker {
  font:
    11px Consolas,
    monospace;
  color: var(--muted);
  letter-spacing: 1px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
}
.docs-kicker > span {
  height: 5px;
  width: 5px;
  background: var(--accent);
  border-radius: 1px;
}
.docs-intro h1 {
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1.2px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.docs-intro > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}
.docs-base-url {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  max-width: 690px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.docs-base-url > span {
  font:
    10px Consolas,
    monospace;
  color: var(--muted);
  white-space: nowrap;
}
.docs-base-url > code {
  font-size: 12px;
  color: var(--secondary);
  overflow-wrap: anywhere;
  min-width: 0;
}
.docs-base-url .docs-copy {
  margin-left: auto;
  color: var(--muted);
}
.docs-intro-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.docs-intro-meta > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.docs-intro-meta svg {
  width: 13px;
  color: var(--accent);
}
.docs-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font:
    11px/1.5 Consolas,
    monospace;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}
.docs-tag.green {
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
}
.docs-tag.red {
  color: var(--red);
  background: var(--red-soft);
  border-color: transparent;
}
.docs-tag.amber {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: transparent;
}
.docs-section {
  padding: 38px 0 40px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.docs-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 25px;
}
.docs-section-number {
  font:
    11px/1.8 Consolas,
    monospace;
  color: var(--muted);
  margin-top: 3px;
}
.docs-section-heading h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 9px;
}
.docs-section-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.docs-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  gap: 34px;
  align-items: start;
}
.docs-columns > div {
  min-width: 0;
}
.docs-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-steps li {
  display: flex;
  gap: 13px;
  margin-bottom: 26px;
}
.docs-steps li > span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font:
    11px Consolas,
    monospace;
  flex-shrink: 0;
  color: var(--muted);
}
.docs-steps h3 {
  font-size: 14px;
  margin: 3px 0 8px;
}
.docs-steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 5px;
}
.docs-steps a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.docs-steps a svg {
  width: 14px;
}
.docs-portal p code {
  background: var(--subtle);
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.92em;
  color: var(--secondary);
  overflow-wrap: anywhere;
}
.docs-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--subtle);
  border-left: 2px solid var(--accent);
  border-radius: 3px;
  padding: 16px;
  margin-top: 22px;
}
.docs-callout > span {
  font:
    italic 12px Georgia,
    serif;
  border: 1px solid var(--muted);
  color: var(--muted);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  text-align: center;
  margin-top: 2px;
}
.docs-callout strong {
  font-size: 13px;
  color: var(--secondary);
}
.docs-callout p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 7px 0 0;
}
.docs-code-panel {
  --code-bg: var(--docs-code-bg);
  --code-ink: var(--docs-code-ink);
  --code-muted: var(--docs-code-muted);
  --syntax-key: var(--docs-syntax-key);
  --syntax-string: var(--docs-syntax-string);
  --syntax-keyword: var(--docs-syntax-keyword);
  --syntax-number: var(--docs-syntax-number);
  background: var(--code-bg);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  color: var(--code-ink);
  box-shadow: var(--ring);
}
.docs-code-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  border-bottom: 1px solid #ffffff18;
}
.docs-code-toolbar > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--code-muted);
}
.docs-code-toolbar > span svg {
  width: 14px;
}
.docs-copy {
  min-height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  font-size: 12px;
  border-radius: 4px;
  color: var(--code-muted);
}
.docs-copy svg {
  width: 14px;
  height: 14px;
}
.docs-copy:hover {
  color: var(--code-ink);
  background: #ffffff0d;
}
.docs-base-url .docs-copy:hover {
  color: var(--ink);
  background: var(--hover);
}
.docs-code-panel pre {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  padding: 20px;
  white-space: pre;
  overflow: auto;
  scrollbar-width: thin;
  tab-size: 2;
  color: var(--code-ink);
}
.docs-code-panel pre:focus-visible {
  outline-offset: -3px;
}
.docs-code-footer {
  font-size: 12px;
  color: var(--code-muted);
  line-height: 1.85;
  padding: 13px 16px;
  border-top: 1px solid #ffffff18;
}
.docs-language-tabs,
.docs-response-tabs {
  display: flex;
  gap: 20px;
  align-self: stretch;
  min-width: 0;
}
.docs-language-tabs button,
.docs-response-tabs button {
  position: relative;
  border-radius: 0;
  font-size: 13px;
  color: var(--code-muted);
  padding: 0 2px;
  min-height: 46px;
  min-width: 40px;
}
.docs-language-tabs button[aria-selected="true"],
.docs-response-tabs button[aria-selected="true"] {
  color: var(--code-ink);
}
.docs-language-tabs button[aria-selected="true"]:after,
.docs-response-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--code-active);
}
.syntax-key {
  color: var(--syntax-key);
}
.syntax-string {
  color: var(--syntax-string);
}
.syntax-keyword {
  color: var(--syntax-keyword);
}
.syntax-number {
  color: var(--syntax-number);
}
.docs-endpoint {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  min-width: 0;
}
.docs-endpoint > code {
  font-size: 13px;
  color: var(--secondary);
  overflow-wrap: anywhere;
}
.http-method {
  font:
    600 10px/1.5 Consolas,
    monospace;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.http-method.get {
  background: var(--subtle);
  color: var(--secondary);
}
.docs-small-heading {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 9px;
}
.docs-fields {
  border-top: 1px solid var(--line);
}
.docs-field {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.docs-field > div {
  display: flex;
  gap: 9px;
  align-items: baseline;
  flex-wrap: wrap;
}
.docs-field code {
  font-size: 12px;
  color: var(--ink);
}
.docs-type {
  font:
    11px Consolas,
    monospace;
  color: var(--muted);
}
.docs-required {
  font-size: 11px;
  color: var(--amber);
}
.docs-field p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin: 9px 0 0;
}
.docs-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 16px 0;
}
.docs-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.docs-status-grid > div {
  padding: 20px;
  border-right: 1px solid var(--line);
}
.docs-status-grid > div:last-child {
  border: 0;
}
.docs-status-grid h3 {
  font-size: 14px;
  margin: 14px 0 8px;
}
.docs-status-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.docs-batch-flow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 17px;
  background: var(--subtle);
  border-radius: 5px;
  font-size: 12px;
  color: var(--secondary);
}
.docs-batch-flow b {
  font-weight: 400;
  color: var(--muted);
}
.docs-batch-flow code {
  font-size: 11px;
  margin-left: 7px;
  color: var(--muted);
}
.docs-sub-endpoints {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.docs-sub-endpoints details {
  border-bottom: 1px solid var(--line);
}
.docs-sub-endpoints summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
}
.docs-sub-endpoints summary::-webkit-details-marker {
  display: none;
}
.docs-sub-endpoints summary:after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}
.docs-sub-endpoints details[open] summary:after {
  content: "−";
}
.docs-sub-endpoints summary code {
  font-size: 11px;
  overflow-wrap: anywhere;
  min-width: 0;
  color: var(--secondary);
}
.docs-sub-endpoints summary > span:last-of-type {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.docs-sub-endpoints summary .http-method {
  font-size: 9px;
  padding: 3px 4px;
}
.docs-sub-endpoints details > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 18px;
}
.docs-export-steps {
  border-left: 2px solid var(--line);
  padding-left: 16px;
  margin-top: 23px;
}
.docs-export-steps p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 10px;
}
.docs-export-steps b {
  margin-right: 5px;
  color: var(--secondary);
}
.docs-error-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--surface);
}
.docs-error-table table {
  white-space: normal;
  table-layout: fixed;
  font-size: 13px;
}
.docs-error-table th {
  font-size: 12px;
  padding: 14px 16px;
}
.docs-error-table th:first-child {
  width: 75px;
}
.docs-error-table th:nth-child(2) {
  width: 43%;
}
.docs-error-table td {
  padding: 16px;
  line-height: 1.85;
  vertical-align: top;
}
.docs-error-table code {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--secondary);
}
.docs-http-status {
  font:
    12px Consolas,
    monospace;
  padding: 4px;
  background: var(--subtle);
  color: var(--muted);
  border-radius: 3px;
}
.docs-retry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
}
.docs-retry-grid > div {
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.docs-retry-grid span {
  font-size: 11px;
  color: var(--muted);
}
.docs-retry-grid h3 {
  font-size: 14px;
  margin: 12px 0 8px;
}
.docs-retry-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.docs-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.docs-resource {
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--ring);
  border-radius: 8px;
  transition: box-shadow 130ms;
}
.docs-resource:hover {
  box-shadow: var(--ring-hover);
}
.docs-resource > svg {
  width: 24px;
  height: 24px;
  color: var(--muted);
  margin-bottom: 18px;
}
.docs-resource h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 7px;
}
.docs-resource > span {
  font-size: 11px;
  color: var(--muted);
}
.docs-resource p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 15px 0 22px;
}
.docs-resource strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.docs-resource strong svg {
  width: 14px;
}
.docs-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.docs-footer a {
  color: var(--muted);
  min-height: 40px;
}
@media (max-width: 1200px) {
  .docs-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .docs-nav {
    padding: 28px 16px;
  }
  .docs-content {
    padding: 35px 30px;
  }
  .docs-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .docs-code-panel pre {
    max-height: 530px;
  }
  .docs-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .docs-steps li {
    display: block;
    margin: 0;
  }
  .docs-steps li > span {
    margin-bottom: 13px;
  }
  .docs-header-actions {
    gap: 12px;
  }
  .docs-schema-link {
    display: none;
  }
  .docs-intro h1 {
    font-size: 29px;
  }
  .docs-header-inner {
    padding-inline: 24px;
  }
  .docs-header-divider {
    margin: 0;
  }
  .docs-resource {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  .docs-header {
    height: auto;
    min-height: 68px;
  }
  .docs-header-inner {
    padding: 12px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 0 8px;
  }
  .docs-header-divider,
  .docs-header-title,
  .docs-header > .version {
    display: none;
  }
  .docs-header-inner > .version {
    display: none;
  }
  .docs-header-actions {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    gap: 8px;
  }
  .docs-header .docs-login {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    padding-inline: 10px;
    white-space: nowrap;
  }
  .docs-login svg {
    display: none;
  }
  .docs-header .brand small {
    font-size: 9px;
  }
  .docs-header .theme-control button {
    width: 44px;
  }
  .docs-layout {
    display: block;
  }
  .docs-nav {
    position: sticky;
    top: var(--docs-header-height, 118px);
    background: var(--bg);
    z-index: 35;
    padding: 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    height: auto;
    max-height: calc(100dvh - var(--docs-header-height, 72px));
  }
  .docs-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    width: 100%;
    padding: 0;
    color: var(--secondary);
    font-size: 13px;
  }
  .docs-mobile-toggle > span {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
  }
  .docs-mobile-toggle svg {
    width: 15px;
  }
  .docs-nav-content {
    display: none;
    padding: 10px 0 18px;
  }
  .docs-nav.expanded .docs-nav-content {
    display: block;
  }
  .docs-nav nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 12px;
  }
  .docs-nav nav a {
    min-height: 44px;
    font-size: 13px;
  }
  .docs-nav-footer {
    display: none;
  }
  .docs-search input {
    font-size: 16px;
  }
  .docs-search {
    margin-bottom: 18px;
  }
  .docs-content {
    padding: 30px 20px 20px;
  }
  .docs-intro {
    padding-bottom: 30px;
  }
  .docs-intro h1 {
    font-size: 26px;
    line-height: 1.5;
  }
  .docs-intro > p {
    font-size: 14px;
  }
  .docs-kicker {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .docs-desktop-break {
    display: none;
  }
  .docs-base-url {
    gap: 8px;
    padding: 8px 10px;
  }
  .docs-base-url > span {
    white-space: normal;
    max-width: 29px;
    font-size: 9px;
  }
  .docs-base-url > code {
    font-size: 11px;
  }
  .docs-intro-meta {
    gap: 8px 14px;
    font-size: 11px;
  }
  .docs-section {
    padding: 30px 0;
    scroll-margin-top: 185px;
  }
  .docs-section-heading {
    gap: 9px;
    margin-bottom: 22px;
  }
  .docs-section-heading h2 {
    font-size: 21px;
  }
  .docs-section-heading p {
    font-size: 13px;
  }
  .docs-steps {
    display: block;
  }
  .docs-steps li {
    display: flex;
    margin-bottom: 24px;
  }
  .docs-steps a {
    min-height: 44px;
  }
  .docs-copy {
    min-height: 44px;
    min-width: 44px;
  }
  .docs-code-panel pre {
    padding: 17px 14px;
    font-size: 13px;
  }
  .docs-code-toolbar {
    padding: 0 12px;
  }
  .docs-language-tabs,
  .docs-response-tabs {
    gap: 16px;
  }
  .docs-language-tabs button,
  .docs-response-tabs button {
    min-height: 48px;
  }
  .docs-status-grid {
    grid-template-columns: 1fr;
  }
  .docs-status-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .docs-status-grid h3 {
    display: inline;
    margin-left: 12px;
  }
  .docs-status-grid p {
    margin-top: 10px;
  }
  .docs-batch-flow {
    font-size: 11px;
    gap: 9px;
    justify-content: space-between;
    padding: 14px 10px;
  }
  .docs-batch-flow code {
    display: none;
  }
  .docs-retry-grid,
  .docs-resource-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .docs-resource-grid {
    gap: 13px;
  }
  .docs-resource {
    padding: 20px;
  }
  .docs-resource > svg {
    margin-bottom: 12px;
  }
  .docs-resource p {
    margin: 10px 0 18px;
  }
  .docs-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
  }
  .docs-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .docs-footer > span:nth-child(2) {
    display: none;
  }
  .docs-error-table table,
  .docs-error-table tbody {
    display: block;
  }
  .docs-error-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .docs-error-table tr {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
  }
  .docs-error-table tr:last-child {
    border-bottom: 0;
  }
  .docs-error-table td {
    padding: 0;
    border: 0;
  }
  .docs-error-table td:last-child {
    grid-column: 2;
    margin-top: 8px;
  }
  .docs-error-table td:last-child:before {
    content: "建议：";
    font-weight: 600;
  }
}
@media (max-width: 360px) {
  .docs-header-inner {
    padding-inline: 16px;
  }
  .docs-header .brand {
    gap: 8px;
  }
}

/* landing.css */
/* Product landing with a bounded content width and aligned hero columns. */
.landing-site {
  background: var(--surface);
}
.home-container,
.landing-site .public-header {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: clamp(24px, 3vw, 40px);
}
.landing-site .public-header {
  min-height: 88px;
  border-bottom: 0;
  padding-block: 20px;
}
.landing-site .brand strong {
  font-size: 18px;
}
.landing-site .brand img {
  width: 38px;
  height: 38px;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 40px;
  padding-block: 64px 72px;
}
.home-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 7px 13px;
  margin-bottom: 26px;
}
.home-badge .icon {
  width: 16px;
  height: 16px;
}
.home-intro h1 {
  font-size: clamp(48px, 4.2vw, 68px);
  font-weight: 650;
  letter-spacing: -2.4px;
  line-height: 1.2;
  margin-bottom: 26px;
  color: var(--hero-title-start);
  width: fit-content;
  max-width: 100%;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .home-intro h1 {
    background-image: linear-gradient(
      125deg,
      var(--hero-title-start),
      var(--hero-title-middle) 52%,
      var(--hero-title-end)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .home-intro h1 {
    background-image: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
.home-description {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--secondary);
  line-height: 1.9;
  margin-bottom: 30px;
}
.home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.home-actions .btn {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 15px;
  border-radius: 8px;
}
.home-access-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 38px;
}
.home-access-note .icon {
  color: var(--accent);
  width: 15px;
  height: 15px;
}
.home-access-note > span {
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 4px;
}
.home-metrics {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  gap: clamp(24px, 3vw, 62px);
}
.home-metrics > div {
  display: grid;
  gap: 7px;
}
.home-metrics strong {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}
.home-metrics small {
  font-size: 13px;
  margin-left: 5px;
  font-weight: 400;
}
.home-metrics > div > span {
  color: var(--muted);
  font-size: 12px;
}
.home-showcase {
  min-width: 0;
  background: var(--home-stage);
  border-radius: 24px;
  padding: 24px;
  position: relative;
}
.showcase-app {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--home-shadow);
}
.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.showcase-bar > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-slash {
  color: var(--muted);
  font-weight: 400;
}
.showcase-example {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
}
.showcase-nav {
  padding: 20px 10px;
  background: var(--home-nav);
  border-right: 1px solid var(--line);
  font-size: 11px;
  color: var(--secondary);
}
.showcase-nav > span,
.showcase-nav > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  margin-bottom: 7px;
  border-radius: 5px;
}
.showcase-nav > div {
  margin-top: 30px;
}
.showcase-nav .icon {
  width: 14px;
  height: 14px;
}
.showcase-nav .selected {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.showcase-body {
  min-width: 0;
  padding: 24px;
}
.showcase-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.showcase-title h2 {
  margin: 0;
  font-size: 19px;
}
.showcase-title > .icon {
  color: var(--brand-gold);
}
.showcase-body > p {
  color: var(--muted);
  font-size: 11px;
  margin: 8px 0 20px;
}
.showcase-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--input-line);
  border-radius: 7px;
  padding: 5px 5px 5px 12px;
}
.showcase-input > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.showcase-input > span > .icon {
  width: 15px;
  color: var(--muted);
}
.showcase-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 15px;
  background: var(--home-result);
  border: 1px solid var(--home-result-line);
  border-radius: 8px;
}
.showcase-result-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  flex-shrink: 0;
}
.showcase-result > div:nth-child(2) {
  flex: 1;
}
.showcase-result span:not(.pill) {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.showcase-result strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  margin: 2px 0;
}
.showcase-result p {
  font-size: 10px;
  color: var(--secondary);
  margin: 0;
}
.showcase-result > .pill {
  align-self: flex-start;
  font-size: 9px;
}
.showcase-history > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.showcase-history > div:first-child {
  border-bottom: 0;
  min-height: 32px;
}
.showcase-history h3 {
  font-size: 12px;
  margin: 0;
}
.showcase-history > div > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.showcase-history .pill {
  font-size: 9px;
}
.showcase-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.showcase-foot > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.showcase-foot .icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.showcase-caption {
  font-size: 10px;
  text-align: center;
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.home-features {
  padding-block: 40px 80px;
}
.home-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.home-section-title h2 {
  font-size: clamp(25px, 2.3vw, 36px);
  margin-bottom: 10px;
  line-height: 1.4;
}
.home-section-title p {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 0;
}
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-text-link:hover {
  text-decoration-thickness: 2px;
}
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-feature {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 2vw, 36px);
  background: var(--surface);
}
.home-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
}
.home-feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
}
.home-feature-icon .icon {
  width: 23px;
  height: 23px;
}
.home-feature h3 {
  font-size: 21px;
  margin-bottom: 13px;
}
.home-feature p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--secondary);
  max-width: 470px;
  margin-bottom: 20px;
  min-height: 78px;
}
.home-api-band {
  background: var(--home-band);
  border-block: 1px solid var(--line);
}
.home-api {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 140px);
  padding-block: 70px;
}
.home-section-label {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.home-api-copy h2 {
  font-size: clamp(30px, 3vw, 46px);
  margin: 18px 0 20px;
  line-height: 1.35;
}
.home-api-copy p {
  color: var(--secondary);
  font-size: 16px;
  max-width: 500px;
}
.home-api-copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 14px;
  color: var(--secondary);
}
.home-api-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-api-copy li .icon {
  width: 16px;
  color: var(--accent);
}
.home-api-copy > .btn {
  min-height: 44px;
  margin-right: 18px;
}
.home-code-panel {
  min-width: 0;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--home-shadow);
}
.home-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--code-line);
  padding: 20px 26px;
  font-size: 12px;
  color: var(--code-muted);
}
.home-code-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--code-ink);
}
.home-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 28px 0;
  font-size: 13px;
}
.home-endpoint > span {
  color: var(--code-action);
  font-size: 11px;
  font-weight: 650;
}
.home-code-panel pre {
  padding: 20px 28px 28px;
  margin: 0;
  font-size: 14px;
  line-height: 2;
  overflow-x: auto;
}
.home-code-footer {
  border-top: 1px solid var(--code-line);
  color: var(--code-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 26px;
  font-size: 11px;
}
.home-get-started {
  padding-block: 76px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.home-get-started h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.home-get-started > div > p {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 26px;
}
.home-get-started ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 24px;
}
.home-get-started li {
  display: flex;
  align-items: start;
  gap: 18px;
}
.home-get-started li > span {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-weight: 600;
}
.home-get-started h3 {
  margin: 3px 0 5px;
  font-size: 16px;
}
.home-get-started li p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-block: 30px;
  font-size: 13px;
}
.home-footer > div {
  display: grid;
  gap: 8px;
}
.home-footer > div > span {
  color: var(--muted);
  font-size: 12px;
}
.home-footer nav {
  display: flex;
  gap: 24px;
}
.home-footer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
}
.home-footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .home-hero {
    padding-block: 64px 72px;
  }
  .showcase-body {
    padding: 30px;
  }
  .showcase-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .showcase-nav {
    font-size: 12px;
  }
  .showcase-result {
    padding-block: 24px;
  }
  .showcase-history > div {
    min-height: 47px;
  }
}
@media (max-width: 1150px) {
  .home-hero {
    gap: 26px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .home-showcase {
    padding: 18px;
  }
  .showcase-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase-nav {
    display: none;
  }
  .home-intro h1 {
    font-size: 51px;
  }
  .home-desktop-break {
    display: none;
  }
  .home-api {
    gap: 36px;
  }
  .home-feature-top {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .home-feature p {
    min-height: 104px;
  }
}
@media (max-width: 850px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-block: 36px 48px;
    gap: 38px;
  }
  .home-intro h1 {
    font-size: 56px;
  }
  .home-description {
    max-width: 500px;
  }
  .home-metrics {
    gap: 56px;
  }
  .home-showcase {
    padding: 28px;
  }
  .showcase-layout {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .showcase-nav {
    display: block;
  }
  .home-feature-grid {
    gap: 14px;
  }
  .home-feature {
    padding: 22px;
  }
  .home-feature h3 {
    font-size: 18px;
  }
  .home-feature p {
    min-height: 130px;
  }
  .home-api {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px;
  }
  .home-api-copy h2 br {
    display: none;
  }
  .home-api-copy p {
    max-width: 650px;
  }
  .home-get-started {
    gap: 34px;
  }
}
@media (max-width: 760px) {
  .landing-site .public-header {
    min-height: 72px;
    padding-block: 12px;
    padding-inline: 20px;
  }
  .home-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding-block: 28px;
  }
  .home-footer nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding-block: 12px;
    border-block: 1px solid var(--line);
  }
  .home-footer nav a {
    justify-content: center;
    font-size: 13px;
  }
  .home-footer > small {
    display: none;
  }
}
@media (max-width: 600px) {
  .home-container,
  .landing-site .public-header {
    padding-inline: 20px;
  }
  .landing-site .public-header {
    padding-block: 12px;
  }
  .landing-site .brand strong {
    font-size: 15px;
  }
  .landing-site .brand img {
    width: 32px;
    height: 32px;
  }
  .home-intro h1 {
    font-size: clamp(28px, 8vw, 42px);
    letter-spacing: -1px;
  }
  .home-badge {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .home-description {
    font-size: 16px;
  }
  .home-actions .btn {
    padding-inline: 15px;
    font-size: 13px;
  }
  .home-hero {
    padding-block: 28px 40px;
    gap: 28px;
  }
  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }
  .home-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }
  .home-access-note {
    margin-bottom: 28px;
    font-size: 11px;
  }
  .home-metrics {
    justify-content: space-between;
    gap: 15px;
  }
  .home-metrics strong {
    font-size: 26px;
  }
  .home-metrics > div > span {
    font-size: 11px;
  }
  .home-showcase {
    padding: 12px;
    border-radius: 16px;
  }
  .showcase-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase-nav {
    display: none;
  }
  .showcase-bar {
    padding: 13px 12px;
    font-size: 11px;
  }
  .showcase-body {
    padding: 18px 14px;
  }
  .showcase-title h2 {
    font-size: 18px;
  }
  .showcase-input {
    padding-left: 9px;
  }
  .showcase-input > span {
    font-size: 12px;
    gap: 6px;
  }
  .showcase-input .btn {
    padding-inline: 10px;
  }
  .showcase-result {
    padding: 15px 10px;
    gap: 9px;
  }
  .showcase-result > .pill {
    display: none;
  }
  .showcase-foot {
    padding-inline: 12px;
  }
  .showcase-foot > span:last-child {
    display: none;
  }
  .showcase-caption {
    margin-top: 12px;
  }
  .home-features {
    padding-block: 20px 44px;
  }
  .home-section-title {
    display: block;
    margin-bottom: 22px;
  }
  .home-section-title h2 {
    font-size: 25px;
  }
  .home-section-title p {
    font-size: 14px;
  }
  .home-section-title > a {
    margin-top: 10px;
  }
  .home-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-feature-top {
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
  }
  .home-feature h3 {
    font-size: 21px;
  }
  .home-feature p {
    min-height: 0;
    margin-bottom: 12px;
  }
  .home-api-copy h2 {
    font-size: 30px;
  }
  .home-api-copy h2 br {
    display: block;
  }
  .home-api-copy p {
    font-size: 15px;
  }
  .home-api-copy li {
    font-size: 13px;
  }
  .home-api-copy > .home-text-link {
    margin-top: 10px;
  }
  .home-code-header {
    padding: 17px;
    font-size: 11px;
  }
  .home-endpoint {
    margin: 20px 17px 0;
    font-size: 12px;
  }
  .home-code-panel pre {
    padding: 18px 17px 24px;
    font-size: 11px;
  }
  .home-code-footer {
    padding: 14px 17px;
    flex-direction: column;
    font-size: 10px;
    gap: 4px;
  }
  .home-get-started {
    grid-template-columns: 1fr;
    padding-block: 44px;
    gap: 34px;
  }
  .home-get-started h2 {
    font-size: 27px;
  }
  .home-footer {
    flex-wrap: wrap;
    padding-block: 24px;
    gap: 16px;
  }
  .home-footer nav {
    gap: 8px;
  }
  .home-footer > small {
    width: 100%;
  }
}
@media (max-width: 360px) {
  .home-container,
  .landing-site .public-header {
    padding-inline: 16px;
  }
  .home-intro h1 {
    font-size: 28px;
  }
  .showcase-bar {
    gap: 5px;
  }
  .showcase-bar img {
    width: 19px;
    height: 19px;
  }
  .showcase-bar > span:first-child {
    gap: 5px;
    font-size: 10px;
  }
  .showcase-body {
    padding-inline: 10px;
  }
  .showcase-input > span > .icon {
    display: none;
  }
  .home-showcase {
    padding: 9px;
  }
  .home-code-panel pre {
    padding-inline: 13px;
    font-size: 10px;
  }
}
/* Mobile section introductions share a centered axis; task content stays left-aligned. */
@media (max-width: 760px) {
  .home-intro {
    align-items: center;
  }
  .home-intro h1 {
    width: 100%;
    font-size: clamp(28px, 8vw, 42px);
    letter-spacing: -1px;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 20px;
  }
  .home-intro h1 br {
    display: none;
  }
  .home-intro h1 span:last-child {
    margin-left: 0.3em;
  }
  .home-description {
    text-align: center;
    max-width: 32ch;
    margin-bottom: 24px;
  }
  .home-access-note {
    justify-content: center;
  }
  .home-metrics {
    gap: 12px;
    text-align: center;
  }
  .home-metrics > div {
    flex: 1;
  }
  .home-section-title {
    display: block;
    text-align: center;
    margin-bottom: 24px;
  }
  .home-section-title h2,
  .home-get-started h2 {
    font-size: clamp(23px, 5.8vw, 30px);
  }
  .home-section-title > a {
    margin-top: 10px;
  }
  .home-feature-grid {
    grid-template-columns: 1fr;
  }
  .home-feature-top {
    flex-direction: row;
    align-items: center;
  }
  .home-feature p {
    min-height: 0;
  }
  .home-api-copy,
  .home-get-started > div {
    text-align: center;
  }
  .home-api-copy h2 {
    font-size: clamp(26px, 6.6vw, 34px);
  }
  .home-api-copy h2 br {
    display: block;
  }
  .home-api-copy > p {
    max-width: 36ch;
    margin-inline: auto;
  }
  .home-api-copy ul {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
  .home-api-copy > .btn {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .home-api-copy > .home-text-link {
    margin: 12px auto 0;
  }
  .home-get-started {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-get-started > div > p {
    max-width: 36ch;
    margin-inline: auto;
  }
  .home-footer > div {
    text-align: center;
  }
  .home-footer nav {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
