/* Live mortgage rates widget + market snapshot (shared by MI and PA sites) */
.sd-rates { background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 6px 18px rgba(13,34,64,.06); }
.sd-rates__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.sd-rates__title { margin: 0; font-weight: 700; font-size: 17px; color: #0d2240; }
.sd-rates__asof { margin: 0; font-size: 13px; color: #5b6b80; }
.sd-rates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sd-rate { background: #f5f7fa; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sd-rate__label { font-size: 13px; color: #42526a; line-height: 1.25; }
.sd-rate__val { font-size: 26px; font-weight: 800; color: #0d2240; letter-spacing: -.5px; }
.sd-rates__src, .sd-rates__disc { font-size: 12px; color: #5b6b80; margin: 10px 0 0; line-height: 1.45; }
.sd-rates__disc { margin-top: 6px; }
.sd-market--tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sd-tile { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.sd-tile b { font-size: 28px; font-weight: 800; color: #0d2240; letter-spacing: -.5px; }
.sd-tile span { font-size: 14px; color: #42526a; }
.sd-tile small { font-size: 13px; color: #5b6b80; }
.sd-snapshot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .sd-snapshot { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sd-rates__grid { grid-template-columns: 1fr; } .sd-rate { flex-direction: row; justify-content: space-between; align-items: center; } .sd-rate__val { font-size: 22px; } }
[data-sd-rates][hidden], [data-sd-section][hidden] { display: none !important; }
