/* Start custom CSS *//* Cost Saving Calculator (page 1623): page Custom CSS. Styles the calculator that pf-cost-calculator.js renders
   into .pf-cc-mount. WordPress strips backslashes from page CSS: never use CSS escapes here.
   Save rule for this page: save, publish, save the same CSS again, publish (the first save after a publish is
   often dropped). */
.pf-cc { --cc-ink: var(--pf-ink, #15291F); --cc-soft: var(--pf-ink-soft, #3B5248); --cc-muted: var(--pf-ink-muted, #5E7068); --cc-line: rgba(21, 41, 31, 0.16); --cc-line-strong: rgba(21, 41, 31, 0.34); --cc-forest: var(--pf-forest, #32594A); --cc-cream: var(--pf-cream, #F6F0E3); --cc-sage: var(--pf-sage, #D4DBD5); --cc-peach: var(--pf-peach, #D79F7F); --cc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: start; width: 100%; font-family: var(--pf-font), sans-serif; color: var(--cc-ink); }
.pf-cc *, .pf-cc *::before, .pf-cc *::after { box-sizing: border-box; }
.pf-cc :is(input, select, button, summary, a) { font: inherit; color: inherit; }
.pf-cc :focus-visible { outline: 2px solid var(--cc-peach); outline-offset: 2px; }
.pf-cc :is(.pf-cc-big-v, .pf-cc-bar-v, .pf-cc-stat-v, .pf-cc-num, .pf-cc-break td, .pf-cc-peek b) { font-variant-numeric: tabular-nums; }
.pf-cc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- inputs ---------- */
.pf-cc-in { display: flex; flex-direction: column; gap: clamp(32px, 3vw, 44px); margin: 0; padding: clamp(24px, 3.2vw, 48px); background: var(--pf-paper, #FBF8F1); border: 1px solid var(--cc-line); border-right: 0; }
.pf-cc-part { display: flex; flex-direction: column; gap: 22px; }
.pf-cc-kicker { display: flex; align-items: baseline; gap: 12px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--cc-line-strong); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: var(--cc-ink); }
.pf-cc-n { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: var(--cc-muted); }
.pf-cc-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-cc-fs { min-inline-size: 0; }
.pf-cc-label { display: block; float: none; width: 100%; margin: 0; padding: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.35; color: var(--cc-soft); }
.pf-cc-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--cc-muted); }
.pf-cc-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px 18px; }

/* select */
.pf-cc-selwrap { position: relative; }
.pf-cc-selwrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--cc-ink); border-bottom: 1.5px solid var(--cc-ink); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.pf-cc-select { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 54px; margin: 0; padding: 0 48px 0 16px; background: #fff; border: 1px solid var(--cc-line-strong); border-radius: 0; font-size: 1rem; font-weight: 600; color: var(--cc-ink); cursor: pointer; transition: border-color 200ms; }
.pf-cc-select:hover { border-color: var(--cc-ink); }

/* segmented options (radio buttons) */
.pf-cc-seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; border: 1px solid var(--cc-line-strong); background: #fff; }
.pf-cc-opt { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.pf-cc-opt + .pf-cc-opt { border-left: 1px solid var(--cc-line); }
.pf-cc-radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pf-cc-opt-t { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; padding: 8px 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; color: var(--cc-ink); transition: background-color 220ms var(--cc-ease), color 220ms var(--cc-ease); }
.pf-cc-opt-t small { font-size: 0.75rem; font-weight: 500; color: var(--cc-muted); transition: color 220ms; }
.pf-cc-opt:hover .pf-cc-opt-t { background: var(--pf-cream-deep, #EDE4D1); }
.pf-cc-radio:checked + .pf-cc-opt-t { background: var(--cc-forest); color: var(--cc-cream); }
.pf-cc-radio:checked + .pf-cc-opt-t small { color: var(--cc-sage); }
.pf-cc-radio:focus-visible + .pf-cc-opt-t { outline: 2px solid var(--cc-peach); outline-offset: -4px; }

/* money inputs with steppers */
.pf-cc-money { display: flex; align-items: stretch; height: 54px; background: #fff; border: 1px solid var(--cc-line-strong); transition: border-color 200ms; }
.pf-cc-money:hover, .pf-cc-money:focus-within { border-color: var(--cc-ink); }
.pf-cc-step { flex: 0 0 44px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; background: transparent; font-size: 1.25rem; font-weight: 400; line-height: 1; color: var(--cc-soft); cursor: pointer; transition: background-color 180ms; }
.pf-cc-step:hover { background: var(--pf-cream, #F6F0E3); color: var(--cc-ink); }
.pf-cc-step:first-child { border-right: 1px solid var(--cc-line); }
.pf-cc-step:last-child { border-left: 1px solid var(--cc-line); }
.pf-cc-cur, .pf-cc-suf { display: flex; align-items: center; font-size: 0.9375rem; font-weight: 500; color: var(--cc-muted); }
.pf-cc-cur { padding-left: 14px; }
.pf-cc-suf { padding-right: 12px; }
.pf-cc .pf-cc-money .pf-cc-num { flex: 1 1 auto; width: 100%; height: 100%; min-width: 0; margin: 0; padding: 0 4px; background: transparent; border: 0; border-radius: 0; outline: none; box-shadow: none; appearance: none; -webkit-appearance: none; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--cc-ink); font-variant-numeric: tabular-nums; }
.pf-cc-money:focus-within { outline: 2px solid var(--cc-peach); outline-offset: 2px; }
.pf-cc-use { margin: 0; padding: 0; background: none; border: 0; font-size: 0.8125rem; font-weight: 600; color: var(--cc-forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pf-cc-use[hidden] { display: none; }

/* ---------- results ---------- */
.pf-cc-out { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 26px; min-width: 0; padding: clamp(28px, 3.4vw, 52px); background: var(--cc-forest); color: var(--cc-cream); scroll-margin-top: 88px; }
.pf-cc-out > * { margin: 0; }
.pf-cc-eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; color: var(--cc-sage); }
.pf-cc-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: -14px !important; line-height: 0.95; }
.pf-cc-big-v { font-size: clamp(3.5rem, 2rem + 4.6vw, 6.25rem); font-weight: 800; letter-spacing: -0.05em; color: var(--cc-cream); }
.pf-cc-per { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; color: var(--cc-sage); }
.pf-cc-pct { align-self: center; margin-left: auto; padding: 6px 11px; background: var(--cc-sage); color: var(--cc-ink); font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.pf-cc-pct:empty { display: none; }
.pf-cc-sub { max-width: 48ch; font-size: 1rem; line-height: 1.55; color: rgba(246, 240, 227, 0.84); text-wrap: pretty; }
.is-negative .pf-cc-big-v { color: rgba(246, 240, 227, 0.55); }

.pf-cc-bars { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(246, 240, 227, 0.18); }
.pf-cc-bar-k { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--cc-sage); }
.pf-cc-bar-v { font-size: 1rem; font-weight: 700; color: var(--cc-cream); }
.pf-cc-bar-t { position: relative; height: 14px; background: rgba(246, 240, 227, 0.08); overflow: hidden; }
.pf-cc-bar-f { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); transition: width 700ms var(--cc-ease); }
.pf-cc-bar-us .pf-cc-bar-f { background: repeating-linear-gradient(135deg, rgba(246, 240, 227, 0.55) 0 2px, rgba(246, 240, 227, 0.16) 2px 7px); }
.pf-cc-bar-pf .pf-cc-bar-f { background: var(--cc-sage); }

.pf-cc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(246, 240, 227, 0.18); }
.pf-cc-stat { min-width: 0; padding: 16px 14px 0 0; }
.pf-cc-stat + .pf-cc-stat { padding-left: 14px; border-left: 1px solid rgba(246, 240, 227, 0.18); }
.pf-cc-stat dt { margin: 0 0 6px; font-size: 0.8125rem; font-weight: 500; line-height: 1.35; color: var(--cc-sage); }
.pf-cc-stat dd { margin: 0; }
.pf-cc-stat-v { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; color: var(--cc-cream); }

.pf-cc-break { border-top: 1px solid rgba(246, 240, 227, 0.18); border-bottom: 1px solid rgba(246, 240, 227, 0.18); }
.pf-cc-break summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; list-style: none; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.pf-cc-break summary::-webkit-details-marker { display: none; }
.pf-cc-break summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate 260ms var(--cc-ease), translate 260ms var(--cc-ease); }
.pf-cc-break[open] summary::after { rotate: 225deg; translate: 0 2px; }
.pf-cc-break table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-size: 0.9375rem; }
.pf-cc-break th, .pf-cc-break td { padding: 7px 0; border: 0; background: none; font-weight: 500; text-align: left; color: rgba(246, 240, 227, 0.84); }
.pf-cc-break td { text-align: right; color: var(--cc-cream); }
.pf-cc-break tr.is-total th, .pf-cc-break tr.is-total td { padding-top: 10px; border-top: 1px solid rgba(246, 240, 227, 0.18); font-weight: 700; color: var(--cc-cream); }
.pf-cc-note { margin: 0 0 16px; font-size: 0.8125rem; line-height: 1.5; color: var(--cc-sage); }

.pf-cc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pf-cc-book { display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--cc-peach); color: var(--cc-ink) !important; font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; transition: background-color 220ms; }
.pf-cc-book:hover { background: var(--pf-peach-deep, #C98A69); }
.pf-cc-book svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: translate 220ms var(--cc-ease); }
.pf-cc-book:hover svg { translate: 2px -2px; }
.pf-cc-actnote { margin: 0; font-size: 0.8125rem; font-weight: 500; color: var(--cc-sage); }

.pf-cc-tools { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(246, 240, 227, 0.18); }
.pf-cc-tool { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; background: transparent; border: 1px solid rgba(246, 240, 227, 0.32); border-radius: 0; font-size: 0.875rem; font-weight: 600; color: var(--cc-cream); cursor: pointer; transition: border-color 200ms, background-color 200ms, color 200ms; }
.pf-cc-tool:hover { border-color: var(--cc-cream); background: rgba(246, 240, 227, 0.06); }
.pf-cc-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.pf-cc-tool.is-done { background: var(--cc-sage); border-color: var(--cc-sage); color: var(--cc-ink); }
.pf-cc-status { min-height: 0; margin: -14px 0 0 !important; font-size: 0.8125rem; color: var(--cc-sage); }
.pf-cc-status:empty { display: none; }
.pf-cc-fine { font-size: 0.75rem; line-height: 1.5; color: rgba(246, 240, 227, 0.62); }

/* phone/tablet: a small bar that jumps to the result while the inputs fill the screen */
.pf-cc-peek { display: none; }

@media (max-width: 1024px) {
  .pf-cc { grid-template-columns: minmax(0, 1fr); }
  .pf-cc-in { border-right: 1px solid var(--cc-line); border-bottom: 0; }
  .pf-cc-out { position: relative; top: auto; }
  .pf-cc-peek { position: fixed; z-index: 40; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--cc-forest); color: var(--cc-cream) !important; font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 1px rgba(246, 240, 227, 0.22); translate: -50% 150%; opacity: 0; pointer-events: none; transition: translate 360ms var(--cc-ease), opacity 260ms; }
  .pf-cc-peek b { font-weight: 800; letter-spacing: -0.02em; }
  .pf-cc-peek svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
  .pf-cc.show-peek .pf-cc-peek { translate: -50% 0; opacity: 1; pointer-events: auto; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .pf-cc-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
}
@media (max-width: 767px) {
  .pf-cc-in { padding: 22px 18px 28px; }
  .pf-cc-out { padding: 28px 18px; gap: 22px; }
  .pf-cc-stats { grid-template-columns: minmax(0, 1fr); }
  .pf-cc-stat, .pf-cc-stat + .pf-cc-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-left: 0; border-bottom: 1px solid rgba(246, 240, 227, 0.12); }
  .pf-cc-stat dt { margin: 0; }
  .pf-cc-pct { margin-left: 0; }
  .pf-cc-tool { flex: 1 1 auto; justify-content: center; }
  .pf-cc-book { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-cc *, .pf-cc *::before, .pf-cc *::after { transition: none !important; }
}

/* 3-minute gate (2026-12-04): after 3 minutes of real use the script locks the calculator (inert + is-locked)
   and shows a name / email / company card over it; on submit it unlocks and shows the thanks banner. */
.pf-cc-thanks { grid-column: 1 / -1; scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; background: var(--cc-sage); color: var(--cc-ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.pf-cc-thanks[hidden] { display: none; }
.pf-cc-thanks svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pf-cc-thanks span { flex: 1 1 auto; }
.pf-cc .pf-cc-thanks-x { flex: none; margin: 0; padding: 4px 8px; background: transparent; border: 0; border-radius: 0; font: inherit; font-size: 1.25rem; line-height: 1; color: var(--cc-ink); cursor: pointer; }
.pf-cc.is-locked .pf-cc-peek { display: none; }
.pf-cc.is-locked > :is(.pf-cc-in, .pf-cc-out) { filter: blur(3px); opacity: 0.5; user-select: none; transition: filter 400ms, opacity 400ms; }
.pf-cc-gate { position: absolute; z-index: 30; inset: 0; display: block; padding: clamp(16px, 4vw, 48px); background: rgba(246, 240, 227, 0.5); }
.pf-cc-gate[hidden] { display: none; }
.pf-cc-gcard { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 104px); display: flex; flex-direction: column; gap: 14px; width: min(100%, 460px); margin: 0 auto; padding: clamp(24px, 3vw, 40px); background: var(--pf-paper, #FBF8F1); border: 1px solid var(--cc-line-strong); }
.pf-cc .pf-cc-gt { margin: 0; font-family: var(--pf-font), sans-serif; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--cc-ink); }
.pf-cc-gt:focus { outline: none; }
.pf-cc-glede { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--cc-soft); }
.pf-cc-gform { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 0; }
.pf-cc .pf-cc-gform .pf-cc-gin { display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; background: #fff; border: 1px solid var(--cc-line-strong); border-radius: 0; box-shadow: none; appearance: none; -webkit-appearance: none; font: inherit; font-size: 1rem; font-weight: 500; color: var(--cc-ink); transition: border-color 200ms; }
.pf-cc .pf-cc-gform .pf-cc-gin:hover { border-color: var(--cc-ink); }
.pf-cc .pf-cc-gform .pf-cc-gin:focus { outline: 2px solid var(--cc-peach); outline-offset: 2px; border-color: var(--cc-ink); }
.pf-cc .pf-cc-gform .pf-cc-gin[aria-invalid="true"] { border-color: #A0412D; }
.pf-cc-gerr { margin: 0; font-size: 0.8125rem; font-weight: 600; color: #A0412D; }
.pf-cc-gerr:empty { display: none; }
.pf-cc .pf-cc-gsend { justify-content: center; margin-top: 4px; border: 0; border-radius: 0; font: inherit; font-weight: 600; cursor: pointer; }
.pf-cc .pf-cc-gsend:disabled { opacity: 0.6; cursor: wait; }
.pf-cc-gstatus { margin: 0; font-size: 0.8125rem; color: var(--cc-soft); }
.pf-cc-gstatus:empty { display: none; }
.pf-cc-gfine { margin: 0; font-size: 0.75rem; line-height: 1.5; color: var(--cc-muted); }/* End custom CSS */