/* PS-008: "Ideas from your money" on the Plan home (js/plan.js ideasHtml): up to two cards above the goal tiles. Two side by side on a
   laptop, stacked on a phone. A card is a button (hue disc, the words, "Plan it →") and an x beside it (a 48px target, a 16px glyph) that dismisses it. */
.pl-home > .pi-ideas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pl-home > .pi-ideas.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pi-idea { position: relative; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow 180ms; }
.pi-idea:hover { box-shadow: var(--shadow-md, var(--shadow-sm)), inset 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent); }
.pi-main { box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px 60px 14px 16px; border: 0; border-radius: inherit; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pi-main .ps-disc { grid-row: span 2; width: 34px; height: 34px; }
.pi-main .ps-disc .pl-svg { width: 18px; height: 18px; }
.pi-t { font: 600 15px/1.45 var(--font-sans); letter-spacing: -.01em; }
.pi-t em { font-style: normal; color: color-mix(in srgb, var(--c) 78%, var(--text)); }
.pi-go { font: 400 12.5px var(--font-sans); color: var(--text-mid); }
.pi-x { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--text-mid); cursor: pointer; }   /* a 48px target around a small glyph */
.pi-x::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: none; }
.pi-x:hover::before { background: var(--surface-2); }
.pi-x .pl-svg { position: relative; }
.pi-x .pl-svg { width: 16px; height: 16px; }
.pi-main:focus-visible, .pi-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) { .pl-home > .pi-ideas.is-two { grid-template-columns: minmax(0, 1fr); } }
