/* Shared by Compare and product earnings. Page-specific overrides stay in their owning stylesheet. */
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel { position:fixed; inset:auto; margin:0; width:min(432px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:13px; overflow:auto; border:1px solid rgba(255,153,0,.18); border-radius:16px; background:radial-gradient(circle at 12% 0%,rgba(239,147,36,.16),transparent 34%),linear-gradient(180deg,rgba(13,15,17,.99),rgba(5,6,8,.99)); background-color:#050608; color:#f7f8fa; box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 18px 42px rgba(0,0,0,.34); font:600 12px/1.4 Poppins,sans-serif; text-align:left; text-transform:none; letter-spacing:normal; scrollbar-width:thin; scrollbar-color:#ff9900 #171b21; }
.tms-compare-quantity-panel__head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel h2 { margin:0; color:rgba(255,255,255,.8); font:800 .72rem/1.3 Poppins,sans-serif; text-transform:uppercase; letter-spacing:.08em; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__close { padding:0; width:28px; min-width:28px; height:28px; min-height:28px; border-color:rgba(255,255,255,.12); border-radius:8px; background:transparent; color:#ccc; font-size:18px; }
.tms-compare-quantity-panel form { margin:0; }
.tms-compare-quantity-panel__modes { display:grid; grid-template-columns:1fr 1fr; margin-bottom:13px; gap:8px; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__modes button { min-height:40px; padding:9px; border:1px solid rgba(255,255,255,.12); border-radius:.72rem; background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.13)),rgba(13,15,17,.72); color:rgba(255,255,255,.9); font-size:.74rem; font-weight:760; line-height:1.1; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__modes button[aria-pressed="true"] { background:linear-gradient(180deg,rgba(255,153,0,.94),rgba(186,132,31,.92)),#ff9900; color:#000; border-color:rgba(255,255,255,.22); }
.tms-compare-quantity-panel label { display:block; margin:0 0 6px; color:rgba(247,248,250,.66); font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel input { width:100%; min-width:0; height:38px; min-height:38px; padding:8px 10px; background:linear-gradient(145deg,rgba(255,255,255,.02),transparent),#080b0d; border:1px solid rgba(255,153,0,.25); border-radius:12px; color:#f7f8fa; text-align:left; font:700 12px/1.2 Poppins,sans-serif; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel .tms-compare-picker__button { height:38px; min-height:38px; padding:8px 26px 8px 12px; border-radius:12px; font-size:11px; }
.tms-compare-quantity-panel__fields { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:10px; }
.tms-compare-quantity-panel__fields > div { min-width:0; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel p { color:rgba(247,248,250,.66); margin:10px 0; font:600 11px/1.4 Poppins,sans-serif; }
.tms-compare-quantity-panel__preview { padding:4px 0; border-top:1px solid rgba(255,255,255,.1); border-bottom:1px solid rgba(255,255,255,.1); }
.tms-compare-quantity-panel__preview:empty { display:none; }
.tms-compare-quantity-panel__preview > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:7px 0; font-size:11px; }
.tms-compare-quantity-panel__preview > div + div { border-top:1px solid rgba(255,255,255,.05); }
.tms-compare-quantity-panel__preview strong { flex:0 0 auto; max-width:50%; color:var(--compare-heading-color,#ffb33d); text-align:right; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__apply { width:100%; min-height:38px; padding:9px 12px; margin-top:3px; border:1px solid rgba(255,153,0,.35); border-radius:12px; background:linear-gradient(135deg,#ffad24,#ff7a00); color:#050608; font-size:12px; font-weight:800; line-height:1.3; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__reset { width:100%; min-height:38px; margin-top:8px; padding:9px 12px; border:1px solid rgba(255,153,0,.3); border-radius:12px; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.13)),#0d0f11; color:#f7f8fa; font-size:12px; font-weight:800; line-height:1.3; }
.tms-compare-quantity-panel__modes button:last-child { grid-column:1/-1; }
.tms-compare-quantity-panel__fields.is-fixed { grid-template-columns:1fr; }
.tms-compare-quantity-panel__fields.is-current { grid-template-columns:1fr 1fr; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__capacity { display:flex; align-items:center; gap:8px; margin:12px 0 0; text-transform:none; letter-spacing:0; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__capacity input { width:16px; height:16px; min-height:16px; padding:0; margin:0; accent-color:#ff9900; }
.tms-compare-quantity-panel__energy { padding:0 0 10px; }
.tms-compare-quantity-panel__energy[hidden] { display:none; }
.tms-compare-quantity-panel__supply { display:block; margin-top:4px; color:rgba(247,248,250,.66); font-size:10px; font-weight:600; line-height:1.4; }
.tms-compare-quantity-panel__supply > span { display:block; }
.tms-compare-quantity-panel__money { display:flex; align-items:center; height:38px; border:1px solid rgba(255,153,0,.25); border-radius:12px; background:linear-gradient(145deg,rgba(255,255,255,.02),transparent),#080b0d; overflow:hidden; }
.tms-compare-quantity-panel__money > span { padding-left:10px; font:700 12px/1.2 Poppins,sans-serif; color:#f7f8fa; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__money input { flex:1; width:0; height:36px; min-height:36px; padding-left:4px; border:0; border-radius:0; background:transparent; box-shadow:none; }
.tms-compare-quantity-panel__money:focus-within { outline:2px solid #ff9900; outline-offset:2px; }
.tms-compare-quantity-panel__presets { margin-top:12px; }
.tms-compare-quantity-panel__presets-label { display:block; margin-bottom:6px; color:rgba(247,248,250,.66); font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.tms-compare-quantity-panel__presets > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__presets button { width:100%; min-width:0; min-height:36px; padding:6px 4px; border:1px solid rgba(255,153,0,.3); border-radius:9px; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.13)),#0d0f11; color:#f7f8fa; font:700 11px/1.2 Poppins,sans-serif; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__presets button[aria-pressed="true"] { background:linear-gradient(135deg,#ffad24,#ff7a00); border-color:#ff9900; color:#050608; }
.tms-compare-quantity-panel__target-types { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__target-types button { min-height:38px; padding:8px; border:1px solid rgba(255,153,0,.3); border-radius:12px; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.13)),#0d0f11; color:#f7f8fa; font:700 12px/1.2 Poppins,sans-serif; }
:is(.tms-compare-page,.aer-product-fleet-surface) .tms-compare-quantity-panel__target-types button[aria-pressed="true"] { background:linear-gradient(135deg,#ffad24,#ff7a00); border-color:#ff9900; color:#050608; }
.tms-compare-quantity-panel .tms-compare-picker__button img { width:20px; height:20px; flex-shrink:0; object-fit:contain; }
/* Shared energy and quantity input presentation; used by both pages. */
.tms-compare-energy__row { display:flex; align-items:stretch; gap:0; height:42px; border:1px solid rgba(255,153,0,.4); border-radius:10px; background:#0b0e13; }
.tms-compare-energy__icon,.tms-compare-energy__icon svg { width:1.375rem; height:1.375rem; }
.tms-compare-energy__rate { max-width:15ch; }
.tms-compare-energy-surface.aer-control-tools { position:fixed; width:0; min-width:0; height:0; padding:0; margin:0; }
.tms-compare-energy-anchor { position:absolute; width:2.2rem; height:2.2rem; padding:0; opacity:0; pointer-events:none; }
.tms-compare-energy__button.has-value::after { content:none; }
.tms-compare-energy__input-box { position:relative; display:flex; align-items:center; gap:2px; height:40px; padding:0 52px 0 6px; border:0; border-radius:0 9px 9px 0; background:transparent; color:#fff; }
.tms-compare-energy__currency { font-size:13px; font-weight:700; }
.tms-compare-energy__input-box input::-webkit-inner-spin-button,.tms-compare-energy__input-box input::-webkit-outer-spin-button { appearance:none; margin:0; }
.tms-compare-energy__row:focus-within { border-color:#ff9900; }
.tms-compare-quantity__icon { display:flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; height:40px; border-radius:9px 0 0 9px; background:linear-gradient(180deg,#ffad24,#ff7a00); color:#050608; }
.tms-compare-quantity__icon svg { width:1.375rem; height:1.375rem; }
.tms-compare-energy__input-box .aer-asic-rankings__power-price-stepper { display:flex; gap:0; top:4px; bottom:4px; right:2px; width:48px; }
.tms-compare-quantity__input-box { flex:1; min-width:0; }
