.roam-api-docs {
	--roam-docs-bg-primary: var(--background-primary, #ffffff);
	--roam-docs-bg-secondary: var(--background-secondary, #f8f8f8);
	--roam-docs-bg-tertiary: var(--background-tertiary, #f6f7f7);
	--roam-docs-text-primary: var(--text-primary, #171719);
	--roam-docs-text-secondary: var(--text-secondary, #003c25);
	--roam-docs-border-primary: var(--border-primary, #e5e7eb);
	--roam-docs-border-secondary: var(--border-secondary, #d1d5db);
	--roam-docs-link: var(--link, #4477fa);
	--roam-docs-button-bg: var(--button-background-primary, #171719);
	--roam-docs-button-text: var(--button-text-primary, #ffffff);
	--roam-docs-button-bg-hover: var(--button-background-primary-hover, #003c25);
	--roam-docs-button-text-hover: var(--button-text-primary-hover, #ffffff);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 1rem 0;
}

.roam-api-docs .swagger-ui {
	font-family: "Nunito Sans", Arial, sans-serif;
	color: var(--roam-docs-text-primary);
}

.roam-api-docs .swagger-ui .info {
	margin: 0 0 1.5rem;
}

.roam-api-docs .swagger-ui .info .title,
.roam-api-docs .swagger-ui .info h1,
.roam-api-docs .swagger-ui .info h2 {
	color: var(--roam-docs-text-secondary);
	margin-bottom: 16px;
}

.roam-api-docs .swagger-ui .info .url,
.roam-api-docs .swagger-ui .download-url-wrapper {
	display: none;
}

.roam-api-docs .swagger-ui .info .version,
.roam-api-docs .swagger-ui .info .version-stamp {
	display: none;
}

.roam-api-docs .swagger-ui .info .title > span,
.roam-api-docs .swagger-ui .info .title > span small,
.roam-api-docs .swagger-ui .info .title > span pre {
	display: none !important;
}

.roam-api-docs .swagger-ui .info a,
.roam-api-docs .swagger-ui a.nostyle,
.roam-api-docs .swagger-ui a {
	color: var(--roam-docs-link);
}

.roam-api-docs .swagger-ui .scheme-container {
	display: none;
}

.roam-api-docs .swagger-ui .scheme-container fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.roam-api-docs .swagger-ui .scheme-container legend {
	display: inline-block;
	margin: 0 0 8px;
	padding: 0 8px;
	background: var(--roam-docs-bg-tertiary);
	color: var(--roam-docs-text-primary);
	line-height: 1.2;
}

.roam-api-docs .swagger-ui .opblock {
	background: var(--roam-docs-bg-primary);
	border: 1px solid var(--roam-docs-border-primary);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 14px;
}

.roam-api-docs .swagger-ui .opblock .opblock-summary {
	border-bottom: 1px solid var(--roam-docs-border-primary);
}

.roam-api-docs .swagger-ui .opblock .opblock-summary-method {
	border-radius: 999px;
	min-width: 72px;
}

.roam-api-docs .swagger-ui .opblock .opblock-section-header {
	background: var(--roam-docs-bg-tertiary);
	box-shadow: none;
}

.roam-api-docs .swagger-ui .responses-inner h4,
.roam-api-docs .swagger-ui .responses-inner h5,
.roam-api-docs .swagger-ui .opblock-description-wrapper p,
.roam-api-docs .swagger-ui .response-col_status,
.roam-api-docs .swagger-ui .tab li,
.roam-api-docs .swagger-ui label,
.roam-api-docs .swagger-ui .parameter__name {
	color: var(--roam-docs-text-primary);
}

.roam-api-docs .swagger-ui input[type="text"],
.roam-api-docs .swagger-ui input[type="password"],
.roam-api-docs .swagger-ui input[type="search"],
.roam-api-docs .swagger-ui input[type="email"],
.roam-api-docs .swagger-ui textarea,
.roam-api-docs .swagger-ui select {
	border-radius: 12px;
	border: 1px solid var(--roam-docs-border-secondary);
	background: var(--roam-docs-bg-primary);
	color: var(--roam-docs-text-primary);
}

.roam-api-docs .swagger-ui .btn,
.roam-api-docs .swagger-ui .btn.execute,
.roam-api-docs .swagger-ui .authorize,
.roam-api-docs .swagger-ui .btn.authorize {
	border-radius: 999px;
	border: 1px solid var(--roam-docs-border-secondary);
	background: var(--roam-docs-button-bg);
	color: var(--roam-docs-button-text);
	transition: 0.3s all ease-in-out;
}

.roam-api-docs .swagger-ui .btn:hover,
.roam-api-docs .swagger-ui .btn.execute:hover,
.roam-api-docs .swagger-ui .authorize:hover,
.roam-api-docs .swagger-ui .btn.authorize:hover {
	background: var(--roam-docs-button-bg-hover);
	color: var(--roam-docs-button-text-hover);
}

.roam-api-docs .swagger-ui table tbody tr td,
.roam-api-docs .swagger-ui table thead tr th {
	border-color: var(--roam-docs-border-primary);
}

.roam-api-docs .swagger-ui .parameters-container {
	overflow-x: auto;
}

.roam-api-docs .swagger-ui .parameters-container table {
	width: 100%;
	table-layout: auto;
}

.roam-api-docs .swagger-ui .parameters-container table th,
.roam-api-docs .swagger-ui .parameters-container table td {
	padding: 10px 12px;
	vertical-align: top;
}

.roam-api-docs .swagger-ui .parameters-container .parameters-col_name {
	min-width: 170px;
}

.roam-api-docs .swagger-ui .parameters-container .parameters-col_description {
	min-width: 260px;
}

.roam-api-docs .swagger-ui .model-box,
.roam-api-docs .swagger-ui section.models {
	background: var(--roam-docs-bg-secondary);
	border: 1px solid var(--roam-docs-border-primary);
	border-radius: 20px;
}

.roam-api-docs .swagger-ui .microlight,
.roam-api-docs .swagger-ui pre,
.roam-api-docs .swagger-response {
	background: var(--roam-docs-bg-tertiary);
	border-radius: 12px;
}

.roam-api-docs .swagger-op {
	border: 1px solid var(--roam-docs-border-primary);
	border-radius: 12px;
	padding: 0.75rem;
	margin-bottom: 0.75rem;
	background: var(--roam-docs-bg-primary);
}

.roam-api-docs .swagger-op form {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--roam-docs-border-primary);
}

.roam-api-docs .swagger-op label {
	display: block;
	font-size: 0.875rem;
	margin: 0.25rem 0;
}

.roam-api-docs .swagger-op input,
.roam-api-docs .swagger-op textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.25rem;
}

.roam-api-docs .swagger-op button {
	margin-top: 0.5rem;
}

.roam-api-docs .swagger-response {
	margin-top: 0.5rem;
	padding: 0.5rem;
	overflow: auto;
	font-size: 0.875rem;
}

.roam-api-docs .swagger-no-try .swagger-try-wrap {
	display: none;
}

@media screen and (max-width: 781px) {
	.roam-api-docs .swagger-ui .scheme-container,
	.roam-api-docs .swagger-ui .opblock {
		border-radius: 12px;
	}
}
