:root{color-scheme:light;--ink:#18332d;--muted:#60736b;--line:#dce3dc;--gold:#966d2d}*{box-sizing:border-box}body{margin:0;background:#f8f9f5;color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}header,main,footer{max-width:1120px;margin:auto;padding:26px 28px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{font-size:26px;font-weight:750;text-decoration:none;letter-spacing:-1px}nav{display:flex;gap:22px;font-size:14px}h1{font-size:clamp(32px,5.5vw,62px);line-height:1.13;letter-spacing:-2px;max-width:900px;margin:40px 0 24px}h2{font-size:26px;letter-spacing:-.6px;margin-top:42px}p{max-width:920px}.lede,.answer{font-size:19px;color:var(--muted);max-width:850px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:var(--muted)}#calculator{display:grid;grid-template-columns:1fr 1.1fr;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:white;margin:30px 0}.controls{padding:32px}.result{background:#eaf0e5;padding:32px;min-width:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}input,select,button{font:inherit;color:inherit;max-width:100%;border:1px solid #bac8bd;border-radius:9px;padding:12px;background:white}input,select{display:block;width:100%;margin-top:7px}button{cursor:pointer;background:var(--ink);color:white;font-weight:600}button:hover{background:#315349}input:focus,select:focus,button:focus{outline:3px solid #bf9e58;outline-offset:2px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}#total{display:block;font-size:clamp(36px,5vw,66px);letter-spacing:-2px;line-height:1.25;margin-top:18px;overflow-wrap:anywhere}#per-coin{color:var(--muted);margin-top:8px}#breakdown p{font-size:14px;border-top:1px solid #ccd8c9;padding-top:10px}#unpriced,.price-note{font-size:12px;color:var(--muted)}table{width:100%;border-collapse:collapse;text-align:left;background:white;font-size:14px}caption{text-align:left;font-size:22px;font-weight:650;margin:16px 0}th,td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}td{font-variant-numeric:tabular-nums}th{font-weight:600}.table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px}.table-wrap table{min-width:540px}.links{display:flex;flex-wrap:wrap;gap:12px}.links a{padding:10px 15px;border:1px solid var(--line);border-radius:30px;background:white}section{margin-bottom:30px}details{border-bottom:1px solid var(--line);padding:16px 0}summary{font-weight:600;cursor:pointer}footer{margin-top:45px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}footer a{line-height:2.3}.breadcrumbs{font-size:13px;color:var(--muted)}#junk{padding:24px;background:#eaf0e5;border-radius:20px;max-width:650px}#junk-result{font-size:28px;font-weight:700}#share-output{margin-top:16px;overflow-wrap:anywhere}.quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:-6px}.quick button{padding:7px 12px;background:white;color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}.quick button:hover{background:#eaf0e5}.worked{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:-8px}.tap-rows{margin-bottom:22px}.tap-row{padding:12px 0;border-bottom:1px solid var(--line)}.tap-row p{margin:0 0 8px}.tap-row strong{font-size:20px;font-variant-numeric:tabular-nums}.tap-row .quick{flex-wrap:nowrap;margin:0 0 6px}.tap-row .quick button{flex:1 1 0;min-height:44px;padding:7px 4px}.quick button[aria-pressed=true]{background:var(--ink);color:#fff}.tap-link{font-size:14px}.tap-hint{margin:-6px 0 8px;font-size:15px;font-weight:700;color:var(--gold)}.tap-hint+.quick{margin-top:0;flex-wrap:nowrap}.tap-hint+.quick button{flex:1 1 0;min-height:44px;padding:7px 4px}@media(max-width:600px){header,main,footer{padding:20px}header{align-items:start;gap:12px}nav{gap:10px;flex-wrap:wrap;justify-content:end;font-size:12px}.brand{font-size:23px;white-space:nowrap}h1{letter-spacing:-1px;margin-top:25px}#calculator{grid-template-columns:1fr}.controls,.result{padding:22px}th,td{padding:11px}table{overflow-wrap:anywhere}.answer{font-size:17px}}
/* Compact standalone iframe documents. */
.embed{background:white;font-size:12px;line-height:1.25}.embed main{padding:10px 12px 0;max-width:420px}.embed h1{font-size:16px;line-height:1.15;letter-spacing:0;margin:0 0 8px}.embed #calculator,.embed #junk{display:block;border:0;border-radius:0;background:none;padding:0;margin:0;max-width:none}.embed label{font-size:11px;margin:0}.embed input,.embed select{font-size:12px;line-height:16px;padding:4px 6px;margin:3px 0 0;border-radius:5px;height:28px}.embed .pair{gap:10px}.embed #total{font-size:28px;line-height:1.1;letter-spacing:-.5px;margin:7px 0 5px}.embed #breakdown{font-size:11px;line-height:14px;max-height:42px;overflow:auto}.embed #breakdown span+span:before{content:' · '}.embed .price-note{font-size:10px;line-height:12px;margin:7px 0 0;max-height:24px;overflow:auto}.embed footer{max-width:420px;padding:6px 12px 8px;margin:0 auto;border:0;font-size:11px;line-height:14px}.embed footer a{line-height:14px}.embed #junk>label{margin-bottom:6px}.embed #junk-result{font-size:23px;line-height:1.1;margin:7px 0 0;overflow-wrap:anywhere;max-height:51px;overflow:auto}.embed-box textarea,#embed-code{display:block;width:100%;min-height:100px;font:12px/1.5 monospace;padding:10px;margin:12px 0;border:1px solid var(--line);border-radius:9px}

.embed.data-failed main{padding-top:6px}.embed.data-failed h1{margin-bottom:4px}.embed.data-failed input,.embed.data-failed select{height:24px;padding-top:2px;padding-bottom:2px}.embed.data-failed .price-note{font-size:9px;line-height:10px;margin-top:4px}.embed .data-error{font-size:10px;line-height:12px;margin:4px 0 0}

/* Fixed-size silver badge, using the shared embed shell. */
.badge main{max-width:300px;padding:8px 10px 0}.badge h1{font-size:14px;margin-bottom:3px}
#badge-scope{font-size:11px;line-height:12px;margin:0 0 1px}
#badge{display:flex;justify-content:space-between;gap:8px;margin:0}#badge span{font-size:11px}#badge strong{display:block;font-size:19px;line-height:1.1}
#badge-spot{font-size:11px;line-height:13px;margin:3px 0 0}.badge .price-note{margin-top:4px}.badge footer{max-width:300px;padding:3px 10px}
section>textarea{display:block;width:100%;min-height:100px;font:12px/1.5 monospace;margin:12px 0}

.badge.data-failed h1{font-size:12px;margin-bottom:3px}.badge.data-failed #badge strong{font-size:16px}.badge.data-failed #badge-spot{margin-top:3px}.badge.data-failed .data-error{font-size:9px;line-height:10px;margin-top:2px}
