/* Delta-Sierra Mars live-resources contract v1 — isolated repair */
.ds-live-sidebar-link{display:flex!important;align-items:center!important;gap:.55rem!important;margin:.75rem 0 1rem!important;padding:.78rem .85rem!important;border-radius:10px!important;background:#3a1318!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #a63d2e!important;text-decoration:none!important;font-weight:900!important;line-height:1.25!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important}.ds-live-sidebar-link:visited{color:#fff!important}.ds-live-sidebar-link:hover,.ds-live-sidebar-link:focus-visible{background:#a63d2e!important;border-color:#f5c86b!important;outline:3px solid #f5c86b!important;outline-offset:2px!important}.ds-live-sidebar-link::before{content:"";width:.72rem;height:.72rem;border-radius:999px;background:#ff334c;box-shadow:0 0 0 4px rgba(255,51,76,.18);flex:0 0 auto}
.ds-live-hub{max-width:1120px;margin:1.5rem auto 2.2rem;padding:1.15rem;border:1px solid rgba(23,50,77,.16);border-radius:18px;background:linear-gradient(180deg,#f7fafc,#eef3f7)}.ds-live-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:.9rem 0 1rem}.ds-live-status{min-height:1.4em;color:#41566d;font-weight:700}.ds-live-section-title{margin:1.5rem 0 .75rem;color:#17324d!important;font-size:1.2rem}.ds-live-warning{padding:.85rem 1rem;border-left:5px solid #c84c32;background:#fff6e9;color:#39261c!important;border-radius:0 10px 10px 0}.ds-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.ds-live-grid--single{grid-template-columns:minmax(0,1fr);max-width:560px}.ds-live-card{min-width:0;background:#08131f;color:#eef6ff;border:1px solid #28455f;border-radius:16px;padding:1rem;box-shadow:0 10px 26px rgba(8,18,32,.16);display:flex;flex-direction:column;gap:.8rem}.ds-live-card h3{margin:.05rem 0 .35rem;color:#fff!important;font-size:1.2rem}.ds-live-card p{margin:.35rem 0 .75rem;color:#d8e4ef!important;line-height:1.55}.ds-live-card__actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-top:auto}.ds-live-card__fallback{color:#f5c86b!important;-webkit-text-fill-color:#f5c86b!important;font-weight:800;text-decoration:underline;text-underline-offset:3px}.ds-live-slot{margin-top:.8rem;border-radius:12px;overflow:hidden;background:#02070b;min-height:0}.ds-live-slot iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}.ds-live-multi[aria-pressed="true"]{background:#f5c86b!important;color:#101820!important}.ds-live-card__meta{margin:0;color:#dce8f3!important}.ds-live-card__note{margin:0;color:#bed0e0!important;font-size:.94rem;line-height:1.5}.ds-live-card__eyebrow{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:800;color:#f5c86b;letter-spacing:.03em;text-transform:uppercase}
.ds-live-poster,.ds-live-poster:link,.ds-live-poster:visited{position:relative;display:block;min-height:210px;padding:1rem;border-radius:14px;border:1px solid rgba(255,255,255,.12);overflow:hidden;text-decoration:none;background:linear-gradient(180deg,#08131f,#10253a);color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 14px 30px rgba(0,0,0,.25);cursor:pointer;font:inherit;text-align:left;width:100%}.ds-live-poster:hover,.ds-live-poster:focus-visible{outline:3px solid rgba(245,200,107,.45);outline-offset:2px;transform:translateY(-1px)}.ds-live-poster::before{content:"";position:absolute;inset:0;background-image:var(--ds-live-poster-image);background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.9}.ds-live-poster::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,9,14,.22),rgba(4,9,14,.18) 40%,rgba(4,9,14,.92))}.ds-live-poster>*{position:relative;z-index:1;display:block}.ds-live-poster__badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:.3rem .55rem;border-radius:999px;background:rgba(8,19,31,.82);border:1px solid rgba(255,255,255,.18);font-size:.78rem;font-weight:800;letter-spacing:.02em}.ds-live-poster__play{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:76px;height:54px;border-radius:16px;background:#ff3131;box-shadow:0 14px 28px rgba(255,49,49,.34)}.ds-live-poster__play::before{content:"";position:absolute;left:29px;top:16px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff}.ds-live-poster__title{margin-top:4.8rem;font-size:1.28rem;font-weight:900;line-height:1.18}.ds-live-poster__subtitle{margin-top:.35rem;color:#eef4fb!important;line-height:1.45;max-width:34ch}.ds-live-archive{display:grid;grid-template-columns:minmax(0,1fr);max-width:720px}.ds-live-archive__card{position:relative;display:flex;min-height:190px;flex-direction:column;justify-content:flex-end;gap:.35rem;padding:1.1rem;border-radius:14px;overflow:hidden;background:#08131f;color:#fff!important;text-decoration:none!important;border:1px solid #28455f;box-shadow:0 10px 26px rgba(8,18,32,.16)}.ds-live-archive__card::before{content:"";position:absolute;inset:0;background-image:var(--ds-live-poster-image);background-size:cover;background-position:center;opacity:.72}.ds-live-archive__card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,9,14,.08),rgba(4,9,14,.92))}.ds-live-archive__card>*{position:relative;z-index:1}.ds-live-archive__card .ds-live-poster__play{top:43%}.ds-live-archive__card strong{font-size:1.1rem}.ds-live-archive__card span:last-child{color:#dce8f3}
html#ds-mars-root .ds-live-poster-science-exploration-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/science-exploration-fr.jpg')}html#ds-mars-root .ds-live-poster-transport-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/earth-mars-transport-fr.jpg')}html#ds-mars-root .ds-live-poster-edl-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/entry-descent-landing-fr.jpg')}html#ds-mars-root .ds-live-poster-propellants-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/propellants-on-mars-fr.jpg')}html#ds-mars-root .ds-live-poster-reliability-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/reliability-maintenance-fr.jpg')}html#ds-mars-root .ds-live-poster-communications-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/communications-navigation-fr.jpg')}html#ds-mars-root .ds-live-poster-permanent-settlement-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/permanent-settlement-fr.jpg')}html#ds-mars-root .ds-live-poster-habitats-radiation-v639{--ds-live-poster-image:url('/mars-assets/img/premium-v64/full/habitats-radiation-fr.jpg')}
@media(max-width:760px){.ds-live-grid{grid-template-columns:1fr}.ds-live-hub{padding:.8rem}.ds-live-toolbar .ds-btn{width:100%}.ds-live-poster{min-height:188px}}

body.ds-live-resources-page .mars-portal-main{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;padding-left:clamp(1.35rem,2.6vw,2.5rem)!important;padding-right:clamp(1.35rem,2.6vw,2.5rem)!important}
@media(max-width:900px){body.ds-live-resources-page .mars-portal-main{padding-left:clamp(1rem,4vw,1.35rem)!important;padding-right:clamp(1rem,4vw,1.35rem)!important}}

/* Utility overlays restored for this live-resources family only. They must not occupy document flow while closed. */
body.ds-live-resources-page .ds-info-touch-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:1.55rem!important;height:1.55rem!important;margin-left:.2rem!important;padding:0!important;border:1px solid #8a6a2c!important;border-radius:50%!important;background:#fff4dc!important;color:#16232d!important;-webkit-text-fill-color:#16232d!important;font:800 .8rem/1 system-ui,sans-serif!important;vertical-align:middle!important;cursor:pointer!important;flex:0 0 auto!important}
body.ds-live-resources-page .ds-info-touch-button:hover,body.ds-live-resources-page .ds-info-touch-button:focus-visible{outline:3px solid #ffe89a!important;outline-offset:2px!important;background:#f2c261!important}
body.ds-live-resources-page .ds-lightbox{position:fixed!important;inset:0!important;z-index:9999!important;display:none!important;align-items:center!important;justify-content:center!important;background:rgba(5,10,16,.92)!important;padding:2rem!important}
body.ds-live-resources-page .ds-lightbox.is-open{display:flex!important}
body.ds-live-resources-page .ds-lightbox__panel{position:relative!important;max-width:min(96vw,1200px)!important;max-height:92vh!important;width:auto!important;background:#09131d!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;box-shadow:0 20px 80px rgba(0,0,0,.55)!important;padding:1rem!important}
body.ds-live-resources-page .ds-lightbox__close{position:absolute!important;top:.75rem!important;right:.75rem!important;z-index:2!important;min-width:44px!important;min-height:44px!important;border:1px solid rgba(255,255,255,.2)!important;background:#10263a!important;color:#fff!important;border-radius:999px!important;font-size:1.2rem!important;line-height:1!important;cursor:pointer!important}
body.ds-live-resources-page .ds-lightbox__imagewrap{max-height:calc(92vh - 7rem)!important;overflow:auto!important;border-radius:12px!important}
body.ds-live-resources-page .ds-lightbox__image{display:block!important;max-width:100%!important;height:auto!important;margin:0 auto!important;border-radius:10px!important;background:#02070b!important}
body.ds-live-resources-page .ds-lightbox__caption{margin:.85rem .25rem 0!important;color:#eef4fb!important;font-size:.98rem!important;line-height:1.45!important}
body.ds-live-resources-page .mars-glossary-popover{position:fixed!important;z-index:100001!important;display:none!important;width:min(560px,calc(100vw - 24px))!important;max-height:min(76vh,720px)!important;overflow:auto!important;border:1px solid #8eb5de!important;border-radius:14px!important;background:#fff!important;color:#122944!important;box-shadow:0 24px 70px rgba(1,18,39,.28)!important}
body.ds-live-resources-page .mars-glossary-popover.is-open{display:block!important}
body.ds-live-resources-page .mars-glossary-popover__head{position:sticky!important;top:0!important;z-index:1!important;display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:flex-start!important;padding:15px 16px 12px!important;background:#12315a!important;color:#fff!important;border-radius:13px 13px 0 0!important}
body.ds-live-resources-page .mars-glossary-popover__close{appearance:none!important;border:1px solid rgba(255,255,255,.55)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:8px!important;min-width:36px!important;height:36px!important;font-size:1.35rem!important;cursor:pointer!important}
body.ds-live-resources-page .mars-glossary-popover__body{padding:14px 16px 16px!important}
body.ds-live-resources-page .mars-lightbox{position:fixed!important;inset:0!important;z-index:100000!important;display:none!important;background:rgba(3,10,20,.94)!important;padding:clamp(12px,2vw,28px)!important}
body.ds-live-resources-page .mars-lightbox.is-open{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:12px!important}
body.ds-live-resources-page .mars-lightbox__bar{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important}
body.ds-live-resources-page .mars-lightbox__close{appearance:none!important;border:1px solid rgba(255,255,255,.55)!important;background:#0d2b52!important;color:#fff!important;border-radius:10px!important;font-size:1rem!important;padding:.55rem .9rem!important;cursor:pointer!important;font-weight:750!important}
body.ds-live-resources-page .mars-lightbox__stage{min-width:0!important;min-height:0!important;display:grid!important;place-items:center!important;overflow:hidden!important}
body.ds-live-resources-page .mars-lightbox__stage img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;cursor:zoom-out!important;box-shadow:0 20px 70px rgba(0,0,0,.4)!important}
body.ds-live-resources-page .mars-lightbox__caption{margin:0 auto!important;max-width:1100px!important;color:#eef5ff!important;font-size:.94rem!important;line-height:1.5!important;text-align:center!important}
@media(max-width:700px){body.ds-live-resources-page .ds-lightbox{padding:.75rem!important}body.ds-live-resources-page .mars-glossary-popover{left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;width:auto!important;max-height:82vh!important;border-radius:16px!important}}

/* Core controls/navigation/footer restored only for live-resources pages. */
body.ds-live-resources-page .ds-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.45rem!important;min-height:44px!important;padding:.72rem 1rem!important;border-radius:10px!important;border:2px solid transparent!important;font-weight:850!important;line-height:1.2!important;text-decoration:none!important;box-sizing:border-box!important;cursor:pointer!important;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important}
body.ds-live-resources-page .ds-btn--secondary{background:#102331!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#31536f!important}
body.ds-live-resources-page .ds-btn--secondary:hover,body.ds-live-resources-page .ds-btn--secondary:focus-visible{background:#0b1d2d!important;border-color:#f5c86b!important;outline:3px solid #ffe89a!important;outline-offset:2px!important}
body.ds-live-resources-page .ds-btn--success{background:#0d5133!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0b4b2f!important;box-shadow:0 8px 22px rgba(13,81,51,.18)!important}
body.ds-live-resources-page .ds-btn--success:hover,body.ds-live-resources-page .ds-btn--success:focus-visible{background:#0a6a40!important;border-color:#f5c86b!important;outline:3px solid #ffe89a!important;outline-offset:2px!important;transform:translateY(-1px)!important}
body.ds-live-resources-page .ds-btn--ghost{background:#fff!important;color:#17324d!important;-webkit-text-fill-color:#17324d!important;border-color:#8ca0b2!important}
body.ds-live-resources-page .ds-btn--ghost:hover,body.ds-live-resources-page .ds-btn--ghost:focus-visible{background:#fff4cf!important;color:#101820!important;-webkit-text-fill-color:#101820!important;border-color:#b28b2b!important;outline:3px solid #ffe89a!important;outline-offset:2px!important}
body.ds-live-resources-page .ds-btn[disabled],body.ds-live-resources-page .ds-btn[aria-disabled="true"]{background:#6b7280!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#48515f!important;opacity:1!important;cursor:not-allowed!important;transform:none!important}
body.ds-live-resources-page .ds-core-nav{box-sizing:border-box!important;width:min(1180px,calc(100% - 1.1rem))!important;max-width:1180px!important;margin:1.5rem auto 2rem!important;padding:.8rem 1rem!important;display:flex!important;gap:.55rem!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(116,139,154,.45)!important;border-radius:14px!important;background:rgba(8,20,30,.96)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
body.ds-live-resources-page .ds-core-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:.55rem .78rem!important;border:1px solid #536d7f!important;border-radius:999px!important;background:#102331!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;font-weight:760!important}
body.ds-live-resources-page .ds-core-nav a:hover,body.ds-live-resources-page .ds-core-nav a:focus-visible{background:#5b291b!important;outline:3px solid #ffe89a!important;outline-offset:2px!important}
body.ds-live-resources-page .ds-core-nav a[aria-current="page"]{background:#f2c261!important;color:#17232d!important;-webkit-text-fill-color:#17232d!important;border-color:#7d5a16!important}
body.ds-live-resources-page .mars-footer{box-sizing:border-box!important;background:#07131e!important;color:#e8eef3!important;padding:26px 0 34px!important;margin-top:0!important}
body.ds-live-resources-page .mars-footer .mars-shell{box-sizing:border-box!important;width:min(1160px,calc(100% - 32px))!important;margin:0 auto!important;display:flex!important;justify-content:space-between!important;gap:20px!important;flex-wrap:wrap!important}
body.ds-live-resources-page .mars-footer,.ds-live-resources-page .mars-footer p,.ds-live-resources-page .mars-footer small,.ds-live-resources-page .mars-footer span{color:#cbd6e0!important;-webkit-text-fill-color:#cbd6e0!important}
body.ds-live-resources-page .mars-footer p{margin:.35rem 0!important;line-height:1.6!important}
body.ds-live-resources-page .mars-footer a,body.ds-live-resources-page .mars-footer a:link,body.ds-live-resources-page .mars-footer a:visited{color:#ffd678!important;-webkit-text-fill-color:#ffd678!important;text-decoration-color:#a97832!important}
body.ds-live-resources-page .mars-footer a:hover,body.ds-live-resources-page .mars-footer a:focus-visible{color:#101820!important;-webkit-text-fill-color:#101820!important;background:#ffd678!important;outline:2px solid #fff1b7!important;outline-offset:2px!important}
body.ds-live-resources-page .mars-footer__box{box-sizing:border-box!important;width:100%!important;padding:20px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;background:rgba(255,255,255,.04)!important}
@media(max-width:760px){body.ds-live-resources-page .ds-live-toolbar .ds-btn{width:100%!important}body.ds-live-resources-page .ds-core-nav{margin:1rem .55rem 1.5rem!important;padding:.7rem .6rem!important;gap:.4rem!important}body.ds-live-resources-page .ds-core-nav a{font-size:.87rem!important;min-height:40px!important;padding:.5rem .62rem!important}body.ds-live-resources-page .mars-footer .mars-shell{width:min(100% - 20px,1160px)!important}}
