.report-browser {
  grid-template-columns: 345px minmax(0, 1fr);
  gap: 20px;
  background: #eaeef7;
  padding: 8px 16px 12px;
  height: calc(100vh - 122px);
}
.report-groups,
.report-list {
  border: 1px solid #a6aab2;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 29, 66, 0.06), 0 2px 8px rgba(16, 29, 66, 0.06) ;
  background: #f8fafe;
}
.report-groups {
  padding: 15px 10px;
}
.report-groups button {
  height: 44px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #0b193b;
  font-size: 16px;
  border-radius: 8px;
}
.report-groups img {
  width: 20px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
.report-groups .active img {
  filter: brightness(0) invert(1);
}
.report-list {
  padding: 8px 18px;
  position: relative;
}
.report-list > h2 {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: 27px;
  color: #62666d;
  height: 36px;
}
.report-list > input[type='search'] {
  position: absolute;
  right: 8px;
  top: 7px;
  width: 40%;
  height: 34px;
}
.report-cards {
  gap: 0 20px;
}
.report-card {
  padding: 9px 15px;
  gap: 20px;
  min-height: 80px;
  background: transparent;
  border-radius: 0;
}
.report-card b {
  color: #0a111e;
  font-size: 16px;
  font-weight: 400;
}
.report-card p {
  color: #7e838a;
  font-size: 13px;
  margin-top: 6px;
}
.report-icon {
  width: 48px;
  min-width: 48px;
  height: 56px;
  color: #315fc2;
}
.report-icon svg {
  width: 48px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}
.report-icon > i {
  font-size: 56px;
  line-height: 56px;
}
.view[data-module='report'] [role='tab'][data-catalog='true'],
.view[data-module='report'] .new-document-button {
  display: none;
}
#modal:has(.accurate-report-parameters) {
  width: 570px;
  max-width: 95vw;
}
#modal:has(.accurate-report-parameters) .dialog-body {
  padding: 10px;
  max-height: calc(80vh - 100px);
}
.accurate-report-parameters .horizontal-tabs {
  margin: 0;
  border-bottom: 1px solid #a6aab2;
}
.accurate-report-parameters .horizontal-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-size: 16px;
  padding: 10px 15px;
  color: #6c7077;
}
.accurate-report-parameters .horizontal-tabs button.active {
  color: red;
  border-bottom-color: red;
}
.report-parameter-pane {
  max-height: 55vh;
  min-height: 210px;
  overflow: auto;
  padding: 8px 10px 12px;
}
.report-parameter-pane .report-boolean-parameter {
  display: flex !important;
}
.report-groups .active img {
  filter: brightness(0) invert(1);
}
.report-parameter-pane h2 {
  font-size: 23px;
  font-weight: 400;
  margin: 6px 0 18px;
  border-bottom: 1px solid #d9dde5;
  padding: 0 0 5px;
}
.report-parameter-pane .field {
  grid-template-columns: 120px minmax(0, 1fr);
  margin: 10px 0;
  gap: 14px;
  font-size: 16px;
  align-items: center;
}
#modal .report-parameter-pane .field {
  display: grid;
}
#modal .report-parameter-pane .report-boolean-parameter {
  display: flex;
}
#modal .report-parameter-pane .field > label {
  font-size: 16px;
  color: #0a162e;
  margin: 0;
}
#modal .report-parameter-pane .field input {
  height: 33px;
  min-height: 33px;
  font-size: 15px;
}
#modal .report-parameter-pane .field input[type='checkbox'] {
  height: 20px;
  min-height: 20px;
  accent-color: #1b41a3;
}
#modal:has(.accurate-report-parameters) .dialog-head {
  height: 37px;
  min-height: 37px;
  padding: 8px 10px;
  font-size: 14px;
  background: #15295b;
}
#modal:has(.accurate-report-parameters) .dialog-head button {
  padding: 0;
  font-size: 20px;
}
#modal:has(.accurate-report-parameters) .dialog-body {
  overflow: hidden;
  background: #f8fafe;
}
.accurate-report-parameters .horizontal-tabs {
  background: #f8fafe;
  padding: 0 5px;
}
.report-parameter-pane {
  height: 440px;
  max-height: 55vh;
}
.report-parameter-pane .field:has(.accurate-date) {
  grid-template-columns: minmax(120px, 1fr) 258px;
}
.report-parameter-pane .lookup,
.report-parameter-pane .multi-lookup {
  min-height: 33px;
  background: white;
}
.report-parameter-pane .report-boolean-parameter {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  margin: 10px 0;
}
.report-parameter-pane .report-boolean-parameter input {
  width: 20px;
  height: 20px;
}
.report-parameter-pane select[size] {
  width: 100%;
  height: 195px;
}
.report-filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.report-filter-actions button {
  width: 36px;
  height: 32px;
  padding: 0;
  font-size: 20px;
  color: white;
}
.report-filter-actions .success {
  background: #1e50d4;
}
.report-filter-actions .warning {
  background: #e87a11;
}
.report-filter-editor {
  border: 0;
  padding: 0;
  width: 500px;
  max-width: 95vw;
  box-shadow: 0 12px 32px rgba(16, 29, 66, 0.16), 0 2px 6px rgba(16, 29, 66, 0.08) ;
}
.report-period-row {
  display: flex;
  gap: 8px;
}
.report-period-row .field {
  flex: 1;
  grid-template-columns: 60px 1fr;
}
.accurate-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.invoice-settlement-link {
  font-size: 13px;
  grid-column: 1/-1;
  grid-row: 3;
  width: 100%;
  color: #9e570f;
  background: transparent;
  border: 0;
  padding: 5px 0;
  margin: 0;
  padding: 7px 12px;
  border-top: 1px solid #d9dde5;
  text-align: right;
  cursor: pointer;
}
.payment-stamp {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-45%, -50%) rotate(-13deg);
  pointer-events: none;
  z-index: 2;
  padding: 10px 17px;
  border: 5px double currentColor;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif ;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 4px;
  color: #ac3c36;
  opacity: 0.4;
  white-space: nowrap;
}
.payment-stamp.paid {
  color: #12885b;
  width: auto;
  height: auto;
}
.payment-stamp.partially_paid {
  font-size: 25px;
  color: #aa6b26;
  letter-spacing: 2px;
}
.invoice-settlement-link.paid {
  color: #00805d;
}
.invoice-settlement-link.partially_paid {
  color: #9e6013;
}
@media (max-width: 1000px) {
  .report-browser {
    grid-template-columns: 220px 1fr;
  }
  .report-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .report-browser {
    grid-template-columns: 1fr;
    height: auto;
  }
  .report-groups {
    display: flex;
    overflow: auto;
  }
  .report-groups button {
    width: auto;
    white-space: nowrap;
  }
  .report-list {
    min-height: 500px;
  }
}
