.scc-calculator{--scc-width:100%;--scc-height:auto;--scc-border:#d6dbe2;--scc-bg:#fff;--scc-surface:#f8f9fb;--scc-text:#0b1020;--scc-muted:#637086;--scc-accent:#6e788a;--scc-radius:7px;--scc-shadow:none;--scc-focus:rgba(110,120,138,.35);box-sizing:border-box;container-type:inline-size;width:min(100%,var(--scc-width));min-height:0;margin:0 auto;color:var(--scc-text);background:var(--scc-bg);border:1px solid var(--scc-border);border-radius:4px;box-shadow:var(--scc-shadow);font-family:inherit;overflow:hidden}.scc-calculator[data-scc-fixed-height="1"]{min-height:var(--scc-height)}.scc-calculator *,.scc-calculator *::before,.scc-calculator *::after{box-sizing:border-box}.scc-calculator [hidden]{display:none!important}.scc-inner{display:flex;flex-direction:column;padding:22px;min-width:0}.scc-calculator[data-scc-fixed-height="1"] .scc-inner{min-height:calc(var(--scc-height) - 2px)}.scc-title{margin:0 0 24px;font-size:clamp(1.05rem,2.2cqi,1.5rem);line-height:1.2;font-weight:700;color:var(--scc-text)}.scc-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"from swap to";gap:18px;align-items:end}.scc-field--from{grid-area:from}.scc-field--to{grid-area:to}.scc-swap{grid-area:swap;width:54px;height:54px;border:1px solid var(--scc-border);border-radius:50%;background:var(--scc-bg);color:#667085;display:grid;place-items:center;flex:0 0 auto;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.scc-swap:hover{background:var(--scc-surface);border-color:#bcc5d1;color:var(--scc-text)}.scc-swap:active{transform:scale(.97)}.scc-swap:focus-visible,.scc-select:focus-visible,.scc-amount:focus-visible,.scc-retry:focus-visible{outline:3px solid var(--scc-focus);outline-offset:2px}.scc-swap svg{width:25px;height:25px}.scc-label{display:block;margin:0 0 9px;font-size:.78rem;line-height:1.1;font-weight:500;text-transform:uppercase;letter-spacing:.015em;color:#536176}.scc-select-wrap{position:relative;display:flex;align-items:center;height:55px;border:1px solid #cfd5dd;border-radius:6px;background:#fff;overflow:hidden}.scc-flag{width:46px;min-width:46px;height:100%;display:grid;place-items:center;border-right:1px solid var(--scc-border);font-size:1.05rem}.scc-select{min-width:0;width:100%;height:100%;border:0;background:transparent;color:var(--scc-text);font:inherit;padding:0 42px 0 14px;appearance:auto;cursor:pointer}.scc-field--amount{margin-top:18px}.scc-amount{display:block;width:100%;height:54px;margin:0;padding:0 50px 0 14px;border:1px solid #cfd5dd;border-radius:6px;background:#fff;color:var(--scc-text);font:inherit;font-size:1.05rem;line-height:1}.scc-result{margin-top:20px;padding:22px 19px;border:1px solid var(--scc-border);border-radius:8px;background:var(--scc-surface)}.scc-calculator[data-scc-fixed-height="1"] .scc-result{margin-top:auto}.scc-result-label{margin-bottom:8px}.scc-result-value{min-height:1.15em;margin-bottom:8px;font-size:clamp(2rem,6cqi,3rem);line-height:1;font-weight:700;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.scc-rate-line{font-size:.85rem;line-height:1.5;color:var(--scc-muted);min-height:1.4em}.scc-rate-line:empty{min-height:0}.scc-status{margin-top:8px;font-size:.8rem;line-height:1.4;color:#8b5d00}.scc-retry{margin-top:9px;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:7px 12px;border:1px solid #c9ced7;border-radius:5px;background:#fff;color:var(--scc-text);font:inherit;font-size:.78rem;line-height:1.2;cursor:pointer}.scc-retry:hover{background:#f3f5f7}.scc-meta[hidden]{display:none!important}.scc-meta{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:.74rem;line-height:1.4;color:var(--scc-muted)}.scc-meta:empty{display:none}.scc-meta span:not(:empty)+span:not(:empty)::before{content:"•";margin-right:10px}.scc-state-loading .scc-result-value,.scc-calculator.scc-loading .scc-result-value{color:transparent;position:relative}.scc-state-loading .scc-result-value::after,.scc-calculator.scc-loading .scc-result-value::after{content:"";position:absolute;left:0;top:50%;width:9ch;height:.85em;transform:translateY(-50%);border-radius:4px;background:linear-gradient(90deg,#eceff3 25%,#f6f7f9 37%,#eceff3 63%);background-size:400% 100%;animation:scc-shimmer 1.2s ease-in-out infinite}.scc-error .scc-result-value{color:var(--scc-text)}.scc-result.scc-state-error{padding-top:20px;padding-bottom:18px}.scc-result.scc-state-loading{min-height:0}.scc-retry:disabled{opacity:.65;cursor:wait}.scc-amount[aria-invalid="true"]{border-color:#b42318}.scc-amount[aria-invalid="true"]:focus-visible{outline-color:rgba(180,35,24,.28)}.scc-noscript{padding:16px;color:#7f1d1d;background:#fff1f2;border-top:1px solid #fecdd3;font-size:.875rem}@keyframes scc-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}@container (max-width:560px){.scc-inner{padding:18px}.scc-title{margin-bottom:20px}.scc-pair{grid-template-columns:1fr;grid-template-areas:"from" "swap" "to";gap:0}.scc-swap{justify-self:center;margin:10px 0}.scc-field--amount{margin-top:16px}.scc-result{margin-top:18px;padding:20px 16px}.scc-calculator[data-scc-fixed-height="1"] .scc-result{margin-top:auto}.scc-result-value{font-size:clamp(1.85rem,9cqi,2.45rem)}}@container (min-width:800px){.scc-inner{padding:26px 30px}.scc-title{font-size:1.5rem}.scc-result{padding:26px 19px}}@media (prefers-reduced-motion:reduce){.scc-swap,.scc-loading .scc-result-value::after{transition:none;animation:none}.scc-swap:active{transform:none}}[dir="rtl"] .scc-select-wrap{direction:rtl}[dir="rtl"] .scc-select{padding-left:42px;padding-right:14px}[dir="rtl"] .scc-meta span+span::before{margin-left:10px;margin-right:0}
