/* Requested calculator and animated breakdown, using the established DiPay palette. */
.calculator .fee-range-label { display:block; font-size:12px; margin:0 0 10px; }
.calculator .fee-range { --range-progress:0.5%; appearance:none; -webkit-appearance:none; display:block; width:100%; height:7px; padding:0; margin:16px 0 13px; border:0; border-radius:20px; background:linear-gradient(to right,var(--ink) 0 var(--range-progress),#e8ecdf var(--range-progress) 100%); cursor:pointer; }
.fee-range::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:23px; height:23px; border:3px solid white; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1px #aeb69e; }
.fee-range::-moz-range-thumb { width:18px; height:18px; border:3px solid white; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1px #aeb69e; }
.fee-range:focus-visible { outline:2px solid #87966e; outline-offset:8px; }
.fee-range-endpoints { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; }
.calculator > .fee-input-help { margin:8px 0 18px; font-size:11px; }
.calculator > .fee-input-error { min-height:0; margin:0; color:#a33427; font-size:12px; }
.fee-input-error:not(:empty) { padding:0 0 15px; }
.calculator .presets button[aria-pressed="true"] { color:var(--ink); background:#d7fa72; }
.fee-calculator-note { border-top:1px solid #d9dfcf; padding-top:18px; }
.fee-breakdown { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:40px; margin:35px 0 22px; padding:38px; border-radius:22px; background:#f1f4e9; overflow:hidden; }
.fee-breakdown .eyebrow { font-size:10px; letter-spacing:2px; margin:0 0 15px; }
.fee-breakdown h3 { font-size:clamp(23px,2.5vw,33px); line-height:1.15; letter-spacing:-1px; font-weight:500; margin:0 0 16px; }
.fee-breakdown-copy > p { max-width:440px; }
.fee-breakdown-legend { margin:24px 0 0; }
.fee-breakdown-legend > div { display:flex; justify-content:space-between; gap:15px; padding:13px 0; border-top:1px solid #dbe2cc; font-size:13px; }
.fee-breakdown-legend dt { display:flex; align-items:center; gap:9px; }
.fee-breakdown-legend dd { text-align:right; font-weight:600; margin:0; font-variant-numeric:tabular-nums; }
.fee-breakdown-legend .fee-network-line { color:#687458; }
.fee-dot { display:inline-block; width:9px; height:9px; flex-shrink:0; border-radius:50%; }
.credit-dot { background:#bcdf66; }
.service-dot { background:var(--ink); }
.network-dot { border:1px solid #87966e; }
.fee-breakdown .fee-chart-caption,.panel .fee-chart-caption { font-size:12px; line-height:1.7; color:var(--muted); }
.fee-breakdown-copy .fee-chart-caption { margin-top:15px; }
.fee-ring-wrap { position:relative; width:100%; max-width:340px; margin:auto; aspect-ratio:1; }
.fee-ring { width:100%; height:100%; transform:rotate(-90deg); overflow:visible; }
.fee-ring circle { fill:none; stroke-width:15; }
.fee-ring-track { stroke:#e1e7d5; }
.fee-ring-service { stroke:var(--ink); }
.fee-ring-credit { stroke:#c7ee76; stroke-linecap:butt; }
.fee-ring-zero .fee-ring-credit,.fee-ring-zero .fee-ring-service { visibility:hidden; }
.fee-ring-label { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; }
.fee-ring-label span,.fee-ring-label small { font-size:11px; color:#687458; }
.fee-ring-label strong { font-size:clamp(24px,3.2vw,38px); font-weight:500; letter-spacing:-1px; font-variant-numeric:tabular-nums; }
.fee-breakdown.fee-reveal .fee-ring-credit { animation:fee-ring-reveal 1.5s cubic-bezier(.2,.65,.3,1) both; }
.fee-breakdown.fee-reveal .fee-breakdown-legend > div { animation:fee-item-reveal .6s ease both; }
.fee-breakdown.fee-reveal .fee-breakdown-legend > div:nth-child(2) { animation-delay:.16s; }
.fee-breakdown.fee-reveal .fee-breakdown-legend > div:nth-child(3) { animation-delay:.32s; }
.network-fee-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:30px 0; }
.network-fee-steps > div { border-top:1px solid var(--line); padding-top:20px; }
.network-step-number { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:50%; background:#edf2e3; color:#687458; font-size:12px; margin-bottom:14px; }
.network-fee-steps h3 { font-size:17px; font-weight:500; margin:0 0 10px; }
.network-fee-steps p { font-size:13px; line-height:1.7; }
.network-fee-summary { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; padding:21px 24px; border-radius:12px; background:#edf2e3; margin:0 0 22px; }
.network-fee-summary strong { font-size:15px; font-weight:500; }
.network-fee-summary span { font-size:12px; color:#687458; }
.fee-network-tags { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 15px; }
.fee-network-tags span { padding:7px 12px; border:1px solid var(--line); border-radius:20px; font-size:11px; }
@keyframes fee-ring-reveal { from { stroke-dasharray:0 100; } to { stroke-dasharray:var(--credit-share) 100; } }
@keyframes fee-item-reveal { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:850px) { .fee-breakdown { padding:26px; gap:22px; } .network-fee-steps { gap:18px; } }
@media(max-width:650px) { .fee-breakdown { grid-template-columns:1fr; padding:24px 18px; } .fee-ring-wrap { grid-row:1; max-width:255px; } .fee-ring-label strong { font-size:30px; } .fee-breakdown-legend > div { font-size:12px; } .network-fee-steps { grid-template-columns:1fr; gap:14px; } .network-fee-steps > div { padding-top:16px; } .network-step-number { margin-bottom:10px; } .network-fee-summary { padding:18px; } }
@media(prefers-reduced-motion:reduce) { .fee-breakdown.fee-reveal .fee-ring-credit,.fee-breakdown.fee-reveal .fee-breakdown-legend > div { animation:none; } }

/* A compact visual quote: amount, percentage, then a network-specific quote. */
.network-visual-intro { margin-top:10px; }
.fee-formula { display:grid; grid-template-columns:1fr 32px 1fr 32px 1fr; align-items:center; gap:12px; padding:32px 24px; margin:24px 0 34px; background:#f1f4e9; border-radius:22px; }
.fee-formula-part { display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; min-width:0; }
.fee-formula-symbol { display:flex; align-items:center; justify-content:center; height:76px; width:76px; border-radius:50%; background:var(--lime); color:var(--ink); font-size:31px; font-weight:500; margin-bottom:8px; }
.fee-formula-service { background:var(--ink); color:white; font-size:25px; }
.fee-formula-network { border:1px solid #bbc6a9; background:#fff; }
.fee-formula-network svg { height:32px; width:32px; fill:none; stroke:#687458; stroke-width:1.5; }
.fee-formula-part strong { font-size:clamp(19px,2.3vw,29px); font-weight:500; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
.fee-formula-part > span:last-child { font-size:14px; color:var(--muted); }
.fee-formula-operator { text-align:center; font-size:27px; color:#8a9877; margin-top:-42px; }
.fee-network-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; }
.fee-network-heading h3 { margin:0; font-size:21px; font-weight:500; }
.fee-preview-badge { padding:6px 10px; border-radius:20px; background:#f1f4e9; color:#687458; font-size:12px; }
.panel .fee-network-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0; list-style:none; padding:0; }
.fee-network-option { display:flex; align-items:center; gap:13px; border:1px solid #dfe4d7; border-radius:16px; padding:18px 14px; background:#fff; font-weight:400; min-width:0; }
.fee-network-option > span:last-child { min-width:0; overflow-wrap:anywhere; }
.fee-network-emblem { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:43px; height:43px; border-radius:50%; background:white; }
.fee-network-emblem img { width:31px; height:31px; object-fit:contain; }
.fee-network-option strong { display:block; font-weight:500; font-size:14px; line-height:1.2; }
.fee-network-option small { display:block; margin-top:6px; font-size:11px; color:var(--muted); }
.fee-network-selection { display:flex; align-items:center; gap:15px; padding:20px; border:1px solid var(--line); border-radius:14px; }
.fee-selection-mark { display:flex; align-items:center; justify-content:center; height:34px; width:34px; border-radius:50%; background:var(--lime); flex-shrink:0; }
.fee-network-selection strong { font-size:16px; font-weight:500; }
.panel .fee-network-selection p { margin:5px 0 0; font-size:14px; line-height:1.6; }
.panel .fee-external-charge { font-size:13px; margin:13px 0 24px; }
.fee-explainer { padding:0; margin:0; border-top:1px solid var(--line); }
.fee-explainer summary { cursor:pointer; padding:19px 0; font-size:15px; font-weight:500; }
.panel .fee-explainer p { font-size:14px; line-height:1.75; margin:0 0 22px; max-width:850px; }
@media(max-width:1000px) { .panel .fee-network-options { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
 .fee-formula { grid-template-columns:1fr 16px 1fr 16px 1fr; gap:5px; padding:23px 9px; border-radius:16px; }
 .fee-formula-symbol { height:51px; width:51px; font-size:24px; }
 .fee-formula-service { font-size:20px; }
 .fee-formula-part { gap:8px; }
 .fee-formula-part strong { font-size:17px; letter-spacing:-.5px; }
 .fee-formula-part > span:last-child { font-size:11px; max-width:85px; line-height:1.5; }
 .fee-formula-operator { margin-top:-40px; font-size:22px; }
 .panel .fee-network-options { gap:8px; }
 .fee-network-option { gap:8px; padding:17px 10px; }
 .fee-network-emblem { width:31px; height:31px; }
 .fee-network-emblem img { width:26px; height:26px; }
 .fee-network-option strong { font-size:13px; }
 .fee-network-selection { align-items:flex-start; padding:16px; gap:10px; }
}
