:root { color-scheme: light; }

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 0; }
[hidden] { display: none !important; }

body {
  background: #e9ecef;
  color: #252a2e;
  font-family: "Titillium Web", system-ui, sans-serif;
  padding: 40px 0;
}
a { color: #005ad1; text-decoration: none; }
a:hover { color: #0045cd; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid #005ad1; outline-offset: 2px; }

button { font: inherit; }

.page-shell {
  background: #fff;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgb(37 42 46 / 9%);
  margin: 0 auto;
  overflow: hidden;
  width: min(900px, calc(100% - 48px));
}

.site-header {
  align-items: center;
  background: #272c34;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 11px 24px;
}

.brand { align-items: center; display: flex; gap: 16px; }
.brand img { display: block; height: 24px; width: 24px; }
.brand-divider { background: rgb(255 255 255 / 16%); height: 18px; width: 1px; }
.brand-name { color: #fff; font-size: 12.5px; font-weight: 600; }
.version { align-items: center; color: rgb(255 255 255 / 60%); display: flex; font: 400 11px "IBM Plex Mono", monospace; gap: 6px; margin-left: auto; }
.status-dot { background: #00af00; border-radius: 50%; height: 6px; transition: background-color 160ms ease; width: 6px; }
.status-dot.status-dot-unavailable { background: #e53935; }
.new-version-badge { background: #00af00; border-radius: 999px; color: #fff; font: 700 9px "Titillium Web", system-ui, sans-serif; letter-spacing: .05em; line-height: 1; padding: 3px 6px; }

.hero { background: linear-gradient(180deg, #f8fbff, #e6f0fb); border-bottom: 1px solid #d8e4f2; padding: 26px 24px 22px; }
h1 { color: #252a2e; font: 500 26px/1.25 Ubuntu, sans-serif; letter-spacing: -.4px; margin: 0 0 6px; }
.blue { color: #005ad1; }
.green { color: #00c500; }
.hero-copy { color: #5b636b; font-size: 13px; line-height: 1.6; margin: 0 0 14px; max-width: 78ch; }
.hero-copy-mobile { display: none; }
.capabilities { display: flex; flex-wrap: wrap; gap: 5px; }
.capabilities-mobile { display: none; }
.capabilities span { background: #fff; border: 1px solid #dde8f3; border-radius: 4px; color: #4c545c; font-size: 11px; padding: 3px 8px; }

.page-body { background: #f7f9fb; padding: 22px 24px 26px; }
.client-picker { margin-bottom: 18px; }
.eyebrow { color: #8b949c; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: 1.3px; margin-bottom: 8px; }
.client-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.client-tab { align-items: center; background: #fff; border: 1px solid #dde4ea; border-radius: 8px; color: #3d454c; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 600; gap: 9px; letter-spacing: .6px; min-height: 42px; padding: 9px 15px; text-transform: uppercase; }
.client-tab[aria-selected="true"] { background: #005ad1; border-color: #005ad1; color: #fff; }
.monogram { align-items: center; background: #eff4f9; border-radius: 5px; color: #5b636b; display: flex; font: 600 9.5px "IBM Plex Mono", monospace; height: 20px; justify-content: center; letter-spacing: normal; text-transform: none; width: 20px; }
.client-tab[aria-selected="true"] .monogram { background: rgb(255 255 255 / 22%); color: #fff; }

.section-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 12px; }
h2 { color: #252a2e; font-size: 16px; font-weight: 600; margin: 0; }
.section-heading > span { color: #8b949c; font: 400 11.5px "IBM Plex Mono", monospace; }
.setup-panel { display: flex; flex-direction: column; gap: 14px; }
.step-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { background: #fff; border: 1px solid #dde4ea; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 13px; }
.step-label { align-items: center; color: #a2aab1; display: flex; font: 600 10px "IBM Plex Mono", monospace; gap: 8px; letter-spacing: 1px; }
.step-label > span { align-items: center; background: #272c34; border-radius: 6px; color: #fff; display: flex; font: 600 11px "IBM Plex Mono", monospace; height: 22px; justify-content: center; letter-spacing: normal; width: 22px; }
.step-label > .complete { background: #00af00; }
.step p { color: #3d454c; font-size: 12.5px; line-height: 1.6; margin: 0; }
.code-row { align-items: stretch; background: #1c2024; border-radius: 6px; display: flex; min-width: 0; overflow: hidden; }
.code-row code, .copy-value { background: transparent; border: 0; color: #dbe6f0; flex: 1; font: 400 11px/1.4 "IBM Plex Mono", monospace; min-width: 0; padding: 8px 10px; white-space: pre-wrap; word-break: break-all; }
.copy-value { outline-offset: -2px; }
.copy-button { background: #fa0053; border: 0; color: #fff; cursor: pointer; flex: none; font-size: 10px; font-weight: 600; letter-spacing: .6px; padding: 0 10px; text-transform: uppercase; }
.copy-button:hover { background: #d10045; }
.setup-field { color: #6c757d; display: flex; flex-direction: column; font: 600 10px "IBM Plex Mono", monospace; gap: 4px; letter-spacing: .5px; }
.chips { display: flex; flex-direction: column; gap: 4px; }
.chips span { background: #f4f7fa; border: 1px solid #e8edf1; border-radius: 5px; color: #252a2e; font-size: 11px; line-height: 1.45; padding: 5px 8px; }

.troubleshooting { background: #fff; border: 1px solid #dde4ea; border-radius: 8px; margin-top: 10px; overflow: hidden; }
.troubleshooting-toggle { align-items: center; background: none; border: 0; color: #252a2e; cursor: pointer; display: flex; font-size: 12px; font-weight: 600; gap: 10px; justify-content: space-between; padding: 11px 14px; text-align: left; width: 100%; }
.troubleshooting-toggle:hover { background: #f9fbfc; }
.toggle-glyph { color: #005ad1; font: 400 15px/1 "IBM Plex Mono", monospace; }
.troubleshooting-panel { border-top: 1px solid #e8edf1; padding: 11px 14px 13px; }
.troubleshooting-panel p { color: #6c757d; font-size: 12px; line-height: 1.7; margin: 0; }
.inline-code { background: #f1f4f7; border-radius: 3px; color: #252a2e; font: 400 11px "IBM Plex Mono", monospace; padding: 1px 5px; }

.help-card { background: #fff; border: 1px solid #dde4ea; border-radius: 8px; margin-top: 10px; max-width: 340px; padding: 12px; }
.help-card strong { color: #272c34; display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 5px; }
.help-card p { color: #6c757d; font-size: 12px; line-height: 1.6; margin: 0; }

.auth-card { background: #fff; border: 1px solid #dde4ea; border-radius: 8px; max-width: 560px; padding: 15px 16px; }
.auth-card p { color: #3d454c; font-size: 13px; line-height: 1.6; margin: 0 0 10px; }
.auth-card p:last-child { margin-bottom: 0; }
.auth-actions { display: flex; gap: 10px; margin: 14px 0 0; }
.primary-button { align-items: center; background: #005ad1; border: 1px solid #005ad1; border-radius: 8px; color: #fff; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 600; letter-spacing: .6px; min-height: 42px; padding: 9px 18px; text-transform: uppercase; }
.primary-button:hover { background: #0047a8; border-color: #0047a8; color: #fff; text-decoration: none; }
.auth-details { border-top: 1px solid #e8edf1; margin-top: 16px; padding-top: 12px; }
.auth-details .code-row { margin-bottom: 8px; }
.auth-note { color: #6c757d; font-size: 12px; line-height: 1.6; }

.site-footer { align-items: center; background: #272c34; color: rgb(255 255 255 / 42%); display: flex; flex-wrap: wrap; font-size: 11.5px; gap: 12px; justify-content: space-between; padding: 16px 24px; }
.footer-links { align-items: center; display: flex; gap: 16px; }
.footer-links a { color: #fff; font-size: 12px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  body { padding: 0; }
  .page-shell { border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; width: 100%; }
  .site-header { gap: 9px; padding: 11px 15px; }
  .brand { gap: 8px; order: 1; }
  .brand img { height: 22px; width: 22px; }
  .brand-divider { display: none; }
  .brand-name { color: rgb(255 255 255 / 70%); font-size: 12px; }
  .brand-name::before { content: "· "; }
  .version { font-size: 10.5px; gap: 5px; order: 2; }
  .status-dot { height: 5px; width: 5px; }
  .endpoint-field { flex-basis: 100%; order: 3; }
  .endpoint-value { font-size: 11.5px; padding: 7px 10px; }
  .hero { padding: 20px 15px 18px; }
  h1 { font-size: 21px; letter-spacing: -.3px; line-height: 1.3; }
  .hero-copy-desktop { display: none; }
  .hero-copy-mobile { display: block; font-size: 12.5px; margin-bottom: 0; }
  .capabilities-desktop { display: none; }
  .capabilities-mobile { display: flex; margin-bottom: 16px; }
  .page-body { flex: 1; padding: 18px 15px 22px; }
  .client-picker { margin-bottom: 16px; }
  .eyebrow { margin-bottom: 7px; }
  .client-tabs { flex-direction: column; gap: 6px; }
  .client-tab { font-size: 12.5px; padding: 9px 11px; text-align: left; width: 100%; }
  .monogram { border-radius: 4px; font-size: 9px; height: 19px; width: 19px; }
  .section-heading { flex-wrap: nowrap; margin-bottom: 10px; }
  h2 { font-size: 15px; }
  .section-heading > span { font-size: 11px; }
  .desktop-location { display: none; }
  .setup-panel { gap: 12px; }
  .step-grid { display: flex; flex-direction: column; gap: 8px; }
  .help-card { max-width: none; padding: 11px 12px; }
  .help-card strong { font-size: 11px; margin-bottom: 4px; }
  .help-card p { font-size: 11.5px; }
  .auth-card { max-width: none; padding: 13px 14px; }
  .site-footer { align-items: flex-start; flex-direction: column-reverse; font-size: 11px; gap: 8px; padding: 16px 15px; }
  .footer-links { gap: 14px; }
}
