:root {
  color-scheme: light;
  --page: #f5f4f6;
  --surface: #fff;
  --ink: #19171b;
  --border: #dfdce1;
  --accent: #c00068;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #171418; --surface: #262127; --ink: #f7f3f6; --border: #4a414a; --accent: #ff66b7; }
}
body { background: var(--page); }
.swagger-ui, .swagger-ui .info .title, .swagger-ui .info p, .swagger-ui .info li,
.swagger-ui .opblock-tag, .swagger-ui .opblock .opblock-summary-description,
.swagger-ui .opblock .opblock-summary-path, .swagger-ui .opblock-description-wrapper p,
.swagger-ui .parameter__name, .swagger-ui .parameter__type, .swagger-ui .response-col_status,
.swagger-ui table thead tr th, .swagger-ui .responses-inner h4, .swagger-ui .responses-inner h5,
.swagger-ui section.models h4, .swagger-ui .model-title, .swagger-ui .model,
.swagger-ui .tab li, .swagger-ui label { color: var(--ink); }
.swagger-ui .info a, .swagger-ui .info a:visited { color: var(--accent); }
.swagger-ui .scheme-container, .swagger-ui .opblock .opblock-section-header,
.swagger-ui section.models, .swagger-ui input[type=text], .swagger-ui textarea,
.swagger-ui select { background: var(--surface); color: var(--ink); border-color: var(--border); }
.swagger-ui .scheme-container { box-shadow: none; }
.swagger-ui .opblock, .swagger-ui section.models { border-radius: 14px; }
.swagger-ui .btn { border-radius: 10px; color: var(--ink); border-color: var(--border); }
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui .response-col_description, .swagger-ui .response-col_links,
.swagger-ui .response-control-media-type__accept-message { color: var(--ink); }
.swagger-ui svg.arrow { fill: var(--ink); }
.swagger-ui :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
