/* Annual subsidy ratio and local, illustrative long-term comparison. */
.funding-rate{display:flex;align-items:center;gap:20px;border-block:1px solid #ffffff28;padding:16px 0;margin:0 0 18px}
.funding-rate>strong{font-family:DDINCondensed,DDIN,sans-serif;font-size:46px;line-height:1;white-space:nowrap;color:var(--lime,#a2c617)}
.funding-rate>div{min-width:0}
.funding-rate b{display:block;font-size:16px;color:#fff}
.funding-rate small{display:block;font-size:13px;line-height:1.5;color:#e1e1e1;margin-top:4px}
.invalid-amount .funding-rate{visibility:hidden}
.projection-panel{margin-top:24px;border:1px solid #dce3ca;border-radius:20px;padding:26px;background:linear-gradient(145deg,#fafbf5,#fff 55%);min-width:0;color:#4a4a4a}
.projection-panel[hidden],.projection-panel [hidden]{display:none!important}
.projection-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.projection-heading .eyebrow{margin:0 0 8px;font-size:12px}
.projection-heading h3{font-family:DDIN,sans-serif;font-size:36px;line-height:1.08;margin:0;font-weight:700;letter-spacing:-.7px}
.projection-heading h3>span{display:block;color:var(--lime,#a2c617)}
.projection-subtitle{margin:12px 0 20px;font-size:16px;line-height:1.5;max-width:65ch}
.projection-rate{flex:0 0 auto;padding:14px 18px;border-radius:14px;border:1px solid #dde4cd;background:#f1f6e3;text-align:center}
.projection-rate strong{font-size:46px;display:block;line-height:1;font-family:DDINCondensed,DDIN,sans-serif}
.projection-rate span{display:block;margin-top:4px;font-size:12px;line-height:1.25}
.projection-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin-bottom:18px}
.projection-duration{min-width:0}
.projection-duration-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.projection-duration-heading label{font-size:14px;font-weight:700}
.projection-duration-heading output{font:700 30px/1.2 DDINCondensed,DDIN,sans-serif;white-space:nowrap;color:#4a4a4a}
.projection-duration input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0;background:transparent;touch-action:pan-y;border-radius:8px;--progress:71.4286%}
.projection-duration input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(to right,var(--lime,#a2c617) 0%,var(--lime,#a2c617) var(--progress),#dce2cd var(--progress),#dce2cd 100%)}
.projection-duration input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-9px;border-radius:50%;border:3px solid var(--lime,#a2c617);background:#fff;box-shadow:0 2px 5px #30352c25}
.projection-duration input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:#dce2cd}
.projection-duration input[type=range]::-moz-range-progress{height:8px;border-radius:8px;background:var(--lime,#a2c617)}
.projection-duration input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;border:3px solid var(--lime,#a2c617);background:#fff;box-shadow:0 2px 5px #30352c25}
.projection-duration-scale{display:flex;justify-content:space-between;font-size:12px;line-height:1.2;color:#62665b}
.projection-duration .projection-period{border:0;background:transparent;padding:0;gap:8px;margin-top:8px}
.projection-duration .projection-period button{font-size:13px;padding:8px 16px;border:1px solid #d8dccf;background:#fff}
.projection-duration .projection-period button[aria-pressed=true]{background:#4a4a4a;border-color:#4a4a4a;color:#fff}
.projection-period{display:flex;gap:4px;padding:4px;border:1px solid #d8dccf;background:white;border-radius:12px}
.projection-period button{font:700 16px DDIN,sans-serif;min-height:44px;padding:10px 20px;border:0;border-radius:8px;background:transparent;color:#4a4a4a;cursor:pointer}
.projection-period button[aria-pressed=true]{background:#4a4a4a;color:white}
.projection-child-control{display:grid;gap:5px;min-width:0}
.projection-child-control label{font-size:13px;font-weight:700}
.projection-child-control select{width:100%;min-height:44px;font:400 16px DDIN,sans-serif;border:1px solid #cdd3c1;border-radius:10px;padding:8px 30px 8px 12px;color:#4a4a4a;background:#fff}
.projection-panel :is(button,select,summary,input):focus-visible{outline:3px solid var(--lime,#a2c617);outline-offset:3px}
.projection-period-label{font-weight:700;font-size:14px;margin:0 0 10px}
.projection-context{font-size:14px;padding:10px 14px;border-left:3px solid var(--lime,#a2c617);background:#f0f3e8;margin-bottom:18px;font-weight:700}
.projection-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.projection-result{padding:16px 18px;border:1px solid #deded9;border-radius:12px;background:#fff;min-width:0}
.projection-result-with{border-color:var(--lime,#a2c617);background:#f3f8e5}
.projection-result-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.projection-result-top b{font-size:12px;font-weight:400;background:#f0f0ec;border-radius:5px;padding:3px 6px;white-space:nowrap}
.projection-result-with .projection-result-top b{background:#e4edcb}
.projection-result span{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700}
.projection-result span:before{content:'';width:20px;border-top:3px solid #4a4a4a;flex-shrink:0}
.projection-result-with span:before{border-top:3px solid var(--lime,#a2c617)}
.projection-result strong{display:block;font-size:44px;line-height:1.1;letter-spacing:-.8px;margin-top:12px;font-variant-numeric:tabular-nums}
.projection-result small{display:block;font-size:12px;margin-top:5px}
.projection-zero{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px;padding:12px 16px;border:1px solid #d9dcd3;border-radius:10px;background:#f4f5f1}
.projection-zero>div{min-width:0}
.projection-zero span{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700}
.projection-zero span:before{content:'';width:24px;flex:0 0 24px;border-top:3px dashed #85897f}
.projection-zero small{display:block;font-size:12px;line-height:1.4;margin-top:4px}
.projection-zero strong{font-size:26px;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.projection-chart{width:100%;min-width:0;margin-top:14px}
.projection-chart svg{width:100%;height:auto;display:block;overflow:visible}
.projection-grid{stroke:#e0e2d9;stroke-width:1;stroke-dasharray:3 5}
.projection-axis{font:12px DDIN,sans-serif;fill:#666}
.projection-area{fill:var(--lime,#a2c617);opacity:.2}
.projection-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.projection-line-with{stroke:var(--lime,#a2c617);stroke-width:4}
.projection-line-without{stroke:#4a4a4a;stroke-width:3}
.projection-line-paid{stroke:#85897f;stroke-width:3;stroke-dasharray:7 5}
.projection-dot-paid{fill:#fff;stroke:#85897f;stroke-width:2.5}
.projection-dot-with{fill:var(--lime,#a2c617)}
.projection-dot-without{fill:#4a4a4a}
.projection-end-label{font:700 13px DDIN,sans-serif;fill:#4a4a4a;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.projection-end-with{font-weight:700;text-decoration:underline;text-decoration-color:#a2c617;text-decoration-thickness:3px;text-underline-offset:4px}
.projection-end-paid{font-size:12px;font-weight:700;fill:#62665b}
.projection-chart-note{font-size:12px;line-height:1.45;margin:4px 0 18px}
.projection-difference{display:block;background:#4a4a4a;border:0;border-radius:14px;padding:22px;margin-top:12px;color:#fff}
.projection-difference>p{font-size:14px;color:#fff}
.projection-difference>strong{display:block;color:var(--lime,#a2c617);font:700 52px/1.1 DDINCondensed,DDIN,sans-serif;font-variant-numeric:tabular-nums;margin:7px 0 4px;white-space:nowrap}
.projection-difference>small{display:block;font-size:14px;line-height:1.4;color:#eee}
.projection-advantage-parts{display:grid;grid-template-columns:1fr auto 1.4fr;align-items:center;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff30}
.projection-advantage-parts strong{display:block;font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}
.projection-advantage-parts span{display:block;font-size:13px;color:#eee;line-height:1.4;margin-top:4px}
.projection-advantage-parts>b{font-size:24px;font-weight:400;color:var(--lime,#a2c617)}
.projection-components{width:100%;border-collapse:collapse;margin:20px 0;font-variant-numeric:tabular-nums;table-layout:fixed}
.projection-components caption{text-align:left;font-weight:700;font-size:18px;margin-bottom:10px}
.projection-components :is(th,td){padding:10px 8px;border-bottom:1px solid #dce1d2;text-align:right;font-size:14px}
.projection-components th{font-weight:400}
.projection-components thead th{font-size:12px;font-weight:700}
.projection-components :is(th,td):first-child{text-align:left;width:42%;padding-left:0}
.projection-components :is(th,td):last-child{background:#f0f6e1;padding-right:8px}
.projection-components td{font-weight:700;white-space:nowrap}
.projection-components .projection-growth-row{border-block:2px solid #b5cb75}
.projection-components .projection-growth-row th{font-weight:700}
.projection-components .projection-growth-row small{display:block;font-size:11px;font-weight:400;margin-top:2px}
.projection-assumption{font-size:13px;line-height:1.5;margin:14px 0 0;color:#62665b}
.projection-risk{font-size:13px;line-height:1.5;margin:8px 0 0;color:#62665b}
.projection-details{margin-top:16px;border-top:1px solid #dbe0d1}
.projection-details summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px;font-weight:700}
.projection-details p,.projection-details li{font-size:13px;line-height:1.55}
.projection-details ul{margin:12px 0;padding-left:20px}
.projection-details table{width:100%;border-collapse:collapse;font-size:14px;margin:0 0 16px;font-variant-numeric:tabular-nums}
.projection-details :is(th,td){padding:10px 6px;border-bottom:1px solid #e0e3d9;text-align:right}
.projection-details :is(th,td):first-child{text-align:left}
.projection-details th{font-weight:700}
.projection-details a{color:#4a4a4a;text-decoration:underline;text-underline-offset:3px}
.projection-invalid :is(.projection-results,.projection-zero,.projection-chart,.projection-difference,.projection-details,.projection-components,.projection-chart-note,.projection-context){display:none}
.projection-invalid .projection-assumption{display:none}
@media(max-width:600px){
  .funding-rate{gap:14px;padding:14px 0;margin-bottom:16px}
  .funding-rate>strong{font-size:40px}
  .funding-rate b{font-size:14px}
  .funding-rate small{font-size:12px}
  .projection-panel{margin-top:18px;padding:18px 14px;border-radius:15px}
  .projection-heading{gap:12px}
  .projection-heading h3{font-size:25px;letter-spacing:-.4px}
  .projection-heading .eyebrow{font-size:10px;letter-spacing:.7px;margin-bottom:7px}
  .projection-rate{padding:10px;max-width:95px}
  .projection-rate strong{font-size:35px}
  .projection-rate span{font-size:11px}
  .projection-subtitle{font-size:14px;margin:12px 0 16px}
  .projection-toolbar{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:16px}
  .projection-period button{flex:1;padding-inline:12px}
  .projection-child-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
  .projection-child-control label{font-size:13px;line-height:1.35}
  .projection-child-control select{width:112px}
  .projection-results{gap:8px}
  .projection-result{padding:12px 10px;border-radius:10px}
  .projection-result span{font-size:13px;gap:6px}
  .projection-result span:before{width:14px}
  .projection-result strong{font-size:29px;letter-spacing:-.7px;white-space:nowrap}
  .projection-large-value strong{font-size:24px}
  .projection-result small{font-size:11px}
  .projection-result-top{display:grid;gap:6px}
  .projection-result-top b{justify-self:start;font-size:11px}
  .projection-zero{padding:12px 10px;gap:10px}
  .projection-zero span{font-size:13px;gap:6px}
  .projection-zero span:before{width:18px;flex-basis:18px}
  .projection-zero strong{font-size:23px}
  .projection-difference{padding:18px 14px}
  .projection-difference>strong{font-size:44px}
  .projection-difference>p,.projection-difference>small{font-size:13px}
  .projection-advantage-parts{grid-template-columns:1fr auto 1.25fr;gap:9px;padding-top:14px;margin-top:14px}
  .projection-advantage-parts strong{font-size:22px}
  .projection-advantage-parts span{font-size:12px}
  .projection-components caption{font-size:17px}
  .projection-components :is(th,td){font-size:13px;padding:9px 4px}
  .projection-components :is(th,td):first-child{width:39%}
  .projection-components thead th{font-size:11px}
  .projection-context{font-size:13px;padding:9px 10px}
  .projection-end-label{font-size:12px}
  .projection-assumption,.projection-risk{font-size:12px}
  .projection-details table{font-size:12px}
  .projection-details :is(th,td){padding-inline:2px}
}
@media(max-width:359px){
  .projection-heading h3{font-size:23px}
  .projection-result strong{font-size:22px}
  .projection-result.projection-large-value{padding-inline:8px}
  .projection-large-value strong{font-size:20px}
  .projection-result span{font-size:11px;gap:4px}
  .projection-result span:before{width:10px}
  .projection-zero{align-items:flex-start;flex-wrap:wrap}
  .projection-zero strong{font-size:22px}
  .projection-heading{flex-direction:column}
  .projection-rate{display:flex;align-items:center;gap:10px;max-width:none;padding:8px 12px;text-align:left}
  .projection-rate span{margin:0}
  .projection-advantage-parts strong{font-size:19px}
  .projection-components :is(th,td){font-size:11px;padding:8px 2px}
  .projection-components :is(th,td):first-child{width:36%}
  .projection-components :is(th,td):last-child{padding-right:3px}
  .projection-end-label{font-size:11px}
}
