
@keyframes ntwcQIn{from{opacity:0}to{opacity:1}}
@keyframes ntwcQUp{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}
html:root body #d-quote:not([hidden]):not([data-inline]){animation:ntwcQIn .2s ease-out both}
html:root body #d-quote:not([hidden]):not([data-inline]) .d-modal-box{animation:ntwcQUp .26s cubic-bezier(.22,.61,.36,1) both}
@media (max-width:767px){html:root body #d-quote#d-quote:not([data-inline]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(8,30,40,.66)!important}}
html.d-lock body #ntwc-bar,html.d-lock body .d-bar{transition:none!important;visibility:hidden!important}
/* 11-Nov-2026: it closes the same way it opens, in reverse (the box sinks a little and fades, then the dark layer) */
@keyframes ntwcQOut{from{opacity:1}to{opacity:0}}
@keyframes ntwcQDown{from{opacity:1;transform:none}to{opacity:0;transform:translate3d(0,22px,0)}}
html:root body #d-quote#d-quote.d-closing:not([data-inline]){animation:ntwcQOut .22s ease-in .04s both;pointer-events:none}
html:root body #d-quote#d-quote.d-closing:not([data-inline]) .d-modal-box{animation:ntwcQDown .22s cubic-bezier(.4,0,1,1) both}
/* 13-Nov-2026 (Nico): on phones the box is a bottom sheet; fading it showed the page through it (looked like a flicker).
   Now it stays solid and slides up from the bottom edge, and slides back down when closing; only the dark layer fades. */
@keyframes ntwcQSheetUp{from{transform:translate3d(0,100%,0)}to{transform:none}}
@keyframes ntwcQSheetDown{from{transform:none}to{transform:translate3d(0,100%,0)}}
@media (max-width:600px){
 /* the dark layer is drawn behind the sheet and fades on its own; the pop-up itself never fades, so the sheet stays solid */
 html:root body #d-quote#d-quote#d-quote:not([data-inline]){background:transparent!important}
 html:root body #d-quote#d-quote#d-quote:not([hidden]):not([data-inline]){animation:none}
 html:root body #d-quote#d-quote#d-quote:not([data-inline])::before{content:'';position:fixed;inset:0;background:rgba(8,30,40,.66);animation:ntwcQIn .22s ease-out both}
 html:root body #d-quote#d-quote#d-quote:not([data-inline]) .d-modal-box{z-index:1}
 html:root body #d-quote#d-quote#d-quote:not([hidden]):not([data-inline]) .d-modal-box{animation:ntwcQSheetUp .34s cubic-bezier(.32,.72,0,1) both}
 html:root body #d-quote#d-quote#d-quote.d-closing:not([data-inline]){animation:none}
 html:root body #d-quote#d-quote#d-quote.d-closing:not([data-inline])::before{animation:ntwcQOut .24s ease-in both}
 html:root body #d-quote#d-quote#d-quote.d-closing:not([data-inline]) .d-modal-box{animation:ntwcQSheetDown .24s cubic-bezier(.4,0,1,1) both}}
@media (prefers-reduced-motion:reduce){html:root body #d-quote:not([hidden]),html:root body #d-quote:not([hidden]) .d-modal-box,html:root body #d-quote::before{animation:none!important}}
