body:has(.history-page){background:var(--bg)}.history-app{--bg:#faf7f2;--paper:#fffdfa;--text:#292d3d;--muted:#686778;--line:#e8e0dc;--blue:#705d8b;--soft:#eee8f4;--gold:#a77b35;color:var(--text)}.history-app .brand-menu summary{background:#fffdfa}.history-page{width:min(100% - 32px,1040px);margin:32px auto 72px;color:#292d3d}.history-heading{max-width:840px;margin:0 auto 20px;padding:clamp(20px,4vw,36px);text-align:center;border:1px solid #e7deef;border-radius:22px;background:linear-gradient(135deg,#f0eafa,#f7f1fa,#fff8ec);box-shadow:0 12px 30px #4136550b}.history-heading .eyebrow{color:#79638f}.history-heading h1{margin:.3rem 0;font-size:clamp(1.8rem,5vw,3rem);line-height:1.12}.history-heading>p:last-child{max-width:700px;margin:12px auto 0;color:#5b5a69;line-height:1.65}.history-data-note{max-width:840px;margin:0 auto 18px;padding:14px 16px;border:1px solid #e4d4ae;border-radius:12px;background:#fff8e9;color:#634a16;line-height:1.55}.history-form{padding:clamp(16px,3vw,28px);border:1px solid #e8e0dc;border-radius:20px;background:#fffdfa;box-shadow:0 12px 35px #352b240c}.history-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.history-field-grid label{display:grid;align-content:start;gap:7px;min-width:0;font-size:.9rem;font-weight:650;line-height:1.4}.history-field-grid input,.history-field-grid select{width:100%;min-height:48px;min-width:0;padding:10px 12px;border:1px solid #ddd5d0;border-radius:10px;background:#fff;color:inherit;font:inherit;font-weight:450}.history-field-grid input[type=number],.history-field-grid input[type=date],.history-field-grid input[type=month]{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}.history-field-grid input:focus,.history-field-grid select:focus{outline:3px solid #8b76a444;outline-offset:2px;border-color:#79638f}.history-field-grid select:disabled{opacity:1;color:inherit}.history-source-field{grid-column:1/-1}.history-note{margin:14px 0 0;color:#646273;font-size:.88rem;line-height:1.55}.history-error{padding:12px;border-radius:10px;background:#fff0ee;color:#8a2525}.history-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.history-actions button{min-height:48px;padding:11px 18px;border:1px solid #d8d0cb;border-radius:11px;background:#fff;color:inherit;font:inherit;cursor:pointer}.history-actions button:focus-visible{outline:3px solid #8b76a4;outline-offset:3px}.history-actions .history-primary{border-color:#625177;background:#625177;color:#fff;font-weight:700}.history-actions .history-primary:hover{background:#504364}.history-result{margin-top:24px;padding:clamp(16px,3vw,26px);border:1px solid #e2d9e9;border-radius:20px;background:#f5f0f8}.history-result .eyebrow{font-weight:700;color:#705d8b}.history-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-result-grid>div{display:grid;gap:6px;min-width:0;padding:14px;border:1px solid #e8e0ec;border-radius:13px;background:#fffdfa}.history-result-grid span,.history-result-grid small{color:#606070}.history-result-grid strong{font-size:clamp(1.1rem,3.5vw,1.5rem);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.history-result>p{color:#626170;font-size:.88rem;line-height:1.55}@media(max-width:600px){.history-page{width:min(100% - 24px,1040px);margin-top:18px}.history-heading{border-radius:18px;padding:21px 17px;margin-bottom:16px}.history-field-grid{grid-template-columns:minmax(0,1fr);gap:13px}.history-source-field{grid-column:auto}.history-result-grid{grid-template-columns:minmax(0,1fr)}.history-actions button{flex:1}}@media(prefers-reduced-motion:reduce){.history-page *,.history-page *:before,.history-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.history-field-grid input:disabled{background:#f1edf3;color:#51475d;opacity:1}.history-page .history-note{margin-bottom:14px}.history-page p{overflow-wrap:anywhere}[data-theme=dark] .history-page{color:#f2edf6}[data-theme=dark] .history-form,[data-theme=dark] .history-result-grid>div,[data-theme=dark] .history-field-grid input,[data-theme=dark] .history-field-grid select,[data-theme=dark] .history-actions button{background:#222431;color:#f2edf6;border-color:#575366}[data-theme=dark] .history-heading,[data-theme=dark] .history-result{background:#2b2638;border-color:#575366;color:#f2edf6}[data-theme=dark] .history-heading>p:last-child,[data-theme=dark] .history-note,[data-theme=dark] .history-result>p,[data-theme=dark] .history-result-grid span,[data-theme=dark] .history-result-grid small{color:#d7d1e0}[data-theme=dark] .history-primary{background:#a88bc9!important;color:#17131e!important}[data-theme=dark] .history-field-grid input:disabled{background:#383240;color:#d7d1e0}.history-manual-tag{margin:0 0 16px;padding:10px 12px;border:1px dashed #c9b27a;border-radius:10px;background:transparent;color:#5e4a1c;font-size:.88rem;line-height:1.55;overflow-wrap:anywhere}[data-theme=dark] .history-manual-tag{color:#e9d5a4;border-color:#8a7440}.then-page{--t-ink:#1f2236;--t-muted:#5a5c70;--t-accent:#6a55a0;--t-accent-ink:#ffffff;--t-gold:#a3772e;--t-glass:rgba(255,255,255,.62);--t-glass-strong:rgba(255,255,255,.82);--t-edge:rgba(255,255,255,.75);--t-line:rgba(106,85,160,.16);--t-shadow:0 10px 32px rgba(54,40,92,.1);--t-field:rgba(255,255,255,.9);--t-warn-bg:rgba(255,244,222,.8);--t-warn-ink:#5f4614;--t-err-bg:#fff0ee;--t-err-ink:#8a2525;position:relative;isolation:isolate;width:min(100% - 32px,980px);margin:24px auto 64px;color:var(--t-ink);display:grid;gap:16px}[data-theme=dark] .then-page{--t-ink:#f1eef8;--t-muted:#cfc9dc;--t-accent:#b7a2e6;--t-accent-ink:#17131e;--t-gold:#e7c88b;--t-glass:rgba(34,32,52,.62);--t-glass-strong:rgba(40,37,60,.86);--t-edge:rgba(255,255,255,.1);--t-line:rgba(183,162,230,.22);--t-shadow:0 12px 34px rgba(0,0,0,.35);--t-field:rgba(22,21,36,.85);--t-warn-bg:rgba(70,56,26,.55);--t-warn-ink:#f1dcac;--t-err-bg:#45201f;--t-err-ink:#ffd2cc}body:has(.then-page){background:linear-gradient(160deg,#f6f1ff,#eef4ff 45%,#fff6ea) fixed}[data-theme=dark] body:has(.then-page),[data-theme=dark]:has(.then-page) body{background:linear-gradient(160deg,#151426,#121a2c,#1e1820) fixed}.then-glow{position:absolute;inset:-40px 0 auto;height:420px;z-index:-1;pointer-events:none;background:radial-gradient(40% 60% at 20% 30%,rgba(160,130,230,.28),transparent 70%),radial-gradient(35% 55% at 85% 20%,rgba(120,180,255,.22),transparent 70%),radial-gradient(30% 50% at 60% 80%,rgba(255,200,130,.2),transparent 70%);filter:blur(10px)}.then-glass{background:var(--t-glass);border:1px solid var(--t-edge);border-radius:22px;box-shadow:var(--t-shadow);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}.then-page p,.then-page li,.then-page h1,.then-page h2{overflow-wrap:anywhere}.then-kicker{margin:0 0 8px;color:var(--t-accent);font-size:.8rem;font-weight:700;letter-spacing:.06em}.then-hero{padding:clamp(20px,4vw,34px);text-align:center}.then-hero h1{margin:0;font-size:clamp(1.65rem,5.2vw,2.6rem);line-height:1.18;letter-spacing:-.02em}.then-hero>p:last-child{max-width:640px;margin:12px auto 0;color:var(--t-muted);line-height:1.65}.then-form{padding:clamp(16px,3vw,26px);display:grid;gap:16px}.then-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;min-width:0}.then-kinds legend{padding:0;margin-bottom:10px;font-weight:700}.then-kinds button{min-height:48px;padding:10px 12px;border:1px solid var(--t-line);border-radius:14px;background:var(--t-field);color:var(--t-ink);font-weight:600;line-height:1.3;overflow-wrap:anywhere;transition:background .2s,border-color .2s}.then-kinds button:hover{border-color:var(--t-accent);color:var(--t-ink)}.then-kinds button[aria-pressed=true]{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}.then-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.then-fields label{display:grid;gap:7px;min-width:0;font-weight:650;font-size:.92rem}.then-fields input,.then-fields select{width:100%;min-height:50px;min-width:0;padding:10px 13px;border:1px solid var(--t-line);border-radius:12px;background:var(--t-field);color:var(--t-ink);font:inherit;font-weight:500;font-size:1.05rem}.then-fields input{font-variant-numeric:tabular-nums}.then-fields input:focus,.then-fields select:focus{outline:3px solid color-mix(in srgb,var(--t-accent) 40%,transparent);outline-offset:2px;border-color:var(--t-accent)}.then-hint{color:var(--t-muted);font-weight:450;font-size:.8rem}.then-error{margin:0;padding:12px;border-radius:12px;background:var(--t-err-bg);color:var(--t-err-ink)}.then-primary{min-height:52px;border:0;border-radius:14px;background:var(--t-accent);color:var(--t-accent-ink);font-weight:750;font-size:1.05rem;box-shadow:0 8px 20px color-mix(in srgb,var(--t-accent) 30%,transparent)}.then-primary:hover{filter:brightness(1.07);color:var(--t-accent-ink)}.then-offline{margin:0;color:var(--t-muted);font-size:.8rem;line-height:1.5;text-align:center}.then-result{padding:clamp(16px,3vw,26px);display:grid;gap:14px}.then-result>.then-kicker{margin:0}.then-headline{margin:0;font-size:1.05rem;line-height:1.5}.then-headline strong{display:block;margin-top:4px;font-size:clamp(1.9rem,8vw,2.8rem);line-height:1.15;color:var(--t-accent);font-variant-numeric:tabular-nums}.then-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.then-grid>div{display:grid;gap:5px;min-width:0;padding:14px;border-radius:16px;background:var(--t-glass-strong);border:1px solid var(--t-edge)}.then-grid span,.then-grid small{color:var(--t-muted);font-size:.85rem;line-height:1.45}.then-grid strong{font-size:clamp(1.15rem,4.6vw,1.45rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.then-examples,.then-chart-box{padding:14px;border-radius:16px;background:var(--t-glass-strong);border:1px solid var(--t-edge);min-width:0}.then-result h2,.then-sources h2{margin:0 0 10px;font-size:1rem}.then-examples ul{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:0 0 6px;padding:0;list-style:none}.then-examples li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px solid var(--t-line);min-width:0}.then-examples li:last-child{border-bottom:0}.then-examples b{font-variant-numeric:tabular-nums;white-space:nowrap}.then-examples small{color:var(--t-muted);font-size:.8rem}.then-chart{margin:0;direction:ltr}.then-chart svg{display:block;width:100%;height:170px;overflow:visible}.then-chart-base{stroke:var(--t-line);stroke-width:1;stroke-dasharray:3 4}.then-chart-area{fill:color-mix(in srgb,var(--t-accent) 14%,transparent)}.then-chart-value{fill:none;stroke:var(--t-accent);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.then-chart-prices{fill:none;stroke:var(--t-gold);stroke-width:2.5;stroke-dasharray:7 5;stroke-linejoin:round}.then-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;color:var(--t-muted);font-size:.82rem}.then-legend span{display:inline-flex;align-items:center;gap:6px}.then-legend span:before{content:"";width:18px;height:0;border-top:3px solid var(--t-accent)}.then-legend .then-key-prices:before{border-top:3px dashed var(--t-gold)}.then-axis{direction:ltr;display:flex;justify-content:space-between;margin:6px 0 0;color:var(--t-muted);font-size:.8rem;font-variant-numeric:tabular-nums}.then-chart-summary{margin:8px 0 0;font-size:.85rem;color:var(--t-muted)}.then-result>p{margin:0;color:var(--t-muted);font-size:.86rem;line-height:1.6}.then-advice{margin:0;padding:12px 16px;border-radius:14px;background:var(--t-warn-bg);border:1px solid var(--t-edge);color:var(--t-warn-ink);font-size:.88rem;font-weight:600;line-height:1.55;text-align:center}.then-sources{padding:clamp(16px,3vw,24px)}.then-sources ul{margin:0;padding-inline-start:18px;display:grid;gap:8px;color:var(--t-muted);font-size:.85rem;line-height:1.6}.then-sources a{color:var(--t-accent)}.then-updated{margin:12px 0 0;color:var(--t-muted);font-size:.82rem}@media(min-width:720px){.then-page{margin-top:36px;gap:20px}.then-kinds{grid-template-columns:repeat(4,minmax(0,1fr))}.then-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.then-primary{justify-self:start;padding:0 34px}.then-offline{text-align:start}.then-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.then-grid .then-wide{grid-column:1/-1}.then-chart svg{height:220px}}@media(max-width:400px){.then-page{width:min(100% - 24px,980px);margin-top:14px}.then-hero{padding:20px 16px}.then-glass{border-radius:18px}}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.then-page{--t-glass:rgba(255,255,255,.94)}[data-theme=dark] .then-page{--t-glass:rgba(34,32,52,.96)}}@media(prefers-reduced-motion:reduce){.then-page *{transition:none!important}}:root{font-family:Inter,Segoe UI,Malgun Gothic,sans-serif;font-synthesis:none;--bg:#f4f6fb;--paper:#fff;--text:#14203c;--muted:#5d687e;--line:#e1e6f0;--blue:#2156e8;--soft:#edf2ff;--gold:#80601d;--warn:#785500;color:var(--text);background:var(--bg);color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,input,a{touch-action:manipulation}button,a,select{cursor:pointer}button,select{min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--text)}button:hover{border-color:var(--blue);color:var(--blue)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input{min-height:46px;color:var(--text);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}a{color:var(--blue);text-decoration:none}.app{max-width:1520px;margin:0 auto;padding:0 5%}header{height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--text);font-size:25px;font-weight:800;letter-spacing:1px}.brand-note{font-size:10px;color:var(--muted);font-weight:500;letter-spacing:1.5px;margin-left:14px}.header-controls{display:flex;gap:10px}.header-controls select{font-size:14px}.header-controls button{font-size:22px;padding:5px 14px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:34px 0 28px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:650;color:var(--blue);margin:0 0 12px}h1{font-size:30px;letter-spacing:-1px;margin:0;font-weight:700}.page-title p:last-child{font-size:14px;color:var(--muted);margin-bottom:0;line-height:1.7}.free-badge{font-size:11px;white-space:nowrap;padding:9px 12px;border-radius:20px;border:1px solid var(--line);color:var(--muted);background:var(--paper)}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:28px;align-items:start}.input-panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px;position:sticky;top:20px}.mode-tabs{display:flex;gap:5px;background:var(--bg);padding:5px;border-radius:10px;margin-bottom:28px}.mode-tabs button{border:0;flex:1;font-size:13px;background:transparent}.mode-tabs button.active{background:var(--blue);color:#fff;box-shadow:0 3px 8px #2156e82a}.input-label{font-size:14px;font-weight:600;color:var(--muted)}.amount-wrap{margin:12px 0;position:relative}.amount-wrap input{width:100%;font-size:32px;font-weight:650;padding:18px 12px 37px;letter-spacing:-1px;background:var(--soft);border-color:transparent}.amount-wrap span{position:absolute;right:14px;bottom:10px;color:var(--blue);font-size:12px;font-weight:600}.quick-values{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:25px}.quick-values button{padding:8px 2px;font-size:11px;min-width:0}.field{display:flex;flex-direction:column;gap:10px;margin:18px 0;font-size:14px;font-weight:550}.field select{width:100%;font-size:13px;text-overflow:ellipsis}.data-choice{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.data-choice label{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600}.data-choice input{width:18px;height:18px;min-height:0;accent-color:var(--blue)}.data-choice p,.small-note{font-size:12px;line-height:1.8;color:var(--muted)}.data-choice button{font-size:12px;width:100%}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.section-head h2{font-size:21px;font-weight:650;margin:0;letter-spacing:-.5px}.section-head button{font-size:12px;background:transparent}.result-tools{display:flex;gap:10px;margin-bottom:18px}.result-tools input{flex:1;font-size:13px}.result-tools button{font-size:12px;white-space:nowrap}.result-tools button.selected{border-color:var(--blue);color:var(--blue)}.currency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.currency-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:18px;min-width:0}.card-top{display:flex;align-items:center;gap:10px}.code-icon{background:var(--soft);color:var(--blue);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;font-weight:650;flex-shrink:0}.card-top h3{font-size:16px;line-height:1.2;margin:0}.card-top>div{min-width:0;flex:1}.card-top>div span{display:block;font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.star{min-width:35px;padding:6px;border:0;font-size:18px;min-height:40px;color:var(--gold)}.regions{font-size:11px;color:var(--muted);min-height:15px;margin:14px 0}.currency-card strong{display:block;font-size:26px;letter-spacing:-.7px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.rate-line{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0}.card-meta{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:7px}.card-meta span{font-size:10px;line-height:1.4;color:var(--muted)}.badge{width:fit-content;color:var(--blue);background:var(--soft);border-radius:5px;padding:4px 6px;font-size:9px;letter-spacing:.4px}.badge.sample{color:var(--warn);background:#fff4d5}.sample-banner{padding:15px;margin-bottom:22px;background:#fff4d5;color:#785500;border:1px solid #e6c777;border-radius:10px;font-size:13px;line-height:1.7}.alert{padding:14px 16px;background:var(--soft);border:1px solid var(--line);border-radius:10px;font-size:13px;line-height:1.7;margin:0 0 18px}.input-error{font-size:12px;color:#ba3a3a;line-height:1.6}.metals-heading{margin-top:30px}.metals-heading>span{font-size:12px;color:var(--muted)}.metal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metal-card{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:18px;min-width:0}.metal-card.gold{border-top:3px solid #c59c4b}.metal-card.silver{border-top:3px solid #98a9ba}.metal-title{display:flex;gap:12px;align-items:center}.metal-symbol{width:39px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--bg);border-radius:8px;color:var(--gold);font-size:18px;font-weight:600}.metal-title h3{font-size:16px;margin:0 0 7px}.metal-title .badge{font-size:8px}.metal-card strong{display:block;font-size:24px;letter-spacing:-.5px;margin:21px 0 12px;overflow-wrap:anywhere}.metal-card p{font-size:12px;color:var(--muted)}.commodity-meta{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:6px;font-size:10px;line-height:1.5;color:var(--muted)}.reverse-controls{display:flex;gap:10px;margin-bottom:20px}.reverse-controls label{display:flex;flex:1;min-width:0;flex-direction:column;gap:8px;font-size:12px}.reverse-controls select{max-width:100%;font-size:12px}.reverse-summary{padding:20px;background:var(--blue);color:#fff;border-radius:14px;margin-bottom:22px;display:flex;flex-direction:column;gap:12px}.reverse-summary span{font-size:13px}.reverse-summary strong{font-size:34px}.reverse-summary b{font-size:10px;letter-spacing:1px}.ad-slot{padding:30px;border:1px dashed var(--line);color:var(--muted);text-align:center;margin:35px 0;font-size:12px;border-radius:12px}.policy{max-width:850px;min-height:60vh;margin:50px auto;line-height:1.9}.policy h1{margin-bottom:25px}.policy p{font-size:16px;color:var(--muted)}.back-link{display:block;margin-top:30px}footer{border-top:1px solid var(--line);padding:28px 0 35px;display:flex;justify-content:space-between;gap:30px;font-size:12px;color:var(--muted)}footer>div:first-child{display:flex;gap:15px;align-items:center}.footer-brand{font-weight:750;letter-spacing:1px;color:var(--text)}.footer-links{display:flex;flex-wrap:wrap;gap:14px}.footer-links a{color:var(--muted)}[data-theme=dark]{--bg:#101827;--paper:#192438;--text:#e8eef9;--muted:#a0acc2;--line:#30405a;--blue:#8ab0ff;--soft:#233451;--gold:#edc57c;background:var(--bg);color:var(--text);color-scheme:dark}[data-theme=dark] .mode-tabs button.active,[data-theme=dark] .reverse-summary{background:#2857c7;color:#fff}@media(min-width:1700px){.app{max-width:1660px}.workspace{grid-template-columns:330px minmax(0,1fr)}.currency-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.workspace{grid-template-columns:280px minmax(0,1fr);gap:20px}.currency-grid,.metal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-note{display:none}}@media(max-width:760px){.app{padding:0 20px}header{height:78px}.brand{font-size:22px}.page-title{padding:25px 0}.page-title h1{font-size:25px}.free-badge{display:none}.workspace{grid-template-columns:1fr}.input-panel{position:static;padding:20px}.mode-tabs{margin-bottom:20px}.amount-wrap input{font-size:36px}.quick-values button{font-size:12px}.currency-grid,.metal-grid{gap:10px}.currency-card,.metal-card{padding:15px}.currency-card strong{font-size:23px}.card-top{gap:7px}.code-icon{width:29px;height:29px}.card-top>div span{font-size:10px}.currency-card .regions{font-size:10px}.section-head h2{font-size:20px}.section-head button{font-size:11px;padding:8px}.card-meta span{font-size:10px}.result-tools button{padding:9px 10px}.metal-card strong{font-size:22px}footer{flex-direction:column;gap:20px}.header-controls{gap:7px}.header-controls select{max-width:105px;font-size:12px}.header-controls button{font-size:19px;min-width:44px}.policy{margin:35px 0}}@media(max-width:360px){.app{padding:0 14px}.currency-grid,.metal-grid{grid-template-columns:1fr}.result-tools{flex-wrap:wrap}.result-tools input{width:100%}.brand{font-size:20px}.header-controls select{max-width:93px}}.featured-metals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.featured-metals article{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:18px}.featured-metals article.gold{border-left:3px solid #c59c4b}.featured-metals article.silver{border-left:3px solid #98a9ba}.featured-metals article>div{display:flex;gap:10px;align-items:center}.featured-metals h2{font-size:18px;margin:0;flex:1}.featured-metals strong{display:block;font-size:28px;margin:15px 0 10px;overflow-wrap:anywhere}.featured-metals p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}@media(max-width:540px){.featured-metals{gap:10px}.featured-metals article{padding:12px}.featured-metals article>div{flex-wrap:wrap;gap:7px}.featured-metals h2{font-size:16px}.featured-metals strong{font-size:24px}.featured-metals .metal-symbol{width:30px;height:30px;font-size:15px}.featured-metals .badge{font-size:8px}.featured-metals p{font-size:11px}}.asset-field{margin-top:0}.asset-field select{font-weight:650;min-height:50px;background:var(--soft);color:var(--blue)}.use-input{font-size:12px;width:100%;margin-top:12px;background:transparent}.use-input:disabled{opacity:.45;cursor:not-allowed}.brand{min-height:44px;padding-block:12px;flex-wrap:wrap}.brand-note{max-width:240px;line-height:1.5;letter-spacing:0}.brand-menu{font-size:13px;margin-block:14px}.brand-menu summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;width:fit-content;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.brand-menu summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.brand-menu nav{display:flex;gap:24px;flex-wrap:wrap;padding:16px 0}.brand-menu nav span,.brand-menu nav a{display:flex;flex-direction:column;gap:8px;line-height:1.5}.brand-menu small{color:var(--muted)}.support-note{font-size:13px;line-height:1.7;color:var(--muted);margin-top:0}header{height:auto;min-height:94px;flex-wrap:wrap;padding-block:12px}.header-controls{flex-wrap:wrap}button,select{white-space:normal}button:disabled{cursor:not-allowed}.page-title{flex-wrap:wrap}.amount-wrap input{font-variant-numeric:tabular-nums}footer{margin-top:32px}.reverse-summary strong{overflow-wrap:anywhere}.sample-banner{font-weight:600}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:760px){header{gap:8px;min-height:76px}.brand{padding-block:8px}.brand-menu{margin-block:8px}.brand-menu nav{gap:16px}.small-note{font-size:13px}.featured-metals{grid-template-columns:1fr 1fr}}button:not(:disabled),a[href],summary{transition:transform .13s ease,background-color .13s ease,border-color .13s ease,color .13s ease,box-shadow .13s ease}button:not(:disabled):active,a[href]:active,summary:active{transform:translateY(1px) scale(.99)}select:not(:disabled){transition:border-color .13s ease,box-shadow .13s ease}input,textarea{transition:border-color .13s ease,box-shadow .13s ease}@media(prefers-reduced-motion:reduce){button,a[href],summary,select,input,textarea{transition:none!important}button:active,a[href]:active,summary:active{transform:none!important}*{scroll-behavior:auto!important}}.fx-failure p{margin:0 0 8px}.fx-failure button{font-size:13px}.fx-provenance{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.fx-provenance span{min-width:0}.fx-provenance small{flex-basis:100%;font-size:11px}.metal-provenance{display:block;width:fit-content;max-width:100%;padding:3px 7px;border:1px dashed currentColor;border-radius:5px;font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.reverse-summary .metal-provenance{color:inherit}.machine-note{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}html:is([data-design=central],[data-design=ledger]){--bg:#f8f5ef;--paper:#fffdf9;--text:#292c3c;--muted:#666373;--line:#ded8d1;--blue:#65517c;--soft:#eee9f5;--gold:#86683c;--warn:#6f5016;background:var(--bg)}html:is([data-design=central],[data-design=ledger])[data-theme=dark]{--bg:#1c1c24;--paper:#24242e;--text:#f3eee6;--muted:#c1b8cc;--line:#494150;--blue:#d4bee9;--soft:#34303f;--gold:#dbc195}:is([data-design=central],[data-design=ledger]) .app{max-width:1400px;padding:0 5%}:is([data-design=central],[data-design=ledger]) header{min-height:88px;gap:18px;border-bottom:1px solid var(--line)}:is([data-design=central],[data-design=ledger]) .brand{font-size:27px;letter-spacing:3.5px;font-weight:600;gap:0}:is([data-design=central],[data-design=ledger]) .brand-note{display:block;font-size:13px;letter-spacing:0;margin-left:23px;border-left:1px solid var(--line);padding-left:23px;max-width:300px}:is([data-design=central],[data-design=ledger]) .brand-menu{margin:0;padding:5px 0;border-bottom:1px solid var(--line)}:is([data-design=central],[data-design=ledger]) .brand-menu summary{border:0;padding:8px 0;border-radius:0;font-size:13px;min-height:36px}:is([data-design=central],[data-design=ledger]) button,:is([data-design=central],[data-design=ledger]) select,:is([data-design=central],[data-design=ledger]) input{border-radius:5px}.review-heading{padding:28px 0 24px}.review-label{font-size:12px;letter-spacing:1.5px;color:var(--gold);margin:0 0 14px;font-weight:600}.review-label span{letter-spacing:0;font-weight:400;margin-left:16px;color:var(--muted)}.review-heading h1{font-size:32px;font-weight:550;letter-spacing:-.8px;line-height:1.35}.review-heading>p:last-child{font-size:15px;color:var(--muted);line-height:1.7;margin:12px 0 0}.central-input{position:relative;background:linear-gradient(130deg,var(--paper) 15%,var(--soft) 100%);border:1px solid var(--line);border-top:2px solid #baa37f;border-radius:6px;padding:24px 8% 20px;text-align:center;box-shadow:0 16px 34px -24px #53416740}.basis-line{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;font-size:14px;line-height:1.6;color:var(--muted)}.basis-line strong{font-weight:600;color:var(--text)}.central .basis-fields{max-width:690px;margin:12px auto 14px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px}.review-calculator .basis-fields .field{margin:0;text-align:left;font-size:14px;gap:6px}.central .basis-fields .asset-field{max-width:430px;flex:1}.review-calculator .asset-field select{background:var(--paper);color:var(--text);font-size:15px;min-height:44px;font-weight:500}.review-calculator .basis-fields>.small-note{display:none}.review-calculator .amount-wrap{margin:4px 0 8px;display:flex;align-items:baseline;justify-content:center;gap:18px}.review-calculator .amount-wrap input{font-family:Segoe UI,Arial,sans-serif;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum";width:100%;min-width:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);font-size:clamp(40px,5vw,78px);font-weight:550;padding:4px 6px 10px;letter-spacing:-2px;text-align:center}.review-calculator .amount-wrap span{position:static;font-size:21px;color:var(--muted);flex-shrink:0;font-weight:500}.review-calculator .input-label{font-size:14px}.review-calculator #number-format{font-size:13px;margin:8px 0 12px}.review-calculator .quick-values{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0}.review-calculator .quick-values button{font-size:14px;min-width:88px;padding:6px 14px;min-height:38px;background:transparent;border-color:var(--line)}.review-data .data-choice{margin:16px 0;padding:0 0 16px;border-top:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap}.review-data .data-choice p{margin:0;font-size:14px;flex:1}.review-data .data-choice button{width:auto;font-size:13px}.review-data .data-choice label{font-size:14px}.review-calculator .sample-banner{font-size:14px;border-radius:4px;margin:0 0 18px;padding:12px 16px;border-left:3px solid #b79550;background:#faf0d8;color:#62460d}.review-calculator .alert{border-radius:4px;font-size:14px}.connection-label{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:18px;margin:20px 0 14px}.connection-label:after{content:"";height:1px;flex:1;background:var(--line)}.review-calculator .featured-metals{gap:24px;margin-bottom:24px}.review-calculator .featured-metals article{border-radius:0;border:0;border-bottom:1px solid var(--line);background:transparent;padding:12px 0 18px}.review-calculator .featured-metals article.gold{border-top:2px solid #b69b69}.review-calculator .featured-metals article.silver{border-top:2px solid #a7a4b5}.review-calculator .metal-symbol{border-radius:0;background:transparent;font-family:Georgia,serif;font-weight:400;font-size:28px;width:auto}.review-calculator .featured-metals h2{font-size:18px;font-weight:500}.review-calculator strong{font-variant-numeric:tabular-nums;letter-spacing:0}.review-calculator .featured-metals strong{font-size:34px;font-weight:550;line-height:1.3;margin:16px 0 12px}.review-calculator .featured-metals p{font-size:13px}.review-calculator .badge{font-size:11px;font-weight:600;letter-spacing:0;border-radius:2px;padding:4px 7px}.review-calculator .use-input{border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;width:auto;min-height:44px;font-size:13px;padding:8px 0}.review-calculator .use-input:after{content:" ↗";margin-left:8px}.review-filters{margin:0 0 24px;border-block:1px solid var(--line);padding:2px 0}.review-filters>summary{cursor:pointer;padding:14px 0;font-size:14px;min-height:48px;color:var(--blue)}.review-filters>div{padding:6px 0 20px;max-width:800px}.review-filters .field{margin-top:0}.review-filters .small-note{font-size:14px}.review-calculator summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.review-calculator .section-head h2{font-size:22px;font-weight:550}.review-calculator .section-head button{font-size:14px}.review-calculator .result-tools{flex-wrap:wrap}.review-calculator .result-tools input{max-width:100%;min-width:160px}.review-calculator .currency-grid,.review-calculator .metal-grid{gap:0;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}.review-calculator .currency-card,.review-calculator .metal-card{border:0;border-radius:0;border-bottom:1px solid var(--line);background:transparent;padding:22px 20px;min-width:0}.review-calculator .currency-card:not(:nth-child(3n)),.review-calculator .metal-card:not(:nth-child(3n)){border-right:1px solid var(--line)}.review-calculator .currency-card strong{font-size:32px;font-weight:550;line-height:1.35}.review-calculator .code-icon{display:none}.review-calculator .card-top h3{font-size:16px;letter-spacing:.8px}.review-calculator .card-top>div span{font-size:14px}.review-calculator .regions{font-size:13px;line-height:1.6}.review-calculator .rate-line{font-size:14px}.review-calculator .card-meta{border:0;padding-top:0;gap:8px}.review-calculator .card-meta span,.review-calculator .commodity-meta{font-size:13px;line-height:1.6}.source-details summary{cursor:pointer;font-size:13px;color:var(--blue);padding:8px 0;min-height:36px}.source-details span{display:block;margin-block:5px}.review-calculator .metals-heading{margin-top:32px}.review-calculator .metals-heading>span{font-size:14px}.review-calculator .metal-card strong{font-size:28px}.review-calculator .metal-card p,.review-calculator .small-note{font-size:14px}.review-calculator .reverse-summary{background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:4px}.review-calculator .support-note{margin-top:32px;font-size:14px;padding-top:18px;border-top:1px solid var(--line)}.ledger .review-heading{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;align-items:end}.ledger .review-label{grid-column:1/-1}.ledger .review-heading>p:last-child{margin:0}.ledger-input{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.7fr);border-block:2px solid var(--text);background:var(--paper)}.ledger-basis{padding:24px 28px 24px 0;border-right:1px solid var(--line)}.ledger .basis-line{justify-content:flex-start;display:grid;gap:8px;margin-bottom:18px}.ledger .basis-fields{display:flex;gap:12px;flex-wrap:wrap}.ledger .basis-fields .asset-field{flex:1;min-width:170px}.ledger .amount-fields{padding:24px 0 24px 32px}.ledger .amount-wrap input{text-align:right;font-size:clamp(40px,4.5vw,68px)}.ledger .quick-values{justify-content:flex-end}.ledger #number-format{text-align:right}.review-ledgers{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px}.ledger-heading{font-size:13px;color:var(--gold);letter-spacing:1px;border-bottom:1px solid var(--line);padding-bottom:16px;margin:4px 0 22px}.ledger .currency-grid,.ledger .metal-grid{display:block}.ledger .currency-card,.ledger .metal-card{border-right:0!important;padding:20px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;align-items:start}.ledger .currency-card .card-top{grid-column:1}.ledger .currency-card .regions{grid-column:1;margin:8px 0}.ledger .currency-card>strong{grid-column:2;grid-row:1/3;text-align:right;font-size:32px}.ledger .currency-card .rate-line{grid-column:1/-1;text-align:right;margin-top:0}.ledger .currency-card .card-meta{grid-column:1/-1}.ledger .currency-card .use-input{grid-column:1/-1;justify-self:end}.ledger .metal-title{grid-column:1}.ledger .metal-card>strong{grid-column:2;grid-row:1;text-align:right;font-size:27px;margin:0}.ledger .metal-card>p{grid-column:2;text-align:right;margin:4px 0}.ledger .metal-card .commodity-meta{grid-column:1/-1;margin-top:16px}.ledger .metal-card .use-input{grid-column:1/-1;justify-self:end}.ledger .metals-heading{margin-top:0}.ledger .section-head h2{font-size:20px}@media(max-width:1000px){:is([data-design=central],[data-design=ledger]) .brand-note{display:none}.review-calculator .currency-grid,.review-calculator .metal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-calculator .currency-card,.review-calculator .metal-card{border-right:0!important}.review-calculator .currency-card:nth-child(odd),.review-calculator .metal-card:nth-child(odd){border-right:1px solid var(--line)!important}.ledger .currency-card,.ledger .metal-card{border-right:0!important}.review-ledgers{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ledger .currency-card>strong{font-size:25px}.ledger .currency-card,.ledger .metal-card{column-gap:12px}}@media(max-width:700px){:is([data-design=central],[data-design=ledger]) .app{padding:0 20px}:is([data-design=central],[data-design=ledger]) header{min-height:80px;gap:8px;padding-block:12px}:is([data-design=central],[data-design=ledger]) .brand{font-size:24px;letter-spacing:3px}.header-controls{margin-left:auto}.review-heading{padding:22px 0 20px}.review-label{font-size:11px;letter-spacing:1px;line-height:1.7;margin-bottom:10px}.review-label span{margin-left:8px}.review-heading h1{font-size:25px}.review-heading>p:last-child{font-size:14px;margin-top:10px}.central-input{padding:18px 18px 16px}.basis-line{gap:5px 10px;font-size:13px}.central .basis-fields{display:grid;grid-template-columns:1fr;margin:14px auto}.review-calculator .asset-field select{font-size:14px}.review-calculator .amount-wrap{gap:8px}.review-calculator .amount-wrap input{font-size:44px;letter-spacing:-1px}.review-calculator .amount-wrap span{font-size:17px}.review-calculator .quick-values{gap:6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.review-calculator .quick-values button{min-width:0;padding:6px 2px;font-size:12px}.review-calculator #number-format{font-size:12px}.review-data .data-choice{gap:10px 12px;margin-top:14px}.review-data .data-choice label{font-size:14px}.review-data .data-choice p{font-size:13px;min-width:150px}.review-calculator .featured-metals{gap:20px;grid-template-columns:1fr 1fr}.review-calculator .featured-metals strong{font-size:24px}.review-calculator .featured-metals article>div{gap:8px}.review-calculator .featured-metals .badge{font-size:10px}.review-calculator .featured-metals p{font-size:12px}.review-calculator .featured-metals h2{font-size:17px}.review-calculator .currency-grid,.review-calculator .metal-grid{grid-template-columns:1fr}.review-calculator .currency-card,.review-calculator .metal-card{padding:20px 0;border-right:0!important}.review-calculator .currency-card:nth-child(odd),.review-calculator .metal-card:nth-child(odd){border-right:0!important}.review-calculator .currency-card strong{font-size:32px}.review-calculator .section-head{flex-wrap:wrap}.ledger .review-heading{display:block}.ledger .review-heading>p:last-child{margin-top:10px}.ledger-input{grid-template-columns:1fr;border-top:2px solid var(--text)}.ledger-basis{padding:18px 0;border-right:0;border-bottom:1px solid var(--line)}.ledger .basis-line{gap:6px;margin-bottom:12px}.ledger .amount-fields{padding:18px 0}.ledger .amount-wrap input{text-align:left;font-size:46px}.ledger #number-format{text-align:left}.review-ledgers{display:block}.ledger .currency-card>strong{font-size:27px}.ledger .metals-ledger{margin-top:32px}.ledger .metal-card>strong{font-size:24px}}@media(max-width:360px){:is([data-design=central],[data-design=ledger]) .app{padding:0 14px}.central-input{padding-inline:12px}.review-calculator .amount-wrap input{font-size:36px}.review-calculator .featured-metals{grid-template-columns:1fr}.ledger .currency-card>strong{font-size:23px}.ledger .metal-card{grid-template-columns:1fr}.ledger .metal-card>strong{grid-column:1;grid-row:auto;text-align:left;margin-top:16px}.ledger .metal-card>p{grid-column:1;text-align:left}.ledger .review-label span{display:block;margin:0}}.app header .brand{gap:8px;max-width:100%;min-width:0;align-items:center}.app header .header-controls{max-width:100%}.app header .header-controls select{max-width:100%}.brand .orbital-surface{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:8px;background:#222b3c;border:0;border-radius:3px;box-shadow:none;overflow:visible;line-height:0}.brand .orbital-logo{display:block;width:32px;height:32px;aspect-ratio:1;flex:none;object-fit:contain;max-width:none;filter:none;transform:none;box-shadow:none;opacity:1}.brand .brand-name{white-space:nowrap}@media(max-width:760px){.brand .orbital-logo{width:30px;height:30px}.app header .header-controls{margin-left:auto}}.app header .brand{letter-spacing:0}.brand .brand-lines{display:grid;gap:2px;min-width:0;line-height:1.2}.brand .brand-name{font-size:20px;font-weight:800;letter-spacing:.02em}.brand .brand-company{font-size:12px;font-weight:500;letter-spacing:.04em;color:var(--muted)}.footer-brand small{font-size:max(12px,.85em);font-weight:500;letter-spacing:.04em;color:var(--muted);margin-inline-start:4px}@media(max-width:760px){.brand .brand-name{font-size:18px}}
