.ds-zero-bridge{margin:2.25rem 0;padding:clamp(1rem,2.5vw,2rem);border:1px solid rgba(127,127,127,.28);border-radius:1.15rem;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(127,127,127,.025))}
.ds-zero-bridge h2{margin-top:0}.ds-zero-bridge h3{margin-top:1.55rem}.ds-zero-kicker{font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:.82rem;opacity:.78}
.ds-zero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.ds-zero-card{padding:1rem;border:1px solid rgba(127,127,127,.25);border-radius:.9rem;background:rgba(127,127,127,.045)}
.ds-zero-vocab{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1rem 0}.ds-zero-vocab>div{padding:.8rem;border-left:3px solid currentColor;background:rgba(127,127,127,.04)}.ds-zero-vocab dt{font-weight:800}.ds-zero-vocab dd{margin:.3rem 0 0}
.ds-formula-teach{margin:1.1rem 0;padding:1rem;border-radius:.9rem;background:rgba(127,127,127,.06)}.ds-formula-expression{font-size:clamp(1.25rem,3vw,1.8rem);font-weight:800;overflow-wrap:anywhere}.ds-symbol-table{width:100%;border-collapse:collapse;margin:1rem 0}.ds-symbol-table th,.ds-symbol-table td{padding:.6rem;border:1px solid rgba(127,127,127,.25);text-align:left;vertical-align:top}
.ds-calc-steps{counter-reset:step;list-style:none;padding:0}.ds-calc-steps li{counter-increment:step;margin:.6rem 0;padding-left:2.4rem;position:relative}.ds-calc-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:1.7rem;height:1.7rem;border-radius:50%;display:grid;place-items:center;border:1px solid currentColor;font-weight:800}
.ds-zero-warning{padding:.85rem 1rem;border-left:4px solid currentColor;background:rgba(127,127,127,.055)}.ds-econ-term{font:inherit;font-weight:750;text-decoration:underline dotted;text-underline-offset:.18em;border:0;padding:0;background:transparent;color:inherit;cursor:help}.ds-term-popover{position:fixed;z-index:99999;max-width:min(34rem,calc(100vw - 2rem));max-height:min(32rem,calc(100vh - 2rem));overflow:auto;padding:1rem;border:1px solid currentColor;border-radius:.9rem;background:Canvas;color:CanvasText;box-shadow:0 1rem 3rem rgba(0,0,0,.28)}.ds-term-popover button{float:right}
.ds-module0-table{width:100%;border-collapse:collapse}.ds-module0-table th,.ds-module0-table td{padding:.65rem;border:1px solid rgba(127,127,127,.25);vertical-align:top}
@media(max-width:760px){.ds-zero-grid,.ds-zero-vocab{grid-template-columns:1fr}.ds-zero-bridge{margin:1.4rem 0;padding:1rem}.ds-symbol-table{font-size:.94rem}}
@media print{.ds-term-popover{display:none!important}.ds-zero-bridge{break-inside:avoid-page;border:1px solid #777}.ds-econ-term{text-decoration:none}}


/* Consolidation pédagogique : composants communs, glossaire enrichi, Module 0. */
.ds-term-popover{position:fixed;z-index:2147482000;width:min(430px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 24px));overflow:auto;background:#fff;color:#172b3c;border:1px solid #9fb5c7;border-radius:16px;box-shadow:0 18px 55px rgba(15,36,52,.24);padding:16px;line-height:1.5}
.ds-term-popover__top{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:8px}.ds-term-popover__top>strong{font-size:1.08rem}.ds-term-popover__close{border:1px solid #7893a8;background:#f7fafc;color:#17364e;border-radius:9px;padding:6px 9px;cursor:pointer}.ds-term-popover p{margin:.55rem 0}.ds-term-popover__more{display:inline-block;margin-top:.45rem;font-weight:700;text-decoration:underline}.ds-econ-term{font:inherit;color:inherit;background:transparent;border:0;border-bottom:1px dotted currentColor;padding:0;cursor:help}.ds-econ-term:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:3px}
.ds-shared-methods{margin:1.4rem 0;padding:1rem;border:1px solid #c5d3de;border-radius:16px;background:#f8fbfd}.ds-shared-methods h2{font-size:1.2rem;margin:.1rem 0 1rem}.ds-shared-methods__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.ds-shared-methods details{background:#fff;border:1px solid #d7e1e8;border-radius:12px;padding:.75rem}.ds-shared-methods summary{font-weight:750;cursor:pointer}.ds-shared-methods li+li{margin-top:.45rem}
.ds-advanced-formula-teach{margin-top:.9rem;padding:1rem;border:1px solid #c7d7e3;border-radius:14px;background:#fbfdff}.ds-symbol-table--advanced{margin:.7rem 0 1rem}.ds-topic-lead{margin:1.25rem 0 .45rem;font-size:1.02rem}.ds-topic-lead strong{font-weight:780}.ds-merged-subheading{margin-top:1.6rem}.ds-method-hint{border-left:4px solid #b78a2b;padding:.7rem .9rem;background:#fff8e8}.ds-econ-correction-workshop{margin:2rem 0;padding:1.2rem;border:1px solid #aac1d2;border-radius:18px;background:#f8fbfd}.ds-econ-correction-workshop details{margin:.7rem 0;background:#fff;border:1px solid #d7e1e8;border-radius:12px;padding:.7rem}.ds-module0-figure{margin:1.35rem auto;max-width:900px}.ds-module0-figure img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid #d4e0e8;background:#f7fafc}.ds-module0-figure figcaption{font-size:.93rem;color:#4f6170;margin-top:.45rem}.ds-full-correction{margin:1rem 0;padding:.75rem .9rem;border:1px solid #cbd9e3;border-radius:12px;background:#fff}.ds-full-correction summary{font-weight:750;cursor:pointer}
@media(max-width:760px){.ds-shared-methods__grid{grid-template-columns:1fr}.ds-term-popover{width:calc(100vw - 20px);max-height:65vh}.ds-symbol-table--advanced{font-size:.92rem}.ds-module0-figure{margin-inline:-.25rem}}
@media(hover:hover){.ds-econ-term:hover{background:rgba(53,95,134,.08)}}


.ds-module0-deepening{margin:1.2rem 0;padding:1rem 1.05rem;background:#fbfdff;border-left:4px solid #9fb7c9;border-radius:0 12px 12px 0}.ds-module0-deepening h3{margin-top:.1rem}.ds-topic-lead--exercise{font-size:.98rem;margin-top:.9rem}.ds-topic-lead--exercise strong{color:inherit}

.ds-econ-longbook .ds-longbook-h4{font-size:1.02rem;line-height:1.35;margin:1.15rem 0 .4rem;font-weight:760}.ds-econ-longbook .ds-longbook-h4+ p{margin-top:.2rem}

/* Consolidation pédagogique : transitions en prose et passerelles zéro→expert */
.ds-inline-lead{margin:1.1rem 0 .45rem;line-height:1.65}.ds-inline-lead>strong{font-weight:750}.ds-inline-lead--topic{margin-top:1.35rem;padding-top:.35rem;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.ds-zero-bridge--advanced{margin-block:2.2rem;padding:clamp(1rem,2.4vw,1.8rem);border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:18px;background:color-mix(in srgb,var(--surface,#fff) 94%,#64748b 6%)}
.ds-zero-bridge--advanced .ds-symbol-table{width:100%;border-collapse:collapse}.ds-zero-bridge--advanced .ds-symbol-table th,.ds-zero-bridge--advanced .ds-symbol-table td{padding:.65rem .7rem;vertical-align:top;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
@media(max-width:640px){.ds-zero-bridge--advanced{padding:.9rem}.ds-zero-bridge--advanced .ds-symbol-table{display:block;overflow-x:auto;white-space:normal}.ds-inline-lead--topic{margin-top:1rem}}


/* Économie : continuité éditoriale et sources institutionnelles */

.econ-inline-subhead{margin:1.4rem 0 .48rem;font-weight:850;font-size:1.03rem;line-height:1.42;color:#183b61}.econ-inline-subhead+*{margin-top:.35rem}.ds-econ-source-note{margin:2rem 0;padding:1.1rem 1.25rem;border-left:4px solid #315f89;background:#f5f8fb;border-radius:0 12px 12px 0}.ds-econ-source-note__title{margin:0 0 .45rem!important;font-weight:900!important;color:#163a60!important}.ds-econ-source-note ul{margin:.55rem 0 0;padding-left:1.2rem}.ds-econ-source-note li{margin:.35rem 0}.ds-econ-source-note a{font-weight:700;text-underline-offset:.17em}
