﻿.app-corp-forms {
  --color-primary: #d40510;
}

/* Webasyst theme (.wrap / .in-right) задаёт ширину и боковые отступы */
.extfiles-catalog .doc-page {
  min-height: 0;
  --Text-primary: #383838;
  --Text-tertiary: #979797;
  --color-primary: #d40510;
  padding: 0;
  background: transparent;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #333333;
}

.doc-page__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #333333;
}
@media (min-width: 1024px) {
  .doc-page__title {
    font-size: 32px;
    margin-bottom: 24px;
  }
}

.doc-layout--tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
.doc-layout--tabs > .doc-col-results {
  order: 1;
  width: 100%;
  min-width: 0;
}
.doc-layout--tabs > .doc-col-filter {
  order: 2;
  width: 100%;
  flex-shrink: 0;
}

.doc-results-tools__page-size {
  margin-bottom: 12px;
}

@media (min-width: 1024px) {
  .doc-layout--tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 24px;
  }
  .doc-layout--tabs > .doc-col-filter {
    order: 1;
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }
  .doc-layout--tabs > .doc-col-results {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

.doc-col-results--loading,
.doc-catalog-results--loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.doc-catalog-results--error {
  opacity: 1;
  pointer-events: auto;
}

.doc-catalog-error {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #f0c2c5;
  border-radius: 6px;
  background: #fff5f5;
  color: #b3040e;
  font-size: 13px;
  line-height: 1.4;
}

.extfiles-catalog #doc-catalog-results,
.extfiles-catalog #doc-catalog-list-mount,
.extfiles-catalog #doc-catalog-pagination-mount,
.extfiles-catalog .doc-list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.extfiles-catalog .doc-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.doc-results-tools {
  display: flex;
  flex-direction: column;
}
@media (max-width: 1023px) {
  .extfiles-catalog .doc-results-tools {
    gap: 12px;
  }

  .extfiles-catalog .doc-results-tools .doc-results-head {
    margin-bottom: 0;
  }

  .extfiles-catalog .doc-results-tools__page-size {
    margin-bottom: 0;
  }

  .doc-results-tools .doc-results-tools__count {
    order: 1;
  }
  .doc-results-tools .doc-results-tools__search {
    order: 2;
  }
  .doc-results-tools .doc-results-tools__page-size {
    order: 3;
  }
}
@media (min-width: 1024px) {
  .doc-results-tools .doc-results-tools__search {
    order: 1;
  }
  .doc-results-tools .doc-results-tools__count {
    order: 2;
  }
  .doc-results-tools .doc-results-tools__page-size {
    order: 3;
  }
}

.doc-search-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .extfiles-catalog .doc-search-row {
    align-items: center;
    gap: 12px;
  }

  .extfiles-catalog .doc-search-row__field .doc-filter__search-wrap {
    margin-bottom: 0;
  }

  .extfiles-catalog .doc-search-row__filter {
    flex: 0 0 40px;
    width: 40px;
    display: flex;
  }

  .extfiles-catalog .doc-search-row .doc-filter__search-input {
    height: 40px;
    min-height: 40px;
  }

  .extfiles-catalog .doc-search-row .doc-filter-toolbar-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}
@media (min-width: 1024px) {
  .doc-search-row {
    gap: 24px;
  }
}

.doc-search-row__field {
  flex: 1 1 auto;
  min-width: 0;
}

.doc-search-row__filter {
  flex: 0 0 48px;
  width: 48px;
}

.doc-filter-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid #d1d1d1;
  background: #fff;
  color: #666666;
  cursor: pointer;
}
.doc-filter-toolbar-btn:hover {
  border-color: #b3040e;
  color: #d40510;
}

.doc-filter-mobile-dialog {
  border: none;
  padding: 0;
  margin: 0;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: #fff;
}
.doc-filter-mobile-dialog[open] {
  display: flex;
  flex-direction: column;
}
.doc-filter-mobile-dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.doc-filter-mobile-sheet {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  box-shadow: none;
  background: #fff;
}

.doc-filter-mobile-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter-form,
.extfiles-catalog .doc-filter-mobile-dialog .doc-filter {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__body-outer {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__list {
  flex: 1 1 auto;
  min-height: 0;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__head {
  flex-shrink: 0;
  padding: max(12px, env(safe-area-inset-top, 0px)) 14px 12px;
  min-height: 48px;
  box-sizing: border-box;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__head-label {
  flex: 1 1 auto;
  min-width: 0;
}

.doc-filter__head-close {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 auto;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #666666;
}

.extfiles-catalog .doc-filter-mobile-dialog .doc-filter__head-close {
  display: inline-flex;
}

.doc-filter__head-close:hover,
.doc-filter__head-close:focus-visible {
  color: #d40510;
  outline: none;
}

.doc-tabs-wrap {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-bottom: 28px;
  border-bottom: 1px solid #d1d1d1;
}

.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.doc-tabs__tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.doc-tabs__tab:hover {
  color: #333333;
}

.doc-tabs__tab--active {
  color: #333333;
  font-weight: 600;
  border-bottom-color: #d40510;
}

.doc-tab-panels-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 120px;
}

.doc-tab-panel {
  width: 100%;
  box-sizing: border-box;
}

.doc-soft-panel {
  width: 100%;
}

.doc-soft-list {
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.doc-soft-expansion {
  border-bottom: 1px solid #d1d1d1;
}
.doc-soft-expansion:last-child {
  border-bottom: none;
}

.doc-soft-expansion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px 12px 16px;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
}
.doc-soft-expansion__header::-webkit-details-marker {
  display: none;
}

.doc-soft-expansion[open] .doc-soft-expansion__chevron {
  transform: rotate(180deg);
}

.doc-soft-expansion__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}

.doc-soft-expansion__chevron {
  color: #666666 !important;
}

.doc-soft-expansion__card {
  padding: 0 16px 16px;
}
@media (min-width: 1024px) {
  .doc-soft-expansion__card {
    padding: 0 20px 20px;
  }
}

.doc-soft-expansion__inner {
  width: 100%;
}

.doc-soft-body {
  width: 100%;
}

.doc-soft-body__media {
  min-width: 0;
}

.doc-soft-body__text {
  min-width: 0;
}

.doc-soft-media-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ededed;
  background: #fafafa;
  box-sizing: border-box;
}
.doc-soft-media-box--empty {
  min-height: 180px;
}
.doc-soft-media-box__img {
  display: block;
  width: 100%;
}

.doc-soft-media-box__placeholder {
  min-height: 180px;
  width: 100%;
  box-sizing: border-box;
  background: #f5f5f5;
}

.doc-soft-expansion__img-fit {
  object-fit: cover;
}

.doc-soft-expansion__text {
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
  margin: 0 0 10px;
}
.doc-soft-expansion__text:last-child {
  margin-bottom: 0;
}

.doc-soft-body__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  max-width: 100%;
}

.doc-soft-expansion__link {
  display: block;
  font-size: 14px;
  color: #d40510;
  text-decoration: underline;
}

.doc-soft-body__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
@media (min-width: 600px) {
  .doc-soft-body__main {
    flex-direction: row;
    align-items: flex-start;
  }
  .doc-soft-body__media {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .doc-soft-body__text {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.doc-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.doc-back-link {
  margin: 0 0 16px;
}

.doc-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
}

.doc-list-empty__icon {
  font-size: 56px;
  color: #bdbdbd;
}

.doc-list-empty__text {
  margin: 16px 0 0;
  font-size: 16px;
  color: #666666;
}

.doc-results-count {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 166%;
  letter-spacing: 0;
  color: var(--Text-primary, #383838);
}

.doc-page-size {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 10px 16px;
  gap: 0;
  background: #fff;
  box-sizing: border-box;
}

.doc-page-size__chunk {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.doc-page-size__sep {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 13px;
  line-height: 24px;
  font-weight: 400;
  color: var(--Text-tertiary, #979797);
  padding: 0 7px;
  user-select: none;
}

.doc-page-size__btn {
  border: none;
  background: transparent;
  padding: 4px 3px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Text-tertiary, #979797);
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}
.doc-page-size__btn--active {
  font-weight: 700;
  color: var(--Text-primary, #383838);
}

.doc-filter {
  --Text-primary: #383838;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.doc-filter__head {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  margin: 0;
  padding: 12px 14px;
  background: #ebebeb;
  cursor: pointer;
  text-align: left;
  gap: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.doc-filter__head-icon {
  color: #333333;
}

.doc-filter__head-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #333333;
}

@media (min-width: 1024px) {
  .doc-filter__head {
    padding: 0 14px;
    min-height: 48px;
    box-sizing: border-box;
  }
  .doc-filter__head-icon {
    font-size: 18px;
  }
}
.doc-filter__body-outer {
  overflow: visible;
}

.doc-filter__body {
  padding: 0 0 16px;
  background: #fff;
}

.doc-filter__section {
  border-bottom: 1px solid #f0f0f0;
}
.doc-filter__section:last-child {
  border-bottom: none;
}

.doc-filter__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}
.doc-filter__section-head::-webkit-details-marker {
  display: none;
}

.doc-filter__section[open] .doc-filter__chevron {
  transform: rotate(180deg);
}

.doc-filter__section-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.doc-filter__section[open] .doc-filter__section-panel {
  grid-template-rows: 1fr;
}

.doc-filter__section--closing .doc-filter__section-panel {
  grid-template-rows: 0fr;
}

.doc-filter__section--closing .doc-filter__chevron {
  transform: rotate(0deg);
}

.doc-filter__section-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.doc-filter__section-title {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 1.25;
}

.doc-filter__chevron {
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.28s ease;
}

.doc-filter__options {
  padding: 4px 14px 12px 14px;
}

.doc-filter__row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  cursor: pointer;
}
.doc-filter__row:last-child {
  margin-bottom: 0;
}

.doc-filter__checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 10px 0 0;
  accent-color: var(--color-primary, #d40510);
  cursor: pointer;
}

/* Тема insales_premium: input[type=checkbox]:hover { border-color: #43c16d } */
.extfiles-catalog .doc-filter__checkbox:hover,
.extfiles-catalog .doc-filter__checkbox:focus,
.extfiles-catalog .doc-filter__checkbox:focus-visible {
  box-shadow: 0 0 0 1px var(--color-primary, #d40510);
  border-color: var(--color-primary, #d40510);
  outline: none;
}

.doc-filter__search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.extfiles-catalog .doc-filter__section .doc-filter__search-wrap {
  margin: 8px 14px;
  box-sizing: border-box;
}

.extfiles-catalog .doc-filter__search-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 9px 36px 9px 40px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  font-size: 13px;
  line-height: 20px;
  -webkit-appearance: none;
  appearance: none;
}
.extfiles-catalog .doc-filter__search-input:hover,
.extfiles-catalog .doc-filter__search-input:focus {
  outline: none;
  border-color: #d40510;
  background: #fff;
}

.extfiles-catalog .doc-filter__search-input::-webkit-search-cancel-button,
.extfiles-catalog .doc-filter__search-input::-webkit-search-decoration,
.extfiles-catalog .doc-filter__search-input::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.extfiles-catalog .doc-filter__search-ic {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e9e9e;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}

.extfiles-catalog .doc-filter__search-clear {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #9e9e9e;
  cursor: pointer;
}
.extfiles-catalog .doc-filter__search-clear[hidden] {
  display: none;
}
.extfiles-catalog .doc-filter__search-clear:hover,
.extfiles-catalog .doc-filter__search-clear:focus-visible {
  color: var(--color-primary, #d40510);
  background: rgba(212, 5, 16, 0.08);
  outline: none;
}
.extfiles-catalog .doc-filter__search-clear .material-icons {
  font-size: 18px;
  line-height: 1;
}

.doc-filter__row-label {
  font-size: 13px;
  line-height: 1.35;
  color: #666666;
  padding-top: 2px;
}

.doc-card__icon .material-icons {
  font-size: 32px;
  color: #757575;
}

.doc-card__download-full-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.doc-filter__footer {
  padding: 12px 14px 14px;
  box-sizing: border-box;
}

.doc-filter__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 3px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--Text-primary, #383838);
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}
.doc-filter__clear:focus-visible {
  outline: 1px solid rgba(56, 56, 56, 0.4);
  outline-offset: 2px;
}

.doc-filter__clear-label {
  font: inherit;
  line-height: inherit;
}

.doc-filter__clear-icon {
  color: var(--Text-primary, #383838) !important;
  opacity: 1;
}

.doc-catalog-list {
  width: 100%;
}

.doc-pagination__chunk {
  display: contents;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  padding: 16px 18px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease;
}
.doc-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 1023px) {
  .doc-card {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }
}

.doc-card__icon--side {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin-right: 16px;
  border-radius: 6px;
  background: #f5f5f5;
}
@media (max-width: 1023px) {
  .doc-card__icon--side {
    display: none !important;
  }
}

.doc-card__icon--corner {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin-left: 8px;
  border-radius: 6px;
  background: transparent;
}
@media (min-width: 1024px) {
  .doc-card__icon--corner {
    display: none !important;
  }
}

.doc-card__main {
  flex: 1 1 auto;
  min-width: 0;
}

.doc-card__icon--side,
.doc-card__icon--corner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-card__title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc-card__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #333333;
}

.doc-card__meta {
  font-size: 13px;
  line-height: 1.45;
  color: #666666;
}

@media (max-width: 1023px) {
  .doc-card__meta--one-line {
    display: none;
  }
}

.doc-card__meta--stack {
  display: none;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 1023px) {
  .doc-card__meta--stack {
    display: flex;
  }
}

.doc-card__download-icon {
  flex-shrink: 0;
  color: currentColor;
}

.doc-card__download {
  text-decoration: none;
  color: #d40510;
  box-sizing: border-box;
}

.doc-card__download--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid #d40510;
  border-radius: 4px;
  margin-left: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.doc-card__download:hover .doc-card__download--compact {
  background: rgba(212, 5, 16, 0.06);
  color: #b3040e;
}

.doc-card__download--full {
  display: none;
  width: 100%;
  min-height: 44px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid #d40510;
  font-size: 15px;
  font-weight: 400;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .doc-card__download {
    display: flex;
    width: 100%;
  }

  .doc-card__download--compact {
    display: none;
  }

  .doc-card__download--full {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .doc-card__download {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
  }
}

.doc-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.doc-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d1d1d1;
  color: #333333;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 6px;
  min-height: 44px;
  text-decoration: none;
  background: #fff;
  box-sizing: border-box;
}

.doc-more__icon {
  font-size: 20px;
}

.doc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin-top: 16px;
}

.doc-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 6px 10px;
  font-size: 15px;
  color: #666666;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.doc-pagination__page--active {
  font-weight: 700;
  color: #333333;
}

.doc-pagination__ellipsis {
  padding: 6px 4px;
  color: #666666;
  font-size: 15px;
  user-select: none;
}

.doc-pagination__next {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  padding: 6px 8px;
  font-size: 18px;
  color: #666666;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
  text-decoration: none;
}

.min-w-0 {
  min-width: 0;
}

.ellipsis-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.extfiles-catalog .doc-layout--tabs > .doc-col-filter.doc-col-filter--aside {
  flex: 0 0 300px;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  overflow: visible;
  flex-shrink: 0;
  display: block;
  visibility: visible;
}

.extfiles-catalog .doc-col-filter .doc-filter {
  display: block;
  visibility: visible;
}

.extfiles-catalog .doc-layout--tabs > .doc-col-filter .doc-filter {
  width: 100%;
  min-width: 280px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .extfiles-catalog .doc-layout--tabs > .doc-col-filter.doc-col-filter--desktop {
    display: block;
  }
}

@media (max-width: 1023px) {
  .extfiles-catalog .doc-col-filter--desktop {
    display: none !important;
  }

  .extfiles-catalog .doc-search-row__filter--mobile {
    display: block;
  }
}

@media (min-width: 1024px) {
  .extfiles-catalog .doc-search-row__filter--mobile {
    display: none !important;
  }
}

.extfiles-catalog .doc-filter__head--static {
  cursor: default;
}

.extfiles-catalog .doc-catalog-list {
  min-height: 120px;
}

@media (prefers-reduced-motion: reduce) {
  .doc-filter__section-panel,
  .doc-filter__chevron {
    transition: none !important;
  }
}
