/* Load after diagrams.css and styles.css. Only diagram internals are affected. */
.ld-ready .ld-layer{opacity:var(--ld-opacity,1)!important;transform:translate3d(0,var(--ld-y,0px),0) scale(var(--ld-scale,1))!important;transform-origin:center;transition:none!important;will-change:transform,opacity}
.ld-ready.ld-stack,.ld-ready .ld-stack{display:grid!important;align-items:center;position:relative;isolation:isolate;gap:0!important}
.ld-stack>.ld-layer{grid-area:1/1;min-width:0;width:100%;margin-top:0;margin-bottom:0}
.ld-ready .ad-stacked{padding:4px 0;margin-bottom:0}.ld-ready .ad-stacked svg,.ld-ready .ad-chart>svg{max-height: min(32vh,310px);object-fit:contain}
.ld-ready .ad-chart{margin:0 auto;width:100%}
.ld-ready .ad-market{background:transparent;transition:none}.ld-ready .ad-market strong{letter-spacing:.015em}
.ld-ready .ad-tax-head{margin-bottom:16px}.ld-ready .ld-tax-stack{min-height:150px}.ld-ready .ad-tax-row{border-bottom:0;min-height:150px;padding:25px 0}.ld-ready .ad-tax-row>strong{font-size:clamp(30px,4.2vw,58px)}.ld-ready .ad-tax-difference{min-height:120px;margin-top:28px}
.ld-ready .ad-process.ld-stack{min-height:290px;padding:0}.ld-ready .ad-process-track{display:none}.ld-ready .ad-process-step{max-width:700px;margin:auto;text-align:center;padding:28px}.ld-ready .ad-process-number{width:64px;height:64px;font-size:20px;margin-bottom:30px}.ld-ready .ad-process-step>strong{font-size:clamp(24px,3vw,42px);letter-spacing:.02em}.ld-ready .ld-process-description{font-size:clamp(14px,1.45vw,19px);line-height:1.9;max-width:640px;margin:25px auto 0!important;font-weight:400;color:#64707b}
.ld-ready .ld-day-stack{min-height:460px}.ld-ready .ld-day-stack>.ad-battery{max-width:620px;width:100%;margin:0 auto;mix-blend-mode:multiply}.ld-ready .ld-day-graph{width:100%;max-width:900px;margin:auto}.ld-ready .ld-day-graph>svg{max-height:240px;object-fit:contain}.ld-ready .ld-day-graph .ad-energy-motion{width:150px;margin-top:4px}.ld-ready .ld-day-graph .ad-energy-stages{margin-top:18px}.ld-ready .ld-day-graph .ad-energy-copy{margin-top:12px;margin-bottom:4px}
.ld-ready .ad-unit.ld-stack{min-height:470px}.ld-ready .ad-unit.ld-stack>.ad-battery{max-width:640px;width:100%;margin:auto}.ld-ready .ld-unit-operation{max-width:900px;margin:auto}.ld-ready .ld-unit-operation .ad-unit-rule{display:none}.ld-ready .ld-unit-operation .unit-copy{margin:0 auto 24px}.ld-ready .ld-unit-operation .unit-copy h3{font-size:clamp(28px,3.5vw,46px)}.ld-ready .ld-unit-operation .ad-owner-row{margin-top:24px}.ld-ready .ld-unit-operation .ad-collector{height:18px;margin:16px auto 28px}.ld-ready .ld-unit-operation .ad-node{margin:auto}
.ld-ready .ad-flow>.ad-battery{max-height:240px;object-fit:contain;margin:0 auto}.ld-ready .ad-flow .ad-vertical{height:48px}.ld-ready .ad-flow .ad-energy-motion{height:70px;margin:0 auto;max-width:160px}.ld-ready .ad-flow .ad-energy-motion svg{height:70px}.ld-ready .ad-role-divider{padding:20px 0 16px}.ld-ready .ad-roles .ad-icon{width:32px!important;height:32px!important;margin-bottom:8px}.ld-ready .ad-settlement-line{height:12px;margin-top:12px}.ld-ready .ad-key{margin-top:12px}.ld-ready .ad-revenue svg{max-height:300px}.ld-ready .ad-revenue-point{transition:none}
/* With motion disabled the approved information returns to ordinary document flow. */
.ld-ready.ld-static.ld-stack,.ld-ready.ld-static .ld-stack,.no-motion .ld-ready.ld-stack,.no-motion .ld-ready .ld-stack{display:block!important;min-height:0!important}
.ld-ready.ld-static .ld-layer,.no-motion .ld-ready .ld-layer{opacity:1!important;transform:none!important;will-change:auto!important;position:relative!important;min-height:0}
.ld-static .ad-process-step,.no-motion .ld-ready .ad-process-step{padding:20px 0;margin:0 auto 22px}.ld-static .ld-day-stack>.ad-battery,.no-motion .ld-ready .ld-day-stack>.ad-battery{max-width:400px;margin:30px auto}.ld-static .ad-stacked,.no-motion .ld-ready .ad-stacked{margin-bottom:50px}.ld-static .ld-unit-operation,.no-motion .ld-ready .ld-unit-operation{margin-top:40px}.ld-static .ad-tax-row,.no-motion .ld-ready .ad-tax-row{border-bottom:1px solid #e6ebef}.ld-static .ad-revenue-line,.no-motion .ld-ready .ad-revenue-line{stroke-dashoffset:0!important}.ld-static .ad-revenue-point,.no-motion .ld-ready .ad-revenue-point{opacity:1!important}
@media(max-width:650px){.ld-ready .ad-stacked svg,.ld-ready .ad-chart>svg{max-height:190px}.ld-ready .ld-day-stack{min-height:360px}.ld-ready .ld-day-graph>svg{max-height:170px}.ld-ready .ld-day-graph .ad-energy-motion{width:125px}.ld-ready .ad-unit.ld-stack{min-height:400px}.ld-ready .ld-unit-operation .unit-copy h3{font-size:28px}.ld-ready .ad-flow>.ad-battery{max-height:180px}.ld-ready .ad-flow .ad-vertical{height:35px}.ld-ready .ad-flow .ad-energy-motion,.ld-ready .ad-flow .ad-energy-motion svg{height:58px}.ld-ready .ad-role-divider{padding:14px 0 10px}.ld-ready .ld-tax-stack,.ld-ready .ad-tax-row{min-height:128px}.ld-ready .ad-tax-row>strong{font-size:30px}.ld-ready .ad-tax-row>span{font-size:12px}.ld-ready .ad-tax-head{margin-bottom:0}.ld-ready .ad-tax-difference{min-height:100px;margin:18px 0 0}.ld-ready .ad-process.ld-stack{min-height:280px}.ld-ready .ad-process-step{padding:18px 10px}.ld-ready .ad-process-number{width:50px;height:50px;font-size:16px;margin-bottom:25px}.ld-ready .ad-process-step>strong{font-size:26px}.ld-ready .ld-process-description{font-size:14px}.ld-ready .ad-revenue svg{max-height:210px}}
@media(prefers-reduced-motion:reduce){.ld-ready.ld-stack,.ld-ready .ld-stack{display:block!important;min-height:0!important}.ld-ready .ld-layer{opacity:1!important;transform:none!important;will-change:auto!important}.ld-ready .ad-process-step{padding:20px 0;margin:0 auto 22px}.ld-ready .ad-stacked{margin-bottom:50px}.ld-ready .ad-revenue-line{stroke-dashoffset:0!important}}
/* Compact staged planes: fits the host's ~400px diagram area without cropping. */
.ld-ready .ld-day-stack{min-height:360px}.ld-ready .ld-day-stack>.ad-battery{max-height:360px;object-fit:contain}.ld-ready .ld-day-graph>svg{max-height:190px}.ld-ready .ad-unit.ld-stack{min-height:390px}.ld-ready .ad-unit.ld-stack>.ad-battery{max-height:390px;object-fit:contain}.ld-ready .ld-unit-operation .unit-copy p{font-size:14px;line-height:1.7;margin:8px 0}.ld-ready .ld-unit-operation .unit-copy{margin-bottom:16px}.ld-ready .ld-unit-operation .ad-owner-row{margin-top:14px}.ld-ready .ld-unit-operation .ad-icon{width:34px!important;height:34px!important;margin-bottom:8px}.ld-ready .ld-unit-operation .ad-collector{margin:12px auto 24px}.ld-ready .ad-flow>.ad-battery{max-height:180px}.ld-ready .ad-operation_roles>.ad-battery{max-height:120px}.ld-ready .ad-operation_roles .ad-vertical{height:28px}.ld-ready .ad-operation_roles .ad-icon{width:32px!important;height:32px!important;margin-bottom:8px}.ld-ready .ad-operation_roles .ad-node strong{font-size:15px}.ld-ready .ad-operation_roles .ad-node small{font-size:11px}.ld-ready .ad-operation_roles .ad-role-divider{padding:12px 0}.ld-ready .ad-operation_roles .ad-key{font-size:10px}.ld-ready .ad-charge_discharge>.ad-battery{max-height:160px}
@media(max-width:650px){.ld-ready .ad-unit.ld-stack{min-height:350px}.ld-ready .ad-unit.ld-stack>.ad-battery{max-height:320px}.ld-ready .ld-unit-operation .unit-copy p{font-size:12px}.ld-ready .ld-unit-operation .ad-node strong{font-size:11px}.ld-ready .ld-unit-operation .ad-node small{font-size:10px}.ld-ready .ad-operation_roles .ad-node strong{font-size:11px}.ld-ready .ad-operation_roles .ad-node small{font-size:9px}.ld-ready .ad-operation_roles>.ad-battery{max-height:105px}.ld-ready .ad-operation_roles .ad-key{font-size:9px}.ld-ready .ld-day-stack{min-height:330px}.ld-ready .ld-day-graph>svg{max-height:150px}.ld-ready .ld-day-graph .ad-energy-copy{font-size:10px}.ld-ready .ad-charge_discharge>.ad-battery{max-height:140px}}
/* PDF 43–45: same two-column comparison plane, not three stacked rows. */
.ld-ready .ad-tax-head{grid-template-columns:1fr 1fr;gap:50px;padding:0 0 10px}.ld-ready .ad-tax-head>span{display:none}.ld-ready .ad-tax-row{grid-template-columns:1fr 1fr;gap:14px 50px;min-height:170px}.ld-ready .ad-tax-row>span{grid-column:1/-1;font-size:15px}.ld-ready .ad-tax-row>strong{position:relative;padding-bottom:26px}.ld-ready .ad-tax-row>strong:after{content:'';position:absolute;height:6px;left:0;bottom:8px;width:calc(var(--ld-bar,1)*100%);background:currentColor;border-radius:3px}.ld-ready .ad-tax-difference{margin:24px 0 0}.ld-ready .ad-tax-difference strong{font-size:48px}.ld-ready .ad-tax-difference>span{font-size:13px}
/* PDF 64–66: previous / current / next stage aligned on one vertical axis. */
.ld-ready .ad-process.ld-stack{min-height:350px}.ld-ready .ad-process-step{padding:0 16px;display:flex;flex-direction:column;align-items:center;gap:0;min-height:350px;justify-content:center}.ld-ready .ld-process-icon{width:44px;height:44px;color:#112c45;margin:16px auto 12px}.ld-ready .ld-process-icon svg{width:44px;height:44px}.ld-ready .ad-process-number{background:none;border:0;border-radius:0;width:auto;height:auto;margin:0 0 14px;font-size:14px;color:#c77b21}.ld-ready .ld-process-neighbor{display:block;font-size:13px;color:#a3adb5;line-height:1.6;max-width:95%;text-align:center}.ld-ready .ld-process-before{order:-3;margin:0 auto 0}.ld-ready .ld-process-after{order:9;margin:22px auto 0}.ld-ready .ld-process-description{font-size:16px;margin:18px auto 0!important}.ld-static .ld-process-neighbor,.no-motion .ld-ready .ld-process-neighbor{display:none}.ld-static .ad-process-step,.no-motion .ld-ready .ad-process-step{min-height:0}
@media(max-width:650px){.ld-ready .ad-tax-head{gap:26px}.ld-ready .ad-tax-row{gap:10px 26px;min-height:150px}.ld-ready .ad-tax-row>span{font-size:12px}.ld-ready .ad-tax-row>strong{font-size:34px}.ld-ready .ad-tax-row strong small{display:inline;margin-left:4px}.ld-ready .ad-tax-difference strong{font-size:42px}.ld-ready .ad-tax-difference>span{font-size:11px}.ld-ready .ad-process.ld-stack,.ld-ready .ad-process-step{min-height:330px}.ld-ready .ld-process-description{font-size:13px;line-height:1.8}.ld-ready .ld-process-neighbor{font-size:10px}.ld-ready .ld-process-icon{margin-top:14px}.ld-ready .ad-process-step>strong{font-size:25px}.ld-ready .ad-process-number{font-size:12px;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.ld-ready .ld-process-neighbor{display:none}.ld-ready .ad-process-step{min-height:0}}
