.docs-page {
  display: grid;
  gap: 24px;
  --module-navbar-margin: -28px -28px 8px;
  --module-navbar-padding: 10px 32px 8px;
  --module-navbar-bg: #ffffff;
  --module-navbar-border-bottom: 1px solid #e5e7eb;
  --table-toolbar-padding: 12px 20px 0;
  --table-toolbar-gap: 12px;
  --table-toolbar-inline-gap: 14px;
  --table-search-width: min(100%, 430px);
  --table-search-min-height: 42px;
  --table-search-padding: 0 16px;
  --table-search-gap: 12px;
  --table-search-font-size: 13px;
  --table-search-icon-size: 18px;
  --table-inline-form-gap: 12px;
  --table-inline-select-min-width: 190px;
  --table-inline-select-min-height: 42px;
  --table-inline-select-padding: 0 14px;
  --table-inline-select-radius: 10px;
  --table-inline-select-font-size: 13px;
  --table-inline-button-min-height: 42px;
  --table-inline-button-padding: 0 14px;
  --table-inline-button-radius: 10px;
  --table-inline-button-font-size: 13px;
  --table-filter-button-min-height: 42px;
  --table-filter-button-padding: 0 14px;
  --table-filter-button-gap: 10px;
  --table-filter-button-font-size: 13px;
  --table-chip-min-height: 32px;
  --table-chip-padding: 0 16px;
  --table-chip-font-size: 12px;
  --table-chip-border: 1px solid #d0d5dd;
  --table-chip-bg: #ffffff;
  --table-chip-color: #344054;
  --table-chip-active-bg: #24459b;
  --table-chip-active-border: #24459b;
  --table-chip-active-color: #ffffff;
  --table-toolbar-meta-size: 14px;
  --table-content-padding-top: 14px;
  --table-head-padding: 10px 16px;
  --table-head-font-size: 12px;
  --table-content-border: 1px solid #e5e7eb;
  --table-content-radius-top-left: 8px;
  --table-content-radius-top-right: 8px;
  --table-head-radius-left: 8px;
  --table-head-radius-right: 8px;
  --table-row-padding: 16px 16px;
  --table-row-font-size: 11px;
  --table-doc-icon-size: 38px;
  --table-doc-title-size: 12px;
  --table-doc-subtitle-size: 10px;
  --table-tag-min-height: 22px;
  --table-tag-padding: 0 11px;
  --table-tag-font-size: 10px;
  --table-action-size: 24px;
  --table-action-icon-size: 16px;
  --table-footer-border: 1px solid #e5e7eb;
  --table-footer-radius-left: 8px;
  --table-footer-radius-right: 8px;
  --table-footer-padding: 10px 16px 14px;
  --pagination-gap: 7px;
  --pagination-size: 30px;
  --pagination-font-size: 12px;
  --pagination-icon-size: 18px;
  --table-empty-min-height: 120px;
  --table-empty-bg: #ffffff;
  --table-empty-border: 1px solid #e5e7eb;
  --table-empty-radius: 8px;
}

.docs-page__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.docs-stat-card {
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.docs-stat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.docs-stat-card__label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.docs-stat-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.docs-stat-card__icon i {
  width: 16px;
  height: 16px;
}

.docs-stat-card__value {
  display: block;
  color: #111827;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.docs-stat-card__helper {
  color: #667085;
  font-size: 11px;
}

.docs-filters {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
  --table-search-width: min(100%, 430px);
  --table-search-min-height: 44px;
  --table-search-padding: 0 18px;
  --table-search-gap: 10px;
  --table-search-radius: 10px;
  --table-search-border: 1px solid #ccd1d9;
  --table-search-bg: #f3f4f6;
  --table-search-font-size: 15px;
  --table-search-icon-size: 20px;
  --table-search-placeholder-color: #a3adbc;
  --table-inline-label-color: #111827;
  --table-inline-label-size: 12px;
  --table-inline-select-min-width: 155px;
  --table-inline-select-min-height: 44px;
  --table-inline-select-padding: 0 18px;
  --table-inline-select-radius: 10px;
  --table-inline-select-border: 1px solid #ccd1d9;
  --table-inline-select-bg: #f3f4f6;
  --table-inline-select-color: #9aa3af;
  --table-inline-select-font-size: 15px;
  --table-inline-button-min-height: 44px;
  --table-inline-button-padding: 0 42px;
  --table-inline-button-radius: 9px;
  --table-inline-button-font-size: 14px;
  --table-chip-min-height: 28px;
  --table-chip-padding: 0 22px;
  --table-chip-font-size: 12px;
  --table-chip-border: 0;
  --table-chip-bg: #e2e6ec;
  --table-chip-color: #667085;
  --table-chip-active-bg: #24459b;
  --table-chip-active-border: #24459b;
  --table-chip-active-color: #ffffff;
}

.docs-filters:hover {
  border-color: #d6dde8;
}

.docs-filters__summary {
  min-height: 48px;
  padding: 0 22px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease;
}

.docs-filters__summary:hover {
  background: #f8fafc;
}

.docs-filters__summary:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.18);
  outline-offset: -3px;
}

.docs-filters__summary::-webkit-details-marker {
  display: none;
}

.docs-filters__summary-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 500;
}

.docs-filters__summary-title i {
  width: 20px;
  height: 20px;
}

.docs-filters__summary-icon {
  width: 16px;
  height: 16px;
  color: #111827;
  transition: transform 0.2s ease;
}

.docs-filters:not([open]) .docs-filters__summary-icon {
  transform: rotate(180deg);
}

.docs-filters__body {
  display: grid;
  transform-origin: top;
}

.docs-filters__form {
  padding: 20px 22px 44px;
  gap: 16px;
}

.docs-filters__search-field {
  flex: 0 1 430px;
}

.docs-filters__select-field {
  flex: 0 0 auto;
}

.docs-filters__advanced-field {
  flex: 1 1 190px;
  min-width: 190px;
}

.docs-filters__advanced-field--year,
.docs-filters__advanced-field--month {
  flex-basis: 160px;
  min-width: 160px;
}

.docs-filters__advanced-field--exactDescription {
  flex-basis: 280px;
}

.docs-filters__advanced-field .table-toolbar__inline-select {
  width: 100%;
}

.docs-filters .table-toolbar__inline-field {
  gap: 10px;
}

.docs-filters .table-toolbar__search,
.docs-filters .table-toolbar__inline-select {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.docs-filters .table-toolbar__search:hover,
.docs-filters .table-toolbar__inline-select:hover {
  border-color: #aeb8c7;
  background: #ffffff;
}

.docs-filters .table-toolbar__search:focus-within,
.docs-filters .table-toolbar__inline-select:focus {
  border-color: #24459b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(36, 69, 155, 0.12);
  outline: none;
}

.docs-filters .table-toolbar__inline-select:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.docs-filters .table-toolbar__inline-actions {
  gap: 8px;
}

.docs-filters .table-toolbar__inline-submit {
  min-height: var(--table-inline-button-min-height);
  padding: var(--table-inline-button-padding);
  border-radius: var(--table-inline-button-radius);
  border: 1px solid #24459b;
  background: #ffffff;
  color: #24459b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--table-inline-button-font-size);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters .table-toolbar__inline-submit:hover {
  background: #24459b;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(36, 69, 155, 0.16);
  transform: translateY(-1px);
}

.docs-filters .table-toolbar__inline-submit:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.22);
  outline-offset: 2px;
}

.docs-filters__secondary-submit {
  min-height: var(--table-inline-button-min-height);
  padding: var(--table-inline-button-padding);
  border-radius: var(--table-inline-button-radius);
  border: 1px solid #24459b;
  background: #24459b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--table-inline-button-font-size);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(36, 69, 155, 0.2);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters__secondary-submit:hover {
  background: #1f3d8a;
  border-color: #1f3d8a;
  box-shadow: 0 14px 26px rgba(36, 69, 155, 0.25);
  transform: translateY(-1px);
}

.docs-filters__secondary-submit:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.24);
  outline-offset: 2px;
}

.docs-filters .table-toolbar__inline-clear {
  border: 0;
  background: #d9d9d9;
  color: #111827;
  font-weight: 600;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters .table-toolbar__inline-clear:hover {
  background: #cfd4dc;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.docs-filters .table-toolbar__inline-clear:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.14);
  outline-offset: 2px;
}

.docs-filters__chips-row {
  min-height: 54px;
  padding: 12px 22px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 74px;
  flex-wrap: wrap;
}

.docs-filters__chip-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.docs-filters__chip-label {
  color: #111827;
  font-size: 14px;
}

.docs-filters .table-toolbar__chip {
  min-width: 66px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters .table-toolbar__chip:hover {
  background: #d5dae2;
  color: #344054;
  transform: translateY(-1px);
}

.docs-filters .table-toolbar__chip.is-active:hover {
  background: #1f3d8a;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(36, 69, 155, 0.18);
}

.docs-filters .table-toolbar__chip:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.2);
  outline-offset: 2px;
}

.docs-filters-modal__card {
  width: min(100%, 1120px);
}

.docs-filters-modal__form {
  margin: 0;
}

.docs-filters-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.docs-filters-modal__field {
  display: grid;
  gap: 8px;
  min-width: 0;
  position: relative;
}

.docs-filters-modal__field.is-select-open {
  z-index: 20;
}

.docs-filters-modal__field--exactDescription {
  grid-column: span 2;
}

.docs-filters-modal__field > span,
.docs-filters-modal__field .searchable-select__label {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.docs-filters-modal__field select,
.docs-filters-modal__field .searchable-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #344054;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters-modal__field .searchable-input {
  padding-right: 42px;
}

.docs-filters-modal__field select:hover,
.docs-filters-modal__field .searchable-input:hover {
  border-color: #aeb8c7;
}

.docs-filters-modal__field select:focus,
.docs-filters-modal__field .searchable-input:focus {
  border-color: #24459b;
  box-shadow: 0 0 0 4px rgba(36, 69, 155, 0.12);
  outline: none;
}

.docs-filters-modal__empty {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #667085;
}

.docs-filters-modal__empty strong {
  color: #18212f;
  font-size: 16px;
}

.docs-filters-modal__actions {
  align-items: center;
}

.docs-filters-modal__button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.docs-filters-modal__button--ghost {
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #475467;
}

.docs-filters-modal__button--clear {
  border: 0;
  background: #e5e7eb;
  color: #111827;
}

.docs-filters-modal__button--primary {
  border: 1px solid #24459b;
  background: #24459b;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(36, 69, 155, 0.18);
}

.docs-filters-modal__button:hover {
  transform: translateY(-1px);
}

.docs-filters-modal__button--ghost:hover {
  background: #f8fafc;
}

.docs-filters-modal__button--clear:hover {
  background: #d1d5db;
}

.docs-filters-modal__button--primary:hover {
  background: #1f3d8a;
  border-color: #1f3d8a;
  box-shadow: 0 14px 26px rgba(36, 69, 155, 0.24);
}

.docs-filters-modal__button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.docs-page__notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
}

.docs-page .table-card__header {
  padding: 0 16px 2px;
}

.docs-page .table-card__toolbar-bottom {
  justify-content: space-between;
  gap: 12px;
}

.docs-page .table-toolbar__chips {
  row-gap: 8px;
}

.docs-page .table-card__table tbody tr {
  transition: background-color 0.16s ease;
}

.docs-page .table-card__table tbody tr:hover td {
  background: #fafcff;
}

.docs-page .docs-consultation-table {
  min-width: 1120px;
  table-layout: fixed;
}

.docs-page .docs-consultation-table thead th {
  height: auto;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  vertical-align: middle;
}

.docs-page .docs-consultation-table tbody td {
  min-height: 56px;
  padding: 16px;
  border-bottom: 1px solid #edf0f5;
  font-size: 11px;
  vertical-align: middle;
}

.docs-page .docs-consultation-table thead th:nth-child(1),
.docs-page .docs-consultation-table tbody td:nth-child(1) {
  width: 54px;
  padding-inline: 18px 10px;
  text-align: center;
}

.docs-page .docs-consultation-table thead th:nth-child(2),
.docs-page .docs-consultation-table tbody td:nth-child(2) {
  width: 310px;
}

.docs-page .docs-consultation-table thead th:nth-child(3),
.docs-page .docs-consultation-table tbody td:nth-child(3) {
  width: 180px;
  text-align: left;
}

.docs-page .docs-consultation-table thead th:nth-child(4),
.docs-page .docs-consultation-table tbody td:nth-child(4) {
  width: 120px;
  text-align: left;
}

.docs-page .docs-consultation-table thead th:nth-child(5),
.docs-page .docs-consultation-table tbody td:nth-child(5) {
  text-align: left;
}

.docs-page .docs-consultation-table thead th:nth-child(6),
.docs-page .docs-consultation-table tbody td:nth-child(6) {
  width: 160px;
  text-align: center;
}

.docs-page .docs-consultation-table thead th:nth-child(7),
.docs-page .docs-consultation-table tbody td:nth-child(7) {
  width: 110px;
  text-align: center;
}

.docs-page .docs-consultation-table tbody tr {
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.docs-page .docs-consultation-table tbody tr:hover td {
  background: #fafcff;
}

.docs-page .docs-consultation-table tbody tr.is-selected td {
  background: #eef4ff;
}

.docs-consultation-checkbox {
  appearance: none;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 3px;
  background: #d7d9dc;
  display: inline-grid;
  place-content: center;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.02);
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.docs-consultation-checkbox:hover {
  background: #cfd6df;
}

.docs-consultation-checkbox:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.22);
  outline-offset: 3px;
}

.docs-consultation-checkbox:checked,
.docs-consultation-checkbox:indeterminate {
  background: #24459b;
  box-shadow: inset 0 0 0 1px #24459b;
}

.docs-consultation-checkbox::after {
  content: "";
  display: none;
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translateY(-1px);
}

.docs-consultation-checkbox:checked::after {
  display: block;
}

.docs-consultation-checkbox:indeterminate::after {
  display: block;
  width: 7px;
  height: 2px;
  border: 0;
  background: #ffffff;
  transform: none;
}

.docs-consultation-checkbox--all {
  background: #ffffff;
  box-shadow: none;
}

.docs-consultation-checkbox--all:checked,
.docs-consultation-checkbox--all:indeterminate {
  background: #ffffff;
  box-shadow: none;
}

.docs-consultation-checkbox--all::after {
  border-color: #24459b;
}

.docs-consultation-checkbox--all:indeterminate::after {
  background: #24459b;
}

.docs-bulk-actions {
  margin: 0 0 10px;
  padding: 12px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.docs-bulk-actions[hidden] {
  display: none;
}

.docs-bulk-actions__count {
  color: #24459b;
  font-size: 13px;
  font-weight: 700;
}

.docs-bulk-actions__buttons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-bulk-actions__clear,
.docs-bulk-actions__download {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.docs-bulk-actions__clear {
  border: 1px solid #c7d7ef;
  background: #ffffff;
  color: #24459b;
}

.docs-bulk-actions__download {
  border: 0;
  background: #24459b;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(36, 69, 155, 0.18);
}

.docs-bulk-actions__clear:hover,
.docs-bulk-actions__download:hover {
  transform: translateY(-1px);
}

.docs-bulk-actions__clear:hover {
  background: #f8fbff;
}

.docs-bulk-actions__download:hover {
  box-shadow: 0 14px 24px rgba(36, 69, 155, 0.22);
}

.docs-bulk-actions__clear:focus-visible,
.docs-bulk-actions__download:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.22);
  outline-offset: 2px;
}

.docs-bulk-actions__download i,
.docs-bulk-actions__download svg {
  width: 16px;
  height: 16px;
}

.docs-consultation-document {
  align-items: center;
  gap: 10px;
}

.docs-consultation-document .doc-table__file-icon {
  --table-doc-icon-size: 36px;
  --table-doc-icon-inner-size: 18px;
  border-radius: 8px;
}

.docs-consultation-document .doc-table__title {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: #111827;
  white-space: nowrap;
  display: block;
  -webkit-line-clamp: initial;
}

.docs-consultation-document .doc-table__subtitle {
  color: #a1a8b3;
  font-size: 11px;
  line-height: 1.2;
}

.docs-page .docs-consultation-description {
  max-width: 340px;
  margin-inline: auto;
  color: #111827;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.docs-consultation-status {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.docs-consultation-status i,
.docs-consultation-status svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.docs-consultation-status.is-active {
  background: #74eba0;
  color: #0f8d58;
}

.docs-consultation-status.is-revoked {
  background: #ffc9cf;
  color: #ef233c;
}

.docs-page .docs-consultation-table .docs-consultation-actions {
  justify-content: center;
}

.docs-consultation-menu .doc-table__action {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #edf1f5;
  color: #344054;
  box-shadow: inset 0 0 0 1px rgba(102, 112, 133, 0.08);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.docs-consultation-menu .doc-table__action:hover {
  background: #e6ebf2;
}

.docs-consultation-menu.is-open .doc-table__action {
  background: #24459b;
  color: #ffffff;
  box-shadow: none;
}

.docs-consultation-menu .doc-table__action:focus-visible {
  outline: 3px solid rgba(36, 69, 155, 0.22);
  outline-offset: 2px;
}

.docs-consultation-menu .doc-table__action i {
  width: 18px;
  height: 18px;
}

.docs-consultation-menu .doc-table__menu-popover {
  min-width: 184px;
  padding: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.docs-consultation-menu__eyebrow {
  display: block;
  padding: 6px 10px 8px;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.docs-consultation-menu .doc-table__menu-item {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #344054;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.16s ease;
}

.docs-consultation-menu .doc-table__menu-item i {
  width: 16px;
  height: 16px;
  padding: 6px;
  border-radius: 999px;
  background: #eef4ff;
  color: #24459b;
  box-sizing: content-box;
}

.docs-consultation-menu .doc-table__menu-item:hover {
  background: #f8fafc;
}

.docs-consultation-menu .doc-table__menu-item:focus-visible {
  background: #eef4ff;
  color: #24459b;
  outline: 3px solid rgba(36, 69, 155, 0.18);
  outline-offset: 2px;
}

.docs-consultation-menu__form {
  margin: 0;
}

.docs-consultation-menu__danger-form {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #eef2f6;
}

.docs-consultation-menu .doc-table__menu-item.is-danger {
  color: #d92d20;
}

.docs-consultation-menu .doc-table__menu-item.is-danger i {
  background: #fff1f0;
  color: #d92d20;
}

.docs-consultation-menu .doc-table__menu-item.is-danger:focus-visible {
  background: #fff1f0;
  color: #b42318;
}

.docs-consultation-menu .doc-table__menu-item.is-danger:focus-visible i {
  background: #d92d20;
  color: #ffffff;
}

.docs-consultation-text {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.docs-consultation-text--single-line {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  font-variant-numeric: tabular-nums;
}

.docs-consultation-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.docs-consultation-link:hover {
  text-decoration: underline;
}

.docs-consultation-actions {
  justify-content: flex-start;
}

.table-card__table tbody tr.docs-consultation-row.is-highlighted td {
  background: #fee2e2;
}

.table-card__table tbody tr.docs-consultation-row.is-highlighted:hover td {
  background: #fecaca;
}

@media (max-width: 1100px) {
  .docs-page__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-filters .table-toolbar__inline-actions {
    margin-left: 0;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .docs-page {
    --table-toolbar-padding: 10px 12px 12px;
    --table-head-padding: 12px 14px;
    --table-row-padding: 16px 14px;
    --table-footer-padding: 10px 12px 12px;
  }

  .docs-page .table-card__header {
    padding: 0 12px 2px;
  }

  .docs-page__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .docs-stat-card__value {
    font-size: 34px;
  }

  .docs-filters__form {
    padding: 12px;
  }

  .docs-filters__search-field,
  .docs-filters__select-field,
  .docs-filters__advanced-field,
  .docs-filters .table-toolbar__search,
  .docs-filters .table-toolbar__inline-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .docs-filters__search-field,
  .docs-filters__select-field,
  .docs-filters__advanced-field {
    flex: 1 1 100%;
  }

  .docs-filters__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px;
  }

  .docs-filters__secondary-submit,
  .docs-filters .table-toolbar__inline-clear,
  .docs-filters .table-toolbar__inline-submit {
    min-width: 0;
    padding-inline: 12px;
  }

  .docs-filters__secondary-submit {
    grid-column: 1 / -1;
  }

  .docs-filters__chips-row {
    padding: 12px;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-filters__chip-group {
    width: 100%;
    align-items: flex-start;
  }

  .docs-filters .table-toolbar__chips {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-filters .table-toolbar__chip {
    min-width: 0;
    padding-inline: 12px;
  }

  .docs-filters-modal__grid {
    grid-template-columns: 1fr;
  }

  .docs-filters-modal__field--exactDescription {
    grid-column: auto;
  }

  .docs-filters-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-filters-modal__button {
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .docs-page .table-card__content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .docs-page .docs-consultation-table {
    width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .docs-page .docs-consultation-table tbody {
    width: 100%;
  }

  .docs-page .docs-consultation-table tbody tr {
    width: 100%;
    overflow: hidden;
  }

  .docs-page .docs-consultation-table tbody td,
  .docs-page .docs-consultation-table tbody td:nth-child(n) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px 16px;
    text-align: left;
  }

  .docs-page .docs-consultation-table tbody td[data-label]::before {
    margin-bottom: 8px;
  }

  .docs-page .docs-consultation-cell--select .docs-consultation-checkbox {
    margin-left: 0;
  }

  .docs-page .docs-consultation-document {
    width: 100%;
    align-items: flex-start;
  }

  .docs-page .docs-consultation-document .doc-table__title,
  .docs-page .docs-consultation-document .doc-table__subtitle {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .docs-page .docs-consultation-description {
    max-width: 100%;
    margin-inline: 0;
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-line-clamp: initial;
  }

  .docs-page .docs-consultation-status {
    width: fit-content;
    max-width: 100%;
  }

  .docs-page .docs-consultation-table .docs-consultation-actions {
    justify-content: flex-start;
  }
}
