/* Equation Station SA — topic deep-dive layer v4
   Adds concise worked-example slides without changing canonical routes. */
.es-deepdive{max-width:1080px;margin:24px auto;padding:0 16px}
.es-deepdive-shell{background:#fff;border:1px solid #dfe6ed;border-radius:18px;box-shadow:0 10px 30px rgba(18,34,53,.07);overflow:hidden}
.es-deepdive-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e6ebf0;background:#fbfcfe}
.es-deepdive-kicker{display:inline-block;font-size:.72rem;line-height:1;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#1768b5;margin-bottom:6px}
.es-deepdive-head h2{margin:0;color:#122235;font-size:clamp(1.25rem,2.3vw,1.8rem)}
.es-deepdive-head p{margin:6px 0 0;color:#607181;max-width:720px;line-height:1.55}
.es-deepdive-counter{white-space:nowrap;font-weight:800;color:#1768b5;background:#eaf3fb;border-radius:999px;padding:7px 10px;font-size:.82rem}
.es-deepdive-stage{padding:20px}
.es-deepdive-slide{display:none;animation:esFade .2s ease}
.es-deepdive-slide.is-active{display:block}
.es-deepdive-slide h3{font-size:clamp(1.2rem,2vw,1.55rem);margin:0 0 7px;color:#122235}
.es-deepdive-lede{margin:0 0 15px;color:#526171;line-height:1.6;max-width:850px}
.es-deepdive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.es-deepdive-card{border:1px solid #dfe6ed;border-radius:12px;padding:12px;background:#fbfcfe;line-height:1.45;color:#324454}
.es-deepdive-card strong{display:block;color:#1768b5;margin-bottom:3px}
.es-deepdive-steps{margin:13px 0 0;padding:0;list-style:none;counter-reset:esstep;max-width:850px}
.es-deepdive-steps li{counter-increment:esstep;display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;margin:9px 0;line-height:1.5;color:#26394a}
.es-deepdive-steps li:before{content:counter(esstep);width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#122235;color:#fff;font-size:.74rem;font-weight:800;margin-top:1px}
.es-deepdive-formula{margin:12px 0;padding:12px 14px;border-left:4px solid #1768b5;background:#f3f8fc;border-radius:8px;overflow-x:auto;color:#122235;font-weight:700}
.es-deepdive-tip,.es-deepdive-warning{margin-top:13px;padding:11px 13px;border-radius:9px;line-height:1.5}
.es-deepdive-tip{background:#f0faf6;border-left:4px solid #18836f;color:#24493e}
.es-deepdive-warning{background:#fff6f3;border-left:4px solid #b94a3e;color:#63342f}
.es-deepdive-visual{margin:14px 0;border:1px solid #dfe6ed;border-radius:14px;background:#fff;padding:10px;overflow:hidden}
.es-deepdive-visual svg{display:block;width:100%;height:auto;max-height:310px;margin:auto}
.es-deepdive-visual figcaption{text-align:center;color:#607181;font-size:.84rem;line-height:1.45;margin-top:7px}
.es-deepdive-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #e6ebf0;background:#fbfcfe}
.es-deepdive-btn{border:1px solid #cbd6df;background:#fff;color:#17324a;border-radius:9px;padding:9px 12px;font-weight:800;cursor:pointer}
.es-deepdive-btn:hover:not(:disabled){border-color:#1768b5;color:#1768b5}
.es-deepdive-btn:disabled{opacity:.42;cursor:not-allowed}
.es-deepdive-dots{display:flex;gap:6px;align-items:center;justify-content:center}
.es-deepdive-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#c4ced7;cursor:pointer}
.es-deepdive-dot.is-active{background:#1768b5;transform:scale(1.2)}
@keyframes esFade{from{opacity:.25;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:700px){.es-deepdive{padding:0 10px;margin:16px auto}.es-deepdive-head{padding:15px;display:block}.es-deepdive-counter{display:inline-block;margin-top:10px}.es-deepdive-stage{padding:15px}.es-deepdive-grid{grid-template-columns:1fr}.es-deepdive-nav{padding:12px 15px}.es-deepdive-btn{font-size:.82rem;padding:8px 9px}}
