:root {
  --bg: #f5f7ff;
  --surface: #fff;
  --ink: #102248;
  --muted: #53617c;
  --line: #dce3f3;
  --primary: #0245ec;
  --accent: #d9ff3a;
  --primary-hover: #033ac2;
  --primary-soft: #eef3ff;
  --navigation: #0245ec;
  --danger: #a52828;
  --danger-bg: #fff0ef;
  --amber: #7e4c08;
  --amber-bg: #fff5df;
  --radius: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--primary);
}
button {
  min-height: 44px;
  border: 0;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:active {
  filter: brightness(0.94);
}
a {
  color: var(--primary);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 17px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px;
  background: var(--surface);
}
.skip:focus {
  top: 12px;
}
.sidebar {
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--navigation);
  color: #ffffff;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 8px 42px;
  color: white;
  text-decoration: none;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1.2px;
  line-height: 1;
}
.brand-symbol {
  height: 42px;
  width: 42px;
  padding: 6px;
  border: 1px solid #d9ff3a;
  border-radius: 12px;
}
.brand-symbol svg {
  stroke: #d9ff3a;
  stroke-width: 1.6;
  fill: none;
  width: 100%;
  height: 100%;
}
.brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 10px;
}
.nav-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #e3eaff;
  padding: 0 16px 14px;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  background: transparent;
  color: #ffffff;
  text-align: left;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 7px;
  font-size: 13px;
}
.nav-item span {
  width: 21px;
  font-size: 18px;
  line-height: 1;
}
.nav-item:hover {
  background: #033ac2;
}
.nav-item.active {
  background: #d9ff3a;
  color: #102248;
  box-shadow: inset 2px 0 #d9ff3a;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px 14px;
  font-size: 12px;
  color: #ffffff;
}
.sidebar-bottom p {
  margin-top: 18px;
  line-height: 1.8;
}
.small-tag {
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  border: 1px solid #a8bdff;
  padding: 5px 8px;
  border-radius: 5px;
}
.side-line {
  height: 1px;
  background: #7c9eff;
  margin: 24px 0;
}
.shell {
  margin-left: 230px;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.slash {
  margin: 0 14px;
  color: #697caa;
}
.health {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.health:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #697caa;
}
.health.ready:before {
  background: var(--primary);
}
.health.unavailable:before {
  background: #b77919;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 40px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 30px;
}
.eyebrow {
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.3px;
}
h1 span {
  color: var(--primary);
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
.heading-mark {
  width: 112px;
  margin: 0 16px;
  opacity: 0.7;
}
.heading-mark svg {
  width: 100%;
  stroke: #8cabff;
  stroke-width: 1.5;
}
.access-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.access-bar label {
  font-size: 12px;
  margin: 0 0 4px;
}
.access-bar p {
  font-size: 11px;
  color: var(--muted);
}
.key-control {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 490px;
}
.key-control input {
  margin: 0;
  min-width: 0;
  font:
    12px ui-monospace,
    Consolas,
    monospace;
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  white-space: nowrap;
  font-size: 12px;
  border-radius: 6px;
}
.quiet:hover {
  background: var(--bg);
  color: var(--ink);
}
.explorer-grid {
  display: grid;
  grid-template-columns: minmax(285px, 0.87fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 8px #0245ec10;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-title h2 {
  flex: 1;
  min-width: 0;
  font-size: 14px;
}
.step {
  color: var(--muted);
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tag {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid #d9ff3a;
  padding: 2px 7px;
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  border-radius: 4px;
}
form {
  padding: 24px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #b9c9e6;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 0 12px;
  min-width: 0;
}
select {
  font-size: 12px;
}
input::placeholder {
  color: #62708a;
}
#registration-field {
  margin-top: 22px;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}
.advanced {
  border-bottom: 1px solid var(--line);
  padding: 14px 0 18px;
  margin-bottom: 22px;
}
.advanced summary {
  font-size: 11px;
  color: var(--muted);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.advanced summary:before {
  content: "+";
  font-size: 16px;
}
.advanced[open] summary:before {
  content: "−";
}
.advanced label {
  margin-top: 16px;
}
.endpoint {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  font-size: 11px;
  min-height: 44px;
}
.endpoint span {
  color: var(--primary);
  font-weight: 700;
}
.endpoint code {
  overflow-wrap: anywhere;
  color: var(--muted);
}
.primary {
  background: var(--primary);
  color: white;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 18px;
}
.primary:hover {
  background: var(--primary-hover);
}
.primary span {
  font-size: 19px;
}
.compact {
  width: auto;
}
.request-note {
  padding: 18px 24px;
  background: #f8faff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.note-icon {
  border: 1px solid #a8bbdf;
  border-radius: 100%;
  height: 17px;
  min-width: 17px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 11px;
  margin-top: 2px;
}
.response-panel {
  min-height: 498px;
}
.response-status {
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--bg);
  color: var(--muted);
  white-space: nowrap;
}
.response-status.success {
  color: var(--primary);
  background: var(--primary-soft);
}
.response-status.error {
  color: var(--danger);
  background: var(--danger-bg);
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 425px;
  padding: 36px 18px;
}
.empty-icon {
  width: 70px;
  height: 70px;
  background: #eef3ff;
  border: 1px solid #dce3f3;
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 22px;
}
.empty-icon svg {
  stroke: #0245ec;
  stroke-width: 1.5;
  width: 100%;
}
.empty-state h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
}
.empty-state p {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 22px;
}
.empty-chips {
  display: flex;
  gap: 8px;
}
.empty-chips span {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 5px;
  font-size: 10px;
  padding: 4px 8px;
}
.snapshot-info {
  padding: 16px 24px;
  font-size: 11px;
  line-height: 1.8;
  background: #f8faff;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.source-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}
.warning {
  margin: 16px 20px;
  padding: 12px;
  border: 1px solid #eed9aa;
  background: var(--amber-bg);
  border-radius: 7px;
  color: var(--amber);
  font-size: 12px;
}
.form-error {
  margin-top: 12px;
  font-size: 12px;
  color: var(--danger);
  background: var(--danger-bg);
  padding: 10px;
  border-radius: 6px;
}
.person {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  min-width: 0;
}
.avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #c5d4ff;
  border-radius: 11px;
  font-weight: 600;
  font-size: 12px;
}
.person-info {
  flex: 1;
  min-width: 0;
}
.person h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.person p {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.person .person-meta {
  font-size: 10px;
  margin-top: 8px;
}
.level {
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  color: var(--primary);
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  white-space: nowrap;
}
.manager-title {
  padding: 16px 24px 0;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
}
.result-footer {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.secondary {
  background: white;
  border: 1px solid #b9c9e6;
  border-radius: 7px;
  padding: 10px 15px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.secondary:hover {
  background: var(--primary-soft);
}
.json-section {
  border-top: 1px solid var(--line);
}
.json-section summary {
  padding: 16px 24px;
  min-height: 48px;
  font-size: 12px;
  color: var(--muted);
}
pre {
  margin: 0;
  background: var(--navigation);
  color: #eef3ff;
  font:
    12px/1.8 ui-monospace,
    Consolas,
    monospace;
  padding: 24px;
  overflow: auto;
  max-height: 450px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}
.integration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  margin-top: 10px;
}
.integration-strip .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.integration-strip h2 {
  font-size: 17px;
}
.integration-strip p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.guide-panel > p {
  margin: 24px;
}
.guide-panel > .compact {
  margin: 24px;
}
.guide-panel pre {
  margin: 0 24px;
  border-radius: 8px;
}
.guide-steps {
  padding: 24px 48px;
  margin: 0;
}
.guide-steps li {
  padding: 8px 0 16px 8px;
}
.guide-steps p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.code-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 12px;
  gap: 12px;
}
.code-title h3 {
  font-size: 14px;
}
.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}
.contract-grid > div {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}
.contract-grid code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  margin: 12px 0;
}
.contract-grid p {
  color: var(--muted);
  font-size: 12px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  padding: 24px 0 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--primary);
}
footer span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
footer span:last-child {
  margin-left: auto;
}
.loading {
  opacity: 0.65;
}
@media (min-width: 1500px) {
  main {
    padding: 48px 64px;
  }
  .explorer-grid {
    grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.4fr);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding: 28px 12px;
  }
  .shell {
    margin-left: 190px;
  }
  main {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .access-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .key-control {
    width: 100%;
    max-width: none;
  }
  .explorer-grid {
    gap: 18px;
    grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1fr);
  }
  .panel-title {
    padding: 18px;
  }
  .panel-title h2 {
    font-size: 12px;
  }
  form {
    padding: 20px;
  }
  .heading-mark {
    width: 90px;
  }
  h1 {
    font-size: 32px;
  }
}
@media (max-width: 880px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 24px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .brand {
    padding: 0;
    font-size: 24px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .brand-symbol {
    height: 36px;
    width: 36px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-left: auto;
    gap: 4px;
  }
  .nav-item {
    font-size: 11px;
    margin: 0;
    width: auto;
    padding: 10px;
  }
  .nav-item span {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 56px;
  }
  .explorer-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  }
  .heading-mark {
    width: 80px;
  }
  .integration-strip {
    flex-wrap: wrap;
  }
  .contract-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 16px;
  }
  .sidebar {
    padding: 16px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .sidebar nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }
  .nav-item {
    font-size: 12px;
    justify-content: center;
    padding: 10px;
    flex: 1;
  }
  .topbar {
    padding: 0 20px;
    font-size: 10px;
  }
  .health {
    font-size: 10px;
  }
  .slash {
    margin: 0 8px;
  }
  main {
    padding: 28px 18px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 30px;
  }
  .heading-mark {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .access-bar {
    padding: 18px;
  }
  .key-control {
    flex-wrap: wrap;
  }
  .key-control input {
    font-size: 16px;
    flex: 1;
    min-width: 150px;
  }
  .key-control .quiet {
    padding: 0 8px;
    font-size: 11px;
  }
  .explorer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .panel-title {
    padding: 20px;
  }
  .panel-title h2 {
    font-size: 14px;
  }
  input,
  select {
    font-size: 16px;
  }
  .field-help,
  .request-note {
    font-size: 12px;
  }
  label {
    font-size: 13px;
  }
  .response-panel {
    min-height: 340px;
  }
  .empty-state {
    min-height: 325px;
  }
  .person {
    padding: 18px;
  }
  .person h3 {
    font-size: 14px;
  }
  .person .level {
    font-size: 9px;
  }
  .result-footer {
    padding: 16px;
  }
  .integration-strip {
    padding-top: 24px;
  }
  .integration-strip h2 {
    font-size: 19px;
  }
  .guide-steps {
    padding: 18px 32px;
  }
  .panel-title .secondary {
    font-size: 10px;
    padding: 8px;
  }
  .guide-panel pre {
    margin: 0 16px;
    padding: 18px;
    font-size: 11px;
  }
  .code-title {
    padding: 0 16px 12px;
  }
  .code-title h3 {
    font-size: 12px;
  }
  footer {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  footer span:last-child {
    margin: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
