/* AltaPoint Contractors Poll — premium dark, mobile-first.
   Palette mirrors the AEO Check tool (Midnight system). */
body.appoll-page{background:#F1EEE7}
.appoll{
  --bg:#F1EEE7; --panel:#FFFFFF; --panel2:#F1EEE7; --line:#E3DED2;
  --gold:#A73724; --cream:#252A2D; --muted:#454D50; --ember:#A73724; --ember-d:#8C2F1E;
  background:var(--bg); color:var(--cream);
  font-family:Inter,system-ui,-apple-system,sans-serif; font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.appoll *{margin:0;padding:0;box-sizing:border-box}
.appoll [hidden]{display:none!important}
.appoll-wrap{max-width:820px;margin:0 auto;padding:38px 22px 64px}
.appoll-eyebrow{font-size:12px;font-weight:600;letter-spacing:.24em;color:var(--gold);text-transform:uppercase}
.appoll-h1{font-family:Barlow Semi Condensed,sans-serif;font-weight:600;font-size:clamp(32px,7vw,50px);line-height:1.1;margin-top:14px}
.appoll-h1 em{color:inherit;font-style:normal}
.appoll-lede{margin-top:16px;color:var(--muted);font-size:17px;max-width:62ch}
.appoll-n{margin-top:14px;color:var(--gold);font-size:13.5px;font-weight:600;letter-spacing:.04em}
.appoll-hp{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;overflow:hidden}

/* ---------- question cards ---------- */
.appoll-form{margin-top:30px;display:flex;flex-direction:column;gap:18px}
.appoll-q{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}
fieldset.appoll-q{min-width:0}
.appoll-q legend{float:left;width:100%}
.appoll-q-hint,.appoll-opts,.appoll-q .appoll-text{clear:both}
.appoll-q-label{font-family:Barlow Semi Condensed,sans-serif;font-size:21px;font-weight:600;line-height:1.3;display:block;padding-top:2px}
.appoll-q-num{display:inline-block;color:var(--gold);font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:700;letter-spacing:.14em;border:1px solid var(--line);border-radius:999px;padding:3px 9px;margin-right:10px;vertical-align:middle}
.appoll-q-hint{color:var(--muted);font-size:13.5px;margin-top:8px}
.appoll-opts{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.appoll-opt{display:flex;align-items:center;gap:12px;background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:14px 16px;cursor:pointer;font-size:16px;line-height:1.4;transition:border-color .15s ease,background .15s ease}
.appoll-opt:hover{border-color:var(--gold)}
.appoll-opt input{accent-color:var(--gold);width:19px;height:19px;flex:0 0 auto;cursor:pointer}
.appoll-opt:has(input:checked){border-color:var(--gold);background:#D4E4DD}
.appoll-q-missing{border-color:var(--ember)!important}
.appoll-text{width:100%;background:var(--panel2);border:1px solid var(--line);border-radius:12px;color:var(--cream);padding:14px 16px;font-size:16px;font-family:inherit;margin-top:16px;min-height:52px}
.appoll-text:focus{outline:none;border-color:var(--gold)}
.appoll-text::placeholder{color:var(--muted)}

/* ---------- email + submit ---------- */
.appoll-email-block{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}
.appoll-email-label{font-weight:600;font-size:16.5px}
.appoll-email-block .appoll-text{margin-top:12px}
.appoll-fineprint{color:var(--muted);font-size:13px;margin-top:10px}
.appoll-center{text-align:center}
.appoll-btn{display:block;width:100%;text-align:center;border-radius:999px;padding:17px 22px;font-weight:700;font-size:17px;border:none;cursor:pointer;font-family:inherit;min-height:56px;background:var(--ember);color:#fff}
.appoll-btn:hover{background:var(--ember-d)}
.appoll-btn:disabled{opacity:.45;cursor:not-allowed}
.appoll-error{color:#B3261E;font-size:15px;font-weight:600}

/* ---------- results ---------- */
.appoll-results{margin-top:30px}
.appoll-close{font-family:Barlow Semi Condensed,sans-serif;font-size:21px;line-height:1.4}
.appoll-result-q{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;margin-top:18px}
.appoll-result-q h3{font-family:Barlow Semi Condensed,sans-serif;font-size:20px;font-weight:600;line-height:1.3}
.appoll-bar-row{margin-top:14px}
.appoll-bar-head{display:flex;justify-content:space-between;gap:14px;font-size:15px;line-height:1.4}
.appoll-bar-head .appoll-bar-pct{color:var(--gold);font-weight:700;white-space:nowrap}
.appoll-bar-track{background:var(--panel2);border-radius:999px;height:12px;margin-top:7px;overflow:hidden}
.appoll-bar-fill{background:linear-gradient(90deg,var(--gold),var(--ember));height:100%;border-radius:999px;width:0;transition:width .7s ease}
.appoll-empty{color:var(--muted);font-size:16px;margin-top:18px}
.appoll-footer{margin-top:44px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center}

/* ---------- phone ---------- */
@media (max-width:480px){
  .appoll-wrap{padding:28px 16px 52px}
  .appoll-q,.appoll-email-block,.appoll-result-q{padding:18px 16px}
  .appoll-q-label{font-size:19px}
  .appoll-opt{padding:13px 14px;font-size:15.5px}
  .appoll-lede{font-size:16px}
}

/* Phase 3 2026-11-22 Limestone+Oxide: document-card treatment */
.appoll-q,.appoll-email-block,.appoll-result-q{border-top:3px solid #252A2D;box-shadow:rgba(37,42,45,0.08) 0 1px 3px,rgba(37,42,45,0.07) 0 8px 24px}
.appoll-bar-head .appoll-bar-pct{font-variant-numeric:tabular-nums}
