/* isaev.ca /pay - "Copy" buttons next to payment details (15.11.2026), script owner-r13e-paycopy.js. Successor of
   owner-r13d-paycopy.css (that file stays as it is for the live pages).
   01.12.2026: the button keeps the word "Copy" in every state - the same width, so the line does not re-flow and the pressed button
   does not jump to the next line; "Copied" / "Press Ctrl+C" is the pop-up .abt-tip.pc-tip above the button (style of the site
   abbreviation pop-up, owner-a11y18.css). States still differ without colour: icon (sheets -> check -> key), border
   (thin -> thick -> dashed), the pop-up text, the copied value underlined with dots for 2 s.
   The button is inline-block (not flex/grid: those add line breaks when a selection is copied); the label is ::after only. */
.pc-btn{display:inline-block;box-sizing:border-box;min-height:32px;margin:0 0 0 8px;padding:4px 10px 4px 8px;
 vertical-align:middle;position:relative;top:-1px;border:1px solid #b9bfd9;border-radius:8px;background:#fff;color:#2c3c94;
 font-family:inherit;font-size:13px;font-weight:600;line-height:22px;letter-spacing:normal;text-transform:none;text-decoration:none;white-space:nowrap;
 cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none;
 transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
.pc-btn::after,.pc-btn[data-state]::after{content:attr(data-l-copy)}
.pc-btn:hover{background:#eef1fb;border-color:#374aa8}
.pc-btn:active{background:#e3e7f8}
.pc-btn:focus{outline:none}
.pc-btn:focus-visible{outline:3px solid #5a6bd8;outline-offset:2px}
.pc-i{display:inline-block;width:15px;height:15px;margin:0 5px 0 0;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pc-i-done,.pc-i-fail{display:none}
.pc-btn[data-state="done"]{background:#e6f4ea;border-color:#14532d;box-shadow:inset 0 0 0 1px #14532d;color:#0f3d22}
.pc-btn[data-state="done"] .pc-i-copy{display:none}
.pc-btn[data-state="done"] .pc-i-done{display:inline-block;stroke-width:2.6}
.pc-btn[data-state="fail"]{background:#fff4dc;border:1px dashed #6b4500;color:#4a3000}
.pc-btn[data-state="fail"] .pc-i-copy{display:none}
.pc-btn[data-state="fail"] .pc-i-fail{display:inline-block}
/* :not(#pc-none) - id weight: links in the payment cards are underlined by site rules with !important, the dots must win */
html body [data-copy].pc-on:not(#pc-none),html body [data-copy].pc-on:not(#pc-none) a:not(#pc-none){text-decoration-line:underline!important;text-decoration-style:dotted!important;
 text-decoration-thickness:2px!important;text-underline-offset:4px!important;text-decoration-color:currentColor!important}
.pc-live{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;
 clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
/* the copy pop-up does not catch the pointer (it may lie over the text above the button); the term pop-up does (1.4.13 hoverable) */
.pc-tip.pc-tip-copy{pointer-events:none}
@media (pointer:coarse){.pc-btn{min-height:40px;padding:6px 12px 6px 10px;font-size:14px;line-height:26px}.pc-i{width:16px;height:16px}}
@media (prefers-reduced-motion:reduce){.pc-btn{transition:none}}
@media print{.pc-btn{display:none!important}}
