/* Self-contained first-paint styling for server-rendered homepage market charts. */
#ehhc-live-market-grid{display:grid;grid-template-columns:minmax(0,1fr);margin:18px auto 0;max-width:1200px}
#ehhc-live-market-grid>.ehhc-market-ssr{box-sizing:border-box;min-width:0;padding:clamp(18px,2.2vw,30px);border:1px solid #d9e2ec;border-radius:18px;background:#fff;color:#14233b;box-shadow:0 12px 34px rgba(20,35,59,.06)}
.ehhc-market-ssr .ehhc-home-stat-title{margin:0 0 6px;color:#152641;font-size:clamp(21px,2vw,28px);line-height:1.2;letter-spacing:-.02em}
.ehhc-market-ssr .ehhc-chart-intro{margin:0 0 18px;color:#5c6e84;font-size:.96rem;line-height:1.55}
.ehhc-market-ssr .ehhc-market-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.ehhc-market-ssr .ehhc-market-summary-card{display:flex;flex-direction:column;min-width:0;gap:7px;padding:16px;border:1px solid #e0e7ef;border-radius:14px;background:linear-gradient(180deg,#fbfcfe,#f5f8fb)}
.ehhc-market-ssr .ehhc-summary-label{color:#53657c;font-size:.83rem;font-weight:650}
.ehhc-market-ssr .ehhc-summary-value{color:#172a46;font-size:clamp(22px,2vw,29px);font-weight:760;line-height:1.12;font-variant-numeric:tabular-nums}
.ehhc-market-ssr .ehhc-summary-sample{color:#62738a;font-size:.78rem;line-height:1.4}
.ehhc-market-ssr .ehhc-summary-comparisons{display:grid;gap:7px;margin-top:auto;padding-top:8px}
.ehhc-market-ssr .ehhc-summary-compare{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:baseline;padding-top:8px;border-top:1px solid #e3e9f0}
.ehhc-market-ssr .ehhc-summary-compare span{color:#5c6e84;font-size:.76rem}
.ehhc-market-ssr .ehhc-summary-compare b{color:#243550;font-size:.85rem;text-align:right;font-variant-numeric:tabular-nums}
.ehhc-market-ssr .ehhc-summary-compare small{grid-column:1/-1;color:#718096;font-size:.72rem}
.ehhc-market-ssr .ehhc-period-legend{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;margin:4px 0 16px;padding:11px 14px;border:1px solid #e1e7ef;border-radius:12px;background:#f7f9fb;color:#41536c;font-size:.82rem}
.ehhc-market-ssr .ehhc-period-legend span{display:inline-flex;align-items:center;white-space:nowrap}
.ehhc-market-ssr .ehhc-period-legend i{display:inline-block;width:11px;height:11px;margin-right:7px;border-radius:50%}
.ehhc-market-ssr .ehhc-chart-current{background:#b10f36}.ehhc-market-ssr .ehhc-chart-prior{background:#6887b8}.ehhc-market-ssr .ehhc-chart-year{background:#38a77e}
.ehhc-ssr-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.ehhc-market-ssr .ehhc-chart-card{box-sizing:border-box;min-width:0;padding:17px 18px 15px;border:1px solid #dce4ed;border-radius:15px;background:#fcfdff}
.ehhc-market-ssr .ehhc-chart-card h4{margin:0 0 15px;color:#1c2d48;font-size:1rem;line-height:1.35}
.ehhc-market-ssr .ehhc-period-bars{display:grid;gap:13px}
.ehhc-market-ssr .ehhc-period-bar-category{display:grid;grid-template-columns:minmax(100px,28%) minmax(0,1fr);gap:12px;align-items:center}
.ehhc-market-ssr .ehhc-period-bar-label{color:#283a54;font-size:.82rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.ehhc-market-ssr .ehhc-period-bar-stack{display:grid;gap:5px;min-width:0}
.ehhc-market-ssr .ehhc-period-bar-line{display:grid;grid-template-columns:minmax(35px,1fr) minmax(76px,auto);gap:9px;align-items:center;min-width:0}
.ehhc-market-ssr .ehhc-period-bar-track{display:block;position:relative;overflow:hidden;width:100%;height:8px;border-radius:99px;background:#e8edf2}
.ehhc-market-ssr .ehhc-period-bar-fill{display:block;height:100%;min-width:0;border-radius:99px;transition:width .25s ease}
.ehhc-market-ssr .ehhc-period-bar-fill.ehhc-chart-current{background:#b10f36}.ehhc-market-ssr .ehhc-period-bar-fill.ehhc-chart-prior{background:#6887b8}.ehhc-market-ssr .ehhc-period-bar-fill.ehhc-chart-year{background:#38a77e}
.ehhc-market-ssr .ehhc-period-bar-value{color:#40536d;font-size:.73rem;font-weight:650;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ehhc-market-ssr .ehhc-period-bar-value.is-small-sample{color:#748197;font-weight:500}
.ehhc-market-ssr .ehhc-chart-empty{margin:0;color:#65758a;font-size:.88rem}
.ehhc-market-ssr .ehhc-home-stat-note{margin:15px 0 0;color:#617187;font-size:.8rem;line-height:1.5}
.ehhc-market-ssr .ehhc-market-ssr-months{margin-top:16px;padding:14px 16px;border:1px solid #dce4ed;border-radius:14px;background:#fbfcfd}
.ehhc-market-ssr .ehhc-market-ssr-months summary{cursor:pointer;color:#253851;font-weight:700}
.ehhc-ssr-month-bars{display:flex;align-items:stretch;gap:8px;height:190px;margin-top:16px;padding:8px 4px 0;border-bottom:1px solid #cfd8e3}
.ehhc-ssr-month-bars>div{display:grid;grid-template-rows:1fr auto auto;justify-items:center;gap:5px;flex:1;min-width:0;text-align:center}
.ehhc-ssr-month-bars i{align-self:end;width:min(28px,70%);min-height:2px;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#c31a42,#a81031)}
.ehhc-ssr-month-bars span{color:#65758b;font-size:.72rem}.ehhc-ssr-month-bars b{color:#31445f;font-size:.72rem;font-variant-numeric:tabular-nums}
.ehhc-market-ssr .ehhc-market-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.ehhc-market-ssr .ehhc-market-links a{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #e0a9b8;border-radius:999px;color:#a81031;background:#fff;font-weight:700;text-decoration:none}
.ehhc-market-ssr .ehhc-market-links a:hover{background:#fff4f6}
.ehhc-market-ssr .ehhc-market-ssr-updated{display:block;margin-top:10px;color:#718096;font-size:.75rem}
.ehhc-market-ssr-refresh{padding:14px;border:1px solid #e1e7ef;border-radius:12px;background:#f4f7fa;line-height:1.55}
.ehhc-market-ssr-refresh a{color:#a81031;font-weight:700}
@media(max-width:760px){.ehhc-ssr-chart-grid{grid-template-columns:1fr}.ehhc-market-ssr .ehhc-market-summary{grid-template-columns:1fr}.ehhc-market-ssr .ehhc-period-bar-category{grid-template-columns:minmax(88px,30%) minmax(0,1fr);gap:8px}.ehhc-market-ssr .ehhc-period-bar-line{grid-template-columns:minmax(24px,1fr) minmax(76px,auto);gap:6px}}
@media(max-width:420px){#ehhc-live-market-grid>.ehhc-market-ssr{padding:14px}.ehhc-market-ssr .ehhc-chart-card{padding:14px 12px}.ehhc-market-ssr .ehhc-period-legend{gap:8px 12px}.ehhc-market-ssr .ehhc-period-bar-category{grid-template-columns:1fr;gap:5px}}
/* Public homepage body uses .eh-home-page; keep the login action outside the blurred media layer. */
.eh-home-page .ehhc-blur-cards{filter:none!important;opacity:1!important;transform:none!important}
.eh-home-page .ehhc-blur-card{position:relative;isolation:isolate;overflow:hidden}
.eh-home-page .ehhc-blur-card-scene{position:relative;z-index:0;filter:none!important;opacity:1!important;transform:none!important}
.eh-home-page .ehhc-blur-card-photo{filter:blur(8px)!important;transform:scale(1.08)}
.eh-home-page .ehhc-blur-card-lines{filter:blur(4px)}
.eh-home-page .ehhc-login-required{z-index:20!important;position:absolute!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;border:2px solid #fff!important;border-radius:8px!important;background:#a81031!important;color:#fff!important;filter:none!important;box-shadow:0 4px 14px #24101a55!important}
.eh-home-page .ehhc-login-required:hover,.eh-home-page .ehhc-login-required:focus-visible{background:#7d0c25!important;color:#fff!important}
