:root {
  color-scheme: dark;
  --page-bg: #06111f;
  --panel-bg: #0b192a;
  --panel-soft: #0e2035;
  --border: rgba(148, 163, 184, .18);
  --text: #f8fafc;
  --muted: #a8b8ca;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --green: #34d399;
  --red: #fb7185;
  --focus: #93c5fd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 12% 0, rgba(37,99,235,.14), transparent 34%), radial-gradient(circle at 90% 8%, rgba(6,182,212,.09), transparent 26%), var(--page-bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: #7dd3fc; }
a:hover { color: #bae6fd; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(6,17,31,.9); backdrop-filter: blur(14px); }
.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 850; }
.brand-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: linear-gradient(135deg,#2563eb,var(--cyan)); color: white; }
.nav-link { padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; color: #dbeafe; text-decoration: none; font-size: 13px; font-weight: 750; }
.nav-link:hover { background: rgba(56,189,248,.09); }
.hero { padding: 58px 0 30px; text-align: center; }
.eyebrow { display: inline-block; padding: 5px 11px; border: 1px solid rgba(56,189,248,.25); border-radius: 999px; background: rgba(56,189,248,.07); color: #7dd3fc; font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { margin: 17px 0 10px; font-size: clamp(34px, 6vw, 56px); line-height: 1.1; letter-spacing: -.04em; }
.hero p { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trust { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: #cbd5e1; font-size: 12px; }
main { padding: 14px 0 54px; }
.panel, .content-card { border: 1px solid var(--border); border-radius: 17px; background: linear-gradient(145deg, rgba(13,29,49,.97), rgba(7,18,31,.97)); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.panel { padding: clamp(18px, 3vw, 28px); }
.panel h2, .content-card h2 { margin: 0 0 14px; font-size: 21px; letter-spacing: -.02em; }
.panel h3, .content-card h3 { margin: 22px 0 8px; font-size: 17px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { min-width: 0; margin-bottom: 15px; }
.field label, .field-label { display: block; margin-bottom: 7px; color: #e2e8f0; font-size: 13px; font-weight: 800; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
textarea, input[type="text"], input[type="search"], select {
  width: 100%; min-width: 0; border: 1px solid rgba(148,163,184,.28); border-radius: 10px; background: #071321; color: var(--text); font: inherit;
}
textarea { min-height: 210px; padding: 13px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
textarea[readonly] { background: #081727; }
input[type="text"], input[type="search"], select { min-height: 44px; padding: 9px 11px; }
input[type="file"] { display: block; width: 100%; max-width: 100%; color: var(--muted); font: inherit; font-size: 13px; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: #10243b; color: var(--text); font: inherit; font-weight: 750; cursor: pointer; }
textarea:focus, input:focus, select:focus { border-color: var(--blue); outline: 2px solid rgba(56,189,248,.18); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 20px; }
.button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 9px; background: #10243b; color: var(--text); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.button:hover { border-color: rgba(56,189,248,.5); background: #15304c; }
.button.primary { border-color: transparent; background: linear-gradient(135deg,#2563eb,#0891b2); color: #fff; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.status { min-height: 1.5em; margin: 6px 0 12px; color: #bae6fd; font-size: 13px; }
.status.error { color: #fda4af; }
.note { margin: 14px 0; padding: 13px 15px; border-left: 3px solid var(--blue); border-radius: 8px; background: rgba(56,189,248,.07); color: #cbd5e1; font-size: 13px; }
.content-card { margin-top: 18px; padding: clamp(18px, 3vw, 26px); }
.content-card p, .content-card li { color: var(--muted); font-size: 14px; }
.content-card p { margin: 8px 0 14px; }
.content-card ul, .content-card ol { padding-left: 21px; }
.content-card li { margin: 6px 0; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { max-width: 100%; overflow: auto; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: #06101c; color: #dbeafe; font-size: 12px; line-height: 1.55; white-space: pre; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.related-link { display: block; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); color: #dbeafe; text-decoration: none; font-size: 13px; font-weight: 750; }
.related-link:hover { border-color: rgba(56,189,248,.5); background: rgba(56,189,248,.06); }
.faq-list { display: grid; gap: 9px; }
details { border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.025); }
summary { padding: 13px 15px; color: #e2e8f0; font-size: 14px; font-weight: 800; cursor: pointer; }
details p { padding: 0 15px 14px; margin: 0; color: var(--muted); font-size: 13px; }
.table-wrap { width: 100%; max-height: 560px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; }
.table-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.table-pagination[hidden] { display: none; }
.table-pagination span { color: var(--muted); font-size: 13px; font-weight: 750; text-align: center; }
table { width: 100%; min-width: 560px; border-collapse: collapse; background: #071321; font-size: 13px; }
caption { padding: 8px; color: var(--muted); text-align: left; }
th, td { max-width: 420px; padding: 9px 11px; border-bottom: 1px solid rgba(148,163,184,.14); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { position: sticky; top: 0; background: #11243a; color: #e2e8f0; }
td { color: #cbd5e1; }
.site-footer { border-top: 1px solid var(--border); background: #030811; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .container { width: min(100% - 24px, 1120px); }
  .hero { padding-top: 42px; }
  .hero p { font-size: 15px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .table-pagination { justify-content: center; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
