
.wcpg{--green:#1479c9;--green-dark:#0b5f9f;--text:#143b5e;--muted:#607286;--border:#d6e3ed;--panel:#fff;--soft:#f5f9fd;--red:#c73a32;--red-bg:#fff2f1;--pass:#237b3c;--pass-bg:#eff9f2;max-width:820px;margin:28px auto;color:var(--text);font-family:inherit;line-height:1.45}
.wcpg *{box-sizing:border-box}.wcpg h2{font-size:30px;line-height:1.15;margin:0 0 10px}.wcpg h3{font-size:20px;margin:0 0 10px}.wcpg p{margin:0 0 12px}.wcpg label{display:block;font-weight:600;font-size:14px}.wcpg details{margin-top:18px}.wcpg details summary{cursor:pointer;font-weight:700}.wcpg details p{margin-top:9px;color:var(--muted)}
.wcpg-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px;margin-bottom:16px}.wcpg-subcard{border:1px solid var(--border);border-radius:14px;padding:18px;background:var(--soft)}.wcpg-info{border:1px solid var(--border);border-radius:14px;padding:16px;background:var(--soft);margin:18px 0}.wcpg-info p{margin:5px 0 0}
.wcpg-lead{font-size:17px;color:var(--muted)}.wcpg-muted,.wcpg-help{color:var(--muted)}.wcpg-help{font-size:12px;margin-top:7px}.wcpg-default{font-size:14px;color:var(--green-dark);margin-top:10px}
.wcpg-progress-wrap{margin:0 0 14px}.wcpg-progress-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px;margin-bottom:7px}.wcpg-progress{height:8px;border-radius:99px;background:#e6eaec;overflow:hidden}.wcpg-progress span{display:block;height:100%;width:14%;background:var(--green);transition:width .2s}
.wcpg-btn,.wcpg-choice{appearance:none;border:0;font:inherit;cursor:pointer}.wcpg-btn{min-height:46px;border-radius:11px;padding:11px 17px;font-weight:700}.wcpg-primary{background:var(--green);color:#fff}.wcpg-primary:hover{background:var(--green-dark)}.wcpg-secondary{background:#fff;border:1px solid var(--border);color:var(--text)}.wcpg-small{font-size:14px;min-height:40px;padding:8px 12px}.wcpg-full{width:100%}.wcpg-grow{flex:1}
.wcpg-choice{width:100%;min-height:52px;text-align:left;background:#fff;border:1px solid var(--border);border-radius:12px;padding:13px 14px;color:var(--text)}.wcpg-choice:hover{border-color:#b9c6cc}.wcpg-choice.wcpg-active{border:2px solid var(--green);background:#eef7fd}.wcpg-choice span{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.wcpg-input{display:block;width:100%;min-height:46px;margin-top:6px;border:1px solid #cfd8dc;border-radius:10px;padding:10px 12px;background:#fff;color:var(--text);font:inherit;font-size:16px}.wcpg-input:focus,.wcpg-btn:focus,.wcpg-choice:focus{outline:3px solid rgba(20,121,201,.25);outline-offset:2px}
.wcpg-stack>*+*{margin-top:10px}.wcpg-fitrow{border:1px solid var(--border);border-radius:13px;padding:14px;background:#fff}.wcpg-row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wcpg-two-col{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px}.wcpg-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wcpg-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wcpg-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wcpg-choice-grid.wcpg-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.wcpg-question{margin:22px 0}.wcpg-qtitle{font-weight:700;margin-bottom:9px}.wcpg-actions{display:flex;gap:10px;margin-top:24px}.wcpg-topgap{margin-top:25px!important}.wcpg-topgap-sm{margin-top:12px!important}.wcpg-hidden{display:none!important}
.wcpg-check-block{margin-top:16px}.wcpg-check-block strong{display:block;margin-bottom:6px}.wcpg-check-block label{font-weight:500;margin:7px 0}.wcpg-check-block input{margin-right:7px}
.wcpg-error{background:var(--red-bg);border:1px solid var(--red);color:#922923;border-radius:12px;padding:13px;margin-top:15px}.wcpg-error ul{margin:8px 0 0 20px}
.wcpg-result-wrap{margin-top:16px}.wcpg-result-hero{text-align:center;padding:30px}.wcpg-result-hero.wcpg-pass{border:2px solid var(--pass);background:var(--pass-bg)}.wcpg-result-hero.wcpg-fail{border:2px solid var(--red);background:var(--red-bg)}.wcpg-status{font-size:20px;font-weight:800}.wcpg-success{color:var(--pass)}.wcpg-danger{color:var(--red)}.wcpg-total{font-size:56px;line-height:1;font-weight:800;margin:8px 0}.wcpg-maximum{font-size:17px;font-weight:700;margin-top:18px}.wcpg-fail-report{border:2px solid var(--red);background:var(--red-bg)}.wcpg-fail-report h3{color:var(--red)}
.wcpg-contributor,.wcpg-scenario{border:1px solid var(--border);border-radius:12px;padding:13px}.wcpg-contributor{display:flex;justify-content:space-between;gap:16px}.wcpg-scenario-title{font-weight:800}.wcpg-scenario-result{margin-top:5px}.wcpg-apply{margin-top:10px}
.wcpg-breakdown{margin-top:14px}.wcpg-break-row{display:flex;justify-content:space-between;gap:20px;padding:6px 0;border-bottom:1px solid #edf0f1}.wcpg-break-row:last-child{border-bottom:0}.wcpg-break-row.wcpg-total-row{font-weight:800;border-top:2px solid var(--border);margin-top:5px;padding-top:10px}
@media(max-width:640px){.wcpg{margin:14px auto}.wcpg-card{padding:18px;border-radius:14px}.wcpg h2{font-size:25px}.wcpg-row-grid,.wcpg-grid-2,.wcpg-grid-3,.wcpg-choice-grid.wcpg-three{grid-template-columns:1fr}.wcpg-two-col{grid-template-columns:minmax(0,1fr) 100px}.wcpg-total{font-size:44px}.wcpg-actions{flex-wrap:wrap}.wcpg-actions .wcpg-secondary{width:100%}}


/* v1.1 report package / optional white-label branding */
.wcpg-report-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.wcpg-report-head h3{margin-bottom:5px}
.wcpg-badge{display:inline-flex;align-items:center;white-space:nowrap;background:var(--pass-bg);color:var(--pass);border:1px solid #b9dcc4;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.wcpg-optional{font-size:13px;font-weight:600;color:var(--muted)}
.wcpg-brand-card{border:1px solid var(--border);border-radius:14px;padding:18px;background:var(--soft)}
.wcpg-upload{display:block;border:1px dashed #bcc8cd;border-radius:12px;padding:14px;background:#fff}
.wcpg-upload input{display:block;margin-top:8px}
.wcpg-upload small{display:block;color:var(--muted);font-weight:400;margin-top:7px}
.wcpg-logo-preview{display:flex;align-items:center;gap:14px;margin-top:12px}
.wcpg-logo-preview img{display:block;max-width:180px;max-height:70px;object-fit:contain;border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px}
.wcpg-package-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wcpg-package-item{border:1px solid var(--border);border-radius:12px;padding:14px;background:#fff}
.wcpg-package-item strong{display:block;margin-bottom:4px}
.wcpg-package-item span{display:block;color:var(--muted);font-size:13px}
.wcpg-report-buttons{display:flex;gap:10px}
@media(max-width:640px){
  .wcpg-report-head{display:block}
  .wcpg-badge{margin-top:8px}
  .wcpg-package-list{grid-template-columns:1fr}
  .wcpg-report-buttons{display:grid;grid-template-columns:1fr}
  .wcpg-logo-preview{align-items:flex-start;flex-direction:column}
}


/* v1.2 multi-plot / dwelling-type workflow */
.wcpg-type-result{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #cfe0b0;background:#f7faef;border-radius:10px;padding:11px 12px}
.wcpg-type-result span{font-weight:800;color:var(--pass)}
.wcpg-plotrow{border:1px solid var(--border);border-radius:12px;padding:13px;background:#fff}
.wcpg-plotrow-grid{display:grid;grid-template-columns:140px minmax(0,1fr) 110px;gap:10px;align-items:end}
.wcpg-plot-remove{width:100%}
.wcpg-development-actions{align-items:center}
.wcpg-saved-type{border:1px solid var(--border);border-radius:12px;padding:14px;background:#fff}
.wcpg-saved-type-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.wcpg-saved-type-title{font-weight:800;font-size:15px}
.wcpg-saved-type-meta{font-size:13px;color:var(--muted);margin-top:3px}
.wcpg-saved-type-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.wcpg-type-chip{display:inline-block;border-radius:999px;padding:4px 8px;background:var(--pass-bg);color:var(--pass);font-size:12px;font-weight:800}
.wcpg h4{font-size:16px;margin:0 0 8px}
@media(max-width:640px){
  .wcpg-plotrow-grid{grid-template-columns:1fr}
  .wcpg-saved-type-head{display:block}
}
\n\n/* v1.3 progressive step validation */\n.wcpg-step-error{margin-top:16px;background:var(--red-bg);border:1px solid #e4a6a1;color:#8c2822;border-radius:12px;padding:12px 14px}\n.wcpg-step-error strong{display:block;margin-bottom:4px}\n.wcpg-step-error ul{margin:6px 0 0 20px;padding:0}\n.wcpg-field-invalid{border-color:var(--red)!important;background:#fff8f7!important}\n.wcpg-choice.wcpg-choice-invalid{border-color:var(--red)!important;background:#fff8f7!important}\n.wcpg-btn[disabled]{opacity:.55;cursor:not-allowed}\n

/* v1.4 mode-aware report details + package preview */
.wcpg-section-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.wcpg-package-preview{border:1px solid var(--border);border-radius:14px;padding:16px;background:#fff}
.wcpg-package-summary-line{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--border)}
.wcpg-package-summary-line:last-child{border-bottom:0}
.wcpg-package-summary-line strong{font-size:14px}
.wcpg-package-summary-line span{font-size:13px;color:var(--muted);text-align:right}
.wcpg-package-total{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--soft);font-weight:700}
@media(max-width:640px){
  .wcpg-package-summary-line{display:block}
  .wcpg-package-summary-line span{display:block;text-align:left;margin-top:3px}
}

/* v1.5 UX refinement */
.wcpg-find-help{margin:-2px 0 14px;border:1px solid var(--border);border-radius:10px;background:var(--soft);padding:9px 11px}.wcpg-find-help summary{cursor:pointer;font-size:13px;font-weight:700;color:#536168}.wcpg-find-help p{margin:8px 0 1px;font-size:13px;color:var(--muted);line-height:1.5}.wcpg-review{border:1px solid var(--border);border-radius:14px;padding:16px;background:#fff}.wcpg-review h3{margin-bottom:4px}.wcpg-review-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--border)}.wcpg-review-row:last-child{border-bottom:0}.wcpg-review-row strong{font-size:13px}.wcpg-review-row span{font-size:13px;color:var(--muted);text-align:right}.wcpg-default-tag{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;background:#fff3cd;color:#745b00;font-size:11px;font-weight:800}@media(max-width:640px){.wcpg-review-row{display:block}.wcpg-review-row span{display:block;text-align:left;margin-top:3px}}

.st-inline-editor{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}


/* v1.8 authoritative server verification */
.wcpg-server-verified{margin-top:10px;font-size:12px;font-weight:700;opacity:.78}
.wcpg-server-verified:before{content:"✓ ";}

/* v2.4 customer-friendly UI polish ------------------------------------------------ */
.wcpg{
  --shadow:0 12px 34px rgba(37,48,54,.07);
  --shadow-soft:0 5px 18px rgba(37,48,54,.05);
  max-width:1040px;
  margin:34px auto;
  font-size:16px;
}
.wcpg h2{font-size:34px;letter-spacing:-.02em;margin-bottom:12px}
.wcpg h3{font-size:22px;letter-spacing:-.01em}
.wcpg-lead{font-size:18px;line-height:1.6;max-width:760px}
.wcpg-card{border-radius:20px;padding:34px 38px;margin-bottom:20px;box-shadow:var(--shadow-soft)}
.wcpg-subcard,.wcpg-info,.wcpg-brand-card,.wcpg-package-preview{border-radius:16px}
.wcpg-info{padding:19px 20px}
.wcpg-btn{min-height:52px;border-radius:12px;padding:13px 20px;font-size:16px;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.wcpg-btn:not([disabled]):hover{transform:translateY(-1px)}
.wcpg-primary{box-shadow:0 5px 14px rgba(11,95,159,.17)}
.wcpg-input{min-height:52px;border-radius:11px;padding:12px 14px}
.wcpg-choice{min-height:66px;border-radius:14px;padding:15px 16px;font-size:16px;box-shadow:0 1px 0 rgba(37,48,54,.02)}
.wcpg-choice span{font-size:14px;line-height:1.45;margin-top:4px}
.wcpg-question{margin:28px 0}
.wcpg-qtitle{font-size:17px;margin-bottom:11px}
.wcpg-row-grid{gap:14px}.wcpg-grid-2,.wcpg-grid-3{gap:18px}
.wcpg-fitrow{border-radius:15px;padding:17px}

/* Master journey: intentionally non-clickable so validation cannot be bypassed. */
.wcpg-journey{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px 22px;margin:0 0 18px;box-shadow:var(--shadow-soft)}
.wcpg-journey-item{position:relative;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:2px 18px;color:#7b858b;min-width:0}
.wcpg-journey-item:first-child{padding-left:0}.wcpg-journey-item:last-child{padding-right:0}
.wcpg-journey-item:not(:last-child)::after{content:"";position:absolute;height:2px;background:#e4e9e6;left:calc(100% - 9px);right:-9px;top:18px;z-index:0}
.wcpg-journey-item>span{grid-row:1/3;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#edf1ef;color:#707b80;font-weight:800;position:relative;z-index:1;border:2px solid #edf1ef}
.wcpg-journey-item strong{font-size:15px;line-height:1.1;color:inherit}.wcpg-journey-item small{font-size:12px;line-height:1.15;margin-top:3px;color:#929ba0}
.wcpg-journey-item.wcpg-active>span{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 0 0 5px rgba(20,121,201,.12)}
.wcpg-journey-item.wcpg-active strong{color:var(--text)}
.wcpg-journey-item.wcpg-complete>span{background:#e8f4fc;border-color:#b9d9ee;color:var(--green-dark)}
.wcpg-journey-item.wcpg-complete strong{color:#506329}
.wcpg-journey-item.wcpg-complete:not(:last-child)::after{background:#bddced}

/* Seven-step specification navigator. */
.wcpg-progress-wrap{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px 22px 15px;margin:0 0 20px;box-shadow:var(--shadow-soft)}
.wcpg-progress-meta{font-size:14px;margin-bottom:13px}.wcpg-progress-meta span:first-child{font-weight:800;color:var(--text)}
.wcpg-stepper{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:start;margin-bottom:13px}
.wcpg-stepper-item{position:relative;text-align:center;color:#90999e;font-size:12px;font-weight:700;min-width:0}
.wcpg-stepper-item:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 18px);right:calc(-50% + 18px);top:14px;height:2px;background:#e7ebed;z-index:0}
.wcpg-stepper-item span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;margin:0 auto 7px;background:#edf0f1;color:#778187;border:2px solid #edf0f1;position:relative;z-index:1}
.wcpg-stepper-item small{display:block;font-size:11px;line-height:1.18;white-space:normal}
.wcpg-stepper-item.wcpg-active span{background:var(--green);border-color:var(--green);color:#fff}
.wcpg-stepper-item.wcpg-active small{color:var(--text)}
.wcpg-stepper-item.wcpg-complete span{background:#eaf5fc;border-color:#bddced;color:var(--green-dark)}
.wcpg-stepper-item.wcpg-complete:not(:last-child)::after{background:#d1e2b4}
.wcpg-progress{height:6px;background:#edf0f1}

/* Start screen */
.wcpg-start-card{padding-top:40px;padding-bottom:40px}
.wcpg-start-card .wcpg-section-kicker{color:var(--green-dark);margin-bottom:9px}
.wcpg-start-benefits{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 24px}
.wcpg-start-benefits span{display:inline-flex;align-items:center;gap:7px;background:#f5f8f2;border:1px solid #dae6c5;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;color:#50632e}
.wcpg-start-benefits span::before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;font-size:11px}
.wcpg-start-info{margin:0 0 22px;background:#f8faf9;border-color:#e0e6e3}
.wcpg-start-btn{font-size:17px;min-height:56px}

/* Result and development cards */
.wcpg-result-hero{padding:42px 34px;box-shadow:var(--shadow)}
.wcpg-status{font-size:22px}.wcpg-total{font-size:68px;letter-spacing:-.04em;margin:12px 0 7px}.wcpg-maximum{font-size:18px}
.wcpg-server-verified{display:inline-flex;margin-top:16px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.65);font-size:12px;font-weight:700;color:#647078}
.wcpg-saved-type{border-radius:16px;padding:18px;box-shadow:0 3px 12px rgba(37,48,54,.04)}
.wcpg-saved-type-title{font-size:17px}.wcpg-saved-type-meta{font-size:14px;line-height:1.5}
.wcpg-type-result{border-radius:13px;padding:14px 15px}
.wcpg-package-item{border-radius:14px;padding:17px}.wcpg-package-item strong{font-size:16px}

@media(max-width:860px){
  .wcpg{max-width:760px;margin:22px auto}.wcpg-card{padding:28px}
  .wcpg-journey{padding:16px}.wcpg-journey-item{grid-template-columns:32px 1fr;padding:2px 10px}.wcpg-journey-item>span{width:32px;height:32px}.wcpg-journey-item small{display:none}
  .wcpg-stepper-item small{font-size:10px}
}
@media(max-width:640px){
  .wcpg{margin:12px auto;font-size:15px}.wcpg h2{font-size:28px}.wcpg h3{font-size:20px}.wcpg-lead{font-size:16px}.wcpg-card{padding:22px 18px;border-radius:16px}
  .wcpg-journey{grid-template-columns:repeat(4,1fr);padding:13px 8px;border-radius:15px}.wcpg-journey-item{display:block;text-align:center;padding:0 4px}.wcpg-journey-item>span{width:30px;height:30px;margin:0 auto 5px}.wcpg-journey-item strong{font-size:11px}.wcpg-journey-item:not(:last-child)::after{top:15px;left:calc(50% + 15px);right:calc(-50% + 15px)}
  .wcpg-progress-wrap{padding:14px 12px}.wcpg-stepper{gap:2px}.wcpg-stepper-item span{width:25px;height:25px;font-size:11px;margin-bottom:5px}.wcpg-stepper-item:not(:last-child)::after{top:12px;left:calc(50% + 13px);right:calc(-50% + 13px)}.wcpg-stepper-item small{display:none}
  .wcpg-choice{min-height:60px}.wcpg-total{font-size:54px}.wcpg-result-hero{padding:32px 18px}.wcpg-start-benefits{display:grid;grid-template-columns:1fr;gap:7px}.wcpg-start-benefits span{justify-content:flex-start}
}

/* v2.5 result experience -------------------------------------------------------- */
.wcpg-result-hero{position:relative;overflow:hidden}
.wcpg-result-hero::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--green)}
.wcpg-result-hero.wcpg-fail::before{background:var(--red)}
.wcpg-result-kicker{font-size:18px;font-weight:800;letter-spacing:-.01em;margin-bottom:10px;color:var(--text)}
.wcpg-result-unit{font-size:16px;color:var(--muted);font-weight:600}
.wcpg-result-message{max-width:680px;margin:17px auto 7px;color:#536068;font-size:16px;line-height:1.55}
.wcpg-result-meter{position:relative;max-width:680px;height:14px;margin:22px auto 0;border-radius:999px;background:#e6ebed;overflow:visible}
.wcpg-result-meter>span{position:absolute;inset:0 auto 0 0;border-radius:999px;transition:width .35s ease;background:var(--green)}
.wcpg-result-meter>span.wcpg-meter-fail{background:var(--red)}
.wcpg-result-meter>i{position:absolute;top:-7px;width:3px;height:28px;background:#253036;border-radius:2px;transform:translateX(-1px);box-shadow:0 0 0 3px rgba(255,255,255,.78)}
.wcpg-result-meter>i::after{content:"MAX";position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10px;font-weight:900;letter-spacing:.05em;color:#536068}
.wcpg-result-scale{display:flex;justify-content:space-between;max-width:680px;margin:7px auto 0;font-size:11px;color:#849096}
.wcpg-result-cta{display:block;margin:24px auto 0;min-height:58px;padding-left:26px;padding-right:26px;font-size:17px}
.wcpg-result-hero.wcpg-pass .wcpg-status{font-size:25px}.wcpg-result-hero.wcpg-fail .wcpg-status{font-size:23px}
.wcpg-result-hero.wcpg-pass .wcpg-total,.wcpg-result-hero.wcpg-fail .wcpg-total{font-size:76px}
.wcpg-result-wrap details[data-breakdown-details]{margin-top:0}
.wcpg-result-wrap details[data-breakdown-details] summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0;font-size:16px}
.wcpg-result-wrap details[data-breakdown-details] summary::after{content:"+";width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green-dark);font-size:20px;line-height:1}
.wcpg-result-wrap details[data-breakdown-details][open] summary::after{content:"−"}
.wcpg-result-wrap details[data-breakdown-details] .wcpg-breakdown{padding-top:8px}
.wcpg-contributor{padding:16px 17px;background:#fff}.wcpg-contributor span{font-weight:700}.wcpg-contributor strong{white-space:nowrap}
.wcpg-scenario{padding:17px;background:#fff}.wcpg-scenario-title{font-size:16px}.wcpg-scenario-result{font-size:14px;color:var(--muted)}
.wcpg-result-wrap>.wcpg-card:not(.wcpg-result-hero){box-shadow:var(--shadow-soft)}

@media(max-width:640px){
  .wcpg-result-kicker{font-size:16px}.wcpg-result-message{font-size:15px}.wcpg-result-hero.wcpg-pass .wcpg-total,.wcpg-result-hero.wcpg-fail .wcpg-total{font-size:58px}
  .wcpg-result-meter{height:12px;margin-top:20px}.wcpg-result-meter>i{height:24px;top:-6px}.wcpg-result-cta{width:100%;font-size:15px;padding-left:14px;padding-right:14px}
  .wcpg-contributor{display:block}.wcpg-contributor strong{display:block;margin-top:4px}
}

/* v2.6 customer-friendly UI polish ------------------------------------------- */
.wcpg{max-width:1060px}
.wcpg-card{border-color:#dfe6e2}
.wcpg-step-title{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}
.wcpg-step-title>div{min-width:0;flex:1}
.wcpg-step-title h2{margin-bottom:7px}
.wcpg-step-title p{margin:0;max-width:800px}
.wcpg-ui-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:14px;background:#eef7fd;color:var(--green-dark);border:1px solid #c9e2f2}
.wcpg-ui-icon svg{width:24px;height:24px;display:block}
.wcpg-step-title-start .wcpg-ui-icon{width:54px;height:54px;flex-basis:54px;border-radius:17px}
.wcpg-step-title-start .wcpg-ui-icon svg{width:28px;height:28px}

/* Questions read as discrete tasks instead of a flat form. */
.wcpg-question{padding:22px 22px 20px;border:1px solid #e2e8e5;border-radius:16px;background:#fbfcfb;margin:22px 0}
.wcpg-question .wcpg-qtitle{font-size:17px;color:#263238;margin-bottom:12px}
.wcpg-question>.wcpg-help:last-child,.wcpg-question>.wcpg-default:last-child{margin-bottom:0}
.wcpg-fitrow{background:#fbfcfb;border-color:#e0e6e3}
.wcpg h3.wcpg-topgap{padding-top:6px}

/* Compact optional help keeps the main path clean. */
.wcpg details:not([data-breakdown-details]){border:1px solid #e1e7e4;background:#f8faf9;border-radius:12px;padding:11px 13px}
.wcpg details:not([data-breakdown-details]) summary{font-size:13px;color:#536168;display:flex;align-items:center;gap:7px;list-style:none}
.wcpg details:not([data-breakdown-details]) summary::-webkit-details-marker{display:none}
.wcpg details:not([data-breakdown-details]) summary::before{content:"i";width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#e5f2fb;color:var(--green-dark);font-size:12px;font-weight:900;font-family:Georgia,serif}
.wcpg details:not([data-breakdown-details]) p{font-size:13px;line-height:1.55}
.wcpg-find-help{margin:0 0 14px!important}

/* Clear project choice cards, used on Start and after PASS. */
.wcpg-start-mode{margin:25px 0 22px}
.wcpg-project-choice-grid{gap:14px}
.wcpg-project-choice{display:flex;align-items:center;gap:14px;min-height:96px;padding:18px!important;background:#fff}
.wcpg-project-choice>.wcpg-ui-icon{width:44px;height:44px;flex-basis:44px;border-radius:13px}
.wcpg-project-choice-copy{margin:0!important;min-width:0}
.wcpg-project-choice-copy strong{display:block;font-size:17px;color:var(--text);margin-bottom:3px}
.wcpg-project-choice-copy>span{display:block!important;margin:0!important;font-size:13px!important;color:var(--muted)!important;line-height:1.45}
.wcpg-project-choice.wcpg-active{box-shadow:0 0 0 2px rgba(20,121,201,.12),0 7px 18px rgba(37,48,54,.05)}
.wcpg-project-choice.wcpg-active>.wcpg-ui-icon{background:var(--green);border-color:var(--green);color:#fff}
.wcpg-project-choice.wcpg-active::after{content:"✓";margin-left:auto;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-weight:900;flex:0 0 26px}
.wcpg-start-mode .wcpg-step-error{margin-top:10px}

/* Predictable navigation: quiet Back on the left, dominant Continue on the right. */
.wcpg-actions{display:grid;grid-template-columns:minmax(112px,auto) minmax(220px,1fr);align-items:center;gap:12px;margin-top:28px}
.wcpg-actions>.wcpg-secondary{justify-self:start}
.wcpg-actions>.wcpg-primary{width:100%}
.wcpg-development-actions{grid-template-columns:minmax(170px,.7fr) minmax(260px,1.3fr)}

/* Stronger dwelling-type objects for development work. */
.wcpg-saved-type{padding:21px;border-radius:17px;background:#fff;border:1px solid #dce4df;box-shadow:0 5px 18px rgba(37,48,54,.05)}
.wcpg-saved-type-head{align-items:center}
.wcpg-saved-type-title{font-size:19px;line-height:1.2}
.wcpg-saved-type-ref{font-size:12px;color:var(--muted);margin-top:4px;font-weight:700}
.wcpg-type-chip{padding:6px 10px;font-size:12px}
.wcpg-saved-type-result{display:flex;align-items:baseline;gap:8px;margin:17px 0 8px;padding:14px 15px;border-radius:13px;background:#f4f9ec;border:1px solid #d8e8bd}
.wcpg-saved-type-result strong{font-size:28px;line-height:1;color:#385d25;letter-spacing:-.03em}
.wcpg-saved-type-result span{font-weight:700;color:#536168}
.wcpg-saved-type-result small{margin-left:auto;color:#6f7b80;font-weight:700}
.wcpg-saved-type-meta{font-size:13px;line-height:1.5;color:var(--muted)}
.wcpg-saved-type-meta strong{color:var(--text)}
.wcpg-saved-type-actions{margin-top:15px}

/* Result/report hand-off should read like a finished customer journey. */
.wcpg-result-cta{min-width:340px}
.wcpg-server-verified::before{content:"✓";font-weight:900;color:var(--pass);margin-right:6px}
.wcpg-report-head h3{font-size:23px}
.wcpg-package-item{position:relative;padding-left:52px}
.wcpg-package-item::before{content:"";position:absolute;left:17px;top:18px;width:23px;height:23px;border-radius:7px;background:#edf5e1;border:1px solid #d2e3b6}
.wcpg-package-item::after{content:"✓";position:absolute;left:23px;top:19px;color:var(--green-dark);font-weight:900;font-size:14px}

/* More generous input rhythm on larger screens. */
.wcpg-row-grid,.wcpg-grid-2,.wcpg-grid-3{row-gap:20px}
.wcpg-input{border-color:#ccd7d1}
.wcpg-input:hover{border-color:#b8c6bf}
.wcpg-input:focus{border-color:var(--green)}

@media(max-width:760px){
  .wcpg{max-width:100%;margin:14px auto}
  .wcpg-card{padding:24px 20px}
  .wcpg-step-title{gap:12px;margin-bottom:20px}
  .wcpg-step-title .wcpg-ui-icon{width:42px;height:42px;flex-basis:42px;border-radius:12px}
  .wcpg-step-title-start .wcpg-ui-icon{width:46px;height:46px;flex-basis:46px}
  .wcpg-project-choice-grid{grid-template-columns:1fr}
  .wcpg-project-choice{min-height:82px}
  .wcpg-question{padding:18px 16px}
  .wcpg-actions{grid-template-columns:105px minmax(0,1fr)}
  .wcpg-development-actions{grid-template-columns:1fr}
  .wcpg-development-actions>.wcpg-secondary{width:100%}
  .wcpg-saved-type-result small{display:block;margin-left:auto}
}

@media(max-width:640px){
  /* On phones, show a simple Step X of 7 + title + progress bar instead of seven tiny labels. */
  .wcpg-progress-wrap{padding:15px 16px 14px}
  .wcpg-stepper{display:none}
  .wcpg-progress-meta{margin-bottom:10px;font-size:13px}
  .wcpg-progress-meta span:first-child{font-size:15px}
  .wcpg-progress{height:7px}
  .wcpg-actions{grid-template-columns:92px minmax(0,1fr);gap:9px}
  .wcpg-actions .wcpg-secondary{width:100%;padding-left:10px;padding-right:10px}
  .wcpg-actions .wcpg-primary{font-size:15px;padding-left:12px;padding-right:12px}
  .wcpg-result-cta{min-width:0;width:100%}
  .wcpg-saved-type-head{display:flex}
  .wcpg-saved-type-result{display:grid;grid-template-columns:auto 1fr;gap:3px 8px}
  .wcpg-saved-type-result small{grid-column:1/-1;margin:3px 0 0}
  .wcpg-package-item{padding-left:48px}
}

@media(max-width:430px){
  .wcpg h2{font-size:26px}
  .wcpg-step-title{display:block}
  .wcpg-step-title>.wcpg-ui-icon{margin-bottom:12px}
  .wcpg-start-card{padding-top:28px;padding-bottom:28px}
  .wcpg-journey{padding-left:5px;padding-right:5px}
  .wcpg-journey-item strong{font-size:10px}
  .wcpg-actions{grid-template-columns:82px minmax(0,1fr)}
  .wcpg-project-choice{padding:15px!important}
  .wcpg-project-choice-copy strong{font-size:16px}
}

/* v2.7 final UX refinement ---------------------------------------------------- */
.wcpg-stepper-nine{grid-template-columns:repeat(9,1fr);gap:5px}
.wcpg-unified-progress{margin-bottom:22px}
.wcpg-input-unit{position:relative;display:block}
.wcpg-input-unit .wcpg-input{padding-right:76px;width:100%}
.wcpg-input-unit>span{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:800;color:#6e797f;pointer-events:none;background:#fff;padding-left:7px}
.wcpg-saved-type-actions{display:flex;flex-wrap:wrap;gap:9px}
.wcpg-step-error{line-height:1.5}
@media(max-width:860px){
 .wcpg-stepper-nine{gap:2px}.wcpg-stepper-nine .wcpg-stepper-item small{font-size:9px}
}
@media(max-width:640px){
 .wcpg-stepper-nine{display:none}
 .wcpg-unified-progress .wcpg-progress-meta{display:flex}
 .wcpg-unified-progress .wcpg-progress-meta span:first-child{font-size:16px}
 .wcpg-unified-progress .wcpg-progress{height:8px}
}
.wcpg-recovery-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f4f9fd;border:1px solid #c9e0ef;border-radius:16px;padding:16px 18px;margin:0 0 18px;box-shadow:var(--shadow-soft)}
.wcpg-recovery-banner strong{display:block;color:var(--text);font-size:15px;margin-bottom:3px}.wcpg-recovery-banner span{display:block;color:var(--muted);font-size:13px}.wcpg-recovery-actions{display:flex;gap:8px;flex:0 0 auto}
@media(max-width:640px){.wcpg-recovery-banner{display:block}.wcpg-recovery-actions{margin-top:12px}.wcpg-recovery-actions .wcpg-btn{flex:1}}
\n/* v2.9 saved dwelling type management */
.wcpg-type-chip-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.wcpg-type-editing{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#eef3f7;color:#52606d;font-size:12px;font-weight:700;line-height:1}
.wcpg-btn.wcpg-danger{color:#a63131;border-color:#e7bcbc;background:#fff}
.wcpg-btn.wcpg-danger:hover{background:#fff5f5;border-color:#d99191;color:#862626}
.wcpg-saved-type-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
@media(max-width:640px){.wcpg-saved-type-actions .wcpg-btn{width:100%}.wcpg-type-chip-wrap{justify-content:flex-start}}

/* v3.0 final simplification pass --------------------------------------------- */
.wcpg-stepper-four{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:0}
.wcpg-stepper-four .wcpg-stepper-item small{font-size:13px}
.wcpg-spec-progress{margin-top:16px;padding-top:15px;border-top:1px solid #e8ecea}
.wcpg-spec-progress .wcpg-progress-meta{margin-bottom:9px;display:flex;justify-content:space-between;gap:12px}
.wcpg-spec-progress .wcpg-progress-meta span:first-child{font-size:14px}
.wcpg-spec-progress .wcpg-progress-meta span:last-child{font-size:13px;color:#7f898e;font-weight:700}
.wcpg-spec-progress .wcpg-progress{height:7px;border-radius:999px;overflow:hidden}
.wcpg-spec-progress .wcpg-progress>span{display:block;height:100%;background:var(--green);border-radius:inherit;transition:width .25s ease}
.wcpg-unified-progress{padding-bottom:18px}
.wcpg-question .wcpg-qtitle{line-height:1.35}
.wcpg-actions .wcpg-primary{min-height:52px}
.wcpg-actions .wcpg-secondary{min-height:52px}
@media(max-width:640px){
 .wcpg-stepper-four{gap:2px}
 .wcpg-stepper-four .wcpg-stepper-item small{display:block;font-size:10px;line-height:1.15}
 .wcpg-stepper-four .wcpg-stepper-item span{width:27px;height:27px}
 .wcpg-spec-progress{margin-top:13px;padding-top:12px}
 .wcpg-spec-progress .wcpg-progress-meta{margin-bottom:8px}
}

/* v3.1 report-download simplification --------------------------------------- */
.wcpg-individual-downloads{display:block;color:#657078;font-size:13px}
.wcpg-individual-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:10px}
.wcpg-individual-heading strong{display:block;color:var(--text);font-size:15px;line-height:1.25}
.wcpg-individual-heading span{color:var(--muted);font-size:12.5px;text-align:right}
.wcpg-individual-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wcpg-individual-report-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px 12px;align-items:center;padding:15px;border:1px solid #dfe7e2;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(32,52,43,.045)}
.wcpg-individual-report-icon{grid-row:1 / span 2;width:42px;height:42px;border-radius:10px;background:#f1f7f3;color:var(--green-dark);display:flex;align-items:center;justify-content:center}
.wcpg-individual-report-icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wcpg-individual-report-copy{min-width:0}
.wcpg-individual-report-copy strong{display:block;color:var(--text);font-size:14px;line-height:1.3;margin-bottom:3px}
.wcpg-individual-report-copy span{display:block;color:var(--muted);font-size:12.5px;line-height:1.4}
.wcpg-individual-report-card .wcpg-report-card-btn{grid-column:1 / -1;width:100%;padding:9px 12px;font-size:13px;min-height:40px;margin-top:1px}
@media(max-width:760px){.wcpg-individual-report-grid{grid-template-columns:1fr}.wcpg-individual-heading{align-items:flex-start;flex-direction:column;gap:3px}.wcpg-individual-heading span{text-align:left}}
@media(max-width:420px){.wcpg-individual-report-card{grid-template-columns:38px minmax(0,1fr);padding:13px}.wcpg-individual-report-icon{width:38px;height:38px}.wcpg-individual-report-icon svg{width:21px;height:21px}}

/* v3.1.1 single-dwelling edit UX */
.wcpg-edit-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:14px 16px;border:1px solid #dbe5df;border-left:4px solid var(--green);border-radius:12px;background:#f7faf8}
.wcpg-edit-mode-bar>div{display:flex;flex-direction:column;gap:2px}.wcpg-edit-mode-bar strong{font-size:15px}.wcpg-edit-mode-bar span{font-size:13px;color:var(--muted)}
.wcpg-result-edit-link{appearance:none;border:0;background:transparent;color:var(--green-dark);font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin:18px auto 0;padding:4px 8px;display:block}
.wcpg-result-edit-link:hover{text-decoration-thickness:2px}
@media(max-width:640px){.wcpg-edit-mode-bar{align-items:stretch;flex-direction:column}.wcpg-edit-mode-bar .wcpg-btn{width:100%}}


/* v3.2 final customer-friction + visual polish -------------------------------- */
.wcpg{max-width:1060px}
.wcpg label{font-size:15px;line-height:1.35}
.wcpg-muted,.wcpg-help{line-height:1.55}
.wcpg-help{font-size:14px}
.wcpg-default{font-size:14px;font-weight:700;padding:10px 12px;border-radius:10px;background:#f4f9ec;border:1px solid #d8e8bd;color:#456b25}
.wcpg-card{padding:30px}
.wcpg-subcard{padding:20px}
.wcpg-step-title{margin-bottom:24px}
.wcpg-step-title .wcpg-muted{font-size:15px;max-width:760px}
.wcpg-question{margin:28px 0;padding:24px 24px 22px}
.wcpg-question .wcpg-qtitle{font-size:18px;margin-bottom:13px}
.wcpg-question-hint{font-size:14px;color:var(--muted);margin:-4px 0 12px}
.wcpg-stack>*+*{margin-top:14px}
.wcpg-fitrow{padding:17px}
.wcpg-input{min-height:50px;margin-top:7px}
.wcpg-choice{min-height:56px;padding:14px 15px}
.wcpg-btn{min-height:50px}
.wcpg-actions{margin-top:32px}
.wcpg-actions>.wcpg-primary{font-size:16px;box-shadow:0 7px 16px rgba(11,95,159,.16)}
.wcpg-actions>.wcpg-primary:hover{box-shadow:0 9px 18px rgba(11,95,159,.20)}
.wcpg details:not([data-breakdown-details]) summary{font-size:14px}
.wcpg details:not([data-breakdown-details]) p{font-size:14px}
.wcpg-project-choice-copy>span{font-size:14px!important}
.wcpg-start-info p{font-size:15px;line-height:1.55}
.wcpg-development-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:16px 18px;border:1px solid #d8e8bd;background:#f6faef;border-radius:14px}
.wcpg-development-summary strong{display:block;font-size:17px;color:var(--text)}
.wcpg-development-summary span{display:block;margin-top:2px;color:var(--muted);font-size:14px;font-weight:700}
.wcpg-result-hero{padding:36px 30px}
.wcpg-total{font-size:62px;letter-spacing:-.04em}
.wcpg-report-head .wcpg-muted{font-size:15px;line-height:1.55}
.wcpg-individual-heading span{font-size:14px}
.wcpg-individual-report-copy span{font-size:14px;line-height:1.45}

@media(max-width:760px){
  .wcpg-card{padding:24px 20px}
  .wcpg-question{padding:20px 17px;margin:24px 0}
  .wcpg-question .wcpg-qtitle{font-size:17px}
  .wcpg label{font-size:15px}
  .wcpg-help,.wcpg details:not([data-breakdown-details]) summary,.wcpg details:not([data-breakdown-details]) p{font-size:15px}
  .wcpg-default{font-size:15px}
  .wcpg-choice{min-height:54px}
  .wcpg-input{min-height:50px;font-size:16px}
  .wcpg-total{font-size:52px}
}

@media(max-width:430px){
  .wcpg-card{padding:22px 16px}
  .wcpg h2{font-size:25px}
  .wcpg-question{padding:18px 14px}
  .wcpg-actions{grid-template-columns:78px minmax(0,1fr);gap:9px}
  .wcpg-actions .wcpg-primary{font-size:15px}
  .wcpg-total{font-size:48px}
}

/* v3.2.1 — safer result editing + clearer mandatory Part G requirement */
.wcpg-requirement-panel{margin:18px 0 22px;padding:20px;border:2px solid #c9e1f1;border-radius:16px;background:linear-gradient(180deg,#f8fbfe 0%,#eef7fd 100%);box-shadow:0 4px 16px rgba(37,48,54,.045);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.wcpg-requirement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.wcpg-requirement-head h3{margin:7px 0 4px;font-size:20px;line-height:1.25}.wcpg-requirement-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.55;max-width:760px}
.wcpg-required-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:var(--green);color:#fff;font-size:12px;font-weight:850;letter-spacing:.02em;text-transform:uppercase}
.wcpg-requirement-options{gap:12px}.wcpg-requirement-options .wcpg-choice{position:relative;min-height:86px;padding:15px 17px;border-width:2px}.wcpg-requirement-options .wcpg-choice strong{display:flex;align-items:baseline;gap:5px;font-size:17px}.wcpg-requirement-options .wcpg-choice strong b{font-size:29px;line-height:1;color:var(--text)}.wcpg-requirement-options .wcpg-choice span{font-size:14px;margin-top:7px}.wcpg-requirement-options .wcpg-choice.wcpg-active{border-color:var(--green);background:#e8f4fc;box-shadow:0 0 0 3px rgba(20,121,201,.12)}.wcpg-requirement-options .wcpg-choice.wcpg-active:after{content:'✓ Selected';position:absolute;right:12px;top:11px;color:var(--green-dark);font-size:12px;font-weight:850}
.wcpg-requirement-hint{margin-top:12px;color:#5c6b62;font-size:13px;font-weight:700}.wcpg-requirement-panel.wcpg-requirement-error{border-color:var(--red);background:#fff8f7;box-shadow:0 0 0 4px rgba(180,55,45,.08)}.wcpg-requirement-panel.wcpg-requirement-error .wcpg-requirement-hint{color:var(--red);font-weight:850}
@media(max-width:640px){.wcpg-requirement-panel{padding:16px;margin-top:14px}.wcpg-requirement-head h3{font-size:19px}.wcpg-requirement-head p{font-size:15px}.wcpg-requirement-options{grid-template-columns:1fr}.wcpg-requirement-options .wcpg-choice{min-height:78px}.wcpg-requirement-options .wcpg-choice strong b{font-size:27px}}


/* v3.3.7 explicit WC flush-type choice -------------------------------------- */
.wcpg-wc-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:end}
.wcpg-wc-kind-field{min-width:0}
.wcpg-fit-label{display:block;font-weight:700;color:var(--text);margin-bottom:6px}
.wcpg-wc-kind-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.wcpg-wc-kind-choice{min-height:50px;padding:10px 9px;text-align:center;font-size:14px;font-weight:750;display:flex;align-items:center;justify-content:center}
.wcpg-wc-kind-choice.wcpg-active{border-width:2px}
@media(max-width:640px){.wcpg-wc-grid{grid-template-columns:1fr}.wcpg-wc-kind-options{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v3.3.9 — applied improvement feedback */
.wcpg-suggested-change-applied {
    outline: 2px solid rgba(151,189,79,.55);
    outline-offset: 3px;
    transition: outline-color .25s ease;
}
.wcpg-applied-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(151,189,79,.12);
    color: #55742b;
    font-size: 13px;
    font-weight: 700;
}


/* v3.3.10 mobile-first validation visibility */
.wcpg .wcpg-field-invalid{
  border-color:var(--red)!important;
  background:#fff8f7!important;
  box-shadow:0 0 0 2px rgba(199,58,50,.12)!important;
}
.wcpg .wcpg-input-unit:has(.wcpg-field-invalid){
  border-color:var(--red)!important;
  background:#fff8f7!important;
  box-shadow:0 0 0 2px rgba(199,58,50,.12)!important;
  border-radius:10px;
}
.wcpg .wcpg-choice-invalid{
  border-color:var(--red)!important;
  background:#fff8f7!important;
  box-shadow:0 0 0 2px rgba(199,58,50,.10)!important;
}
.wcpg .wcpg-inline-error{
  display:block;
  margin-top:6px;
  color:var(--red);
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.wcpg .wcpg-step-error{
  margin-top:16px;
  background:var(--red-bg);
  border:1px solid var(--red);
  color:#8c2822;
  border-radius:12px;
  padding:12px 14px;
}
.wcpg .wcpg-step-error strong{display:block;margin-bottom:4px}
.wcpg .wcpg-step-error ul{margin:6px 0 0 20px;padding:0}
@media(max-width:640px){
  .wcpg .wcpg-field-invalid,.wcpg .wcpg-choice-invalid{box-shadow:0 0 0 3px rgba(199,58,50,.12)!important}
  .wcpg .wcpg-inline-error{font-size:14px;margin-top:7px}
  .wcpg .wcpg-step-error{font-size:14px}
}

/* v3.4.0 development-first setup */
.wcpg-setup-type-card{border:1px solid #dfe6e2;border-radius:12px;padding:16px;background:#fff}
.wcpg-setup-type-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.wcpg-setup-type-card h4{margin:0 0 4px}.wcpg-setup-type-card p{margin:0}
.wcpg-setup-status{font-size:12px;font-weight:800;padding:5px 9px;border-radius:999px;background:#f2f4f3;color:#5f6b66;white-space:nowrap}
.wcpg-setup-card-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
@media(max-width:600px){.wcpg-setup-type-card-head{display:block}.wcpg-setup-status{display:inline-block;margin-top:8px}}
/* v3.4.1 development journey clarity */
.wcpg-type-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:14px 18px;border:1px solid #d8e8bd;background:#f7faF2;border-radius:14px}
.wcpg-type-context>div{display:grid;gap:2px}.wcpg-type-context span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.wcpg-type-context strong{font-size:19px}.wcpg-type-context small{font-size:13px;color:var(--muted)}
.wcpg-type-context-status{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #d8e8bd;white-space:nowrap}
.wcpg-plot-detected{display:block;margin-top:7px;color:var(--primary);font-size:13px}.wcpg-more-details{grid-column:1/-1;margin:0}.wcpg-more-details label{display:block;margin-top:10px}
.wcpg-dev-pass-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.wcpg-dev-pass-head h3{margin:3px 0 4px}.wcpg-dev-progress{display:grid;gap:8px}.wcpg-dev-progress-row{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e3e8e5;border-radius:10px}.wcpg-dev-progress-row strong{font-size:14px}.wcpg-dev-progress-row span{font-size:13px;color:var(--muted)}
.wcpg-copy-choice-grid .wcpg-choice{text-align:left;min-height:110px}.wcpg-copy-choice-grid .wcpg-choice strong,.wcpg-copy-choice-grid .wcpg-choice span{display:block}.wcpg-copy-choice-grid .wcpg-choice span{margin-top:6px;font-size:13px;font-weight:500;color:var(--muted)}
@media(max-width:600px){.wcpg-type-context{align-items:flex-start}.wcpg-type-context-status{display:none}.wcpg-dev-pass-head{display:block}.wcpg-dev-pass-head .wcpg-badge{display:inline-block;margin-top:8px}}
/* v3.4.2 guided development setup */
.wcpg-dev-name-panel{max-width:720px}
.wcpg-house-editor{border:2px solid #d8e8bd;background:linear-gradient(180deg,#fbfdf8 0%,#fff 100%);box-shadow:0 12px 28px rgba(29,55,42,.06)}
.wcpg-house-editor-title{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.wcpg-house-editor-title h3{margin:2px 0 4px;font-size:21px}.wcpg-house-editor-title p{margin:0}
.wcpg-house-emoji,.wcpg-setup-house-icon{display:grid;place-items:center;flex:0 0 auto;background:#f1f8e8;border:1px solid #d2e5b6}
.wcpg-house-emoji{width:48px;height:48px;border-radius:14px;font-size:25px}.wcpg-setup-house-icon{width:48px;height:48px;border-radius:13px;font-size:24px}
.wcpg-setup-type-card{position:relative;overflow:hidden;border:2px solid #d9e7cf;border-radius:16px;padding:18px;background:linear-gradient(135deg,#fff 0%,#fbfdf8 100%);box-shadow:0 8px 22px rgba(31,54,43,.07)}
.wcpg-setup-type-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--primary)}
.wcpg-setup-type-main{display:flex;align-items:flex-start;gap:13px}.wcpg-house-number{display:block;margin-bottom:3px;color:var(--primary);font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.wcpg-setup-type-card h4{font-size:20px;margin:0 0 4px}.wcpg-setup-meta{margin:0;color:var(--text);font-size:14px}.wcpg-setup-plots{margin:5px 0 0;color:var(--muted);font-size:13px}
.wcpg-setup-status{background:#eef7e3;color:#466b20;border:1px solid #d2e5b6;padding:7px 10px}
.wcpg-next-house-prompt{display:grid;grid-template-columns:auto 1fr;gap:14px 16px;align-items:start;margin-top:18px;padding:20px;border:2px solid #cfe2b4;border-radius:17px;background:linear-gradient(135deg,#f6fbeF 0%,#fff 100%);box-shadow:0 12px 28px rgba(29,55,42,.07)}
.wcpg-next-house-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#fff;border:1px solid #d2e5b6;font-size:27px}.wcpg-next-house-copy h3{margin:2px 0 5px;font-size:21px}.wcpg-next-house-copy p{margin:0;color:var(--muted)}
.wcpg-next-house-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr;gap:10px}.wcpg-next-house-actions .wcpg-btn{width:100%}
.wcpg-setup-footer{margin-top:16px;border-top:0;padding-top:0}
@media(max-width:600px){.wcpg-house-editor-title{gap:10px}.wcpg-house-emoji{width:43px;height:43px;font-size:22px}.wcpg-setup-type-main{gap:10px}.wcpg-setup-house-icon{width:42px;height:42px;font-size:21px}.wcpg-setup-type-card-head{display:block}.wcpg-setup-status{margin:12px 0 0 52px}.wcpg-next-house-prompt{grid-template-columns:auto 1fr;padding:16px}.wcpg-next-house-icon{width:44px;height:44px;font-size:23px}.wcpg-next-house-actions{grid-template-columns:1fr}.wcpg-next-house-actions .wcpg-primary{order:-1}}

/* v3.4.3 explicit next-house-type selection */
.wcpg-copy-choice-grid .wcpg-choice{position:relative;border-width:2px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.wcpg-copy-choice-grid .wcpg-choice.wcpg-active{border-color:var(--green);background:#e8f4fc;box-shadow:0 0 0 3px rgba(20,121,201,.12)}
.wcpg-copy-choice-grid .wcpg-choice.wcpg-active:after{content:"✓ Selected";position:absolute;right:14px;top:12px;padding:4px 7px;border-radius:999px;background:var(--green);color:#fff;font-size:11px;font-weight:850;letter-spacing:.02em}
.wcpg-next-choice-hint{margin:10px 0 0;color:var(--muted);font-size:13px}
.wcpg-next-type-actions{margin-top:18px}
@media(max-width:640px){.wcpg-copy-choice-grid{grid-template-columns:1fr}.wcpg-copy-choice-grid .wcpg-choice{min-height:98px}.wcpg-next-type-actions .wcpg-primary{width:100%;order:-1}.wcpg-next-type-actions .wcpg-secondary{width:100%}}

/* v3.4.4 development wizard + stronger validation */
.wcpg-invalid-field{border-color:#c94333!important;box-shadow:0 0 0 3px rgba(201,67,51,.10)!important}
.wcpg-requirement-panel.wcpg-invalid{border:2px solid #c94333!important;background:#fff7f5}
.wcpg-setup-stage-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.wcpg-setup-stage-head h2{margin:2px 0 5px}.wcpg-setup-stage-head p{margin:0}
.wcpg-setup-development-chip{flex:0 0 auto;min-width:220px;padding:12px 14px;border:1px solid #d8e8bd;border-radius:13px;background:#f7faF2}
.wcpg-setup-development-chip strong,.wcpg-setup-development-chip span{display:block}.wcpg-setup-development-chip span{margin-top:3px;color:var(--muted);font-size:13px;font-weight:700}
.wcpg-house-editor-actions{justify-content:flex-end}.wcpg-house-editor-actions .wcpg-primary{min-width:180px}
.wcpg-development-ready-summary{display:grid;gap:3px;padding:17px 18px;border:2px solid #d8e8bd;border-radius:15px;background:#f7faF2}
.wcpg-development-ready-summary strong{font-size:20px}.wcpg-development-ready-summary span{font-size:15px;font-weight:800}.wcpg-development-ready-summary small{color:var(--muted)}
.wcpg-copy-safe-note{display:block;margin-top:10px;padding-top:9px;border-top:1px solid #e4e9e5;color:#4f6d3a;font-size:12px;font-weight:750}
.wcpg-development-fail-note{margin:0 0 16px}.wcpg-development-fail-note p{margin:4px 0 0}
@media(max-width:640px){.wcpg-setup-stage-head{display:block}.wcpg-setup-development-chip{margin-top:12px;min-width:0}.wcpg-house-editor-actions{display:grid;grid-template-columns:1fr}.wcpg-house-editor-actions .wcpg-btn{width:100%}.wcpg-house-editor-actions .wcpg-primary{order:-1}}


/* v3.4.5 development progress + next-type interaction clarity */
.wcpg-dev-progress-row{align-items:center;min-height:52px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.wcpg-dev-progress-main{display:flex;align-items:center;gap:10px;min-width:0}
.wcpg-dev-progress-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:999px;background:#f1f3f2;border:1px solid #dfe5e2;color:var(--muted);font-weight:900}
.wcpg-dev-progress-row--pass{border-color:#bed79a;background:#f5faed}
.wcpg-dev-progress-row--pass .wcpg-dev-progress-icon{background:var(--green);border-color:var(--green);color:#fff}
.wcpg-dev-progress-row--pass .wcpg-dev-progress-status{color:var(--green-dark);font-weight:850}
.wcpg-dev-progress-row--current{border-width:2px;border-color:var(--green);background:#e8f4fc;box-shadow:0 0 0 3px rgba(20,121,201,.10)}
.wcpg-dev-progress-row--pending{background:#fbfcfb}
.wcpg-dev-progress-status{font-size:13px;white-space:nowrap}
.wcpg-badge.wcpg-badge-progress{background:#eef3f0;border-color:#d7e0dc;color:#55635d}
.wcpg-copy-choice-grid .wcpg-choice.wcpg-active{transform:translateY(-1px)}
.wcpg-copy-choice-grid .wcpg-choice.wcpg-active strong{color:var(--green-dark)}
.wcpg-next-type-actions .wcpg-primary:not(:disabled){box-shadow:0 10px 22px rgba(101,139,40,.18)}
@media(max-width:640px){
  .wcpg-dev-progress-row{align-items:flex-start;gap:8px}.wcpg-dev-progress-status{white-space:normal;text-align:right}.wcpg-dev-progress-icon{width:26px;height:26px;flex-basis:26px}
}

/* v3.4.8 plot-address completion */
.wcpg-plot-address-status{margin-top:10px;padding:9px 11px;border-radius:8px;font-size:13px;font-weight:700}
.wcpg-plot-address-status.wcpg-address-missing{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
.wcpg-plot-address-status.wcpg-address-complete{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
[data-pdf-btn]:disabled{opacity:.5;cursor:not-allowed}
.wcpg-brand-mark{width:54px;height:54px;object-fit:contain;flex:0 0 54px;filter:drop-shadow(0 5px 10px rgba(20,59,94,.10))}
.wcpg-checkout-price{padding:16px 18px;border:1px solid #c9e1f1;border-radius:14px;background:#f4f9fd}
.wcpg-checkout-price>div{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wcpg-checkout-price span{font-weight:750;color:var(--text)}.wcpg-checkout-price strong{font-size:19px;color:var(--green-dark)}
.wcpg-checkout-price small{display:block;margin-top:5px;color:var(--muted)}
.wcpg-checkout-note{text-align:center;margin:9px 8px 0!important;color:var(--muted);font-size:12px;line-height:1.5}
\n\n/* v3.5.0 visual hierarchy + consistent progressive validation */\n.wcpg label{font-size:15px;line-height:1.4}\n.wcpg .wcpg-help{font-size:13px;line-height:1.5}\n.wcpg .wcpg-muted{font-size:15px;line-height:1.55}\n.wcpg .wcpg-section-kicker{font-size:13px;letter-spacing:.065em}\n.wcpg .wcpg-step-title p,.wcpg .wcpg-setup-stage-head p{font-size:15px}\n.wcpg .wcpg-choice span{font-size:14px}\n.wcpg .wcpg-setup-meta{font-size:15px}\n.wcpg .wcpg-setup-plots{font-size:14px}\n.wcpg .wcpg-development-ready-summary small{font-size:13px}\n.wcpg .wcpg-input{font-size:16px}\n.wcpg select.wcpg-field-invalid{border-color:var(--red)!important;background-color:#fff8f7!important;box-shadow:0 0 0 3px rgba(199,58,50,.13)!important}\n.wcpg .wcpg-field-invalid{box-shadow:0 0 0 3px rgba(199,58,50,.13)!important}\n.wcpg .wcpg-choice-invalid{box-shadow:0 0 0 3px rgba(199,58,50,.13)!important}\n.wcpg .wcpg-wc-kind-choice.wcpg-choice-invalid{border-color:var(--red)!important;background:#fff8f7!important;box-shadow:0 0 0 3px rgba(199,58,50,.13)!important}\n.wcpg .wcpg-requirement-panel.wcpg-invalid{box-shadow:0 0 0 3px rgba(199,58,50,.10)}\n@media(max-width:640px){.wcpg label{font-size:15px}.wcpg .wcpg-help{font-size:13px}.wcpg .wcpg-muted{font-size:14px}.wcpg .wcpg-section-kicker{font-size:12px}}\n

/* v3.5.2 attempt-driven validation with zero layout shift */
.wcpg input.wcpg-field-invalid,.wcpg textarea.wcpg-field-invalid,.wcpg select.wcpg-field-invalid{border-color:var(--red)!important;background:#fff8f7!important;box-shadow:0 0 0 3px rgba(199,58,50,.14)!important}
.wcpg button.wcpg-choice-invalid{border-color:var(--red)!important;background:#fff8f7!important;box-shadow:0 0 0 3px rgba(199,58,50,.14)!important}

/* v3.5.3 — validation messages must never move neighbouring controls */
/*
 * Inline validation text is allowed to make the row taller, but it must grow
 * downwards from the affected field.  The WC grid previously used
 * align-items:end, so adding/removing an inline error changed the height of one
 * grid item and vertically re-aligned every neighbouring control.  Starting
 * each grid item at the same top edge keeps labels and controls fixed in place.
 */
.wcpg .wcpg-wc-grid{
  align-items:start;
}
.wcpg .wcpg-wc-grid > *,
.wcpg .wcpg-row-grid > *{
  min-width:0;
}


/* v3.5.4 start-screen hierarchy and selection polish */
.wcpg .wcpg-start-card{padding-top:42px;padding-bottom:40px}
.wcpg .wcpg-step-title-start{align-items:flex-start;margin-bottom:0}
.wcpg .wcpg-step-title-start>.wcpg-ui-icon{width:50px;height:50px;flex:0 0 50px;border-radius:14px;margin-top:1px}
.wcpg .wcpg-step-title-start h2{font-size:32px;line-height:1.15;letter-spacing:-.025em;margin-bottom:8px}
.wcpg .wcpg-step-title-start .wcpg-lead{font-size:18px;line-height:1.5;margin:0;max-width:none;color:#5d686e}
.wcpg .wcpg-start-reassurance{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
.wcpg .wcpg-start-benefits{margin:22px 0 27px;gap:10px}
.wcpg .wcpg-start-benefits span{font-size:14px;padding:8px 13px}
.wcpg .wcpg-start-mode>.wcpg-qtitle{font-size:18px;font-weight:800;margin-bottom:13px;color:var(--text)}
.wcpg .wcpg-project-choice{min-height:100px;padding:18px 19px!important;align-items:center}
.wcpg .wcpg-project-choice>.wcpg-ui-icon{width:48px;height:48px;flex-basis:48px;border-radius:14px}
.wcpg .wcpg-project-choice-copy strong{font-size:17px;line-height:1.3;margin-bottom:5px}
.wcpg .wcpg-project-choice-copy>span{font-size:15px!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}
.wcpg .wcpg-start-info{padding:17px 18px;margin-top:20px;margin-bottom:22px}
.wcpg .wcpg-start-info>strong{font-size:15px}
.wcpg .wcpg-start-info p{font-size:15px;line-height:1.6;margin-top:6px}
.wcpg .wcpg-start-btn[disabled]{opacity:1;background:#dbe4cf;color:#879276;box-shadow:none;cursor:not-allowed;transform:none}
.wcpg .wcpg-start-btn:not([disabled]){box-shadow:0 8px 18px rgba(11,95,159,.18)}
.wcpg .wcpg-stepper-item small{font-size:12px}
@media(max-width:640px){
  .wcpg .wcpg-step-title-start h2{font-size:27px}
  .wcpg .wcpg-step-title-start .wcpg-lead{font-size:16px}
  .wcpg .wcpg-start-reassurance{font-size:14px}
  .wcpg .wcpg-start-benefits span{font-size:13px}
  .wcpg .wcpg-project-choice{min-height:88px}
  .wcpg .wcpg-project-choice-copy>span{font-size:14px!important}
}

/* v3.6.0 Quick calculator */
.wcpg-calculator-level{margin:4px 0 26px;padding:18px;border:1px solid #e0e6e3;border-radius:16px;background:#fbfcfb}
.wcpg-level-copy{display:flex;flex-direction:column;gap:3px;margin-bottom:13px}.wcpg-level-copy strong{font-size:16px}.wcpg-level-copy span{font-size:14px;color:var(--muted);line-height:1.45}
.wcpg-level-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wcpg-level-option{min-height:70px;padding:13px 15px;border:1px solid #dce3df;border-radius:12px;background:#fff;text-align:left;cursor:pointer;color:var(--text);transition:.16s ease}
.wcpg-level-option strong,.wcpg-level-option span{display:block}.wcpg-level-option strong{font-size:15px;margin-bottom:3px}.wcpg-level-option span{font-size:13px;color:var(--muted)}
.wcpg-level-option.wcpg-active{border-color:var(--green);background:#edf7fd;box-shadow:0 0 0 1px var(--green)}.wcpg-level-option.wcpg-active strong{color:var(--green-dark)}
.wcpg-quick-card .wcpg-section-kicker{color:var(--green-dark);margin-bottom:5px}.wcpg-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.wcpg-quick-grid label{font-weight:700;font-size:15px}.wcpg-quick-grid .wcpg-input{margin-top:7px}
.wcpg-quick-note{display:grid;grid-template-columns:1fr auto;gap:4px 18px;align-items:center;padding:16px 18px;border:1px solid #cfe3f1;border-radius:14px;background:#f4f9fd}.wcpg-quick-note strong{font-size:15px}.wcpg-quick-note span{grid-column:1;font-size:14px;line-height:1.5;color:var(--muted)}.wcpg-link-btn{grid-column:2;grid-row:1 / span 2;border:0;background:transparent;color:var(--green-dark);font-weight:800;cursor:pointer;padding:8px;font-size:13px}.wcpg-link-btn:hover{text-decoration:underline}
.wcpg-quick-target{margin-top:8px}.wcpg-quick-target.wcpg-choice-group-invalid,[data-quick-target].wcpg-choice-group-invalid{outline:2px solid #d96558;outline-offset:3px;border-radius:12px}
@media(max-width:760px){.wcpg-level-toggle{grid-template-columns:1fr}.wcpg-quick-grid{grid-template-columns:1fr 1fr}.wcpg-quick-note{display:block}.wcpg-link-btn{display:block;padding:10px 0 0}.wcpg-calculator-level{padding:15px}}
@media(max-width:480px){.wcpg-quick-grid{grid-template-columns:1fr}}
