:root { font-family: 'Segoe UI', Inter, system-ui, -apple-system, sans-serif; color:#17324c; color-scheme:light; background:#e9eef3; font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; padding:20px 12px; background:radial-gradient(ellipse at 25% 5%, #f6f9fc, #e6edf5 65%, #dce7f0); }
button { font-family:inherit; }
.shell { width:min(100%, 490px); background:white; border-radius:19px; box-shadow:0 24px 70px #13273c23, 0 0 0 1px #c5d1dd; overflow:hidden; }
.app-head { color:#fff; background:linear-gradient(110deg,#102b46,#17486e); padding:23px 25px 19px; }
.head-top { display:flex; align-items:center; gap:12px; }
.brand-logo { font-size:20px; font-weight:850; letter-spacing:-1.7px; min-width:48px; height:46px; background:#ffffff19; border:1px solid #ffffff37; border-radius:12px; display:grid; place-items:center; }
.brand-dot { color:#72dbcf; margin-left:1px; }
.brand-text { flex:1; min-width:0; }
h1 { font-size:19px; line-height:1.25; font-weight:720; margin:0; letter-spacing:-.3px; }
.brand-text p { margin:4px 0 0; font-size:12px; color:#c6dce9; }
.middot {padding:0 2px}
.icon-button { width:38px; height:38px; border:1px solid #ffffff47; color:#e2f3fb; background:#ffffff13; display:grid; place-items:center; border-radius:11px; cursor:pointer; flex:none; }
.icon-button:hover { background:#ffffff29; }
.icon-button svg { width:21px; height:21px; }
.icon-button:disabled { opacity:.6; cursor:progress; }
.head-caption { color:#c7dce9; font-size:12px; margin:14px 0 0 60px; }
.content { padding:23px 24px 18px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; font-size:10px; color:#6b7e91; letter-spacing:1.6px; font-weight:750; margin:0 0 16px; }
.unit-pill { color:#356083; background:#ebf3f8; border:1px solid #d7e8f2; border-radius:99px; font-size:11px; font-weight:650; letter-spacing:0; padding:5px 10px; }
.rates-table { display:flex; flex-direction:column; gap:8px; }
.rates-row { display:grid; grid-template-columns:87px minmax(0,1fr) minmax(0,1fr); column-gap:9px; align-items:stretch; }
.cell { min-width:0; }
.table-head { margin-bottom:1px; }
.month-head { display:flex; flex-direction:column; align-items:center; gap:4px; padding:0 0 2px; text-align:center; }
.month-head strong { color:#1b3955; font-size:13px; font-weight:750; }
.month-kicker, .currency-head { font-size:10px; font-weight:760; letter-spacing:.9px; color:#8495a5; }
.month-head.current .month-kicker { color:#126794; }
.currency-head { align-self:end; padding:0 0 5px; }
.data-row { min-height:79px; }
.currency-name { display:flex; flex-direction:column; justify-content:center; }
.currency-name strong { font-size:20px; font-weight:800; color:#1e3b57; }
.currency-name span { color:#8291a0; font-size:11px; margin-top:3px; }
.rate { border:1px solid #d9e6ee; background:#f2f7fa; color:#173f5e; width:100%; height:100%; min-width:0; font-family:Consolas, 'Cascadia Mono', ui-monospace, monospace; font-size:clamp(14px,3.7vw,20px); font-weight:800; letter-spacing:-.7px; border-radius:11px; cursor:pointer; transition:background .1s,border .1s; }
.rate:hover:not(:disabled) { border-color:#68a4c5; background:#e2f2fc; }
.rate:disabled { cursor:default; color:#91a2b1; }
.rate.saved { background:#fff9ed; color:#8c6028; border-color:#ead6b7; }
.rate.saved:hover:not(:disabled) { background:#fff1d8; }
.rate:focus-visible,.icon-button:focus-visible,.text-button:focus-visible,a:focus-visible { outline:3px solid #2b91d7; outline-offset:3px; }
.copy-hint { font-size:11px; color:#8595a4; margin:11px 0 21px; text-align:center; }
.status-panel { border:1px solid #d6e6eb; border-radius:11px; background:#f3fafb; padding:12px 14px; }
.status-panel.warn { background:#fff9eb; border-color:#eed9b5; }
.status-top { display:flex; gap:8px; align-items:center; font-size:12.5px; }
.status-dot { background:#1a9c86; width:8px; height:8px; border-radius:99px; box-shadow:0 0 0 3px #1a9c8620; flex:none; }
.status-panel.warn .status-dot { background:#d8932c; box-shadow:0 0 0 3px #d8932c1c; }
.status-panel p { color:#55717e; margin:5px 0 0 16px; font-size:11.5px; line-height:1.5; }
.status-panel.warn p { color:#856c45; }
.status-panel .checked { color:#7792a1; font-size:10.5px; }
.sources { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:19px; }
.sources a,.text-button { color:#1d668c; font-size:11.8px; font-weight:670; background:none; border:0; text-decoration:none; cursor:pointer; padding:4px 0; }
.sources a:hover,.text-button:hover { text-decoration:underline; }
.sources a svg { vertical-align:middle; margin-left:3px; }
.help-panel { margin-top:12px; border-radius:10px; border:1px solid #dce6ee; background:#f6f9fc; padding:12px 13px; font-size:11.7px; line-height:1.5; color:#54697b; }
.help-panel strong { color:#234761; font-size:12px; }
.help-panel p { margin:7px 0 0; }
footer { display:flex; flex-direction:column; gap:5px; padding:14px 24px 17px; border-top:1px solid #e6eef3; color:#8c9aa7; font-size:10.2px; line-height:1.45; }
.toast { opacity:0; pointer-events:none; position:fixed; bottom:20px; left:50%; transform:translate(-50%, 5px); border-radius:10px; padding:10px 15px; font-size:12px; color:white; background:#173e5d; box-shadow:0 10px 32px #071b2e55; transition:opacity .2s, transform .2s; }
.toast.show { opacity:1; transform:translate(-50%,0); }
@media(max-width:440px) { body{padding:0;background:#fff;display:block;} .shell{border-radius:0;min-height:100vh;box-shadow:none;} .content{padding:22px 16px 18px;} .app-head{padding:23px 17px 19px;} .head-caption{margin-left:60px;} .rates-row{grid-template-columns:67px minmax(0,1fr) minmax(0,1fr);column-gap:7px;} .rate{font-size:16px;} footer{padding:14px 16px;} }
