/* Pop It Here v8.12.0 — Make It Alive */
:root{
  --alive-ink:var(--pih-ink,#17233e);--alive-muted:#667085;--alive-paper:#fffdf8;--alive-yellow:#ffd84f;
  --alive-pink:#ff7f8d;--alive-aqua:#72d9d0;--alive-lilac:#b79cff;--alive-green:#78c894;--alive-line:rgba(23,35,62,.12);
}
.pih-alive-link{display:inline-flex;align-items:center;gap:.4rem}
.pih-global-nav a[data-pih-nav="activity"] .pih-global-nav-glyph:before{content:"◌"}
.pih-global-nav a[data-pih-nav="activity"].active{background:rgba(183,156,255,.14)}

/* Poppet: compact, useful, never an attention hostage. */
.poppet-fab{position:fixed;right:20px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:60;width:54px;height:54px;border:1px solid rgba(23,35,62,.16);border-radius:50%;background:#fff;box-shadow:0 10px 30px rgba(23,35,62,.16);padding:7px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.poppet-fab:hover{transform:translateY(-2px) rotate(-2deg);box-shadow:0 13px 34px rgba(23,35,62,.2)}
.poppet-fab img{display:block;width:100%;height:100%}.poppet-fab .poppet-dot{position:absolute;right:2px;top:2px;width:12px;height:12px;border-radius:99px;background:#ff6f61;border:3px solid #fff}
.poppet-sheet{position:fixed;right:20px;bottom:86px;z-index:61;width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 120px));overflow:auto;background:var(--alive-paper);border:1px solid var(--alive-line);border-radius:24px;box-shadow:0 24px 70px rgba(23,35,62,.24);padding:18px}
.poppet-sheet[hidden]{display:none}.poppet-head{display:flex;gap:12px;align-items:center;margin-bottom:12px}.poppet-head img{width:46px;height:46px}.poppet-head strong{display:block;font:700 20px/1.05 Fredoka,Inter,sans-serif;color:var(--alive-ink)}.poppet-head small{display:block;margin-top:3px;color:var(--alive-muted)}.poppet-close{margin-left:auto;border:0;background:transparent;font-size:26px;line-height:1;color:var(--alive-muted);cursor:pointer}
.poppet-card{display:block;width:100%;text-align:left;border:1px solid var(--alive-line);background:#fff;border-radius:17px;padding:13px 14px;margin-top:9px;color:var(--alive-ink);text-decoration:none}.poppet-card:hover{border-color:rgba(23,35,62,.25)}.poppet-card .kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#855cf0;text-transform:uppercase}.poppet-card strong{display:block;margin-top:3px}.poppet-card small{display:block;color:var(--alive-muted);margin-top:3px;line-height:1.35}.poppet-empty{padding:16px;border-radius:17px;background:#fff8d9;color:var(--alive-ink);font-size:13px;line-height:1.45}
.poppet-home-pulse{display:flex;align-items:flex-start;gap:12px;margin:12px 0 2px;padding:12px 14px;border-radius:18px;background:linear-gradient(120deg,#fff8d9,#fff);border:1px solid rgba(23,35,62,.1)}.poppet-home-pulse img{width:38px;height:38px;flex:0 0 auto}.poppet-home-pulse-copy{min-width:0}.poppet-home-pulse-copy b{display:block;color:var(--alive-ink)}.poppet-home-pulse-copy span{display:block;color:var(--alive-muted);font-size:13px;line-height:1.35;margin-top:2px}.poppet-home-pulse a{font-size:12px;font-weight:800;color:var(--alive-ink);white-space:nowrap;margin-left:auto}

/* Activity */
.alive-shell{max-width:1120px;margin:0 auto;padding:24px 22px 110px}.alive-hero{display:grid;grid-template-columns:1.4fr .6fr;gap:26px;align-items:end;padding:32px 0 20px}.alive-eyebrow{font-size:11px;font-weight:900;letter-spacing:.14em;color:#7c5ce2}.alive-hero h1{font:800 clamp(38px,6vw,72px)/.95 Fredoka,Inter,sans-serif;margin:8px 0;color:var(--alive-ink);letter-spacing:-.03em}.alive-hero p{font-size:16px;line-height:1.55;color:var(--alive-muted);max-width:680px}.alive-hero-aside{background:#fff8d9;border:1px solid var(--alive-line);border-radius:22px;padding:16px}.alive-hero-aside strong{display:block;color:var(--alive-ink)}.alive-hero-aside small{display:block;color:var(--alive-muted);margin-top:4px;line-height:1.45}
.alive-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0 18px}.alive-filter{border:1px solid var(--alive-line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:750;color:var(--alive-ink);cursor:pointer}.alive-filter.active{background:var(--alive-ink);color:#fff}.alive-count{margin-left:auto;color:var(--alive-muted);font-size:13px}
.activity-list{display:grid;gap:10px}.activity-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:14px 15px;background:#fff;border:1px solid var(--alive-line);border-radius:18px;color:var(--alive-ink);text-decoration:none}.activity-row:hover{border-color:rgba(23,35,62,.25)}.activity-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffd84f,#ff8f76);font-weight:900;color:var(--alive-ink);overflow:hidden}.activity-avatar img{width:100%;height:100%;object-fit:cover}.activity-copy strong{font-size:14px}.activity-copy .activity-title{font-weight:800}.activity-copy small{display:block;color:var(--alive-muted);margin-top:4px;line-height:1.35}.activity-meta{text-align:right;color:var(--alive-muted);font-size:12px;white-space:nowrap}.activity-object{display:inline-block;margin-top:6px;padding:3px 7px;border-radius:999px;background:#f2efff;color:#7151cc;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.activity-empty{padding:32px;border:1px dashed rgba(23,35,62,.22);border-radius:20px;text-align:center;color:var(--alive-muted);background:rgba(255,255,255,.55)}

/* Profiles */
.profile-shell{max-width:1080px;margin:0 auto;padding:26px 22px 110px}.profile-cover{position:relative;min-height:220px;border-radius:28px;padding:28px;overflow:hidden;background:linear-gradient(135deg,#fff2a9,#ffd6dc 44%,#cdeff0);border:1px solid var(--alive-line);display:flex;align-items:flex-end}.profile-cover:after{content:"";position:absolute;width:220px;height:220px;border:32px solid rgba(255,255,255,.45);border-radius:50%;right:-60px;top:-60px}.profile-identity{position:relative;z-index:1;display:flex;gap:18px;align-items:end}.profile-avatar{width:94px;height:94px;border-radius:50%;background:#fff;display:grid;place-items:center;font:800 34px Fredoka,Inter,sans-serif;color:var(--alive-ink);border:5px solid rgba(255,255,255,.75);box-shadow:0 12px 35px rgba(23,35,62,.15);overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-name h1{margin:0;color:var(--alive-ink);font:800 clamp(34px,5vw,56px)/1 Fredoka,Inter,sans-serif;letter-spacing:-.03em}.profile-name p{margin:7px 0 0;color:#475467}.profile-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.profile-chip{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.75);font-size:11px;font-weight:800;color:var(--alive-ink)}.profile-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:18px}.profile-card{background:#fff;border:1px solid var(--alive-line);border-radius:22px;padding:18px}.profile-card.wide{grid-column:1/-1}.profile-card h2{margin:0 0 12px;font:700 22px Fredoka,Inter,sans-serif;color:var(--alive-ink)}.interest-cloud{display:flex;gap:8px;flex-wrap:wrap}.interest-tag{padding:7px 10px;border-radius:999px;background:#f5f2ff;color:#674bb8;font-weight:750;font-size:12px}.watch-overlap{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.watch-overlap a,.watch-overlap article{border:1px solid var(--alive-line);border-radius:15px;overflow:hidden;text-decoration:none;color:var(--alive-ink);background:#fff}.watch-overlap img{width:100%;aspect-ratio:2/3;object-fit:cover;background:#eee}.watch-overlap .watch-fallback{aspect-ratio:2/3;display:grid;place-items:center;background:#f2efff;font-size:32px}.watch-overlap div{padding:9px}.watch-overlap strong{font-size:12px}.watch-overlap small{display:block;color:var(--alive-muted);font-size:10px;margin-top:3px}

/* People page gets a real profile/social layer without destroying contact editing. */
.alive-people-summary{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px 18px;margin-bottom:16px;border-radius:20px;background:linear-gradient(120deg,#fff8d9,#fff);border:1px solid var(--alive-line)}.alive-people-summary h3{margin:0;color:var(--alive-ink);font:700 21px Fredoka,Inter,sans-serif}.alive-people-summary p{margin:3px 0 0;color:var(--alive-muted);font-size:13px}.alive-friend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin-top:12px}.alive-friend-card{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--alive-line);border-radius:15px;text-decoration:none;color:var(--alive-ink);background:#fff}.alive-friend-card .activity-avatar{width:38px;height:38px}.alive-friend-card small{display:block;color:var(--alive-muted);font-size:11px;margin-top:2px}

/* Demo World */
.demo-body{background:#f5f3ec;color:var(--alive-ink);min-height:100vh}.demo-banner{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:12px;padding:9px 16px;background:#241b3e;color:#fff;box-shadow:0 4px 20px rgba(0,0,0,.16)}.demo-banner strong{font:700 15px Fredoka,Inter,sans-serif}.demo-banner span{font-size:12px;color:#ded8ef}.demo-banner .demo-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.demo-banner select,.demo-banner button{border:1px solid rgba(255,255,255,.25);background:#fff;color:#241b3e;border-radius:10px;padding:7px 9px;font-weight:700}.demo-banner button{cursor:pointer}.demo-app{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 44px)}.demo-nav{padding:20px 14px;background:#fff;border-right:1px solid var(--alive-line)}.demo-brand{display:flex;gap:9px;align-items:center;margin:2px 6px 22px}.demo-brand img{width:38px}.demo-brand strong{font:700 19px Fredoka,Inter,sans-serif}.demo-nav a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:12px;color:var(--alive-ink);text-decoration:none;font-weight:750;font-size:13px;margin:2px 0}.demo-nav a.active{background:#fff2b8}.demo-main{padding:30px clamp(18px,4vw,54px) 90px;max-width:1320px;width:100%;margin:0 auto}.demo-page-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.demo-page-head h1{margin:4px 0 0;font:800 clamp(34px,5vw,58px)/.95 Fredoka,Inter,sans-serif;letter-spacing:-.03em}.demo-page-head p{margin:6px 0 0;color:var(--alive-muted)}.demo-statline{display:flex;gap:9px;flex-wrap:wrap}.demo-stat{background:#fff;border:1px solid var(--alive-line);border-radius:13px;padding:9px 11px;font-size:11px}.demo-stat b{display:block;font-size:17px}.demo-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.demo-card{background:#fff;border:1px solid var(--alive-line);border-radius:22px;padding:18px;min-width:0}.demo-card.wide{grid-column:1/-1}.demo-card h2{margin:0 0 12px;font:700 22px Fredoka,Inter,sans-serif}.demo-poppet{display:grid;grid-template-columns:auto 1fr;gap:13px;background:linear-gradient(135deg,#fff7c8,#fff);border:1px solid var(--alive-line);border-radius:22px;padding:16px}.demo-poppet>img{width:54px}.demo-poppet h3{margin:0;font:700 20px Fredoka,Inter,sans-serif}.demo-poppet p{margin:4px 0 10px;color:var(--alive-muted);font-size:13px}.demo-actions-row{display:flex;gap:7px;flex-wrap:wrap}.demo-action{border:0;border-radius:11px;padding:8px 10px;background:var(--alive-ink);color:#fff;font-weight:800;cursor:pointer}.demo-action.secondary{background:#f0edfa;color:var(--alive-ink)}.demo-mini-list{display:grid;gap:8px}.demo-mini-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:14px;background:#faf9f5}.demo-mini-row .activity-avatar{width:36px;height:36px}.demo-mini-row strong{font-size:12px}.demo-mini-row small{display:block;color:var(--alive-muted);font-size:10px;margin-top:2px}.demo-mini-row time{font-size:10px;color:var(--alive-muted)}.demo-meal-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.demo-day{min-height:112px;border:1px solid var(--alive-line);border-radius:14px;padding:9px;background:#faf9f5}.demo-day b{font-size:11px}.demo-day strong{display:block;margin-top:8px;font-size:12px}.demo-day small{display:block;color:var(--alive-muted);font-size:10px;margin-top:3px}.demo-person-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.demo-person{display:flex;gap:10px;align-items:center;padding:11px;border:1px solid var(--alive-line);border-radius:15px;background:#fff}.demo-person .activity-avatar{width:40px;height:40px}.demo-person strong{font-size:12px}.demo-person small{display:block;color:var(--alive-muted);font-size:10px;margin-top:2px}.demo-social-graph{position:relative;min-height:420px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#fff 0,#faf8f0 65%,#f3f0e7 100%);border-radius:18px}.demo-node{position:absolute;transform:translate(-50%,-50%);width:58px;text-align:center}.demo-node .activity-avatar{width:44px;height:44px;margin:0 auto;border:3px solid #fff;box-shadow:0 4px 12px rgba(23,35,62,.14)}.demo-node small{display:block;margin-top:4px;font-size:9px;font-weight:800;white-space:nowrap}.demo-line{position:absolute;height:2px;background:rgba(23,35,62,.12);transform-origin:0 50%;z-index:0}.demo-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;background:#17233e;color:#fff;border-radius:13px;padding:11px 14px;box-shadow:0 12px 35px rgba(23,35,62,.28);font-size:12px;font-weight:700}.demo-toast[hidden]{display:none}

@media(max-width:900px){.alive-hero,.profile-grid,.demo-grid{grid-template-columns:1fr}.profile-card.wide,.demo-card.wide{grid-column:auto}.demo-app{grid-template-columns:1fr}.demo-nav{position:sticky;top:44px;z-index:40;display:flex;overflow:auto;padding:8px;border-right:0;border-bottom:1px solid var(--alive-line)}.demo-brand{display:none}.demo-nav a{white-space:nowrap}.demo-meal-week{grid-template-columns:repeat(2,1fr)}.demo-banner span{display:none}.poppet-fab{right:14px;bottom:calc(82px + env(safe-area-inset-bottom))}.poppet-sheet{right:14px;bottom:calc(145px + env(safe-area-inset-bottom))}.alive-people-summary{grid-template-columns:1fr}.alive-count{width:100%;margin-left:0}.activity-row{grid-template-columns:auto 1fr}.activity-meta{grid-column:2;text-align:left}.profile-cover{padding:20px;min-height:190px}.profile-identity{align-items:center}.profile-avatar{width:76px;height:76px}.demo-social-graph{min-height:360px}}
@media(max-width:560px){.alive-shell,.profile-shell{padding-left:14px;padding-right:14px}.demo-main{padding-left:14px;padding-right:14px}.demo-banner{padding:8px 10px}.demo-banner .demo-actions select{max-width:135px}.demo-meal-week{grid-template-columns:1fr}.profile-identity{align-items:flex-start}.profile-cover{padding:16px}.profile-avatar{width:68px;height:68px}.profile-chips{gap:5px}.watch-overlap{grid-template-columns:repeat(2,1fr)}}
.poppet-confirm{position:fixed;right:20px;bottom:92px;z-index:62;width:min(340px,calc(100vw - 28px));display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;background:#fffdf8;border:1px solid var(--alive-line);border-radius:18px;padding:11px 13px;box-shadow:0 16px 42px rgba(23,35,62,.2);animation:poppet-pop .18s ease-out}.poppet-confirm img{width:34px;height:34px}.poppet-confirm strong{display:block;font-size:13px;color:var(--alive-ink)}.poppet-confirm small{display:block;margin-top:2px;color:var(--alive-muted);font-size:11px;line-height:1.35}@keyframes poppet-pop{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}@media(max-width:900px){.poppet-confirm{right:14px;bottom:calc(146px + env(safe-area-inset-bottom))}}

/* v8.3 — design-locked Home action queue. Warm Popithere base + learned domain colors. */
:root{
  --domain-recipes:#E55B4C;--domain-shopping:#4F9D69;--domain-watch:#4F79D8;--domain-people:#8A63D2;
  --domain-activity:#37A7A0;--domain-fitness:#E8893D;--domain-cocktails:#C45883;--domain-plans:#D6A92F;
}
body:has(#homeNowSection){background:#f7f1e7!important}
body:has(#homeNowSection) .chooser{max-width:1220px!important}
body:has(#homeNowSection) .home-now{max-width:1120px!important;margin-top:22px!important}
body:has(#homeNowSection) .home-now-head{align-items:end!important;margin:0 2px 11px!important}
body:has(#homeNowSection) .home-now-head .eyebrow{color:var(--domain-people)!important;font-size:9px!important}
body:has(#homeNowSection) .home-now-head h2{font:900 clamp(27px,3vw,38px)/1 Poppins,Inter,sans-serif!important;letter-spacing:-.045em!important;margin:3px 0 0!important}
body:has(#homeNowSection) .home-now-stamp{font-size:10px!important;color:#777c86!important;font-weight:800!important}
body:has(#homeNowSection) .home-now-list{display:grid!important;gap:11px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body:has(#homeNowSection) .home-opportunities{display:none!important}

body:has(#homeNowSection) .home-next-move{
  --card-left:var(--domain-activity);--card-right:var(--card-left);
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:stretch!important;
  padding:15px 18px 15px 21px!important;border:2px solid #17263f!important;border-radius:18px!important;background:#fffdf8!important;
  box-shadow:none!important;overflow:hidden!important;max-height:430px!important;transform-origin:50% 20%!important;
  transition:opacity .26s ease,transform .26s ease,max-height .36s ease,padding .36s ease,margin .36s ease,border-width .36s ease!important;
}
body:has(#homeNowSection) .home-next-move:before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:6px!important;background:var(--card-left)!important}
body:has(#homeNowSection) .home-next-move:after{content:""!important;position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:4px!important;background:var(--card-right)!important}
body:has(#homeNowSection) .home-next-move.domain-recipe-shopping{--card-left:var(--domain-recipes);--card-right:var(--domain-shopping)}
body:has(#homeNowSection) .home-next-move.domain-recipe{--card-left:var(--domain-recipes)}
body:has(#homeNowSection) .home-next-move.domain-shopping{--card-left:var(--domain-shopping)}
body:has(#homeNowSection) .home-next-move.domain-watch{--card-left:var(--domain-watch);--card-right:var(--domain-people)}
body:has(#homeNowSection) .home-next-move.domain-people{--card-left:var(--domain-people)}
body:has(#homeNowSection) .home-next-move.domain-plans{--card-left:var(--domain-plans)}
body:has(#homeNowSection) .home-next-move.domain-activity{--card-left:var(--domain-activity)}
body:has(#homeNowSection) .home-action-content{min-width:0;display:flex;flex-direction:column;justify-content:center}
body:has(#homeNowSection) .home-card-domain{display:flex;align-items:center;gap:6px;color:#737985;font:900 9px/1 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px}
body:has(#homeNowSection) .home-card-domain i{font-style:normal;opacity:.45}
body:has(#homeNowSection) .home-domain-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:0 0 auto}
body:has(#homeNowSection) .home-domain-dot.recipes{background:var(--domain-recipes)}
body:has(#homeNowSection) .home-domain-dot.shopping{background:var(--domain-shopping)}
body:has(#homeNowSection) .home-domain-dot.watch{background:var(--domain-watch)}
body:has(#homeNowSection) .home-domain-dot.people{background:var(--domain-people)}
body:has(#homeNowSection) .home-domain-dot.plans{background:var(--domain-plans)}
body:has(#homeNowSection) .home-domain-dot.activity{background:var(--domain-activity)}
body:has(#homeNowSection) .home-card-title{display:block!important;color:#17263f!important;font:900 clamp(16px,2vw,19px)/1.2 Poppins,Inter,sans-serif!important;letter-spacing:-.02em!important;padding-right:34px!important}
body:has(#homeNowSection) .home-action-content>p{margin:5px 0 0!important;color:#707783!important;font-size:12px!important;line-height:1.45!important;max-width:690px!important}
body:has(#homeNowSection) .home-action-media{width:142px;min-height:108px;border-radius:13px;overflow:hidden;align-self:stretch;background:#eee7dd;border:1px solid rgba(23,38,63,.08);margin-right:3px}
body:has(#homeNowSection) .home-action-media img{display:block;width:100%;height:100%;object-fit:cover}
body:has(#homeNowSection) .home-next-icon,body:has(#homeNowSection) .home-next-copy{display:none!important}

body:has(#homeNowSection) .home-next-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;margin-top:12px!important;justify-self:stretch!important}
body:has(#homeNowSection) .next-resolution{display:contents!important}
body:has(#homeNowSection) .home-next-actions a,
body:has(#homeNowSection) .home-next-actions button:not(.home-card-snooze){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;width:auto!important;padding:7px 11px!important;border:1px solid rgba(23,38,63,.22)!important;border-radius:10px!important;background:#fff!important;color:#17263f!important;box-shadow:none!important;text-decoration:none!important;font:850 10.5px/1.12 Inter,sans-serif!important;white-space:nowrap!important;cursor:pointer!important;transition:transform .13s ease,background .13s ease!important}
body:has(#homeNowSection) .home-next-actions .next-primary{background:#17263f!important;color:#fff!important;border-color:#17263f!important}
body:has(#homeNowSection) .home-next-actions a:hover,body:has(#homeNowSection) .home-next-actions button:not(.home-card-snooze):hover{transform:translateY(-1px)!important;background:#f8f5ee!important}
body:has(#homeNowSection) .home-next-actions .next-primary:hover{background:#273653!important}
body:has(#homeNowSection) .home-card-snooze{min-height:38px!important;border:0!important;background:transparent!important;color:#707783!important;padding:7px 8px!important;font:850 10.5px/1 Inter,sans-serif!important;cursor:pointer!important;border-radius:9px!important}
body:has(#homeNowSection) .home-card-snooze:hover{background:#f2eee6!important;color:#17263f!important}
body:has(#homeNowSection) .home-next-dismiss{position:absolute!important;right:9px!important;top:8px!important;width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;background:rgba(255,253,248,.86)!important;color:#858a94!important;font:500 20px/1 system-ui!important;display:grid!important;place-items:center!important;cursor:pointer!important;opacity:1!important;z-index:3!important}
body:has(#homeNowSection) .home-next-dismiss:hover{background:#f2eee6!important;color:#17263f!important}
body:has(#homeNowSection) .home-card-success{display:none;margin-top:9px;color:#2f7c68;font:900 11px/1.2 Inter,sans-serif}.home-card-success.show{display:block!important}
body:has(#homeNowSection) .home-next-move.is-engaged{animation:pihDecisionNudge .3s cubic-bezier(.2,.8,.2,1)}
body:has(#homeNowSection) .home-next-move.is-resolving{pointer-events:none!important;opacity:0!important;transform:translateY(-8px) scale(.985)!important;max-height:0!important;padding-top:0!important;padding-bottom:0!important;margin:0!important;border-width:0!important}

/* Demo/live Poppet opportunities use the exact same action-card component. */
body:has(#homeNowSection) .home-next-move.home-poppet-card .home-action-content>p{max-width:620px!important}
body:has(#homeNowSection) .home-plan-choices{display:none;grid-column:1/-1;margin-top:0;padding-top:12px;border-top:1px solid #ddd5c9}
body:has(#homeNowSection) .home-plan-choices.show{display:block}
body:has(#homeNowSection) .home-plan-choices strong{font-size:12px}.home-plan-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
body:has(#homeNowSection) .home-plan-choice{min-height:58px;text-align:left;border:1px solid #d8d0c4;border-radius:11px;background:#fff;padding:9px 10px;color:#17263f;cursor:pointer}
body:has(#homeNowSection) .home-plan-choice.recommended{border:2px solid var(--domain-recipes);background:#fff8f6}.home-plan-choice b{display:block;font-size:11px}.home-plan-choice small{display:block;color:#707783;font-size:9.5px;margin-top:3px}

/* The header invite is useful utility, never body content. */
.pih-header-invites{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:38px!important;padding:0 10px!important;border-radius:11px!important;white-space:nowrap!important}.pih-header-invites>span{font-size:14px!important;line-height:1!important;color:var(--pih-blue,#4F79D8)!important}.pih-header-invites strong{font-size:10px!important}.pih-header-invites small{font-size:9px!important;color:#707783!important}.pih-header-invites small:before{content:"· ";opacity:.6}

@keyframes pihDecisionNudge{0%{transform:none}45%{transform:scale(.993) translateY(1px)}100%{transform:none}}
@media(max-width:760px){
  body:has(#homeNowSection) .home-now{margin:15px 10px 0!important}
  body:has(#homeNowSection) .home-next-move{grid-template-columns:1fr!important;padding:14px 14px 14px 18px!important;gap:10px!important}
  body:has(#homeNowSection) .home-action-media{grid-row:1;width:100%;height:128px;min-height:0;margin:0}
  body:has(#homeNowSection) .home-action-content{grid-row:2}
  body:has(#homeNowSection) .home-next-actions{gap:6px!important}
  body:has(#homeNowSection) .home-next-actions a,body:has(#homeNowSection) .home-next-actions button:not(.home-card-snooze){flex:1 1 calc(50% - 6px)!important;min-width:0!important;white-space:normal!important}
  body:has(#homeNowSection) .home-card-snooze{flex:0 0 auto!important}
  body:has(#homeNowSection) .home-plan-choice-grid{grid-template-columns:1fr!important}
  .pih-header-invites{width:38px!important;min-width:38px!important;padding:0!important;justify-content:center!important}.pih-header-invites strong,.pih-header-invites small{display:none!important}
}
@media(prefers-reduced-motion:reduce){body:has(#homeNowSection) .home-next-move{transition:none!important}.home-next-move.is-engaged{animation:none!important}}
/* Pop Knows is available from the POP memory control; don't spend Home body space repeating the database. */
body:has(#homeNowSection) #p62PopKnows{display:none!important}
body:has(#homeNowSection) #p62HomeContextGrid:has(#p62NeedsHelp[hidden]){display:none!important}
body:has(#homeNowSection) #p62HomeContextGrid{grid-template-columns:1fr!important}

/* v8.3 visual-contract hardening: the recommended action is the one dark navy
   control from the approved Home cards, while alternatives stay light. */
body:has(#homeNowSection) .home-next-actions button.next-primary,
body:has(#homeNowSection) .home-next-actions a.next-primary{
  background:#17263f!important;color:#fff!important;border-color:#17263f!important;
}
body:has(#homeNowSection) .home-next-actions button.next-primary:hover,
body:has(#homeNowSection) .home-next-actions a.next-primary:hover{background:#273653!important;color:#fff!important}
