/* proof-viewer.css (v317): the full-screen design proof viewer (public/js/proof-viewer.js). Portal colors, AA contrast. */
html.pv-open, html.pv-open body { overflow: hidden; }
.pv { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: #0d1b2a; color: #ffffff; font-family: inherit; }
.pv-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pv-title { margin: 0; flex: 1; min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-count { font-size: 14px; color: #d6dbe2; white-space: nowrap; }
.pv-x { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: #ffffff; cursor: pointer; }
.pv-x:hover { background: rgba(255, 255, 255, .1); }
.pv-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; }
.pv-fig { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; }
.pv-scroll { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; touch-action: pan-y; }
.pv-img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; background: #ffffff; border-radius: 4px; user-select: none; -webkit-user-select: none; }
.pv-zoomed .pv-scroll { overflow: auto; display: block; touch-action: pan-x pan-y; }
.pv-zoomed .pv-img { max-width: none; max-height: none; cursor: zoom-out; }
.pv-label { margin: 0; padding: 4px 16px 10px; text-align: center; font-size: 15px; font-weight: 600; color: #e9d9a6; }
.pv-msg { margin: auto; padding: 20px; font-size: 16px; color: #ffffff; text-align: center; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 48px; height: 64px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: rgba(13, 27, 42, .78); color: #ffffff; cursor: pointer; }
.pv-nav:hover { background: rgba(13, 27, 42, .95); }
.pv-prev { left: 8px; } .pv-next { right: 8px; }
.pv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); }
.pv-spacer { flex: 1; }
.pv-btn { min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid #c9a84c; background: #c9a84c; color: #0d1b2a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.pv-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .55); font-weight: 600; }
.pv-ghost:hover { border-color: #ffffff; }
.pv :focus-visible { outline: 3px solid #e9d9a6; outline-offset: 2px; }
@media (max-width: 600px) {
  .pv-top { padding-left: 14px; }
  .pv-title { font-size: 15px; }
  .pv-nav { width: 40px; height: 52px; }
  .pv-bar { gap: 8px; }
  .pv-bar .pv-spacer { flex-basis: 100%; height: 0; }
  .pv-approve, .pv-changes { flex: 1; justify-content: center; }
}
