#vatReportPanel #vatReportSummaryWrap {
  width: 100%;
}

#vatReportPanel .table .right {
  text-align: right;
}

#vatReportPanel .vat-report-sheet {
  background: #fff;
  width: 100%;
  padding: 4px 0 12px;
}

#vatReportPanel .vat-report-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(17, 24, 39, 0.18);
  margin-bottom: 14px;
}

#vatReportPanel .vat-report-header__center {
  text-align: center;
}

#vatReportPanel .vat-report-header__center h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.01em;
}

#vatReportPanel .vat-report-kicker {
  font-size: 14px;
  font-weight: 700;
}

#vatReportPanel .vat-report-sub,
#vatReportPanel .vat-report-period,
#vatReportPanel .vat-report-header__right {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.78);
}

#vatReportPanel .vat-report-header__right {
  justify-self: end;
  text-align: right;
  line-height: 1.45;
}

#vatReportPanel .vat-report-body {
  display: grid;
  gap: 10px;
}

#vatReportPanel .vat-report-section {
  padding: 8px 0 2px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

#vatReportPanel .vat-report-section:last-child {
  border-bottom: 0;
}

#vatReportPanel .vat-report-section__title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}

#vatReportPanel .vat-report-table,
#vatReportPanel .vat-report-control-table {
  width: 100%;
  border-collapse: collapse;
}

#vatReportPanel .vat-report-table td,
#vatReportPanel .vat-report-control-table td {
  padding: 2px 0;
  vertical-align: top;
}

#vatReportPanel .vat-report-boxcode {
  width: 52px;
  font-weight: 700;
}

#vatReportPanel .vat-report-label {
  padding-right: 16px;
}

#vatReportPanel .vat-report-amount {
  width: 120px;
  white-space: nowrap;
}

#vatReportPanel .vat-report-control {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0));
}

#vatReportPanel .vat-report-control h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

/* Print button */
.vat-report-print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin: -4px -4px 0 0;
  color: rgba(17, 24, 39, 0.35);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.vat-report-print-btn:hover {
  color: rgba(17, 24, 39, 0.75);
  background: rgba(17, 24, 39, 0.04);
}


/* Clickable drilldown rows */
#vatReportPanel .vat-drilldown-row {
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 4px;
}
#vatReportPanel .vat-drilldown-row:hover {
  background: rgba(17, 24, 39, 0.04);
}

#vatReportPanel .vat-export-wrap {
  width: auto;
  min-width: 160px;
}

#vatReportPanel .vat-export-wrap .selectlike {
  min-width: 160px;
}

#vatReportPanel .vat-export-wrap .menu {
  left: auto;
  right: 0;
  min-width: 160px;
}
