.bc-currency{clear:both;box-sizing:border-box;margin:34px 0;padding:28px;border:1px solid #c5d2c9;border-radius:10px;background:#f1f5ef;color:#24392e;scroll-margin-top:100px;font:15px/1.75 system-ui,"Microsoft YaHei",sans-serif}
.bc-currency *{box-sizing:border-box}.bc-currency__heading>p{margin:0 0 5px;color:#596e61;font-size:10px;font-weight:700;letter-spacing:.16em}.bc-currency__heading h2{margin:0 0 6px;border:0;padding:0;font:500 27px/1.4 Georgia,"Noto Serif SC",serif;color:#173d30}.bc-currency__heading>span{color:#536657;font-size:12px}.bc-currency__intro{margin:15px 0 20px}
.bc-currency__form{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(0,1fr) 42px minmax(0,1fr);gap:12px;align-items:end}.bc-currency label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:600}.bc-currency input,.bc-currency select{min-width:0;width:100%;height:46px;border:1px solid #9faf9f;border-radius:5px;padding:8px;background:#fff;color:#213d2e;font:16px/1.4 system-ui,sans-serif}.bc-currency select{font-size:13px}.bc-currency button{height:46px;border:1px solid #9faf9f;border-radius:5px;background:#fff;color:#173d30;font-size:24px;cursor:pointer}.bc-currency :is(input,select,button):focus-visible{outline:3px solid #ae8a44;outline-offset:3px}.bc-currency input[aria-invalid=true]{border-color:#9a302d}
.bc-currency__error{margin:8px 0;color:#94302e;min-height:0;font-size:12px}.bc-currency__error:empty{display:none}.bc-currency__result{display:grid;gap:5px;margin:22px 0;padding:22px;background:#173d30;color:#e2ede6;border-radius:6px}.bc-currency__result strong{color:#fff;font-size:clamp(23px,3vw,34px);line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.bc-currency__result small{color:#d0dfd4}.bc-currency__note{margin:0;color:#536657;font-size:12px;line-height:1.85}
@media(max-width:900px){.bc-currency__form{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)}.bc-currency__amount{grid-column:1/-1}}
@media(max-width:520px){.bc-currency{padding:20px 15px}.bc-currency__form{grid-template-columns:minmax(0,1fr)}.bc-currency__amount{grid-column:auto}.bc-currency__swap{justify-self:center;width:46px;transform:rotate(90deg)}.bc-currency__result{padding:18px 14px}.bc-currency__heading h2{font-size:24px}}
/* Keep article typography from overriding the compact converter labels. */
.article-body .bc-currency .bc-currency__intro{font-size:14px;line-height:1.8;margin:15px 0 20px}.article-body .bc-currency .bc-currency__note{font-size:12px;line-height:1.85;margin:0;color:#536657}.article-body .bc-currency .bc-currency__error{font-size:12px;line-height:1.7;margin:8px 0;color:#94302e}.article-body .bc-currency__heading>p{font-size:10px;line-height:1.7;margin:0 0 5px;color:#596e61}.bc-currency__heading{background:transparent;border:0;padding:0}
