/* Product-only modal calculator. Native dialog owns background inertness and keyboard trapping. */
html.has-product-calculator { overflow: hidden; }
.pc-drawer { position: fixed; inset: 0; width: min(640px, 100vw); max-width: 100vw; height: 100%; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: #fbfcf8; color: #193d3c; overflow-y: auto; overscroll-behavior: contain; box-shadow: -24px 0 80px rgba(7, 37, 42, .22); }
.pc-drawer[open] { animation: pc-enter .28s ease-out; }
.pc-drawer::backdrop { background: rgba(6, 29, 31, .55); }
.pc-drawer *, .pc-drawer *::before, .pc-drawer *::after { box-sizing: border-box; min-width: 0; }
.pc-drawer [hidden] { display: none !important; }
.pc-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 36px; background: var(--deep); color: #fff; }
.pc-eyebrow { margin: 0 0 11px; font-size: 9px; font-weight: 700; line-height: 1.5; letter-spacing: .16em; color: #58785c; }
.pc-header .pc-eyebrow { color: #a6cf79; }
.pc-header h2 { margin: 0; font: 600 clamp(23px, 3vw, 30px)/1.2 var(--sans); letter-spacing: -.035em; }
.pc-close { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid #52767a; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.pc-close:hover { background: #2b5d62; }
.pc-body { padding: 30px 36px 38px; }
.pc-product { margin: 0 0 15px; font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.pc-product span { display: block; margin-top: 6px; color: #667b71; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.pc-description { margin: 0 0 25px; color: #63796f; font-size: 13px; line-height: 1.7; }
.pc-form label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; line-height: 1.5; font-weight: 600; }
.pc-form label span { color: #627863; font-weight: 400; }
.pc-form input { display: block; width: 100%; height: 48px; padding: 10px 13px; border: 1px solid #cad4c5; border-radius: 0; background: #fff; font: 500 17px/1.4 var(--sans); color: #174b48; }
.pc-area-input input { height: 70px; font-size: 30px; font-weight: 600; }
.pc-area-input small { display: block; margin-top: 10px; font-size: 10px; line-height: 1.7; color: #64776c; }
.pc-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.pc-assumption { margin: 19px 0 24px; font-size: 10px; line-height: 1.85; color: #64756c; }
.pc-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 14px 20px; border: 0; background: #85bc4f; color: #193d30; font: 650 13px/1.5 var(--sans); cursor: pointer; }
.pc-submit:hover { background: #a7cf7c; }
.pc-submit:disabled { opacity: .5; cursor: not-allowed; }
.pc-status { min-height: 18px; margin: 12px 0; color: #466345; font-size: 11px; line-height: 1.7; }
.pc-unavailable { padding: 18px; border-left: 3px solid #8baa63; background: #ebf0e3; font-size: 12px; line-height: 1.8; }
.pc-result { margin-top: 23px; scroll-margin-top: 140px; }
.pc-result-heading { position: relative; padding-top: 23px; border-top: 1px solid #cfd9c9; }
.pc-result-heading h3 { margin: 0 0 18px; font: 600 26px/1.15 var(--sans); letter-spacing: -.04em; }
.pc-badge { display: inline-block; margin-bottom: 18px; padding: 5px 9px; border: 1px solid #afc99b; font-size: 9px; color: #567648; }
.pc-surface { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; min-height: 250px; margin: 8px 8px 27px; padding: 20px 16px; border: 1px solid #99b787; background: repeating-linear-gradient(90deg, transparent 0 35px, rgba(112, 151, 89, .13) 35px 36px), #eaf0e2; box-shadow: 6px 6px 0 #e0e8d6; color: #295943; }
.pc-surface::before { position: absolute; inset: 13px; border: 1px dashed #b7cda7; content: ''; pointer-events: none; }
.pc-surface-label { position: relative; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.pc-surface > strong { position: relative; font-size: 41px; line-height: 1.1; letter-spacing: -.04em; }
.pc-surface > strong > span:last-child { font-size: 22px; font-weight: 400; }
.pc-surface small { position: relative; margin-top: 4px; color: #678460; font-size: 9px; }
.pc-surface-meter { position: relative; display: flex; width: min(100%, 440px); height: 15px; overflow: hidden; border: 1px solid #a1b795; background: #fff; }
.pc-surface-meter > span { display: block; min-width: 0; transition: flex-basis .2s ease; }
.pc-surface-meter [data-pc-net-meter] { background: var(--deep); }
.pc-surface-meter [data-pc-extra-meter] { background: #85bc4f; }
.pc-surface-legend { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; width: min(100%, 440px); }
.pc-surface-legend > span { display: grid; grid-template-columns: 9px minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 6px; font-size: 9px; line-height: 1.5; }
.pc-dot { display: block; width: 8px; height: 8px; background: var(--deep); }
.pc-dot--extra { background: #85bc4f; }
.pc-surface-legend strong { justify-self: end; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
.pc-surface-total { position: relative; margin: 0; text-align: center; font-size: 10px; line-height: 1.7; }
.pc-surface-total strong { font-weight: 700; }
.pc-surface-total strong > span { font-size: inherit; }
.pc-result-facts { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px; background: var(--deep); color: #fff; }
.pc-result-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.pc-result-facts span { color: #bdd3cb; font-size: 11px; }
.pc-result-facts strong { font-size: 27px; letter-spacing: -.03em; white-space: nowrap; }
.pc-result-facts .pc-small { font-size: 11px; font-weight: 500; letter-spacing: 0; white-space: normal; text-align: right; line-height: 1.65; }
.pc-plan-heading { margin: 29px 0 16px; }
.pc-plan-heading h4 { margin: 0 0 9px; font: 600 17px/1.4 var(--sans); }
.pc-plan-heading p, .pc-no-packages, .pc-plan-caption { margin: 0; color: #657b6e; font-size: 10px; line-height: 1.75; }
.pc-packages { display: grid; gap: 10px; }
.pc-package { display: grid; grid-template-columns: 17px 54px minmax(0, 1fr); align-items: center; gap: 16px; padding: 21px 18px; border: 1px solid #d0dac8; background: #fff; cursor: pointer; }
.pc-package:has(input:checked) { border-color: #75a14d; background: #f0f5e8; }
.pc-package input { width: 16px; height: 16px; margin: 0; accent-color: #507b36; }
.pc-can { position: relative; width: 51px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #688761; border-top: 5px solid #63825a; border-bottom: 3px solid #63825a; border-radius: 5px 5px 9px 9px; background: #e7eedc; }
.pc-can::before { position: absolute; inset: -11px 9px auto; height: 10px; border: 1px solid #688761; border-bottom: 0; border-radius: 8px 8px 0 0; content: ''; }
.pc-can > span { font-size: 6px; font-weight: 750; letter-spacing: .04em; color: #41613b; }
.pc-can strong { font-size: 10px; color: #294e3d; }
.pc-package-detail strong { display: block; font-size: 14px; line-height: 1.5; }
.pc-package-detail small { display: block; margin-top: 5px; color: #69816d; font-size: 10px; line-height: 1.65; }
.pc-plan-caption { margin-top: 12px; }
.pc-footer { margin-top: 27px; padding-top: 24px; border-top: 1px solid #d4ddce; }
.pc-footer p { margin: 0; font-size: 10px; line-height: 1.9; color: #64796c; }
.pc-footer p strong { display: block; color: #395d44; font-size: 12px; }
.pc-footer > div { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 20px; }
.pc-footer a { color: #214c43; font-size: 11px; line-height: 1.8; text-decoration: none; border-bottom: 1px solid #a6bba0; }
.pc-footer a span { margin-left: 8px; }
.pc-drawer :is(a, button, input):focus-visible { outline: 3px solid #a4c86e; outline-offset: 3px; }
@keyframes pc-enter { from { transform: translateX(100%); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 640px) {
  .pc-header { padding: 23px 20px; }
  .pc-body { padding: 25px 20px 32px; }
  .pc-result-heading h3 { font-size: 25px; }
  .pc-result-facts { padding: 19px 16px; }
  .pc-result-facts > div:first-child { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pc-package { grid-template-columns: 16px 47px minmax(0, 1fr); gap: 11px; padding: 20px 13px; }
  .pc-can { width: 45px; height: 54px; }
  .pc-package-detail strong { font-size: 12px; }
  .pc-options { gap: 12px; }
  .pc-form label { font-size: 11px; }
  .pc-surface > strong { font-size: 37px; }
  .pc-surface-legend { gap: 8px 10px; }
  .pc-surface-legend > span { grid-template-columns: 8px minmax(0, auto) minmax(0, 1fr); gap: 5px; font-size: 8px; }
  .pc-surface-legend strong { font-size: 10px; }
  .pc-surface-total { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .pc-drawer[open] { animation: none; } }
