.dev-docs {
	min-width: 0;
}

.dev-docs :not(pre) > code {
	padding: 1px 6px;
	border-radius: 6px;
	border: 1px solid var(--cp-border);
	background: var(--cp-surface-3);
	color: var(--cp-text-1);
	font-size: 12.5px;
	overflow-wrap: anywhere;
}

.dev-docs a:not(.btn):not(.side-nav__link) {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--cp-accent);
}

.dev-break {
	word-break: break-all;
}

.dev-layout {
	grid-template-columns: 250px minmax(0, 1fr);
}

.dev-nav {
	max-height: calc(100vh - var(--cp-header-h) - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.dev-nav__path {
	min-width: 0;
	font-family: var(--cp-font-mono);
	font-size: 12.5px;
	overflow-wrap: anywhere;
}

.dev-main {
	display: flex;
	flex-direction: column;
	gap: 48px;
	min-width: 0;
}

.dev-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.dev-section-head {
	margin-bottom: 4px;
	max-width: none;
}

.dev-prose {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--cp-text-2);
	font-size: 14px;
	line-height: 1.6;
}

.dev-note {
	font-size: 13px;
}

.dev-label {
	margin: 4px 0 -4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cp-text-2);
}

.dev-endpoint {
	gap: 14px;
}

.dev-endpoint__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cp-border);
}

.dev-endpoint__route {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.dev-docs .dev-path {
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.dev-method {
	flex: none;
	min-width: 52px;
	justify-content: center;
	font-family: var(--cp-font-mono);
}

.dev-method--get {
	background: rgba(96, 165, 250, .12);
	border-color: rgba(96, 165, 250, .45);
	color: #bfdbfe;
}

.dev-method--post {
	background: var(--cp-success-soft);
	border-color: rgba(34, 197, 94, .4);
	color: #86efac;
}

.dev-notes {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 18px;
	color: var(--cp-text-2);
	font-size: 13px;
	line-height: 1.55;
}

.dev-notes li::marker {
	color: var(--cp-accent-text);
}

.dev-table td {
	vertical-align: top;
	line-height: 1.5;
}

.dev-table td:first-child {
	white-space: nowrap;
}

.dev-table .dev-nowrap {
	white-space: nowrap;
	color: var(--cp-text-2);
}

.dev-code {
	min-width: 0;
	max-width: 100%;
	border: 1px solid var(--cp-border);
	border-radius: var(--cp-radius-sm);
	background: var(--cp-bg);
	overflow: hidden;
}

.dev-code__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 6px 6px 14px;
	border-bottom: 1px solid var(--cp-border);
	background: var(--cp-surface-2);
}

.dev-code__lang {
	font-family: var(--cp-font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cp-text-2);
}

.dev-code pre {
	margin: 0;
	padding: 14px 16px;
	max-width: 100%;
	overflow-x: auto;
	white-space: pre;
	tab-size: 2;
	color: var(--cp-text-1);
	font-size: 12.5px;
	line-height: 1.65;
	-webkit-overflow-scrolling: touch;
}

.dev-code pre code {
	font-family: var(--cp-font-mono);
}

.dev-copy {
	min-height: 28px;
	padding: 4px 10px;
	font-size: 12px;
}

.dev-copy.is-copied {
	border-color: rgba(34, 197, 94, .45);
	color: #86efac;
}

.dev-copy.is-failed {
	border-color: rgba(239, 68, 68, .45);
	color: #fca5a5;
}

.dev-flow {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dev-flow__step {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: start;
	gap: 16px;
}

.dev-flow__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.dev-docs a:focus-visible,
.dev-docs button:focus-visible {
	outline: 2px solid var(--cp-focus);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.dev-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.dev-nav {
		max-height: none;
		overflow: visible;
	}

	.dev-nav .side-nav__list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

@media (max-width: 600px) {
	.dev-main {
		gap: 36px;
	}

	.dev-flow__step {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.dev-code pre {
		padding: 12px;
		font-size: 12px;
	}

	.dev-docs .dev-path {
		font-size: 14px;
	}

	.dev-nav .side-nav__list {
		grid-template-columns: minmax(0, 1fr);
	}
}
