/* ATTIC BREEZE - PROFESSIONAL CALCULATOR DIALOG                    2026-10-02
 * Loaded only on the page in option abv_pro_calc_page_id (loader-pro-modal.php).
 *
 * Visual values are the approved page package's (build b30): navy header,
 * orange 10.5px eyebrow, 20px title, 48px round close, 22px radius, 1160px,
 * 92vh, the 74% navy backdrop, full screen at 767px and below.
 *
 * Everything is scoped to .abpm (the dialog, moved to <body>) or to the
 * html.abpm-* state classes this layer sets. Nothing here can reach the
 * homeowner calculator, which never loads this file.
 */

/* ---- 0. The in-page calculator band once the root has moved ------------- */
html.abpm-ready .elementor-element-prwork { display: none !important; }
html.abpm-lock, html.abpm-lock body { overflow: hidden !important; }

/* ---- 1. The dialog ------------------------------------------------------ */
.abpm {
  --abpm-navy: #051124;
  --abpm-accent: #EF7D48;
  --abpm-accent-lt: #FFBC7D;
  --abpm-ink: #051124;
  --abpm-muted: #4A515C;
  --abpm-line: rgba(5, 17, 36, .12);
  --abpm-focus: #346AC1;
  --abpm-on-btn: #FFFFFF;
  --abpm-ease: cubic-bezier(.2, .7, .3, 1);
  position: fixed;
  inset: 0;
  z-index: 10000;            /* over the sticky header; under abv-ui's .abvm (100000) */
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--abpm-ink);
  -webkit-font-smoothing: antialiased;
}
.abpm.is-open { display: flex; }
.abpm[hidden] { display: none !important; }
.abpm *, .abpm *::before, .abpm *::after { box-sizing: border-box; }

.abpm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 36, .74);
  opacity: 0;
  transition: opacity .24s var(--abpm-ease);
}
.abpm.is-in .abpm__backdrop { opacity: 1; }

.abpm__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 48px);
  max-width: 1160px;
  max-height: 92vh;
  max-height: 92dvh;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 40px 90px rgba(5, 17, 36, .46);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s var(--abpm-ease), transform .28s var(--abpm-ease);
}
.abpm.is-in .abpm__dialog { opacity: 1; transform: none; }
.abpm__dialog:focus { outline: none; }

.abpm .abpm__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 16px 26px;
  background: var(--abpm-navy);
  color: #FFFFFF;
}
.abpm .abpm__brand {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--abpm-accent);
}
.abpm .abpm__title {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #FFFFFF;
}
/* Two classes: the kit styles every <button> at (0,1,1). */
.abpm .abpm__x {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1.25px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: none;
  color: #FFFFFF;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.abpm .abpm__x:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.abpm .abpm__x svg { width: 12px; height: 12px; display: block; }

.abpm .abpm__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 32px 120px 40px;
}
.abpm .abpm__mount:focus { outline: none; }
.abpm :focus-visible { outline: 3px solid var(--abpm-focus); outline-offset: 3px; }

/* ---- 2. Step rail and screen heading ------------------------------------ */
.abpm .abpm__steps {
  display: flex;
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.abpm .abpm__step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 3px solid #E3E6EA;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #6F7680;
}
.abpm .abpm__step-n {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #F0F2F4;
  font-size: 11px;
  font-weight: 700;
  color: var(--abpm-navy);
}
.abpm .abpm__step-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abpm .abpm__step.is-done { border-top-color: var(--abpm-navy); color: var(--abpm-navy); }
.abpm .abpm__step.is-done .abpm__step-n { background: var(--abpm-navy); color: #FFFFFF; }
.abpm .abpm__step.is-on { border-top-color: var(--abpm-accent); color: var(--abpm-navy); }
.abpm .abpm__step.is-on .abpm__step-n { background: var(--abpm-accent); color: var(--abpm-navy); }

.abpm .abpm__now { margin: 0 0 24px; }
.abpm .abpm__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--abpm-accent);
}
.abpm .abpm__h {
  margin: 0;
  font-family: inherit;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.3px;
  text-transform: none;
  color: var(--abpm-navy);
}
.abpm .abpm__h:focus { outline: none; }
.abpm .abpm__note { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--abpm-muted); }
.abpm .abpm__note[hidden] { display: none; }

/* ---- 3. Footer navigation ----------------------------------------------- */
.abpm .abpm__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-top: 1px solid var(--abpm-line);
  background: #FFFFFF;
}
.abpm .abpm__hint {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--abpm-muted);
  text-align: right;
}
.abpm .abpm__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 15px 30px;
  border: 1.25px solid var(--abpm-accent);
  border-radius: 999px;
  background: var(--abpm-accent);
  color: var(--abpm-navy);
  font: 700 13.5px/1.25 "Poppins", system-ui, sans-serif;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
@media (hover: hover) and (pointer: fine) {
  .abpm .abpm__btn--go:not([disabled]):hover { background: var(--abpm-accent); border-color: var(--abpm-accent); color: var(--abpm-navy); }
  .abpm .abpm__btn--back:hover { background: var(--abpm-navy); border-color: var(--abpm-navy); color: #FFFFFF; }
}
.abpm .abpm__btn--back { background: transparent; border-color: rgba(5, 17, 36, .3); color: var(--abpm-navy); }
.abpm .abpm__btn[disabled] { opacity: .45; cursor: not-allowed; }
.abpm .abpm__btn[hidden] { display: none; }
/* The orange action: white type; on hover and focus it stays orange and the type turns navy. */
.abpm .abpm__btn--go { margin-left: auto; color: var(--abpm-on-btn); }
.abpm .abpm__btn--go:focus-visible { box-shadow: 0 0 0 3px var(--abpm-on-btn); color: var(--abpm-navy); }
.abpm .abpm__btn--back + .abpm__hint { text-align: left; }

/* ---- 4. The professional calculator, inside the dialog -------------------
   The page rail, the 1240 cap and the workspace header belong to a page; in
   the dialog the dialog is the frame. Screens hide by EXCLUSION, so a new
   section added to the professional layer is hidden by default rather than
   leaking onto a step. */
/* abv-app.css reserves 2200-2850px on the root so the in-page workspace does
   not shift the page as it renders. In the dialog that reservation is empty
   scroll under every step. */
.abpm .abv-root[data-abv-mode='professional'] { min-height: 0; }
.abpm .abv-root[data-abv-mode='professional'] .abvp,
.abpm .abv-root[data-abv-mode='professional'] .abv-pro {
  max-width: none;
  margin: 0;
  padding: 0;
}
.abpm .abv-root .abv-pro__head,
.abpm .abv-root .abvp-sec__head,
.abpm .abv-root .abvp-calcbar { display: none !important; }
.abpm .abv-root .abvp-sec:not(.abvp-sec--hero) { border: 0; border-radius: 0; box-shadow: none; background: none; margin: 0; }
.abpm .abv-root .abvp-sec:not(.abvp-sec--hero) > .abvp-sec__body { padding: 0; }
.abpm .abv-root .abvp-groups { display: block; }

.abpm[data-abpm-screen="project"] .abv-root [data-abv-sec]:not([data-abv-sec="project"]),
.abpm[data-abpm-screen="attic"] .abv-root [data-abv-sec]:not([data-abv-sec="design"]),
.abpm[data-abpm-screen="roof"] .abv-root [data-abv-sec]:not([data-abv-sec="design"]),
.abpm[data-abpm-screen="system"] .abv-root [data-abv-sec]:not([data-abv-sec="design"]),
.abpm[data-abpm-screen="result"] .abv-root [data-abv-sec]:not([data-abv-sec="recommend"]) { display: none !important; }

.abpm[data-abpm-screen="attic"] .abv-root [data-abv-design] > .abvp-grp:not([data-abpm-grp="attic"]),
.abpm[data-abpm-screen="roof"] .abv-root [data-abv-design] > .abvp-grp:not([data-abpm-grp="roof"]),
.abpm[data-abpm-screen="system"] .abv-root [data-abv-design] > .abvp-grp:not([data-abpm-grp="system"]) { display: none !important; }
/* The screen heading already names the group. */
.abpm .abv-root [data-abv-design] > .abvp-grp > .abvp-grp__title { display: none; }

/* ---- 4b. Step 2C: installation cards, Advanced, family switch -----------
   The fan-line choice, the GableBreeze checkbox and the system message are
   replaced by the cards; the controls stay in the DOM as the engine inputs. */
.abpm .abv-root .abpm-replaced { display: none !important; }

.abpm .abpm-inst { margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.abpm .abpm-inst__h,
.abpm [data-abpm-grp="system"] .abvp-finish__pick > .abvp-f__label {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  text-transform: none;
  color: var(--abpm-navy);
}
.abpm [data-abpm-grp="system"] .abvp-finish { margin-top: 14px; }
.abpm [data-abpm-grp="system"] .abvp-finish__pick > .abvp-f__label { margin-bottom: 10px; }
.abpm .abpm-inst__note { margin: 4px 0 16px; font-size: 15px; line-height: 1.55; color: var(--abpm-muted); }
.abpm .abpm-inst__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.abpm .abpm-inst__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  margin: 0;
  padding: 18px 46px 18px 20px;
  border: 1.5px solid rgba(5, 17, 36, .16);
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.abpm .abpm-inst__card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.abpm .abpm-inst__t { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--abpm-navy); }
.abpm .abpm-inst__s { font-size: 14px; line-height: 1.5; color: var(--abpm-muted); }
.abpm .abpm-inst__tick {
  position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(5, 17, 36, .25); background: #FFFFFF;
}
@media (hover: hover) and (pointer: fine) {
  .abpm .abpm-inst__card:hover { border-color: var(--abpm-accent); }
}
.abpm .abpm-inst__card.is-on { border-color: var(--abpm-accent); background: #FDECE4; box-shadow: inset 0 0 0 1px var(--abpm-accent); }
.abpm .abpm-inst__card.is-on .abpm-inst__tick { border-color: var(--abpm-accent); background: var(--abpm-accent); }
.abpm .abpm-inst__card.is-on .abpm-inst__tick::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.abpm .abpm-inst__card:has(input:focus-visible) { outline: 3px solid var(--abpm-focus); outline-offset: 3px; }

/* Before Calculate: both roof-fan families under the chosen finish. */
.abpm .abv-root .abpm-dual { margin-top: 12px; }
.abpm .abv-root .abpm-dual[hidden] { display: none; }
.abpm .abv-root .abpm-dual__h {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--abpm-navy);
}
.abpm .abv-root .abpm-dual__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.abpm .abv-root .abpm-dual__grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.abpm .abv-root .abpm-dual__grid.is-one { grid-template-columns: minmax(0, 1fr); max-width: 445px; }
.abpm .abv-root .abpm-dual__card {
  display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px;
  border: 1.25px solid rgba(5, 17, 36, .14); border-radius: 12px; background: #FFFFFF;
}
.abpm .abv-root .abpm-dual__card .abvp-prod__shot { width: 84px; height: 84px; }
.abpm .abv-root .abpm-dual__card.is-na .abvp-prod__txt b,
.abpm .abv-root .abpm-dual__card.is-na .abvp-prod__finish { color: var(--abpm-muted); }
.abpm .abv-root .abpm-dual__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--abpm-muted); }

.abpm .abpm-fam { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -8px 0 22px; }
.abpm .abpm-fam[hidden] { display: none; }
.abpm .abpm-fam__label { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--abpm-navy); }
.abpm .abpm-fam__seg { display: inline-flex; padding: 3px; border: 1.25px solid rgba(5, 17, 36, .2); border-radius: 999px; }
.abpm .abpm-fam__opt { position: relative; margin: 0; cursor: pointer; }
.abpm .abpm-fam__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.abpm .abpm-fam__opt span { display: block; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--abpm-navy); }
.abpm .abpm-fam__opt.is-on span { background: var(--abpm-navy); color: #FFFFFF; }
.abpm .abpm-fam__opt:has(input:focus-visible) span { outline: 3px solid var(--abpm-focus); outline-offset: 2px; }
.abpm .abpm-fam__note { flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: var(--abpm-muted); }

/* The GableBreeze component of a Roof + gable system, under the roof fan. */
.abpm .abv-root .abpm-prod2 { margin-top: 10px; }
.abpm .abv-root .abpm-prod2[hidden] { display: none; }

/* ---- 4c. Roof step: Tone tiles show the name only ----------------------
   Presentation only. The multiplier and color examples stay in the markup;
   the selected band's multiplier still shows in [data-abv-band] below. */
.abpm .abv-root .abvp-band__tile .abvp-band__mult,
.abpm .abv-root .abvp-band__tile .abvp-band__eg { display: none; }
/* Taller photos, closer to the Material cards above: three equal columns
   (Tile offers two bands and leaves the third empty), crop centered. */
.abpm .abv-root .abvp-bands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.abpm .abv-root .abvp-band__inner { height: 100%; grid-template-rows: auto 1fr; }
.abpm .abv-root .abvp-band__inner img { height: 140px; object-fit: cover; object-position: 50% 50%; }
.abpm .abv-root .abvp-band__inner b { padding: 9px 12px; }

/* ---- 4d. Result screen: the contractor job plan -------------------------
   abv-pro-modal.js paintResult() builds .abpm-res from the result data and
   moves the original summary / restart / coastal / advisory nodes into it.
   The original card stays in the DOM, hidden. Hierarchy comes from type,
   whitespace and light dividers, not boxes; success = the pro layer's own
   --p-ok tokens. */
.abpm .abv-pr.has-abpm-res > .abvp-sized,
.abpm .abv-pr.has-abpm-res > .abvp-core,
.abpm .abv-pr.has-abpm-res > .abvp-free { display: none; }
.abpm .abv-pr.is-stale .abpm-res { opacity: .45; }
/* The result sits on the dialog itself, not in a second bordered card. */
.abpm[data-abpm-screen="result"] .abv-root .abvp-sec--hero { border: 0; box-shadow: none; background: none; }
.abpm .abpm-res { display: grid; gap: 36px; color: var(--abpm-ink); }
.abpm .abpm-res__eyebrow,
.abpm .abpm-res__h {
  margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--abpm-navy);
}
.abpm .abpm-res__eyebrow { color: var(--p-accent-ink, #a8481c); }
.abpm .abpm-res__sec { padding-top: 28px; border-top: 1px solid var(--abpm-line); }

/* Section heading in eyebrow style; the product cards carry the recommendation. */
.abpm h2.abpm-res__eyebrow { font-family: inherit; line-height: 1.4; margin-bottom: 16px; }
.abpm .abpm-res__cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.abpm .abpm-res__cards.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.abpm .abpm-res__card {
  display: flex; gap: 18px; align-items: center; min-width: 0; padding: 16px; border-radius: 14px; background: #F0F2F4;
}
.abpm .abpm-res__shot {
  flex: 0 0 auto; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #FFFFFF; overflow: hidden;
}
.abpm .abpm-res__shot img { width: 100%; height: 100%; object-fit: contain; }
.abpm .abpm-res__info { min-width: 0; display: grid; gap: 3px; }
.abpm .abpm-res__qty { margin: 0; line-height: 1; }
.abpm .abpm-res__qty b { font: 800 30px/1 "Poppins", system-ui, sans-serif; color: var(--abpm-accent); }
.abpm .abpm-res__model { margin: 2px 0 0; font: 700 19px/1.25 "Poppins", system-ui, sans-serif; color: var(--abpm-navy); }
.abpm .abpm-res__facts { margin: 0; font-size: 14px; color: var(--abpm-ink); }
.abpm .abpm-res__sku { margin: 2px 0 0; font-size: 12.5px; color: var(--abpm-muted); letter-spacing: .3px; }
.abpm .abpm-res .abvp-refnote { margin: 14px 0 0; }

/* At a glance: large value, small label, hairline separators. */
.abpm .abpm-res__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.abpm .abpm-res__stat { display: grid; gap: 6px; padding: 2px 20px; border-left: 1px solid var(--abpm-line); }
.abpm .abpm-res__stat:first-child { padding-left: 0; border-left: 0; }
.abpm .abpm-res__stat b { font: 800 32px/1.05 "Poppins", system-ui, sans-serif; color: var(--abpm-navy); }
.abpm .abpm-res__stat b small { margin-left: 4px; font-size: 14px; font-weight: 600; color: var(--abpm-muted); }
.abpm .abpm-res__stat span { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--abpm-muted); }
.abpm .abpm-res__target {
  display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 12px 16px; border-radius: 10px;
  font-size: 14.5px; background: var(--p-ok-bg, #eef5f0); color: var(--abpm-ink);
}
.abpm .abpm-res__target b { color: var(--abpm-navy); }
.abpm .abpm-res__target.is-short { background: var(--p-accent-bg, #fdf1ea); }
.abpm .abpm-res__target i,
.abpm .abpm-res__apprrow p i {
  position: relative; flex: 0 0 auto; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--p-ok, #256039);
}
.abpm .abpm-res__target i::after,
.abpm .abpm-res__apprrow p i::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.abpm .abpm-res [data-abpm-slot="alerts"] > * { margin: 14px 0 0; }

/* Why: one sentence with the two numbers, then the basis as a fact row. */
.abpm .abpm-res__why { margin: 0 0 16px; max-width: 760px; font-size: 16px; line-height: 1.6; }
.abpm .abpm-res__why b { color: var(--abpm-navy); }
.abpm .abpm-res__dl2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px 20px; margin: 0; }
.abpm .abpm-res__dl2 div { min-width: 0; }
.abpm .abpm-res__dl2 dt { font-size: 12px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--abpm-muted); }
.abpm .abpm-res__dl2 dd { margin: 3px 0 0; font-size: 15.5px; font-weight: 700; color: var(--abpm-navy); overflow-wrap: anywhere; }
.abpm .abpm-res__two p { margin: 0; max-width: 760px; font-size: 15.5px; line-height: 1.6; }
.abpm .abpm-res__two .abvp-alert { margin: 14px 0 0; }

/* Coastal: the original block, in view, as a tinted note - not another box. */
.abpm .abpm-res .abpm-res__coast {
  margin: 0; padding: 20px 22px; border: 0; border-left: 3px solid var(--abpm-focus); border-radius: 10px;
  background: var(--p-info-bg, rgba(57, 147, 223, .07)); box-shadow: none;
}
.abpm .abpm-res .abpm-res__coast .abvp-coastal__row { border: 0; background: none; padding-left: 0; padding-right: 0; }
.abpm .abpm-res .abpm-res__prio { margin: 6px 0 10px; font-size: 15.5px; font-weight: 700; color: var(--abpm-navy); }
/* The prioritized line replaces the block title ("AeroBreeze - already
   specified"). The "does not fit" variant keeps its title: it is the message. */
.abpm .abpm-res .abpm-res__coast:not(.abvp-coastal--na) .abvp-block__title { display: none; }

/* Approvals: secondary, a quiet line with a text toggle. */
.abpm .abpm-res__appr { margin-top: -18px; }
.abpm .abpm-res__apprrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 4px 0; }
.abpm .abpm-res__apprrow p { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--abpm-navy); }
/* Two classes: the kit styles every button at (0,1,1). */
.abpm .abpm-res .abpm-res__toggle {
  margin: 0; padding: 4px 0; min-height: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--abpm-navy); cursor: pointer; font: 700 12.5px/1.3 "Poppins", system-ui, sans-serif;
  letter-spacing: 1.1px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--abpm-accent);
}
.abpm .abpm-res .abpm-res__toggle:hover { color: var(--p-accent-ink, #a8481c); }
.abpm .abpm-res .abpm-res__toggle:focus-visible { outline: 3px solid var(--abpm-focus); outline-offset: 2px; }
.abpm .abpm-res__apprbody { margin-top: 10px; padding: 16px 18px; border-radius: 10px; background: #F0F2F4; }
.abpm .abpm-res__apprbody[hidden] { display: none; }
.abpm .abpm-res__apprbody .abvp-coastal__cert { margin: 0; border: 0; background: none; padding: 0; }
.abpm .abpm-res__apprbody .abvp-coastal__links { margin-top: 12px; }

/* Ready for the job: navy, two actions, programs quiet underneath. */
.abpm .abpm-res__next { padding: 28px; border-radius: 14px; background: var(--abpm-navy); color: #FFFFFF; }
.abpm .abpm-res__next .abpm-res__h { margin-bottom: 18px; font-size: 20px; letter-spacing: .4px; text-transform: none; color: #FFFFFF; }
.abpm .abpm-res__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.abpm .abpm-res__acts [data-abv-summary] {
  width: auto; border-color: var(--abpm-accent); background: var(--abpm-accent); color: #FFFFFF;
}
.abpm .abpm-res__acts [data-abv-summary]:hover:not([disabled]),
.abpm .abpm-res__acts [data-abv-summary]:focus-visible { background: var(--abpm-accent); border-color: var(--abpm-accent); color: var(--abpm-navy); }
.abpm .abpm-res__acts [data-abv-summary]:focus-visible { box-shadow: 0 0 0 3px #FFFFFF; }
.abpm .abpm-res__acts [data-abv-sum-status] { flex: 1 1 100%; margin: 0; color: #FFFFFF; }
.abpm .abpm-res__acts [data-abv-sum-status]:empty { display: none; }
.abpm .abpm-res__btn2 {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px;
  border: 1.5px solid #FFFFFF; border-radius: 999px; color: #FFFFFF; text-decoration: none;
  font: 700 13.5px/1.2 "Poppins", system-ui, sans-serif; letter-spacing: 1.2px; text-transform: uppercase;
}
.abpm .abpm-res__btn2:hover { background: #FFFFFF; color: var(--abpm-navy); }
.abpm .abpm-res__btn2:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.abpm .abpm-res__fine { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #FFFFFF; }
.abpm .abpm-res__prog { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; line-height: 1.6; color: #FFFFFF; }
.abpm .abpm-res__prog a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--abpm-accent); }
.abpm .abpm-res__prog a:hover { color: var(--abpm-accent-lt); }
.abpm .abpm-res__prog a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.abpm .abpm-res__quiet { display: flex; justify-content: center; margin-top: -12px; }
.abpm .abpm-res .abpm-res__quiet [data-abv-restart] { font-size: 13px; opacity: .85; }

/* The Places suggestion list hangs off <body> at z-index 1000; while the
   dialog is open it has to sit above it. */
html.abpm-open .pac-container { z-index: 10060 !important; }

/* ---- 5. Tablet ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .abpm .abpm__body { padding: 28px 40px 36px; }
  .abpm .abpm__step-t { display: none; }
  .abpm .abpm__step.is-on .abpm__step-t { display: inline; }
}

/* ---- 6. Phone: a full-screen application -------------------------------- */
@media (max-width: 767px) {
  .abpm { align-items: stretch; }
  .abpm .abpm__dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .abpm .abpm__head { padding: 12px 12px 12px 20px; padding-top: max(12px, env(safe-area-inset-top)); }
  .abpm .abpm__title { font-size: 17px; }
  .abpm .abpm__body { padding: 20px 20px 28px; }
  .abpm .abpm__steps { margin-bottom: 20px; gap: 4px; }
  .abpm .abpm__h { font-size: 23px; }
  .abpm .abpm__note { font-size: 15px; }
  .abpm .abpm__foot {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .abpm .abpm__hint { order: -1; flex: 1 1 100%; text-align: left; font-size: 13px; }
  .abpm .abpm__hint:empty { display: none; }
  .abpm .abpm-inst__cards { grid-template-columns: 1fr; gap: 10px; }
  .abpm .abv-root .abpm-dual__grid, .abpm .abv-root .abpm-dual__grid.is-three { grid-template-columns: 1fr; gap: 10px; }
  .abpm .abv-root .abvp-band__inner img { height: 112px; }
  .abpm .abpm-res { gap: 28px; }
  .abpm .abpm-res__sec { padding-top: 24px; }
  .abpm .abpm-res__cards.is-multi { grid-template-columns: minmax(0, 1fr); }
  .abpm .abpm-res__card { gap: 14px; padding: 12px; }
  .abpm .abpm-res__shot { width: 96px; height: 96px; }
  .abpm .abpm-res__model { font-size: 17px; }
  .abpm .abpm-res__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .abpm .abpm-res__stat { padding: 0 14px; }
  .abpm .abpm-res__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .abpm .abpm-res__stat b { font-size: 25px; }
  .abpm .abpm-res__next { padding: 22px; }
  .abpm .abpm-res__acts { flex-direction: column; align-items: stretch; gap: 12px; }
  .abpm .abpm-res__acts [data-abv-summary], .abpm .abpm-res__btn2 { width: 100%; text-align: center; }
  .abpm .abpm-inst__card { min-height: 0; }
  .abpm .abpm__btn { flex: 1 1 0; padding: 14px 18px; }
  .abpm .abpm__btn--go { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .abpm .abpm__backdrop, .abpm .abpm__dialog { transition-duration: .01ms; }
  .abpm .abpm__dialog { transform: none; }
}

/* ==========================================================================
   TALK TO OUR TEAM -> support intake popup (2026-10-08)
   Matches the Breeze Lab "Get quote help" popup (#ab-srm) measured values:
   navy .8 overlay, 660px white dialog, 4px orange top rule, 6px radius,
   34px padding (26/20/24 on phones), 44px close target. No category row: the
   intro runs straight into the form (Vincent 2026-10-08). HubSpot field styling = the shared classic-form module (#abpm-sup-hs
   is registered in loader-pro-modal.php), so nothing about the fields is here.
   ========================================================================== */
.abpm-sup{position:fixed;inset:0;z-index:99990;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(5,17,36,.8)}
.abpm-sup[hidden]{display:none}
html.abpm-sup-open,html.abpm-sup-open body{overflow:hidden}
.abpm-sup__dialog{position:relative;box-sizing:border-box;width:660px;max-width:calc(100vw - 40px);max-height:88vh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:34px;background:#fff;border-top:4px solid #EF7D48;border-radius:6px;box-shadow:0 30px 80px rgba(5,17,36,.45);font-family:Poppins,sans-serif;color:#051124;text-align:left}
.abpm-sup__dialog:focus{outline:none}
.abpm-sup .abpm-sup__x{position:absolute;top:38px;right:40px;z-index:5;width:44px;height:44px;min-width:44px;padding:0;margin:0;border:0;background:transparent;color:#051124;
  font-family:inherit;font-size:30px;font-weight:400;line-height:1;letter-spacing:0;text-transform:none;cursor:pointer;border-radius:50%;box-shadow:none}
.abpm-sup .abpm-sup__x:hover,.abpm-sup .abpm-sup__x:focus{background:rgba(5,17,36,.07);color:#EF7D48}
.abpm-sup .abpm-sup__x:focus-visible{outline:2px solid #EF7D48;outline-offset:2px}
.abpm-sup__head{display:flex;flex-direction:column;gap:8px;padding:0 0 4px}
.abpm-sup .abpm-sup__eyebrow{margin:0;font:700 11px/1.4 Poppins,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#EF7D48}
.abpm-sup .abpm-sup__t{margin:0;padding-right:36px;font:800 28px/1.18 Poppins,sans-serif;letter-spacing:normal;text-transform:none;color:#051124}
.abpm-sup .abpm-sup__lede{margin:0 0 14.4px;font:400 16px/1.55 Poppins,sans-serif;color:#051124}
.abpm-sup__form{margin-top:4px;width:100%}
.abpm-sup .abpm-sup__loading{margin:8px 0;font-size:14px;color:rgba(5,17,36,.6)}
@media (max-width:767px){
  .abpm-sup{padding:12px}
  .abpm-sup__dialog{max-width:calc(100vw - 24px);max-height:92vh;padding:26px 20px 24px}
  .abpm-sup .abpm-sup__t{font-size:21px}
  .abpm-sup .abpm-sup__x{top:30px;right:26px}
  .abpm-sup .abpm-sup__lede{font-size:15px}
}