@font-face{font-family:Manrope;src:url('fonts/font-0.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/font-2.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Unbounded;src:url('fonts/font-5.ttf') format('truetype');font-weight:500 700;font-display:swap}
:root{--deep:oklch(.231 .077 256.1);--navy:oklch(.327 .078 243.1);--ocean:oklch(.485 .089 239.7);--sky:oklch(.897 .068 204.1);--mist:oklch(.976 .007 233.6);--muted:oklch(.42 .05 245);--line:oklch(.9 .02 230);--white:#fff;--error:#a32d34}
*{box-sizing:border-box}body{margin:0;background:var(--mist);color:var(--deep);font:16px/1.6 Manrope,system-ui,sans-serif}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,summary{cursor:pointer}button:disabled,select:disabled{cursor:wait;opacity:.55}:focus-visible{outline:3px solid var(--ocean);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2{font-family:Unbounded,Manrope,sans-serif;font-weight:500;line-height:1.25}h2{font-size:clamp(22px,2.4vw,29px);letter-spacing:-.8px}.wrap{width:min(1140px,calc(100% - 64px));margin-inline:auto}header{background:var(--deep);color:white;border-bottom:1px solid #ffffff1a}.header-inner{display:flex;justify-content:space-between;align-items:center;min-height:76px;gap:20px}.brand{font-size:18px;font-weight:700;text-decoration:none}.back{font-size:14px;color:var(--sky);text-decoration:none}.back span{margin-left:12px}.hero{color:white;background:radial-gradient(ellipse at 94% 20%,#17547470,transparent 60%),linear-gradient(150deg,var(--deep),var(--navy) 80%,#104560);padding:48px 0 38px}.eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--sky)}h1{font-size:clamp(32px,4.5vw,52px);letter-spacing:-1.8px;margin:17px 0}.intro{color:#c1dce7;font-size:18px;line-height:1.65}.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px;font-size:12px;color:#c1dce7}.source-label{display:flex;align-items:center;gap:9px}.dot{width:7px;height:7px;border-radius:50%;background:var(--sky)}.content{padding-top:40px;padding-bottom:32px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:24px}.small{color:var(--ocean);font-size:11px;letter-spacing:1.7px;margin-bottom:9px}.date-form{display:flex;align-items:end;gap:12px}label{display:grid;gap:7px;font-size:13px;font-weight:600}input,select{background:white;color:var(--deep);border:1px solid var(--line);border-radius:13px;min-height:50px;padding:10px 14px;width:100%;min-width:0;font-size:16px}input[type=date]{width:175px}button{border:0;min-height:50px}.primary{border-radius:99px;background:var(--sky);color:var(--deep);padding:12px 23px;font-weight:600;white-space:nowrap;box-shadow:0 3px 0 #07324b15}.primary span{margin-left:13px}.primary:hover{filter:brightness(.97)}.status{font-size:13px;color:var(--muted);margin:22px 0 18px;min-height:22px}.status[data-error=true]{color:var(--error)}.rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.rate-card{padding:22px 23px;background:white;border:1px solid #dce6ec;border-radius:22px;box-shadow:0 8px 24px -18px #10395533}.rate-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.rate-code{font-size:15px;font-weight:700}.currency-symbol{font-size:20px;color:var(--ocean);background:var(--mist);width:38px;height:38px;display:grid;place-items:center;border-radius:50%}.rate-name{font-size:12px;color:var(--muted);margin:8px 0 15px;min-height:19px}.rate-value{font-size:26px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.rate-unit{font-size:12px;color:var(--muted);margin-top:3px}.currency-picker{margin-top:20px}summary{width:fit-content;font-size:13px;font-weight:600;padding:9px 0}summary span{font-weight:400;color:var(--muted);margin-left:12px}.currency-picker>p{font-size:13px;color:var(--muted);margin:10px 0}.currency-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;padding-top:10px}.currency-option{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;padding:5px 0}.currency-option input{width:18px;height:18px;min-height:18px;accent-color:var(--navy);flex-shrink:0}.empty{grid-column:1/-1;padding:24px 0;color:var(--muted)}.converter{margin-top:34px;background:white;border:1px solid #dce6ec;border-radius:26px;padding:30px 32px;box-shadow:0 14px 40px -28px #10395533}.date-tag{font-size:12px;color:var(--muted);padding:7px 13px;border-radius:99px;background:var(--mist)}.conversion-fields{display:grid;grid-template-columns:1.1fr 1fr 46px 1fr;align-items:end;gap:14px;margin-top:28px}.swap{width:46px;background:var(--mist);color:var(--ocean);border-radius:50%;font-size:25px}.result{margin-top:24px;border-radius:18px;background:linear-gradient(130deg,var(--deep),var(--navy));color:white;padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.result p{font-size:12px;color:#c1dce7}.result output{display:block;font-size:clamp(26px,3vw,37px);font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:3px}.converter-note{font-size:12px;color:var(--muted);margin-top:16px}.explanation{display:flex;align-items:flex-start;gap:13px;color:var(--muted);font-size:13px;margin:24px 5px 0;max-width:880px}.info{border:1px solid var(--line);border-radius:50%;min-width:23px;text-align:center}.error{font-size:13px;color:var(--error);margin-top:12px}footer{border-top:1px solid var(--line);padding:22px 0 28px;display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:11px}footer a{white-space:nowrap}.skip{position:absolute;left:20px;top:-100px;background:white;z-index:10;padding:10px;border-radius:8px}.skip:focus{top:12px}
@media(min-width:1000px){.hero .wrap{position:relative}.intro{position:absolute;right:0;top:100px;max-width:350px}}
@media(max-width:900px){.rates{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:flex-start;flex-direction:column;gap:18px}.currency-list{grid-template-columns:repeat(2,minmax(0,1fr))}.conversion-fields{grid-template-columns:1fr 1fr}.conversion-fields>label:first-child{grid-column:1/-1}.swap{grid-column:1/-1;justify-self:center;grid-row:3}.conversion-fields>label:last-child{grid-column:1/-1}.conversion-fields>label:nth-child(2){grid-column:1/-1}.conversion-fields{gap:12px}.converter .section-head{flex-direction:row;align-items:center}.date-tag{white-space:nowrap}}
@media(max-width:560px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:68px;gap:10px}.brand{font-size:14px}.back{font-size:11px}.back span{margin-left:2px}.hero{padding:34px 0 26px}h1{letter-spacing:-1px}.intro{font-size:15px}.hero-bottom{align-items:flex-start;flex-direction:column;gap:8px;margin-top:24px}.content{padding-top:28px}.date-form{width:100%;gap:10px}.date-form label{flex:1;min-width:0}input[type=date]{width:100%}.primary{padding:12px 15px;font-size:12px}.primary span{margin-left:3px}.rates{gap:10px}.rate-card{padding:17px 14px;border-radius:18px}.rate-value{font-size:23px}.rate-name{font-size:11px;min-height:35px;margin-bottom:8px}.currency-symbol{width:30px;height:30px;font-size:17px}.currency-list{grid-template-columns:1fr}.converter{padding:22px 18px;margin-top:26px;border-radius:22px}.converter .section-head{flex-direction:column;align-items:flex-start;gap:12px}.result{padding:20px;flex-direction:column;align-items:flex-start;gap:12px}.explanation{font-size:12px}footer{flex-direction:column;gap:8px}.desktop{display:none}}
/* Compact rate cards and currency search */
.rates{gap:12px}.rate-card{padding:14px 17px;border-radius:17px;display:grid;grid-template-columns:1fr auto;column-gap:10px}.rate-top{grid-column:1/-1}.currency-symbol{width:27px;height:27px;font-size:16px}.rate-name{grid-column:1/-1;min-height:0;margin:3px 0 9px}.rate-value{font-size:23px;letter-spacing:-.6px}.rate-unit{align-self:center;margin:0;text-align:right;font-size:11px}.card-search{max-width:440px;margin:14px 0 10px}.search-help{font-size:12px;color:var(--muted);margin-top:10px}.currency-option[hidden]{display:none}
@media(max-width:560px){.rate-card{padding:12px 13px;column-gap:4px}.rate-name{font-size:11px;margin:3px 0 7px;min-height:0}.rate-value{font-size:21px;grid-column:1/-1}.rate-unit{grid-column:1/-1;text-align:left;font-size:11px;margin-top:1px}.currency-symbol{width:25px;height:25px}.rates{gap:9px}}
.currency-field{display:grid;gap:7px;min-width:0}.currency-combo{display:flex;min-width:0}.currency-combo input{border-radius:13px 0 0 13px;border-right:0}.currency-combo input::-webkit-calendar-picker-indicator{display:none!important}.currency-combo select{flex:0 0 44px;width:44px;padding:8px;color:transparent;border-radius:0 13px 13px 0;background-color:var(--mist);cursor:pointer}.currency-combo select option{color:var(--deep);background:white}.currency-combo select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%231b4560' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;appearance:none}
@media(max-width:900px){.conversion-fields>.currency-field{grid-column:1/-1}}
