.st-admin-liquidation {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 50px 46px 46px;
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
  color: #06152a;
  overflow-x: auto;
}

.st-admin-liquidation * {
  box-sizing: border-box;
}

.st-admin-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 4px solid #0f172a;
}

.st-admin-report-title h1 {
  margin: 0 0 10px;
  color: #06152a;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.st-admin-report-title p {
  margin: 0;
  color: #667895;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.st-admin-report-meta {
  min-width: 300px;
  padding-top: 2px;
  text-align: right;
  color: #8a99b1;
  font-size: 12px;
  line-height: 1.48;
  font-weight: 900;
  text-transform: uppercase;
}

.st-admin-report-meta strong {
  color: #06152a;
}

.st-admin-review-card {
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  padding: 22px 22px 20px;
  margin-bottom: 20px;
}

.st-admin-review-top {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d8e2ef;
}

.st-admin-review-label {
  color: #667895;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.st-admin-review-main {
  margin-top: 10px;
  color: #1d4ed8;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 950;
  text-transform: uppercase;
}

.st-admin-review-main span {
  display: block;
  margin-top: 4px;
}

.st-admin-formula {
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900;
  text-align: right;
}

.st-admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.st-admin-summary-card {
  min-height: 104px;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 18px 15px;
}

.st-admin-summary-label {
  display: block;
  color: #667895;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 950;
  text-transform: uppercase;
}

.st-admin-summary-value {
  display: block;
  margin-top: 7px;
  color: #06152a;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 950;
}

.st-admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 60px;
}

.st-admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
}

.st-admin-table th {
  background: #0f172a;
  color: #fff;
  padding: 14px 10px;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 950;
  text-align: left;
  text-transform: uppercase;
}

.st-admin-table th:nth-child(4),
.st-admin-table th:nth-child(8),
.st-admin-table th:nth-child(9) {
  background: #1e293b;
}

.st-admin-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #edf2f7;
  color: #06152a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  vertical-align: middle;
}

.st-admin-table tbody tr:nth-child(even) td {
  background: #fcfdff;
}

.st-admin-clickable-row {
  cursor: pointer;
}

.st-admin-clickable-row:hover td {
  background: #eef5ff !important;
}

.st-admin-code,
.st-admin-client,
.st-admin-transfer,
.st-admin-pay50 {
  color: #1d4ed8 !important;
}

.st-admin-client-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.st-admin-client-link:hover {
  color: #0f3fb8 !important;
  text-decoration: underline;
}

.st-admin-code {
  color: #526783 !important;
  word-break: break-word;
}

.st-admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 5px 10px;
  border: 1px solid #facc15;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.st-admin-status.is-paid {
  border-color: #86efac;
  background: #dcfce7;
  color: #15803d;
}

.st-admin-status:hover {
  filter: brightness(0.96);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.st-admin-part {
  color: #e11d48 !important;
}

.st-part-total {
  color: #e11d48;
  font-weight: 950;
  line-height: 1.05;
}

.st-part-breakdown {
  margin-top: 3px;
  color: #64748b;
  font-size: 9px;
  line-height: 1.12;
  font-weight: 850;
  text-transform: uppercase;
}

.st-admin-cash {
  background: #f8fffb;
}

.st-admin-close {
  background: #f0fdf4;
  color: #047857 !important;
  font-size: 22px !important;
  font-weight: 950 !important;
}

.st-admin-close.is-negative {
  background: #fff1f2;
  color: #e11d48 !important;
}

.st-admin-bottom {
  width: min(640px, 100%);
  margin-left: auto;
  border: 1px solid #d8e2ef;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.st-admin-bottom-title {
  background: #0f172a;
  color: #fff;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.st-admin-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #edf2f7;
  color: #526783;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-admin-bottom-row strong {
  color: #06152a;
  font-size: 16px;
  font-weight: 950;
}

.st-admin-bottom-row .is-green {
  color: #047857;
}

.st-admin-bottom-row .is-red {
  color: #e11d48;
}

.st-admin-bottom-row .is-blue {
  color: #4f46e5;
}

.st-admin-bottom-row--sub {
  padding-left: 34px;
  font-style: italic;
}

.st-admin-bottom-row--sub span {
  position: relative;
}

.st-admin-bottom-row--sub span::before {
  content: "↳ ";
  color: #526783;
}

.st-admin-close-panel {
  background: #e11d48;
  color: #fff;
  padding: 26px 26px 22px;
}

.st-admin-close-panel-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.st-admin-close-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-admin-close-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  font-style: italic;
}

.st-admin-close-total {
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.st-admin-close-banner {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.22);
  padding: 12px 16px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .st-admin-liquidation {
    padding: 28px 14px;
  }

  .st-admin-report-head,
  .st-admin-review-top {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .st-admin-report-meta,
  .st-admin-formula {
    min-width: 0;
    text-align: left;
  }

  .st-admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-admin-bottom {
    margin-left: 0;
  }

  .st-admin-close-panel-top {
    grid-template-columns: 1fr;
  }

  .st-admin-close-total {
    font-size: 32px;
  }
}
