.cryprev-calculator{--cryprev-accent:#0f766e;--cryprev-ink:#172b2a;--cryprev-muted:#526563;box-sizing:border-box;container-type:inline-size;width:100%;max-width:720px;margin:24px auto;padding:28px;background:#fff;border:1px solid #dae5e1;border-radius:20px;color:var(--cryprev-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;box-shadow:0 12px 48px #143b2b08;text-align:left}
.cryprev-calculator *,.cryprev-calculator *::before,.cryprev-calculator *::after{box-sizing:border-box}
.cryprev-calculator [hidden]{display:none}
.cryprev-calculator .cryprev-heading{margin-bottom:24px}
.cryprev-calculator .cryprev-eyebrow{font-size:10px;letter-spacing:.16em;color:var(--cryprev-accent);font-weight:750}
.cryprev-calculator .cryprev-heading h1{color:var(--cryprev-ink);font-size:26px;line-height:1.35;font-weight:700;margin:8px 0}
.cryprev-calculator .cryprev-heading p{color:var(--cryprev-muted);font-size:14px;margin:0}
.cryprev-calculator .cryprev-field{min-width:0;margin-bottom:16px}
.cryprev-calculator .cryprev-field label{display:block;font-weight:600;font-size:13px;color:#344e4b;margin-bottom:6px}
.cryprev-calculator .cryprev-field input,.cryprev-calculator .cryprev-field select{appearance:auto;display:block;width:100%;min-width:0;height:48px;border:1px solid #c7d6d1;border-radius:9px;background:#fff;color:var(--cryprev-ink);padding:10px 12px;font-family:inherit;font-size:16px;line-height:1.4;box-shadow:none;margin:0;transition:border-color .15s}
.cryprev-calculator .cryprev-field input:focus,.cryprev-calculator .cryprev-field select:focus{border-color:var(--cryprev-accent);outline:3px solid #0f766e1c;outline-offset:1px}
.cryprev-calculator .cryprev-field input[aria-invalid=true]{border-color:#dc2626}
.cryprev-calculator .cryprev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.cryprev-calculator .cryprev-coin-row{display:flex;flex-wrap:wrap;gap:0 16px;align-items:center}
.cryprev-calculator .cryprev-coin-row .cryprev-field{flex:1}
.cryprev-calculator .cryprev-coin-row .cryprev-currency-field{flex:0 0 180px}
.cryprev-calculator .cryprev-coin-row .cryprev-change{margin:-4px 0 14px}
.cryprev-calculator .cryprev-change{border-radius:6px;padding:3px 7px;font-size:12px;font-weight:650;white-space:nowrap;background:#eef7f0}
.cryprev-calculator .cryprev-price-note{font-size:12px;color:var(--cryprev-muted);margin:-4px 0 18px;min-height:19px;overflow-wrap:anywhere}
.cryprev-calculator .cryprev-price-note[data-status=loading]::before{content:"";display:inline-block;width:10px;height:10px;border:2px solid #b5cec4;border-top-color:var(--cryprev-accent);border-radius:50%;margin-right:7px;animation:cryprev-spin 1s linear infinite}
.cryprev-calculator .cryprev-price-note[data-status=failed],.cryprev-calculator .cryprev-price-note[data-status=stale]{color:#805313}
.cryprev-calculator .cryprev-field-error{font-size:12px;color:#b91c1c;margin:5px 0 0}
.cryprev-calculator .cryprev-help{font-size:12px;color:var(--cryprev-muted);margin:6px 0 0}
.cryprev-calculator .cryprev-primary{appearance:none;display:block;width:100%;min-height:49px;margin:5px 0 14px;padding:12px 18px;border:0;border-radius:9px;background:var(--cryprev-accent);color:#fff;font-family:inherit;font-size:15px;font-weight:650;line-height:1.5;cursor:pointer;text-transform:none;letter-spacing:0}
.cryprev-calculator .cryprev-primary:hover{background:#115e59}
.cryprev-calculator .cryprev-primary:focus-visible,.cryprev-calculator .cryprev-text-button:focus-visible,.cryprev-calculator .cryprev-switch input:focus-visible+.cryprev-switch-track{outline:3px solid #0f766e60;outline-offset:3px}
.cryprev-calculator .cryprev-primary span{float:right}
.cryprev-calculator .cryprev-options{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 16px}
.cryprev-calculator .cryprev-switch{display:flex;align-items:center;position:relative;gap:9px;min-height:44px;font-size:12px;cursor:pointer;color:#344e4b}
.cryprev-calculator .cryprev-switch input{position:absolute;opacity:0;width:34px;height:24px;margin:0}
.cryprev-calculator .cryprev-switch-track{display:block;width:32px;height:19px;background:#c8d4d0;border-radius:20px;flex-shrink:0}
.cryprev-calculator .cryprev-switch-track::after{content:"";display:block;width:13px;height:13px;background:#fff;border-radius:50%;margin:3px;transition:transform .15s}
.cryprev-calculator .cryprev-switch input:checked+.cryprev-switch-track{background:var(--cryprev-accent)}
.cryprev-calculator .cryprev-switch input:checked+.cryprev-switch-track::after{transform:translateX(13px)}
.cryprev-calculator .cryprev-text-button{appearance:none;display:inline-block;min-height:44px;border:0;background:none;padding:8px 0;font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;color:var(--cryprev-accent);cursor:pointer;text-transform:none;box-shadow:none;letter-spacing:0}
.cryprev-calculator .cryprev-text-button:hover{text-decoration:underline}
.cryprev-calculator .cryprev-storage-note{font-size:12px;color:var(--cryprev-muted);margin:0 0 10px}
.cryprev-calculator .cryprev-results{background:#f3f7f5;border:1px solid #e0e9e4;border-radius:12px;padding:20px;margin-top:22px}
.cryprev-calculator .cryprev-result-status{font-size:12px;color:#5b675f;margin:0 0 12px}
.cryprev-calculator .cryprev-results[data-state=outdated]{border-style:dashed}
.cryprev-calculator .cryprev-results[data-state=outdated] output{opacity:.62}
.cryprev-calculator .cryprev-result-label{display:block;font-size:12px;color:#526563;margin-bottom:4px}
.cryprev-calculator .cryprev-main-result{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px}
.cryprev-calculator .cryprev-main-result>div{min-width:0}
.cryprev-calculator output{display:block;color:var(--cryprev-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.4}
.cryprev-calculator output[data-output=profit]{font-size:32px;font-weight:750;letter-spacing:-.035em}
.cryprev-calculator .cryprev-roi{flex:0 0 auto;text-align:right;max-width:44%}
.cryprev-calculator .cryprev-roi output{font-size:18px;font-weight:650;padding-top:7px}
.cryprev-calculator .cryprev-secondary-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid #dce6df;padding-top:16px}
.cryprev-calculator .cryprev-secondary-results output{font-size:17px;font-weight:650}
.cryprev-calculator .cryprev-details-toggle{margin-top:8px}
.cryprev-calculator .cryprev-details{margin:4px 0 0;border-top:1px solid #dce6df;padding-top:10px}
.cryprev-calculator .cryprev-details>div{display:flex;justify-content:space-between;gap:18px;font-size:12px;padding:6px 0}
.cryprev-calculator .cryprev-details dt{color:#526563}
.cryprev-calculator .cryprev-details dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0;max-width:62%;font-variant-numeric:tabular-nums}
.cryprev-calculator .cryprev-positive{color:#15803d}
.cryprev-calculator .cryprev-negative{color:#dc2626}
.cryprev-calculator .cryprev-neutral{color:#6b7280}
.cryprev-calculator .cryprev-disclaimer{font-size:11px;color:#596c66;margin-top:20px;line-height:1.7}
.cryprev-calculator .cryprev-disclaimer>span{font-weight:650}
.cryprev-calculator .cryprev-disclaimer p{font-size:inherit;margin:4px 0 0}
.cryprev-calculator .cryprev-noscript{color:#b91c1c;font-size:14px}
@container (max-width:560px){.cryprev-calculator .cryprev-prices{grid-template-columns:1fr}.cryprev-calculator .cryprev-heading h1{font-size:22px}.cryprev-calculator output[data-output=profit]{font-size:28px}.cryprev-calculator .cryprev-results{padding:16px}.cryprev-calculator .cryprev-main-result{gap:10px}.cryprev-calculator .cryprev-roi output{font-size:16px}.cryprev-calculator .cryprev-secondary-results output{font-size:15px}}
@container (max-width:400px){.cryprev-calculator .cryprev-coin-row{flex-wrap:wrap;gap:0}.cryprev-calculator .cryprev-coin-row .cryprev-field{flex-basis:100%;margin-bottom:8px}.cryprev-calculator .cryprev-coin-row .cryprev-change{margin:4px 0 14px}.cryprev-calculator .cryprev-price-note{margin-top:2px}}
@media(max-width:600px){.cryprev-calculator{padding:16px;border-radius:14px}.cryprev-calculator .cryprev-coin-row{gap:8px}}
@media(prefers-reduced-motion:reduce){.cryprev-calculator *{animation:none;transition:none}}
@keyframes cryprev-spin{to{transform:rotate(360deg)}}
.cryprev-calculator [hidden][hidden]{display:none}
