/* REVIEW MY PROPOSAL (Peter, 9 Oct 2026): numbered pins on the proposal, each one pops up a comment.
   The pins are the app's, not the proposal's: they read the same on every palette and every look. */
.prv-pins { position: absolute; top: 14px; right: 14px; z-index: 6; display: flex; gap: 6px; }
.prv-pin {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: #ffe135; color: #111;
  font: inherit; font-size: 14px; font-weight: var(--weight-medium); cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); animation: prvPinIn .5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.prv-pin:hover, .prv-pin.is-open { transform: scale(1.1); }
.prv-pin:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
@keyframes prvPinIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.prv-pop {
  position: absolute; z-index: 9000; background: #fff; color: var(--color-text); border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-modal, 0 30px 60px -20px rgba(0,0,0,.35)); padding: 20px 22px 22px; font-size: var(--text-sm); line-height: 1.55;
  animation: prvPopIn .35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes prvPopIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.prv-pop__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.prv-pop__n { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #ffe135; display: grid; place-items: center; font-weight: var(--weight-medium); font-size: 13px; }
.prv-pop__t { margin: 0; flex: 1; font-size: var(--text-base); font-weight: var(--weight-medium); }
.prv-pop__x { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--color-text-muted); display: grid; place-items: center; }
.prv-pop__x:hover { background: var(--color-bg-subtle); color: var(--color-text); }
.prv-pop__x svg { width: 18px; height: 18px; }
.prv-pop__lbl { margin: 10px 0 2px; font-size: 12px; color: var(--color-text-muted); }
.prv-pop__p { margin: 0; }
.prv-pop__why { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); }
.prv-pop__actions { margin-top: 16px; display: flex; justify-content: flex-end; }

/* the summary card: the score, the we/you count, the buyer dial, the list */
.prv-sum { display: grid; gap: 14px; }
.prv-sum__score { margin: 0; font-size: var(--text-base); }
.prv-sum__score strong { font-weight: var(--weight-regular); color: var(--color-text); }
.prv-sum__sub { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.prv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.prv-list button { width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left; background: none; border: 0; border-radius: var(--radius-md); padding: 8px 10px; font: inherit; font-size: var(--text-sm); color: var(--color-text); cursor: pointer; }
.prv-list button:hover { background: var(--color-bg-subtle); }
.prv-list i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: #ffe135; }
.prv-list .is-ok i { background: #e7f6ee; color: #0e9f6e; }
.prv-list .is-ok i svg { width: 14px; height: 14px; }
.prv-list .is-ok span { color: var(--color-text-muted); }
@media (prefers-reduced-motion: reduce) { .prv-pin, .prv-pop { animation: none; } }
@media print { .prv-pins, .prv-pop { display: none !important; } }
