:root{color-scheme:dark;--bg:#243029;--card:#2a3831;--accent:#10b981;--accent-light:#53d9b1;--text:#f7faf8;--muted:#a9b8b0;--border:rgba(255,255,255,.09);font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:radial-gradient(ellipse 75% 500px at 50% 100px,rgba(16,185,129,.085),transparent),var(--bg);line-height:1.55}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,fieldset:disabled{cursor:default}button:disabled{opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent-light);outline-offset:4px}button:hover:not(:disabled),a:hover{transition:background .18s,color .18s,border-color .18s}.shell{width:min(1184px,calc(100% - 64px));margin-inline:auto}.accent{color:var(--accent)}.muted{color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;background:var(--accent);padding:12px 20px;z-index:10;border-radius:8px}.skip-link:focus{top:12px}.header{height:88px;border-bottom:1px solid var(--border);background:rgba(36,48,41,.8)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:-.8px}.brand svg{width:34px;height:34px;color:var(--accent);stroke-width:2}.header-caption{color:var(--muted);font-size:14px;margin-left:auto;margin-right:28px}.site-link{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;border:1px solid var(--border);padding:10px 17px;border-radius:999px;background:rgba(255,255,255,.025)}.site-link svg{width:16px;height:16px}.site-link:hover{background:rgba(255,255,255,.08)}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;padding:60px 0 36px}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--accent-light);font-size:14px;font-weight:600;margin-bottom:16px}.eyebrow-line{height:1px;width:26px;background:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:clamp(38px,4.7vw,60px);line-height:1.12;letter-spacing:-2.2px;font-weight:800}h2{font-size:23px;line-height:1.3;letter-spacing:-.6px;font-weight:800}.hero-description{padding-bottom:3px;max-width:350px}.hero-description>p:first-child{font-size:19px;font-weight:600;line-height:1.6;margin-bottom:10px}.hero-description .muted{font-size:15px;line-height:1.7}.date-panel{display:flex;align-items:center;gap:26px;padding:23px 26px;background:rgba(42,56,49,.7);border:1px solid var(--border);border-radius:18px}.date-picker label{font-size:14px;color:var(--muted);display:block;margin-bottom:7px}.date-controls{display:flex;align-items:center;gap:12px}.date-controls input{height:43px;min-width:167px;padding:8px 11px;font-size:16px;font-weight:600;background:#223028;color:var(--text);border:1px solid rgba(255,255,255,.14);border-radius:9px}.date-controls input::-webkit-calendar-picker-indicator{opacity:.8;cursor:pointer}.quiet-button{background:rgba(255,255,255,.045);border:1px solid var(--border);padding:10px 14px;border-radius:9px;font-size:14px;font-weight:600;white-space:nowrap}.quiet-button:hover{background:rgba(255,255,255,.1)}.date-divider{width:1px;align-self:stretch;background:var(--border);margin:2px 4px}.date-context{flex:1}.source-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--accent-light)}.source-label svg{width:18px;height:18px}.date-context p{font-size:14px;margin-top:8px;color:var(--muted);line-height:1.6}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:transparent;border:1px solid var(--border);border-radius:10px;color:var(--muted)}.icon-button:hover{color:white;background:rgba(255,255,255,.06)}.icon-button svg{width:19px;height:19px}.refresh-button{align-self:center}.refresh-button.is-loading svg{animation:rotate 1.4s linear infinite}.load-error{margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;background:#52362d;border:1px solid #b9866a;border-radius:14px}.load-error strong{font-size:16px}.load-error p{margin-top:5px;font-size:14px;color:#f4d0bb}.rates-section{margin-top:36px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.section-note{font-size:14px;color:var(--muted);margin-top:6px}.edit-button{display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--accent-light);font-size:14px;font-weight:700;padding:10px 0 10px 14px;white-space:nowrap}.edit-button svg{width:19px;height:19px}.edit-button:hover{color:#8bf1ce}.rates-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.rate-card{border:1px solid var(--border);border-radius:16px;padding:22px;background:linear-gradient(135deg,rgba(255,255,255,.015),transparent),var(--card);min-width:0;min-height:188px;animation:appear .24s ease both}.currency-top{display:flex;align-items:center;gap:11px;margin-bottom:24px}.currency-symbol{display:flex;align-items:center;justify-content:center;width:39px;height:39px;flex-shrink:0;border:1px solid rgba(16,185,129,.17);background:rgba(16,185,129,.075);border-radius:11px;color:var(--accent-light);font-size:22px;font-weight:500}.currency-symbol.long{font-size:13px;font-weight:800}.currency-code{font-size:16px;line-height:1.3;font-weight:800;letter-spacing:.3px}.currency-name{font-size:13px;color:var(--muted);line-height:1.5;margin-top:3px;overflow-wrap:anywhere}.rate-value{font-size:29px;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.3;white-space:nowrap}.rate-value .ruble-sign{font-size:20px;color:var(--muted);font-weight:500;margin-left:4px}.rate-nominal{font-size:13px;margin-top:8px;color:var(--muted)}.rate-card.unavailable .rate-value{font-size:22px;white-space:normal;color:var(--muted)}.rate-card.unavailable .rate-nominal{color:var(--muted)}.converter{margin-top:32px;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;background:var(--card)}.converter-inputs{padding:30px 32px 32px}.converter-heading{display:flex;align-items:center;gap:14px;margin-bottom:27px}.section-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:12px;color:var(--accent-light);flex-shrink:0}.section-icon svg{width:22px;height:22px}.converter-heading h2{font-size:22px}.converter-heading .section-note{font-size:13px;margin-top:5px}fieldset{min-width:0;padding:0;border:0;margin:0}.field-label{font-size:14px;font-weight:500;color:var(--muted);display:block;margin-bottom:8px}.amount-wrap{display:flex;align-items:center;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(17,29,22,.35);padding:0 16px}.amount-wrap:focus-within{border-color:var(--accent)}.amount-wrap input{min-width:0;width:100%;background:none;color:var(--text);border:0;outline:0;padding:13px 0;font-size:26px;letter-spacing:-.5px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums}.amount-wrap input:focus-visible{outline:0}.amount-wrap>span{font-size:16px;font-weight:700;color:var(--muted);padding-left:12px}.amount-wrap:has([aria-invalid=true]){border-color:#e7ad8a}.field-error{font-size:13px;color:#ffbe9c;margin-top:8px}.currency-pair{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:12px;margin-top:19px;align-items:end}.currency-field{min-width:0}.currency-field select{appearance:none;display:block;width:100%;height:48px;color:var(--text);background-color:#223028;border:1px solid rgba(255,255,255,.14);border-radius:10px;font-size:14px;font-weight:600;padding:10px 34px 10px 12px;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23a9b8b0' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.currency-field option{color:var(--text);background:#243029}.swap-button{height:40px;width:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--border);color:var(--accent-light);background:rgba(16,185,129,.06);margin-bottom:4px}.swap-button:hover{border-color:var(--accent);background:rgba(16,185,129,.13)}.swap-button svg{width:20px;height:20px}.result-panel{display:flex;flex-direction:column;justify-content:space-between;padding:31px 33px;background:radial-gradient(ellipse 100% 100% at 90% 10%,rgba(16,185,129,.1),transparent),#1d352a;border-left:1px solid rgba(16,185,129,.15);min-width:0}.result-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;color:#bdd1c6}.result-topline svg{width:21px;height:21px;color:var(--accent-light)}.result-body{padding:26px 0}.result-equation{font-size:15px;color:#bed3c7;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-number{font-size:clamp(32px,3.8vw,48px);font-weight:800;line-height:1.35;letter-spacing:-1.6px;margin:6px 0;color:#6be1b9;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-number>span.result-unit{font-size:23px;font-weight:500;letter-spacing:0;margin-left:7px;white-space:nowrap}.result-placeholder{font-size:26px;color:#aecab9;font-weight:600;letter-spacing:-.5px}.result-rate{font-size:14px;color:#bdd1c6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-footnote{display:flex;gap:10px;align-items:flex-start;padding-top:18px;border-top:1px solid rgba(255,255,255,.09);color:#9fbca9;font-size:13px;line-height:1.65}.result-footnote svg{width:17px;height:17px;margin-top:3px}.bottom-notes{margin:22px 0 44px;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;font-size:13px;color:var(--muted)}.bottom-notes>p{display:flex;gap:8px;align-items:flex-start;max-width:740px}.bottom-notes svg{width:17px;height:17px;flex-shrink:0;margin-top:2px}.bottom-notes>a{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:13px;color:#c0d0c7}.bottom-notes>a:hover{color:var(--accent-light)}.bottom-notes>a svg{width:14px;height:14px}.footer{border-top:1px solid var(--border);color:var(--muted);font-size:13px;padding:23px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner>span:first-child{font-weight:600;color:#c7d4cb}.footer-divider{padding:0 12px;color:#6b8273}.skeleton{height:18px;border-radius:5px;background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.085),rgba(255,255,255,.025));background-size:200% 100%;animation:shimmer 1.6s infinite}.bar-short{width:47%;margin-bottom:28px}.bar-long{width:82%;height:30px;margin-bottom:19px}.skeleton-card{padding:30px 22px 8px}.skeleton-card .bar-short:last-child{height:12px;width:38%;margin-bottom:0}.empty-rates{grid-column:1/-1;padding:30px;border:1px dashed var(--border);border-radius:14px;font-size:15px;color:var(--muted);text-align:center}.noscript{position:fixed;bottom:20px;left:20px;right:20px;padding:20px;background:#52362d;border:1px solid #b9866a;border-radius:14px}dialog{color:var(--text);background:var(--bg);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:0;width:min(560px,calc(100% - 32px));max-height:calc(100svh - 48px);box-shadow:0 24px 120px rgba(0,0,0,.4)}dialog::backdrop{background:rgba(12,21,16,.76);backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;padding:26px 26px 20px}.dialog-header h2{font-size:25px}.dialog-header p{margin-top:8px;font-size:14px;color:var(--muted)}.search-wrap{display:flex;align-items:center;gap:10px;margin:0 26px 18px;padding:0 12px;background:#1f2c24;border:1px solid var(--border);border-radius:10px}.search-wrap svg{width:19px;height:19px;color:var(--muted)}.search-wrap input{width:100%;min-width:0;padding:12px 0;background:none;border:0;font-size:14px;color:var(--text);outline:0}.search-wrap:focus-within{border-color:var(--accent)}.currency-options{max-height:min(350px,45svh);overflow-y:auto;padding:0 14px 12px;scrollbar-color:#506958 transparent}.currency-option{display:flex;align-items:center;gap:14px;padding:12px;border-radius:10px;cursor:pointer}.currency-option:hover{background:rgba(255,255,255,.04)}.currency-option input{appearance:none;flex-shrink:0;width:20px;height:20px;border:1px solid #6f8878;border-radius:5px;background:transparent;display:grid;place-content:center;margin:0}.currency-option input:checked{background:var(--accent);border-color:var(--accent)}.currency-option input:checked::after{content:'';width:8px;height:4px;transform:rotate(-45deg);border-bottom:2px solid #09291e;border-left:2px solid #09291e;margin-bottom:2px}.currency-option-name{font-size:14px;color:#d2ddd6}.currency-option-code{font-size:14px;font-weight:800;min-width:43px}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--border);padding:19px 26px;background:rgba(0,0,0,.06)}.dialog-footer>span{font-size:14px;color:var(--muted)}.primary-button{background:var(--accent);border:1px solid var(--accent);border-radius:10px;padding:11px 22px;font-weight:800;color:#082a1d;font-size:14px}.primary-button:hover:not(:disabled){background:#2ad19a}.search-empty{padding:16px 26px 30px;font-size:14px;color:var(--muted)}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1450px){.hero{padding-top:70px;padding-bottom:44px}.converter{margin-top:36px}}
@media(max-width:1050px){.shell{width:calc(100% - 48px)}.rate-card{padding:18px}.rate-value{font-size:25px}.converter-inputs{padding:26px}.result-panel{padding:27px}.currency-pair{gap:8px;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)}.swap-button{width:34px;height:34px;margin-bottom:7px}.currency-field select{font-size:13px}.converter-heading h2{font-size:20px}.section-icon{width:36px;height:36px}.header-caption{margin-right:0}}
@media(max-width:800px){.header-caption{display:none}.hero{padding-top:40px;gap:24px}h1{font-size:45px}.hero-description{max-width:280px}.hero-description>p:first-child{font-size:17px}.hero-description .muted{font-size:14px}.date-panel{gap:20px;padding:20px}.date-controls{gap:8px}.date-controls input{min-width:150px}.date-divider{margin:0}.rates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-card{padding:20px;min-height:178px}.rate-value{font-size:29px}.currency-top{margin-bottom:19px}.converter{grid-template-columns:1fr}.converter-inputs{padding:28px}.result-panel{border-left:0;border-top:1px solid rgba(16,185,129,.15);padding:26px 28px}.result-body{padding:22px 0}.result-number{font-size:44px}.result-footnote p br{display:none}.bottom-notes{flex-direction:column;gap:12px}.footer-inner{flex-direction:column;align-items:flex-start;gap:8px}}
@media(max-width:540px){.shell{width:calc(100% - 32px)}.header{height:72px}.brand{font-size:22px}.brand svg{width:29px;height:29px}.site-link{font-size:13px;padding:8px 12px;gap:7px}.hero{display:block;padding:32px 0 26px}.eyebrow{font-size:13px;margin-bottom:14px}h1{font-size:43px;letter-spacing:-1.7px}.hero-description{max-width:none;margin-top:22px}.hero-description>p:first-child{font-size:16px;margin-bottom:5px}.hero-description .muted{font-size:14px}.desktop-break{display:none}.date-panel{display:grid;grid-template-columns:1fr 38px;gap:18px;padding:19px;border-radius:15px}.date-picker{grid-column:1/-1}.date-controls{gap:10px}.date-controls input{flex:1;min-width:0;width:100%}.date-picker label{font-size:14px}.date-context{grid-column:1}.date-divider{display:none}.source-label{font-size:13px}.date-context p{font-size:13px;margin-top:6px}.refresh-button{grid-column:2;grid-row:2}.rates-section{margin-top:27px}.section-heading{gap:12px;margin-bottom:14px}.section-heading h2{font-size:21px}.section-note{font-size:13px}.edit-button{font-size:13px;gap:6px;max-width:142px;white-space:normal;line-height:1.5;text-align:left;padding-left:4px}.rates-grid{gap:12px}.rate-card{padding:17px 15px;min-height:172px;border-radius:14px}.currency-symbol{width:32px;height:32px;font-size:19px;border-radius:9px}.currency-top{gap:8px;margin-bottom:20px;align-items:flex-start}.currency-code{font-size:15px}.currency-name{font-size:12px;line-height:1.5}.rate-value{font-size:clamp(21px,5.8vw,28px);letter-spacing:-.8px}.rate-value .ruble-sign{font-size:17px;margin-left:3px}.rate-nominal{font-size:12px;line-height:1.6}.converter{margin-top:25px;border-radius:17px}.converter-inputs{padding:23px 19px}.converter-heading{gap:11px;margin-bottom:24px}.converter-heading h2{font-size:21px}.converter-heading .section-note{font-size:12px}.section-icon{width:35px;height:35px}.amount-wrap input{font-size:25px}.currency-pair{gap:8px;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr)}.currency-field select{font-size:14px;padding-left:10px;padding-right:27px;background-position:right 10px center}.swap-button{width:32px;height:32px;margin-bottom:8px}.currency-field .field-label{font-size:13px}.result-panel{padding:23px 20px}.result-number{font-size:38px;letter-spacing:-1.3px}.result-number>span.result-unit{font-size:22px}.result-topline{font-size:13px}.result-equation{font-size:14px}.result-rate{font-size:13px}.result-footnote{font-size:12px}.bottom-notes{margin-bottom:28px;font-size:12px}.bottom-notes>a{font-size:12px}.footer{font-size:12px;padding:20px 0}.footer-divider{padding:0 8px}.dialog-header{padding:23px 20px 18px}.search-wrap{margin-inline:20px}.dialog-footer{padding:16px 20px}.load-error{align-items:flex-start;flex-direction:column;padding:18px}.result-placeholder{font-size:24px}.empty-rates{padding:22px;font-size:14px}}
.currency-top{min-height:44px}.currency-field select{font-size:14px}.date-context p,.section-note,.converter-heading .section-note{font-size:14px}
@media(max-width:540px){.currency-top{min-height:59px}.edit-button{font-size:14px}.currency-field .field-label{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
