/* Modules / scene-3 centre, original-scale devices and actual two-step discovery.
   This file is loaded AFTER modules-flow-lock.css and never changes unrelated pages. */

/* The old spacing overrides used a 1fr first row, pinning the four cards to
   the bottom and making the big render look squashed. Restore original scale
   and centre both rows as one visual unit. */
@media(min-width:901px){
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-story{
  display:grid!important;
  grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr)!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;align-items:center!important;
  column-gap:clamp(1.1rem,3.1vw,3.6rem)!important;
  row-gap:clamp(15px,2.4vh,27px)!important;
  width:100%!important;height:100%!important;max-height:100%!important;
  padding:clamp(26px,4.2vh,44px) 0!important;
  overflow:visible!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-copy{
  grid-column:1!important;grid-row:1!important;
  align-self:center!important;
  transform:none!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-copy h3{
  font-size:clamp(2rem,3.1vw,3rem)!important;
  line-height:1.17!important;letter-spacing:-.045em;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-copy p{
  font-size:clamp(.76rem,.88vw,.9rem)!important;
  line-height:1.6!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-film-surround{
  grid-column:2!important;grid-row:1!important;
  align-self:center!important;min-width:0;
  padding-top:clamp(48px,6.6vh,77px)!important;
  transform:none!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-film-support-stack{
  height:clamp(102px,12vh,138px)!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-film-stage-devices{
  min-height:clamp(190px,25vh,310px)!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-points{
  grid-column:1/-1!important;grid-row:2!important;
  align-self:start!important;justify-self:stretch;
  width:100%!important;gap:clamp(10px,1vw,17px)!important;
  margin:0!important;padding:0!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-points article{
  padding:clamp(11px,1.1vw,15px)!important;
 }
}
@media(min-width:901px) and (max-height:750px){
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-value-story{
  row-gap:14px!important;padding:28px 0 15px!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-film-stage-devices{
  min-height:clamp(178px,25vh,255px)!important;
 }
 body.modules-page.is-module-entry-open [data-module-entry="takeover"] .dd-transformation.is-details .dd-film-surround{
  padding-top:52px!important;
 }
}

/* Broad business area is the ONLY selection question. No second checklist. */
body.modules-page .dd-discover-pager button .dd-discover-nav-art{
  display:inline-block;flex:none;
  width:1.7rem;height:1.06rem;
  margin:0 0 0 .35rem;
  vertical-align:middle;
}
body.modules-page .dd-discover-pager .dd-discover-pager-back .dd-discover-nav-art{
  margin:0 .42rem 0 0!important;
  transform:none;
}
body.modules-page .dd-discover-pager button .dd-discover-nav-art{
  background:currentColor;
}
body.modules-page .dd-discover-pager button:disabled{opacity:.45}
body.modules-page .dd-discover-step[hidden]{display:none!important}
body.modules-page .dd-discover-pager-back[hidden],
body.modules-page .dd-discover-pager-next[hidden]{display:none!important}

/* Selection question: make the broad choices feel intentional and fill the
   space without repeating the header as a giant title. */
body.modules-page .dd-discover-heading h2{
  font-size:clamp(2.2rem,3.45vw,3.5rem)!important;
  max-width:22ch;letter-spacing:-.055em!important;
}
body.modules-page .dd-discover-step-heading h3{
  font-size:clamp(1.2rem,1.75vw,1.75rem)!important;
  margin:.3rem 0 .5rem!important;
}
body.modules-page .dd-discover-chip[aria-pressed="true"]{
  box-shadow:inset 3px 0 #d0a9ff,0 8px 24px #0003;
}
body.modules-page .dd-discover-pager{
  max-width:none;gap:1rem;
}
body.modules-page .dd-discover-pager .dd-discover-pager-next{
  display:inline-flex;align-items:center;gap:.2rem;
  min-width:185px;
}

/* Result: a genuine large, vertically balanced two-column recommendation
   experience. No giant empty purple card and no disabled builder preview. */
body.modules-page .dd-discover[data-discover-page="2"]{
  justify-content:center;
}
body.modules-page .dd-discover[data-discover-page="2"] .dd-discover-heading{
  margin-bottom:clamp(1.1rem,2vh,1.7rem)!important;
}
body.modules-page .dd-discover[data-discover-page="2"] .dd-discover-layout{
  flex:0 1 auto;display:flex!important;
  justify-content:center;align-items:center;
  width:100%;
}
body.modules-page .dd-discover[data-discover-page="2"] .dd-discover-result{
  position:relative;display:flex;
  flex-direction:column;
  width:100%!important;max-width:none!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;
}
body.modules-page .dd-discover-result-top{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:clamp(.7rem,1.1vh,1rem);
  padding:0 .3rem;
}
body.modules-page .dd-discover-result-grid{
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:clamp(.9rem,2vw,1.9rem);
  align-items:stretch;
  width:100%;
}
body.modules-page .dd-discover-result-explainer,
body.modules-page .dd-discover-recommendations{
  min-width:0;
  padding:clamp(1.4rem,2.6vw,2.2rem);
  border:1px solid rgba(177,143,226,.42);
  border-radius:18px;
  box-shadow:0 18px 48px #0004;
}
body.modules-page .dd-discover-result-explainer{
  display:flex;flex-direction:column;align-items:flex-start;
  background:radial-gradient(ellipse at 7% 5%,rgba(123,65,172,.24),transparent 65%),
    linear-gradient(145deg,rgba(39,24,60,.96),rgba(22,16,37,.95));
}
body.modules-page .dd-discover-result-explainer>.eyebrow{
  font-size:.68rem;letter-spacing:.14em;color:#c9a8f2;
}
body.modules-page .dd-discover-result-explainer h3{
  max-width:16ch;
  margin:.8rem 0 .8rem!important;
  font-size:clamp(1.7rem,2.6vw,2.75rem)!important;
  line-height:1.14;letter-spacing:-.056em!important;
}
body.modules-page .dd-discover-result-explainer>[data-discover-summary]{
  margin:0 0 1.1rem!important;
  font-size:clamp(.84rem,.93vw,.94rem)!important;
  line-height:1.64;color:#d0c4e0;
}
body.modules-page .dd-discover-selected-overview{
  width:100%;padding:clamp(.9rem,1.35vw,1.25rem);
  border:1px solid rgba(176,137,233,.28);
  border-radius:12px;background:rgba(6,7,17,.23);
}
body.modules-page .dd-discover-selected-overview>strong{
  display:block;margin-bottom:.65rem;
  color:#cdb0fc;letter-spacing:.1em;text-transform:uppercase;
  font-size:.61rem;
}
body.modules-page .dd-discover-selected-overview ul{
  display:flex;flex-wrap:wrap;gap:.55rem;
  list-style:none;margin:0;padding:0;
}
body.modules-page .dd-discover-selected-overview li{
  display:block;
  padding:.46rem .65rem;border-left:2px solid #ae79e3;
  background:rgba(134,91,184,.12);
  color:#eadcf8;font-size:clamp(.7rem,.8vw,.83rem);line-height:1.4;
}
body.modules-page .dd-discover-result-explainer .dd-discover-note{
  margin:1rem 0!important;
  color:#b6a7cb!important;font-size:.76rem!important;line-height:1.55;
}
body.modules-page .dd-discover-result-explainer .dd-discover-apply{
  width:auto;min-width:240px;
  margin:auto 0 0!important;padding:.75rem 1.2rem;
  gap:.55rem;
  border:1px solid #a17cda;border-radius:999px;
  background:linear-gradient(110deg,#7540b8,#422571);
  color:#fff;font:800 .75rem "DM Sans",sans-serif;
  box-shadow:0 8px 25px rgba(83,37,134,.27);
}
body.modules-page .dd-discover-result-explainer .dd-discover-apply .dd-squiggle-arrow{
  margin-left:.22rem;width:1.75rem;height:.98rem;
}
body.modules-page .dd-discover-recommendations{
  display:flex;flex-direction:column;
  background:linear-gradient(150deg,rgba(22,19,43,.98),rgba(25,22,49,.96));
}
body.modules-page .dd-discover-recommendations-head{
  display:flex;justify-content:space-between;align-items:center;
  gap:1rem;padding:0 0 1.05rem;
  border-bottom:1px solid rgba(186,158,227,.25);
}
body.modules-page .dd-discover-recommendations-head>span{
  color:#f0e6ff;font-size:clamp(1rem,1.35vw,1.25rem);
  font-weight:800;letter-spacing:-.03em;
}
body.modules-page .dd-discover-recommendations-head strong{
  display:grid;place-items:center;min-width:2.3rem;height:2.3rem;
  padding:0 .3rem;border-radius:10px;border:1px solid rgba(181,136,237,.4);
  background:rgba(102,65,148,.26);color:#ceadf8;
  font:800 .82rem Consolas,monospace;font-variant-numeric:tabular-nums;
}
body.modules-page .dd-discover-recommendations .dd-discover-module-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;align-items:stretch;
  gap:.6rem;flex:1 1 auto;min-height:0;
  max-height:clamp(220px,37vh,380px);
  margin:1.05rem 0!important;padding:0;
  overflow:auto;scrollbar-width:thin;
}
body.modules-page .dd-discover-recommendations .dd-discover-module-list>li{
  display:flex;align-items:center;
  min-height:54px;padding:.75rem .85rem;
  border-radius:10px;border:1px solid rgba(153,130,204,.33);
  background:linear-gradient(120deg,rgba(88,56,129,.24),rgba(31,31,57,.5));
  color:#f2eaff;font:750 clamp(.7rem,.83vw,.87rem)/1.4 "DM Sans",sans-serif;
}
body.modules-page .dd-discover-recommendations .dd-discover-module-list>li::before{
  content:"";display:block;flex:0 0 5px;height:5px;margin-right:.65rem;
  border-radius:50%;background:#a77bf2;box-shadow:0 0 7px #9061d76a;
}
body.modules-page .dd-discover-recommendations .dd-discover-module-list>.dd-discover-empty{
  grid-column:1/-1;min-height:110px;
  border-style:dashed;color:#c8b4db;background:transparent;
}
body.modules-page .dd-discover-recommendations-foot{
  padding-top:.85rem;margin:auto 0 0;
  border-top:1px solid rgba(186,158,227,.2);
  color:#a99bbb;font-size:.75rem;line-height:1.55;
}
body.modules-page .dd-discover[data-discover-page="2"] .dd-discover-pager{
  border:0!important;padding:clamp(.8rem,1.7vh,1.3rem) 0 0!important;
  margin:0!important;
}
@media(max-width:900px){
 body.modules-page .dd-discover-result-grid{grid-template-columns:1fr}
 body.modules-page .dd-discover-result-explainer,
 body.modules-page .dd-discover-recommendations{padding:1.25rem}
 body.modules-page .dd-discover[data-discover-page="2"]{justify-content:flex-start}
 body.modules-page .dd-discover-recommendations .dd-discover-module-list{max-height:none}
}
@media(max-width:560px){
 body.modules-page .dd-discover-recommendations .dd-discover-module-list{grid-template-columns:1fr}
 body.modules-page .dd-discover-result-explainer h3{font-size:1.85rem!important}
 body.modules-page .dd-discover-result-explainer .dd-discover-apply{min-width:0;width:100%;justify-content:center}
 body.modules-page .dd-discover-pager .dd-discover-pager-next{min-width:150px}
}
@media(prefers-reduced-motion:reduce){
 body.modules-page .dd-discover-page-enter{animation:none!important}
}
