@import url("/fonts.css");
:root {
  --ink: #202337;
  --muted: #74788b;
  --subtle: #a6abba;
  --purple: #6260ed;
  --purple-dark: #514fdb;
  --line: #e6e8ef;
  --canvas: #f6f7fb;
  --nav: #171b30;
  --radius: 14px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #aaa8ff;
  outline-offset: 4px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite {
  display: none;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--nav);
  color: #c4c7d6;
  display: flex;
  flex-direction: column;
  padding: 34px 20px 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  color: white;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.4px;
  margin: 0 12px 36px;
}
.brand-period {
  color: #8d8afe;
}
.brand-mark {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  background: var(--purple);
  border-radius: 10px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  justify-content: center;
  padding: 8px;
}
.brand-mark span {
  width: 4px;
  background: #fff;
  border-radius: 1px;
  height: 13px;
}
.brand-mark span:nth-child(2) {
  height: 19px;
}
.brand-mark span:nth-child(3) {
  height: 10px;
}
.workspace-label {
  border: 1px solid #303449;
  border-radius: 10px;
  padding: 13px 12px;
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 30px;
}
.workspace-label small {
  display: block;
  color: #898fa9;
  font-size: 12px;
  font-weight: 400;
}
.workspace-icon {
  width: 32px;
  height: 32px;
  background: #34364f;
  color: #c7c5ff;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #777f9a;
  margin: 0 14px 12px;
}
nav {
  display: grid;
  gap: 7px;
}
.nav-link {
  min-height: 47px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  gap: 12px;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s;
  color: #aeb4ca;
}
.nav-link:hover {
  background: #242840;
}
.nav-link.active {
  background: #303052;
  color: #eeedff;
}
.nav-link.active svg {
  color: #aaa6ff;
}
.nav-chip {
  font-family: monospace;
  font-size: 11px;
  color: #8a91ab;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.engine-note {
  padding: 18px 14px;
  background: #22263c;
  border: 1px solid #303449;
  border-radius: 10px;
}
.engine-note > svg {
  color: #a6a3ff;
  width: 23px;
  height: 23px;
  margin-bottom: 10px;
}
.engine-note strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #e1e3ef;
}
.engine-note p {
  font-size: 12px;
  line-height: 1.8;
  margin: 8px 0 0;
  color: #8f96b0;
}
.settings-link {
  background: none;
  border: 0;
  color: #adb4ca;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 23px 10px;
}
.profile {
  border-top: 1px solid #303449;
  margin: 0 -20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #e3e6f1;
}
.profile > span {
  display: grid;
  place-items: center;
  background: #424260;
  border: 1px solid #575676;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: #d6d4ff;
}
.profile small {
  display: block;
  font-size: 11px;
  color: #868fa8;
  margin-top: 4px;
}
.shell {
  margin-left: 246px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 13px;
  color: #9397a7;
  display: flex;
  gap: 16px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 500;
  color: #555c72;
}
.breadcrumb span {
  color: #c3c7d3;
}
.connection-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: #646b80;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 12px;
}
.connection-badge svg {
  width: 14px;
  height: 14px;
  margin-left: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a1a7b6;
}
.dot.connected {
  background: #15946e;
}
.dot.limited {
  background: #c99425;
}
main {
  max-width: 1390px;
  margin: auto;
  padding: 42px 42px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: #85899d;
  margin-bottom: 11px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
}
h1 {
  font-size: clamp(25px, 2.4vw, 34px);
  letter-spacing: -1.1px;
  font-weight: 750;
  line-height: 1.3;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.version-pill {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1.3px;
  color: #a1a5b5;
  white-space: nowrap;
}
.notice {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #eeedff;
  border: 1px solid #dedcf9;
  border-radius: 10px;
  padding: 15px 17px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #6460ba;
}
.notice strong {
  font-size: 13px;
  color: #49458d;
  font-weight: 600;
}
.notice p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.notice .text-button {
  margin-left: auto;
  white-space: nowrap;
  color: #5d57b9;
  font-size: 12px;
}
.lookup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(285px, 1fr);
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 3px 5px #292f4603;
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 25px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  min-height: 63px;
}
.tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #9094a5;
  font-size: 13px;
  font-weight: 500;
  padding: 18px 0;
  white-space: nowrap;
}
.tabs button svg {
  width: 16px;
  height: 16px;
}
.tabs button[aria-selected="true"] {
  color: var(--purple);
}
.tabs button[aria-selected="true"]:after {
  content: "";
  height: 2px;
  background: var(--purple);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
#lookup-form {
  padding: 28px;
}
.form-intro h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 750;
  margin-bottom: 7px;
}
.form-intro p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 25px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 550;
  color: #4a5066;
  margin-bottom: 9px;
}
.field label span {
  font-weight: 400;
  color: #a0a5b5;
  font-size: 11px;
}
.field input {
  background: #fff;
  width: 100%;
  border: 1px solid #dfe2eb;
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
  min-height: 46px;
  transition: border 0.15s;
}
.field input::placeholder {
  color: #a7adbb;
}
.field input:focus {
  border-color: #8b88f6;
  outline: 3px solid #efeeff;
}
.input-icon {
  position: relative;
}
.input-icon svg {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #a5aabb;
  width: 18px;
  height: 18px;
}
.input-icon input {
  padding-left: 43px;
}
.field small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}
.form-options {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
}
.checkbox {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #6d7387;
}
.checkbox input {
  accent-color: var(--purple);
  width: 15px;
  height: 15px;
  margin: 0;
}
.form-options > span {
  color: #a7adba;
  font-size: 11px;
}
.button {
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  min-height: 45px;
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 3px 5px #6560ed18;
}
.primary:hover {
  background: var(--purple-dark);
}
.secondary {
  background: #fff;
  border: 1px solid #dfe2eb;
  color: #5c6378;
}
.secondary:hover {
  background: #f8f9fc;
}
.button svg {
  width: 18px;
  height: 18px;
}
#lookup-submit {
  width: 100%;
  justify-content: space-between;
}
.form-footnote {
  margin: 16px 0 0;
  font-size: 11px;
  color: #9299aa;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.7;
}
.form-footnote svg {
  width: 13px;
  height: 13px;
  color: #9a9daf;
}
.api-preview {
  background: #20243b;
  color: #e7e8f1;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #30344b;
}
.api-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.api-card-head > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c0c3d6;
}
.api-card-head svg {
  width: 16px;
  height: 16px;
  color: #aaa6ff;
}
.live-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #9996d3;
  border: 1px solid #454261;
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}
.api-preview h2 {
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin-bottom: 10px;
}
.api-preview > p {
  font-size: 12px;
  color: #929bb4;
  line-height: 1.8;
  max-width: 240px;
  margin-bottom: 24px;
}
.code-caption {
  background: #181c30;
  border: 1px solid #32364e;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 10px;
  color: #828ba6;
}
.icon-button {
  background: none;
  border: 0;
  padding: 3px;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.api-preview pre {
  background: #181c30;
  border: 1px solid #32364e;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  padding: 10px 14px 16px;
  color: #b4b0fd;
  font-size: 11px;
  line-height: 1.9;
  min-height: 140px;
}
.api-link {
  color: #c6c3ff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}
.api-link svg {
  width: 15px;
  height: 15px;
}
.api-features {
  border-top: 1px solid #373b52;
  padding-top: 18px;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  color: #8993ae;
}
.api-features span + span:before {
  content: "·";
  margin-right: 8px;
  color: #59607a;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 15px;
}
.results-heading h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.results-heading h2 > span {
  color: #8e92a6;
  background: #eceef5;
  border: 1px solid #e2e5ef;
  border-radius: 5px;
  font:
    11px "DM Sans",
    sans-serif;
  padding: 2px 6px;
}
.results-heading > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.session-label {
  font-size: 12px;
  color: #a1a7b5;
}
.text-button {
  border: 0;
  background: none;
  color: #6d7389;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  min-height: 28px;
}
.text-button svg {
  width: 14px;
  height: 14px;
}
.text-button:hover {
  color: var(--purple);
}
.empty-state {
  padding: 35px 20px 37px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.empty-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #f4f4fd;
  border: 1px solid #e9e9f7;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #918ddd;
}
.empty-icon svg {
  width: 20px;
  height: 20px;
}
.empty-state h3 {
  font-size: 14px;
  letter-spacing: -0.2px;
  font-weight: 650;
  margin-bottom: 7px;
  color: #6c7287;
}
.empty-state p {
  font-size: 12px;
  color: #a0a6b5;
  margin: 0;
  line-height: 1.7;
}
.method-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  padding: 25px 4px;
}
.method-strip > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.method-strip > div > span {
  font-family: monospace;
  font-size: 10px;
  color: #a3a8bb;
  line-height: 2;
  margin-top: 1px;
}
.method-strip p {
  font-size: 11px;
  color: #a1a7b8;
  line-height: 1.8;
  margin: 0;
}
.method-strip strong {
  display: block;
  font-size: 12px;
  color: #777f95;
  font-weight: 550;
  margin-bottom: 2px;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e7e9f0;
  padding: 23px 0;
  margin-top: 15px;
  color: #a2a8b8;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.result-item {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.result-item:last-child {
  border-bottom: 0;
}
.result-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.result-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  background: #f0efff;
  color: #8079cd;
  font-size: 13px;
  font-weight: 600;
}
.result-name {
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.result-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.result-main .badge {
  margin-left: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font:
    11px "DM Sans",
    sans-serif;
  border-radius: 5px;
  padding: 5px 8px;
  background: #f0f1f5;
  color: #7d8497;
  white-space: nowrap;
}
.badge.valid {
  color: #198567;
  background: #e8f6ef;
}
.badge.risky {
  color: #ae7a17;
  background: #fff5db;
}
.badge.invalid {
  color: #bd5558;
  background: #ffefef;
}
.badge.unknown,
.badge.not_found {
  color: #7d809b;
  background: #f0f0f7;
}
.result-reason {
  font-size: 12px;
  color: #8c92a5;
  margin: 13px 0 0;
  line-height: 1.7;
}
.result-item details {
  margin-top: 13px;
}
.result-item summary {
  font-size: 12px;
  color: #7671c2;
  cursor: pointer;
}
.result-item pre {
  background: #f8f9fc;
  border: 1px solid #ebedf5;
  border-radius: 7px;
  padding: 15px;
  font-size: 11px;
  margin-top: 12px;
  color: #6c7386;
  max-height: 350px;
  overflow: auto;
}
.copy-email {
  border: 0;
  background: none;
  color: #979bae;
}
.copy-email svg {
  width: 15px;
  height: 15px;
}
.bulk-panel {
  padding: 28px;
}
.section-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.section-top h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin: 0 0 7px;
}
.section-top p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.bulk-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 15px 0 20px;
}
.bulk-controls label {
  font-size: 13px;
  color: #696f84;
}
select {
  border: 1px solid #dfe2eb;
  background: #fff;
  border-radius: 7px;
  padding: 10px 15px;
  color: #50586e;
  font-size: 13px;
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 20px;
  border: 1.5px dashed #cdcbed;
  border-radius: 10px;
  background: #fafaff;
  text-align: center;
  cursor: pointer;
  gap: 10px;
  margin-bottom: 20px;
}
.dropzone:hover,
.dropzone.dragging {
  background: #f0efff;
  border-color: #7772ee;
}
.dropzone > svg {
  width: 26px;
  height: 26px;
  color: #8b83d7;
  margin-bottom: 3px;
}
.dropzone strong {
  font-size: 14px;
  font-weight: 500;
  color: #666080;
}
.dropzone span {
  font-size: 12px;
  color: #9894ab;
}
.dropzone input {
  max-width: 250px;
  font-size: 12px;
  color: #8a869c;
  margin-top: 7px;
}
#file-preview {
  font-size: 13px;
  background: #f6f7fc;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 6px;
  margin-bottom: 17px;
  color: #6b7186;
  overflow-wrap: anywhere;
}
.job {
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
}
.job:last-child {
  border: 0;
}
.job-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.job-title {
  font-size: 14px;
  font-weight: 500;
}
.job-meta {
  color: #9198aa;
  font-size: 12px;
  margin: 6px 0 12px;
}
.job-actions {
  display: flex;
  gap: 20px;
}
.progress {
  height: 5px;
  background: #eeedf6;
  border-radius: 5px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: #8d87f0;
}
.api-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.docs-intro,
.status-guide,
.endpoint-panel,
.integration-code {
  padding: 28px;
}
.docs-intro h2 {
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  margin: 15px 0;
}
.docs-intro p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.endpoint-method {
  font-size: 10px;
  letter-spacing: 1px;
  color: #8a82d7;
}
.status-guide {
  margin-top: 22px;
}
.status-guide h3 {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.status-guide p {
  font-size: 12px;
  color: #747b91;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-guide small {
  font-size: 12px;
  color: #949aab;
  line-height: 1.8;
  display: block;
  margin-top: 20px;
}
.endpoint-panel h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.endpoint {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.endpoint > span {
  font-size: 10px;
  color: #8680c9;
  display: inline-block;
  width: 43px;
  font-weight: 600;
}
.endpoint > span.get {
  color: #42947e;
}
.endpoint code {
  font-size: 13px;
  color: #4e566c;
  overflow-wrap: anywhere;
}
.endpoint p {
  font-size: 12px;
  color: #9aa0b1;
  margin: 10px 0 0;
  line-height: 1.8;
}
.docs-actions {
  margin-top: 22px;
}
.integration-code {
  margin-top: 24px;
}
.integration-code h3 {
  font-size: 16px;
  margin: 0 0 18px;
}
.integration-code pre {
  padding: 20px;
  background: #20243b;
  color: #bdb7fa;
  border-radius: 9px;
  font-size: 13px;
}
.integration-code > p,
.compatibility-note {
  font-size: 12px;
  line-height: 1.9;
  color: #9399ac;
  margin: 15px 0 0;
}
.compatibility-note {
  padding: 0 5px 15px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}
dialog {
  border: 1px solid #e1e3ed;
  border-radius: 17px;
  padding: 30px;
  max-width: 510px;
  width: calc(100% - 32px);
  box-shadow: 0 25px 90px #171b3040;
  color: var(--ink);
}
dialog::backdrop {
  background: #14172b80;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.dialog-heading .icon-button {
  align-self: flex-start;
  color: #868c9f;
}
dialog form > p {
  font-size: 13px;
  color: #858b9e;
  line-height: 1.7;
  margin-bottom: 25px;
}
.connection-help {
  background: #f6f6fb;
  border: 1px solid #ebecf4;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: #858ba0;
  line-height: 1.8;
}
.connection-help code {
  display: block;
  color: #686280;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.error-text {
  color: #b4535e !important;
  font-size: 12px !important;
  margin: 12px 0 0 !important;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 123px);
  transform: translateX(-50%);
  background: #242840;
  color: #fff;
  padding: 14px 22px;
  border-radius: 9px;
  box-shadow: 0 10px 30px #171b3025;
  font-size: 13px;
  z-index: 50;
  max-width: calc(100% - 40px);
  line-height: 1.7;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff55;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Keep the visual hierarchy while supporting smaller displays and enlarged text. */
@media (min-width: 1500px) {
  main {
    padding-top: 50px;
  }
  .lookup-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  }
  #lookup-form {
    padding: 32px;
  }
  .api-preview {
    padding: 30px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 215px;
    padding-inline: 15px;
  }
  .profile {
    margin-inline: -15px;
    padding-inline: 15px;
  }
  .shell {
    margin-left: 215px;
  }
  .topbar {
    padding-inline: 28px;
  }
  main {
    padding-inline: 28px;
  }
  .lookup-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .tabs {
    gap: 16px;
    padding-inline: 20px;
  }
  .tabs button {
    font-size: 12px;
  }
  .api-preview {
    padding: 22px;
  }
  #lookup-form {
    padding: 22px;
  }
  .nav-chip {
    display: none;
  }
  .form-options > span {
    display: none;
  }
  .live-label {
    display: none;
  }
  .toast {
    left: calc(50% + 107px);
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 185px;
    padding-inline: 12px;
  }
  .brand {
    font-size: 30px;
    margin-inline: 5px;
  }
  .workspace-label {
    padding: 10px 8px;
    gap: 7px;
    font-size: 12px;
  }
  .workspace-label small {
    font-size: 10px;
  }
  .nav-link {
    font-size: 12px;
    padding-inline: 9px;
    gap: 9px;
  }
  .sidebar-bottom .engine-note {
    display: none;
  }
  .profile {
    margin-inline: -12px;
    padding-inline: 12px;
  }
  .profile small {
    display: none;
  }
  .settings-link {
    font-size: 12px;
    padding-inline: 4px;
  }
  .shell {
    margin-left: 185px;
  }
  .lookup-grid {
    grid-template-columns: 1fr;
  }
  .api-preview {
    display: none;
  }
  .api-doc-grid {
    grid-template-columns: 1fr;
  }
  .method-strip {
    gap: 12px;
  }
  .method-strip p {
    font-size: 10px;
  }
  .version-pill {
    display: none;
  }
  .notice .text-button {
    font-size: 11px;
  }
  .toast {
    left: calc(50% + 92px);
  }
}
@media (max-width: 640px) {
  .sidebar {
    position: relative;
    width: auto;
    padding: 15px 18px 0;
  }
  .brand {
    font-size: 28px;
    margin: 0 0 15px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    padding: 6px;
  }
  .workspace-label,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    margin: 0 -7px;
  }
  .nav-link {
    white-space: nowrap;
    min-height: 43px;
    padding: 11px 8px;
    font-size: 11px;
    gap: 6px;
    border-radius: 7px 7px 0 0;
  }
  .nav-link svg {
    width: 14px;
    height: 14px;
  }
  .nav-link.active {
    background: #303052;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 58px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 10px;
  }
  .connection-badge {
    font-size: 10px;
    padding: 7px;
  }
  .connection-badge svg {
    display: none;
  }
  main {
    padding: 28px 18px 0;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .tabs {
    gap: 21px;
    min-height: 57px;
    padding-inline: 20px;
  }
  .tabs button {
    font-size: 11px;
  }
  .tabs button svg {
    width: 14px;
    height: 14px;
  }
  #lookup-form {
    padding: 22px 20px;
  }
  .field label span {
    font-size: 10px;
  }
  .notice {
    align-items: flex-start;
    gap: 9px;
    flex-wrap: wrap;
  }
  .notice > svg {
    width: 17px;
    height: 17px;
    margin-top: 3px;
  }
  .notice > div {
    flex: 1;
  }
  .notice .text-button {
    margin-left: 26px;
  }
  .method-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
  }
  .method-strip p {
    font-size: 11px;
  }
  .method-strip strong {
    display: inline;
    margin-right: 9px;
  }
  .method-strip > div > span {
    font-size: 10px;
  }
  .results-heading > div {
    gap: 10px;
  }
  .session-label {
    display: none;
  }
  .result-item {
    padding: 20px 16px;
  }
  .result-main {
    gap: 10px;
  }
  .result-avatar {
    display: none;
  }
  .result-name {
    font-size: 13px;
  }
  .result-sub {
    font-size: 11px;
  }
  .bulk-panel,
  .docs-intro,
  .status-guide,
  .endpoint-panel,
  .integration-code {
    padding: 22px 18px;
  }
  .section-top {
    flex-direction: column;
    gap: 0;
  }
  .section-top .text-button {
    margin-bottom: 16px;
  }
  .bulk-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .dropzone {
    padding: 28px 12px;
  }
  .job {
    padding: 18px;
  }
  .job-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .job-title {
    font-size: 13px;
  }
  .job-actions {
    margin: 7px 0;
  }
  .toast {
    left: 50%;
  }
  footer {
    font-size: 9px;
    gap: 15px;
  }
  footer > span:last-child {
    display: none;
  }
  dialog {
    padding: 25px 20px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}
.field label,
.tabs button,
.nav-link,
.text-button,
.form-intro p,
.checkbox,
.connection-badge {
  font-size: 14px;
}
.page-heading p {
  font-size: 16px;
}
.result-name,
.job-title {
  font-size: 16px;
}
.result-sub,
.result-reason,
.empty-state p {
  font-size: 14px;
}
.empty-state h3 {
  font-size: 16px;
}
.api-preview > p,
.api-link,
.endpoint p,
.docs-intro p,
.bulk-controls label {
  font-size: 14px;
}
.form-footnote {
  font-size: 12px;
}
.progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  appearance: none;
}
.progress::-webkit-progress-bar {
  background: #eeedf6;
  border-radius: 5px;
}
.progress::-webkit-progress-value {
  background: #8d87f0;
  border-radius: 5px;
}
.progress::-moz-progress-bar {
  background: #8d87f0;
  border-radius: 5px;
}
.tabs {
  flex-wrap: wrap;
  gap: 10px 20px;
}
.nav-link {
  line-height: 1.5;
}
.api-features {
  font-size: 12px;
}
.field label span {
  font-size: 12px;
}
.form-options {
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .nav-link {
    font-size: 12px;
  }
  .tabs {
    gap: 10px 15px;
  }
  .tabs button {
    font-size: 12px;
  }
  .connection-badge {
    font-size: 12px;
  }
  .notice .text-button {
    font-size: 12px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
  }
  .result-main {
    flex-wrap: wrap;
  }
  .result-main .badge {
    margin-left: 0;
  }
  .page-heading p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.candidate-list { margin: 14px 0; border-top: 1px solid var(--border, #e5e7eb); }
.candidate-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border, #e5e7eb); }
.candidate-row > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.candidate-row strong { font-size: 14px; }
.candidate-row a { color: inherit; text-decoration: underline; }
.candidate-row .badge, .candidate-row button { flex-shrink: 0; }
