:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18382e;background:#eef3ef;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;padding:40px 18px;min-height:100vh;min-height:100dvh;background:radial-gradient(ellipse at top,#dcece1,transparent 65%),#eef3ef}
main{width:100%;max-width:460px;min-width:0;margin:0 auto;background:#fff;padding:32px;border:1px solid #dde6df;border-radius:24px;box-shadow:0 16px 48px #173c2610}
header{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}
.brand{font-size:13px;font-weight:800;letter-spacing:2px}
.badge{color:#196a47;background:#edf7ef;padding:6px 13px;border-radius:30px;font-size:13px;font-weight:700}
h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px}
.intro{color:#67766d;font-size:15px;line-height:1.6;margin:0 0 30px}
label{display:block;font-size:13px;font-weight:650;margin-bottom:10px}
.amount-field{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #bbc9bf;border-radius:12px}
.amount-field span{font-size:21px;color:#67766d}
input{width:100%;min-width:0;border:0;background:transparent;font:inherit;font-size:clamp(24px,7vw,32px);font-weight:600;color:#18382e;outline:none}
.amount-field:focus-within{border-color:#197849;box-shadow:0 0 0 3px #19784920}
button{width:100%;min-height:48px;padding:16px;border:0;border-radius:12px;background:#196a47;color:#fff;font:inherit;font-size:15px;font-weight:650;cursor:pointer;touch-action:manipulation}
button:hover{background:#125637}
button:focus-visible,textarea:focus-visible{outline:3px solid #81bd9b;outline-offset:3px}
button:disabled{opacity:.5;cursor:wait}
.clear{flex:0 0 44px;width:44px;min-height:44px;padding:0;background:transparent;color:#67766d;font-size:28px;border-radius:50%}
.clear:hover{background:#edf3ef;color:#18382e}
.clear[hidden]{display:none}
.error{color:#ae3030;font-size:13px;margin:10px 0;min-height:16px}
#result{border-top:1px solid #e3eae5;margin-top:30px;padding-top:26px;text-align:center}
.result-heading{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;font-size:14px;color:#67766d}
.result-heading strong{font-size:24px;color:#18382e}
canvas{display:block;max-width:100%;height:auto;margin:18px auto 8px;image-rendering:pixelated}
.recipient{font-size:12px;font-weight:700;line-height:1.7;margin:0 0 24px}
.recipient span{font-weight:400;color:#67766d}
#result label{text-align:left}
textarea{display:block;width:100%;max-width:100%;resize:vertical;padding:12px;border:1px solid #d9e3dc;border-radius:10px;background:#f7f9f7;color:#53685c;font:16px monospace;margin-bottom:14px;overflow-wrap:anywhere}
#copy-status{font-size:12px;color:#67766d;line-height:1.6;min-height:38px;margin-bottom:0}
footer{font-size:12px;color:#78877d;text-align:center;line-height:1.6;margin-top:28px}
@media(max-width:480px){body{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}main{padding:24px clamp(14px,5vw,22px);border-radius:18px}header{margin-bottom:24px}h1{font-size:clamp(25px,7vw,30px)}.intro{margin-bottom:24px}#result{margin-top:24px;padding-top:22px}}
@media(max-height:600px) and (orientation:landscape){body{padding:12px}header{margin-bottom:18px}}
/* Compatibilidade com extensões antigas que também inserem a referência. */
.expert-pix-order~.expert-pix-order{display:none}
