.compute-model {
  color-scheme: light;
  --bg: #F2F3F6; --surface: #FFFFFF; --ink: #171A21; --muted: #646B78;
  --rule: #D5DAE2; --rule-soft: #E8EBF0;
  --dc: #B8821F; --dc-rgb: 184,130,31; --on-dc: #171A21;
  --nc: #187F79; --nc-rgb: 24,127,121; --on-nc: #FFFFFF;
  --tf: #6A4BD8; --tf-rgb: 106,75,216; --on-tf: #FFFFFF;
  --sum: #171A21; --sum-rgb: 23,26,33;
  --neg: #C2412D; --neg-rgb: 194,65,45;
  --cost1: #8E97A6; --cost2: #AFB7C3; --cost3: #CDD3DC;
  --focus: #2F6BFF;
  --hl1: #E3F1E6; --hl2: #E4EBF8;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);}
@media (prefers-color-scheme: dark) {
  .compute-model:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121419; --surface: #1A1D24; --ink: #ECEEF2; --muted: #9BA3B1;
    --rule: #2E343E; --rule-soft: #22272F;
    --dc: #E1A93F; --dc-rgb: 225,169,63; --on-dc: #121419;
    --nc: #3EB8B0; --nc-rgb: 62,184,176; --on-nc: #121419;
    --tf: #A08BF2; --tf-rgb: 160,139,242; --on-tf: #121419;
    --sum: #ECEEF2; --sum-rgb: 236,238,242;
    --neg: #F0705C; --neg-rgb: 240,112,92;
    --cost1: #5C6676; --cost2: #4B5461; --cost3: #3B434E;
    --focus: #7FA4FF;
    --hl1: #1C2E24; --hl2: #1E2840;}
}
.compute-model[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121419; --surface: #1A1D24; --ink: #ECEEF2; --muted: #9BA3B1;
  --rule: #2E343E; --rule-soft: #22272F;
  --dc: #E1A93F; --dc-rgb: 225,169,63; --on-dc: #121419;
  --nc: #3EB8B0; --nc-rgb: 62,184,176; --on-nc: #121419;
  --tf: #A08BF2; --tf-rgb: 160,139,242; --on-tf: #121419;
  --sum: #ECEEF2; --sum-rgb: 236,238,242;
  --neg: #F0705C; --neg-rgb: 240,112,92;
  --cost1: #5C6676; --cost2: #4B5461; --cost3: #3B434E;
  --focus: #7FA4FF;
  --hl1: #1C2E24; --hl2: #1E2840;}
.compute-model *, .compute-model *::before, .compute-model *::after { box-sizing: inherit;}
.compute-model { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%;}
.compute-model {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums;}
.compute-model .wrap { max-width: 1340px; margin: 0 auto; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px);}
.compute-model h1, .compute-model h2, .compute-model h3 { margin: 0; font-weight: 600;}
.compute-model .cond, .compute-model h1, .compute-model .tab-name, .compute-model .panel-head h2, .compute-model .sens h2, .compute-model .stats dd, .compute-model .hero-line {
  font-family: 'IBM Plex Sans Condensed', 'Arial Narrow', 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;}
.compute-model button, .compute-model select, .compute-model input { font: inherit; color: inherit;}
.compute-model :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px;}

/* header */
.compute-model .top { padding-top: 26px;}
.compute-model .top-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title logo" "controls controls"; align-items: start; gap: 14px 24px;}
.compute-model h1 { grid-area: title; font-size: 22px; letter-spacing: .01em; line-height: 1.2;}
.compute-model .logo { grid-area: logo; justify-self: end; font-family: 'IBM Plex Sans Condensed', 'Arial Narrow', 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .03em; line-height: 1.3; white-space: nowrap;}
.compute-model .logo img { display: block; height: 28px; width: auto;}
.compute-model .controls { grid-area: controls; justify-self: end; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;}
.compute-model .changed-count { font-size: 13px; color: var(--muted);}
.compute-model .switch { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); cursor: pointer;}
.compute-model .switch input { accent-color: var(--ink); margin: 0; width: 15px; height: 15px;}
.compute-model button {
  font-size: 13px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  padding: 7px 12px; cursor: pointer; color: var(--ink);}
.compute-model button:hover { border-color: var(--muted);}

/* hero */
.compute-model .hero-line { margin-top: 22px; font-weight: 600; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.005em; max-width: 30ch;}
.compute-model .revbar { display: flex; height: 68px; margin: 22px 0 14px; background: var(--rule-soft); border-radius: 3px; overflow: hidden;}
.compute-model .seg { position: relative; height: 100%; min-width: 0; display: flex; align-items: flex-end; overflow: hidden; transition: flex-basis .4s ease;}
.compute-model .seg-label { padding: 0 9px 7px; font-size: 12px; line-height: 1.25; white-space: nowrap; opacity: 0;}
.compute-model .seg-label b { display: block; font-weight: 500;}
.compute-model .seg.wide .seg-label { opacity: 1;}
.compute-model .legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--muted);}
.compute-model .legend li { display: inline-flex; align-items: center; gap: 8px;}
.compute-model .legend b { color: var(--ink); font-weight: 500;}
.compute-model .sw { width: 11px; height: 11px; border-radius: 2px; flex: none;}
.compute-model .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 16px 16px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule);}
.compute-model .stats div { min-width: 0;}
.compute-model .stats dt { font-size: 13px; color: var(--muted);}
.compute-model .stats dd { margin: 2px 0 0; font-size: 26px; font-weight: 600; line-height: 1.1; white-space: nowrap;}
.compute-model .stats dd small { font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px;}

/* layout: section navigation down the left, the active section on the right */
.compute-model .layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 0 40px; margin-top: 26px; align-items: start;}
.compute-model .side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); display: flex; flex-direction: column; border-left: 1px solid var(--rule);}
.compute-model .tab {
  width: 100%; background: none; border: 0; border-left: 3px solid transparent; border-radius: 0; margin: 0 0 0 -1px;
  padding: 9px 10px 9px 15px; text-align: left; cursor: pointer; color: var(--muted);}
.compute-model .tab:hover { color: var(--ink);}
.compute-model .tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--accent);}
.compute-model .tab-gap { margin-top: 18px;}
.compute-model .tab-heading { margin-top: 18px; padding-right: 26px; position: relative; white-space: nowrap;}
.compute-model .tab-heading::after { content: ""; position: absolute; right: 13px; top: 13px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s ease, top .15s ease;}
.compute-model .tab-heading[aria-expanded="false"]::after { transform: rotate(-45deg); top: 16px;}
.compute-model .tab-group { display: flex; flex-direction: column; margin-top: 4px;}
.compute-model .tab-group[hidden] { display: none;}
.compute-model .tab-biz { padding-left: 29px;}
.compute-model .tab-name { display: block; font-size: 17px; font-weight: 600; line-height: 1.15;}
.compute-model .tab .dot { vertical-align: 1px;}
.compute-model .content { min-width: 0;}
.compute-model .tabpanel[hidden] { display: none;}

/* a panel: assumptions left, unit economics right */
.compute-model .panel { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 640px); gap: 0 56px; padding-top: 6px;}
.compute-model .sub-head { margin: 24px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 600;}
.compute-model .panel.single { grid-template-columns: minmax(300px, 620px);}
.compute-model .sub-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); max-width: 60ch;}
.compute-model .fn { margin: 14px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); line-height: 1.45;}
.compute-model .fn li { display: flex; gap: 6px; margin: 3px 0;}
.compute-model .fn li span:first-child { flex: none; width: 10px;}
.compute-model .pnl sup { font-size: 10px; line-height: 0; vertical-align: super; margin-left: 2px; color: var(--muted); font-weight: 400;}
.compute-model .assume, .compute-model .econ { min-width: 0; align-self: start;}
.compute-model .econ.stick { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px);}
.compute-model .panel-head { padding-bottom: 10px; border-bottom: 1px solid var(--rule);}
.compute-model .panel-head h2 { font-size: 20px; line-height: 1.15;}
.compute-model .panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); max-width: 52ch;}
.compute-model .econ .pnl { margin-top: 10px;}
.compute-model .econ .hero-line + .revbar { margin-top: 22px;}
.compute-model .econ .stats + .pnl { margin-top: 28px;}

/* summary tab: the whole chain on one megawatt */
.compute-model .summary { padding-top: 6px;}
.compute-model .summary .hero-line { margin-top: 0; max-width: 34ch;}
.compute-model .hero-sub { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 72ch;}
.compute-model .pnl.chain-table { margin-top: 32px; max-width: 1040px;}
.compute-model .pnl.chain-table th { color: var(--ink); font-size: 13px; white-space: normal; vertical-align: bottom;}
.compute-model .pnl.chain-table th small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 1px;}
.compute-model .pnl.chain-table .combined { border-left: 1px solid var(--rule); padding-left: 14px;}
.compute-model .chain-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); max-width: 84ch; line-height: 1.45;}

.compute-model .group { margin: 12px 0 0; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 4px; padding: 0 14px;}
.compute-model .group > summary { cursor: pointer; padding: 11px 22px 11px 0; font-size: 15px; font-weight: 500; list-style: none; position: relative;}
.compute-model .group > summary::-webkit-details-marker { display: none;}
.compute-model .group > summary::after { content: "+"; color: var(--muted); font-weight: 400; position: absolute; right: 0; top: 10px;}
.compute-model .group[open] > summary::after { content: "–";}
.compute-model .group > summary .sum-val { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px;}
.compute-model .group .inputs { margin-top: 2px;}
.compute-model .group .exhibit { margin-bottom: 14px;}

.compute-model .inputs { margin: 18px 0 6px;}
.compute-model .inp { padding: 9px 0 10px; border-bottom: 1px solid var(--rule-soft);}
.compute-model .inp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;}
.compute-model .inp-head label { font-size: 14px;}
.compute-model .inp.changed .inp-head label::after {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-left: 7px; vertical-align: 2px;}
.compute-model .field { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap;}
.compute-model .field input {
  font-size: 14px; font-weight: 500; width: 78px; text-align: right; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 1px 2px; -moz-appearance: textfield; appearance: textfield;}
.compute-model .field input.wide { width: 96px;}
.compute-model .field input::-webkit-outer-spin-button, .compute-model .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0;}
.compute-model .field input:focus { outline: none; border-bottom-color: var(--accent);}
.compute-model .field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px;}
.compute-model .field .unit { font-size: 12px; color: var(--muted);}
.compute-model .inp input[type=range] { width: 100%; margin: 9px 0 3px; height: 18px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; display: block;}
.compute-model .inp input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--rule); border-radius: 1px;}
.compute-model .inp input[type=range]::-moz-range-track { height: 2px; background: var(--rule); border-radius: 1px;}
.compute-model .inp input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); margin-top: -6px;}
.compute-model .inp input[type=range]::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--accent);}
.compute-model .note { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted);}
.compute-model .derived { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0 2px; font-size: 13px; color: var(--muted);}
.compute-model .derived b { color: var(--ink); font-weight: 500; white-space: nowrap;}
.compute-model.hide-notes .note, .compute-model.hide-notes .bench { display: none;}

.compute-model .pnl { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px;}
.compute-model .pnl th { font-weight: 500; font-size: 12px; color: var(--muted); text-align: right; padding: 4px 0 7px; border-bottom: 1px solid var(--rule); white-space: nowrap;}
.compute-model .pnl th:first-child { text-align: left;}
.compute-model .pnl td { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: baseline;}
.compute-model .pnl td.num { text-align: right; white-space: nowrap; padding-left: 10px; min-width: 56px;}
.compute-model .pnl tr.strong td { font-weight: 600;}
.compute-model .pnl tr.sub td { font-size: 13px; color: var(--muted); padding-top: 2px;}
.compute-model .pnl tr.sub td:first-child { padding-left: 12px;}
.compute-model .pnl tr.hl td { font-weight: 600; color: var(--ink);}
.compute-model .pnl tr.hl-ebitda { --hl-c: var(--hl1);}
.compute-model .pnl tr.hl-ebit { --hl-c: var(--hl2);}
.compute-model .pnl tr.hl td { background: var(--hl-c);}
.compute-model .pnl tr.hl td:first-child { box-shadow: -8px 0 0 var(--hl-c);}
.compute-model .pnl tr.hl td:last-child { box-shadow: 8px 0 0 var(--hl-c);}
.compute-model .pnl tr.hl-first td { border-bottom: 0; padding-bottom: 2px;}
.compute-model .pnl tr.hl.sub td { padding-top: 0; padding-bottom: 7px;}
.compute-model .src-note { margin-top: 14px;}
.compute-model .pnl .neg { color: var(--neg);}
.compute-model .pnl .how { display: block; font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.35; margin-top: 1px;}
.compute-model .pnl tr.has-bench td { border-bottom: 0; padding-bottom: 1px;}
.compute-model .pnl tr.bench td { padding: 0 0 8px; font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.35;}
.compute-model.hide-notes .pnl tr.has-bench td { border-bottom: 1px solid var(--rule-soft); padding-bottom: 6px;}
.compute-model .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px;}

.compute-model .exhibit { margin: 16px 0 0; border: 1px solid var(--rule); border-radius: 4px; padding: 0 14px;}
.compute-model .exhibit summary { cursor: pointer; padding: 11px 22px 11px 0; font-size: 14px; font-weight: 500; list-style: none; position: relative;}
.compute-model .exhibit summary::-webkit-details-marker { display: none;}
.compute-model .exhibit summary::after { content: "+"; color: var(--muted); font-weight: 400; position: absolute; right: 0; top: 10px;}
.compute-model .exhibit[open] summary::after { content: "–";}
.compute-model .exhibit summary .sum-val { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px;}
.compute-model .exhibit .inputs { margin-top: 2px;}
.compute-model .exhibit .pnl { margin-bottom: 14px;}

/* sensitivity */
.compute-model .sens { padding: 36px 0 6px; border-top: 1px solid var(--rule); margin-top: 36px;}
.compute-model .sens-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap;}
.compute-model .sens h2 { font-size: 22px;}
.compute-model .sens-head label { font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center;}
.compute-model select { font-size: 13px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 6px 8px; max-width: 100%;}
.compute-model .sens-note { margin: 6px 0 16px; color: var(--muted); font-size: 13px; max-width: 84ch;}
.compute-model .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 8px; margin: 0 -8px;}
.compute-model .grid { border-collapse: collapse; font-size: 13px;}
.compute-model .grid th, .compute-model .grid td { padding: 8px 11px; text-align: right; border: 1px solid var(--rule-soft); white-space: nowrap;}
.compute-model .grid th { font-weight: 500; color: var(--muted);}
.compute-model .grid th small { display: block; font-weight: 400; font-size: 11px;}
.compute-model .grid th.group { text-align: center;}
.compute-model .grid th.corner { text-align: left; vertical-align: bottom;}
.compute-model .grid th.rowh { text-align: left; color: var(--ink);}
.compute-model .grid td.cur { outline: 2px solid var(--ink); outline-offset: -2px; font-weight: 600;}
.compute-model .grid td.neg { color: var(--neg);}

.compute-model .tool { padding-bottom: 48px;}

.compute-model .mobile-bar { display: none;}
@media (max-width: 1050px) {
  .compute-model .panel { grid-template-columns: 1fr;}
  .compute-model .econ { margin-top: 30px;}
  .compute-model .econ.stick { position: static;}
}
@media (max-width: 899px) {
  .compute-model .layout { grid-template-columns: 1fr; gap: 0;}
  .compute-model .side { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--rule); gap: 0 6px;}
  .compute-model .tab { width: auto; border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; padding: 9px 10px 8px 0;}
  .compute-model .tab[aria-selected="true"] { border-left-color: transparent; border-bottom-color: var(--accent);}
  .compute-model .tab-gap { margin-top: 0;}
  .compute-model .tab-heading { display: none;}
  .compute-model .tab-biz { padding-left: 0;}
  .compute-model .tab-group, .compute-model .tab-group[hidden] { display: contents;}
  .compute-model .tab-name { font-size: 15px;}
  .compute-model .panel, .compute-model .summary { padding-top: 20px;}
  .compute-model { padding-bottom: 72px;}
  .compute-model .mobile-bar {
    display: flex; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 9px clamp(16px, 3vw, 40px) calc(9px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--rule);}
  .compute-model .mb { min-width: 0;}
  .compute-model .mb span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap;}
  .compute-model .mb b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap;}
}
@media (max-width: 700px) {
  .compute-model .controls { justify-self: start;}
  .compute-model .hero-line { margin-top: 18px;}
  .compute-model .revbar { height: 56px;}
  .compute-model .seg.wide .seg-label { opacity: 0;}
  .compute-model .stats dd { font-size: 24px;}
}
@media (prefers-reduced-motion: reduce) { .compute-model .seg { transition: none;} }

/* Clear the fixed Pantera nav, and keep the video visible outside this column. */
.compute-model {
  background: transparent;
  padding-top: 88px;
}
.compute-model .top {
  padding-top: 0;
}
.compute-model .wrap {
  background: var(--bg);
}
.compute-model .top .wrap {
  padding-top: 26px;
}
.compute-model .layout {
  margin-top: 0;
}
.compute-model .tool {
  padding-top: 26px;
}
.compute-model .side,
.compute-model .econ.stick {
  top: 104px;
}
@media (max-width: 699px) {
  .compute-model {
    padding-top: 40px;
  }
  .compute-model .side,
  .compute-model .econ.stick {
    top: 56px;
  }
}
@media (max-width: 899px) {
  body:has(.compute-model) .footer {
    margin-bottom: 72px;
  }
}
