:root {
  --page-bg: #f6f7f9;
  --ink: #0d1838;
  --muted: #4d5568;
  --grid: #d8dde6;
  --grid-soft: #e1e6ee;
  --finance-grid: #d4dae4;
  --finance-quarter-grid: #aeb6c4;
  --border: #4f5664;
  --blue: #1763df;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100vh;
  padding: 14px;
}

.site-menu-shell {
  position: fixed;
  top: 22px;
  left: 18px;
  z-index: 1400;
}

.site-menu-button {
  display: grid;
  gap: 6px;
  width: 34px;
  height: 30px;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-menu-button span {
  display: block;
  width: 29px;
  height: 3px;
  border-radius: 2px;
  background: #08164a;
}

.site-menu-panel {
  position: absolute;
  top: 42px;
  left: 0;
  width: 360px;
  border: 1px solid #aeb6c4;
  background: #fff;
  box-shadow: 0 18px 48px rgba(13, 24, 56, 0.22);
}

.site-menu-panel a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e7ef;
  color: #0d1838;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-menu-panel a:last-child {
  border-bottom: 0;
}

.site-menu-panel a:hover,
.site-menu-panel a[aria-current="page"] {
  background: #e8f1ff;
  color: #1763df;
}

.site-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 1390;
  background: rgba(13, 24, 56, 0.08);
}

.static-render .site-menu-shell,
.static-render .site-menu-scrim {
  display: none;
}

.forecast-page {
  padding: 32px;
}

.documents-page {
  padding: 32px;
}

.forecast-root {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 38px 42px;
  border: 1px solid #cbd1db;
  background: #fff;
  color: #111827;
  font-size: 15px;
  line-height: 1.48;
}

.forecast-root h1,
.forecast-root h2,
.forecast-root h3,
.forecast-root h4,
.forecast-root h5,
.forecast-root h6 {
  margin: 22px 0 10px;
  color: #08164a;
  line-height: 1.18;
}

.forecast-root h1:first-child,
.forecast-root h2:first-child,
.forecast-root h3:first-child {
  margin-top: 0;
}

.forecast-root h1 {
  font-size: 30px;
}

.forecast-root h2 {
  font-size: 23px;
  border-bottom: 2px solid #d8dde6;
  padding-bottom: 7px;
}

.forecast-root h3 {
  font-size: 19px;
}

.forecast-root p,
.forecast-root ul,
.forecast-root ol {
  margin: 9px 0;
}

.forecast-root code {
  padding: 1px 4px;
  border: 1px solid #d8dde6;
  background: #f6f7f9;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92em;
}

.forecast-root pre {
  overflow: auto;
  padding: 14px;
  border: 1px solid #d8dde6;
  background: #f6f7f9;
}

.forecast-root pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.forecast-root table {
  width: 100%;
  margin: 14px 0 20px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.forecast-root th,
.forecast-root td {
  vertical-align: top;
  padding: 8px 10px;
  border: 1px solid #d8dde6;
}

.forecast-root th {
  background: #eef3f9;
  color: #0d1838;
  font-weight: 800;
}

.forecast-root tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.forecast-root td p:first-child,
.forecast-root th p:first-child {
  margin-top: 0;
}

.forecast-root td p:last-child,
.forecast-root th p:last-child {
  margin-bottom: 0;
}

.documents-root {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 36px 40px;
  border: 1px solid #cbd1db;
  background: #fff;
}

.documents-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}

.documents-heading h1 {
  margin: 0;
  color: #08164a;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 800;
}

.documents-toggle-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #9da7b6;
  background: #fff;
  cursor: pointer;
}

.documents-toggle-all:hover {
  background: #eef3f9;
}

.documents-toggle-arrow {
  width: 0;
  height: 0;
  border-top: 6px solid #08164a;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.documents-toggle-all[aria-expanded="false"] .documents-toggle-arrow {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #08164a;
  border-right: 0;
}

.document-section {
  margin: 0 0 22px;
  border: 1px solid #d8dde6;
  background: #fff;
}

.document-section-title {
  margin: 0;
  border-bottom: 1px solid #d8dde6;
  background: #eef3f9;
}

.document-section-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: #08164a;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.2;
  font-family: inherit;
  font-weight: 800;
  text-align: left;
}

.document-section-toggle:hover {
  background: #e5eef9;
}

.document-section-arrow {
  width: 0;
  height: 0;
  border-top: 6px solid #08164a;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  flex: 0 0 auto;
}

.document-section.is-collapsed .document-section-arrow {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #08164a;
  border-right: 0;
}

.document-section.is-collapsed .document-link-list {
  display: none;
}

.document-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-link-item {
  min-width: 0;
  border-right: 1px solid #e2e7ef;
  border-bottom: 1px solid #e2e7ef;
}

.document-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 56px;
  padding: 14px 16px;
  color: #1763df;
  text-decoration: none;
}

.document-link:hover {
  background: #f4f8ff;
  color: #1763df;
}

.document-link:hover .document-link-title {
  text-decoration: underline;
}

.document-link-title {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.document-link-file {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #6f7785;
  font-size: 12px;
  line-height: 1.25;
}

.documents-empty {
  margin: 0;
  color: #4d5568;
  font-size: 15px;
}

@media (max-width: 720px) {
  .forecast-page,
  .documents-page {
    padding: 16px;
  }

  .site-menu-shell {
    top: 18px;
    left: 16px;
  }

  .site-menu-panel {
    width: min(360px, calc(100vw - 32px));
  }

  .forecast-root,
  .documents-root {
    padding: 28px 18px 28px;
  }

  .documents-heading h1 {
    font-size: 24px;
  }

  .document-link-list {
    grid-template-columns: 1fr;
  }
}

.chart-root {
  width: 100%;
  overflow: auto;
  background: #fff;
  border: 1px solid #cbd1db;
}

.chart-root.fixed-mode {
  height: calc(100vh - 28px);
  overflow: auto;
}

.gantt {
  min-width: 1780px;
  padding: 0 0 12px;
  background: #fff;
}

.left-gutter-mask {
  display: none;
}

.chart-root.fixed-mode .left-gutter-mask {
  position: fixed;
  z-index: 790;
  display: block;
  background: #fff;
  pointer-events: none;
}

.chart-heading {
  background: #fff;
}

.chart-root.fixed-mode .chart-heading {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 900;
  width: var(--scrollport-w, 100vw);
  background: #fff;
  border-bottom: 1px solid #cbd1db;
}

.gantt-fixed .sticky-header-row {
  position: sticky;
  z-index: 700;
  background: #fff;
}

.gantt-fixed .sticky-year-row {
  top: var(--heading-h);
}

.gantt-fixed .sticky-timeline-header-row {
  top: var(--heading-h);
}

.gantt-fixed .sticky-quarter-row {
  top: calc(var(--heading-h) + var(--year-h));
}

.gantt-fixed .sticky-stage-row {
  top: calc(var(--heading-h) + var(--year-h) + var(--quarter-h));
}

.gantt-fixed .sticky-footer-row {
  position: sticky;
  bottom: var(--sticky-bottom);
  z-index: 720;
  background: #fff;
}

.gantt-fixed .left-cell,
.gantt-fixed .activity-cell,
.gantt-fixed .figures-cell {
  position: sticky;
  z-index: 500;
}

.gantt-fixed .left-cell,
.gantt-fixed .activity-cell {
  left: var(--page-left);
}

.gantt-fixed .figures-cell {
  left: calc(var(--page-left) + var(--activity));
}

.gantt-fixed .left-cell,
.gantt-fixed .figures-cell {
  box-shadow: 1px 0 0 var(--border);
}

.gantt-fixed .sticky-header-row .left-cell,
.gantt-fixed .sticky-footer-row .left-cell {
  z-index: 800;
}

.gantt-fixed .timeline-cell {
  z-index: 1;
}

.gantt-fixed .sticky-header-row .timeline-cell,
.gantt-fixed .sticky-footer-row .timeline-cell {
  z-index: 710;
  background-color: #fff;
}

.gantt-fixed .sticky-header-row .year-cell,
.gantt-fixed .sticky-header-row .quarter-cell,
.gantt-fixed .sticky-footer-row .year-cell,
.gantt-fixed .sticky-footer-row .quarter-cell {
  background-color: #fff;
}

.chart-title {
  margin: 0;
  padding: 2px 0 0;
  color: #08164a;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
}

.chart-subtitle {
  margin: 0 0 6px;
  color: #343b4d;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

.chart-matrix {
  position: relative;
  width: calc(var(--activity) + var(--figures) + var(--timeline));
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #fff;
}

.chart-matrix::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 0;
  border-right: 1px solid var(--border);
  pointer-events: none;
  z-index: 850;
}

.chart-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--activity) var(--figures) var(--timeline);
  width: 100%;
}

.left-cell,
.activity-cell,
.figures-cell {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid #e6eaf1;
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.left-cell {
  grid-column: 1 / span 2;
  padding: 0 10px 0 30px;
  border-right: 1px solid var(--border);
}

.activity-cell {
  grid-column: 1;
  padding: 0 10px 0 30px;
  border-right: 1px solid #d9dee7;
}

.figures-cell {
  grid-column: 2;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  border-right: 1px solid var(--border);
  color: #6f7785;
  font-style: italic;
  font-weight: 400;
}

.timeline-cell {
  position: relative;
  grid-column: 3;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid #dfe5ed;
  background-image:
    repeating-linear-gradient(to right, transparent 0, transparent calc(var(--month) - 1px), var(--grid-soft) calc(var(--month) - 1px), var(--grid-soft) var(--month)),
    repeating-linear-gradient(to right, transparent 0, transparent calc(var(--q) - 1px), #c8d0dc calc(var(--q) - 1px), #c8d0dc var(--q));
}

.group-total-cell {
  position: absolute;
  top: 0;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  z-index: 35;
}

.show-quarter-totals .group-total-cell {
  display: flex;
}

.group-total-cell.negative-group-total {
  color: #b04a4a;
  font-weight: 400;
}

.group-total-cell.positive-group-total {
  color: #6f7785;
  font-weight: 400;
}

.year-row .left-cell {
  border-bottom-color: #a3a9b4;
  background: #fafafa;
}

.corner-top {
  background: #fafafa;
}

.corner-label {
  justify-content: center;
  padding: 0;
  background: #fafafa;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 700;
}

.timeline-header-rowspan-cell {
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  border-bottom: 1px solid #9aa1ad;
  background: #fafafa;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 700;
}

.timeline-header-control-cell {
  position: relative;
  overflow: visible;
}

.timeline-header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.gantt-view-switches {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transform: translateY(-50%);
}

.gantt-view-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0d1838;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.gantt-view-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gantt-switch-track {
  position: relative;
  width: 36px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #6f7785;
  border-radius: 999px;
  background: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.gantt-switch-track::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  width: 14px;
  height: 14px;
  border: 1px solid #0d1838;
  border-radius: 50%;
  background: #f8fafc;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.gantt-view-switch input:checked + .gantt-switch-track {
  border-color: #0d1838;
  background: #0d1838;
}

.gantt-view-switch input:checked + .gantt-switch-track::after {
  background: #fff;
  transform: translateX(18px);
}

.gantt-view-switch input:focus-visible + .gantt-switch-track {
  outline: 2px solid #1763df;
  outline-offset: 2px;
}

.timeline-header-timeline {
  height: 100%;
  background: #fff;
  background-image: none;
}

.timeline-header-year-line,
.timeline-header-quarter-line {
  position: absolute;
  right: 0;
  left: 0;
}

.timeline-header-year-line {
  border-bottom: 2px solid #4f5664;
}

.timeline-header-quarter-line .quarter-cell {
  top: 0;
}

.year-cell,
.quarter-cell,
.finance-cell {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #9aa1ad;
}

.year-cell {
  color: #08164a;
  background: #fafafa;
  font-size: 16px;
  font-weight: 800;
}

.quarter-cell {
  background: #fff;
  color: #08164a;
  font-size: 16px;
  font-weight: 800;
}

.timeline-year-divider {
  border-right: 2px solid #7d8796 !important;
}

.stage-left {
  background: #e8f2ff;
  color: #0d1838;
  font-size: 15px;
  font-weight: 800;
  border-bottom-color: #9aa1ad;
}

.stage-box {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid;
  border-radius: 0;
  color: #111827;
  font-size: 13.8px;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.stage-box-narrow {
  padding: 6px 5px;
  font-size: 12.4px;
  line-height: 1.05;
}

.stage-label {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  color: #111827;
  font-size: 13.4px;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  overflow: hidden;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.stage-label-narrow {
  padding: 0 1px;
  font-size: 9.5px;
  line-height: 1;
  white-space: nowrap;
}

.stage-header-band {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.stage-header-overlap {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.16;
  background:
    repeating-linear-gradient(45deg, #0f172a 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, #ffffff 0 1px, transparent 1px 7px);
}

.group-row .left-cell {
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.subcategory-row .left-cell {
  padding-left: 50px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.subsubcategory-row .left-cell {
  padding-left: 70px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.item-row .activity-cell,
.item-row .figures-cell {
  color: #0b0f19;
  background: #fff;
  font-size: 15px;
}

.item-row .activity-cell {
  padding-left: 50px;
}

.item-row.full-left-item-row .left-cell {
  padding-left: 50px;
  color: #0b0f19;
  background: #fff;
  font-size: 15px;
  font-weight: 400;
}

.item-row.item-with-subsubcategory .activity-cell {
  padding-left: 70px;
}

.item-row .figures-cell {
  color: #6f7785;
  font-style: italic;
  font-weight: 400;
}

.chart-matrix.gantt-hide-figures .item-row.split-left-row .activity-cell {
  grid-column: 1 / span 2;
  border-right-color: var(--border);
}

.chart-matrix.gantt-hide-figures .item-row.split-left-row .figures-cell {
  display: none;
}

.chart-matrix.gantt-hide-figures .group-total-cell {
  display: none !important;
}

.item-row .timeline-cell {
  overflow: visible;
}

.item-row .activity-cell.has-rationale-tooltip,
.item-row.full-left-item-row .left-cell.has-rationale-tooltip {
  overflow: visible;
}

.gantt-fixed .item-row .activity-cell.has-rationale-tooltip,
.gantt-fixed .item-row.full-left-item-row .left-cell.has-rationale-tooltip {
  z-index: 650;
}

.activity-label {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 22px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rationale-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 5px;
  line-height: 1;
  transform: translateY(-3px);
  z-index: 80;
}

.rationale-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #66758b;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(31, 41, 55, 0.16);
}

.rationale-icon:hover,
.rationale-icon:focus-visible,
.rationale-anchor.is-pinned .rationale-icon {
  background: #315f9f;
}

.rationale-icon:focus-visible {
  outline: 2px solid #8ab4ff;
  outline-offset: 2px;
}

.rationale-tooltip {
  position: absolute;
  top: auto;
  bottom: 6px;
  left: calc(100% + 11px);
  z-index: 1700;
  display: none;
  width: max-content;
  max-width: 390px;
  min-width: 250px;
  padding: 11px 31px 11px 13px;
  border: 1px solid #aeb6c4;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  box-shadow: 0 14px 38px rgba(13, 24, 56, 0.22);
}

.rationale-tooltip::before,
.rationale-tooltip::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 0;
  height: 0;
}

.rationale-tooltip::before {
  left: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #aeb6c4;
}

.rationale-tooltip::after {
  left: -7px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #fff;
}

.rationale-anchor.is-hovered .rationale-tooltip,
.rationale-anchor.is-pinned .rationale-tooltip {
  display: block;
}

.rationale-tooltip-title {
  display: block;
  margin: 0 0 7px;
  color: #08164a;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
}

.rationale-tooltip-text {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.38;
}

.rationale-tooltip-close {
  position: absolute;
  top: 5px;
  right: 6px;
  display: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8edf5;
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  cursor: pointer;
}

.rationale-anchor.is-pinned .rationale-tooltip-close {
  display: block;
}

.rationale-tooltip-close:hover,
.rationale-tooltip-close:focus-visible {
  background: #d7deea;
}

.has-accordion-toggle {
  position: relative;
  cursor: pointer;
}

.accordion-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accordion-toggle {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  border: 1px solid #8b94a1;
  border-radius: 2px;
  background: #fff;
  color: #202734;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 25;
}

.subcategory-row .accordion-toggle {
  left: 26px;
}

.subsubcategory-row .accordion-toggle {
  left: 46px;
}

.accordion-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transform: translate(-38%, -50%);
}

.accordion-toggle[aria-expanded="true"]::before {
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 6px solid currentColor;
  border-bottom: 0;
  transform: translate(-50%, -35%);
}

.is-hidden-by-accordion {
  display: none;
}

.figures-grid {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.figures-grid.no-total {
  grid-template-columns: 1fr;
}

.figures-grid.has-total {
  grid-template-columns: var(--figure-current) var(--figure-total);
}

.figures-current,
.figures-total,
.figures-current-line {
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.figures-current,
.figures-total {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
}

.figures-grid.has-costs .figures-current {
  display: grid;
  grid-template-rows: 1fr 1fr;
  padding: 0;
}

.figures-grid.has-costs {
  font-size: 13.5px;
}

.figures-current-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
}

.figures-cost {
  border-top: 1px solid #e6eaf1;
  color: #b04a4a;
}

.figures-total {
  border-left: 1px solid #d9dee7;
  color: #168a2f;
  gap: 0;
  font-size: 16px;
}

.figures-revenue,
.single-figure {
  color: #6f7785;
}

.figures-amount-income {
  color: #168a2f;
}

.figures-amount-expense {
  color: #b04a4a;
}

.figures-amount-unit {
  color: #6f7785;
  flex: 0 0 auto;
}

.figures-amount-separator {
  color: #6f7785;
}

.figures-total.negative-total {
  color: #b04a4a;
}

.figures-total-count {
  color: #6f7785;
  flex: 0 0 auto;
}

.figures-total-value {
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
  font-weight: 700;
}

.figures-total-count {
  font-weight: 400;
}

.item-amount-label {
  margin-left: 4px;
  color: #6f7785;
  font-style: italic;
  font-weight: 400;
}

.bar {
  position: absolute;
  top: 26px;
  height: 8px;
  border-radius: 2px;
  transform: translateY(-50%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  z-index: 50;
}

.bar-date-label,
.milestone-date-label {
  position: absolute;
  top: 2px;
  z-index: 160;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff;
  transform: translateX(-50%);
}

.chart-matrix.gantt-hide-dates .bar-date-label,
.chart-matrix.gantt-hide-dates .milestone-date-label {
  display: none !important;
}

.bar-start-label {
  transform: translateX(0);
}

.bar-end-label {
  transform: translateX(calc(-100% - 8px));
}

.milestone-wrap {
  position: absolute;
  top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 80;
}

.milestone-wrap-edge .milestone {
  transform: translateX(-2px);
}

.milestone {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.2px solid #fff;
  background: var(--mark-color);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: translateX(-50%);
}

.embedded-milestone {
  width: 14px;
  height: 14px;
  border: 0;
  background-color: color-mix(in srgb, var(--mark-color) 72%, #ffffff);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px 4px),
    color-mix(in srgb, var(--mark-color) 72%, #ffffff);
  outline: 1px solid color-mix(in srgb, var(--mark-color) 82%, #000000);
  outline-offset: -1px;
  box-shadow: none;
}

.stage-background-layer {
  position: absolute;
  pointer-events: none;
}

.stage-background-band {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.quarter-grid-layer {
  position: absolute;
  pointer-events: none;
  z-index: 8;
}

.quarter-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px solid #c8d0dc;
}

.stage-boundary-layer {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.stage-boundary {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1.3px dashed #202734;
}

.financial-spacer {
  grid-column: 1 / span 2;
  border-bottom: 0;
}

.finance-collapsed .financial-spacer,
.finance-collapsed .finance-header-block,
.finance-collapsed .finance-collapsible {
  display: none;
}

.gantt-fixed .financial-spacer,
.gantt-fixed .finance-header-block {
  display: none;
}

.finance-header-rowspan-cell {
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  border-top: 1px solid #4f5664;
  border-bottom: 1px solid var(--finance-grid);
  background: #fafafa;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 700;
}

.finance-toggle {
  position: absolute;
  top: 50%;
  left: 6px;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #8b94a1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 25;
}

.finance-revenue-toggle,
.finance-collapsed .finance-cash-toggle {
  display: block;
}

.finance-collapsed .finance-revenue-toggle,
.finance-cash-toggle {
  display: none;
}

.finance-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 6px solid #202734;
  transform: translate(-50%, -40%);
}

.finance-collapsed .finance-toggle::before {
  border-top: 5px solid transparent;
  border-right: 0;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #202734;
  transform: translate(-35%, -50%);
}

.finance-header-timeline {
  height: 100%;
  border-top: 1px solid #4f5664;
  border-bottom: 1px solid var(--finance-grid);
  background: #fff;
  background-image: none;
}

.finance-header-year-line,
.finance-header-quarter-line {
  position: absolute;
  right: 0;
  left: 0;
}

.finance-header-year-line {
  border-bottom: 2px solid #7d8796;
}

.finance-header-year-line .year-cell {
  align-items: flex-start;
  padding-top: 0;
  line-height: 16px;
  border-right: 1px solid var(--finance-grid);
}

.finance-header-quarter-group {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
}

.finance-header-quarter-group .quarter-cell {
  position: static;
  width: auto;
  height: 100%;
  border-right: 1.5px solid var(--finance-quarter-grid);
}

.finance-row .left-cell {
  color: #4f5b6d;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  border-top: 0;
  border-bottom: 1px solid var(--finance-grid);
}

.finance-row .timeline-cell {
  background-image: none;
  border-bottom: 1px solid var(--finance-grid);
}

.finance-cash-row .left-cell,
.finance-cash-row .timeline-cell {
  border-bottom: 2px solid #7d8796;
}

.finance-cash-row .left-cell,
.finance-cash-row .timeline-cell {
  border-top: 2px solid #7d8796;
}

.chart-matrix:not(.finance-collapsed) .finance-row[data-finance-key="revenue"] .left-cell.has-finance-toggle,
.chart-matrix.finance-collapsed .finance-cash-row .left-cell.has-finance-toggle {
  cursor: pointer;
}

.finance-divider-strong .left-cell::before,
.finance-divider-strong .timeline-cell::before,
.finance-divider-soft .left-cell::before,
.finance-divider-soft .timeline-cell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  pointer-events: none;
  z-index: 18;
}

.finance-divider-strong .left-cell::before,
.finance-divider-strong .timeline-cell::before {
  height: 2px;
  background: #4f5664;
}

.finance-divider-soft .left-cell::before,
.finance-divider-soft .timeline-cell::before {
  height: 2px;
  background: #7d8796;
}

.finance-highlight .left-cell,
.finance-highlight .timeline-cell,
.finance-highlight .finance-cell {
  background-color: #eef3f9;
}

.finance-highlight .left-cell {
  color: #0b0f19;
}

.finance-highlight .finance-cell {
  color: #0b0f19;
  font-weight: 800;
}

.finance-cell {
  color: #0b0f19;
  background: #fff;
  font-size: 14px;
  border-right: 1.5px solid var(--finance-quarter-grid);
}

.finance-year-divider {
  border-right: 2px solid #7d8796 !important;
}

.negative-finance {
  color: #c1121f;
  font-weight: 700;
}

.finance-highlight .negative-finance {
  color: #c1121f;
  font-weight: 800;
}

.positive-finance {
  color: #0b8f36;
  font-weight: 700;
}

.finance-highlight .positive-finance {
  color: #0b8f36;
  font-weight: 800;
}

.finance-cash-row .positive-finance,
.finance-highlight.finance-cash-row .positive-finance {
  color: #0b0f19;
  font-weight: 800;
}
