/* Kalshi article presentation supplement. No change to shared/template CSS. */
#article-body figure.hf-visual{box-sizing:border-box;margin:28px 0;padding:22px;border:1px solid #dbe5ee;border-radius:18px;background:#f8fbfe;color:#11263a;max-inline-size:100%;min-inline-size:0;isolation:isolate;container-type:inline-size;}
#article-body .hf-visual *{box-sizing:border-box;min-inline-size:0;}
#article-body .hf-visual .hf-v-title{margin:0 0 18px;padding:0;font-size:1.12rem;font-weight:750;line-height:1.6;color:#132b43;overflow-wrap:anywhere;}
#article-body .hf-visual .hf-v-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
#article-body .hf-visual .hf-v-step{position:relative;list-style:none;margin:0;padding:12px 7px;background:#fff;border:1px solid #dfebf2;border-radius:12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;}
#article-body .hf-visual .hf-v-step:not(:last-child)::after{content:'→';position:absolute;inset-inline-end:-10px;top:52px;z-index:2;color:#6686a2;line-height:1;}
[dir=rtl] #article-body .hf-visual .hf-v-step:not(:last-child)::after{content:'←';}
#article-body .hf-visual .hf-v-stepnum{font-family:system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e8f2fa;color:#205775;font-size:.8rem;font-weight:750;inline-size:26px;block-size:26px;flex-shrink:0;}
#article-body .hf-visual .hf-v-icon{display:block;inline-size:62px;block-size:66px;object-fit:contain;border-radius:10px;margin:0;border:0;box-shadow:none;}
#article-body .hf-visual .hf-v-steptext{display:flex;flex-direction:column;gap:7px;inline-size:100%;}
#article-body .hf-visual .hf-v-steptext strong{font-size:.88rem;line-height:1.45;font-weight:700;overflow-wrap:anywhere;}
#article-body .hf-visual .hf-v-steptext span{font-size:.78rem;line-height:1.6;color:#466176;overflow-wrap:anywhere;}
#article-body .hf-visual figcaption{display:block;margin:16px 0 0;padding:13px 0 0;border-top:1px solid #dbe5ee;font-size:.85rem;line-height:1.8;color:#3f5b70;text-align:start;}
#article-body .hf-visual .hf-v-depth{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:stretch;}
#article-body .hf-visual .hf-v-book,#article-body .hf-visual .hf-v-result{background:#fff;border:1px solid #dfebf2;border-radius:12px;padding:16px;}
#article-body .hf-visual .hf-v-booktitle{font-size:.88rem;font-weight:650;line-height:1.6;margin:0 0 15px;}
#article-body .hf-visual .hf-v-order{display:flex;align-items:center;gap:14px;margin-block-end:16px;}
#article-body .hf-visual .hf-v-order .hf-v-icon{inline-size:54px;block-size:64px;}
#article-body .hf-visual .hf-v-order strong{font-size:1rem;line-height:1.6;}
#article-body .hf-visual .hf-v-level{margin-block-start:14px;}
#article-body .hf-visual .hf-v-leveltext{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:.9rem;line-height:1.8;}
#article-body .hf-visual .hf-v-bar-track{direction:ltr;background:#e7eff6;block-size:14px;border-radius:7px;overflow:hidden;margin-block-start:6px;}
#article-body .hf-visual .hf-v-bar{display:block;block-size:100%;border-radius:7px;background:#477db1;}
#article-body .hf-visual .hf-v-bar[data-qty='40']{inline-size:40%;}
#article-body .hf-visual .hf-v-bar[data-qty='60']{inline-size:60%;background:#279d94;}
#article-body .hf-visual .hf-v-results{margin:0;display:grid;gap:12px;}
#article-body .hf-visual .hf-v-results dt{font-size:.82rem;color:#466176;line-height:1.6;}
#article-body .hf-visual .hf-v-results dd{margin:3px 0 0;font-family:system-ui,sans-serif;font-size:1.65rem;font-weight:750;line-height:1.4;color:#173d63;}
#article-body .hf-visual .hf-v-results .hf-v-average dd{color:#0c786a;}
#article-body .hf-visual .hf-v-equations{direction:ltr;unicode-bidi:isolate;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 20px;margin-block-start:16px;padding:12px;border:1px solid #dbe5ee;border-radius:10px;background:#fff;color:#263f55;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86rem;line-height:1.8;text-align:center;}
#article-body .hf-visual .hf-v-equations span{white-space:normal;}
#article-body .hf-visual bdi{unicode-bidi:isolate;font-variant-numeric:tabular-nums;}
@container (max-width:620px){
 #article-body .hf-visual .hf-v-flow{grid-template-columns:1fr;gap:12px;}
 #article-body .hf-visual .hf-v-step{display:grid;grid-template-columns:24px 54px minmax(0,1fr);align-items:center;text-align:start;gap:12px;padding:10px 12px;}
 #article-body .hf-visual .hf-v-steptext{gap:2px;}
 #article-body .hf-visual .hf-v-steptext strong{font-size:.94rem;line-height:1.55;}
 #article-body .hf-visual .hf-v-steptext span{font-size:.82rem;}
 #article-body .hf-visual .hf-v-icon{inline-size:54px;block-size:58px;}
 #article-body .hf-visual .hf-v-step:not(:last-child)::after,[dir=rtl] #article-body .hf-visual .hf-v-step:not(:last-child)::after{content:'↓';top:auto;bottom:-13px;inset-inline-end:auto;inset-inline-start:19px;}
 #article-body .hf-visual .hf-v-depth{grid-template-columns:1fr;gap:12px;}
 #article-body .hf-visual .hf-v-results{grid-template-columns:1fr 1fr;gap:12px;}
}
@media(max-width:600px){#article-body figure.hf-visual{padding:16px 12px;margin:24px 0;border-radius:14px;}#article-body .hf-visual .hf-v-title{font-size:1.03rem;}#article-body .hf-visual .hf-v-book,#article-body .hf-visual .hf-v-result{padding:12px;}#article-body .hf-visual figcaption{font-size:.82rem;}}
@media print{#article-body figure.hf-visual{break-inside:avoid;box-shadow:none;}}
