/* Translation Agency of Canada /payment (all languages) - "Copy" buttons next to payment details (18.11.2026),
   port of isaev.ca owner-r13d-paycopy.css (15.11.2026) in the Agency colours (#f7ca36 / #000 / #fff).
   States differ without colour too: icon (sheets -> check -> key), label, border (thin -> thick -> dashed),
   the copied value is underlined with dots for 2 s. Compact size: the values sit in Tilda Zero Block text elements
   whose height is fixed by the artboard, a taller button would push lines into the next element.
   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:0;height:auto;margin:0 0 0 6px;padding:0 6px 0 5px;
 vertical-align:baseline;position:relative;top:-1px;border:1px solid #000;border-radius:4px;background:#fff;color:#000;
 font-family:inherit;font-size:11px;font-weight:600;line-height:16px;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,box-shadow .15s ease}
.pc-btn::after{content:attr(data-l-copy)}
.pc-btn:hover{background:#f7ca36}
.pc-btn:active{background:#f7ca36;box-shadow:inset 0 0 0 1px #000}
.pc-btn:focus{outline:none}
.pc-btn:focus-visible{outline:2px solid #000;outline-offset:2px;box-shadow:0 0 0 4px #f7ca36}
.pc-i{display:inline-block;width:12px;height:12px;margin:0 4px 0 0;vertical-align:-2px;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:#f7ca36;border-color:#000;box-shadow:inset 0 0 0 1px #000;color:#000}
.pc-btn[data-state="done"]::after{content:attr(data-l-done)}
.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:#fff;border:1px dashed #000;color:#000}
.pc-btn[data-state="fail"]::after{content:attr(data-l-fail)}
.pc-btn[data-state="fail"] .pc-i-copy{display:none}
.pc-btn[data-state="fail"] .pc-i-fail{display:inline-block}
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:3px!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 word is always shown (owner 19.11.2026); a button that does not fit wraps, taofc-paycopy.js re-flows the Zero Block */
@media (pointer:coarse){.pc-btn{padding:0 7px 0 6px;font-size:12px;line-height:18px}.pc-i{width:13px;height:13px}}
@media (prefers-reduced-motion:reduce){.pc-btn{transition:none}}
@media print{.pc-btn{display:none!important}}
/* 01.12.2026 (owner remarks on /ru/payment). The page also loads tc-leg.css (main .pc-btn: 44 x 44 touch area, visible square
   ::before); the rules below come later and are at least as specific.
   (a) the visible square (20 px) fits the text line (21 px) and keeps 6 px off the value: the button does not cover text;
   (b) no label inside the button in any state ("Copied" / "Press Ctrl+C" is the pop-up .pc-tip, drawn by tc-paycopy.js);
   (c) pressed / copied / failed states change colour, icon and border style only - the same box, no vertical shift. */
main .pc-btn,main .pc-btn[data-state]{width:44px;height:44px;min-width:44px;min-height:44px;margin:-12px -10px -12px -6px;padding:0;
  border:0;background:transparent;box-shadow:none;vertical-align:middle;top:0;line-height:0;transform:none}
main .pc-btn::after,main .pc-btn[data-state]::after{content:none;display:none}
main .pc-btn::before{inset:12px}
main .pc-btn .pc-i,main .pc-btn[data-state] .pc-i{width:13px;height:13px;margin:0;vertical-align:0}
main .pc-btn:active::before{background:var(--y,#f7ca36)}
main .pc-btn[data-state="fail"]::before{background:#fff;border-style:dashed}
.pc-tip{pointer-events:none}
/* e-mail kept whole (tc-paycopy.js fitWhole): no break inside, the button after the address or in the slot after the label */
.cpm{white-space:nowrap}
.cpm > a[data-copy-whole]{white-space:nowrap}
.cpm.pc-brk,.cpm.pc-brk > a[data-copy-whole]{white-space:normal}
.cpm.pc-any > a[data-copy-whole]{overflow-wrap:anywhere}
.pc-slot{white-space:nowrap}
/* multi-line value (branch address, mailing address): wraps inside, the button stays glued to the last word (.cpw is nowrap) */
.cpw > [data-copy].pc-ml{white-space:normal}
/* crypto wallet: breaks only at its <wbr> (every 11 characters). Chrome broke there inside nowrap anyway, Safari did not -
   on iPhone the address and its button went past the card edge */
.cpw > [data-copy]:has(> wbr){white-space:normal}
/* 05.12.2026 (site audit, owner: "fix"): the 44 x 44 touch areas of neighbouring rows overlapped by half (rows ~22 px apart,
   the -12 px vertical margins hid the button height from the line) - on a phone a tap could copy the wrong field.
   Now the button keeps its whole 44 px height inside its own line box (a line with a button is >= 44 px tall, as the
   40 px "Copy" rows on isaev.ca /pay); line boxes never overlap, so neither do the touch areas. Visible square unchanged. */
main .pc-btn,main .pc-btn[data-state]{margin-top:0;margin-bottom:0}
/* en: "e-mail" before the button slot does not break at its hyphen ("e-" / "mail") */
.pc-nw{white-space:nowrap}
/* 320-480 px: the grey panel and the card frame left the text ~218 px on a 320 screen; the panel now reaches 8 px from
   the screen edge and has 8 px inside, the card keeps its yellow frame (text ~258 px on 320) */
@media (max-width:480px){
 main .flow.zc-wrap.panel{margin-left:-8px;margin-right:-8px;padding:12px 8px}
}
