.st-liquidation-page {
  padding: 16px 20px 28px;
  color: #0b1f3a;
}

.st-liquidation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.st-liquidation-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 900;
}

.st-liquidation-head p {
  margin: 0;
  max-width: 560px;
  color: #667895;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 750;
}

.st-liquidation-back {
  min-width: 126px;
  min-height: 62px;
  border: 1px solid #c8d6e8;
  border-radius: 12px;
  background: #f8fbff;
  color: #0b1f3a;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-preliquidation {
  border: 1px solid #9fc6ff;
  border-radius: 14px;
  background: #fff;
  padding: 16px 18px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.st-preliquidation-kicker {
  color: #2563eb;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.st-preliquidation h2 {
  margin: 2px 0 14px;
  font-size: 28px;
  line-height: 1.02;
  font-weight: 950;
}

.st-liquidation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.st-liquidation-actions button {
  min-height: 40px;
  border: 1px solid #bfd0e5;
  border-radius: 9px;
  background: #fff;
  color: #0b1f3a;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-liquidation-actions button:last-child {
  border-color: #2563eb;
  background: #eef5ff;
  color: #1d4ed8;
}

.st-preliquidation-note {
  margin: 0 0 14px;
  color: #526783;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 900;
  text-transform: uppercase;
}

.st-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.st-summary-card {
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
  min-height: 66px;
}

.st-summary-label {
  display: block;
  color: #61738e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.st-liquidation-alert {
  border-radius: 10px;
  padding: 14px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.24;
  font-weight: 950;
  text-transform: uppercase;
}

.st-liquidation-alert--orange {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.st-liquidation-alert--yellow {
  border: 1px solid #facc15;
  background: #fffbeb;
  color: #92400e;
}

.st-settlement-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.st-settlement-card {
  border: 1px solid #d8e2ef;
  border-radius: 11px;
  background: #fff;
  padding: 14px;
}

.st-settlement-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.st-settlement-code {
  color: #2563eb;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-settlement-client {
  color: #667895;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-settlement-title {
  margin-bottom: 10px;
  color: #06152a;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 950;
  text-transform: uppercase;
}

.st-settlement-lines {
  display: grid;
  gap: 4px;
  color: #0b1f3a;
  font-size: 14px;
  line-height: 1.24;
  font-weight: 900;
  text-transform: uppercase;
}

.st-official-empty {
  margin: 12px 4px 0;
  color: #667895;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.st-official-reports {
  margin-top: 24px;
}

.st-official-title {
  margin: 0 4px 12px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-official-report-card {
  margin-top: 14px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  overflow: hidden;
}

.st-official-report-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 3px solid #0f172a;
}

.st-official-report-head h3 {
  margin: 0 0 4px;
  color: #06152a;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-official-report-head p,
.st-official-report-meta {
  margin: 0;
  color: #667895;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-official-report-meta {
  text-align: right;
}

.st-official-table-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}

.st-official-report-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.st-official-report-table th {
  background: #0f172a;
  color: #fff;
  padding: 10px 8px;
  font-size: 9px;
  font-weight: 950;
  text-align: left;
  text-transform: uppercase;
}

.st-official-report-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #edf2f7;
  color: #06152a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.st-official-report-table .is-blue {
  color: #1d4ed8;
}

.st-official-report-table .is-red {
  color: #e11d48;
}

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

.st-official-report-table .st-part-breakdown {
  margin-top: 3px;
  color: #64748b;
  font-size: 8px;
  line-height: 1.12;
  font-weight: 850;
}

.st-official-report-table .is-green {
  color: #047857;
  font-size: 16px;
  font-weight: 950;
}

.st-official-status {
  display: inline-flex;
  border: 1px solid #facc15;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 950;
}

.st-official-report-bottom {
  width: min(520px, 100%);
  margin-left: auto;
  border: 1px solid #d8e2ef;
  background: #fff;
}

.st-official-report-bottom-title {
  background: #0f172a;
  color: #fff;
  padding: 12px;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.st-official-report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  color: #526783;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.st-official-report-row strong {
  color: #06152a;
}

.st-official-report-row .is-green {
  color: #047857;
}

.st-official-report-row .is-red {
  color: #e11d48;
}

.st-official-report-row .is-blue {
  color: #4f46e5;
}

.st-official-close {
  background: #e11d48;
  color: #fff;
  padding: 18px;
}

.st-official-close-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.st-official-close h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.st-official-close p {
  margin: 0;
  font-size: 11px;
  font-weight: 850;
  font-style: italic;
}

.st-official-close-total {
  font-size: 28px;
  font-weight: 950;
}

.st-official-close-banner {
  border-radius: 6px;
  background: rgba(255,255,255,0.22);
  padding: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.st-liquidation-loading,
.st-liquidation-error {
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  color: #526783;
  font-weight: 850;
  text-transform: uppercase;
}

.st-liquidation-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .st-liquidation-page {
    padding: 14px 0 22px;
  }

  .st-liquidation-head {
    padding: 0 10px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .st-liquidation-head h1 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.05;
  }

  .st-liquidation-head p {
    max-width: 260px;
    font-size: 14px;
    line-height: 1.32;
  }

  .st-liquidation-back {
    min-width: 92px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 15px;
  }

  .st-preliquidation {
    border-radius: 12px;
    padding: 14px 9px;
  }

  .st-preliquidation-kicker {
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .st-preliquidation h2 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.03;
  }

  .st-liquidation-actions {
    gap: 8px;
    margin-bottom: 8px;
  }

  .st-liquidation-actions button {
    min-height: 34px;
    font-size: 10px;
  }

  .st-preliquidation-note {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.23;
  }

  .st-summary-grid {
    gap: 10px;
    margin: 14px 0;
  }

  .st-summary-card {
    min-height: 54px;
    padding: 9px 10px;
  }

  .st-summary-label {
    font-size: 9px;
    line-height: 1.15;
  }

  .st-summary-value {
    font-size: 15px;
  }

  .st-liquidation-alert {
    padding: 11px 12px;
    font-size: 11px;
    line-height: 1.24;
  }

  .st-official-empty {
    font-size: 16px;
  }

  .st-official-reports {
    margin-top: 18px;
  }

  .st-official-title {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 11px;
  }

  .st-official-report-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 14px 10px;
  }

  .st-official-report-head {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .st-official-report-head h3 {
    font-size: 13px;
  }

  .st-official-report-head p,
  .st-official-report-meta {
    font-size: 8px;
  }

  .st-official-report-bottom {
    width: 100%;
  }

  .st-official-close {
    padding: 14px;
  }

  .st-official-close-total {
    font-size: 22px;
  }

  .st-settlement-card {
    padding: 13px;
  }
}
