/* [TFH-951:TFH_GENERIC_REPORT_ENGINE:CSS-START] */
.tfh-report-workspace-screen {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg,#edf3f8,#f9fbfd);
}

.tfh-report-workspace-header {
  min-height: 78px;
}

.tfh-report-workspace-count {
  min-width: 110px;
  display: grid;
  justify-items: end;
  margin-left: auto;
  padding: 8px 14px;
  border-left: 1px solid rgba(255,255,255,.24);
}

.tfh-report-workspace-count strong {
  color: #d8b56e;
  font-family: "Times New Roman",serif;
  font-size: 1.65rem;
}

.tfh-report-workspace-count span {
  color: rgba(255,255,255,.72);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tfh-report-workspace-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: 9px;
  padding: 10px 14px 6px;
}

.tfh-report-workspace-filters {
  padding: 9px 10px;
  border: 1px solid #bac8d4;
  border-radius: 12px;
  background: linear-gradient(180deg,#fdfefe,#e8eef3);
  box-shadow: inset 0 1px #fff,0 6px 18px rgba(17,49,84,.1);
}

.tfh-report-workspace-filter-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(112px,1fr)) 116px;
  gap: 8px;
  align-items: end;
}

.tfh-report-workspace-filter-grid label {
  display: grid;
  gap: 4px;
}

.tfh-report-workspace-filter-grid label > span {
  color: #445a6f;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.tfh-report-workspace-filter-grid input,
.tfh-report-workspace-filter-grid select {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #aebdca;
  border-radius: 6px;
  background: #fff;
  font-size: .76rem;
}

.tfh-report-accumulate-button {
  min-height: 35px;
  border: 1px solid #173d62;
  border-radius: 7px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(#6f879b,#334d63);
  box-shadow: inset 0 1px rgba(255,255,255,.28),0 4px 10px rgba(14,42,66,.18);
  cursor: pointer;
}

.tfh-report-workspace-grid-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #7d8d9b;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17,49,84,.12);
}

.tfh-report-workspace-grid-scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.tfh-report-workspace-table {
  width: 100%;
  min-width: 1320px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 11pt;
}

.tfh-report-workspace-table thead {
  position: sticky;
  top: 0;
  z-index: 4;
}

.tfh-report-workspace-table tfoot {
  position: sticky;
  bottom: 0;
  z-index: 3;
}

.tfh-report-workspace-table th {
  height: 38px;
  padding: 5px 6px;
  color: #fff;
  font-size: 11pt;
  font-weight: 400;
  line-height: 1.12;
  text-align: center !important;
  background: linear-gradient(#748a9e,#40586d);
  border-right: .5px solid #111;
  border-bottom: 1px solid #111;
  white-space: normal;
}

.tfh-report-workspace-table th:first-child {
  border-left: .5px solid #111;
}

.tfh-report-workspace-table td {
  min-height: 34px;
  padding: 6px 7px;
  vertical-align: top;
  line-height: 1.28;
  font-size: 11pt;
  border-right: .5px solid #7d8790;
  border-bottom: .5px solid #9da6ae;
  overflow-wrap: anywhere;
}

.tfh-report-workspace-table tbody tr:nth-child(odd) td {
  background: #f8fbfd;
}

.tfh-report-workspace-table tbody tr:nth-child(even) td {
  background: linear-gradient(90deg,#e7eef5,#f3f7fa);
}

.tfh-report-workspace-table tbody tr:hover td {
  background: #dceaf5;
}

.tfh-report-workspace-table td strong,
.tfh-report-workspace-table td small {
  display: block;
}

.tfh-report-workspace-table td small {
  margin-top: 1px;
  color: #5d6974;
  font-size: 9.5pt;
}

.tfh-report-workspace-table .is-left {
  text-align: left;
}

.tfh-report-workspace-table .is-center {
  text-align: center;
}

.tfh-report-workspace-table .is-right {
  text-align: right;
}

.tfh-report-workspace-table .is-nowrap {
  white-space: nowrap;
}

.tfh-report-workspace-table tfoot td {
  height: 38px;
  font-size: 11pt;
  font-weight: 750;
  background: linear-gradient(#d9e0e6,#b9c5cf);
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.tfh-report-workspace-empty {
  height: 180px;
  color: #647586;
  font-size: .85rem !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: #fff !important;
}

.tfh-report-workspace-message {
  min-height: 20px;
  margin: 0 4px;
}

.tfh-report-workspace-footer {
  flex: 0 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(#294e70,#102d49);
  box-shadow: 0 -6px 18px rgba(0,0,0,.15);
}

.tfh-report-workspace-footer > span {
  margin-right: auto;
  color: rgba(255,255,255,.72);
  font-size: .71rem;
}

.tfh-internal-pdf-layer {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2,11,22,.82);
  backdrop-filter: blur(6px);
}

.tfh-internal-pdf-window {
  width: min(1480px,100%);
  height: min(94dvh,980px);
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
  background: #dfe5ea;
  box-shadow: 0 30px 100px rgba(0,0,0,.48);
}

.tfh-internal-pdf-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(145deg,#071a31,#164a78);
}

.tfh-internal-pdf-header > div {
  min-width: 0;
}

.tfh-internal-pdf-header span {
  color: #d8b56e;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.tfh-internal-pdf-header h2 {
  margin: 2px 0;
  font-size: 1.18rem;
}

.tfh-internal-pdf-header p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
}

.tfh-internal-pdf-header .tfh-modal-close {
  margin-left: auto;
}

.tfh-internal-pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid #9ba8b3;
  background: linear-gradient(#f8fafb,#d8e0e6);
}

.tfh-internal-pdf-toolbar button {
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #8d9ba7;
  border-radius: 5px;
  color: #243c52;
  background: linear-gradient(#fff,#e1e7ec);
  cursor: pointer;
}

.tfh-internal-pdf-toolbar button:disabled {
  opacity: .45;
  cursor: default;
}

.tfh-internal-pdf-toolbar button.is-print {
  color: #fff;
  border-color: #254b6e;
  background: linear-gradient(#66829a,#36546d);
}

.tfh-internal-pdf-toolbar button.is-download {
  color: #fff;
  border-color: #8d641e;
  background: linear-gradient(#c79845,#9d6d1d);
}

.tfh-internal-pdf-toolbar i {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: #aeb9c2;
}

.tfh-internal-pdf-stage {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  background:
    linear-gradient(45deg,#cbd3da 25%,transparent 25%),
    linear-gradient(-45deg,#cbd3da 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#cbd3da 75%),
    linear-gradient(-45deg,transparent 75%,#cbd3da 75%),
    #d8dfe5;
  background-size: 20px 20px;
  background-position: 0 0,0 10px,10px -10px,-10px 0;
}

.tfh-internal-pdf-page {
  width: fit-content;
  min-width: 320px;
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  transform-origin: top center;
}

.tfh-internal-pdf-page img {
  display: block;
  max-width: none;
  width: 1120px;
  height: auto;
  transform-origin: top center;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform 120ms ease;
}

.tfh-internal-pdf-empty {
  padding: 50px;
  color: #566777;
  background: #fff;
}

.tfh-report-print-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  right: 0;
  bottom: 0;
  border: 0;
  opacity: .01;
  pointer-events: none;
}

@media(max-width:1180px) {
  .tfh-report-workspace-filter-grid {
    grid-template-columns: repeat(4,minmax(130px,1fr));
  }
}

@media(max-width:720px) {
  .tfh-report-workspace-filter-grid {
    grid-template-columns: repeat(2,minmax(130px,1fr));
  }

  .tfh-report-workspace-footer {
    flex-wrap: wrap;
  }

  .tfh-report-workspace-footer > span {
    width: 100%;
    order: 5;
  }

  .tfh-internal-pdf-toolbar {
    overflow-x: auto;
  }

  .tfh-internal-pdf-page img {
    width: 900px;
  }
}
/* [TFH-951:TFH_GENERIC_REPORT_ENGINE:CSS-END] */
