/* Weather heading only; the existing static gradient stays unchanged. */
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading,
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-city,
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading > span{font-size:14px!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading > span{color:#ff9b22!important;}
html body.iml-home.iml-home #iml-fx-source-data{display:none!important;}
html body.iml-home.iml-home #iml-cso-meat-card,
html body.iml-home.iml-home #iml-combined-fx-card{display:flex!important;flex-direction:column!important;min-width:0!important;}
html body.iml-home.iml-home #iml-cso-meat-card .iml-market-title,
html body.iml-home.iml-home #iml-combined-fx-card .iml-market-title{white-space:normal!important;line-height:1.25!important;}
html body.iml-home.iml-home #iml-cso-meat-card .iml-market-head small,
html body.iml-home.iml-home #iml-combined-fx-card .iml-market-head small{white-space:normal!important;line-height:1.4!important;max-width:none!important;width:100%!important;text-align:left!important;}
html body.iml-home.iml-home #iml-fx-date,
html body.iml-home.iml-home #iml-cso-meat-date{font-size:11px!important;min-height:32px;box-sizing:border-box;}
html body.iml-home.iml-home #iml-combined-fx-list,
html body.iml-home.iml-home #iml-cso-meat-list{display:flex;flex-direction:column;justify-content:space-between;flex:1;min-width:0;gap:5px;}
html body.iml-home.iml-home #iml-combined-fx-list .iml-fx-pair{background:var(--iml-soft,rgba(10,25,40,.45));border-radius:8px;padding:7px 6px;}
html body.iml-home.iml-home #iml-combined-fx-list .iml-fx-pair > div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;min-height:25px;font-size:11px;}
html body.iml-home.iml-home #iml-combined-fx-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body.iml-home.iml-home #iml-combined-fx-list small{font-size:10px;white-space:nowrap;}
html body.iml-home.iml-home #iml-combined-fx-list strong{font-size:12px;color:var(--iml-orange,#ff9800);white-space:nowrap;text-align:right;}
html body.iml-home.iml-home #iml-cso-meat-list > div{display:flex;align-items:center;gap:8px;min-height:26px;padding:3px 6px;background:var(--iml-soft,rgba(10,25,40,.45));border-radius:6px;}
html body.iml-home.iml-home #iml-cso-meat-list span{flex:1;min-width:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body.iml-home.iml-home #iml-cso-meat-list strong{font-size:12px;white-space:nowrap;color:var(--iml-orange,#ff9800);}

/* Keep the full weather heading above a larger compass control. */
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading{grid-column:1 / -1!important;grid-row:1!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-location{grid-column:2!important;grid-row:2!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;font-size:20px!important;line-height:1!important;display:grid!important;place-items:center!important;padding:0!important;align-self:center!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-today-range{grid-row:2!important;align-self:center!important;}
/* Currency rows: larger text and a centered, distinct rate-label column. */
html body.iml-home.iml-home #iml-combined-fx-list{gap:6px!important;}
html body.iml-home.iml-home #iml-combined-fx-list .iml-fx-pair{padding:6px 3px!important;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;}
html body.iml-home.iml-home #iml-combined-fx-list .iml-fx-pair > div{grid-template-columns:minmax(0,1fr) 78px max-content!important;gap:2px!important;min-height:30px!important;font-size:13px!important;}
html body.iml-home.iml-home #iml-combined-fx-list span{font-size:13px!important;}
html body.iml-home.iml-home #iml-combined-fx-list small{font-size:12px!important;text-align:center!important;justify-self:stretch!important;}
html body.iml-home.iml-home #iml-combined-fx-list strong{font-size:14px!important;}

/* Reference layout: fixed title, city/range and labeled location control. */
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-widget-head{display:block!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading{margin:0 0 6px!important;display:flex!important;gap:4px!important;line-height:1.3!important;color:#ff9b22!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-heading > .iml-weather-today{font-size:18px!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-location-row{display:grid!important;grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr) 40px;gap:6px;align-items:center;min-width:0;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-city{grid-column:1!important;grid-row:1!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-today-range{grid-column:2!important;grid-row:1!important;margin:0!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-location-label{grid-column:3;grid-row:1;justify-self:end;color:#39ff14!important;font-size:11px;font-weight:700;text-align:center;line-height:1.2;cursor:pointer;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-location{grid-column:4!important;grid-row:1!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;}
html body.iml-home.iml-home #iml-cso-meat-list span{font-size:13px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.65!important;}
html body.iml-home.iml-home #iml-cso-meat-list strong{font-size:14px!important;flex:0 0 auto;}
html body.iml-home.iml-home #iml-cso-meat-list > div{padding:5px 6px!important;}

html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-humidity,
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-wind{color:#f4f7fa!important;}

html body.iml-home.iml-home #iml-cso-meat-date,html body.iml-home.iml-home #iml-gold-updated{white-space:normal!important;line-height:1.6!important;}
html body.iml-home.iml-home #iml-remittance-card{margin-top:10px;padding:10px 8px;border:1px solid var(--iml-line);border-radius:9px;background:var(--iml-soft);text-align:center;}
html body.iml-home.iml-home #iml-remittance-card h3{margin:0 0 7px!important;font-size:12px!important;line-height:1.6!important;font-weight:700;}
html body.iml-home.iml-home #iml-remittance-card h3 a{color:var(--iml-text)!important;text-decoration:none;}
html body.iml-home.iml-home #iml-remittance-card h3 span{display:block;font-size:11px!important;color:var(--iml-text)!important;}
html body.iml-home.iml-home #iml-remittance-rate{display:block;font-size:15px;color:var(--iml-orange,#ff9800);white-space:nowrap;}

/* Approved panel polish, scoped to the named cards. */
html body.iml-home.iml-home #iml-remittance-card h3 span{color:#90ee90!important;}
html body.iml-home.iml-home .iml-unofficial-market-card .iml-unofficial-compact-status > span{font-size:14px!important;}
html body.iml-home.iml-home .iml-unofficial-market-card #iml-unofficial-usd-value{font-size:16px!important;}
html body.iml-home.iml-home #iml-gold-four-panels{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(4,minmax(72px,1fr))!important;gap:6px!important;flex:1 0 auto!important;min-width:0;}
html body.iml-home.iml-home #iml-gold-four-panels > .iml-jewellery-rates{display:contents!important;}
html body.iml-home.iml-home #iml-gold-four-panels .iml-jewellery-rates > div,
html body.iml-home.iml-home #iml-gold-four-panels > .iml-gold-weight-conversion{height:auto!important;min-height:0!important;margin:0!important;box-sizing:border-box!important;align-self:stretch!important;align-content:center!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-widget-head{margin-bottom:2px!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card .iml-weather-time-current{margin-top:2px!important;}
html body.iml-home.iml-home .iml-dashboard .iml-weather-datetime-card #iml-weather-today-range{font-size:14px!important;}

/* Approved title colors only; leave source links, values and emoji unchanged. */
html body.iml-home.iml-home[data-iml-theme="dark"] :is(#iml-colored-heading-1,#iml-colored-heading-2,#iml-colored-heading-3,#iml-colored-heading-4,#iml-colored-heading-5,#iml-colored-heading-6,#iml-colored-heading-7,#iml-colored-heading-8,#iml-colored-heading-9,#iml-colored-heading-10,#iml-colored-heading-11,#iml-colored-heading-12,#iml-colored-heading-13){color:#90ee90!important;}
html body.iml-home.iml-home[data-iml-theme="light"] :is(#iml-colored-heading-1,#iml-colored-heading-2,#iml-colored-heading-3,#iml-colored-heading-4,#iml-colored-heading-5,#iml-colored-heading-6,#iml-colored-heading-7,#iml-colored-heading-8,#iml-colored-heading-9,#iml-colored-heading-10,#iml-colored-heading-11,#iml-colored-heading-12,#iml-colored-heading-13){color:#166534!important;}
html body.iml-home.iml-home[data-iml-theme="dark"] #iml-remittance-card h3 span{color:#b8c2cc!important;}
html body.iml-home.iml-home[data-iml-theme="light"] #iml-remittance-card h3 span{color:#5f6b76!important;}
