/* "Take photos with your phone" (phone-link.js), inside the site's dialog:
   the code to scan beside the link's facts, then each photo as it arrives
   as a mail row, the way uploads are listed on a business. */
/* On a phone the site is drawn at a third of its size; this dialog is drawn at
   the phone's own size instead (--pl-zoom, --pl-width, set by phone-link.js). */
.fin-action-overlay .fin-action-modal:has([data-pl-root]) { width: var(--pl-width, min(720px, 94vw)); max-width: var(--pl-width, 720px); zoom: var(--pl-zoom, 1); }

.pl { display: flex; flex-direction: column; gap: 16px; }
/* The code beside its facts; with no room, the facts go under the code. */
.pl-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; align-items: flex-start; }
.pl-top > .pl-side { flex: none; }
.pl-top > .pl-facts { flex: 1 1 320px; min-width: min(320px, 100%); }
.pl-code { width: 196px; height: 196px; padding: 8px; border: 1px solid var(--ds-border); border-radius: var(--ds-radius); background: #ffffff; }
.pl-code svg { width: 100%; height: 100%; display: block; }
/* Dark on white in every appearance: a phone's camera reads it that way. */
.pl-code .qr-light { fill: #ffffff; }
.pl-code .qr-dark { fill: #111111; }
.pl-side { display: flex; flex-direction: column; gap: 10px; }
.pl .pl-open { width: 196px; height: 40px; justify-content: center; font-size: 14px; text-decoration: none; }
.pl .pl-open .mo-ic { width: 16px; height: 16px; }
.pl-code.is-ended { opacity: .18; }
.pl-facts { min-width: 0; }
.pl-facts .modal-field:first-child { border-top: 0; }
.pl-until { justify-self: end; color: var(--ds-ink); font-size: 13px; font-weight: 500; line-height: 1.35; text-align: right; }
.pl-facts .fin-copy-input { font-size: 12px; color: var(--ds-ink-3); }

.pl-warn { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ds-ink-3); font-size: 12.5px; }

/* Flat rows under a heading, hairlines between them: no box inside the dialog. */
.pl-sent, .pl-others { border-top: 1px solid var(--ds-line); }
.pl-sent-hd { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0; }
.pl-sent-hd b { flex: none; color: var(--ds-ink); font-size: 13px; font-weight: 600; }
.pl-count { flex: none; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 4px; background: var(--ds-well); color: var(--ds-ink-3); font-size: 11.5px; font-weight: 600; line-height: 18px; text-align: center; }
.pl-said { min-width: 0; margin-left: auto; overflow: hidden; color: var(--ds-ink-4); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pl-rows { max-height: 264px; overflow-y: auto; }
.pl .mo-mail.pl-row { grid-template-columns: 32px minmax(0, 1fr) minmax(96px, auto) 84px; min-height: 48px; padding: 0; cursor: default; }
.pl .mo-mail.pl-row:hover { background: var(--ds-card); }
.pl-others .mo-mail.pl-row { grid-template-columns: 32px minmax(0, 1fr) 0 auto; }
.pl .pl-pic { width: 32px; height: 32px; overflow: hidden; padding: 0; border-radius: 6px; }
.pl .pl-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl .pl-pic b { color: var(--ds-ink-3); font-size: 7.5px; font-weight: 700; letter-spacing: .02em; }
.pl .pl-row .nw-line-value { justify-self: end; color: var(--ds-ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-wait { min-height: 64px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--ds-line-soft); color: var(--ds-ink-4); font-size: 12.5px; }

.pl-foot { display: flex; align-items: center; gap: 10px; color: var(--ds-ink-4); font-size: 12px; }
.pl-foot .mo-btn { margin-left: -9px; }
.pl-foot .mo-btn:disabled { opacity: .45; cursor: default; }

