/* insights · guide index (every selector scoped to .pg-insights) */
.pg-insights [hidden]{display:none!important}

/* hero pill (landing.css is not loaded on detail pages) */
.pg-insights .pill{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;background:var(--blue-50);color:#1557c0;font-size:14px;font-weight:600}
.pg-insights .pill i{width:6px;height:6px;border-radius:50%;background:var(--blue)}
.pg-insights .phero .meta .tag{height:28px}
.pg-insights .hero-fine{margin:14px 0 0;font-size:14px;color:var(--g600)}

/* hero visual: guide picker + checklist card stack */
.pg-insights .gs{position:relative;width:100%;max-width:460px;padding:8px 0 64px}
.pg-insights .gs-main{position:relative;z-index:1;margin-right:36px;padding:22px 18px 14px;border-radius:32px;background:#fff;box-shadow:var(--shadow-float)}
.pg-insights .gs-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 10px}
.pg-insights .gs-kicker{font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--g900)}
.pg-insights .gs-rows{margin:0;padding:0;list-style:none}
.pg-insights .gs-rows li{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 8px;border-radius:16px}
.pg-insights .gs-rows li.on{background:var(--g50)}
.pg-insights .gs-rows .ic{width:40px;height:40px;border-radius:13px;font-size:19px}
.pg-insights .gs-rows b{display:block;font-size:15px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pg-insights .gs-rows small{display:block;font-size:13px;font-weight:600;color:var(--g600)}
.pg-insights .gs-go{font-size:18px;color:var(--g400)}
.pg-insights .gs-check{position:absolute;right:-16px;bottom:0;z-index:2;width:224px;padding:18px 18px 12px;border-radius:24px;background:#fff;box-shadow:var(--shadow-float)}
.pg-insights .gs-ck-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.pg-insights .gs-ck-top b{font-size:14px;font-weight:700}
.pg-insights .gs-ck-top em{font-style:normal;font-size:13px;font-weight:700;color:var(--blue-700);white-space:nowrap}
.pg-insights .gs-bar{height:6px;margin:10px 0 6px;border-radius:99px;background:var(--g100);overflow:hidden}
.pg-insights .gs-bar i{display:block;width:37.5%;height:100%;border-radius:inherit;background:var(--blue)}
.pg-insights .gs-check ul{margin:0;padding:0;list-style:none}
.pg-insights .gs-check li{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:13px;font-weight:600;color:var(--g700)}
.pg-insights .gs-box{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--g300);color:transparent;font-size:12px;flex:none}
.pg-insights .gs-box .ico{stroke-width:3}
.pg-insights .gs-check li.done{color:var(--g900)}
.pg-insights .gs-check li.done .gs-box{background:var(--blue);box-shadow:none;color:#fff}
.pg-insights .gs-chip{position:absolute;left:-12px;bottom:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 16px 12px 12px;border-radius:18px;background:#fff;box-shadow:var(--shadow-card)}
.pg-insights .gs-chip .ic{width:36px;height:36px;border-radius:12px;font-size:17px}
.pg-insights .gs-chip small{display:block;font-size:12px;color:var(--g600)}
.pg-insights .gs-chip b{display:block;font-size:14px;font-weight:700;white-space:nowrap}
@media (max-width:960px){.pg-insights .gs{margin-inline:auto}}
@media (max-width:520px){
  .pg-insights .gs{padding-bottom:0}
  .pg-insights .gs-main{margin-right:0;padding:18px 12px 10px;border-radius:26px}
  .pg-insights .gs-check{position:relative;right:auto;bottom:auto;width:auto;margin:-18px 12px 0 40px}
  .pg-insights .gs-chip{display:none}
}

/* situations */
.pg-insights .sit{max-width:920px}
.pg-insights .sit .row{padding-inline:12px;border-radius:16px}
.pg-insights .sit .end .tag{height:28px}
.pg-insights .sit .row:hover b{color:var(--blue-700)}

/* filter chips */
.pg-insights .gf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 24px}
.pg-insights .gf-chips{display:flex;flex-wrap:wrap;gap:8px}
.pg-insights .gf-chips button{height:42px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:var(--g700);font-size:15px;font-weight:600;cursor:pointer;box-shadow:inset 0 0 0 1px var(--g200);transition:background .2s,color .2s,box-shadow .2s}
.pg-insights .gf-chips button:hover{background:var(--g100)}
.pg-insights .gf-chips button[aria-pressed="true"]{background:var(--g900);color:#fff;box-shadow:none}
.pg-insights .gf-count{margin:0;font-size:14px;font-weight:600;color:var(--g600)}

/* guide cards */
.pg-insights .gl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pg-insights .gcard{display:flex;flex-direction:column;padding:30px 30px 26px;border-radius:28px;background:#fff;transition:box-shadow .3s}
.pg-insights .gcard:hover{box-shadow:var(--shadow-card)}
.pg-insights .g-top{display:flex;align-items:center;gap:10px}
.pg-insights .g-top .ic{width:44px;height:44px;border-radius:14px;font-size:20px}
.pg-insights .g-top .tag{height:28px}
.pg-insights .g-date{margin-left:auto;font-size:13px;color:var(--g600);white-space:nowrap}
.pg-insights .gcard h3{margin:20px 0 10px;font-size:clamp(20px,2vw,23px);line-height:1.42;font-weight:800;letter-spacing:-.025em}
.pg-insights .g-sum{margin:0;font-size:16px;line-height:1.7;color:var(--g700)}
.pg-insights .g-for{margin:18px 0 0;padding:12px 16px;border-radius:14px;background:var(--g50);font-size:15px;line-height:1.6;color:var(--g800)}
.pg-insights .g-for b{display:block;font-size:13px;font-weight:700;color:var(--g600)}
.pg-insights .g-checks{margin-top:18px}
.pg-insights .g-lbl{margin:0 0 6px;font-size:13px;font-weight:700;color:var(--g600)}
.pg-insights .g-checks ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin:0;padding:0;list-style:none}
.pg-insights .g-checks li{position:relative;padding:5px 0 5px 26px;font-size:15px;font-weight:600;line-height:1.5;color:var(--g800)}
.pg-insights .g-checks li::before{content:"✓";position:absolute;left:0;top:7px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--blue-50);color:var(--blue-700);font-size:11px;font-weight:800}
.pg-insights .g-go{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:16px 0 0;border-top:1px solid var(--g100);font-size:16px;font-weight:700;color:var(--blue-700);text-decoration:none}
.pg-insights .g-checks+.g-go{margin-top:22px}
.pg-insights .g-go .ico{font-size:18px;transition:transform .25s var(--ease)}
.pg-insights .g-go:hover .ico{transform:translateX(4px)}
.pg-insights .gcard.is-shown{animation:pgInsFade .45s var(--ease)}
@keyframes pgInsFade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.pg-insights .g-empty{display:grid;justify-items:center;padding:48px 24px;border-radius:28px;background:#fff;text-align:center}
.pg-insights .g-empty-t{margin:16px 0 4px;font-size:19px;font-weight:700}
.pg-insights .g-empty-d{margin:0;font-size:15px;color:var(--g600)}
.pg-insights .g-empty-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}
@media (max-width:860px){.pg-insights .gl{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.pg-insights .gcard{padding:24px 20px 20px;border-radius:24px}.pg-insights .g-checks ul{grid-template-columns:minmax(0,1fr)}.pg-insights .gf-chips button{height:40px;padding:0 14px}}

/* project stages */
.pg-insights .jr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.pg-insights .jr-step{display:flex;flex-direction:column}
.pg-insights .jr-rail{position:relative;height:44px;margin-bottom:14px}
.pg-insights .jr-step:not(:last-child) .jr-rail::after{content:"";position:absolute;left:52px;right:-8px;top:21px;height:2px;border-radius:2px;background:var(--g200)}
.pg-insights .jr-n{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;font-size:15px;font-weight:800}
.pg-insights .jr-card{display:flex;flex:1;flex-direction:column;padding:26px 22px 22px;border-radius:24px;background:var(--g50)}
.pg-insights .jr-card h3{margin:0 0 14px;font-size:22px;font-weight:800;letter-spacing:-.025em}
.pg-insights .jr-lbl{margin:0 0 4px;font-size:13px;font-weight:700;color:var(--g600)}
.pg-insights .jr-checks{margin:0 0 20px;padding:0;list-style:none}
.pg-insights .jr-checks li{position:relative;padding:4px 0 4px 18px;font-size:15px;font-weight:500;line-height:1.55;color:var(--g800)}
.pg-insights .jr-checks li::before{content:"";position:absolute;left:3px;top:13px;width:6px;height:6px;border-radius:50%;background:var(--g400)}
.pg-insights .jr-guide{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:14px 16px;border-radius:16px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 1px 2px rgba(2,32,71,.06);transition:box-shadow .25s,transform .25s var(--ease)}
.pg-insights .jr-guide:hover{box-shadow:var(--shadow-card);transform:translateY(-2px)}
.pg-insights .jr-guide small{display:block;font-size:12px;font-weight:700;color:var(--blue-700)}
.pg-insights .jr-guide b{display:block;font-size:16px;font-weight:700;line-height:1.4}
.pg-insights .jr-guide .ico{font-size:18px;color:var(--g500)}
.pg-insights .jr-more{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:14px 2px 0;font-size:14px}
.pg-insights .jr-more span{width:100%;font-size:12px;font-weight:700;color:var(--g600)}
.pg-insights .jr-more a{font-weight:600;color:var(--g800);text-decoration:underline;text-decoration-color:var(--g400);text-decoration-thickness:1.5px;text-underline-offset:3px}
.pg-insights .jr-more a:hover{color:var(--blue-700);text-decoration-color:currentColor}
@media (max-width:1000px){.pg-insights .jr{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-insights .jr-step:nth-child(2n) .jr-rail::after{display:none}}
@media (max-width:640px){
  .pg-insights .jr{grid-template-columns:minmax(0,1fr);gap:0}
  .pg-insights .jr-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding-bottom:16px}
  .pg-insights .jr-rail{height:auto;margin:0}
  .pg-insights .jr-n{width:40px;height:40px;font-size:14px}
  .pg-insights .jr-step:not(:last-child) .jr-rail::after,.pg-insights .jr-step:nth-child(2n):not(:last-child) .jr-rail::after{display:block;left:19px;right:auto;top:48px;bottom:-8px;width:2px;height:auto}
  .pg-insights .jr-card{padding:22px 18px 18px}
}

/* principles note */
.pg-insights .ex-note{margin-top:24px}

/* related rows in two columns */
.pg-insights .rel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.pg-insights .rel .row{padding-inline:8px;border-radius:14px}
.pg-insights .rel .row b{font-size:17px}
.pg-insights #related .cta-band{margin-top:clamp(72px,9vw,112px)}
.pg-insights .cta-fine{text-align:center}
@media (max-width:860px){.pg-insights .rel{grid-template-columns:minmax(0,1fr)}}

@media (prefers-reduced-motion:reduce){
  .pg-insights .gcard,.pg-insights .jr-guide,.pg-insights .g-go .ico,.pg-insights .gf-chips button{transition:none}
  .pg-insights .gcard.is-shown{animation:none}
  .pg-insights .jr-guide:hover,.pg-insights .g-go:hover .ico{transform:none}
}
