html {
  background: #f4f7fb;
}

body {
  background: #f4f7fb;
}

.swagger-ui {
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swagger-ui :where(a, button, input, textarea, select, [tabindex], .opblock-summary, .opblock-summary-control):focus {
  outline: 0;
}

.swagger-ui :where(a, button, input, textarea, select, [tabindex], .opblock-summary, .opblock-summary-control):focus:not(:focus-visible) {
  box-shadow: none;
  outline: 0;
}

.swagger-ui :where(a, button, [tabindex], .opblock-summary, .opblock-summary-control):focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 159, 154, .16);
  outline: 2px solid rgba(15, 159, 154, .45);
  outline-offset: 2px;
}

.swagger-ui .topbar {
  display: none;
}

.swagger-ui .topbar .wrapper {
  align-items: center;
  display: flex;
  gap: 0;
  min-height: 46px;
}

.swagger-ui .topbar .link {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  height: 42px;
  max-width: none;
  text-decoration: none;
}

.swagger-ui .topbar .link img,
.swagger-ui .topbar .link svg {
  display: none;
}

.swagger-ui .topbar .link::before {
  background: url("./tempolia-logo.svg") left center / contain no-repeat;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 42px;
  width: 162px;
}

.swagger-ui .topbar .link::after {
  border-left: 1px solid rgba(255, 255, 255, .28);
  content: "API";
  line-height: 1;
  padding-left: 12px;
  white-space: nowrap;
}

.swagger-ui .topbar .download-url-wrapper {
  display: none;
}

.swagger-ui .wrapper {
  max-width: 1220px;
  padding: 0 24px;
}

.swagger-ui .info {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 51, .07);
  margin: 32px 0 22px;
  min-height: 188px;
  padding: 24px 380px 24px 28px;
  position: relative;
}

.swagger-ui .info::after {
  background: url("./tempolia-logo.svg") right center / contain no-repeat;
  content: "";
  height: 82px;
  position: absolute;
  right: 28px;
  top: 28px;
  width: 315px;
  z-index: 1;
}

.swagger-ui .info .title {
  color: #172033;
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1.18;
}

.swagger-ui .info .description,
.swagger-ui .info p {
  color: #4b5b72;
  font-size: 15px;
  line-height: 1.55;
}

.swagger-ui .info .tempolia-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: 760px;
}

.swagger-ui .info .tempolia-info-link {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  color: #172033;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  min-height: 32px;
  padding: 8px 12px;
  text-decoration: none;
}

.swagger-ui .info .tempolia-info-link:hover {
  background: #ffffff;
  border-color: #0f9f9a;
  color: #0f766e;
  text-decoration: none;
}

.swagger-ui .info .tempolia-info-link::before {
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 8px;
  width: 7px;
}

.swagger-ui .info .tempolia-info-link-site::before {
  background: #0f9f9a;
}

.swagger-ui .info .tempolia-info-link-email::before {
  background: #2563eb;
}

.swagger-ui .info .tempolia-info-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  right: 28px;
  top: 130px;
  width: 315px;
  z-index: 2;
}

.swagger-ui .info .tempolia-server-info {
  align-items: center;
  color: #536176;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px;
  justify-content: flex-end;
  line-height: 1.35;
  margin: 0;
  text-align: right;
}

.swagger-ui .info .tempolia-server-info span {
  font-weight: 800;
}

.swagger-ui .info .tempolia-server-info code {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 5px;
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  padding: 3px 6px;
}

.swagger-ui .info .tempolia-info-actions .auth-wrapper {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  width: auto;
}

.swagger-ui .info .tempolia-info-actions .authorize {
  min-width: 150px;
}

.swagger-ui .scheme-container {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: none;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 24px;
  max-width: 1172px;
  padding: 16px 24px;
  width: calc(100% - 48px);
}

.swagger-ui .scheme-container .schemes.wrapper {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  max-width: none;
  padding: 0;
  width: auto;
}

.swagger-ui .scheme-container .schemes > label {
  color: #344256;
  font-weight: 700;
}

.swagger-ui .scheme-container .auth-wrapper {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.swagger-ui .scheme-container .auth-wrapper .authorize {
  min-width: 150px;
}

.swagger-ui .scheme-container.is-tempolia-managed {
  display: none;
}

.swagger-ui .opblock-tag {
  border-bottom: 1px solid #dbe2ea;
  color: #172033;
  font-size: 20px;
  letter-spacing: 0;
  padding: 20px 0 12px;
}

.swagger-ui .opblock-tag small {
  color: #68758a;
  font-size: 13px;
}

.swagger-ui .opblock {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .06);
  margin: 0 0 16px;
  overflow: hidden;
  position: relative;
}

.swagger-ui .opblock::before {
  background: #8190a5;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
  z-index: 1;
}

.swagger-ui .opblock .opblock-summary {
  min-height: 54px;
  padding: 12px 18px 12px 22px;
  position: relative;
  z-index: 2;
}

.swagger-ui .opblock .opblock-summary-method {
  border-radius: 6px;
  font-weight: 800;
  min-width: 74px;
  padding: 7px 0;
}

.swagger-ui .opblock.opblock-get {
  background: rgba(8, 127, 91, .06);
  border-color: #9acbb8;
}

.swagger-ui .opblock.opblock-get .opblock-summary-method {
  background: #087f5b;
}

.swagger-ui .opblock.opblock-get::before {
  background: #087f5b;
}

.swagger-ui .opblock.opblock-post {
  background: rgba(37, 99, 235, .06);
  border-color: #9db7f2;
}

.swagger-ui .opblock.opblock-post .opblock-summary-method {
  background: #2563eb;
}

.swagger-ui .opblock.opblock-post::before {
  background: #2563eb;
}

.swagger-ui .opblock.opblock-put {
  background: rgba(180, 83, 9, .07);
  border-color: #d7b071;
}

.swagger-ui .opblock.opblock-put .opblock-summary-method {
  background: #b45309;
}

.swagger-ui .opblock.opblock-put::before {
  background: #b45309;
}

.swagger-ui .opblock.opblock-patch {
  background: rgba(124, 58, 237, .06);
  border-color: #c4b5fd;
}

.swagger-ui .opblock.opblock-patch .opblock-summary-method {
  background: #7c3aed;
}

.swagger-ui .opblock.opblock-patch::before {
  background: #7c3aed;
}

.swagger-ui .opblock.opblock-delete {
  background: rgba(190, 18, 60, .06);
  border-color: #f0a5b7;
}

.swagger-ui .opblock.opblock-delete .opblock-summary-method {
  background: #be123c;
}

.swagger-ui .opblock.opblock-delete::before {
  background: #be123c;
}

.swagger-ui .opblock.is-open {
  background: #ffffff;
  border-color: #b8c5d6;
  box-shadow: 0 16px 36px rgba(23, 32, 51, .1);
}

.swagger-ui .opblock.is-open .opblock-summary {
  border-bottom: 1px solid #dbe2ea;
}

.swagger-ui .opblock.opblock-get.is-open .opblock-summary {
  background: rgba(8, 127, 91, .1);
}

.swagger-ui .opblock.opblock-post.is-open .opblock-summary {
  background: rgba(37, 99, 235, .1);
}

.swagger-ui .opblock.opblock-put.is-open .opblock-summary {
  background: rgba(180, 83, 9, .11);
}

.swagger-ui .opblock.opblock-patch.is-open .opblock-summary {
  background: rgba(124, 58, 237, .1);
}

.swagger-ui .opblock.opblock-delete.is-open .opblock-summary {
  background: rgba(190, 18, 60, .1);
}

.swagger-ui .opblock .opblock-body {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.swagger-ui .opblock .opblock-section-header {
  background: #f7f9fc;
  border-bottom: 1px solid #dbe2ea;
  box-shadow: none;
}

.swagger-ui .opblock-description-wrapper,
.swagger-ui .opblock-external-docs-wrapper,
.swagger-ui .opblock-title_normal,
.swagger-ui .parameters-container,
.swagger-ui .responses-wrapper {
  background: #ffffff;
}

.swagger-ui .opblock .opblock-summary-path {
  color: #172033;
  font-weight: 700;
}

.swagger-ui .opblock .opblock-summary-description {
  color: #536176;
}

.swagger-ui .btn,
.swagger-ui .authorize {
  border-radius: 6px;
  font-weight: 700;
}

.swagger-ui .btn.execute {
  background-color: #0f9f9a;
  border-color: #0f9f9a;
}

.swagger-ui input[type=email],
.swagger-ui input[type=file],
.swagger-ui input[type=password],
.swagger-ui input[type=search],
.swagger-ui input[type=text],
.swagger-ui textarea,
.swagger-ui select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #172033;
}

.swagger-ui input:focus,
.swagger-ui textarea:focus,
.swagger-ui select:focus {
  border-color: #0f9f9a;
  box-shadow: 0 0 0 3px rgba(15, 159, 154, .18);
  outline: 0;
}

.swagger-ui table tbody tr td {
  padding: 12px 10px;
}

.swagger-ui .model-box,
.swagger-ui .model-example,
.swagger-ui .highlight-code,
.swagger-ui .responses-table,
.swagger-ui .parameters {
  border-radius: 6px;
}

.swagger-ui .dialog-ux .modal-ux {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(23, 32, 51, .2);
  overflow: hidden;
}

.swagger-ui .dialog-ux .modal-ux-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe2ea;
  border-radius: 8px 8px 0 0;
  color: #172033;
  padding: 18px 22px;
}

.swagger-ui .dialog-ux .modal-ux-header h3 {
  color: #172033;
  font-size: 24px;
  font-weight: 800;
  padding: 0;
}

.swagger-ui .dialog-ux .modal-ux-header .close-modal {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.swagger-ui .dialog-ux .modal-ux-header .close-modal:hover {
  background: #eef3f8;
}

.swagger-ui .dialog-ux .modal-ux-header .close-modal svg,
.swagger-ui .dialog-ux .modal-ux-header .close-modal svg path {
  fill: #172033;
}

@media (max-width: 768px) {
  .swagger-ui .wrapper {
    padding: 0 14px;
  }

  .swagger-ui .topbar .wrapper {
    min-height: 44px;
  }

  .swagger-ui .topbar .link::before {
    height: 36px;
    width: 138px;
  }

  .swagger-ui .info {
    margin-top: 20px;
    min-height: 0;
    padding: 20px;
  }

  .swagger-ui .info::after {
    display: block;
    height: 56px;
    margin-top: 18px;
    position: static;
    width: 215px;
  }

  .swagger-ui .info .tempolia-info-actions {
    align-items: flex-start;
    margin-top: 24px;
    position: static;
    width: auto;
  }

  .swagger-ui .info .tempolia-server-info {
    justify-content: flex-start;
    text-align: left;
  }

  .swagger-ui .info .tempolia-info-actions .auth-wrapper {
    justify-content: flex-start;
    width: auto !important;
  }

  .swagger-ui .info .tempolia-info-actions .authorize {
    max-width: 190px;
    width: auto !important;
  }

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

  .swagger-ui .scheme-container {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    width: calc(100% - 28px);
  }

  .swagger-ui .scheme-container .schemes.wrapper {
    align-items: flex-start;
  }

  .swagger-ui .opblock .opblock-summary {
    align-items: center;
    column-gap: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 0;
    padding: 14px 14px 14px 18px;
    row-gap: 8px;
  }

  .swagger-ui .opblock .opblock-summary-method {
    font-size: 13px;
    grid-column: 1;
    grid-row: 1;
    min-width: 68px;
    padding: 8px 0;
    width: 68px;
  }

  .swagger-ui .opblock .opblock-summary-path,
  .swagger-ui .opblock .opblock-summary-path__deprecated {
    align-items: center;
    display: flex;
    font-size: 15px;
    grid-column: 2;
    grid-row: 1;
    line-height: 1.35;
    max-width: none;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0;
    white-space: normal;
    word-break: normal;
  }

  .swagger-ui .opblock .opblock-summary-path a,
  .swagger-ui .opblock .opblock-summary-path__deprecated a,
  .swagger-ui .opblock .opblock-summary-path span,
  .swagger-ui .opblock .opblock-summary-path__deprecated span {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
  }

  .swagger-ui .opblock .opblock-summary-description {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
  }

  .swagger-ui .opblock .authorization__btn {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    padding: 0;
  }

  .swagger-ui .opblock .authorization__btn svg {
    height: 20px;
    width: 20px;
  }

  .swagger-ui .opblock .opblock-summary-control {
    display: contents;
  }

  .swagger-ui .opblock .opblock-control-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

.swagger-ui .information-container.wrapper {
  max-width: 1220px;
}

.swagger-ui .info {
  background: #ffffff;
  border-color: #d7e2ee;
  overflow: hidden;
}

.swagger-ui .info::before {
  background: #0f9f9a;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.swagger-ui .info .title {
  max-width: 760px;
}

.swagger-ui .info .description,
.swagger-ui .info p {
  max-width: 760px;
}

.swagger-ui .tempolia-theme-overview {
  margin: 0 0 24px;
}

.swagger-ui .tempolia-theme-overview__intro {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 14px;
}

.swagger-ui .tempolia-theme-overview__intro h2 {
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.swagger-ui .tempolia-theme-overview__intro p {
  color: #607087;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  text-align: right;
}

.swagger-ui .tempolia-theme-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swagger-ui .tempolia-theme-card {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, .06);
  min-width: 0;
  padding: 17px;
  position: relative;
}

.swagger-ui .tempolia-theme-card::before {
  background: var(--tempolia-theme-color, #64748b);
  border-radius: 999px;
  content: "";
  height: 9px;
  left: 17px;
  position: absolute;
  top: 18px;
  width: 9px;
}

.swagger-ui .tempolia-theme-card h3 {
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 3px;
  min-width: 0;
  padding-left: 18px;
}

.swagger-ui .tempolia-theme-card__count {
  color: var(--tempolia-theme-color, #64748b);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  padding-left: 18px;
}

.swagger-ui .tempolia-theme-card__summary {
  color: #536176;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.swagger-ui .tempolia-theme-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.swagger-ui .tempolia-theme-card__chips button {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  color: #344256;
  cursor: pointer;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  max-width: 100%;
  padding: 6px 10px;
  text-align: left;
}

.swagger-ui .tempolia-theme-card__chips button:hover {
  background: #ffffff;
  border-color: var(--tempolia-theme-color, #64748b);
  color: #172033;
}

.swagger-ui .tempolia-theme-heading {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-left: 5px solid var(--tempolia-theme-color, #64748b);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, .05);
  margin: 28px 0 14px;
  padding: 18px 20px;
}

.swagger-ui .tempolia-theme-heading h2 {
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 4px;
}

.swagger-ui .tempolia-theme-heading p {
  color: #607087;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.swagger-ui .opblock-tag-section {
  margin: 0 0 14px;
}

.swagger-ui .opblock-tag {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .045);
  color: #172033;
  font-size: 19px;
  font-weight: 850;
  margin: 0 0 12px;
  padding: 16px 18px;
}

.swagger-ui .opblock-tag:hover {
  background: #f9fbfd;
  border-color: #c8d5e3;
}

.swagger-ui .opblock-tag svg {
  fill: #607087;
}

.swagger-ui .filter-container {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .045);
  margin: 0 auto 18px;
  max-width: 1172px;
  padding: 12px 16px;
  width: calc(100% - 48px);
}

.swagger-ui .filter-container input,
.swagger-ui .operation-filter-input {
  width: 100%;
}

.swagger-ui .tempolia-filter-container {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .045);
  margin: 0 0 18px;
  padding: 12px 16px;
}

.swagger-ui .tempolia-filter-input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

.swagger-ui .tempolia-filter-empty {
  color: #607087;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.swagger-ui .opblock-tag-section.is-tempolia-hidden,
.swagger-ui .tempolia-theme-heading.is-tempolia-hidden {
  display: none !important;
}

@media (max-width: 1020px) {
  .swagger-ui .tempolia-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .swagger-ui .tempolia-theme-overview__intro {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .swagger-ui .tempolia-theme-overview__intro p {
    text-align: left;
  }

  .swagger-ui .tempolia-theme-grid {
    grid-template-columns: 1fr;
  }

  .swagger-ui .tempolia-theme-card {
    padding: 15px;
  }

  .swagger-ui .tempolia-theme-card::before {
    left: 15px;
    top: 17px;
  }

  .swagger-ui .tempolia-theme-heading {
    margin-top: 22px;
    padding: 16px;
  }

  .swagger-ui .tempolia-theme-heading h2 {
    font-size: 21px;
  }

  .swagger-ui .opblock-tag {
    font-size: 17px;
    padding: 14px 15px;
  }

  .swagger-ui .filter-container {
    width: calc(100% - 28px);
  }
}
