:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f9;
  color: #17212b;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f5f7f9;
}

.site-header {
  min-height: 56px;
  color: #f8fafc;
  background: #17212b;
  border-bottom: 3px solid #e35d3f;
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: #17212b;
  background: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.section-name {
  color: #b9c4ce;
  font-size: 14px;
  border-left: 1px solid #46515b;
  padding-left: 18px;
}

.service-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dbe5dd;
  font-size: 13px;
  white-space: nowrap;
}

.service-state i {
  width: 8px;
  height: 8px;
  display: block;
  background: #43b66b;
  border-radius: 50%;
}

.swagger-ui {
  color: #17212b;
}

.swagger-ui .wrapper {
  max-width: 1180px;
  padding: 0 16px 48px;
}

.swagger-ui .info {
  margin: 34px 0 28px;
}

.swagger-ui .info .title {
  color: #17212b;
  font-size: 34px;
}

.swagger-ui .info p,
.swagger-ui .info li,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .response-col_description {
  color: #475461;
}

.swagger-ui .scheme-container {
  margin: 0 0 24px;
  padding: 16px 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid #dbe1e6;
  border-bottom: 1px solid #dbe1e6;
}

.swagger-ui .opblock,
.swagger-ui .model-box,
.swagger-ui section.models {
  border-radius: 6px;
}

.swagger-ui .opblock.opblock-get {
  border-color: #1683a4;
  background: rgba(22, 131, 164, 0.07);
}

.swagger-ui .opblock.opblock-get .opblock-summary-method {
  background: #1683a4;
}

.swagger-ui .btn.execute {
  background: #17212b;
  border-color: #17212b;
}

.swagger-ui .btn.authorize {
  color: #16805a;
  border-color: #16805a;
}

@media (max-width: 640px) {
  .site-header__inner {
    width: min(100% - 20px, 1180px);
    gap: 10px;
  }

  .section-name {
    padding-left: 10px;
  }

  .service-state {
    font-size: 0;
  }

  .swagger-ui .wrapper {
    padding-right: 10px;
    padding-left: 10px;
  }

  .swagger-ui .info .title {
    font-size: 28px;
  }
}
