:root{color-scheme:light;--navy:#162147;--blue:#3353a7;--line:#dce4f0}*{box-sizing:border-box}body{margin:0;background:#f7f9fd;color:#17213d}.docs-home{display:block;padding:14px 24px;background:var(--navy);color:#fff;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none}.docs-home:focus-visible{outline:3px solid #ffcf6e;outline-offset:-4px}.swagger-ui{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.swagger-ui .topbar{display:none}.swagger-ui .info{margin:36px 0 22px}.swagger-ui .info .title{color:var(--navy)}.swagger-ui .scheme-container{box-shadow:none;border:1px solid var(--line);border-radius:12px}.swagger-ui .opblock-tag{color:var(--navy);border-bottom-color:var(--line)}.swagger-ui .opblock{border-radius:10px;box-shadow:none}.swagger-ui .btn.authorize{color:var(--blue);border-color:var(--blue)}.swagger-ui .btn.execute{background:var(--blue);border-color:var(--blue)}.swagger-ui input,.swagger-ui textarea,.swagger-ui select{font-size:16px}@media(max-width:640px){.docs-home{padding-inline:16px}.swagger-ui .wrapper{padding-inline:12px}.swagger-ui .info{margin-top:24px}.swagger-ui .opblock .opblock-summary-method{min-width:72px}.swagger-ui .opblock-summary-path{font-size:12px}}

/* Explicit light surfaces avoid native dark controls and unreadable model buttons. */
.swagger-ui{color:#26334b;font-size:15px;line-height:1.5}
.swagger-ui .wrapper{max-width:1280px}
.swagger-ui .info .title{font-size:30px;line-height:1.25}
.swagger-ui .info .title small{vertical-align:middle;font-size:12px}
.swagger-ui .info p,.swagger-ui .info li{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.swagger-ui .info code{color:#354b8c;background:#edf1fa;padding:2px 5px}
.swagger-ui .scheme-container{padding:20px 0;background:#fff}
.swagger-ui .servers>label{display:grid;gap:8px;font-size:14px}
.swagger-ui select{appearance:none;-webkit-appearance:none;min-height:40px;max-width:100%;padding:8px 36px 8px 12px;border:1px solid #9eacc2;border-radius:6px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233b4c6b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;box-shadow:none;color:#26334b;font-size:14px;font-weight:500;line-height:1.4}
.swagger-ui select option{background:#fff;color:#26334b}
.swagger-ui input[type=text],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui textarea{border:1px solid #9eacc2;border-radius:6px;background:#fff;color:#26334b;font-size:14px;line-height:1.5;padding:10px 12px}
.swagger-ui input::placeholder,.swagger-ui textarea::placeholder{color:#63718a;opacity:1}
.swagger-ui :is(input,textarea,select,button,a):focus-visible{outline:2px solid #335bdd;outline-offset:3px}
.swagger-ui .opblock-tag{font-size:21px;line-height:1.4}
.swagger-ui .opblock-tag small{font-size:14px;line-height:1.5}
.swagger-ui section.models{border:1px solid #c6d0e0;border-radius:10px;background:#fff}
.swagger-ui section.models .model-container{margin:0 16px 12px;background:#f3f6fb;border:1px solid #d6dfed;border-radius:7px}
.swagger-ui section.models .model-container:hover{background:#eaf0fa}
.swagger-ui .model-box{padding:14px 16px;background:transparent;border-radius:7px}
.swagger-ui .model,.swagger-ui .model-title{color:#26334b;font-size:15px}
.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .model-toggle{border:0;background:transparent;box-shadow:none;color:#26334b;font:inherit;text-align:left;cursor:pointer}
.swagger-ui .model-box-control{padding:0;line-height:1.5}
.swagger-ui .model-toggle{margin-inline:6px}
.swagger-ui .model .model-jump-to-path{color:#3353a7;opacity:1}
.swagger-ui .model .property.primitive{color:#4655a3}
.swagger-ui .prop-type{color:#4655a3}
.swagger-ui .prop-format{color:#56647a}
.swagger-ui .btn{box-shadow:none}
.swagger-ui .model-hint{color:#52617a;background:transparent;opacity:1;font-size:12px}
@media(max-width:640px){.swagger-ui .info .title{font-size:24px}.swagger-ui .scheme-container .schemes{gap:16px}.swagger-ui .servers{min-width:0;width:100%}.swagger-ui .servers>label select{width:100%}.swagger-ui .opblock-tag{flex-wrap:wrap}.swagger-ui .opblock-tag small{flex-basis:100%}.swagger-ui section.models .model-container{margin-inline:8px}}
/* OpenAPI 3.1 renders JSON Schema controls separately from legacy models. */
.swagger-ui .json-schema-2020-12{background:#f3f6fb;border:1px solid #d6dfed;border-radius:7px;padding:14px 16px}
.swagger-ui .json-schema-2020-12--embedded{background:transparent;border:0;padding:0}
.swagger-ui .json-schema-2020-12-accordion,.swagger-ui .json-schema-2020-12-expand-deep-button{appearance:none;background:transparent;color:#354b8c;border:0;box-shadow:none;font-family:inherit;cursor:pointer;line-height:1.5}
.swagger-ui .json-schema-2020-12-accordion{color:#26334b;padding:2px 0}
.swagger-ui .json-schema-2020-12-expand-deep-button{margin-left:10px;padding:3px 7px;border-radius:4px;font-size:13px}
.swagger-ui .json-schema-2020-12-expand-deep-button:hover{background:#dce6f7;color:#233d78}
.swagger-ui .json-schema-2020-12__title{color:#26334b;line-height:1.5}
.swagger-ui .json-schema-2020-12-keyword--description,.swagger-ui .json-schema-2020-12__attribute--muted{color:#52617a}

.api-header{background:var(--navy);color:#fff}.api-header .wrap{display:flex;justify-content:space-between;align-items:center;padding-right:20px}.api-header .theme-toggle{color:#dce4f0}
:root[data-theme=dark]{--navy:#171e2e;--blue:#8cafff}
:root[data-theme=dark] body{background:var(--bg);color:var(--ink)}
:root[data-theme=dark] .swagger-ui{color:var(--ink)}
:root[data-theme=dark] .swagger-ui :is(.info .title,.info p,.info li,.info a,.info h2,.info h3,.info h4,.opblock-tag,.opblock-tag small,.opblock-description-wrapper p,.opblock-external-docs-wrapper p,.opblock-title_normal,.opblock-summary-description,.opblock-summary-path,.parameter__name,.parameter__type,.parameter__in,.parameter__deprecated,.parameters-col_description p,.response-col_status,.response-col_description,.responses-inner h4,.responses-inner h5,table thead tr th,table thead tr td,.tab li,.model,.model-title,.model-toggle,.prop-type,.prop-format,.servers-title,.servers>label,.btn,.authorization__btn,.auth-container h4,.auth-container p,.auth-container label,.dialog-ux .modal-ux-header h3,.dialog-ux .modal-ux-content h4,.dialog-ux .modal-ux-content p,section.models h4){color:var(--ink)}
:root[data-theme=dark] .swagger-ui :is(.scheme-container,.opblock .opblock-section-header,.model-box,.model-container,.dialog-ux .modal-ux,section.models){background:var(--surface);border-color:var(--line);box-shadow:none}
:root[data-theme=dark] .swagger-ui :is(select,input,textarea){background:var(--surface-soft);color:var(--ink);border-color:var(--border-color)}
:root[data-theme=dark] .swagger-ui .opblock-summary svg,:root[data-theme=dark] .swagger-ui .opblock-tag svg,:root[data-theme=dark] .swagger-ui .authorization__btn svg,:root[data-theme=dark] .swagger-ui .dialog-ux .close-modal svg{fill:var(--ink)}
:root[data-theme=dark] .swagger-ui .btn.execute{background:#2958db;color:#fff;border-color:#2958db}
:root[data-theme=dark] .swagger-ui .btn.authorize{color:#8cafff;border-color:#8cafff}
:root[data-theme=dark] .swagger-ui .opblock .opblock-summary-method{color:#fff}
:root[data-theme=dark] .swagger-ui .model-toggle:after{filter:invert(1)}
:root[data-theme=dark] .swagger-ui .renderedMarkdown code{background:#28354e;color:#dce4ff}
:root[data-theme=dark] .swagger-ui .dialog-ux .modal-ux{border-color:var(--line)}
:root[data-theme=dark] .swagger-ui :is(.json-schema-2020-12,section.models .model-container){background:var(--surface-soft);border-color:var(--line)}
:root[data-theme=dark] .swagger-ui .json-schema-2020-12--embedded{background:transparent}
:root[data-theme=dark] .swagger-ui :is(.json-schema-2020-12-accordion,.json-schema-2020-12-expand-deep-button,.json-schema-2020-12__title,.models-control,.model-box-control,.model-hint){color:var(--ink)}
:root[data-theme=dark] .swagger-ui :is(.json-schema-2020-12-keyword--description,.json-schema-2020-12__attribute--muted){color:var(--muted)}
:root[data-theme=dark] .swagger-ui .json-schema-2020-12-expand-deep-button:hover{background:var(--accent-surface);color:var(--accent-text)}
:root[data-theme=dark] .swagger-ui select option{background:var(--surface);color:var(--ink)}
:root[data-theme=dark] .swagger-ui .info code{background:var(--surface-soft);color:var(--accent-text)}
.swagger-ui :is(button,a):focus-visible{outline:2px solid #9eacc2;outline-offset:2px}
.docs-home:focus-visible{outline:2px solid #9eacc2;outline-offset:-3px}

/* Header links to the recommended native PII API v2; the theme switch stays at the right end. */
.api-header .wrap{flex-wrap:wrap;justify-content:flex-start;column-gap:8px}
.api-header .theme-switch{margin-left:auto}
.api-header .docs-v2{display:flex;flex-wrap:wrap;gap:4px 18px;padding:10px 12px}
.api-header .docs-v2 a{color:#dfe6ff;font:500 14px/1.4 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
.api-header .docs-v2 a:focus-visible{outline:2px solid #9eacc2;outline-offset:2px}
@media(max-width:640px){.api-header .docs-v2{order:3;width:100%;padding:0 16px 12px}}
