/* gp1128 I2 (Fable design 2026-11-28, ~/growth/notes/specs/gp1128-ih-design/, style block 2). Loaded after /assets/site.css by
   the I2 screens only (lib/gpi2.js): sign-up, demo before the provider permission page, stopped connection. */
/* Layout: the house connect card (.cg > .cg-card). One column on a phone; the demo card opens to two columns from 900px. */
.cg.gp{min-height:100dvh;padding-top:max(24px,env(safe-area-inset-top,0px));padding-bottom:max(24px,env(safe-area-inset-bottom,0px));padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.gp-brand{margin:0 0 16px}
.cg-card .gbtn.gp-wide{display:flex;width:100%;margin-top:0}
.cg-card .gbtn.primary.gp-plain{padding:0 24px}   /* the blue button with no provider disc */
.cg-card .gbtn:active{transform:scale(.99)}

/* sign-up: each provider button carries its own scope sentence, tight under it */
.gp-ways{display:grid;gap:20px;margin:20px 0 0}
.gp-way{display:grid;gap:8px}
.cg-card .gp-scope{font-size:14px;line-height:1.5;color:var(--mut);margin:0}
.cg-card .gp-other{margin:12px 0 0}
.gp-other a{display:inline-flex;align-items:center;min-height:44px;font-weight:500}
.cg-card .gp-legal{margin:8px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.45;color:var(--mut)}

/* demo: the example panel. 60 small bars = 60 example emails; the four rows are its legend. */
.gp-ex{background:var(--canvas);border:1px solid var(--line);border-radius:12px;margin:0 0 20px;min-width:0}
.cg-card .gp-ex-lbl{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45;color:var(--mut)}
.gp-ex-lbl svg{width:16px;height:16px;flex:none;margin-top:1px}
.gp-ex-lbl b{color:var(--ink2);font-weight:600}
.gp-cells{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;padding:16px 14px 4px}
.gp-cells i{display:block;height:10px;border-radius:3px;background:var(--ks);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--k) 55%,transparent)}
.gp-k-news{--k:var(--amber);--ks:var(--amber-soft)}
.gp-k-notif{--k:var(--teal);--ks:var(--teal-soft)}
.gp-k-shop{--k:var(--green);--ks:var(--green-soft)}
.gp-k-kept{--k:var(--blue);--ks:var(--blue)}
.gp-rows{list-style:none;margin:0;padding:12px 14px 14px;display:grid;gap:8px;font-size:15px;line-height:1.4;color:var(--ink2)}
.gp-row{display:grid;grid-template-columns:10px 7.25em minmax(0,1fr);column-gap:10px;align-items:baseline}
.gp-dot{width:10px;height:10px;border-radius:3px;align-self:center;background:var(--ks);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--k) 55%,transparent)}
.gp-l{font-weight:600;color:var(--ink)}
.gp-n{display:inline-block;min-width:2ch;text-align:right;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.gp-row.gp-kept{grid-template-columns:10px minmax(0,1fr);margin-top:4px;padding-top:12px;border-top:1px solid var(--line)}
.gp-row.gp-kept .gp-dot{align-self:start;margin-top:5px}
.gp-kept b{font-weight:600;color:var(--ink)}
@media (min-width:900px){
  .cg-card.gp-demo{max-width:960px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"head ex" "act ex";column-gap:48px;row-gap:12px;align-items:center;padding:40px}
  .gp-demo .gp-head{grid-area:head;align-self:end}
  .gp-demo .gp-ex{grid-area:ex;margin:0}
  .gp-demo .gp-act{grid-area:act;align-self:start}
  .cg-card.gp-demo h1{font-size:32px;line-height:1.15}
  .gp-demo .gp-cells i{height:12px}
  .gp-demo .gp-cells{padding:20px 18px 6px;gap:5px}
  .gp-demo .gp-rows{padding:14px 18px 18px;font-size:16px}
  .cg-card.gp-demo .gp-ex-lbl{padding:12px 18px}
}

/* Google pre-screen: three ticked boxes, on the right as on Google's page. No words: the sentence above carries them. */
.gp-ticks{background:var(--canvas);border:1px solid var(--line);border-radius:12px;padding:0 14px;margin:4px 0 20px}
.gp-tick{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.gp-tick:first-child{border-top:0}
.gp-bar{height:8px;border-radius:9px;background:var(--line2);flex:none}
.gp-box{margin-left:auto;width:20px;height:20px;border-radius:5px;background:var(--blue);color:var(--blue-ink);display:grid;place-items:center;flex:none}
.gp-box svg{width:14px;height:14px}

/* stopped connection: one state tile, then the house card */
.gp-ic{width:44px;height:44px;border-radius:12px;background:var(--amber-soft);color:var(--amber);display:grid;place-items:center;margin:0 0 16px}
.gp-ic svg{width:22px;height:22px}
.cg-card.gp-stop h1{margin-bottom:8px}
.cg-card.gp-stop .gbtn{margin-top:8px}
@media (pointer:coarse){.gp .cg-alt a{display:inline-flex;align-items:center;min-height:44px}}   /* small links get a full tap height on touch */

/* motion: one moment per screen, and the page is complete without it */
@media (prefers-reduced-motion:no-preference){
  .gp-cells i{animation:gpFile .5s ease both;animation-delay:calc(.35s + var(--i,0) * 16ms)}
  .gp-box{animation:gpTick .3s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(.3s + var(--i,0) * .18s)}
}
@keyframes gpFile{from{background:var(--line2);box-shadow:inset 0 0 0 1px transparent}}
@keyframes gpTick{from{transform:scale(.5);opacity:0}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
