
      :root {
        --jh-header-height: 47px;
      }
      body > header {
        height: var(--jh-header-height);
        min-height: var(--jh-header-height);
        padding: 0 24px;
        background: linear-gradient(180deg, #4c87aa 0%, #2d5c76 100%);
        border-bottom: 1px solid #92adbe;
        gap: 0;
      }
      body > header .brand-nav {
        height: 100%;
        width: 100%;
        grid-template-columns: minmax(170px, 1fr) auto minmax(155px, 1fr);
        flex-wrap: nowrap;
        white-space: nowrap;
      }
      body > header .jh-brand-logo {
        margin: 0;
        line-height: 0;
      }
      body > header .jh-brand-logo img {
        display: block;
        object-fit: contain;
      }
      body > header .jh-header-menu {
        justify-self: center;
        isolation: isolate;
        align-self: start;
        white-space: nowrap;
      }
      body > header .jh-header-menu::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%2070%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%200C27%200%2027%2022%2027%2034Q27%2069%2058%2069H942Q973%2069%20973%2034C973%2022%20973%200%201000%200Z%22%20fill%3D%22%23234a60%22%20stroke%3D%22%23628fa8%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
        background-size: 100% 100%;
        border: 0;
        border-radius: 0;
      }
      body > header .header-page-link {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        color: #b7c9d1;
        font-weight: 700;
        letter-spacing: -0.035em;
        text-decoration: none;
        white-space: nowrap;
      }
      body > header .header-page-link.active {
        color: #fff;
        text-decoration: none;
      }
      body > header .header-page-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: #f6df43;
      }
      body > header .brand-divider {
        color: #6c8b9b;
        font-weight: 400;
        margin: 0;
      }
      body > header .jh-header-categories {
        gap: 0;
        margin: 0;
      }
      body > header .jh-header-categories button {
        color: #b9c9d1;
        font-weight: 400;
        letter-spacing: -0.04em;
      }
      body > header .jh-header-categories button.active {
        color: #ffe22c;
        font-weight: 700;
      }
      body > header .jh-header-categories > span {
        color: #bacbd3;
      }
      body > header .header-asof {
        justify-self: end;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        gap: 4px;
        color: #bed0da;
        font-weight: 600;
        line-height: 1.3;
      }
      body > header .header-asof time {
        color: inherit;
        font-weight: 600;
      }
      body > main,
      body > #profit-screen,
      body > #catalog-screen {
        height: calc(100vh - var(--jh-header-height));
      }
      body > header .dashboard-controls {
        margin: 0;
        padding-left: 0;
        border: 0;
        gap: 10px;
      }
      @media (max-width: 1400px) {
        body > header {
          padding: 0 16px;
        }
        body > header .brand-nav {
          grid-template-columns: 180px auto 155px;
          gap: 8px;
        }
        body > header .jh-header-menu {
          gap: 14px;
        }
        body > header .header-page-link {
          font-size: 18px;
        }
        body > header .jh-header-categories button {
          font-size: 14px;
        }
      }
      @media (max-width: 1150px) {
        body > header .brand-nav {
          grid-template-columns: 150px 1fr 135px;
        }
        body > header .jh-header-menu {
          gap: 10px;
          padding: 0 16px;
        }
        body > header .header-page-link {
          font-size: 16px;
        }
        body > header .jh-header-categories button {
          font-size: 12px;
        }
        body > header .header-asof {
          font-size: 11px;
        }
      }

      body > header {
        padding-right: 16px;
      }
      body > header .jh-brand-logo {
        transform: translateY(0.5px);
      }
      body > header .jh-brand-logo img {
        width: auto;
        max-width: none;
      }
      body > header .header-page-link {
        font-size: 18px;
        line-height: 1.1;
      }
      body > header .jh-header-categories button {
        font-size: 14px;
        line-height: 1.1;
      }
      body > header .jh-header-categories > span {
        font-size: 14px;
        margin: 0 7px;
      }
      body > header .brand-divider {
        font-size: 15px;
      }
      body > header .header-asof {
        font-size: 13px;
      }
      @media (max-width: 1400px) {
        body > header .brand-nav {
          grid-template-columns: 195px auto 155px;
        }
        body > header .jh-header-menu {
          gap: 12px;
          padding: 0 24px;
        }
      }

      body > header {
        padding-left: 12.7px;
      }
      body > header .jh-brand-logo img {
        height: 21.6px;
      }
      #profit-screen #jh-chart-title {
        font-size: 18px;
        letter-spacing: -1px;
      }

      body > header #nav-dashboard {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
      }
      body > header .jh-header-menu > .brand-divider {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
      }
      body > header #nav-projects {
        grid-column: 3;
        grid-row: 1;
        justify-self: start;
      }
      body > header #jh-header-categories,
      body > header #dashboard-controls {
        grid-column: 4;
        grid-row: 1;
        justify-self: start;
      }
      body > header #jh-header-categories[hidden] {
        visibility: hidden;
        pointer-events: none;
      }
      body > header #jh-header-upper {
        text-align: left;
      }
      body > header #jh-header-other {
        text-align: left;
      }
      body > header #dashboard-controls {
        font-size: 13px;
      }

      #profit-screen #jh-accordion-detail-head tr:first-child > th,
      #profit-screen .jh-other-summary thead tr:first-child > th {
        border-top: 1px solid #3f6c88 !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child {
        border-top-left-radius: 8px;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child {
        border-top-right-radius: 8px;
      }

      #profit-screen .jh-assumption-controls > strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        flex: none;
        width: 46px;
        height: 25px;
        padding: 0 7px 0 1px;
        color: #a06f22;
        font-size: 12px;
        font-weight: 700;
        background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2052%2025%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M.5%20.5H43L51.5%2012.5L43%2024.5H.5Z%22%20fill%3D%22%23fffbf2%22%20stroke%3D%22%23a06f22%22%20stroke-width%3D%22.75%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")
          center/100% 100% no-repeat;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-selected .jh-point {
        fill: var(--jh-depth-fill) !important;
      }

      #profit-screen .jh-assumption-controls > strong {
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2052%2025%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M3.5%20.5H43L51.5%2012.5L43%2024.5H3.5Q.5%2024.5%20.5%2021.5V3.5Q.5%20.5%203.5%20.5Z%22%20fill%3D%22%23fffbf2%22%20stroke%3D%22%23a06f22%22%20stroke-width%3D%22.75%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child {
        border-left-color: transparent !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child {
        border-right-color: transparent !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::before,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::before {
        content: "";
        position: absolute;
        pointer-events: none;
      }
      #profit-screen .jh-other-summary thead th {
        position: relative;
      }
      #profit-screen #jh-accordion-detail-head th:first-child {
        padding-left: 14px !important;
      }
      #profit-screen #jh-accordion-detail-head th:last-child {
        padding-right: 14px !important;
      }
      #profit-screen #jh-accordion-detail-rows tr > td:first-child {
        padding-left: 15px !important;
      }
      #profit-screen #jh-accordion-detail-rows tr > td:last-child {
        padding-right: 15px !important;
      }
      #profit-screen .jh-other-summary tr > :first-child {
        padding-left: 22px !important;
      }
      #profit-screen .jh-other-summary tr > :last-child {
        padding-right: 22px !important;
      }

      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child {
        border-top-color: #3f6c88 !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::before,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::before {
        border: 0;
        mask: none;
        -webkit-mask: none;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::after,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::after {
        content: "";
        position: absolute;
        top: 7px;
        bottom: 0;
        width: 1px;
        pointer-events: none;
        background: linear-gradient(180deg, #3f6c88 0%, rgba(63, 108, 136, 0) 100%);
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::after {
        left: 0;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::after {
        right: 0;
      }

      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child {
        border-top: 0 !important;
        border-left: 0 !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child {
        border-top: 0 !important;
        border-right: 0 !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::after,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::after,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::after {
        display: none;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::before,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::before {
        inset: 0;
        width: auto;
        height: auto;
        box-sizing: border-box;
        border-top: 1px solid #3f6c88;
        background: none;
        mask-image: linear-gradient(to bottom, #000 0px, #000 8px, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, #000 0px, #000 8px, transparent 100%);
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child::before {
        border-left: 1px solid #3f6c88;
        border-right: 0;
        border-top-left-radius: 8px;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child::before,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child::before {
        border-right: 1px solid #3f6c88;
        border-left: 0;
        border-top-right-radius: 8px;
      }

      #profit-screen .jh-cost-box-title {
        align-items: center;
      }

      #profit-screen .jh-detail-drawer {
        background: #f3f7f9;
        border: 1px solid #3f6c88;
        border-radius: 12px 0 0 12px;
        box-shadow: -4px 0 20px #234a601a;
      }
      #profit-screen .jh-detail-drawer-head {
        padding: 0 16px 0 0;
        min-height: 56px;
        border: 0;
        background: #f3f7f9;
      }
      #profit-screen .jh-detail-heading {
        position: relative;
        padding: 14px 20px;
      }
      #profit-screen .jh-detail-heading::after {
        content: "";
        position: absolute;
        top: 0;
        height: 100%;
        pointer-events: none;
      }
      #profit-screen .jh-detail-name-row {
        position: relative;
        z-index: 1;
        margin: 0;
        gap: 8px;
      }
      #profit-screen .jh-detail-name-row h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 22px;
        line-height: 28px;
        font-weight: 700;
        letter-spacing: -1px;
        color: #24556e;
      }
      #profit-screen .jh-detail-name-row h3::before {
        content: "";
        display: block;
        flex: 0 0 12px;
        width: 12px;
        height: 12px;
        border: 1px solid #fff;
        border-radius: 50%;
        background: var(--jh-project-status-color, #8997a4);
      }
      #profit-screen .jh-detail-drawer-buttons {
        margin-left: auto;
        position: relative;
      }
      #profit-screen .jh-detail-drawer-buttons .jh-notes-button {
        border: 1px solid #d8e2e7;
        border-radius: 20px;
        background: transparent;
        color: #7d8992;
        padding: 5px 13px;
        font-size: 12px;
        line-height: 18px;
      }
      #profit-screen .jh-detail-drawer-buttons #jh-detail-close {
        padding: 0;
        border: 0;
        background: transparent;
        color: #17242c;
        font-size: 34px;
        font-weight: 300;
      }
      #profit-screen .jh-detail-drawer-body {
        padding: 12px 24px 16px;
        gap: 16px;
        background: #f3f7f9;
      }
      #profit-screen .jh-detail-summary-4 {
        min-height: 48px;
        padding: 6px 0 12px;
        border: 0;
        border-bottom: 1px solid #e0e9ee;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        gap: 0;
      }
      #profit-screen .jh-detail-summary-4 .jh-detail-metric {
        padding: 0 8px;
        border: 0;
        background: transparent;
        gap: 8px;
        justify-content: center;
        border-radius: 0;
      }
      #profit-screen .jh-detail-summary-4 .jh-detail-metric + .jh-detail-metric {
        border-left: 0;
      }
      #profit-screen .jh-detail-summary-4 .jh-detail-metric span {
        font-size: 11px;
        color: #3c6983;
        white-space: nowrap;
      }
      #profit-screen .jh-detail-summary-4 .jh-detail-metric strong {
        font-size: 17px;
        line-height: 22px;
        color: #24556e;
      }
      #profit-screen .jh-detail-summary-4 .jh-detail-metric strong.jh-loss {
        color: #bd4e58;
      }
      #profit-screen .jh-direct-indirect {
        gap: 28px;
      }
      #profit-screen .jh-cost-box {
        padding: 12px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
      }
      #profit-screen .jh-cost-box-head,
      #profit-screen .jh-cost-box.indirect .jh-cost-box-head {
        position: relative;
        gap: 4px 10px;
        padding: 0 0 12px;
      }
      #profit-screen .jh-cost-box-title {
        position: relative;
        isolation: isolate;
        font-size: 18px;
        line-height: 24px;
        color: #24556e;
        gap: 9px;
      }
      #profit-screen .jh-cost-box-title b {
        font-weight: 600;
      }
      #profit-screen .jh-cost-box-meta {
        color: #7c9aab;
      }
      #profit-screen .jh-item-row {
        min-height: 30px;
        padding: 6px 0;
        border-bottom: 1px solid #e2ebf0;
        gap: 8px;
      }
      #profit-screen .jh-item-row:last-child {
        border-bottom: 0;
      }
      #profit-screen .jh-item-name {
        color: #4b7993;
      }
      #profit-screen .jh-item-amount {
        color: #254b63;
        font-weight: 600;
      }
      #profit-screen .jh-item-share {
        color: #7e95a6;
      }
      #profit-screen .jh-detail-chart-head strong {
        font-size: 18px;
        color: #24556e;
        letter-spacing: -0.5px;
      }
      #profit-screen .jh-detail-footnote {
        margin: 0;
        color: #8a9fac;
      }
      @media (max-height: 850px) {
        #profit-screen .jh-detail-drawer-head {
          min-height: 48px;
        }
        #profit-screen .jh-detail-heading {
          padding: 10px 16px;
        }
        #profit-screen .jh-detail-name-row h3 {
          font-size: 19px;
          line-height: 26px;
        }
        #profit-screen .jh-detail-drawer-body {
          padding: 10px 20px 12px;
          gap: 12px;
        }
        #profit-screen .jh-item-row {
          min-height: 26px;
          padding: 4px 0;
        }
        #profit-screen .jh-cost-box-head,
        #profit-screen .jh-cost-box.indirect .jh-cost-box-head {
          padding-bottom: 8px;
        }
        #profit-screen .jh-cost-box-title {
          font-size: 16px;
          line-height: 22px;
        }
        #profit-screen .jh-detail-summary-4 .jh-detail-metric {
          gap: 5px;
          padding: 0 4px;
        }
        #profit-screen .jh-detail-summary-4 .jh-detail-metric strong {
          font-size: 15px;
        }
        #profit-screen .jh-detail-chart-panel,
        #profit-screen .jh-detail-chart-panel.indirect {
          min-height: 112px;
        }
        #profit-screen .jh-detail-chart-head strong {
          font-size: 16px;
        }
      }

      #profit-screen #jh-detail-drawer {
        border-right: 0;
      }
      @keyframes jh-detail-slide-in {
        from {
          transform: translateX(100%);
        }
        to {
          transform: translateX(0);
        }
      }

      #profit-screen .jh-detail-drawer-head {
        padding-right: 12px;
        align-items: center;
        flex-wrap: nowrap;
      }
      #profit-screen .jh-detail-drawer-buttons {
        align-self: center;
      }
      #profit-screen .jh-detail-drawer-buttons #jh-detail-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        line-height: 1;
      }
      #profit-screen #jh-detail-close svg {
        display: block;
        width: 24px;
        height: 24px;
        pointer-events: none;
      }
      @media (max-height: 850px) {
        #profit-screen .jh-detail-drawer-head {
          padding-right: 8px;
        }
      }

      body > header {
        position: relative;
      }
      body > header .brand-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 0;
      }
      body > header .jh-header-menu {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        grid-template-columns: 82px 1px 116px;
        column-gap: 16px;
        height: 41px;
      }
      body > header #jh-header-categories {
        position: absolute;
        left: calc(50% + 157.5px);
        top: 0;
        height: 46px;
        width: 316px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        visibility: visible;
        pointer-events: auto;
        margin: 0;
      }
      body > header #jh-header-categories[hidden] {
        display: none !important;
      }
      body > header .jh-header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        height: 46px;
        gap: 0;
      }
      body > header #dashboard-controls {
        position: static;
        grid-column: auto;
        grid-row: auto;
        align-items: center;
        margin: 0;
        padding: 0;
        border: 0;
        white-space: nowrap;
      }
      body > header .header-asof[hidden] {
        display: none !important;
      }
      body > header .header-asof {
        position: static;
        margin: 0;
      }
      body > header #dashboard-controls label {
        color: #d0dfe7;
        font-size: 12px;
      }
      body > header #dashboard-controls select {
        font-size: 13px;
      }

      body > header #dashboard-controls {
        gap: 10px;
      }
      body > header #month-control {
        gap: 3px;
      }

      body > header .jh-header-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        padding: 0 26px;
        width: 283px;
      }
      body > header .jh-header-menu .header-page-link {
        flex: none;
        width: auto;
      }
      body > header .jh-header-menu > .brand-divider {
        display: block;
        flex: 0 0 1px;
        width: 1px;
        height: 14px;
        margin: 0;
        background: #7895a5;
        font-size: 0;
        line-height: 0;
      }
      body > header .header-page-link.active::after {
        height: 1.5px;
      }
      body > header #dashboard-controls select {
        height: 28px;
        padding: 3px 18px 3px 6px;
        border: 1px solid #a9c8db80;
        border-radius: 4px;
        background-color: #ffffff16;
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%228%22%20height%3D%225%22%20viewBox%3D%220%200%208%205%22%3E%3Cpath%20d%3D%22m1%201%203%203%203-3%22%20fill%3D%22none%22%20stroke%3D%22%23e6f1f7%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: right 6px center;
        color: #fff;
        cursor: pointer;
        text-align: left;
        text-align-last: left;
        appearance: none;
        -webkit-appearance: none;
      }
      body > header #dashboard-controls #base-year {
        width: 60px;
        min-width: 60px;
      }
      body > header #dashboard-controls #base-month {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        padding: 3px 18px 3px 6px;
        text-align: left;
        text-align-last: left;
      }
      body > header #dashboard-controls select:hover {
        background-color: #ffffff26;
        border-color: #c3dcebe6;
      }
      body > header #dashboard-controls select:focus-visible {
        outline: 2px solid #d6ebf7;
        outline-offset: 2px;
      }

      body > header #jh-header-categories {
        gap: 8px;
      }
      body > header #jh-header-upper {
        flex: none;
        width: auto;
      }
      body > header #jh-header-categories > span {
        flex: none;
        margin: 0;
      }
      body > header #jh-header-other {
        flex: none;
        width: auto;
      }

      #profit-screen #jh-accordion-detail-head tr:first-child > th,
      #profit-screen .jh-other-summary thead tr:first-child > th {
        box-shadow: inset 0 1px 0 #fff !important;
      }
      #profit-screen #jh-accordion-detail-head tr:first-child > th:first-child,
      #profit-screen #jh-accordion-detail-head tr:first-child > th:last-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:first-child,
      #profit-screen .jh-other-summary thead tr:first-child > th:last-child {
        box-shadow: inset 0 2px 0 #fff !important;
      }
      #profit-screen #jh-accordion-detail-head tr:last-child > th,
      #profit-screen .jh-other-summary thead tr:last-child > th {
        border-bottom: 0 !important;
      }

      #profit-screen
        #jh-accordion-detail-rows
        tr.project-data-row:is(:hover, .jh-hover, .jh-selected)
        > td {
        box-shadow: none !important;
        outline: none !important;
      }
      /* Selection outline shares the bubble status color without changing cell geometry. */
      #profit-screen #jh-accordion-detail-rows tr.project-data-row.jh-selected > td,
      #profit-screen
        #jh-accordion-detail-rows
        tr.project-data-row.jh-selected:is(:hover, .jh-hover)
        > td {
        border-bottom-color: var(--jh-label-ink, #8997a4) !important;
        box-shadow: inset 0 1px 0 var(--jh-label-ink, #8997a4) !important;
      }
      #profit-screen #jh-accordion-detail-rows tr.project-data-row.jh-selected > td:first-child,
      #profit-screen
        #jh-accordion-detail-rows
        tr.project-data-row.jh-selected:is(:hover, .jh-hover)
        > td:first-child {
        box-shadow:
          inset 3px 0 0 var(--jh-label-ink, #8997a4),
          inset 0 1px 0 var(--jh-label-ink, #8997a4) !important;
      }

      #profit-screen .jh-notes-dialog {
        overflow: visible;
        border-color: #91afc2;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 5px 20px #274e6b24;
      }
      #profit-screen .jh-notes-dialog::before {
        content: "";
        position: absolute;
        left: calc(var(--jh-notes-tail-left, 90%) - 6px);
        top: -7px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid #91afc2;
        border-top: 1px solid #91afc2;
        transform: rotate(45deg);
        pointer-events: none;
      }
      #profit-screen .jh-notes-accessible-title {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
      }
      #profit-screen .jh-notes-dialog .jh-notes-close {
        position: absolute;
        right: 7px;
        top: 7px;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 20px;
        line-height: 20px;
        width: 20px;
        height: 20px;
      }
      #profit-screen .jh-notes-form {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr) auto;
        align-items: end;
      }
      #profit-screen .jh-note-assignee-field {
        margin: 0;
      }
      #profit-screen .jh-notes-form label {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 16px;
      }
      #profit-screen .jh-notes-form input[type="text"],
      #profit-screen .jh-notes-form textarea {
        height: 36px;
        min-height: 36px;
        max-height: 96px;
        padding: 7px 9px;
        border-radius: 4px;
        font-size: 14px;
        line-height: 20px;
        box-sizing: border-box;
      }
      #profit-screen .jh-notes-form textarea {
        resize: vertical;
      }
      #profit-screen .jh-notes-save {
        height: 36px;
        padding: 7px 12px;
        line-height: 20px;
      }
      #profit-screen .jh-notes-message {
        grid-column: 1/-1;
        margin: 0;
      }
      #profit-screen .jh-notes-history[hidden],
      #profit-screen .jh-notes-history-head[hidden] {
        display: none !important;
      }
      #profit-screen .jh-notes-history {
        border-radius: 0 0 8px 8px;
        max-height: 245px;
      }
      #profit-screen .jh-notes-button[aria-expanded="true"] {
        background: #fff;
        border-color: #91afc2;
        color: #315e80;
      }

      #profit-screen .jh-notes-dialog::before {
        display: none;
      }
      #profit-screen .jh-notes-dialog {
        box-sizing: border-box;
        border-top-right-radius: 0;
      }
      #profit-screen .jh-detail-drawer-buttons {
        z-index: 9;
      }
      #profit-screen .jh-detail-drawer-buttons .jh-notes-button[aria-expanded="true"] {
        position: relative;
        z-index: 9;
        isolation: isolate;
        background: #fff;
        border-color: #91afc2;
        border-bottom-color: transparent;
        border-radius: 12px 12px 0 0;
        color: #315e80;
      }
      #profit-screen .jh-notes-button[aria-expanded="true"]::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: -1px;
        right: -1px;
        top: calc(100% - 1px);
        height: 11px;
        box-sizing: border-box;
        background: #fff;
        border-left: 1px solid #91afc2;
        border-right: 1px solid #91afc2;
        pointer-events: none;
      }
      #profit-screen .jh-notes-button[aria-expanded="true"]::after {
        content: "×";
        display: inline-block;
        margin-left: 8px;
        font-size: 16px;
        line-height: 16px;
        vertical-align: -1px;
        font-weight: 400;
      }
      #profit-screen .jh-notes-form {
        padding: 16px;
        gap: 10px 12px;
      }

      /* Fill the title strip from the header's top to bottom and join its curve without a second rounded corner. */
      #profit-screen .jh-detail-heading {
        align-self: stretch;
        display: flex;
        align-items: center;
        border-radius: 0;
        background: #dbe9ef;
      }
      #profit-screen .jh-detail-drawer-head {
        border-radius: 11px 0 0 0;
      }

      #profit-screen .jh-notes-pencil {
        display: inline-block;
        vertical-align: -2px;
        margin-right: 5px;
        flex: none;
        pointer-events: none;
      }

      #profit-screen .jh-detail-drawer-head {
        gap: 12px;
      }
      #profit-screen .jh-detail-drawer-head > .jh-latest-note {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        white-space: normal;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        box-sizing: border-box;
        font-weight: 500;
      }
      #profit-screen .jh-detail-drawer-head > .jh-latest-note[hidden] {
        display: none;
      }
      #profit-screen .jh-detail-drawer-buttons {
        flex-shrink: 0;
      }

      #profit-screen .jh-detail-chart-panel,
      #profit-screen .jh-detail-chart-panel.indirect {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        min-width: 0;
      }
      #profit-screen .jh-detail-chart-head {
        width: 100%;
      }
      #profit-screen .jh-month-chart-mount {
        width: 100%;
        min-width: 0;
      }

      #profit-screen .jh-cost-box-title,
      #profit-screen .jh-detail-chart-head {
        padding-left: 0;
      }

      #profit-screen svg [data-axis-edge] {
        stroke: #83939f;
        stroke-width: 0.8;
      }

      #profit-screen .jh-direct-indirect {
        column-gap: 56px;
      }

      #profit-screen .jh-detail-drawer-head > .jh-latest-note {
        position: relative;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0 0 0 19px;
        color: #865a1d;
        font-size: 15px;
        line-height: 19px;
        max-height: 38px;
      }
      #profit-screen .jh-detail-drawer-head > .jh-latest-note::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1px;
        width: 14px;
        height: 14px;
        background: currentColor;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
          center/contain no-repeat;
      }

      #profit-screen .jh-detail-heading {
        margin-right: 8px;
      }
      #profit-screen .jh-detail-drawer-buttons .jh-notes-button.has-notes {
        font-weight: 400;
      }
      #profit-screen .jh-notes-count {
        background: #e2eaf0;
        color: #6b8293;
        font-weight: 400;
      }

      #profit-screen .jh-cost-box-rows {
        padding-left: 32px;
        box-sizing: border-box;
      }

      #profit-screen .jh-cost-box-rows .jh-item-name {
        position: relative;
        overflow: visible;
      }
      #profit-screen .jh-cost-box-rows .jh-item-name::before {
        content: "";
        position: absolute;
        left: -18px;
        top: 50%;
        width: 3px;
        height: 3px;
        transform: translateY(-50%);
        border-radius: 50%;
        background: #8da6b6;
        pointer-events: none;
      }

      #profit-screen button.jh-item-row.is-current-cost {
        position: relative;
        isolation: isolate;
        background: transparent;
        box-shadow: none;
        border-bottom-color: transparent;
      }
      #profit-screen button.jh-item-row.is-current-cost::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: -32px;
        top: 0;
        bottom: 0;
        border-radius: 5px 0 0 5px;
        background: #dbe9ef;
        pointer-events: none;
      }
      #profit-screen .jh-detail-drawer #jh-cost-modal {
        border: 1px solid #91adbf;
        border-radius: 5px;
        box-shadow: 0 5px 12px #274e6b14;
      }
      #jh-cost-modal .jh-cost-item-summary {
        background: #dbe9ef;
        border-radius: 5px 5px 0 0;
        border-bottom-color: #cadce6;
      }
      #jh-cost-modal .jh-cost-modal-close {
        right: auto;
        top: auto;
        color: #456474;
      }

      #profit-screen button.jh-item-row.is-current-cost::before {
        right: 0;
      }
      #profit-screen .jh-detail-drawer #jh-cost-modal {
        box-sizing: border-box;
      }

      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) {
        background: #fff;
      }

      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) {
        display: flex;
        flex-direction: column;
      }
      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) table {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
      }
      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) thead {
        display: table;
        width: 100%;
        table-layout: fixed;
        flex: none;
      }
      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) tbody {
        display: flex;
        flex-direction: column;
        flex: 1;
      }
      #jh-cost-modal .jh-cost-modal-scroll:has(.jh-cost-empty) tbody tr {
        display: flex;
        flex: 1;
      }
      #jh-cost-modal table td.jh-cost-empty {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        width: auto;
        padding: 16px 10px;
        border-bottom: 0 !important;
      }

      #profit-screen .jh-detail-chart-head {
        justify-content: start;
      }
      #profit-screen .jh-month-readout {
        text-align: left;
        font-size: 12px;
        line-height: 20px;
        white-space: normal;
        overflow-wrap: anywhere;
      }
      #profit-screen .jh-month-readout.is-active-month {
        display: flex;
        align-items: baseline;
        gap: 10px;
        font-size: 14px;
        color: #456b83;
        font-weight: 400;
      }
      #profit-screen .jh-month-readout b {
        flex: none;
        margin: 0;
        font-size: 14px;
      }
      #profit-screen .jh-month-readout em {
        font-style: normal;
        font-weight: 600;
        color: #285975;
      }
      @media (max-height: 850px) {
        #profit-screen .jh-detail-chart-head {
          grid-template-columns: 160px minmax(0, 1fr);
          column-gap: 12px;
        }
      }

      #profit-screen .jh-detail-chart-head {
        column-gap: 20px;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout {
        padding-left: 20px;
      }
      #profit-screen .jh-detail-chart-head > .jh-month-readout::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 14px;
        background: #cbd8e1;
        pointer-events: none;
      }

      #profit-screen .jh-detail-chart-head {
        grid-template-columns: var(--jh-month-title-width, max-content) minmax(0, 1fr);
      }
      #profit-screen .jh-detail-chart-head > strong {
        white-space: nowrap;
        min-width: max-content;
        align-self: start;
        margin: 2px 0 0;
      }

      #profit-screen .jh-cost-box:not(.indirect) .jh-item-row {
        grid-template-columns: minmax(0, 1fr) max-content 82px;
        column-gap: 8px;
      }
      #profit-screen .jh-cost-box:not(.indirect) .jh-item-share {
        box-sizing: border-box;
        padding-left: 8px;
        min-width: max-content;
      }
      #profit-screen .jh-cost-box-rows .jh-item-name {
        white-space: normal;
        word-break: keep-all;
      }

      #profit-screen .jh-detail-drawer:has(#jh-cost-modal[open]) .jh-detail-chart-panel {
        opacity: 0.38;
      }

      #profit-screen button.jh-item-row.is-current-cost .jh-item-name {
        font-weight: 700;
      }

      #profit-screen .jh-other-summary {
        padding: 0;
      }

      #profit-screen .jh-detail-heading::after {
        left: calc(100% - 1px);
        width: 23.4px;
        background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2058%2069%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%200H58C31%200%2031%2022%2031%2034Q31%2069%200%2069Z%22%20fill%3D%22%23dbe9ef%22%2F%3E%3C%2Fsvg%3E")
          center/100% 100% no-repeat;
      }
      @media (max-height: 850px) {
        #profit-screen .jh-detail-heading::after {
          width: 20.2px;
        }
      }

      #jh-cost-modal table thead tr,
      #jh-cost-modal table tbody tr[data-month] {
        height: var(--jh-cost-row-height, 31px);
      }
      #jh-cost-modal table thead th,
      #jh-cost-modal table tbody tr[data-month] > * {
        height: var(--jh-cost-row-height, 31px);
        padding-top: 0;
        padding-bottom: 0;
        vertical-align: middle;
      }

      #profit-screen .jh-detail-drawer-buttons .jh-notes-button,
      #profit-screen .jh-detail-drawer-buttons #jh-detail-close {
        transition:
          background-color 0.15s ease,
          border-color 0.15s ease,
          color 0.15s ease;
      }
      #profit-screen .jh-detail-drawer-buttons .jh-notes-button:not([aria-expanded="true"]):hover {
        background: #e7f1f7;
        border-color: #9ebbd0;
        color: #315e80;
      }
      #profit-screen .jh-detail-drawer-buttons #jh-detail-close:hover {
        border-radius: 6px;
        background: #e2edf4;
        color: #1e5a7c;
      }

      #profit-screen #jh-accordion-detail-head th:is(.identity-head, .cumulative-detail) {
        background: #dfeaf3 !important;
        color: #214767 !important;
      }

      #profit-screen .jh-detail-list-open {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 4px 14px;
        border: 1px solid #234a60;
        border-radius: 5px;
        background: #315f7e;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        cursor: pointer;
        white-space: nowrap;
        transition:
          background-color 0.15s ease,
          border-color 0.15s ease,
          color 0.15s ease;
      }
      #profit-screen .jh-detail-list-open .jh-list-icon {
        display: block;
        flex: none;
        width: 16px;
        height: 16px;
      }
      #profit-screen .jh-detail-list-open::after {
        content: "›";
        font-size: 15px;
        line-height: 1;
        color: inherit;
      }
      #profit-screen .jh-detail-list-open:hover {
        background: #284f69;
        border-color: #234a60;
        color: #fff;
      }
      #profit-screen .jh-detail-list-open:focus-visible {
        outline: 2px solid #5d8eae;
        outline-offset: 2px;
      }
      #profit-screen .jh-completion-pane {
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
      }
      #profit-screen .jh-completion-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        flex: 0 0 auto;
        padding: 12px 14px 9px;
        border-bottom: 0;
      }
      #profit-screen .jh-completion-title {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        min-width: 0;
        flex-wrap: wrap;
      }
      #profit-screen .jh-completion-title strong {
        color: #1c4465;
        font-size: 18px;
        line-height: 20px;
        letter-spacing: -1px;
      }
      #profit-screen .jh-completion-controls {
        display: flex;
        align-items: center;
        gap: 7px;
        flex-wrap: wrap;
        color: #647d8f;
        font-size: 10px;
      }
      #profit-screen .jh-completion-controls label {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
      }
      #profit-screen .jh-completion-controls input {
        width: 45px;
        padding: 3px 4px;
        border: 1px solid #c3d2dd;
        border-radius: 3px;
        color: #31536e;
        font: inherit;
        font-weight: 700;
        text-align: right;
      }
      #profit-screen .jh-completion-highlight {
        padding: 4px 7px;
        border: 1px solid #c3d2dd;
        border-radius: 3px;
        background: #fff;
        color: #647d8f;
        font-size: 10px;
        cursor: pointer;
      }
      #profit-screen .jh-completion-highlight.is-active {
        border-color: #8275ae;
        background: #f0edf8;
        color: #665a97;
        font-weight: 700;
      }
      #profit-screen .jh-completion-legend {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 11px;
        flex-wrap: wrap;
        color: #647d8f;
        font-size: 10px;
        white-space: nowrap;
      }
      #profit-screen .jh-completion-legend span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
      }
      #profit-screen .jh-completion-legend i {
        display: inline-block;
        flex: none;
      }
      #profit-screen .jh-completion-legend-bar {
        width: 10px;
        height: 10px;
        border-radius: 2px;
      }
      #profit-screen .jh-completion-legend-new {
        background: #d6e1ea;
      }
      #profit-screen .jh-completion-legend-active {
        background: #8faabd;
      }
      #profit-screen .jh-completion-legend-done {
        background: #315f7e;
      }
      #profit-screen .jh-completion-legend-line {
        width: 17px;
        border-top: 2px solid #8275ae;
      }
      #profit-screen .jh-completion-chart-stack {
        display: grid;
        grid-template-rows: minmax(0, 14fr) minmax(0, 11fr);
        gap: 0;
        flex: 1 1 auto;
        min-height: 0;
      }
      #profit-screen .jh-completion-upper {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
      }
      #profit-screen .jh-completion-chart-wrap {
        position: relative;
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 5px 3px;
      }
      #profit-screen #jh-completion-chart {
        display: block;
        width: 100%;
        min-width: 620px;
        height: 100%;
        font-family: Arial, "Malgun Gothic", sans-serif;
      }
      #profit-screen #jh-completion-chart [data-completion-month] {
        cursor: pointer;
      }
      #profit-screen .jh-completion-axis {
        fill: #788b9a;
        font-size: 11px;
      }
      #profit-screen .jh-completion-axis-title {
        fill: #526d81;
        font-size: 11px;
        font-weight: 700;
      }
      #profit-screen .jh-completion-data-label {
        fill: #8275ae;
        font-size: 11px;
        font-weight: 700;
      }
      #profit-screen #jh-completion-chart .jh-completion-target-label {
        paint-order: stroke fill;
        stroke: #fff;
        stroke-width: 2.5px;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
        pointer-events: none;
      }
      #profit-screen .jh-completion-caption {
        flex: 0 0 auto;
        padding: 0 12px;
        border-top: 0;
        color: #7b8f9f;
        font-size: 10px;
        line-height: 15px;
      }
      #profit-screen .jh-revenue-forecast-panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        padding-top: 24px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
      }
      #profit-screen .jh-revenue-forecast-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        flex: 0 0 auto;
        padding: 3px 14px 3px;
        color: #1c4465;
      }
      #profit-screen .jh-revenue-forecast-head strong {
        font-size: 18px;
        letter-spacing: -0.5px;
      }
      #profit-screen .jh-revenue-forecast-legend {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        margin-left: auto;
        flex-wrap: wrap;
        gap: 8px;
        color: #647d8f;
        font-size: 10px;
      }
      #profit-screen .jh-revenue-forecast-legend span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
      }
      #profit-screen .jh-revenue-forecast-legend i {
        display: inline-block;
        flex: none;
      }
      #profit-screen .jh-revenue-legend-bar-total,
      #profit-screen .jh-revenue-legend-bar-actual,
      #profit-screen .jh-revenue-legend-bar-selected {
        width: 10px;
        height: 10px;
        border-radius: 2px;
      }
      #profit-screen .jh-revenue-legend-bar-total {
        background: #d6e1ea;
      }
      #profit-screen .jh-revenue-legend-bar-actual {
        background: #a3bacb;
      }
      #profit-screen .jh-revenue-legend-line {
        width: 17px;
        border-top: 2px solid #8faabd;
      }
      #profit-screen .jh-completion-tooltip-projects span.jh-completion-stage-new {
        background: #d6e1ea;
        color: #315f7e;
      }
      #profit-screen .jh-completion-tooltip-projects span.jh-completion-stage-active {
        background: #8faabd;
        color: #173d5d;
      }
      #profit-screen .jh-completion-tooltip-projects span.jh-completion-stage-done,
      #profit-screen .jh-completion-tooltip-projects span.jh-forecast-selected {
        background: #315f7e;
        color: #fff;
        box-shadow: inset 0 0 0 1px #d6e1ea;
      }
      #profit-screen .jh-revenue-forecast-title-group {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: none;
      }
      .jh-revenue-forecast-title-group .jh-revenue-forecast-badge {
        display: inline-flex;
        align-items: center;
        font-size: 10px;
        line-height: 14px;
      }
      #profit-screen .jh-revenue-forecast-badge {
        padding: 2px 6px;
        border: 1px solid #8faabd;
        border-radius: 10px;
        background: #d6e1ea;
        color: #315f7e;
        font-weight: 700;
      }
      #profit-screen .jh-revenue-forecast-wrap {
        position: relative;
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 5px 2px;
      }
      #profit-screen #jh-revenue-forecast-chart {
        display: block;
        width: 100%;
        min-width: 620px;
        height: 100%;
        font-family: Arial, "Malgun Gothic", sans-serif;
      }
      #profit-screen #jh-revenue-forecast-chart .jh-axis-text,
      #profit-screen #jh-revenue-forecast-chart .jh-axis-title {
        font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
      }
      #profit-screen #jh-revenue-forecast-chart [data-forecast-month] {
        cursor: pointer;
      }
      #profit-screen .jh-revenue-forecast-caption {
        flex: 0 0 auto;
        padding: 5px 12px;
        border-top: 0;
        color: #7b8f9f;
        font-size: 10px;
        line-height: 14px;
      }
      @media (max-height: 650px) {
        #profit-screen .jh-revenue-forecast-head {
          padding-top: 2px;
          padding-bottom: 1px;
        }
        #profit-screen .jh-revenue-forecast-caption {
          padding-top: 1px;
          padding-bottom: 1px;
        }
      }
      #profit-screen .jh-completion-tooltip {
        position: fixed;
        z-index: 260;
        max-width: min(350px, calc(100vw - 24px));
        padding: 9px 11px;
        border: 1px solid #315f7e;
        border-radius: 6px;
        background: #315f7e;
        color: #edf5fa;
        box-shadow: 0 5px 18px #17334a44;
        font-size: 11px;
        line-height: 1.45;
        pointer-events: none;
      }
      #profit-screen .jh-completion-tooltip[hidden] {
        display: none;
      }
      #profit-screen .jh-completion-tooltip strong {
        display: block;
        margin-bottom: 5px;
        color: #fff;
      }
      #profit-screen .jh-completion-tooltip-projects {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
      }
      #profit-screen .jh-completion-tooltip-projects span {
        padding: 2px 5px;
        border-radius: 3px;
        background: #d6e1ea;
        color: #315f7e;
        font-weight: 700;
      }
      #profit-screen .jh-completion-tooltip-projects span.is-progress {
        box-shadow: inset 0 0 0 2px #8275ae;
      }
      #profit-screen #jh-completion-chart > path,
      #profit-screen #jh-completion-chart > line {
        pointer-events: none;
      }
      #profit-screen #jh-completion-chart .jh-completion-hover-outline {
        fill: none;
        stroke: #315f7e;
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
        pointer-events: none;
        visibility: hidden;
      }
      #profit-screen #jh-completion-chart .jh-completion-bar.is-hover .jh-completion-hover-outline {
        visibility: visible;
      }
      #profit-screen #jh-completion-chart .jh-completion-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;
        visibility: hidden;
      }
      #profit-screen #jh-completion-chart .jh-completion-hover-axis.is-hover {
        visibility: visible;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-completion-tip-body) {
        width: min(390px, calc(100vw - 16px));
        max-width: min(390px, calc(100vw - 16px));
        max-height: calc(100vh - 16px);
        overflow-y: auto;
        pointer-events: none;
        background: #fff;
        border-color: #cbd8e1;
        border-radius: 7px;
        color: #263f53;
        box-shadow: 0 6px 18px #233f531f;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-completion-tip-body) * {
        pointer-events: none;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-completion-tip-body) strong {
        color: #1f4059;
      }
      #profit-screen #jh-completion-chart .jh-completion-hover-zone {
        fill: transparent;
        pointer-events: all;
      }
      #profit-screen #jh-revenue-forecast-chart .jh-forecast-hover-zone {
        fill: transparent;
        pointer-events: all;
      }
      #profit-screen #jh-revenue-forecast-chart > line,
      #profit-screen #jh-revenue-forecast-chart > path,
      #profit-screen #jh-revenue-forecast-chart > text {
        pointer-events: none;
      }
      #profit-screen #jh-revenue-forecast-chart .jh-forecast-hover-outline {
        fill: none;
        stroke: #315f7e;
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
        pointer-events: none;
      }
      #profit-screen #jh-revenue-forecast-chart .jh-forecast-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;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-forecast-tip-body) {
        background: #fff;
        border-color: #cbd8e1;
        border-radius: 7px;
        color: #263f53;
        box-shadow: 0 6px 18px #233f531f;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-forecast-tip-body) * {
        pointer-events: none;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-forecast-tip-body) strong {
        color: #1f4059;
      }
      #profit-screen .jh-completion-tooltip:has(.jh-forecast-tip-body) small {
        display: block;
        margin-top: 4px;
        color: #687783;
      }
      #profit-screen #jh-completion-chart > text,
      #profit-screen #jh-completion-chart > circle:not([data-completion-month]) {
        pointer-events: none;
      }
      #profit-screen #jh-completion-tooltip .jh-completion-tip-group + .jh-completion-tip-group {
        margin-top: 7px;
        padding-top: 6px;
        border-top: 1px solid #e5e9ed;
      }
      #profit-screen #jh-completion-tooltip .jh-completion-tip-heading {
        margin-bottom: 4px;
        color: #1f4059;
        font-weight: 700;
      }
      #profit-screen .jh-completion-tip-names {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 10px;
      }
      #profit-screen .jh-completion-tooltip.jh-completion-tip-dense:has(.jh-completion-tip-body) {
        width: min(470px, calc(100vw - 16px));
        max-width: min(470px, calc(100vw - 16px));
      }
      #profit-screen .jh-completion-tooltip.jh-completion-tip-dense .jh-completion-tip-names {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      @media (max-width: 500px) {
        #profit-screen .jh-completion-tooltip.jh-completion-tip-dense .jh-completion-tip-names {
          grid-template-columns: minmax(0, 1fr);
        }
      }
      @media (max-height: 700px) and (min-width: 900px) {
        #profit-screen .jh-completion-tooltip.jh-completion-tip-dense:has(.jh-completion-tip-body) {
          width: min(680px, calc(100vw - 16px));
          max-width: min(680px, calc(100vw - 16px));
        }
        #profit-screen .jh-completion-tooltip.jh-completion-tip-dense .jh-completion-tip-names {
          grid-template-columns: repeat(5, minmax(0, 1fr));
        }
      }
      #profit-screen #jh-completion-tooltip .jh-completion-tip-name {
        display: flex;
        align-items: flex-start;
        gap: 5px;
        min-width: 0;
        color: #46545f;
        font-weight: 400;
      }
      #profit-screen .jh-completion-tip-name span {
        min-width: 0;
        overflow-wrap: anywhere;
      }
      #profit-screen .jh-completion-tip-dot {
        flex: 0 0 7px;
        width: 7px;
        height: 7px;
        margin-top: 4px;
        border-radius: 50%;
      }
      #profit-screen #jh-completion-tooltip .jh-completion-tip-summary {
        margin-top: 8px;
        padding: 6px 8px;
        border-top: 1px solid #e7e1f0;
        border-radius: 4px;
        background: #f6f3fb;
        color: #263f53;
      }
      #profit-screen #jh-completion-tooltip .jh-completion-tip-summary .jh-completion-tip-rate {
        color: #7864a8;
        font-weight: 700;
      }
      @media (max-width: 500px) {
        #profit-screen .jh-completion-tip-names {
          grid-template-columns: minmax(0, 1fr);
        }
      }
      #profit-screen .jh-point-group.jh-completion-dim {
        opacity: 0.18;
      }
      #profit-screen .jh-point-group.jh-completion-match {
        opacity: 1;
      }
      #profit-screen .jh-point-group.jh-completion-match .jh-point {
        stroke: #173d5d;
        stroke-width: 3;
      }
      #profit-screen .jh-point-group.jh-progress-dim {
        opacity: 0.18;
      }
      #profit-screen .jh-point-group.jh-progress-match {
        opacity: 1;
      }
      #profit-screen #jh-detail-list-dialog {
        width: min(1180px, 94vw);
        height: min(790px, 90vh);
        padding: 0;
        color: #173d5d;
        overflow: hidden;
      }
      #profit-screen #jh-detail-list-dialog::backdrop {
        backdrop-filter: blur(1px);
      }
      #profit-screen .jh-detail-modal-pane {
        height: 100%;
        background: #fff;
      }
      #profit-screen .jh-detail-modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        flex: 0 0 48px;
        min-height: 48px;
        padding: 0 14px 0 18px;
      }
      #profit-screen .jh-detail-modal-head .jh-pane-heading {
        flex: 1;
        padding: 0;
        background: transparent;
      }
      #profit-screen .jh-detail-modal-close {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: transparent;
        color: #314f65;
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
      }
      #profit-screen .jh-detail-modal-close:hover {
        background: #dfeaf1;
        color: #173d5d;
      }
      #profit-screen .jh-detail-modal-pane .jh-scroll-under-chart {
        flex: 1;
        min-height: 0;
        overflow: auto;
      }
      #profit-screen .jh-detail-modal-pane #jh-accordion-detail-table {
        min-width: 900px !important;
      }
      @media (max-width: 1100px) {
        #profit-screen .jh-workspace-split {
          grid-template-columns: minmax(620px, 1fr) minmax(620px, 1fr);
          min-width: 1254px;
        }
        #profit-screen .jh-completion-head {
          flex-direction: column;
        }
        #profit-screen .jh-completion-legend {
          justify-content: flex-start;
        }
      }

      #profit-screen .jh-selected-project-actions {
        grid-column: 1/-1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        min-width: 0;
        color: #496b82;
        font-size: 10px;
      }
      #profit-screen .jh-selected-project-actions[hidden] {
        display: none;
      }
      #profit-screen .jh-selected-project-meta {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 700;
        color: #315d79;
      }
      #profit-screen .jh-selected-project-actions button {
        padding: 4px 8px;
        border: 1px solid #b8ccda;
        border-radius: 4px;
        background: #fff;
        color: #315f7e;
        font-size: 10px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
      }
      #profit-screen .jh-selected-project-actions button:hover {
        background: #eaf3f8;
        border-color: #8eafc5;
      }
      #profit-screen .jh-selected-project-actions .jh-selection-clear {
        border-color: transparent;
        background: transparent;
        color: #71899b;
        font-weight: 400;
      }
      #profit-screen #jh-detail-drawer {
        border: 1px solid #3f6c88;
        border-radius: 7px;
        margin: 0;
        overflow: hidden;
      }
      @keyframes jh-detail-panel-in {
        from {
          transform: translateX(26px);
          opacity: 0.35;
        }
        to {
          transform: translateX(0);
          opacity: 1;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        #profit-screen #jh-detail-drawer.open {
          animation: none;
        }
      }
      #profit-screen #jh-completion-chart .jh-completion-project-guide {
        stroke: #315f7e;
        stroke-width: 1.5;
        stroke-dasharray: 4 4;
      }
      #profit-screen #jh-completion-chart .jh-completion-project-label {
        fill: #315f7e;
        font-size: 12px;
        font-weight: 800;
        paint-order: stroke;
        stroke: #fff;
        stroke-width: 4px;
        stroke-linejoin: round;
      }
      #profit-screen .jh-completion-tooltip-projects span.is-selected-project {
        box-shadow: inset 0 0 0 2px #8275ae;
      }

      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match {
        opacity: 1 !important;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match .jh-point,
      #profit-screen.jh-has-selection
        #jh-chart-svg
        g.jh-point-group.jh-completion-match:not(.jh-selected):not(.jh-hover)
        .jh-point,
      #profit-screen.jh-focus-mode
        #jh-chart-svg
        g.jh-point-group.jh-completion-match:not(.jh-selected):not(.jh-hover)
        .jh-point {
        opacity: 1 !important;
        stroke: #173d5d !important;
        stroke-width: 2.5 !important;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match .jh-selection-gap,
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match .jh-selection-ring {
        visibility: visible !important;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match .jh-selection-gap {
        stroke-width: 4 !important;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-match .jh-selection-ring {
        stroke: #315f84 !important;
        stroke-width: 2.5 !important;
        filter: drop-shadow(0 0 3px #315f8473);
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-dim {
        opacity: 0.11 !important;
      }
      #profit-screen #jh-chart-svg g.jh-point-group.jh-completion-dim .jh-point {
        opacity: 0.28 !important;
      }
      #profit-screen .jh-cost-box-head,
      #profit-screen .jh-cost-box.indirect .jh-cost-box-head {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        width: 100%;
      }
      #profit-screen .jh-cost-box-title {
        display: contents !important;
      }
      #profit-screen .jh-cost-box-title strong {
        display: inline-flex;
        align-items: baseline;
        gap: 8px;
        justify-self: start;
        white-space: nowrap;
      }
      #profit-screen .jh-cost-box-context {
        color: #7c9aab;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0;
      }
      #profit-screen .jh-cost-box-title b {
        justify-self: end;
        text-align: right;
      }
      #profit-screen .jh-cost-box-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-self: end;
        margin: 0 !important;
        text-align: right;
        font-size: 11px;
        line-height: 14px;
        white-space: nowrap;
      }
      #profit-screen .jh-cost-box-meta strong {
        color: #668399;
        font-size: 12px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
      }
      #profit-screen .jh-cost-box.indirect .jh-item-row {
        grid-template-columns: minmax(0, 1fr) auto 60px;
      }

      /* Right-side detail workflow and selected-project chart labels */
      #profit-screen .jh-chart-head .jh-assumption-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 22px;
        min-width: 0;
      }
      #profit-screen .jh-chart-head .jh-assumption-controls {
        padding-left: 0;
      }
      #profit-screen .jh-assumption-bar .jh-detail-list-open {
        flex: none;
      }
      #profit-screen #jh-detail-list-dialog {
        position: fixed;
        z-index: 201;
        max-width: none;
        max-height: none;
        margin: 0;
        border: 1px solid #3f6c88;
        border-radius: 7px;
        background: #fff;
        box-shadow: -4px 0 20px #234a601a;
      }
      #profit-screen #jh-detail-list-dialog,
      #profit-screen #jh-detail-drawer {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
      #profit-screen #jh-detail-list-dialog[open],
      #profit-screen #jh-detail-drawer.open {
        animation: jh-right-detail-slide-in 260ms cubic-bezier(0.22, 0.75, 0.25, 1) both;
      }
      @keyframes jh-right-detail-slide-in {
        from {
          transform: translateX(100%);
        }
        to {
          transform: translateX(0);
        }
      }
      #profit-screen #jh-detail-list-dialog::backdrop {
        display: none;
        background: transparent;
      }
      #profit-screen .jh-chart-selected-info {
        position: absolute;
        z-index: 2;
        top: 6px;
        left: 61px;
        display: flex;
        align-items: center;
        gap: 6px;
        width: max-content;
        max-width: calc(100% - 119px);
        padding: 5px 10px;
        border: 0;
        border-radius: 4px;
        background: #f1f3f5;
        box-shadow: none;
        overflow: hidden;
        white-space: nowrap;
        color: #315f7e;
        font-size: 14px;
        font-weight: 800;
        line-height: 20px;
        pointer-events: none;
      }
      #profit-screen .jh-chart-selected-info::before {
        content: "";
        display: block;
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--jh-selected-info-color, transparent);
      }
      #profit-screen .jh-selected-info-text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      #profit-screen .jh-chart-selected-info[hidden],
      #profit-screen #jh-revenue-selected-legend[hidden] {
        display: none;
      }
      @media (prefers-reduced-motion: reduce) {
        #profit-screen #jh-detail-list-dialog[open],
        #profit-screen #jh-detail-drawer.open {
          animation: none;
        }
      }

      #profit-screen #jh-chart-svg {
        overflow: visible;
      }
      #profit-screen #jh-chart-svg .jh-selected-detail-action {
        cursor: pointer;
        filter: none;
      }
      #profit-screen #jh-chart-svg .jh-selected-detail-action rect {
        fill: var(--jh-action-fill, #8997a4);
        stroke: #fff;
        stroke-width: 1;
        filter: none;
      }
      #profit-screen #jh-chart-svg .jh-selected-detail-action text {
        fill: var(--jh-action-ink, #fff);
        font-size: 10px;
        font-weight: 700;
        stroke: none;
        paint-order: normal;
        filter: none;
        text-shadow: none;
      }
      #profit-screen #jh-chart-svg .jh-selected-detail-action .jh-detail-action-arrow {
        font-size: 9px;
        font-weight: 700;
      }
      #profit-screen #jh-chart-svg .jh-selected-detail-action:is(:hover, :focus-visible) rect {
        fill: var(--jh-action-hover, #788997);
        stroke-width: 1;
      }
      /* Two-level cost columns in the general/other-project table only. */
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th {
        vertical-align: middle;
        text-align: center;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:nth-child(2) > th {
        padding: 7px 8px;
        text-align: center;
      }
      #profit-screen .jh-other-summary table.jh-other-table thead tr:first-child > th:last-child {
        background: #dce9f4;
        color: #174d73;
      }
      #profit-screen .jh-other-summary tbody .jh-other-sales-cell {
        padding-left: 8px;
        padding-right: 8px;
      }
      #profit-screen .jh-other-sales-inline {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: baseline;
        gap: 10px;
      }
      #profit-screen .jh-other-sales-inline span {
        text-align: right;
        font-size: inherit;
        font-weight: inherit;
      }
      #profit-screen .jh-other-sales-inline small {
        text-align: right;
        font-size: 10.5px;
        font-weight: 500;
        color: #6f899c;
        white-space: nowrap;
      }
      #profit-screen .jh-other-total .jh-other-sales-inline small {
        color: #426d89;
        font-weight: 700;
      }
      /* Connected list tab and nonmodal right pane. */
    