/* Keep property toggles aligned in every schema, including future schemas. */
.swagger-ui table.model tr.property-row .model-toggle {
    top: 0;
    vertical-align: middle;
}

.docs-nav {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px max(20px, calc((100% - 1460px) / 2));
    border-bottom: 1px solid #dfe5e2;
    background: #fff;
    font-family: Arial, sans-serif;
}
.docs-brand {
    color: #263b32;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}
.docs-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid #188052;
    border-radius: 6px;
    color: #fff;
    background: #188052;
    font: 600 14px/1.4 Arial, sans-serif;
    text-decoration: none;
}
.docs-button:hover { background: #126640; }
.docs-back { color: #166c47; font-size: 14px; text-underline-offset: 3px; }
.docs-nav a:focus-visible, .faq-content a:focus-visible {
    outline: 3px solid #366bdf;
    outline-offset: 4px;
}
.faq-page {
    margin: 0;
    background: #f6f8f7;
    color: #263b32;
    font: 16px/1.6 Arial, sans-serif;
}
.faq-content { max-width: 900px; margin: 64px auto; padding: 0 24px; }
.faq-label {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    border-radius: 4px;
    color: #496253;
    background: #e6eee9;
    font-size: 13px;
}
.faq-content h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.2; }
.faq-intro { margin: 16px 0 32px; color: #5a6b62; }
.faq-card { padding: 32px; border: 1px solid #dce5df; border-radius: 10px; background: #fff; }
.faq-card h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.3; }
.faq-card p { color: #526159; }
.faq-card .docs-button { margin-top: 12px; }
@media (max-width: 520px) {
    .docs-nav { align-items: flex-start; flex-direction: column; }
    .faq-content { margin: 36px auto; padding: 0 20px; }
    .faq-card { padding: 24px; }
}

.swagger-ui .clinic-domain { max-width: 560px; }
.swagger-ui .clinic-domain label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.swagger-ui .clinic-domain input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; }
.swagger-ui .clinic-domain p { margin: 10px 0 0; color: #526159; font-size: 13px; line-height: 1.5; }

.swagger-ui .spec-download { margin-top: 10px; }
.swagger-ui .spec-download p { margin: 6px 0 0; color: #526159; font-size: 13px; line-height: 1.5; }

/* Remove this rule to restore the specification URL field and Explore button. */
.swagger-ui .topbar .download-url-wrapper {
    display: none;
}

.swagger-ui .spec-download .spec-faq-link {
    margin-top: 16px;
    color: #fff;
    background: #188052;
    border-color: #188052;
    text-decoration: none;
}
.swagger-ui .spec-download .spec-faq-link:hover {
    color: #fff;
    background: #126640;
    border-color: #126640;
}

.faq-card { margin-bottom: 24px; scroll-margin-top: 24px; }
.faq-content a { color: #166c47; text-underline-offset: 3px; }
.faq-toc ol { margin: 0; padding-left: 24px; }
.faq-toc li { margin: 8px 0; }
.faq-content code { font-size: 0.9em; overflow-wrap: anywhere; }
.faq-content p code, .faq-content li code, .faq-content td code {
    padding: 2px 5px; border-radius: 3px; background: #edf2ef;
}
.faq-content pre {
    max-width: 100%; box-sizing: border-box; overflow-x: auto;
    padding: 20px; border-radius: 6px; background: #172c23; color: #e7f3ec;
    font-size: 14px; line-height: 1.6; tab-size: 2;
}
.faq-content pre code { overflow-wrap: normal; }
.faq-content pre:focus-visible { outline: 3px solid #366bdf; outline-offset: 3px; }
.faq-content .faq-status {
    padding: 12px 16px; border-left: 4px solid #b77715; border-radius: 4px;
    background: #fff4d9; color: #704705;
}
.faq-badge { padding: 4px 10px; border-radius: 4px; background: #e7eefc; color: #284f8e; }
.faq-table-wrap { max-width: 100%; overflow-x: auto; }
.faq-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.faq-content caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.faq-content th, .faq-content td { text-align: left; padding: 10px; border-bottom: 1px solid #dce5df; }
.faq-content summary { cursor: pointer; font-weight: 700; color: #166c47; }
.faq-content summary:focus-visible { outline: 3px solid #366bdf; outline-offset: 3px; }
.faq-top { display: inline-block; margin-top: 16px; font-size: 14px; }
.faq-links { margin-top: 20px; }

.faq-card { margin-bottom: 24px; scroll-margin-top: 24px; }
.faq-content a { color: #166c47; text-underline-offset: 3px; }
.faq-toc ol { margin: 0; padding-left: 24px; }
.faq-toc li { margin: 8px 0; }
.faq-content code { font-size: 0.9em; overflow-wrap: anywhere; }
.faq-content p code, .faq-content li code, .faq-content td code {
    padding: 2px 5px; border-radius: 3px; background: #edf2ef;
}
.faq-content pre {
    max-width: 100%; box-sizing: border-box; overflow-x: auto;
    padding: 20px; border-radius: 6px; background: #172c23; color: #e7f3ec;
    font-size: 14px; line-height: 1.6; tab-size: 2;
}
.faq-content pre code { overflow-wrap: normal; }
.faq-content pre:focus-visible { outline: 3px solid #366bdf; outline-offset: 3px; }
.faq-content .faq-status {
    padding: 12px 16px; border-left: 4px solid #b77715; border-radius: 4px;
    background: #fff4d9; color: #704705;
}
.faq-badge { padding: 4px 10px; border-radius: 4px; background: #e7eefc; color: #284f8e; }
.faq-table-wrap { max-width: 100%; overflow-x: auto; }
.faq-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.faq-content caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.faq-content th, .faq-content td { text-align: left; padding: 10px; border-bottom: 1px solid #dce5df; }
.faq-content summary { cursor: pointer; font-weight: 700; color: #166c47; }
.faq-content summary:focus-visible { outline: 3px solid #366bdf; outline-offset: 3px; }
.faq-top { display: inline-block; margin-top: 16px; font-size: 14px; }
.faq-links { margin-top: 20px; }
