/* Dasturchilar hujjatlari sahifasi (/developers.html). Umumiy uslub: /partner-hub.css */
.dv-layout { max-width: var(--ph-max); margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.dv-toc { position: sticky; top: 76px; align-self: start; padding: 28px 0; max-height: calc(100vh - 80px); overflow-y: auto; }
.dv-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dv-toc a { display: block; text-decoration: none; padding: 7px 10px; border-radius: 9px; color: var(--ph-muted); font-size: 14px; font-weight: 500; }
.dv-toc a:hover { background: var(--ph-surface-2); color: var(--ph-text); }
.dv-toc a[aria-current="true"] { background: var(--ph-surface); color: var(--ph-text); box-shadow: inset 0 0 0 1px var(--ph-border); }
.dv-main { min-width: 0; padding-bottom: 48px; }
.dv-hero-actions { margin-top: 20px; }
.dv-section { padding-top: 36px; border-top: 1px solid var(--ph-border); margin-top: 36px; }
.dv-section p, .dv-list li, .dv-steps li { max-width: 760px; }
.dv-list { padding-left: 20px; display: grid; gap: 8px; }
.dv-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 8px; }
.dv-steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 56px; background: var(--ph-surface); border: 1px solid var(--ph-border); border-radius: 14px; }
.dv-steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ph-ink); color: var(--ph-on-ink); font-weight: 700; font-size: 14px; }
.dv-changelog { padding-left: 20px; }
.dv-changelog time { font: 13px var(--ph-mono); color: var(--ph-muted); margin-right: 6px; }
.ph-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dv-search { flex: 1 1 320px; margin: 0; max-width: 480px; }

/* Endpoint kartochkalari */
.dv-endpoints { display: grid; gap: 12px; margin-top: 12px; }
.dv-group-title { margin: 18px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ph-muted); font-weight: 700; }
.dv-op { background: var(--ph-surface); border: 1px solid var(--ph-border); border-radius: 14px; overflow: hidden; }
.dv-op > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
.dv-op > summary::-webkit-details-marker { display: none; }
.dv-op[open] > summary { border-bottom: 1px solid var(--ph-border); }
.dv-method { font: 700 12px/1 var(--ph-mono); padding: 6px 8px; border-radius: 7px; min-width: 52px; text-align: center; letter-spacing: .02em; }
.dv-method-get { background: var(--ph-success-bg); color: var(--ph-success); }
.dv-method-post { background: var(--ph-accent); color: var(--ph-accent-ink); }
.dv-path { font: 600 14px/1.3 var(--ph-mono); overflow-wrap: anywhere; }
.dv-op-sum { color: var(--ph-muted); font-size: 14px; text-align: right; }
.dv-op-body { padding: 14px; display: grid; gap: 10px; font-size: 14px; }
.dv-op-body h4 { margin: 6px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ph-muted); }
.dv-scopes { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-empty { color: var(--ph-muted); font-style: italic; }

@media (max-width: 900px) {
  .dv-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dv-toc { position: static; max-height: none; padding: 12px 0 0; overflow-x: auto; }
  .dv-toc ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .dv-toc ol::-webkit-scrollbar { display: none; }
  .dv-toc a { white-space: nowrap; background: var(--ph-surface); box-shadow: inset 0 0 0 1px var(--ph-border); border-radius: 999px; padding: 7px 12px; }
  .dv-op > summary { grid-template-columns: auto minmax(0, 1fr); }
  .dv-op-sum { grid-column: 1 / -1; text-align: left; }
}
