.au-pm {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #333;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.5;
  height: 100%;
}

.au-pm *,
.au-pm *::before,
.au-pm *::after {
  box-sizing: border-box;
}

.au-pm__screen {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.au-pm__back,
.au-pm__title,
.au-pm__meta,
.au-pm__subtitle {
  flex: 0 0 auto;
}

.au-pm__back {
  display: inline-block;
  align-self: flex-start;
  margin: 2px 0 6px;
  color: #d9730b;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.au-pm__back:hover {
  color: #b45f00;
}

.au-pm__title {
  margin: 4px 0 12px;
  color: #e07b0a;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
}

.au-pm__meta {
  margin: 0 0 10px;
  color: #666;
}

.au-pm__meta b {
  color: #333;
  font-weight: bold;
}

.au-pm__subtitle {
  margin: 14px 0 6px;
  color: #e07b0a;
  font-size: 15px;
  font-weight: bold;
}

.au-pm__empty {
  padding: 16px 4px;
  color: #888;
}

.au-pm__error {
  padding: 16px 4px;
  color: #c0392b;
}

.au-pm__grid {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.au-pm .silver-grid {
  border: none;
  height: auto;
}

.au-pm .table-silvergrid-body-overflow {
  scrollbar-gutter: auto;
  overflow: auto;
}

.au-pm .table-silvergrid-header,
.au-pm .table-silvergrid-body {
  width: 100% !important;
}

.au-pm__screen--filials .table-silvergrid-header th:nth-child(2),
.au-pm__screen--filials .table-silvergrid-body td:nth-child(2) {
  text-align: center;
}

.au-pm .table-silvergrid-body td,
.au-pm .table-silvergrid-header th {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.au-pm tr.table-col-width {
  visibility: collapse;
}

.au-pm tr.table-col-width td,
.au-pm tr.table-col-width th {
  padding: 0 !important;
  border: none !important;
  height: 0 !important;
  line-height: 0 !important;
}

.au-pm th.plug,
.au-pm td.plug {
  display: none !important;
}

.silver-grid .table-silvergrid-header-overflow {
  background: #ededed !important;
}

.au-pm .table-silvergrid-header th,
.au-pm .table-silvergrid-header td {
  background: #ededed !important;
  color: #333 !important;
  font-weight: bold !important;
  border-bottom: 1px solid #cfcfcf !important;
}

.au-pm .table-silvergrid-body td {
  padding: 8px 10px !important;
  border-bottom: 1px solid #e4e4e4 !important;
  color: #333;
  vertical-align: middle;
}

.au-pm .table-silvergrid-body tr:hover td {
  background: #fbf4ec !important;
}

.au-pm .silver-grid-body {
  cursor: pointer;
}

.au-pm .table-silvergrid-body td.au-pm-link {
  color: #d9730b;
  text-decoration: underline;
}

.au-pm .table-silvergrid-body tr:hover td.au-pm-link {
  color: #b45f00;
}

.au-pm__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 5;
}

.au-pm__loader svg {
  width: 42px;
  transform-origin: center;
  animation: au-pm-rotate 2s linear infinite;
}

.au-pm__loader circle {
  fill: none;
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 4;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: au-pm-dash 1.5s ease-in-out infinite;
}

@keyframes au-pm-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes au-pm-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dashoffset: -125px;
  }
}

.au-pm [hidden] {
  display: none !important;
}

.au-pm__screen--card {
  overflow: hidden;
}

.au-pm-card {
  padding: 4px 2px 12px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.au-pm-card__tabs {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.au-pm-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex: 0 0 auto;
}

.au-pm-card__avatar {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  flex: 0 0 auto;
}

.au-pm-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.au-pm-card__name {
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.au-pm-card__row {
  margin: 4px 0;
  color: #444;
}

.au-pm-card__row b {
  color: #333;
}

.au-pm-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.au-pm-card__status-icon {
  width: 14px;
  height: 14px;
}

.au-pm-tabs {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.au-pm-tabs__menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
  flex: 0 0 auto;
}

.au-pm-tabs__menu li {
  padding: 8px 14px;
  cursor: pointer;
  color: #666;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  font-size: 9px;
}

.au-pm-tabs__menu li:hover {
  color: #d9730b;
}

.au-pm-tabs__menu li.active {
  color: #e07b0a;
  border-bottom-color: #e07b0a;
}

.au-pm-tabs__content {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.au-pm-tabs__panel {
  display: none;
  padding: 0 14px;
}

.au-pm-tabs__panel.active {
  display: block;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}

.au-pm-tabs__panel.au-pm-tabs__panel--fill.active {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.au-pm-card__grid {
  position: relative;
  width: 100%;
  margin-top: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.au-pm-card__grid .table-silvergrid-body-overflow {
  scrollbar-gutter: auto;
  overflow: auto;
}

.au-pm-card__grid .silver-grid-body {
  cursor: default;
}

.au-pm-fields {
  display: flex;
  flex-direction: column;
}

.au-pm-fields__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e4e4e4;
}

.au-pm-fields__row:last-child {
  border-bottom: none;
}

.au-pm-fields__label {
  flex: 0 0 280px;
  font-weight: bold;
  color: #333;
}

.au-pm-fields__value {
  flex: 1 1 240px;
  min-width: 0;
  color: #444;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .au-pm-fields__row {
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
  }
  .au-pm-fields__label {
    flex: 0 0 auto;
  }
  .au-pm-fields__value {
    flex: auto;
  }
  .au-pm-card__avatar {
    width: 90px;
    height: 90px;
  }
  .au-pm-tabs__menu li {
    font-size: 11px;
    padding: 6px 10px;
  }
  .au-pm-tabs__panel {
    padding: 0 10px;
  }
}


.au-pm .table-silvergrid-header th, 
.au-pm .table-silvergrid-header td,
.au-pm .table-silvergrid-body td{
font-size:10px;
}
