body .quick-converter{box-sizing:border-box;min-width:0;align-self:start;padding:24px;border:1px solid var(--border,#dde2dc);border-radius:20px;background:var(--surface,#fff);color:var(--text,#141914)}
body .quick-heading h2{font-size:22px;line-height:1.25;margin:8px 0;letter-spacing:-.5px}
body .quick-heading p{font-size:14px;line-height:1.5;margin:0 0 24px;color:var(--muted,#59645d)}
body .quick-amount{padding:16px;border:1px solid var(--border,#dde2dc);background:var(--bg,#f7f8f5);border-radius:14px;min-width:0}
body .quick-amount>label{display:block;font-size:13px;margin-bottom:12px;color:var(--muted,#59645d)}
body .quick-amount>div{display:flex;align-items:center;gap:12px;min-width:0}
body .quick-symbol{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:16px;font-weight:650}
body .quick-coin{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f7931a;color:#fff;font-size:22px}
body .quick-amount input{box-sizing:border-box;min-width:0;width:100%;height:48px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:right;font-size:22px;font-weight:650;font-variant-numeric:tabular-nums;appearance:textfield}
body .quick-amount input::-webkit-inner-spin-button{appearance:none}
body .quick-amount select{min-height:44px;width:78px;padding:4px;border:0;background:transparent;color:inherit;font-size:16px;font-weight:650}
body .quick-between{display:grid;place-items:center;position:relative;width:32px;height:28px;margin:8px auto;border:1px solid var(--border,#dde2dc);border-radius:9px;background:var(--surface,#fff);font-size:21px}
body .quick-rate{font-size:13px;line-height:1.5;margin:20px 0;text-align:center;min-height:20px;color:var(--muted,#59645d)}
body .quick-pro{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:10px;background:#dcff00;color:#10150b;font-size:16px;font-weight:700;text-decoration:none}
body .quick-pro:hover{background:#c8e900}
body .quick-footnote{font-size:12px;line-height:1.5;color:var(--muted,#59645d);text-align:center;margin:12px 0 0}
body .quick-converter :is(input,select,a):focus-visible{outline:2px solid #778c00;outline-offset:3px}
@media(max-width:480px){body .quick-converter{padding:18px}body .quick-amount{padding:12px}body .quick-amount input{font-size:20px}}
html[data-theme="dark"] .quick-converter{--surface:#1e2329;--bg:#181a20;--text:#eaecef;--muted:#b7bdc6;--border:#363e4a}
/* Narrow cards need a full-width value, not a squeezed amount beside the ticker. */
@media(max-width:480px){body .quick-amount>div{flex-wrap:wrap;gap:10px}body .quick-amount input{flex:1 0 100%;width:100%;font-size:20px}body .quick-amount select{padding-inline:8px;width:88px}body .quick-pro{padding:12px;line-height:1.4;text-align:center}}
/* Telas menores (uma coluna): o conversor rápido fica centralizado e ocupa a largura disponível até 640px. */
@media(max-width:1023px){body .workspace-side>.quick-converter{align-self:center;width:100%;max-width:640px}}
/* Celular: cada caixa vira "rótulo + seletor em pílula" na mesma linha e o valor grande embaixo, alinhado à direita (estilo app). */
@media(max-width:700px){
html body main .quick-converter{padding:18px!important;border-radius:18px}
html body main .quick-converter .quick-heading h2{font-size:22px;margin:2px 0 4px}
html body main .quick-converter .quick-heading p{font-size:14px;margin:0 0 14px}
html body main .quick-converter .quick-amount{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:12px;padding:14px 16px!important;border-radius:16px}
html body main .quick-converter .quick-amount>label{grid-column:1;grid-row:1;margin:0!important;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body main .quick-converter .quick-amount>div{display:contents!important}
html body main .quick-converter .quick-amount .quick-symbol{grid-column:2;grid-row:1;display:flex;align-items:center;gap:6px;flex:0 0 auto!important;min-width:0!important}
html body main .quick-converter .quick-amount .quick-coin{flex:0 0 26px!important;width:26px!important;height:26px!important;font-size:14px!important}
html body main .quick-converter .quick-amount #quick-crypto,html body main .quick-converter .quick-amount #quick-currency{width:auto!important;min-width:0!important;min-height:36px!important;height:36px;padding:4px 30px 4px 12px!important;border:1px solid var(--border,#dde2dc)!important;border-radius:999px!important;font-size:14px!important;font-weight:700;background-position:right 10px center!important}
html body main .quick-converter .quick-amount input#quick-btc,html body main .quick-converter .quick-amount input#quick-money{grid-column:1/-1;grid-row:2;width:100%!important;height:52px!important;padding:0 14px!important;border-radius:12px!important;box-sizing:border-box;font-size:28px!important;font-weight:750;letter-spacing:-.02em;text-align:right}
html body main .quick-converter .quick-between{width:30px;height:30px;margin:-8px auto!important;position:relative;z-index:1;border-radius:50%}
}

@media(max-width:700px){html body main .quick-converter .quick-amount input#quick-btc:focus,html body main .quick-converter .quick-amount input#quick-money:focus{outline-offset:2px}}
/* Celular: o destaque de foco fica na caixa inteira (borda verde suave), não num contorno colado ao número. O ≈ ganha espaço próprio. */
@media(max-width:700px){
html body main .quick-converter .quick-amount input#quick-btc:focus,html body main .quick-converter .quick-amount input#quick-money:focus,html body main .quick-converter .quick-amount input#quick-btc:focus-visible,html body main .quick-converter .quick-amount input#quick-money:focus-visible{outline:none!important;box-shadow:none!important;border-color:transparent!important}
html body main .quick-converter .quick-amount:focus-within{border-color:#b9d40f!important;box-shadow:0 0 0 3px rgba(223,255,25,.28)}
html body main .quick-converter .quick-amount input#quick-btc,html body main .quick-converter .quick-amount input#quick-money{padding:0 4px!important}
html body main .quick-converter .quick-between{margin:10px auto!important}
}
