
      /* General, goods and family tables share the upper-work table palette. */
      #profit-screen .jh-other-summary table.jh-other-table {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        table-layout: auto;
        border: 0;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 14px;
        font-variant-numeric: tabular-nums lining-nums;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead th {
        position: sticky;
        z-index: 5;
        padding: 2px 4px !important;
        background: #dfeaf3 !important;
        color: #214767 !important;
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        line-height: 16px;
        text-align: center !important;
        vertical-align: middle;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
        border: 0 !important;
        border-bottom: 1px solid #d6e4ee !important;
        border-radius: 0 !important;
        box-shadow: none !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr {
        height: 36px;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th {
        top: 24px;
        height: 36px;
        border-top: 1px solid #3f6c88 !important;
        box-shadow: inset 0 1px 0 #fff !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th[rowspan="2"] {
        height: 72px;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th[scope="colgroup"] {
        border-bottom-color: #f7fafc !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:nth-child(2) > th {
        top: 60px;
        height: 36px;
        border-radius: 0 !important;
        background: #dfeaf3 !important;
        color: #214767 !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th:first-child {
        border-top: 0 !important;
        border-top-left-radius: 8px !important;
        text-align: left !important;
        padding-left: 10px !important;
        box-shadow: inset 0 2px 0 #fff !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th:last-child {
        border-top: 0 !important;
        border-top-right-radius: 8px !important;
        box-shadow: inset 0 2px 0 #fff !important;
      }
      #profit-screen
        .jh-other-summary
        table.jh-other-table
        thead
        tr:first-child
        > th:is(:nth-child(3), :nth-child(6), :nth-child(7), :nth-child(8)),
      #profit-screen
        .jh-other-summary
        table.jh-other-table
        thead
        tr:nth-child(2)
        > th:is(:nth-child(1), :nth-child(6)) {
        border-left: 1px solid #c7d9e7 !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr > * {
        height: 40px;
        min-width: 0;
        padding: 9px 4px !important;
        border: 0 !important;
        border-bottom: 1px solid #e8edf2 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        background: #fff !important;
        color: #29465d;
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
        vertical-align: middle;
        text-decoration: none !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody th {
        position: static;
        left: auto;
        text-align: left;
        white-space: nowrap;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr:not(.jh-other-total) > th {
        padding-left: 8px !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody td {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums lining-nums;
        font-feature-settings: "tnum";
        font-weight: 400;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr > :first-child {
        padding-left: 10px !important;
        text-align: left;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr > :last-child {
        padding-right: 6px !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr.jh-other-total > * {
        background: #e9f2f9 !important;
        color: #174d73;
        font-size: 14px;
        font-weight: 700;
        border: 0 !important;
        border-bottom: 1px solid #d4e3ee !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr.jh-other-total > th {
        position: relative;
        z-index: 1;
        white-space: nowrap;
        overflow: visible;
      }
      #profit-screen .jh-other-summary table.jh-other-table .jh-other-category-label {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
      }
      #profit-screen
        .jh-other-summary
        table.jh-other-table
        tbody
        tr
        > :is(:nth-child(3), :nth-child(6), :nth-child(11), :nth-child(15)) {
        border-left: 1px solid #e1eaf1 !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody td.is-negative,
      #profit-screen .jh-other-summary table.jh-other-table tbody tr.jh-other-total > td.is-negative {
        color: #bd4e58;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr:not(.jh-other-total):hover > * {
        background: #f2f7fb !important;
      }
      #profit-screen .jh-other-summary table.jh-other-table tbody tr.jh-other-total:hover > * {
        background: #e1edf6 !important;
      }
      #profit-screen .jh-other-summary-unit {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 6;
        width: 100%;
        min-width: 0;
        height: 24px;
        padding: 2px 2px 4px;
        text-align: right;
        background: #fff;
        color: #71899c;
        font-size: 11px;
        line-height: 18px;
      }
      @media (max-width: 1100px) {
        #profit-screen .jh-other-summary table.jh-other-table tbody tr > * {
          padding-left: 2px !important;
          padding-right: 2px !important;
        }
        #profit-screen .jh-other-summary table.jh-other-table tbody tr:not(.jh-other-total) > th {
          padding-left: 6px !important;
        }
        #profit-screen .jh-other-summary table.jh-other-table tbody tr > :first-child {
          padding-left: 6px !important;
        }
        #profit-screen .jh-other-summary table.jh-other-table .jh-other-category-label {
          left: 6px;
        }
      }
      /* Project detail monthly hover: fixed readout and linked chart emphasis. */
      #profit-screen .jh-detail-chart-head {
        position: relative;
        box-sizing: border-box;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout {
        position: absolute;
        top: 0;
        left: calc(var(--jh-month-title-width) + 20px);
        max-width: calc(100% - var(--jh-month-title-width) - 20px);
        box-sizing: border-box;
        pointer-events: none;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout * {
        pointer-events: none;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout.is-active-month {
        width: max-content;
        min-height: 28px;
        padding: 3px 8px;
        border: 1px solid #cbd8e1;
        border-radius: 4px;
        background: #fff;
        color: #456b83;
        align-items: center;
        gap: 10px;
        font-weight: 400;
        line-height: 20px;
        white-space: normal;
        font-variant-numeric: tabular-nums;
        z-index: 2;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout.is-active-month::before {
        display: none;
      }
      #profit-screen .jh-month-readout.is-active-month span {
        font-weight: 400;
      }
      #profit-screen .jh-month-readout.is-active-month em {
        font-weight: 700;
      }
      #profit-screen .jh-month-combo-svg .jh-month-hover-outline {
        fill: none;
        stroke: #315f7e;
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
        pointer-events: none;
      }
      #profit-screen .jh-month-combo-svg .jh-month-hover-axis {
        fill: #315f7e;
        font-size: 11px;
        font-weight: 800;
        paint-order: stroke fill;
        stroke: #fff;
        stroke-width: 4px;
        stroke-linejoin: round;
        pointer-events: none;
      }
      @media (max-width: 1200px) {
        #profit-screen .jh-detail-chart-head > .jh-month-readout.is-active-month {
          gap: 5px;
          padding: 3px 5px;
          font-size: 11px;
          white-space: nowrap;
        }
        #profit-screen .jh-detail-chart-head > .jh-month-readout.is-active-month b,
        #profit-screen .jh-detail-chart-head > .jh-month-readout.is-active-month em {
          font-size: 11px;
        }
      }
    