/* RateGuruji v2 – Banknote layer on the ledger concept (pattern taken from BazaarGuruji v2). rg- prefix only; uses --bn-* variables from banknote.css.
   Gold and light text only on navy; paper surfaces use ink #0A1633 and muted #4A5163. Mobile first; every flex/grid child has min-width:0. */
.rg-main{--rg-ink:var(--bn-ink,#0A1633);--rg-mut:var(--bn-muted,#4A5163);--rg-line:var(--bn-line,rgba(10,22,51,.12));overflow-x:clip}
.rg-main *{box-sizing:border-box}
.rg-sec{padding:clamp(22px,4vw,40px) 0}.rg-sec.alt{background:#F6F3EC}
.rg-h{margin:0 0 14px}.rg-h h2{font:600 clamp(23px,3vw,34px)/1.12 var(--bn-f-d);color:var(--rg-ink);margin:0;letter-spacing:-.01em}.rg-h p{color:var(--rg-mut);margin:6px 0 0;font:400 14.5px/1.5 var(--bn-f-u)}
.rg-split{display:grid;gap:18px}.rg-split>*{min-width:0}
@media(min-width:960px){.rg-split{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:26px;align-items:start}}
.rg-card{text-decoration:none!important;display:block}
.bn-cards{margin:0}.rg-sec .bn-cards+.rg-ex,.rg-sec .rg-ex+.rg-ex,.rg-sec .rg-ex+.rg-more,.rg-sec .bn-cards+.rg-more,.rg-more+.rg-more,.rg-more+div,.rg-list+.rg-ex{margin-top:12px}
@media(max-width:520px){.rg-main .bn-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rg-main .bn-card{padding:12px}.rg-main .bn-card .bn-ic{width:34px;height:34px;margin-bottom:8px}.rg-main .bn-card b{font-size:19px;margin:4px 0 6px}.rg-main .bn-card p{font-size:12.5px;line-height:1.4}.rg-main .bn-card span{font-size:11px;letter-spacing:.04em}}
/* rate board: rows (paper) */
.rg-board{display:grid;gap:0;background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:4px 14px;box-shadow:0 1px 2px rgba(10,22,51,.06),0 8px 24px -14px rgba(10,22,51,.25)}
.rg-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--rg-line);min-width:0}
.rg-row:last-of-type{border-bottom:0}.rg-row>*{min-width:0}
.rg-row .n{display:flex;flex-direction:column;gap:3px;flex:1 1 auto}
.rg-row .n b{font:600 15px/1.25 var(--bn-f-u);color:var(--rg-ink);overflow-wrap:anywhere}
.rg-row .n small{font:400 12px/1.35 var(--bn-f-u);color:var(--rg-mut);overflow-wrap:anywhere}
.rg-row .p{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto;text-align:right;max-width:58%}
.rg-row .p>b{font:600 19px/1.1 var(--bn-f-d);color:var(--rg-ink);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.rg-row .p>b small{font:500 12px/1 var(--bn-f-u);color:var(--rg-mut);margin-left:2px}
.rg-row .tag{font:600 10.5px/1.2 var(--bn-f-u);font-style:normal;letter-spacing:.03em;color:var(--rg-ink);background:#EEF1F7;border-radius:999px;padding:3px 8px;white-space:nowrap}
.rg-row .tag.calc{background:#FFF1D9;color:#5A3A00}.rg-row .tag.ph{background:#F0F0F0;color:#555}
.rg-row.ph .p>b{color:var(--rg-mut)}
.rg-row.upd .p>b{animation:rgflash 1.2s var(--bn-ease)}@keyframes rgflash{0%{color:#B86E00}100%{}}
.rg-bfoot{font:400 12px/1.45 var(--bn-f-u);color:var(--rg-mut);margin:6px 0 10px;padding-top:8px;border-top:1px dashed var(--rg-line)}
.rg-bfoot a{color:var(--rg-ink)}
.rg-live{font:500 12.5px/1.4 var(--bn-f-u);color:var(--rg-mut);margin:0 0 10px;display:flex;align-items:center;gap:8px}
.rg-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#2E9D5B;flex:none;box-shadow:0 0 0 3px rgba(46,157,91,.18)}
.rg-live.off::before{background:#B0B6C3;box-shadow:none}
/* rate board inside the navy hero tool */
.bn-tool .rg-board{background:transparent;border:0;box-shadow:none;padding:0}
.bn-tool .rg-row{border-bottom-color:var(--bn-rule);padding:9px 0}
.bn-tool .rg-row .n b{color:#fff}.bn-tool .rg-row .n small,.bn-tool .rg-bfoot{color:var(--bn-mist)}
.bn-tool .rg-row .p>b{color:var(--bn-gold)}.bn-tool .rg-row .p>b small{color:var(--bn-mist)}
.bn-tool .rg-row.ph .p>b{color:var(--bn-mist)}
.bn-tool .rg-row .tag{background:rgba(255,255,255,.1);color:var(--bn-text)}.bn-tool .rg-row .tag.calc{background:rgba(255,181,71,.2);color:var(--bn-gold-2)}.bn-tool .rg-row .tag.ph{background:rgba(255,255,255,.06);color:var(--bn-mist)}
.bn-tool .rg-bfoot{border-top-color:var(--bn-rule);margin-bottom:0}.bn-tool .rg-bfoot a{color:var(--bn-gold)}
.bn-tool .rg-live{color:var(--bn-mist);margin:-4px 0 4px;font-size:12px}
@media(max-width:640px){.bn-hero .bn-trust{display:none}.bn-hero .bn-lead{margin-bottom:18px}.bn-hero .bn-grid{gap:0}}
.rg-hlinks{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}.rg-hlinks .bn-btn{margin-top:12px}
.rg-ghost{margin-top:12px;font:600 14px/1.2 var(--bn-f-u);color:var(--bn-gold)!important;text-decoration:underline;text-underline-offset:3px;padding:10px 0}
@media(max-width:400px){.rg-row .n b{font-size:14px}.rg-row .p>b{font-size:17px}.bn-tool{padding:14px}}
/* list rows (purity, metals, mandi lists) */
.rg-list{display:grid;background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:2px 14px}
.rg-li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--rg-line);font:400 14px/1.3 var(--bn-f-u);color:var(--rg-ink)}
.rg-li:last-child{border-bottom:0}.rg-li>*{min-width:0}.rg-li span{display:flex;flex-direction:column;gap:2px}.rg-li small{color:var(--rg-mut);font-size:12.5px}.rg-li>b{white-space:nowrap;font-variant-numeric:tabular-nums}
/* calculators */
.rg-tool{display:grid;gap:14px}.rg-tool>*{min-width:0}
@media(min-width:900px){.rg-sec>.wrap>.rg-tool{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.rg-tool .rg-res{position:sticky;top:84px}}
.rg-split .rg-tool+.rg-tool{margin-top:16px}
.rg-form{background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:16px;display:grid;gap:14px;color:var(--rg-ink);box-shadow:0 1px 2px rgba(10,22,51,.06),0 8px 24px -14px rgba(10,22,51,.25)}
@media(min-width:600px){.rg-form{padding:22px}}
.rg-form h2{font:600 20px/1.2 var(--bn-f-d);margin:0;color:var(--rg-ink)}
.rg-f{min-width:0}.rg-f label,.rg-lab{display:block;font:600 13.5px/1.3 var(--bn-f-u);color:var(--rg-ink);margin-bottom:6px}
.rg-f .h{font:400 12.5px/1.4 var(--bn-f-u);color:var(--rg-mut);margin:6px 0 0}
.rg-2{display:grid;gap:14px}.rg-2>*{min-width:0}@media(min-width:420px){.rg-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}}
.rg-num{display:flex;align-items:center;gap:6px;border:1px solid rgba(10,22,51,.28);border-radius:10px;padding:0 10px;background:#fff;min-height:44px;min-width:0}
.rg-num:focus-within{border-color:#0A1633;box-shadow:0 0 0 2px rgba(10,22,51,.18)}
.rg-num input,.rg-num select{flex:1;min-width:0;width:100%;border:0;background:transparent;color:var(--rg-ink);font:600 16px/1.2 var(--bn-f-u);font-variant-numeric:tabular-nums;padding:10px 0;outline:none}
.rg-num .pre,.rg-num .u{color:var(--rg-mut);font:500 13px/1 var(--bn-f-u);white-space:nowrap;flex:none}
.rg-chips{display:flex;flex-wrap:wrap;gap:6px}
.rg-form .rg-chip{color:var(--rg-ink);background:#fff;border-color:rgba(10,22,51,.24);white-space:normal;text-align:left;line-height:1.2}
.rg-form .rg-chip[aria-pressed=true]{background:var(--bn-navy);color:#fff;border-color:var(--bn-navy)}
.rg-note{font:400 13px/1.45 var(--bn-f-u);color:var(--rg-mut);margin:0}.rg-note:empty{display:none}
.rg-form .rg-note[role=alert]{color:#9B1C1C;font-weight:600}
.rg-risk{font:400 12.5px/1.5 var(--bn-f-u);color:var(--bn-mist);margin:14px 0 0}.rg-risk a{color:var(--bn-gold)}
.rg-res{padding:18px}@media(min-width:600px){.rg-res{padding:24px}}
.rg-res .bn-big{font-size:clamp(34px,9vw,60px)}
.rg-res .bn-pair b{font-size:19px;overflow-wrap:anywhere}
.rg-res .rg-t{color:var(--bn-text);margin-top:14px}.rg-res .rg-t td{border-bottom-color:var(--bn-rule)}.rg-res .rg-t td:first-child{color:var(--bn-mist)}
.rg-t{width:100%;border-collapse:collapse;font:400 13.5px/1.35 var(--bn-f-u);font-variant-numeric:tabular-nums;color:var(--rg-ink)}
.rg-t td,.rg-t th{padding:7px 4px;border-bottom:1px solid var(--rg-line);text-align:right;overflow-wrap:anywhere}
.rg-t td:first-child,.rg-t th:first-child{text-align:left;padding-left:0}.rg-t td:last-child,.rg-t th:last-child{padding-right:0}
.rg-tl td,.rg-tl th{text-align:left}.rg-tl th{font:600 12px/1.2 var(--bn-f-u);color:var(--rg-mut)}
@media(max-width:480px){.rg-tl{font-size:12.5px}.rg-tl td,.rg-tl th{padding:6px 3px}}
.rg-city{max-width:340px;margin-bottom:12px}
/* worked example, more, faq */
.rg-ex{display:flex;gap:14px;align-items:flex-start;padding:16px;background:#fff;border:1px solid var(--rg-line);border-left:3px solid var(--bn-gold);border-radius:14px;font:400 15px/1.6 var(--bn-f-u);color:var(--rg-ink)}
.rg-ex .bn-ic{flex:none;margin:0;width:34px;height:34px}.rg-ex>div{min-width:0;overflow-wrap:anywhere}.rg-ex a{color:var(--rg-ink)}
@media(max-width:480px){.rg-ex{gap:10px;padding:14px;font-size:14.5px}.rg-ex .bn-ic{display:none}}
.rg-more,.rg-faq details{background:#fff;border:1px solid var(--rg-line);border-radius:14px;padding:0 16px;color:var(--rg-ink)}
.rg-more summary,.rg-faq summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;min-height:48px;padding:6px 0;font:600 15px/1.3 var(--bn-f-u);list-style:none}
.rg-more summary::-webkit-details-marker,.rg-faq summary::-webkit-details-marker{display:none}
.rg-more summary svg,.rg-faq summary svg{width:18px;height:18px;flex:none;transition:transform .2s}.rg-more[open] summary svg,.rg-faq details[open] summary svg{transform:rotate(180deg)}
.rg-more>div{padding:0 0 14px;font:400 14.5px/1.6 var(--bn-f-u);color:var(--rg-ink);overflow-wrap:anywhere}.rg-more>div>:first-child{margin-top:0}.rg-more ul,.rg-more ol{padding-left:20px;margin:8px 0}.rg-more li{margin:4px 0}.rg-more a{color:var(--rg-ink)}
.rg-faq{display:grid;gap:8px}.rg-faq p{margin:0 0 14px;font:400 14.5px/1.6 var(--bn-f-u);color:var(--rg-mut)}
/* ask + disclaimer */
.rg-ask{margin-top:18px;background:var(--bn-navy);color:var(--bn-text);border-radius:16px;padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;border-top:3px solid var(--bn-gold)}
.rg-ask p{margin:0;font:500 15px/1.45 var(--bn-f-u);min-width:0;flex:1 1 240px}.rg-ask .bn-btn{margin:8px 0 0}
.rg-disc{background:#EEF0F5;padding:16px 0;border-top:1px solid var(--rg-line)}
.rg-disc .rg-note{font-size:12.5px;color:#3D4457}
.rg-disc details{margin-top:6px}.rg-disc summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:600 13px/1.3 var(--bn-f-u);color:#0A1633;min-height:36px}.rg-disc summary svg{width:16px;height:16px}
.rg-disc details p{font:400 12.5px/1.6 var(--bn-f-u);color:#3D4457;margin:6px 0 0}
.rg-discbox{margin-top:16px;background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:16px;color:var(--rg-ink);font:400 14px/1.6 var(--bn-f-u)}.rg-discbox h2{font:600 20px/1.2 var(--bn-f-d);margin:0 0 8px}
.rg-main a:focus-visible,.rg-main summary:focus-visible,.rg-disc summary:focus-visible{outline:2px solid #0A1633;outline-offset:2px}
.bn-hero a:focus-visible,.bn-tool a:focus-visible,.rg-res a:focus-visible,.rg-ask a:focus-visible{outline-color:var(--bn-gold)}
.bn-big{min-height:1em}
/* ---- RateGuruji additions ---- */
.rg-fx{display:grid;gap:12px}
.rg-fx .rg-2 .rg-num{background:rgba(255,255,255,.06);border-color:var(--bn-rule)}
.bn-tool .rg-f label,.bn-tool .rg-lab{color:var(--bn-text)}
.bn-tool .rg-num{background:rgba(255,255,255,.06);border:1px solid var(--bn-rule)}
.bn-tool .rg-num input,.bn-tool .rg-num select{color:#fff}.bn-tool .rg-num select option{color:#0A1633}
.bn-tool .rg-num .pre,.bn-tool .rg-num .u{color:var(--bn-mist)}
.rg-out{display:grid;gap:8px;margin-top:4px}
.rg-out>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 12px;border:1px solid var(--bn-rule);border-radius:12px;min-width:0}
.rg-out>div>span{font:500 13px/1.35 var(--bn-f-u);color:var(--bn-mist);min-width:0;overflow-wrap:anywhere}
.rg-out>div>b{font:600 22px/1.1 var(--bn-f-d);color:var(--bn-gold);white-space:nowrap;font-variant-numeric:tabular-nums}
.bn-tool .rg-bfoot,.bn-tool .rg-dl{color:var(--bn-mist)}
.rg-dl{font:400 12px/1.5 var(--bn-f-u);color:var(--rg-mut);margin:10px 0 0;overflow-wrap:anywhere}
.rg-wrapt{background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:6px 14px 12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.rg-wrapt .rg-t th{font:600 12px/1.25 var(--bn-f-u);color:var(--rg-mut);text-align:right}.rg-wrapt .rg-t th:first-child{text-align:left}
.rg-wrapt .rg-t td:first-child b{display:block;font-weight:600}.rg-wrapt .rg-t td:first-child small{color:var(--rg-mut);font-size:12px}
.rg-wrapt .rg-cap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:8px 0;font:600 13.5px/1.3 var(--bn-f-u);color:var(--rg-ink)}.rg-wrapt .rg-cap span{font-weight:400;color:var(--rg-mut)}
.rg-wrapt .aw{color:var(--rg-mut);font-style:italic}
@media(max-width:400px){.rg-wrapt{padding:4px 10px 10px}.rg-t{font-size:12.5px}.rg-t td,.rg-t th{padding:6px 2px}}
.rg-fam{display:grid;gap:12px}@media(min-width:720px){.rg-fam{grid-template-columns:1fr 1fr}}
.rg-mf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;background:#fff;border:1px solid var(--rg-line);border-radius:14px;padding:14px 16px;font:500 15px/1.4 var(--bn-f-u);color:var(--rg-ink)}
.rg-mf a{color:var(--rg-ink);font-weight:700}
.rg-prose{max-width:760px;font:400 15.5px/1.65 var(--bn-f-u);color:var(--rg-ink)}.rg-prose h2{font:600 22px/1.2 var(--bn-f-d);margin:26px 0 8px}.rg-prose h2:first-child{margin-top:0}.rg-prose p,.rg-prose li{overflow-wrap:anywhere}.rg-prose a{color:var(--rg-ink)}
.rg-res .rg-t td{color:var(--bn-text)}
.rg-sw{display:inline-block;margin-top:6px;font:600 13px/1.3 var(--bn-f-u)}
[lang=hi] .rg-row .n b,[lang=hi] .rg-prose{line-height:1.5}
.rg-res .rg-dl{color:var(--bn-mist)}
.rg-res .rg-out>div>b{font-size:19px}
.rg-sub2{font:400 13px/1.45 var(--bn-f-u);color:var(--bn-mist);margin:8px 0 0;overflow-wrap:anywhere}
.rg-new{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#FFF1D9;color:#3D2A00;font:500 14px/1.45 var(--bn-f-u)}
.rg-row .p>b small{display:inline-block;min-width:40px;text-align:left}
.rg-t small.rg-tn{display:block;font:400 12px/1.4 var(--bn-f-u);color:var(--bn-mist);margin-top:2px}
.rg-ph{background:#FFF1D9;color:#3D2A00;padding:0 4px;border-radius:4px;font-weight:600}@media (forced-colors:active){.rg-ph{background:Mark;color:MarkText}}
