.ccm-report-page {
  overflow: auto;
  margin-top: 0;
  width: 100%;
}

.ccm-preview-wrap {
  margin: 12px 8px 24px;
  overflow: auto;
  background: #fff;
  border: 1px solid #cfcfcf;
}

.ccm-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Calibri, Arial, sans-serif;
  font-size: 11px;
}

.ccm-preview-table th,
.ccm-preview-table td {
  border: 1px solid #bfbfbf;
  padding: 4px 6px;
  white-space: nowrap;
  text-align: center;
}

.ccm-preview-table th {
  color: #fff;
  font-weight: 700;
}

.ccm-neg {
  color: #ff0000;
}

.ccm-pos {
  color: #006600;
}

.ccm-loss-table {
  width: 420px;
  border-collapse: collapse;
  font-family: Calibri, Arial, sans-serif;
  font-size: 12px;
  margin: 8px;
}

.ccm-loss-table th,
.ccm-loss-table td {
  border: 1px solid #bfbfbf;
  padding: 5px 8px;
}

.ccm-loss-table th {
  background: #dce6f1;
  font-weight: 700;
}

.ccm-loss-total {
  background: #fde9d9;
  font-weight: 700;
}

.ccm-historic-slide {
  margin: 8px 8px 16px;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 8px 10px 12px;
}

.ccm-historic-title {
  color: #e26b0a;
  font-size: 23.8px;
  font-weight: 700;
  font-family: Calibri, Arial, sans-serif;
  padding: 4px 6px 8px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  line-height: 1;
}

.ccm-historic-title-text,
.ccm-historic-title-part,
.ccm-historic-title-sep,
.ccm-historic-title-loc {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
}

.ccm-historic-title-part {
  display: inline-flex;
  align-items: flex-end;
}

.ccm-historic-title-sep {
  color: #444;
  padding: 0 0.28em;
}

.ccm-historic-title-region {
  color: #1565c0;
}

.ccm-historic-title-controlling {
  color: #6a1b9a;
}

.ccm-historic-title-branch {
  color: #82b184;
  font-size: 50%;
}

.ccm-historic-chart {
  height: 320px;
  width: 100%;
}

.ccm-historic-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 13px;
}

.ccm-historic-empty-page {
  margin: 16px 8px 20px;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #bbb;
  color: #666;
  font-size: 13px;
}

.ccm-historic-table-wrap {
  margin: 12px 0 0;
  border: none;
}

.ccm-historic-table th {
  background: #f4b183;
  color: #000;
  font-weight: 700;
}

.ccm-historic-table td.ccm-ht-name {
  text-align: left;
  font-weight: 600;
  background: #fff2cc;
}

.ccm-historic-table tr.ccm-ht-tgt td {
  font-weight: 600;
}

.ccm-historic-table tr.ccm-ht-ach td {
  font-weight: 600;
}

.ccm-historic-table td.ccm-ht-growth {
  background: #c6efce;
  font-weight: 700;
}

.ccm-historic-table tr.ccm-ht-ach td.ccm-ht-growth {
  background: #9dc3e6;
  color: #000;
}

.ccm-cwr-slide {
  margin: 8px 8px 16px;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 8px 10px 12px;
}

.ccm-cwr-table-wrap {
  margin: 0;
  border: none;
}

.ccm-cwr-table {
  font-size: 10px;
  min-width: 1280px;
}

.ccm-cwr-table th,
.ccm-cwr-table td {
  border: 1px solid #000;
  padding: 3px 4px;
  color: #000;
}

.ccm-cwr-table th {
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}

.ccm-cwr-table .ccm-cwr-h-id,
.ccm-cwr-table .ccm-cwr-h-rev {
  background: #f4b183;
  color: #000;
}

.ccm-cwr-table .ccm-cwr-h-tgt {
  background: #ffff00;
  color: #000;
}

.ccm-cwr-table .ccm-cwr-h-pl {
  background: #bdd7ee;
  color: #000;
}

.ccm-cwr-table .ccm-cwr-units th {
  font-size: 9px;
  font-weight: 600;
}

.ccm-cwr-table td.ccm-cwr-id,
.ccm-cwr-table td.ccm-cwr-name {
  background: #fff2cc;
  font-weight: 600;
}

.ccm-cwr-table td.ccm-cwr-name {
  text-align: left;
}

.ccm-cwr-table .ccm-cwr-dash {
  border-left-style: dashed;
}

.ccm-cwr-table tr.ccm-cwr-total td {
  font-weight: 700;
}

.ccm-cwr-table tr.ccm-cwr-total td.ccm-cwr-id,
.ccm-cwr-table tr.ccm-cwr-total td.ccm-cwr-name,
.ccm-cwr-table tr.ccm-cwr-total td:nth-child(n + 14) {
  background: #f4b183;
}

.ccm-t15-slide {
  margin: 8px 8px 16px;
  background: #fff;
  border: 1px solid #cfcfcf;
  padding: 8px 10px 12px;
}

.ccm-t15-table-wrap {
  margin: 0;
  border: none;
}

.ccm-t15-table {
  font-size: 9px;
  min-width: 1480px;
}

.ccm-t15-table th,
.ccm-t15-table td {
  border: 1px solid #000;
  padding: 2px 3px;
  color: #000;
}

.ccm-t15-table th {
  color: #000;
  font-weight: 700;
  line-height: 1.15;
}

.ccm-t15-table .ccm-t15-h-id,
.ccm-t15-table .ccm-t15-h-sob,
.ccm-t15-table .ccm-t15-h-rev {
  background: #f4b183;
  color: #000;
}

.ccm-t15-table .ccm-t15-h-tgt {
  background: #ffff00;
  color: #000;
}

.ccm-t15-table .ccm-t15-h-pl {
  background: #bdd7ee;
  color: #000;
}

.ccm-t15-table .ccm-t15-units th {
  font-size: 8px;
  font-weight: 600;
}

.ccm-t15-table td.ccm-t15-id,
.ccm-t15-table td.ccm-t15-name,
.ccm-t15-table td.ccm-t15-seg {
  background: #fff2cc;
  font-weight: 600;
}

.ccm-t15-table td.ccm-t15-name {
  text-align: left;
}

.ccm-t15-table .ccm-t15-dash {
  border-left-style: dashed;
}

.ccm-t15-table td.ccm-t15-pos {
  background: #c6efce;
  color: #006100;
  font-weight: 700;
}

.ccm-t15-table td.ccm-t15-neg {
  background: #ffc7ce;
  color: #9c0006;
  font-weight: 700;
}

.ccm-t15-table tr.ccm-t15-cust-total > td {
  background-color: #ddebf7 !important;
  font-weight: 700 !important;
  color: #000 !important;
}

.ccm-t15-table tr.ccm-t15-cust-total > td.ccm-t15-total-label {
  text-align: center !important;
  font-size: 110% !important;
}

.ccm-report-page .MuiAutocomplete-listbox {
  padding: 2px 0 !important;
  font-size: 11px !important;
  max-height: 30vh !important;
  scrollbar-width: thin;
  scrollbar-color: #9aa4b2 transparent;
}

.ccm-report-page .MuiAutocomplete-listbox::-webkit-scrollbar {
  width: 4px;
}

.ccm-report-page .MuiAutocomplete-listbox::-webkit-scrollbar-track {
  background: transparent;
}

.ccm-report-page .MuiAutocomplete-listbox::-webkit-scrollbar-thumb {
  background: #9aa4b2;
  border-radius: 4px;
}

.ccm-report-page .MuiAutocomplete-option,
.ccm-report-page .MuiAutocomplete-listbox .MuiAutocomplete-option {
  font-size: 11px !important;
  font-weight: 500 !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  line-height: 1.2 !important;
}

@media (pointer: coarse) {
  .ccm-report-page .MuiAutocomplete-option {
    min-height: 22px !important;
  }
}
