.pp {
  position: relative;
  display: flex;
  align-items: flex-start;
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink, #0D0D0D);
  font-family: var(--text, "Inter", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
.pp p, .pp ol { margin: 0; padding: 0; }

.pp .pp-card {
  flex: 0 0 290px;
  width: 290px;
  background: var(--card, #fff);
  border-radius: 28px;
  box-shadow: var(--shadow, 0 30px 70px rgba(30,20,60,.10), 0 4px 14px rgba(30,20,60,.05));
  padding: 22px 20px 20px;
}
.pp .pp-paste { position: relative; z-index: 1; }
.pp .pp-review { position: relative; z-index: 2; margin-left: -20px; margin-top: 56px; }

.pp .pp-title {
  font-family: var(--display, "Geist", system-ui, sans-serif);
  font-weight: 500; font-size: 18px; letter-spacing: -0.02em; line-height: 1.2;
}
.pp .pp-help { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink2, #55555B); }
.pp .pp-box {
  margin-top: 14px;
  background: var(--muted, #F2F1F4);
  border-radius: 16px;
  padding: 14px;
  font-size: 14px; line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink, #0D0D0D);
}

.pp .pp-btn {
  display: flex; align-items: center; justify-content: center;
  margin-top: 16px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--btn, #0D0D0D); color: var(--btnInk, #fff);
  font-size: 15px; font-weight: 500;
  width: max-content;
}
.pp .pp-btn-full { width: 100%; margin-top: 18px; }
.pp .pp-edit { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink3, #7C7C83); }

.pp .pp-badge {
  position: absolute; z-index: 3;
  left: 270px; top: 46%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent, #F0534A); color: #fff;
  box-shadow: 0 8px 20px rgba(240,83,74,.32), 0 0 0 4px var(--card, #fff);
}

.pp .pp-plan {
  font-family: var(--display, "Geist", system-ui, sans-serif);
  font-weight: 500; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15;
}
.pp .pp-sub { margin-top: 4px; font-size: 13px; color: var(--ink2, #55555B); }
.pp .pp-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pp .pp-chip {
  font-size: 13px; font-weight: 500; line-height: 1;
  padding: 9px 12px; border-radius: 999px;
  background: var(--muted, #F2F1F4); color: var(--ink2, #55555B);
}
.pp .pp-chip-on { background: rgba(240,83,74,.12); color: #D9443B; }
.pp .pp-meta { margin-top: 12px; font-size: 12.5px; color: var(--ink3, #7C7C83); font-variant-numeric: tabular-nums; }

.pp .pp-list {
  list-style: none;
  margin-top: 10px;
  background: var(--card, #fff);
  border: 1px solid var(--line, rgba(0,0,0,.08));
  border-radius: 18px;
  overflow: hidden;
}
.pp .pp-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 9px 12px;
  border-top: 1px solid var(--line, rgba(0,0,0,.08));
}
.pp .pp-row:first-child { border-top: 0; }
.pp .pp-n {
  flex: 0 0 auto; width: 16px;
  font-size: 13px; color: var(--ink3, #7C7C83); font-variant-numeric: tabular-nums;
}
.pp .pp-name {
  flex: 1 1 auto; min-width: 0;
  font-size: 15px; font-weight: 500; line-height: 1.25;
}
.pp .pp-tag { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--ink2, #55555B); }
.pp .pp-sets {
  flex: 0 0 auto;
  font-size: 14px; color: var(--ink2, #55555B);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* Motion: rows are hidden only once JS has added pp-anim */
.pp.pp-anim .pp-row {
  opacity: 0; transform: translateY(12px);
  transition: opacity .42s cubic-bezier(.32,.72,0,1), transform .42s cubic-bezier(.32,.72,0,1);
}
.pp.pp-anim.pp-in .pp-row { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pp.pp-anim .pp-row { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 759px) {
  .pp { flex-direction: column; align-items: center; }
  .pp .pp-card { flex: none; width: 100%; }
  .pp .pp-review { margin-left: 0; margin-top: -8px; }
  .pp .pp-badge {
    position: relative; left: auto; top: auto; transform: rotate(90deg);
    margin-top: -12px; flex: none;
  }
}

/* Phone: tighter cards, the pasted text kept short with a soft fade, so the pair reads in about one screen */
@media (max-width: 760px) {
  .pp { max-width: 360px; }
  .pp .pp-card { padding: 18px 16px 16px; border-radius: 24px; }
  .pp .pp-title { font-size: 17px; }
  .pp .pp-help { font-size: 13px; }
  .pp .pp-box {
    margin-top: 12px; padding: 12px 14px; border-radius: 14px;
    font-size: 13px; line-height: 1.45;
    max-height: calc(13px * 1.45 * 6 + 14px); overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 55%, transparent 92%);
            mask-image: linear-gradient(#000 55%, transparent 92%);
  }
  .pp .pp-btn { margin-top: 14px; height: 44px; font-size: 15px; }
  .pp .pp-badge { width: 36px; height: 36px; margin-top: -10px; }
  .pp .pp-review { margin-top: -10px; }
  .pp .pp-plan { font-size: 22px; }
  .pp .pp-chips { margin-top: 12px; gap: 6px; }
  .pp .pp-chip { padding: 8px 11px; }
  .pp .pp-meta { margin-top: 10px; font-size: 12.5px; }
  .pp .pp-row { min-height: 46px; padding: 8px 12px; gap: 8px; }
  .pp .pp-name { font-size: 14.5px; }
  .pp .pp-sets { font-size: 13.5px; }
  .pp .pp-btn-full { margin-top: 14px; }
  .pp .pp-edit { margin-top: 10px; font-size: 13.5px; }
}
@media (max-width: 400px) {
  .pp .pp-card { padding: 16px 14px 14px; }
  .pp .pp-row { padding: 8px 10px; }
  .pp .pp-name { font-size: 14px; }
  .pp .pp-sets { font-size: 13px; }
}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}