/* A ready plan (WS4, 137): the blog's "Plan this" block, and the page a
   ready-plan link opens (/plan/start). Its own file so styles.css and every
   page's ?v= stamp stay as they are. Colours from the site's own tokens where
   the page has them, with the same values as fallbacks. */
.plan-this .pt-preview { text-align: left; max-width: 30rem; margin: 0 auto 1.1em; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border-strong, rgba(67,37,125,.24)); background: var(--cta-field-bg, rgba(255,255,255,.78)); }
.plan-this .pt-kicker { margin: 0 0 8px; font-size: 0.85rem; font-weight: 600; color: var(--cta-ink, #2A184F); }
.plan-this .pt-day + .pt-day { margin-top: 10px; }
.plan-this .pt-day h3 { margin: 0 0 4px; font-size: 1rem; }
.plan-this .pt-day ul { margin: 0; padding-left: 1.1em; }
.plan-this .pt-day li { margin: 2px 0; }
.plan-this .pt-line { margin-bottom: 0.9em; }
.plan-this .pt-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 1.1em; max-width: 34rem; padding: 0; border: 0; }
.plan-this .pt-themes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan-this .pt-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong, rgba(67,37,125,.24)); background: var(--cta-field-bg, rgba(255,255,255,.78)); color: var(--cta-ink, #2A184F); font: inherit; font-size: 0.95rem; cursor: pointer; }
.plan-this .pt-chip[aria-pressed="true"] { background: var(--cta-ink, #2A184F); color: var(--cta-field-solid, #fff); border-color: transparent; font-weight: 600; }
.plan-this .pt-chip:focus-visible { outline: 3px solid var(--ring, rgba(67,37,125,.35)); outline-offset: 2px; }
.plan-this .pt-store { font-size: 0.9rem; margin-top: 0.9em; }
@media (prefers-color-scheme: dark) {
  .plan-this .pt-chip[aria-pressed="true"] { color: #1C1426; }
}

.ps-body { margin: 0; min-height: 100vh; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #FFFBF7; color: #241C36; }
.ps-main { max-width: 26rem; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 14px; }
.ps-mark { font-weight: 700; font-size: 1.25rem; color: #43257D; text-decoration: none; margin-bottom: 8px; }
.ps-card { border: 1px solid rgba(67,37,125,.14); border-radius: 20px; padding: 20px; background: #FFF4E9; }
.ps-kicker { margin: 0 0 4px; font-size: 0.85rem; color: #5C546B; }
.ps-title { margin: 0; font-size: 1.6rem; line-height: 1.2; text-wrap: balance; }
.ps-line { margin: 6px 0 0; color: #5C546B; }
.ps-btn { display: block; text-align: center; padding: 14px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
/* `display: block` above outranks the UA's [hidden] rule, so state it: a
   hidden button is gone, or every platform sees all three (record 137). */
.ps-btn[hidden] { display: none; }
.ps-primary { background: #43257D; color: #fff; }
.ps-secondary { border: 1px solid rgba(67,37,125,.24); color: #43257D; }
.ps-btn:focus-visible { outline: 3px solid rgba(67,37,125,.35); outline-offset: 2px; }
.ps-hint { margin: 4px 0 0; color: #5C546B; font-size: 0.95rem; text-align: center; }
@media (prefers-color-scheme: dark) {
  .ps-body { background: #1C1B1A; color: #F5EFE6; }
  .ps-mark { color: #D2BCFF; }
  .ps-card { background: #2A2724; border-color: rgba(245,239,230,.14); }
  .ps-kicker, .ps-line, .ps-hint { color: #B7ADA0; }
  .ps-primary { background: #D2BCFF; color: #21005E; }
  .ps-secondary { border-color: rgba(245,239,230,.24); color: #D2BCFF; }
}
