
#profit-screen .jh-detail-chart-panel,#profit-screen .jh-detail-chart-panel.indirect{flex:1 1 140px;min-height:130px;padding:0;gap:8px;border:0;border-radius:0;background:transparent}
#profit-screen .jh-detail-chart-head{line-height:24px;}
#profit-screen .jh-month-readout b{font-weight:700;color:#3c607b;margin-right:5px}
#profit-screen .jh-month-chart-mount{flex:1;min-height:70px;position:relative}
#profit-screen .jh-month-combo-svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;cursor:default;outline:none}
#profit-screen .jh-month-combo-svg:focus-visible{outline:1px solid #7ca4c2;outline-offset:1px}
#profit-screen .jh-month-axis{font-size:9px;fill:#8c9fae;font-variant-numeric:tabular-nums}
#profit-screen .jh-month-axis-title{font-size:10px;font-weight:600}
#profit-screen .jh-month-grid{stroke:#e7eef3;stroke-width:1}
#profit-screen .jh-month-cost-bar{fill:#91b2c6}
#profit-screen .indirect .jh-month-cost-bar{fill:#c8a063}
#profit-screen .jh-month-cost-bar.negative{fill:#c96b77}
#profit-screen .jh-month-sales-diamond{stroke-linejoin:round;cursor:help}
#profit-screen .jh-month-sales-diamond.negative{fill:#c95559}
#profit-screen .jh-month-sales-diamond:focus-visible{outline:2px solid #285e81;outline-offset:4px}
#profit-screen .jh-month-panels{display:flex;flex-direction:column;flex:1 1 280px;min-height:260px;gap:8px;border:0;border-radius:0;background:transparent;overflow:visible}
#profit-screen .jh-month-section-head{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px 12px;flex:none;color:#285e81;font-size:14px;line-height:20px}
#profit-screen .jh-detail-chart-panel[hidden]{display:none!important}
#profit-screen .jh-month-mode{position:relative;display:grid;grid-template-columns:1fr 1.55fr;flex:none;background:#eaf0f5;border:1px solid #d6e1ea;border-radius:999px;padding:2px;width:244px;max-width:100%}
#profit-screen .jh-month-mode>span{position:absolute;left:2px;top:2px;bottom:2px;width:calc((100% - 4px) / 2.55);border-radius:999px;background:#fff;box-shadow:0 1px 3px #183f6020;transition:left .18s ease,width .18s ease;pointer-events:none}
#profit-screen .jh-month-mode[data-mode="split"]>span{left:calc(2px + (100% - 4px) / 2.55);width:calc((100% - 4px) * 1.55 / 2.55)}
#profit-screen .jh-month-mode button{position:relative;border:0;background:transparent;padding:2px 7px;color:#73899b;font:inherit;font-size:11px;line-height:17px;white-space:nowrap;cursor:pointer;border-radius:999px}
#profit-screen .jh-month-mode button[aria-pressed="true"]{color:#285e81;font-weight:700}
#profit-screen .jh-month-mode button:focus-visible{outline:2px solid #5794bd}
@media(prefers-reduced-motion:reduce){#profit-screen .jh-month-mode>span{transition:none}}
#profit-screen .jh-contract-marker{pointer-events:none;color:#3977b8}
#profit-screen .jh-contract-marker.end{color:#8a6fa1}
#profit-screen .jh-contract-marker line{stroke:currentColor;stroke-width:1.4;stroke-dasharray:4 3}
#profit-screen .jh-contract-marker text{fill:currentColor;font-size:9px;stroke:#fff;stroke-width:3px;paint-order:stroke}
#profit-screen .jh-revenue-legend-bar-selected{background:var(--jh-selected-revenue-color,#226589)}  /* 선택 사업 색(위험 빨강 등), 없으면 남색 */
#profit-screen .jh-detail-footnote{font-size:9px;line-height:13px}
@media(min-height:900px) and (min-width:1000px){
 #profit-screen .jh-detail-chart-panel,#profit-screen .jh-detail-chart-panel.indirect{padding:0}
 #profit-screen .jh-month-section-head{font-size:16px}
 #profit-screen .jh-month-readout{font-size:11px}
 #profit-screen .jh-month-axis{font-size:10px}
 #profit-screen .jh-month-axis-title{font-size:11px}
}
@media(max-height:740px){
 #profit-screen .jh-detail-chart-panel,#profit-screen .jh-detail-chart-panel.indirect{min-height:121px;padding:0}
}
