/* Model Zone uses the blog's article width, type, links and conventional tables. */
body.model-zone-page { background:#fff !important; margin:0 !important; color:#404040; font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-size:17px; line-height:1.5 !important; }
.mz { max-width:853.33px; margin:0 auto; padding:100px 15px 50px; }
.mz *, .mz *::before, .mz *::after { box-sizing:border-box; }
.mz [hidden] { display:none !important; }
.mz h1,.mz h2,.mz h3,.mz h4 { color:#404040; font-family:-apple-system,"Helvetica Neue",Arial,sans-serif; font-weight:700; line-height:1.1; }
.mz h1 { font-size:36px; margin:0 0 24px; }
.mz h2 { font-size:28px; margin:35px 0 20px; }
.mz h3 { font-size:22px; margin:25px 0 18px; }
.mz h4 { font-size:18px; margin:20px 0 12px; }
.mz p { margin:18px 0 !important; padding:0 !important; border:0 !important; line-height:1.85 !important; }
.mz a { color:#337ab7; text-decoration:none; }
.mz a:hover { color:#23527c; text-decoration:underline; }
.mz a:focus-visible,.mz summary:focus-visible,.mz select:focus-visible,.mz button:focus-visible,.mz input:focus-visible,.mz [tabindex]:focus-visible { outline:2px solid #337ab7; outline-offset:3px; }
.mz-lead { font-size:18px; }
.mz .mz-status,.mz .mz-eyebrow { font-size:14px; color:#666; }
.explorer-choose { display:flex; gap:12px; flex-wrap:wrap; margin:25px 0 15px; padding:18px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; }
.explorer-choose label { flex:1 1 150px; min-width:0; }
.explorer-choose label:last-child { flex:1 1 230px; }
.mz label { display:block; font-size:14px; font-weight:700; }
.mz select,.mz input[type=search] { display:block; width:100%; min-height:34px; margin-top:5px; padding:6px 10px; color:#555; background:#fff; border:1px solid #ccc; border-radius:3px; font:400 14px/1.4 inherit; }
.mz button { min-height:34px; padding:6px 12px; color:#333; background:#fff; border:1px solid #ccc; border-radius:3px; font:14px/1.4 inherit; }
.mz button:hover { background:#e6e6e6; }
.explorer-context { font-size:14px; line-height:1.6; margin:18px 0; }
.explorer-context strong { color:#404040; }
.explorer-equation { padding:18px 0; font:23px/1.7 Georgia,"Times New Roman",serif; overflow-x:auto; }
.explorer-equation .equation-note { display:block; font:14px/1.6 ui-sans-serif,system-ui,sans-serif; color:#666; margin-top:8px; }
.explorer-terms { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:12px 0 20px; font-size:15px; }
.explorer-terms dt { font-weight:700; margin-bottom:5px; }
.explorer-terms dd { margin:0; line-height:1.7; }
.explorer-section-title { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:30px 0 12px; }
.explorer-section-title h2,.explorer-section-title h3 { margin:0; }
.scenario-controls { display:grid; grid-template-columns:160px 1fr; gap:15px 25px; margin:20px 0; padding:18px 0; border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.scenario-controls p { grid-column:1/-1; font-size:14px; margin:0 !important; }
.scenario-controls input[type=range] { display:block; width:100%; margin:14px 0 8px; accent-color:#337ab7; }
.scenario-controls output { font-weight:400; }
.scenario-status { font-weight:600; }
.compare-selects { display:flex; gap:12px; flex:1 1 400px; }
.compare-selects label { flex:1; min-width:0; }
.athlete-decompositions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; margin:22px 0; }
.athlete-decomposition { min-width:0; }
.athlete-decomposition h4 { margin:0 0 10px; }
.score-numbers { display:flex; gap:25px; margin:8px 0 15px; font-size:14px; }
.score-numbers strong { display:block; font-size:22px; font-weight:600; }
.mz svg { max-width:100%; height:auto; display:block; font-family:inherit; }
.mz .chart-caption { font-size:13px; color:#666; margin-top:8px !important; }
.component-list { display:grid; grid-template-columns:1fr auto; font-size:14px; gap:5px 12px; margin:12px 0; }
.component-list dt { font-weight:400; }.component-list dd { margin:0; font-variant-numeric:tabular-nums; }
.mz details { margin:18px 0; }
.mz summary { cursor:pointer; padding:12px 0; font-size:16px; font-weight:600; }
.mz .mz-more,.mz .explorer-secondary { border-top:1px solid #ddd; }
.mz .explorer-secondary { margin-top:35px; }
.mz .mz-panel { padding:5px 0 15px; }
.mz .mz-model { border-bottom:1px solid #ddd; }
.mz .mz-model summary small { display:block; margin-top:5px; font-size:13px; font-weight:400; color:#666; }
.mz .mz-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 20px; font-size:14px; margin:15px 0; }
.mz .mz-meta dt { color:#666; font-weight:400; }.mz .mz-meta dd { margin:3px 0; overflow-wrap:anywhere; }
.mz .mz-table { width:100%; overflow:auto; margin:18px 0 25px; max-height:520px; }
.mz table { width:100%; border-collapse:collapse; background:#fff; font-size:14px; }
.mz caption { text-align:left; color:#555; padding:8px 0; font-size:14px; }
.mz th,.mz td { padding:8px; text-align:left; vertical-align:top; border:1px solid #ddd; overflow-wrap:anywhere; }
.mz th { font-weight:600; background:#f5f5f5; }.mz tbody th { background:#fff; }
.mz tbody tr:nth-child(even) td,.mz tbody tr:nth-child(even) th { background:#f9f9f9; }
.mz td small { display:block; color:#666; margin-top:4px; }
.mz .table-responsive { overflow:visible; border:0; margin:0; }
.mz .table-responsive > .table > thead > tr > th,.mz .table-responsive > .table > tbody > tr > th,.mz .table-responsive > .table > tbody > tr > td { white-space:normal; }
.scenario-ranking { min-width:660px; }
.mz .mz-source-links { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:14px; }
.mz .mz-foot { margin-top:45px; padding-top:20px; border-top:1px solid #eee; font-size:14px; }
.mz-skip { position:fixed; top:-100px; left:10px; z-index:9999; background:#fff; padding:12px; }.mz-skip:focus { top:8px; }
.model-zone-page .navbar-custom a { text-shadow:none !important; -webkit-text-stroke:0 !important; }
.chart-legend { display:flex; flex-wrap:wrap; gap:6px 18px; font-size:13px; margin:8px 0; }
.chart-legend span::before { content:"";display:inline-block;width:12px;height:10px;background:var(--legend-color);margin-right:5px; }
@media(max-width:767px) { .mz { padding:85px 15px 35px; } .mz h1 { font-size:30px; }.mz h2 { font-size:25px; }.explorer-terms { grid-template-columns:1fr;gap:12px; }.scenario-controls { grid-template-columns:1fr;gap:16px; }.athlete-decompositions { grid-template-columns:1fr;gap:25px; }.compare-selects { flex-direction:column; }.mz .mz-meta { grid-template-columns:1fr; }.mz .mz-table::after { content:"Scroll horizontally for all columns";display:block;font-size:12px;color:#666;padding:8px 0; }.mz select,.mz input[type=search] { font-size:16px;min-height:40px; } }
.explorer-choose label:first-child { flex:0 1 160px; }
.explorer-choose label:nth-child(2) { flex:1 1 250px; }
.mz pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
@media(max-width:767px) { .explorer-choose label,.explorer-choose label:first-child,.explorer-choose label:nth-child(2),.explorer-choose label:last-child { flex:1 1 100%; } }
.mz .component-table { font-size:13px; }
.mz .component-table th,.mz .component-table td { padding:6px; }

/* Keep chart text in CSS pixels; narrow screens scroll instead of shrinking labels. */
.mz .chart-scroll { max-width:100%; overflow-x:auto; margin:12px 0; }
.mz .chart-scroll svg { max-width:none; flex-shrink:0; }
@media(max-width:767px) { .mz .chart-scroll::after { content:"Scroll horizontally to see the full chart"; display:block; font-size:13px; color:#666; padding:8px 0; } }
