/* gpm v3 — the phone money path (quiz step, results, save). Phone only: mounted under 768px.
   One language: paper on parchment, Fraunces for the few things that matter, Plus Jakarta Sans for the rest, forest for
   every action. Spacing on one scale (4 8 12 16 24 32 40). No caps-tracked labels, no dot-separated meta, no chips. */
.gpm,.gpm-dock,.gpm-sheet,.gpm-scrim{--p:#FAF7F2;--paper:#FFFDF9;--ink:#1C1917;--ink2:#57534E;--ink3:#78716C;--line:#EAE3D8;--forest:#1B4332;
  --forest2:#2D6A4F;--forest-t:#EEF5F0;--gold:#8A6512;--serif:'Fraunces',Georgia,serif;--sans:'Plus Jakarta Sans','Helvetica Neue',sans-serif}
.gpm{font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased;text-align:left;max-width:520px;margin:0 auto;padding-left:16px;padding-right:16px;box-sizing:border-box}
.gpm *,.gpm *::before,.gpm *::after,.gpm-sheet *,.gpm-sheet *::before,.gpm-sheet *::after,.gpm-dock *{box-sizing:border-box}
.gpm.gpm :where(p),.gpm-sheet.gpm-sheet :where(p){margin:0;color:inherit;font-size:inherit;line-height:inherit}
.gpm.gpm :where(h1,h2,h3),.gpm-sheet.gpm-sheet :where(h2,h3){margin:0;color:inherit;letter-spacing:-.01em;text-transform:none}
.gpm button,.gpm-sheet button,.gpm-dock button{font-family:var(--sans);cursor:pointer;-webkit-tap-highlight-color:transparent;letter-spacing:0;text-transform:none;margin:0}

/* ---------- quiz step ---------- */
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q{padding-top:8px;padding-bottom:calc(104px + env(safe-area-inset-bottom))}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__top{display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:4px;padding-top:8px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__bar{grid-column:1/-1}
.gpm .gpm-q__back[disabled]{visibility:hidden}
.gpm .gpm-q__back{grid-row:2;width:44px;height:44px;margin-left:-12px;border:0;background:none;display:grid;place-items:center;border-radius:12px;color:var(--ink2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__back svg{width:22px;height:22px;stroke:currentColor}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__back[disabled]{visibility:hidden}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__bar{flex:1;height:4px;border-radius:4px;background:var(--line);overflow:hidden}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__bar i{display:block;height:100%;background:var(--forest2);border-radius:4px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__n{grid-row:2;font-size:13px;color:var(--ink3);font-variant-numeric:tabular-nums;min-width:40px;text-align:right}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__h{text-wrap:balance;font-family:var(--serif);font-weight:600;font-size:26px;line-height:1.18;margin-top:4px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__help{font-size:15px;line-height:1.5;color:var(--ink2);margin-top:12px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__opts{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:10px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__opts--grid{grid-template-columns:1fr 1fr;grid-auto-rows:1fr}
.gpm .gpm-opt{width:100%;min-height:60px;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--line);border-radius:16px;
  background:var(--paper);color:var(--ink);text-align:left;transition:border-color .15s,background .15s}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt__txt{flex:1;min-width:0}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt__t{display:block;font-size:16px;font-weight:600;line-height:1.3}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt__s{display:block;font-size:14px;color:var(--ink3);line-height:1.4;margin-top:4px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt__mark{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid #CFC6B8;display:grid;place-items:center}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q--multi .gpm-opt__mark{border-radius:7px}
.gpm .gpm-opt[aria-pressed="true"]{border-color:var(--forest2);background:var(--forest-t)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt[aria-pressed="true"] .gpm-opt__mark{background:var(--forest2);border-color:var(--forest2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-opt[aria-pressed="true"] .gpm-opt__mark::after{content:"";width:10px;height:6px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
.gpm .gpm-q__opts--grid .gpm-opt{min-height:56px;justify-content:center;text-align:center;padding:12px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__opts--grid .gpm-opt__mark{display:none}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-q__opts .gpm-q__apart{margin-top:8px}
.gpm .gpm-q__alt{display:block;margin:24px auto 0;border:0;background:none;color:var(--forest2);font-size:15px;font-weight:600;min-height:44px;text-decoration:underline;text-underline-offset:4px}

/* the dock: one action, always above Safari's toolbar */
.gpm-dock{font-family:var(--sans);position:fixed;left:0;right:0;bottom:0;z-index:60;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--p) 72%,rgba(250,247,242,0));pointer-events:none}
.gpm-dock>*{pointer-events:auto;max-width:488px;margin:0 auto}
.gpm-dock .gpm-dock__btn{display:flex;width:100%;min-height:56px;border:0;border-radius:16px;background:var(--forest);color:#fff;font-size:17px;font-weight:700;
  align-items:center;justify-content:center;gap:10px;box-shadow:0 12px 28px -14px rgba(27,67,50,.7)}
.gpm-dock .gpm-dock__btn[disabled]{background:#C3CCC6;box-shadow:none}

/* ---------- results ---------- */
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-r{padding-top:20px;padding-bottom:calc(32px + env(safe-area-inset-bottom))}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero{text-align:center;padding:0 8px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero__h{text-wrap:balance;font-family:var(--serif);font-weight:600;font-size:28px;line-height:1.14}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero__h em{font-style:normal;color:var(--forest2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero__money{margin-top:10px;font-size:15.5px;line-height:1.45;color:var(--ink);text-wrap:balance}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero__money b{color:var(--forest2);font-weight:700}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-hero__you{margin-top:6px;font-size:13.5px;line-height:1.5;color:var(--ink3);text-wrap:balance}
.gpm .gpm-hero__you button{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;padding:0 4px;border:0;background:none;
  color:var(--forest2);font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px}

:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-list{list-style:none;margin:0;padding:0;background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  box-shadow:0 1px 2px rgba(28,25,23,.04),0 8px 24px -16px rgba(28,25,23,.12)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-list--top{margin-top:24px}
.gpm .gpm-row,.gpm-sheet .gpm-row{position:relative;display:grid;grid-template-columns:32px 1fr 20px;column-gap:12px;align-items:start;width:100%;padding:14px 16px 14px 14px;
  border:0;background:none;text-align:left;color:var(--ink)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-list>li+li .gpm-row,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__row>li+li .gpm-row{border-top:1px solid var(--line)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__rank{grid-column:1;width:32px;height:32px;border-radius:50%;background:var(--forest-t);color:var(--forest);font-weight:700;font-size:14.5px;
  display:grid;place-items:center;font-variant-numeric:tabular-nums}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__body{grid-column:2;min-width:0}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__name{display:block;font-size:16.5px;font-weight:700;line-height:1.3}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__meta{display:block;font-size:14.5px;color:var(--ink2);line-height:1.4;margin-top:4px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__meta b{color:var(--ink);font-weight:700}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__check{display:block;margin-top:6px;font-size:13.5px;line-height:1.4;color:var(--gold)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__check b{font-weight:700}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__go{grid-column:3;align-self:center;width:20px;height:20px;stroke:#A8A29E}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__key{flex:none;width:15px;height:15px;margin-top:3px;stroke:var(--ink3)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row--locked .gpm-row__name{display:flex;gap:8px;align-items:flex-start}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row--locked .gpm-row__rank{background:#F2EDE5;color:var(--ink3)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row--locked .gpm-row__name{font-weight:700;color:var(--ink)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row--locked .gpm-row__meta{color:var(--ink3)}
.gpm .gpm-row--new{background:#E9F4EC}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-row__tag{display:block;font-size:12.5px;font-weight:700;color:var(--forest2);margin-bottom:4px}

/* the list visibly continues under the ask, fading out */
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek{position:relative}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek .gpm-list{border-top-left-radius:0;border-top-right-radius:0;border-top:0;box-shadow:none}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-list--top.gpm-list--joined{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek .gpm-list>li:first-child .gpm-row{border-top:1px solid var(--line)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek li:nth-child(1) .gpm-row{opacity:.92}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek li:nth-child(2) .gpm-row{opacity:.7;filter:blur(1px)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek li:nth-child(3) .gpm-row{opacity:.45;filter:blur(2.2px)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-peek::after{content:"";pointer-events:none;position:absolute;left:-2px;right:-2px;bottom:-2px;height:170px;background:linear-gradient(to bottom,rgba(250,247,242,0),var(--p) 85%)}

/* the save card: the one place that asks */
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save{position:relative;z-index:2;margin-top:-36px;padding:20px 18px 18px;border-radius:22px;background:#fff;color:var(--ink);text-align:center;
  border:1px solid var(--line);box-shadow:0 24px 48px -24px rgba(28,25,23,.28),0 2px 6px rgba(28,25,23,.05);scroll-margin-top:72px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save--alone{margin-top:24px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--forest2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__badge svg{width:16px;height:16px;stroke:currentColor}
.gpm .gpm-save .gpm-save__h,.gpm-sheet .gpm-save .gpm-save__h{text-wrap:balance;font-family:var(--serif);font-weight:600;font-size:23px;line-height:1.2;color:var(--forest);display:flex;align-items:center;justify-content:center;gap:10px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__h svg{width:20px;height:20px;stroke:var(--forest2);flex:none}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__sub{margin-top:10px;font-size:15px;line-height:1.5;color:var(--ink2);text-wrap:balance}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-auth{display:grid;gap:10px;margin-top:16px}
.gpm .gpm-btn,.gpm-sheet .gpm-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border-radius:14px;border:0;font-size:16.5px;font-weight:700;text-decoration:none}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-btn svg{width:20px;height:20px;flex:none}
.gpm .gpm-btn--apple,.gpm-sheet .gpm-btn--apple{background:#000;color:#fff}
.gpm .gpm-btn--google,.gpm-sheet .gpm-btn--google{background:#fff;color:#1F1F1F;border:1.5px solid #DAD4CA}
.gpm .gpm-btn--email,.gpm-sheet .gpm-btn--email{background:#fff;color:var(--forest);border:1.5px solid #DAD4CA}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__fine{margin-top:14px;font-size:13.5px;line-height:1.45;color:var(--ink3);text-wrap:balance}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-or{display:flex;align-items:center;gap:12px;margin:20px 0 4px;color:var(--ink3);font-size:13.5px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-or::before,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-or::after{content:"";flex:1;height:1px;background:var(--line)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-auth--row{grid-template-columns:1fr 1fr}
.gpm .gpm-auth--row .gpm-btn,.gpm-sheet .gpm-auth--row .gpm-btn{min-height:48px;font-size:15.5px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-email{display:grid;gap:8px;margin-top:12px;text-align:left}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-email label{font-size:14px;font-weight:600;color:var(--ink2);margin-top:6px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-email input{width:100%;min-height:52px;border-radius:12px;border:1.5px solid #DAD4CA;background:#fff;color:var(--ink);font:500 17px var(--sans);padding:0 14px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-email input:focus{outline:none;border-color:var(--forest2);box-shadow:0 0 0 3px rgba(45,106,79,.15)}
.gpm .gpm-btn--go,.gpm-sheet .gpm-btn--go{background:var(--forest);color:#fff;margin-top:12px}
.gpm .gpm-email__back,.gpm-sheet .gpm-email__back{justify-self:center;min-height:44px;padding:0 12px;border:0;background:none;color:var(--forest2);font-size:15px;font-weight:600}

:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-list--rest{margin-top:32px}

/* saved */
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done{display:flex;gap:12px;align-items:center;padding:16px;border-radius:18px;background:var(--forest-t);margin-top:24px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done svg{flex:none;width:28px;height:28px;stroke:var(--forest2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done__h{font-weight:700;font-size:16px;color:var(--forest)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done__p{font-size:14.5px;line-height:1.45;color:var(--ink2);margin-top:2px}
.gpm .gpm-next{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:68px;padding:14px 16px;
  border-radius:18px;border:1.5px solid var(--forest2);background:var(--paper);color:var(--ink);text-align:left}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__k{display:block;font-size:13px;color:var(--ink3)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__t{display:block;font-size:16.5px;font-weight:700;color:var(--forest);margin-top:2px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__s{display:block;font-size:14px;color:var(--ink3);margin-top:2px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next svg{width:20px;height:20px;stroke:var(--forest2);flex:none}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-saved .gpm-list--top{margin-top:16px}

/* ---------- sheet ---------- */
.gpm-scrim{position:fixed;inset:0;z-index:80;background:rgba(28,25,23,.4)}
.gpm-sheet{position:fixed;left:0;right:0;bottom:0;z-index:81;max-height:90vh;overflow:auto;background:var(--paper);border-radius:24px 24px 0 0;
  padding:10px 20px 0;box-shadow:0 -12px 40px rgba(28,25,23,.18);font-family:var(--sans);color:var(--ink)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-sheet__grab{width:40px;height:5px;border-radius:5px;background:#DDD5C8;margin:0 auto 16px}
.gpm-sheet .gpm-sheet__x{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;background:none;display:grid;place-items:center;color:var(--ink3)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-sheet__x svg{width:20px;height:20px;stroke:currentColor}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__rank{font-size:14px;font-weight:700;color:var(--forest2)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__name{font-family:var(--serif);font-weight:600;font-size:22px;line-height:1.2;margin:6px 36px 0 0;text-wrap:balance}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__org{font-size:14px;line-height:1.45;color:var(--ink3);margin-top:8px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__fact{background:var(--p);border-radius:12px;padding:10px 12px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__fact--wide{grid-column:1/-1}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__fact-k{font-size:13px;color:var(--ink3)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__fact-v{font-size:15px;font-weight:700;line-height:1.35;margin-top:2px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__desc{font-size:15.5px;line-height:1.6;color:var(--ink2);margin-top:24px;text-wrap:pretty}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__why{margin-top:24px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__why-k{font-size:14px;font-weight:700;color:var(--ink)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__why-v{font-size:15px;line-height:1.55;color:var(--ink2);margin-top:6px;text-wrap:pretty}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__ask{margin-top:24px;padding:16px;border-radius:16px;background:#FBF5E6}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__ask p{font-size:15px;line-height:1.5;color:#5C440B;text-wrap:pretty}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__ask div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.gpm-sheet .gpm-d__ask button{min-height:44px;border-radius:12px;border:1.5px solid #E8D9AF;background:#fff;font-weight:700;font-size:15px;color:var(--ink)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-d__acts{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px -20px 0;padding:12px 20px calc(80px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -10px 20px -14px rgba(28,25,23,.18);z-index:2}
.gpm-sheet .gpm-btn--primary{background:var(--forest);color:#fff}
.gpm-sheet .gpm-btn--quiet{background:#fff;color:var(--forest);border:1.5px solid #DAD4CA}
.gpm-sheet .gpm-d__nr{display:block;margin:4px auto 0;border:0;background:none;color:var(--ink3);font-size:14px;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.gpm-sheet .gpm-save{margin:0;padding:8px 0 calc(80px + env(safe-area-inset-bottom));border:0;box-shadow:none;background:none}

:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-dock--save{transition:opacity .2s,transform .2s}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-dock--save.is-off{opacity:0;transform:translateY(12px);pointer-events:none}

:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__sub{margin-top:6px;font-size:14.5px;line-height:1.45;color:var(--ink2);text-wrap:balance}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__row{list-style:none;padding:0;margin:4px 0 16px;text-align:left;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper)}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__row .gpm-row{pointer-events:none}
.gpm .gpm-auth--stack .gpm-btn,.gpm-sheet .gpm-auth--stack .gpm-btn{min-height:48px;font-size:15.5px}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done{flex-wrap:wrap}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done__text{flex:1;min-width:0}
.gpm .gpm-done .gpm-next,.gpm-sheet .gpm-done .gpm-next{flex-basis:100%;margin-top:14px;background:#fff;border-color:transparent;box-shadow:0 1px 3px rgba(28,25,23,.08)}

.gpm .gpm-end{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin-top:16px;border-radius:14px;border:1.5px solid var(--forest2);background:#fff;color:var(--forest);font-size:16px;font-weight:700}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-end svg{width:16px;height:16px;stroke:currentColor}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done__h,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-done__p,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__t,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__s,:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-save__fine{text-wrap:pretty}
.gpm .gpm-done{display:flex;flex-wrap:nowrap}
:is(.gpm,.gpm-sheet,.gpm-dock) .gpm-next__s i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3E9B6B;margin-right:6px;vertical-align:1px}

/* ---------- live page (homepage precision quiz), phones only ---------- */
@media (max-width: 767px) {
  body.gpm-on #unifiedQuizResults .cb,
  body.gpm-on #resultsSummaryCard { display: none !important; }
  body.gpm-on #unifiedQuizResults .quiz-results-category,
  body.gpm-on .advanced-quiz > .finder-header { display: none !important; }
  body.gpm-on #quizAuthGate.gpm-gate { background: none; border: 0; box-shadow: none; padding: 0; margin: -36px 0 0; max-width: none;
    position: relative; z-index: 2; text-align: initial; }
  body.gpm-on #quizAuthGate.gpm-gate .gpm-save { margin-top: 0; }
  body.gpm-on #gpmTop:not(:has(.gpm-peek)) + #quizAuthGate.gpm-gate { margin-top: 24px; }
  body.gpm-on #gpmTop .gpm-r { padding-bottom: 0; }
  /* full width: the results container adds its own side padding; the design sets its own 16px gutter */
  body.gpm-on #gpmTop, body.gpm-on #quizAuthGate.gpm-gate, body.gpm-on #gpmAfter { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); box-sizing: border-box; }
  body.gpm-on #quizAuthGate.gpm-gate::before, body.gpm-on #quizAuthGate.gpm-gate::after { content: none; display: none; }
  body.gpm-on #quizAuthGate .gpm-r--card,
  body.gpm-on #gpmAfter .gpm-r { padding-top: 0; }
}

/* ---------- the precision quiz questions on phones (existing markup, restyled; quiz logic untouched) ---------- */
@media (max-width: 767px) {
  .quiz-container.advanced-quiz, .quiz-container.advanced-quiz .quiz-step { scroll-margin-top: 72px; }
  .quiz-container.advanced-quiz .quiz-step .quiz-label { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1.18;
    letter-spacing: -.01em; text-wrap: balance; text-align: left; color: #1C1917; margin: 4px 0 0; }
  .quiz-container.advanced-quiz .quiz-step .multi-select-hint, .quiz-container.advanced-quiz .quiz-step .quiz-sublabel { text-align: left; font-size: 15px; line-height: 1.5; color: #57534E; margin: 10px 0 0; }
  .quiz-container.advanced-quiz .quiz-step .quiz-options { gap: 10px; margin-top: 20px; }
  .quiz-container.advanced-quiz .quiz-step .quiz-option { min-height: 58px; padding: 14px 16px; border-radius: 16px; text-align: left; justify-content: flex-start; }
  .quiz-container.advanced-quiz .quiz-step .quiz-option .option-icon { display: none; }
  .quiz-container.advanced-quiz .quiz-step .quiz-option .option-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
  .quiz-container.advanced-quiz .quiz-step .quiz-option .option-desc { font-size: 14px; line-height: 1.4; margin-top: 3px; }
  /* provinces: names only (cities under a province read as "only these cities") */
  .quiz-container.advanced-quiz .quiz-step[data-step="province"] .quiz-option .option-desc { display: none; }
  .quiz-container.advanced-quiz .quiz-step[data-step="province"] .quiz-option { min-height: 54px; justify-content: center; text-align: center; }
  /* the website-paste shortcut belongs to the first question only */
  body:has(.advanced-quiz .quiz-step.active:not([data-step="province"])) .uo-hero { display: none !important; }
  /* no checkout nudge on top of a quiz in progress */
  body:has(.advanced-quiz[style*="flex"] .quiz-step.active:not([data-step="results"])) .gc-cocatch { display: none !important; }
}

/* Google draws its own button into the sign-up card (gc-google-tap.js: pill, 40px, medium weight). Once it has, the email
   button matches it, so the pair reads as two equal choices instead of email out-shouting Google. */
.gpm .gpm-save:has(.gpm-btn--google[data-gsi-hidden="1"]) .gpm-btn--email,.gpm-sheet .gpm-save:has(.gpm-btn--google[data-gsi-hidden="1"]) .gpm-btn--email{min-height:40px;border-radius:999px;border-width:1px;border-color:#DADCE0;font-size:15px;font-weight:600;color:#1F1F1F}
.gpm .gpm-save:has(.gpm-btn--google[data-gsi-hidden="1"]) .gpm-btn--email svg,.gpm-sheet .gpm-save:has(.gpm-btn--google[data-gsi-hidden="1"]) .gpm-btn--email svg{color:var(--forest)}
