/* F-04: Money by Area, foreign-funded projects view. Linked on map.html (and its Sinhala and Tamil copies) only. */
@media (min-width:901px){.cats.areabtns{grid-template-columns:repeat(7,minmax(0,1fr))}}
body.fxon .cseg>span:first-child,body.fxon .cseg [data-c]{display:none}
.fxnote{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--muted);max-width:none}
.fxp h3{margin:2px 0 4px}
.fxp h4{margin:14px 0 4px}
.fxp .amnone{border-radius:6px}
.fxp .pill{border-radius:6px;min-height:36px}
.fxls li{align-items:flex-start;gap:10px}
.fxls .fxt{flex:1;min-width:0;overflow-wrap:anywhere}
.fxls .fxt small{display:block;margin-top:2px;font-size:12px;line-height:1.35;color:var(--muted)}
.fxls .fxt small b{font-weight:600;color:var(--ink)}
.fxls strong{white-space:nowrap;font-variant-numeric:tabular-nums}
@media (min-width:1000px) and (min-height:560px){body.hp.fxon .areasvg,body.hp.fxon .areaside{height:max(220px,calc(100vh - 410px))}}
body.fxon .tile-d.sel path{fill-opacity:1;stroke-width:4px}
@media (max-width:900px){.areabtns .catb[data-m="fx"]{grid-column:1/-1}}
.fxls .src.ico{flex:none;font-size:0;gap:0;padding:0 6px;min-height:26px;border-radius:6px}
@media (max-width:560px){.fxls li{flex-wrap:wrap;row-gap:4px}.fxls .fxt{flex-basis:100%}.fxls strong{margin-right:auto}}
