.plastun-identity__emblem-link {
  display: block;
  width: min(100%, 9rem);
  color: inherit;
  text-decoration: none;
}

.plastun-identity__emblem-link:hover,
.plastun-identity__emblem-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .plastun-identity .org-unit-profile-panel__layout > .plastun-identity__emblem-link {
    justify-self: start;
    max-width: 9rem;
  }
}

.plastun-identity__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  min-width: 0;
  margin: 0;
}

.plastun-identity__fact {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  column-gap: 0.75rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-primary);
}

.plastun-identity__fact:first-child {
  padding-top: 0;
}

.plastun-identity__fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.plastun-identity__label {
  margin: 0;
  color: var(--text-tertiary);
  font-size: var(--font-sm);
  font-weight: 500;
  line-height: 1.35;
}

.plastun-identity__value {
  margin: 0;
  min-width: 0;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
}

.plastun-tabir-row__vidznaka {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  background: var(--bg-surface);
}

.plastun-posvidky-picker {
  width: min(100%, 18rem);
}

.posvidky-carousel__trailing .plastun-posvidky-picker {
  margin: 0;
}

@media (max-width: 767.98px) {
  .posvidky-carousel__trailing .plastun-posvidky-picker {
    width: min(100%, 22rem);
  }
}

/* Same disclosure as a tabir recognition reject: the verb opens the note and confirm. */
.completion-revoke > summary {
  display: inline-block;
  list-style: none;
  cursor: pointer;
}

.completion-revoke > summary::-webkit-details-marker {
  display: none;
}

.completion-revoke[open] > summary {
  margin-bottom: var(--space-3);
}

/* Same category accordion as the vmilist index, without the page-panel shadow inside a modal. */
.plastun-track-requirement-groups.catalog-browse {
  box-shadow: none;
}

.plastun-track-requirement-groups .accordion-body .list-group-item {
  padding-left: calc(var(--space-6) + var(--space-6));
  padding-right: var(--space-6);
}

/* Ratio sits at the row end, in the same place as a Done badge, just before the chevron. */
.plastun-track-requirement-groups .accordion-button .plastun-track-section__title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.plastun-track-requirement-groups .accordion-button .plastun-track-section__ratio {
  flex: 0 0 auto;
}

.plastun-track-requirement-groups .accordion-button::after {
  margin-inline-start: var(--space-3);
}

.grant-progress-vymohy .list-group-item {
  padding: 0;
}

.grant-progress-vymohy .list-group-item > label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
}

.grant-progress-entire {
  color: var(--text-primary);
  font-weight: 600;
}

.grant-progress-group > summary {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  list-style: none;
  text-align: start;
  color: var(--text-primary);
  font-weight: 600;
}

.grant-progress-group > summary::-webkit-details-marker,
.grant-progress-group > summary::marker {
  content: none;
  display: none;
}

.grant-progress-group > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg);
}

.grant-progress-group[open] > summary::after {
  margin-top: 0.5rem;
  transform: rotate(-135deg);
}

.grant-progress-group > summary > .grant-progress-group__check {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex: 0 0 auto;
  margin-block: calc(var(--space-3) * -1);
  margin-inline-start: calc(var(--space-4) * -1);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  cursor: pointer;
}

.grant-progress-group > summary > span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.grant-progress-group > .list-group {
  border-top: 1px solid var(--border-secondary);
}

.grant-progress-requirement--nested > label {
  padding-inline-start: calc(var(--space-6) + var(--space-3));
}

.grant-progress-requirement--nested-deep > label {
  padding-inline-start: calc(var(--space-6) + var(--space-6) + var(--space-3));
}
