:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0; background: #f6f7f9; color: #1a1d21;
}
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: #fff; border-bottom: 1px solid #e2e5e9;
}
header h1 { font-size: 18px; margin: 0; }
header nav a { margin-left: 16px; }
main { max-width: 820px; margin: 0 auto; padding: 24px 24px 64px; }
section {
  background: #fff; border: 1px solid #e2e5e9; border-radius: 8px;
  padding: 20px 24px; margin-bottom: 20px;
}
h2 { font-size: 17px; margin-top: 0; }
h3 { font-size: 14px; margin: 20px 0 8px; }
p, li { line-height: 1.6; font-size: 14.5px; }
ol, ul { padding-left: 22px; }
li { margin-bottom: 8px; }
code {
  background: #eef0f2; padding: 1px 5px; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 0.9em;
}
.code-box { position: relative; margin: 10px 0; }
.code-box pre {
  background: #1a1d21; color: #e6e8eb; padding: 14px 16px; padding-top: 40px;
  border-radius: 8px; overflow-x: auto; font-size: 13px; line-height: 1.5; margin: 0;
}
.code-box pre code { background: none; padding: 0; color: inherit; }
.copy-btn {
  position: absolute; top: 8px; right: 8px; background: #33373d; color: #e6e8eb;
  border: 1px solid #494e56; border-radius: 6px; padding: 5px 10px; font-size: 12px;
  cursor: pointer; font-family: inherit;
}
.copy-btn:hover { background: #40454c; }
.copy-btn.copied { background: #16803c; border-color: #16803c; color: #fff; }
.file-label {
  position: absolute; top: 11px; left: 16px; color: #9aa1ab; font-size: 12px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
a { color: #2557d6; }
.muted { color: #6b7280; font-size: 13px; }
.callout {
  background: #fff8e1; border: 1px solid #f2d980; border-radius: 8px;
  padding: 12px 16px; font-size: 14px; margin-bottom: 20px;
}
ol.steps { list-style: none; padding-left: 4px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px; background: #2557d6; color: #fff;
  font-size: 12px; font-weight: 600; margin-right: 8px; flex: none;
}
/* Client picker cards on the docs index */
.client-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 4px;
}
.client-card {
  display: block; border: 1px solid #e2e5e9; border-radius: 8px; padding: 16px 18px;
  text-decoration: none; color: inherit; background: #fafbfc; transition: border-color .15s, background .15s;
}
.client-card:hover { border-color: #2557d6; background: #f2f6ff; }
.client-card h3 { margin: 0 0 4px; font-size: 15px; color: #1a1d21; }
.client-card p { margin: 0; font-size: 13px; color: #6b7280; line-height: 1.5; }
.back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; }
details.advanced { margin-top: 4px; }
details.advanced summary {
  cursor: pointer; font-size: 14.5px; color: #2557d6; font-weight: 500; padding: 4px 0;
}
details.advanced[open] summary { margin-bottom: 12px; }
