/* Quiet Editorial Beauty-Tech product surfaces.
   This file is intentionally scoped so legacy catalogue and account flows keep
   their existing rendering until they receive a dedicated fidelity pass. */

.qe-product-page{
  --qe-product-max:1296px;
  --qe-copy-max:520px;
  min-width:0;
  overflow-x:hidden;
}
.qe-product-page [hidden]{display:none!important}
.qe-product-page :where(em){color:var(--qe-wine);font-style:normal}
.qe-product-page :where(button,a){-webkit-tap-highlight-color:transparent}
.qe-product-page :where(button):disabled{cursor:not-allowed;opacity:.48}
.qe-product-page :where(.mm-kicker){
  margin:0 0 20px;
  color:var(--qe-wine);
  font:500 12px/1.5 var(--qe-ui)!important;
  letter-spacing:.12em;
}
.qe-product-page :where(.mm-status){
  min-height:1.8em;
  margin:14px 0 0;
  color:var(--qe-wine);
  font:500 13px/1.8 var(--qe-ui)!important;
  text-align:left;
}
.qe-product-page :where(.mm-status-error){color:#9b1730}

/* Editorial header ------------------------------------------------------- */
.qe-product-page :where(.mm-header,.mm-flow-header){
  box-sizing:border-box;
  width:100%;
  height:92px;
  min-height:92px;
  padding:0 var(--qe-gutter);
  border:0;
  border-bottom:1px solid var(--qe-rule);
  background:var(--qe-canvas);
  box-shadow:none;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:42px;
  position:relative;
  z-index:40;
}
.qe-product-page :where(.mm-brand){
  min-height:44px;
  color:var(--qe-ink);
  display:inline-flex;
  align-items:center;
  gap:13px;
  font:500 clamp(16px,1.35vw,20px)/1 var(--qe-display)!important;
  letter-spacing:.18em;
  text-decoration:none;
  white-space:nowrap;
}
.qe-product-page :where(.mm-brand)::before{
  content:"";
  width:28px;
  height:28px;
  flex:0 0 28px;
  background:url("./favicon.svg") center/contain no-repeat;
}
.qe-product-page :where(.mm-brand span){color:var(--qe-wine)}
.qe-product-page :where(.mm-nav){
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(22px,3vw,48px);
}
.qe-product-page :where(.mm-nav a,.mm-account){
  min-height:44px;
  padding:13px 0 10px;
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:var(--qe-ink);
  font:500 12px/1.5 var(--qe-ui)!important;
  text-decoration:none;
  white-space:nowrap;
}
.qe-product-page :where(.mm-nav a[aria-current="page"],.mm-nav a:hover,.mm-account:hover){color:var(--qe-wine);border-bottom-color:currentColor}
.qe-product-page .mm-flow-header .mm-brand{grid-column:2;justify-self:center}
.qe-product-page .mm-flow-header .mm-back{grid-column:1;grid-row:1;justify-self:start}
.qe-product-page .mm-flow-header .mm-flow-label{grid-column:3;grid-row:1;justify-self:end}
.qe-product-page :where(.mm-back,.mm-flow-label){
  color:var(--qe-ink-muted);
  font:500 12px/1.6 var(--qe-ui)!important;
  text-decoration:none;
}
.qe-product-page .mm-flow-product-nav{
  min-height:54px;
  padding:0 var(--qe-gutter);
  border:0;
  border-bottom:1px solid var(--qe-rule);
  background:var(--qe-canvas);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(22px,3.4vw,54px);
}
.qe-product-page .mm-flow-product-nav a{
  min-height:44px;
  padding:12px 0 9px;
  border-bottom:2px solid transparent;
  color:var(--qe-ink-muted);
  font:500 12px/1.5 var(--qe-ui);
  text-decoration:none;
}
.qe-product-page .mm-flow-product-nav a[aria-current="page"]{color:var(--qe-wine);border-bottom-color:var(--qe-wine)}
.qe-product-page .mm-diagnosis-context,
.qe-product-page .mm-flow-context{
  box-sizing:border-box;
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  min-height:48px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.qe-mobile-nav{display:none}

/* Shared actions and open information rows ------------------------------ */
.qe-product-page :where(.mm-button.primary,.mm-submit){
  box-sizing:border-box;
  min-height:62px;
  padding:17px 24px;
  border:0!important;
  border-radius:0!important;
  background:var(--qe-wine)!important;
  box-shadow:none!important;
  color:#fff!important;
  font:500 16px/1.5 var(--qe-display)!important;
  letter-spacing:.02em;
  text-decoration:none;
  transition:background-color var(--qe-fast) ease,transform var(--qe-fast) ease;
}
.qe-product-page :where(.mm-button.primary,.mm-submit):not(:disabled):hover{background:var(--qe-wine-hover)!important}
.qe-product-page :where(.mm-button:not(.primary),.mm-my-result-secondary,.mm-account-result-actions a,.mm-account-result-actions button){
  min-height:44px;
  padding:10px 0 7px;
  border:0;
  border-bottom:1px solid currentColor;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--qe-wine);
  font:600 13px/1.5 var(--qe-ui)!important;
  text-decoration:none;
}
.qe-product-page :where(.mm-purchase-note,.phase1-safety-note,.mm-fineprint){
  color:var(--qe-ink-muted);
  font:400 12px/1.8 var(--qe-ui)!important;
  text-align:left;
}

/* Diagnosis -------------------------------------------------------------- */
.qe-diagnosis-page .mm-flow{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 0 var(--qe-section);
  display:block;
}
.qe-diagnosis-page .mm-flow-card{
  width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.qe-diagnosis-hero{
  box-sizing:border-box;
  width:min(var(--qe-product-max),100%);
  min-height:620px;
  margin:0 auto;
  padding:0 var(--qe-gutter) 58px;
  display:grid;
  grid-template-columns:minmax(330px,.82fr) minmax(500px,1.18fr);
  align-items:center;
  gap:clamp(48px,6vw,92px);
}
.qe-diagnosis-intro{max-width:500px;padding:54px 0 28px}
.qe-diagnosis-page .mm-flow-title{
  margin:0;
  color:var(--qe-ink);
  font-family:var(--qe-display)!important;
  font-size:clamp(44px,4.3vw,64px);
  font-style:normal;
  font-weight:450;
  line-height:1.5!important;
  letter-spacing:.02em;
}
.qe-diagnosis-page .mm-flow-lead{
  max-width:440px;
  margin:20px 0 44px;
  color:var(--qe-ink-muted);
  font:400 15px/1.9 var(--qe-ui)!important;
}
.qe-step-heading{
  margin:0;
  display:grid;
  grid-template-columns:48px 1fr;
  column-gap:18px;
  align-items:start;
}
.qe-step-heading>span,
.qe-section-index>span{
  color:var(--qe-wine);
  font:450 30px/1.25 var(--qe-display);
  letter-spacing:.04em;
}
.qe-step-heading>strong{font:450 20px/1.55 var(--qe-display)}
.qe-step-heading>small{grid-column:2;margin-top:7px;color:var(--qe-ink-muted);font:400 12px/1.8 var(--qe-ui)}
.qe-diagnosis-page .mm-intake-photo{
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
.qe-diagnosis-page .mm-photo-picker{
  min-height:560px;
  border:0;
  border-radius:0;
  background:var(--qe-paper-muted);
  overflow:hidden;
  display:block;
}
.qe-diagnosis-page .mm-photo-picker .placeholder{
  min-height:560px;
  height:560px;
  color:var(--qe-ink);
  display:grid;
  grid-template-rows:minmax(0,1fr) 64px;
}
.qe-diagnosis-page .mm-photo-example{min-height:0;display:block;position:relative;overflow:hidden}
.qe-diagnosis-page .mm-photo-example img,
.qe-diagnosis-page .mm-photo-picker>img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 22%;
  display:block;
}
.qe-diagnosis-page .mm-photo-example em{
  position:absolute;
  top:16px;
  left:16px;
  padding:7px 10px;
  background:rgba(255,254,252,.94);
  color:var(--qe-ink-muted);
  font:500 11px/1.5 var(--qe-ui);
}
.qe-diagnosis-page .mm-photo-cta{
  min-height:64px;
  padding:0 24px;
  background:var(--qe-wine);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.qe-diagnosis-page .mm-photo-cta>b{margin:0;color:#fff;font:400 22px/1 var(--qe-ui)}
.qe-diagnosis-page .mm-photo-cta strong{color:#fff;font:500 16px/1.4 var(--qe-display)}
.qe-diagnosis-page .mm-photo-cta small{display:none}
.qe-diagnosis-page .mm-change-photo{
  right:16px;
  bottom:16px;
  min-height:44px;
  padding:11px 15px;
  border:1px solid var(--qe-rule);
  border-radius:0;
  background:var(--qe-paper);
  color:var(--qe-wine);
  font:600 12px/1.5 var(--qe-ui);
}
.qe-diagnosis-page .mm-photo-checks{
  padding:14px 0 0;
  display:flex;
  justify-content:flex-start;
  gap:22px;
  color:var(--qe-ink-muted);
  font:400 11px/1.6 var(--qe-ui);
}
.qe-diagnosis-page .mm-photo-checks span::before{color:var(--qe-wine)}
.qe-diagnosis-page .phase1-progress{
  box-sizing:border-box;
  width:min(760px,calc(100% - 2 * var(--qe-gutter)));
  min-height:86px;
  margin:0 auto;
  padding:22px 0 16px;
  border:0;
  background:transparent;
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.qe-diagnosis-page .phase1-progress span{
  min-width:0;
  color:var(--qe-ink-muted);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  position:relative;
  font:500 11px/1.4 var(--qe-ui);
}
.qe-diagnosis-page .phase1-progress span::before{
  content:"";
  width:100%;
  height:1px;
  background:var(--qe-rule);
  position:absolute;
  top:13px;
  left:-50%;
}
.qe-diagnosis-page .phase1-progress span:first-child::before{display:none}
.qe-diagnosis-page .phase1-progress b{
  width:26px;
  height:26px;
  border:1px solid var(--qe-rule-strong);
  border-radius:50%;
  background:var(--qe-canvas);
  display:grid;
  place-items:center;
  position:relative;
  z-index:1;
  font:500 11px/1 var(--qe-ui);
}
.qe-diagnosis-page .phase1-progress .active{color:var(--qe-wine)}
.qe-diagnosis-page .phase1-progress .active b{border-color:var(--qe-wine);background:var(--qe-wine);color:#fff}
.qe-diagnosis-questions,
.qe-diagnosis-finish{
  box-sizing:border-box;
  width:100%;
  padding:58px max(var(--qe-gutter),calc((100% - var(--qe-product-max))/2 + var(--qe-gutter)));
  border-top:1px solid var(--qe-rule);
  display:grid;
  grid-template-columns:minmax(220px,.38fr) minmax(0,1fr);
  gap:clamp(48px,7vw,112px);
}
.qe-diagnosis-finish{border-bottom:1px solid var(--qe-rule)}
.qe-section-index{display:grid;grid-template-columns:48px 1fr;gap:16px;align-items:start}
.qe-section-index h2{font:450 clamp(29px,3vw,42px)/1.55 var(--qe-display)!important}
.qe-section-index .phase1-question-help{margin:15px 0 0;color:var(--qe-ink-muted);font:400 12px/1.8 var(--qe-ui)!important}
.qe-diagnosis-page .phase1-question-list{
  margin:0;
  border:0;
  counter-reset:qe-question;
}
.qe-diagnosis-page .phase1-question{
  --qe-question-index:42px;
  --qe-question-label:220px;
  --qe-question-gap:18px;
  counter-increment:qe-question;
  min-width:0;
  margin:0;
  padding:20px 0;
  border:0;
  border-bottom:1px solid var(--qe-rule);
  display:block;
  position:relative;
  align-items:start;
}
.qe-diagnosis-page .phase1-question:first-child{border-top:1px solid var(--qe-rule)}
.qe-diagnosis-page .phase1-question::before{
  content:counter(qe-question,decimal-leading-zero);
  position:absolute;
  top:14px;
  left:0;
  color:var(--qe-wine);
  font:450 17px/1.6 var(--qe-display);
}
.qe-diagnosis-page .phase1-question legend{
  float:none;
  width:auto;
  padding:0;
  display:block;
  position:absolute;
  top:14px;
  left:calc(var(--qe-question-index) + var(--qe-question-gap));
  width:var(--qe-question-label);
}
.qe-diagnosis-page .phase1-question legend b{display:block;font:450 17px/1.6 var(--qe-display)}
.qe-diagnosis-page .phase1-question legend small{display:block;margin-top:3px;color:var(--qe-ink-muted);font:400 11px/1.6 var(--qe-ui)}
.qe-diagnosis-page .phase1-options{min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 18px}
.qe-diagnosis-page .phase1-options button{
  min-height:44px;
  padding:10px 0 7px;
  border:0;
  border-bottom:1px solid transparent;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--qe-ink-muted);
  font:500 12px/1.5 var(--qe-ui)!important;
}
.qe-diagnosis-page .phase1-options button:not(:disabled):hover{color:var(--qe-wine)}
.qe-diagnosis-page .phase1-options button.selected{
  border-color:var(--qe-wine);
  background:transparent;
  color:var(--qe-wine);
  box-shadow:none;
}
.qe-finish-content{min-width:0}
.qe-diagnosis-page .mm-free-preview{
  margin:0 0 28px;
  padding:0 0 28px;
  border:0;
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  display:grid;
  grid-template-columns:.8fr 1fr 1.2fr;
  gap:30px;
}
.qe-diagnosis-page .mm-free-preview h2,
.qe-diagnosis-page .mm-free-preview h3{margin:0;font:450 20px/1.55 var(--qe-display)!important}
.qe-diagnosis-page .mm-free-preview p{margin:0;color:var(--qe-ink-muted);font:400 12px/1.8 var(--qe-ui)!important}
.qe-diagnosis-page .phase1-safety-note{margin:0 0 18px}
.qe-diagnosis-page .mm-consent{
  margin:0;
  padding:18px 0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  color:var(--qe-ink-muted);
  display:grid;
  grid-template-columns:22px 1fr;
  gap:13px;
  font:400 12px/1.8 var(--qe-ui)!important;
}
.qe-diagnosis-page .mm-consent input{width:20px;height:20px;margin:3px 0 0;accent-color:var(--qe-wine)}
.qe-diagnosis-page .mm-consent a{color:var(--qe-wine)}
.qe-diagnosis-page .mm-submit{width:min(540px,100%);margin:26px 0 0}
.qe-diagnosis-page .mm-purchase-note{max-width:700px;margin:10px 0 0}

/* Diagnosis P0 fidelity correction: portrait study, compact choice rails. */
.qe-diagnosis-page .qe-diagnosis-hero{
  min-height:560px;
  grid-template-columns:minmax(380px,.78fr) minmax(590px,1.22fr);
  gap:clamp(32px,4.5vw,72px);
  padding-bottom:42px;
}
.qe-diagnosis-page .qe-diagnosis-intro{max-width:540px;padding:36px 0 20px}
.qe-diagnosis-page .qe-diagnosis-intro>.mm-kicker{display:none}
.qe-diagnosis-page .mm-flow-title{font-size:clamp(42px,4vw,60px);line-height:1.5!important}
.qe-diagnosis-page .mm-flow-lead{max-width:470px;margin:18px 0 34px}
.qe-diagnosis-page .mm-intake-photo{
  display:grid;
  grid-template-columns:minmax(380px,1fr) 142px;
  grid-template-rows:auto auto;
  gap:0 22px;
  align-items:center;
}
.qe-diagnosis-page .mm-photo-picker{grid-column:1;grid-row:1;min-height:520px;background:transparent}
.qe-diagnosis-page .mm-photo-picker .placeholder{min-height:520px;height:520px;grid-template-rows:minmax(0,1fr) 64px;background:transparent}
.qe-diagnosis-page .mm-photo-example{background:var(--qe-paper-muted)}
.qe-diagnosis-page .mm-photo-example::before,
.qe-diagnosis-page .mm-photo-example::after{
  content:"";
  width:30px;
  height:30px;
  position:absolute;
  top:26px;
  z-index:2;
  pointer-events:none;
  border-top:1px solid rgba(141,17,42,.3);
}
.qe-diagnosis-page .mm-photo-example::before{left:26px;border-left:1px solid rgba(141,17,42,.3)}
.qe-diagnosis-page .mm-photo-example::after{right:26px;border-right:1px solid rgba(141,17,42,.3)}
.qe-diagnosis-page .mm-photo-example img{
  width:min(100%,370px);
  height:100%;
  margin:0 auto;
  object-fit:contain;
  object-position:center bottom;
}
.qe-diagnosis-page .mm-photo-picker>img{object-fit:contain;object-position:center;background:var(--qe-paper-muted)}
.qe-diagnosis-page .qe-photo-guidance{
  grid-column:2;
  grid-row:1;
  margin:0;
  color:var(--qe-ink-muted);
  font:400 11px/1.8 var(--qe-ui);
  position:relative;
}
.qe-diagnosis-page .qe-photo-guidance::before{
  content:"";
  width:34px;
  height:22px;
  margin:0 0 14px;
  border-top:1px solid var(--qe-rule-strong);
  border-right:1px solid var(--qe-rule-strong);
  display:block;
  transform:skewY(23deg);
}
.qe-diagnosis-page .qe-photo-guidance span{display:block;margin-bottom:4px;color:var(--qe-wine);font-weight:600}
.qe-diagnosis-page .qe-photo-guidance strong{display:block;color:var(--qe-ink-muted);font-weight:400}
.qe-diagnosis-page .mm-photo-checks{grid-column:1;grid-row:2}
.qe-diagnosis-page .qe-diagnosis-questions,
.qe-diagnosis-page .qe-diagnosis-finish{padding-top:48px;padding-bottom:48px}
.qe-diagnosis-page .phase1-question{
  min-height:76px;
  padding:14px 0 14px calc(var(--qe-question-index) + var(--qe-question-label) + var(--qe-question-gap) * 2);
  align-items:center;
}
.qe-diagnosis-page .phase1-options{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  justify-content:flex-end;
  gap:0 18px;
}
.qe-diagnosis-page .phase1-options button{
  width:auto;
  min-width:44px;
  flex:none;
  color:var(--qe-ink);
  text-align:center;
  white-space:nowrap;
}
.qe-diagnosis-page .phase1-options button.selected{
  border-bottom-width:2px;
  font-weight:650;
}
.qe-diagnosis-page .mm-free-preview{grid-template-columns:minmax(150px,.72fr) 1fr 1fr;gap:24px;margin-bottom:20px;padding-bottom:22px}
.qe-diagnosis-page .mm-free-preview p strong{display:block;margin-bottom:5px;color:var(--qe-wine);font:500 14px/1.55 var(--qe-display)}
.qe-diagnosis-page .phase1-safety-note{
  margin:0;
  padding:10px 0 14px;
  border:0;
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  color:var(--qe-ink-muted);
  font-size:11px!important;
}
.qe-diagnosis-page .phase1-safety-note strong{color:var(--qe-ink);font-weight:600}
.qe-diagnosis-page .mm-consent{
  padding:14px 0;
  border-top:0;
  color:#6a6561;
  font-size:11px!important;
  line-height:1.75!important;
}
.qe-diagnosis-page .mm-purchase-note{font-size:10.5px!important;line-height:1.7!important}

/* Direction result ------------------------------------------------------- */
.qe-result-page .mm-result,
.qe-paid-result-page .mm-paid{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 0 var(--qe-section);
}
.qe-result-page .mm-flow-header{
  height:112px;
  min-height:112px;
  grid-template-columns:auto 1fr auto;
  gap:40px;
}
.qe-result-page .mm-flow-header :where(.mm-back,.mm-flow-label){display:none}
.qe-result-page .mm-flow-header .mm-brand{grid-column:1;grid-row:1;justify-self:start}
.qe-result-page .mm-flow-header .mm-flow-product-nav{
  grid-column:2;
  grid-row:1;
  width:auto;
  height:100%;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
  justify-content:flex-end;
  gap:clamp(28px,3.3vw,52px);
}
.qe-result-page .mm-flow-header .mm-flow-product-nav a{
  height:100%;
  padding:0;
  border:0;
  position:relative;
  color:var(--qe-ink);
}
.qe-result-page .mm-flow-header .mm-flow-product-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  right:18%;
  bottom:25px;
  left:18%;
  height:1px;
  background:var(--qe-wine);
}
.qe-result-page .mm-flow-header>.mm-product-account-link{grid-column:3;grid-row:1;align-self:center;color:var(--qe-ink);font:500 12px/1.5 var(--qe-ui);text-decoration:none}
.qe-result-page .phase1-result-head{
  box-sizing:border-box;
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  max-width:var(--qe-product-max);
  height:clamp(410px,32vw,470px);
  min-height:0;
  margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);
  gap:clamp(42px,5vw,74px);
  align-items:stretch;
}
.qe-result-page .phase1-result-head>div{
  width:100%;
  max-width:560px;
  margin:0!important;
  padding:54px 0 46px;
  align-self:center;
  justify-self:start;
}
.qe-result-page .phase1-result-head h1,
.qe-paid-result-page .mm-paid-intro h1{
  margin:0;
  font:450 clamp(44px,4.4vw,64px)/1.42 var(--qe-display)!important;
  letter-spacing:.02em;
}
.qe-result-page .phase1-result-head h1{max-width:100%;word-break:normal;line-break:auto;overflow-wrap:anywhere}
.qe-result-page #analysis-copy,
.qe-paid-result-page .mm-paid-intro>p:last-child{
  max-width:540px;
  margin:22px 0 0;
  color:var(--qe-ink-muted);
  font:400 14px/1.9 var(--qe-ui)!important;
}
.qe-result-source{height:100%;min-height:0;margin:0;position:relative;background:var(--qe-paper-muted);overflow:hidden}
.qe-result-source img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 23%;display:block}
.qe-result-source figcaption{
  position:absolute;
  right:18px;
  bottom:15px;
  padding:0;
  background:transparent;
  color:#fff;
  font:500 10px/1.5 var(--qe-ui);
  letter-spacing:.08em;
  text-shadow:0 1px 6px rgba(0,0,0,.45);
}
.qe-result-page .phase1-choice-reassurance,
.qe-result-page .phase1-entitlements,
.qe-result-page .phase1-evidence,
.qe-result-page>.mm-purchase-note{
  box-sizing:border-box;
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  margin-left:auto;
  margin-right:auto;
}
.qe-result-page .phase1-choice-reassurance{
  margin-top:54px;
  padding:22px 0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  color:var(--qe-ink-muted);
  font:400 13px/1.8 var(--qe-ui)!important;
  text-align:left;
}
.qe-result-page .phase1-choice-reassurance strong{margin-right:1.25em;color:var(--qe-ink);font-weight:500}
.qe-result-page .phase1-entitlements{
  margin-top:0;
  padding:34px 0 0;
  border:0;
  background:transparent;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(30px,4.5vw,68px);
}
.qe-result-page .phase1-entitlements p{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  display:block;
  color:var(--qe-ink-muted);
  font:400 12px/1.75 var(--qe-ui)!important;
  word-break:normal;
  line-break:auto;
}
.qe-result-page .phase1-entitlements b{display:block;margin-bottom:6px;color:var(--qe-ink);font:450 17px/1.5 var(--qe-display)}
.qe-result-page .phase1-direction-grid{
  box-sizing:border-box;
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  margin:0 auto;
  padding:0;
  border:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
}
.qe-result-page .phase1-direction-card{
  min-width:0;
  min-height:350px;
  margin:0;
  padding:30px clamp(22px,2.6vw,38px) 26px;
  border:0;
  border-right:1px solid var(--qe-rule);
  background:transparent;
  box-shadow:none;
  display:grid;
  grid-template-rows:auto 150px 44px;
  gap:16px;
  align-items:stretch;
  position:relative;
}
.qe-result-page .phase1-direction-card:last-child{border-right:0}
.qe-result-page .phase1-direction-card::before{
  position:absolute;
  top:30px;
  left:clamp(22px,2.6vw,38px);
  width:auto;
  height:auto;
  margin:0;
  background:none;
  color:var(--qe-wine);
  font:450 42px/1 var(--qe-display);
}
.qe-result-page .phase1-direction-card[data-rank="1"]::before{content:"A"}
.qe-result-page .phase1-direction-card[data-rank="2"]::before{content:"B"}
.qe-result-page .phase1-direction-card[data-rank="3"]::before{content:"C"}
.qe-result-page .qe-direction-copy{min-width:0;padding-left:58px}
.qe-result-page .qe-direction-copy>small{color:var(--qe-wine);font:500 10px/1.6 var(--qe-ui);letter-spacing:.06em}
.qe-result-page .phase1-direction-card h2{margin:2px 0 5px;font:450 23px/1.45 var(--qe-display)!important}
.qe-result-page .qe-direction-copy>strong{min-height:0;font:450 14px/1.65 var(--qe-display)!important}
.qe-result-page .qe-direction-copy>p{min-height:0;margin:7px 0 0;color:var(--qe-ink-muted);font:400 11px/1.65 var(--qe-ui)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.qe-result-page .qe-direction-visual{height:150px;margin:0;position:relative;overflow:hidden;background:var(--qe-paper-muted)}
.qe-result-page .qe-direction-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 28%}
.qe-result-page .qe-direction-visual figcaption{position:absolute;right:10px;bottom:8px;color:#fff;font:500 9px/1.4 var(--qe-ui);letter-spacing:.08em;text-shadow:0 1px 5px rgba(0,0,0,.55)}
.qe-result-page .phase1-decision-note{display:none}
.qe-result-page .phase1-decision-note span{padding:11px 0;border-top:1px solid var(--qe-rule);background:transparent;color:var(--qe-ink-muted);font:400 11px/1.75 var(--qe-ui)!important}
.qe-result-page .phase1-decision-note b{display:block;margin:0 0 3px;color:var(--qe-ink);font:600 10px/1.5 var(--qe-ui)!important;letter-spacing:.08em}
.qe-result-page .phase1-direction-card>.mm-button{
  width:100%;
  min-height:44px;
  margin:0;
  padding:10px 0 7px;
  border:0!important;
  border-bottom:1px solid var(--qe-wine)!important;
  background:transparent!important;
  color:var(--qe-wine)!important;
  font:600 13px/1.5 var(--qe-ui)!important;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-align:left;
}
.qe-result-page .phase1-direction-card>.mm-button::after{content:"→";font:400 18px/1 var(--qe-ui)}
.qe-result-page .phase1-direction-card.is-selected{box-shadow:inset 0 -2px var(--qe-wine)}
.qe-result-page .phase1-free-result{
  box-sizing:border-box;
  width:100%;
  margin:72px 0 0;
  padding:64px max(var(--qe-gutter),calc((100% - var(--qe-product-max))/2 + var(--qe-gutter)));
  border:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  background:var(--qe-paper);
  display:grid;
  grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);
  gap:clamp(48px,7vw,108px);
  align-items:center;
}
.qe-result-page .phase1-free-result>div:first-child h2{margin:0;font:450 clamp(34px,3.4vw,50px)/1.55 var(--qe-display)!important}
.qe-result-page #preview-rationale{margin:18px 0;color:var(--qe-ink-muted);font:400 13px/1.85 var(--qe-ui)!important}
.qe-result-page .phase1-plan-a-spec{margin:28px 0 0;border-top:1px solid var(--qe-rule)}
.qe-result-page .phase1-plan-a-spec>div{padding:11px 0;border-bottom:1px solid var(--qe-rule);display:grid;grid-template-columns:120px 1fr;gap:18px;font:400 12px/1.7 var(--qe-ui)!important}
.qe-result-page .phase1-plan-a-spec dt{color:var(--qe-ink-muted)}
.qe-result-page .phase1-plan-a-spec dd{margin:0;color:var(--qe-ink)}
.qe-result-page .mm-comparison-shell{
  width:100%;
  min-height:470px;
  aspect-ratio:auto;
  border:0;
  border-radius:0;
  background:var(--qe-paper-muted);
  box-shadow:none;
  overflow:hidden;
}
.qe-result-page .phase1-generation-gate{
  width:100%;
  min-height:470px;
  padding:0;
  border:0;
  background:var(--qe-paper-muted);
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);
  align-items:stretch;
}
.qe-result-page .qe-generation-source{width:100%;height:100%;min-height:470px;object-fit:cover;object-position:center 22%}
.qe-result-page .phase1-generation-gate>div{
  padding:clamp(28px,4vw,54px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:left;
}
.qe-result-page .phase1-generation-gate strong{font:450 20px/1.65 var(--qe-display)!important}
.qe-result-page .phase1-generation-gate .generation-mark{display:none}
.qe-result-page .phase1-generation-gate .mm-status{margin:13px 0 20px;color:var(--qe-ink-muted)}
.qe-result-page .phase1-generation-gate .mm-button{width:100%;text-align:center}
.qe-result-page .generation-consent{margin:0 0 16px;color:var(--qe-ink-muted);display:flex;gap:10px;font:400 12px/1.75 var(--qe-ui)!important}
.qe-result-page .generation-consent input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--qe-wine)}
.qe-result-page .phase1-evidence{margin-top:70px;padding:0;border-top:1px solid var(--qe-rule);display:grid;grid-template-columns:1fr 1fr;gap:0}
.qe-result-page .phase1-summary{padding:34px 36px 34px 0;border:0;border-right:1px solid var(--qe-rule);background:transparent}
.qe-result-page .phase1-summary+ .phase1-summary{padding-left:36px;padding-right:0;border-right:0}
.qe-result-page .phase1-summary h2{margin:0 0 18px;font:450 23px/1.55 var(--qe-display)!important}
.qe-result-page .phase1-summary ul{margin:0;padding-left:1.2em}
.qe-result-page .phase1-summary li,.qe-result-page .phase1-summary>p{color:var(--qe-ink-muted);font:400 12px/1.8 var(--qe-ui)!important}
.qe-result-page>.mm-purchase-note{margin-top:28px;padding:18px 0;border-top:1px solid var(--qe-rule);border-bottom:1px solid var(--qe-rule);background:transparent}
.qe-result-page .mm-empty,
.qe-paid-result-page .mm-empty{
  width:min(760px,calc(100% - 2 * var(--qe-gutter)));
  margin:var(--qe-section) auto;
  padding:64px 0;
  border:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  text-align:left;
}

/* Completed A/B/C result ------------------------------------------------- */
.qe-paid-result-page .mm-paid{
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  margin:0 auto;
  padding-top:72px;
}
.qe-paid-result-page .mm-paid-intro{max-width:800px;margin:0 0 58px;display:block}
.qe-paid-result-page .mm-top3{
  margin:0;
  padding:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  overflow:visible;
}
.qe-paid-result-page .mm-top3-card{
  min-width:0;
  margin:0;
  padding:0 0 24px;
  border:0;
  border-right:1px solid var(--qe-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  flex-direction:column-reverse;
  text-align:left;
}
.qe-paid-result-page .mm-top3-card:last-child{border-right:0}
.qe-paid-result-page .mm-top3-card.selected{border-top:3px solid var(--qe-wine);box-shadow:none}
.qe-paid-result-page .mm-top3-card img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 22%;background:var(--qe-paper-muted)}
.qe-paid-result-page .mm-top3-meta{padding:24px 28px 0;display:block}
.qe-paid-result-page .mm-top3-meta small{color:var(--qe-wine);font:450 36px/1 var(--qe-display)!important;letter-spacing:.04em}
.qe-paid-result-page .mm-top3-meta strong{margin-top:10px;font:450 21px/1.5 var(--qe-display)!important}
.qe-paid-result-page .mm-top3-meta em{margin-top:7px;color:var(--qe-ink-muted);font:400 12px/1.75 var(--qe-ui)!important}
.qe-paid-result-page .phase1-tradeoff{margin-top:72px;padding-top:42px;border-top:1px solid var(--qe-rule)}
.qe-paid-result-page .phase1-tradeoff h2,
.qe-paid-result-page .mm-paid-detail h2,
.qe-paid-result-page .mm-order h2{margin:0 0 22px;font:450 clamp(28px,3vw,42px)/1.5 var(--qe-display)!important}
.qe-paid-result-page .tradeoff-scroll-hint{color:var(--qe-ink-muted);font:400 12px/1.7 var(--qe-ui)}
.qe-paid-result-page .phase1-tradeoff-table{border:0;border-top:1px solid var(--qe-rule);overflow:auto;background:transparent}
.qe-paid-result-page :where(.tradeoff-head,.tradeoff-row){min-width:760px;display:grid;grid-template-columns:180px repeat(3,1fr);border-bottom:1px solid var(--qe-rule)}
.qe-paid-result-page :where(.tradeoff-head>* , .tradeoff-row>*){padding:16px 18px;border:0;border-right:1px solid var(--qe-rule);background:transparent;color:var(--qe-ink-muted);font:400 12px/1.75 var(--qe-ui)}
.qe-paid-result-page :where(.tradeoff-head>* , .tradeoff-row>*):last-child{border-right:0}
.qe-paid-result-page :where(.tradeoff-head b,.tradeoff-row strong){color:var(--qe-ink);font-weight:600}
.qe-paid-result-page .mm-paid-detail{margin-top:72px;padding-top:42px;border-top:1px solid var(--qe-rule)}
.qe-paid-result-page .mm-comparison-shell{border:0;border-radius:0;background:var(--qe-paper-muted);box-shadow:none}
.qe-paid-result-page .mm-order{margin-top:72px;padding:56px 0 0;border-top:1px solid var(--qe-rule);background:transparent}
.qe-paid-result-page .consultation-warning{max-width:760px;color:var(--qe-ink-muted);font:400 12px/1.8 var(--qe-ui)!important}
.qe-paid-result-page .mm-spec{margin:34px 0 0;border-top:1px solid var(--qe-rule);background:transparent;display:grid;grid-template-columns:1fr 1fr}
.qe-paid-result-page .mm-spec>div{min-width:0;padding:15px 0;border:0;border-bottom:1px solid var(--qe-rule);display:grid;grid-template-columns:150px 1fr;gap:22px;font:400 12px/1.75 var(--qe-ui)!important}
.qe-paid-result-page .mm-spec>div:nth-child(odd){padding-right:32px;border-right:1px solid var(--qe-rule)}
.qe-paid-result-page .mm-spec>div:nth-child(even){padding-left:32px}
.qe-paid-result-page .mm-spec dt,.qe-paid-result-page .mm-spec dd{padding:0;border:0}
.qe-paid-result-page .mm-spec dt{color:var(--qe-ink-muted);font-weight:500}
.qe-paid-result-page .mm-spec dd{margin:0;color:var(--qe-ink)}
.qe-paid-result-page .mm-stylist-copy{margin:34px 0 0;padding:28px 0;border:0;border-top:1px solid var(--qe-wine);border-bottom:1px solid var(--qe-wine);background:transparent;text-align:left;font:450 16px/1.9 var(--qe-display)!important}
.qe-paid-result-page .mm-stylist-copy b{margin-bottom:8px;color:var(--qe-wine);font:600 11px/1.5 var(--qe-ui)!important;letter-spacing:.08em}
.qe-paid-result-page .mm-report-actions{margin-top:26px;display:flex;flex-wrap:wrap;gap:24px}
.qe-paid-result-page .mm-report-actions .mm-button{width:auto;min-width:210px}

/* My Results ------------------------------------------------------------- */
.qe-my-results-page .mm-my-results{
  box-sizing:border-box;
  width:min(var(--qe-product-max),calc(100% - 2 * var(--qe-gutter)));
  margin:0 auto;
  padding:clamp(58px,6vw,86px) 0 var(--qe-section);
  display:grid;
  grid-template-columns:minmax(240px,.34fr) minmax(0,1fr);
  grid-template-areas:
    "intro library"
    "status library"
    ". fineprint";
  grid-template-rows:auto 1fr auto;
  gap:24px clamp(52px,6vw,92px);
  align-items:start;
}
.qe-my-results-page .mm-my-results-head{grid-area:intro;max-width:350px}
.qe-my-results-page .mm-my-results-head h1{
  margin:0;
  font:450 clamp(31px,3vw,42px)/1.45 var(--qe-display)!important;
  letter-spacing:.02em;
}
.qe-my-results-page .mm-my-results-head .qe-my-results-statement{margin:22px 0 0;color:var(--qe-ink);font:450 clamp(27px,2.5vw,36px)/1.65 var(--qe-display)!important;white-space:nowrap}
.qe-my-results-page .mm-my-results-head .qe-my-results-statement em{color:var(--qe-wine)}
.qe-my-results-page .mm-my-results-head>p:not(.qe-my-results-statement){max-width:330px;margin:22px 0 0;color:var(--qe-ink-muted);font:400 12px/1.9 var(--qe-ui)!important}
.qe-my-results-page .mm-my-results>.mm-status{grid-area:status;margin:10px 0 0;padding:15px 0;border-top:1px solid var(--qe-rule);border-bottom:0;color:var(--qe-ink-muted);font-size:11px!important}
.qe-my-results-page .mm-results-overview{display:none!important;margin:0;padding:0;border:0;background:transparent}
.qe-my-results-page .mm-results-overview>h2{margin:0 0 14px;color:var(--qe-wine);font:500 12px/1.5 var(--qe-ui)!important;letter-spacing:.1em}
.qe-my-results-page .mm-result-metrics{
  margin:0;
  border:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  display:grid;
  grid-template-columns:.7fr .7fr 1.6fr;
  gap:0;
}
.qe-my-results-page .mm-result-metrics article{
  min-height:112px;
  padding:20px 26px;
  border:0;
  border-right:1px solid var(--qe-rule);
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.qe-my-results-page .mm-result-metrics article:last-child{border-right:0}
.qe-my-results-page .mm-result-metrics strong{color:var(--qe-wine);font:450 38px/1.1 var(--qe-display)}
.qe-my-results-page .mm-result-metrics span,
.qe-my-results-page .mm-result-metrics label{margin-top:8px;color:var(--qe-ink-muted);font:400 11px/1.6 var(--qe-ui)}
.qe-my-results-page .mm-result-metrics progress{width:100%;height:2px;margin:18px 0 4px;border:0;border-radius:0;background:var(--qe-rule)}
.qe-my-results-page .mm-result-metrics progress::-webkit-progress-bar{background:var(--qe-rule)}
.qe-my-results-page .mm-result-metrics progress::-webkit-progress-value{background:var(--qe-wine)}
.qe-my-results-page .mm-result-metrics progress::-moz-progress-bar{background:var(--qe-wine)}
.qe-my-results-page .mm-my-results-grid{
  grid-area:library;
  margin:0;
  padding:0;
  border:0;
  border-top:1px solid var(--qe-rule);
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  display:block;
  counter-reset:qe-result-row;
}
.qe-my-results-page .mm-my-result-card{
  counter-increment:qe-result-row;
  min-height:0;
  margin:0;
  padding:30px 0;
  border:0;
  border-bottom:1px solid var(--qe-rule);
  background:transparent;
  display:grid;
  grid-template-columns:54px minmax(150px,.72fr) minmax(220px,1.35fr) minmax(150px,.7fr);
  grid-template-areas:
    "index kicker copy action"
    "index title details action"
    "index results results results";
  gap:8px 34px;
  align-items:start;
}
.qe-my-results-page .mm-my-result-card:last-child{border-bottom:0}
.qe-my-results-page .mm-my-result-card::before{
  content:counter(qe-result-row,decimal-leading-zero);
  grid-area:index;
  color:var(--qe-ink);
  font:450 27px/1.4 var(--qe-display);
}
.qe-my-results-page .mm-my-result-card>.mm-kicker{grid-area:kicker;margin:2px 0 0}
.qe-my-results-page .mm-my-result-card h2{grid-area:title;margin:0;font:450 clamp(22px,2.4vw,32px)/1.5 var(--qe-display)!important}
.qe-my-results-page .mm-my-result-copy{grid-area:copy;max-width:520px;margin:0;color:var(--qe-ink-muted);font:400 12px/1.85 var(--qe-ui)!important}
.qe-my-results-page .mm-my-result-details{grid-area:details;margin:12px 0 0;display:grid;grid-template-columns:max-content 1fr;gap:8px 18px;color:var(--qe-ink-muted);font:400 11px/1.7 var(--qe-ui)!important}
.qe-my-results-page .mm-my-result-details dt{font-weight:600;color:var(--qe-ink)}
.qe-my-results-page .mm-my-result-details dd{margin:0}
.qe-my-results-page .mm-my-result-card>.mm-button{grid-area:action;width:auto;min-height:44px;margin:0;padding:10px 0 7px;border:0!important;border-bottom:1px solid var(--qe-wine)!important;background:transparent!important;color:var(--qe-wine)!important;font:600 13px/1.5 var(--qe-ui)!important}
.qe-my-results-page .mm-my-result-card>.mm-my-result-secondary{grid-area:action;align-self:end;margin-top:52px}
.qe-my-results-page #my-fringe-result.has-fringe-visual{
  padding:26px 0 42px;
  grid-template-columns:minmax(0,1.35fr) 46px minmax(210px,.65fr);
  grid-template-areas:
    "visual index kicker"
    "visual index title"
    "visual index copy"
    "visual index details"
    "visual index open"
    "visual index compare"
    "visual index download";
  grid-template-rows:auto auto auto auto 44px 44px 44px;
  gap:7px 22px;
  align-items:start;
}
.qe-my-results-page #my-fringe-result:not(.has-fringe-visual){grid-template-columns:54px minmax(180px,.75fr) minmax(260px,1.25fr);grid-template-areas:"index kicker copy" "index title details" "index action action"}
.qe-my-results-page .mm-fringe-result-visual{grid-area:visual;height:100%;min-height:390px;display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--qe-paper-muted);overflow:hidden}
.qe-my-results-page .mm-fringe-result-visual figure{min-width:0;height:100%;margin:0;position:relative;overflow:hidden}
.qe-my-results-page .mm-fringe-result-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 22%}
.qe-my-results-page .mm-fringe-result-visual figcaption{position:absolute;left:12px;bottom:10px;color:#fff;font:500 9px/1.5 var(--qe-ui);letter-spacing:.12em;text-shadow:0 1px 6px rgba(0,0,0,.55)}
.qe-my-results-page #my-fringe-result.has-fringe-visual>.mm-button{grid-area:open}
.qe-my-results-page #my-fringe-result.has-fringe-visual>[data-compare]{grid-area:compare}
.qe-my-results-page #my-fringe-result.has-fringe-visual>[data-fringe-download]{grid-area:download}
.qe-my-results-page #my-fringe-result.has-fringe-visual>:where(.mm-button,.mm-my-result-secondary){width:100%;min-height:44px;margin:0;padding:10px 0 7px;align-self:stretch;justify-self:stretch;border:0!important;border-bottom:1px solid var(--qe-wine)!important;background:transparent!important;color:var(--qe-wine)!important;display:flex;align-items:center;justify-content:space-between;font:600 12px/1.5 var(--qe-ui)!important;text-decoration:none}
.qe-my-results-page #my-fringe-result.has-fringe-visual>.mm-button b{font:400 18px/1 var(--qe-ui)}
.qe-my-results-page .mm-account-results{grid-area:results;margin:28px 0 0;padding:0;border-top:1px solid var(--qe-rule)}
.qe-my-results-page .mm-account-result{
  margin:0;
  padding:22px 0;
  border:0;
  border-bottom:1px solid var(--qe-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:grid;
  grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr) auto;
  gap:16px 28px;
  align-items:start;
}
.qe-my-results-page .mm-account-result>strong{font:450 18px/1.6 var(--qe-display)}
.qe-my-results-page .mm-account-result>span{color:var(--qe-ink-muted);font:400 11px/1.75 var(--qe-ui)}
.qe-my-results-page .mm-account-result-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px}
.qe-my-results-page :where(.mm-account-result-compare,.mm-account-result-single){grid-column:1/-1;width:min(780px,100%);margin:12px auto 0;border-radius:0;overflow:hidden}
.qe-my-results-page .mm-account-result-image{width:100%;display:block}
.qe-my-results-page .mm-fineprint{grid-area:fineprint;margin:8px 0 0;text-align:right}
.qe-my-results-page .mm-fineprint a{color:var(--qe-wine)}

/* Tablet, treated as an independent composition ------------------------- */
@media (min-width:601px) and (max-width:1100px){
  .qe-product-page{--qe-product-max:100%;--qe-gutter:32px}
  .qe-product-page :where(.mm-header,.mm-flow-header){height:76px;min-height:76px;gap:24px}
  .qe-product-page :where(.mm-nav){gap:18px}
  .qe-product-page :where(.mm-nav a,.mm-account){font-size:11px}
  .qe-product-page :where(.mm-brand){font-size:16px;letter-spacing:.13em}
  .qe-product-page :where(.mm-brand)::before{width:25px;height:25px;flex-basis:25px}

  .qe-diagnosis-hero{min-height:520px;padding-bottom:42px;grid-template-columns:minmax(260px,.82fr) minmax(360px,1.18fr);gap:36px}
  .qe-diagnosis-intro{padding:34px 0 20px}
  .qe-diagnosis-page .mm-flow-title{font-size:40px}
  .qe-diagnosis-page .mm-flow-lead{margin:16px 0 30px;font-size:14px}
  .qe-diagnosis-page .mm-photo-picker,.qe-diagnosis-page .mm-photo-picker .placeholder{min-height:470px;height:470px}
  .qe-diagnosis-questions,.qe-diagnosis-finish{padding:48px 32px;grid-template-columns:190px minmax(0,1fr);gap:36px}
  .qe-section-index{grid-template-columns:38px 1fr;gap:10px}.qe-section-index>span{font-size:24px}.qe-section-index h2{font-size:28px}
  .qe-diagnosis-page .phase1-question{grid-template-columns:34px 150px minmax(0,1fr);gap:12px}
  .qe-diagnosis-page .phase1-options{justify-content:flex-start}
  .qe-diagnosis-page .mm-free-preview{grid-template-columns:1fr;gap:12px}

  /* 768px diagnosis is a compact editorial spread, not a squeezed desktop. */
  .qe-diagnosis-page .qe-diagnosis-hero{
    min-height:0;
    padding:20px 32px 34px;
    grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);
    gap:28px;
    align-items:start;
  }
  .qe-diagnosis-page .qe-diagnosis-intro{padding:18px 0 0}
  .qe-diagnosis-page .mm-flow-title{font-size:36px;line-height:1.48!important}
  .qe-diagnosis-page .mm-flow-lead{margin:13px 0 22px;font-size:13px;line-height:1.75!important}
  .qe-diagnosis-page .qe-step-heading{grid-template-columns:36px 1fr;column-gap:10px}
  .qe-diagnosis-page .qe-step-heading>span{font-size:24px}
  .qe-diagnosis-page .qe-step-heading>strong{font-size:16px}
  .qe-diagnosis-page .qe-step-heading>small{margin-top:4px;font-size:10px}
  .qe-diagnosis-page .mm-intake-photo{display:block}
  .qe-diagnosis-page .qe-photo-guidance{display:none}
  .qe-diagnosis-page .mm-photo-picker,
  .qe-diagnosis-page .mm-photo-picker .placeholder{min-height:390px;height:390px}
  .qe-diagnosis-page .mm-photo-picker .placeholder{grid-template-rows:minmax(0,1fr) 58px}
  .qe-diagnosis-page .mm-photo-example img{width:min(100%,285px)}
  .qe-diagnosis-page .mm-photo-cta{min-height:58px}
  .qe-diagnosis-page .mm-photo-checks{margin-top:0;padding-top:10px;justify-content:center;gap:14px;font-size:9px}
  .qe-diagnosis-page .phase1-progress{min-height:72px;padding:14px 0 10px}
  .qe-diagnosis-page .qe-diagnosis-questions{padding:34px 32px;display:block}
  .qe-diagnosis-page .qe-diagnosis-questions>.qe-section-index{max-width:440px;margin-bottom:22px}
  .qe-diagnosis-page .phase1-question{
    --qe-question-index:34px;
    --qe-question-label:148px;
    --qe-question-gap:10px;
    min-height:72px;
    padding:12px 0 12px calc(var(--qe-question-index) + var(--qe-question-label) + var(--qe-question-gap) * 2);
    align-items:center;
  }
  .qe-diagnosis-page .phase1-question::before,
  .qe-diagnosis-page .phase1-question legend{top:12px}
  .qe-diagnosis-page .phase1-options{gap:0 12px;justify-content:flex-end}
  .qe-diagnosis-page .phase1-options button{min-height:44px;padding:8px 3px;font-size:10.5px!important}
  .qe-diagnosis-page .qe-diagnosis-finish{padding:38px 32px;grid-template-columns:168px minmax(0,1fr);gap:28px}
  .qe-diagnosis-page .qe-diagnosis-finish .qe-section-index{grid-template-columns:32px 1fr}
  .qe-diagnosis-page .qe-diagnosis-finish .qe-section-index h2{font-size:25px}
  .qe-diagnosis-page .mm-free-preview{grid-template-columns:1fr 1fr;gap:12px 22px;margin-bottom:16px;padding-bottom:18px}
  .qe-diagnosis-page .mm-free-preview h2{grid-column:1/-1}
  .qe-diagnosis-page .mm-consent{font-size:10.5px!important}
  .qe-diagnosis-page .mm-submit{margin-top:20px}

  .qe-result-page .mm-flow-header,.qe-my-results-page .mm-header{height:86px;min-height:86px;padding:0 32px;grid-template-columns:1fr auto;gap:20px}
  .qe-result-page .mm-flow-header .mm-brand{grid-column:1;justify-self:start}
  .qe-result-page .mm-flow-header .mm-flow-product-nav,.qe-result-page .mm-flow-header>.mm-product-account-link,.qe-my-results-page .mm-header>.mm-nav,.qe-my-results-page .mm-header>.mm-account{display:none!important}
  .qe-result-page .qe-mobile-nav,.qe-my-results-page .qe-mobile-nav{display:block;grid-column:2;grid-row:1;justify-self:end;position:relative}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav summary{width:44px;height:44px;padding:11px 8px;box-sizing:border-box;cursor:pointer;list-style:none;display:flex;flex-direction:column;justify-content:center;gap:5px;position:relative;z-index:62}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav summary::-webkit-details-marker{display:none}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav summary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav summary i{width:24px;height:2px;background:var(--qe-ink);display:block;transition:transform var(--qe-fast) ease,opacity var(--qe-fast) ease}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav[open] summary i:nth-of-type(1){transform:translateY(7px) rotate(45deg)}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav[open] summary i:nth-of-type(2){opacity:0}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav[open] summary i:nth-of-type(3){transform:translateY(-7px) rotate(-45deg)}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav nav{position:fixed;inset:86px 0 0;z-index:60;padding:44px 32px 60px;background:var(--qe-canvas);border-top:1px solid var(--qe-rule);display:flex;flex-direction:column;overflow:auto}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav nav a{padding:18px 0;border-bottom:1px solid var(--qe-rule);color:var(--qe-ink);font:450 24px/1.55 var(--qe-display);text-decoration:none}
  :where(.qe-result-page,.qe-my-results-page) .qe-mobile-nav nav a[aria-current="page"]{color:var(--qe-wine)}

  .qe-result-page .phase1-result-head{height:360px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:32px}
  .qe-result-page .phase1-result-head>div{padding:38px 0}
  .qe-result-page .phase1-result-head h1{font-size:40px;line-height:1.4!important}
  .qe-result-page #analysis-copy{font-size:12px!important;line-height:1.8!important}
  .qe-result-source,.qe-result-source img{min-height:360px}
  .qe-result-page .phase1-direction-card{min-height:398px;padding:26px 20px 24px;grid-template-rows:auto 150px 44px;gap:16px}
  .qe-result-page .phase1-direction-card::before{top:26px;left:20px;font-size:36px}
  .qe-result-page .qe-direction-copy{padding-left:48px}
  .qe-result-page .phase1-direction-card h2{font-size:20px!important}
  .qe-result-page .qe-direction-copy>strong{font-size:12px!important}
  .qe-result-page .qe-direction-visual{height:150px}
  .qe-result-page .phase1-free-result{padding:50px 32px;grid-template-columns:minmax(240px,.8fr) minmax(380px,1.2fr);gap:38px}
  .qe-result-page .phase1-generation-gate{grid-template-columns:1fr}.qe-result-page .qe-generation-source{height:360px;min-height:360px}.qe-result-page .phase1-generation-gate>div{padding:32px}

  .qe-my-results-page .mm-my-results{width:calc(100% - 64px);padding:48px 0 78px;display:block}
  .qe-my-results-page .mm-my-results-head{max-width:560px}
  .qe-my-results-page .mm-my-results-head .qe-my-results-statement{font-size:32px!important}
  .qe-my-results-page .mm-my-results>.mm-status{margin:22px 0 0}
  .qe-my-results-page .mm-my-results-grid{margin-top:38px}
  .qe-my-results-page .mm-my-result-card{grid-template-columns:52px minmax(150px,.7fr) minmax(220px,1.25fr) minmax(150px,.7fr);gap:8px 22px}
  .qe-my-results-page #my-fringe-result.has-fringe-visual{grid-template-columns:minmax(0,1.25fr) 44px minmax(200px,.75fr);gap:7px 18px}
  .qe-my-results-page .mm-fringe-result-visual{min-height:340px}
  .qe-my-results-page .mm-fineprint{margin-top:24px}
}

/* 390-class mobile composition ------------------------------------------ */
@media (max-width:600px){
  .qe-product-page{--qe-gutter:20px;--qe-product-max:100%}
  .qe-product-page :where(.mm-header,.mm-flow-header){
    height:64px;
    min-height:64px;
    padding:0 20px;
    grid-template-columns:1fr auto;
    gap:14px;
  }
  .qe-product-page :where(.mm-brand){font-size:14px;letter-spacing:.12em;gap:9px}
  .qe-product-page :where(.mm-brand)::before{width:23px;height:23px;flex-basis:23px}
  .qe-product-page :where(.mm-nav,.mm-account,.mm-flow-header .mm-back,.mm-flow-header .mm-flow-label){display:none!important}
  .qe-product-page .mm-flow-header .mm-brand{grid-column:1;justify-self:start}
  .qe-mobile-nav{display:block;grid-column:2;grid-row:1;justify-self:end;position:relative}
  .qe-mobile-nav summary{
    width:44px;
    height:44px;
    padding:11px 8px;
    box-sizing:border-box;
    cursor:pointer;
    list-style:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    position:relative;
    z-index:62;
  }
  .qe-mobile-nav summary::-webkit-details-marker{display:none}
  .qe-mobile-nav summary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .qe-mobile-nav summary i{width:24px;height:2px;background:var(--qe-ink);display:block;transition:transform var(--qe-fast) ease,opacity var(--qe-fast) ease}
  .qe-mobile-nav[open] summary i:nth-of-type(1){transform:translateY(7px) rotate(45deg)}
  .qe-mobile-nav[open] summary i:nth-of-type(2){opacity:0}
  .qe-mobile-nav[open] summary i:nth-of-type(3){transform:translateY(-7px) rotate(-45deg)}
  .qe-mobile-nav nav{
    position:fixed;
    inset:64px 0 0;
    z-index:60;
    padding:44px 28px 60px;
    background:var(--qe-canvas);
    border-top:1px solid var(--qe-rule);
    display:flex;
    flex-direction:column;
    overflow:auto;
  }
  .qe-mobile-nav nav a{padding:18px 0;border-bottom:1px solid var(--qe-rule);color:var(--qe-ink);font:450 24px/1.55 var(--qe-display);text-decoration:none}
  .qe-mobile-nav nav a[aria-current="page"]{color:var(--qe-wine)}
  .qe-product-page .mm-flow-product-nav{display:none}
  .qe-product-page .mm-diagnosis-context,.qe-product-page .mm-flow-context{width:calc(100% - 40px);min-height:42px}
  .qe-product-page .mm-diagnosis-context .mm-flow-label{font-size:11px}
  .qe-product-page :where(.mm-button.primary,.mm-submit){min-height:58px;padding:15px 18px;font-size:15px}

  .qe-diagnosis-page .mm-flow{padding-bottom:72px}
  .qe-diagnosis-hero{min-height:0;padding:20px 20px 34px;display:flex;flex-direction:column;align-items:stretch;gap:22px}
  .qe-diagnosis-intro{max-width:none;padding:0}
  .qe-diagnosis-page .mm-kicker{display:none}
  .qe-diagnosis-page .mm-flow-title{font-size:30px;line-height:1.58!important}
  .qe-diagnosis-page .mm-flow-lead{margin:11px 0 22px;font-size:13px;line-height:1.8!important}
  .qe-step-heading{grid-template-columns:36px 1fr;column-gap:9px}
  .qe-step-heading>span{font-size:23px}.qe-step-heading>strong{font-size:17px}.qe-step-heading>small{margin-top:4px;font-size:11px;line-height:1.7}
  .qe-diagnosis-page .mm-photo-picker,.qe-diagnosis-page .mm-photo-picker .placeholder{min-height:430px;height:430px}
  .qe-diagnosis-page .mm-photo-picker .placeholder{grid-template-rows:minmax(0,1fr) 58px}
  .qe-diagnosis-page .mm-photo-cta{min-height:58px;padding-inline:15px}.qe-diagnosis-page .mm-photo-cta strong{font-size:15px}
  .qe-diagnosis-page .mm-photo-checks{justify-content:center;gap:13px;font-size:10px}
  .qe-diagnosis-page .phase1-progress{width:100%;min-height:78px;padding:15px 20px 13px;border-top:1px solid var(--qe-rule);border-bottom:1px solid var(--qe-rule)}
  .qe-diagnosis-page .phase1-progress span{font-size:9px}.qe-diagnosis-page .phase1-progress b{width:22px;height:22px;font-size:9px}.qe-diagnosis-page .phase1-progress span::before{top:11px}
  .qe-diagnosis-questions,.qe-diagnosis-finish{padding:34px 20px;display:block}
  .qe-section-index{grid-template-columns:36px 1fr;gap:10px;margin-bottom:24px}.qe-section-index>span{font-size:23px}.qe-section-index h2{font-size:28px;line-height:1.5!important}
  .qe-section-index .phase1-question-help{margin-top:8px;font-size:11px;line-height:1.7}
  .qe-diagnosis-page .phase1-question{padding:15px 0;grid-template-columns:34px 1fr;gap:7px 9px}
  .qe-diagnosis-page .phase1-question::before{font-size:15px}.qe-diagnosis-page .phase1-question legend{grid-column:2}.qe-diagnosis-page .phase1-question legend b{font-size:15px}.qe-diagnosis-page .phase1-question legend small{font-size:10px}
  .qe-diagnosis-page .phase1-options{grid-column:1/-1;padding-left:43px;justify-content:flex-start;gap:0 15px}
  .qe-diagnosis-page .phase1-options button{min-height:44px;font-size:11px!important}
  .qe-diagnosis-page .mm-free-preview{margin-bottom:20px;padding-bottom:20px;display:block}
  .qe-diagnosis-page .mm-free-preview h2,.qe-diagnosis-page .mm-free-preview h3{margin-bottom:10px;font-size:18px!important}.qe-diagnosis-page .mm-free-preview p+p{margin-top:8px}
  .qe-diagnosis-page .mm-consent{font-size:11px!important}
  .qe-diagnosis-page .mm-submit{width:100%;margin-top:22px}

  /* 390px diagnosis keeps every real option visible in compact editorial rows. */
  .qe-diagnosis-page .qe-diagnosis-hero{padding:14px 20px 28px;gap:16px}
  .qe-diagnosis-page .mm-flow-title{font-size:29px;line-height:1.52!important;letter-spacing:.01em}
  .qe-diagnosis-page .mm-flow-lead{margin:9px 0 17px;font-size:12px;line-height:1.75!important}
  .qe-diagnosis-page .qe-step-heading{grid-template-columns:34px 1fr;column-gap:8px}
  .qe-diagnosis-page .qe-step-heading>span{font-size:21px}
  .qe-diagnosis-page .qe-step-heading>strong{font-size:15px;line-height:1.55}
  .qe-diagnosis-page .qe-step-heading>small{font-size:10px;line-height:1.65}
  .qe-diagnosis-page .mm-intake-photo{display:block}
  .qe-diagnosis-page .qe-photo-guidance{display:none}
  .qe-diagnosis-page .mm-photo-picker,
  .qe-diagnosis-page .mm-photo-picker .placeholder{min-height:350px;height:350px}
  .qe-diagnosis-page .mm-photo-picker .placeholder{grid-template-rows:minmax(0,1fr) 56px}
  .qe-diagnosis-page .mm-photo-example img{width:min(100%,228px)}
  .qe-diagnosis-page .mm-photo-example::before,
  .qe-diagnosis-page .mm-photo-example::after{top:14px;width:22px;height:22px}
  .qe-diagnosis-page .mm-photo-example::before{left:14px}
  .qe-diagnosis-page .mm-photo-example::after{right:14px}
  .qe-diagnosis-page .mm-photo-cta{min-height:56px}
  .qe-diagnosis-page .mm-photo-checks{padding-top:9px;gap:10px;font-size:9px}
  .qe-diagnosis-page .phase1-progress{min-height:66px;padding:11px 20px 9px}
  .qe-diagnosis-page .phase1-progress span{gap:5px}
  .qe-diagnosis-page .qe-diagnosis-questions{padding:27px 20px 30px}
  .qe-diagnosis-page .qe-diagnosis-questions>.qe-section-index{margin-bottom:17px}
  .qe-diagnosis-page .qe-diagnosis-questions .qe-section-index h2{font-size:25px;line-height:1.45!important}
  .qe-diagnosis-page .qe-diagnosis-questions .phase1-question-help{font-size:10px;line-height:1.65}
  .qe-diagnosis-page .phase1-question{
    --qe-question-index:30px;
    --qe-question-label:calc(100% - 38px);
    --qe-question-gap:8px;
    min-height:0;
    padding:58px 0 9px;
    align-items:start;
  }
  .qe-diagnosis-page .phase1-question::before{top:11px;font-size:14px;line-height:1.55}
  .qe-diagnosis-page .phase1-question legend{top:11px}
  .qe-diagnosis-page .phase1-question legend b{font-size:14px;line-height:1.55}
  .qe-diagnosis-page .phase1-question legend small{margin-top:0;font-size:9px}
  .qe-diagnosis-page .phase1-options{
    grid-column:1/-1;
    width:100%;
    margin-top:6px;
    padding:0 0 3px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0 8px;
    overflow:visible;
  }
  .qe-diagnosis-page .phase1-options button{
    box-sizing:border-box;
    width:100%!important;
    min-width:0;
    min-height:44px;
    padding:10px 2px 8px;
    flex:none!important;
    border:0;
    border-bottom:1px solid var(--qe-rule-strong);
    background:transparent;
    color:var(--qe-ink);
    font-size:10.5px!important;
    white-space:nowrap;
  }
  .qe-diagnosis-page .phase1-options button.selected{
    border-bottom-color:var(--qe-wine);
    background:transparent;
    color:var(--qe-wine);
  }
  .qe-diagnosis-page .qe-diagnosis-finish{padding:28px 20px 34px}
  .qe-diagnosis-page .qe-diagnosis-finish>.qe-section-index{margin-bottom:17px}
  .qe-diagnosis-page .qe-diagnosis-finish .qe-section-index h2{font-size:25px;line-height:1.45!important}
  .qe-diagnosis-page .mm-free-preview{margin-bottom:14px;padding-bottom:14px}
  .qe-diagnosis-page .mm-free-preview h2{font-size:17px!important}
  .qe-diagnosis-page .mm-free-preview p{display:grid;grid-template-columns:108px 1fr;gap:10px;font-size:10.5px!important;line-height:1.65!important}
  .qe-diagnosis-page .mm-free-preview p strong{margin:0;font-size:12px;line-height:1.55}
  .qe-diagnosis-page .phase1-safety-note{padding:8px 0 10px;font-size:10px!important;line-height:1.65!important}
  .qe-diagnosis-page .mm-consent{padding:11px 0;font-size:10px!important;line-height:1.65!important}
  .qe-diagnosis-page .mm-consent input{width:18px;height:18px;margin-top:2px}
  .qe-diagnosis-page .mm-submit{margin-top:17px}
  .qe-diagnosis-page .mm-purchase-note{margin-top:8px;font-size:9.5px!important}

  .qe-result-page .mm-result{padding-bottom:72px}
  .qe-result-page .mm-flow-header>.mm-product-account-link{display:none!important}
  .qe-result-page .phase1-result-head{width:100%;height:auto;min-height:0;padding:24px 20px 20px;display:block}
  .qe-result-page .phase1-result-head>div{max-width:none;padding:0}
  .qe-result-page .phase1-result-head h1{font-size:29px;line-height:1.46!important;word-break:keep-all;line-break:strict;overflow-wrap:normal}
  .qe-result-page #analysis-copy{margin-top:10px;font-size:11px!important;line-height:1.75!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .qe-result-source{display:none}
  .qe-result-page .phase1-choice-reassurance,.qe-result-page .phase1-entitlements,.qe-result-page .phase1-evidence,.qe-result-page>.mm-purchase-note{width:calc(100% - 40px)}
  .qe-result-page .phase1-choice-reassurance{margin-top:38px;padding:16px 0;font-size:11px!important}.qe-result-page .phase1-choice-reassurance strong{display:block;margin:0 0 3px}
  .qe-result-page .phase1-entitlements{padding-top:22px;display:block}.qe-result-page .phase1-entitlements p{padding:12px 0;border-right:0;border-bottom:1px solid var(--qe-rule)}.qe-result-page .phase1-entitlements p:last-child{border-bottom:0}.qe-result-page .phase1-entitlements b{font-size:16px}
  .qe-result-page .phase1-direction-grid{width:100%;margin:0;border-left:0;border-right:0;display:block}
  .qe-result-page .phase1-direction-card{min-height:148px;padding:16px 20px;border-right:0;border-bottom:1px solid var(--qe-rule);display:grid;grid-template-columns:minmax(0,1fr) 118px;grid-template-rows:minmax(62px,1fr) 44px;grid-template-areas:"copy visual" "action visual";gap:8px 16px}
  .qe-result-page .phase1-direction-card:last-child{border-bottom:0}
  .qe-result-page .phase1-direction-card::before{position:absolute;left:20px;top:18px;font-size:31px}
  .qe-result-page .qe-direction-copy{grid-area:copy;padding-left:42px;align-self:start}.qe-result-page .qe-direction-copy>small,.qe-result-page .qe-direction-copy>p,.qe-result-page .phase1-decision-note{display:none}.qe-result-page .phase1-direction-card h2{margin:0 0 2px;font-size:18px!important}.qe-result-page .qe-direction-copy>strong{font-size:11px!important;line-height:1.55!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .qe-result-page .qe-direction-visual{grid-area:visual;width:118px;height:116px;align-self:center}.qe-result-page .qe-direction-visual figcaption{font-size:8px}
  .qe-result-page .phase1-direction-card>.mm-button{grid-area:action;width:100%;margin:0;align-self:end}
  .qe-result-page .phase1-free-result{margin-top:42px;padding:36px 20px;display:block}
  .qe-result-page .phase1-free-result>div:first-child h2{font-size:29px!important}
  .qe-result-page .phase1-plan-a-spec{margin-bottom:28px}
  .qe-result-page .mm-comparison-shell,.qe-result-page .phase1-generation-gate{min-height:0}
  .qe-result-page .phase1-generation-gate{display:block}.qe-result-page .qe-generation-source{height:360px;min-height:360px}.qe-result-page .phase1-generation-gate>div{padding:26px 20px 30px}.qe-result-page .phase1-generation-gate strong{font-size:18px!important}
  .qe-result-page .phase1-evidence{margin-top:44px;display:block}.qe-result-page .phase1-summary,.qe-result-page .phase1-summary+ .phase1-summary{padding:24px 0;border-right:0;border-bottom:1px solid var(--qe-rule)}.qe-result-page .phase1-summary h2{font-size:20px!important}

  .qe-paid-result-page .mm-paid{width:calc(100% - 40px);padding:34px 0 72px}
  .qe-paid-result-page .mm-paid-intro{margin-bottom:32px}.qe-paid-result-page .mm-paid-intro h1{font-size:30px;line-height:1.55!important}.qe-paid-result-page .mm-paid-intro>p:last-child{font-size:12px!important}
  .qe-paid-result-page .mm-top3{display:block}.qe-paid-result-page .mm-top3-card{padding:0;min-height:170px;border-right:0;border-bottom:1px solid var(--qe-rule);display:grid;grid-template-columns:1fr 132px;grid-template-rows:1fr}.qe-paid-result-page .mm-top3-card:last-child{border-bottom:0}.qe-paid-result-page .mm-top3-card img{grid-column:2;grid-row:1;width:132px;height:170px;aspect-ratio:auto}.qe-paid-result-page .mm-top3-meta{grid-column:1;grid-row:1;padding:22px 16px 20px 0;display:flex;flex-direction:column;justify-content:center}.qe-paid-result-page .mm-top3-meta small{font-size:30px!important}.qe-paid-result-page .mm-top3-meta strong{font-size:18px!important}.qe-paid-result-page .mm-top3-meta em{font-size:11px!important}
  .qe-paid-result-page .phase1-tradeoff,.qe-paid-result-page .mm-paid-detail,.qe-paid-result-page .mm-order{margin-top:46px;padding-top:30px}.qe-paid-result-page .phase1-tradeoff h2,.qe-paid-result-page .mm-paid-detail h2,.qe-paid-result-page .mm-order h2{font-size:27px!important}
  .qe-paid-result-page .mm-comparison-shell{aspect-ratio:4/5}
  .qe-paid-result-page .mm-spec{display:block}.qe-paid-result-page .mm-spec>div,.qe-paid-result-page .mm-spec>div:nth-child(odd),.qe-paid-result-page .mm-spec>div:nth-child(even){padding:13px 0;border-right:0;grid-template-columns:110px 1fr;gap:12px}
  .qe-paid-result-page .mm-report-actions{display:block}.qe-paid-result-page .mm-report-actions .mm-button{width:100%;margin:0 0 12px}

  .qe-my-results-page .mm-my-results{width:calc(100% - 40px);padding:26px 0 68px;display:block}
  .qe-my-results-page .mm-my-results-head h1{font-size:27px;line-height:1.45!important}.qe-my-results-page .mm-my-results-head .qe-my-results-statement{margin-top:10px;font-size:25px!important;line-height:1.58!important}.qe-my-results-page .mm-my-results-head>p:not(.qe-my-results-statement){margin-top:9px;font-size:10px!important;line-height:1.7!important}
  .qe-my-results-page .mm-my-results>.mm-status{margin-top:16px;padding:10px 0;font-size:10px!important;line-height:1.6!important}
  .qe-my-results-page .mm-results-overview{display:none!important}
  .qe-my-results-page .mm-my-results-grid{margin-top:20px}
  .qe-my-results-page .mm-my-result-card{padding:24px 0;grid-template-columns:42px 1fr;grid-template-areas:"index kicker" "index title" "copy copy" "details details" "action action" "results results";gap:6px 12px}
  .qe-my-results-page #my-fringe-result:not(.has-fringe-visual){grid-template-columns:42px 1fr;grid-template-areas:"index kicker" "index title" "copy copy" "details details" "action action";gap:6px 12px}
  .qe-my-results-page .mm-my-result-card::before{font-size:23px}.qe-my-results-page .mm-my-result-card h2{font-size:23px!important}.qe-my-results-page .mm-my-result-copy{margin-top:10px;font-size:11px!important}.qe-my-results-page .mm-my-result-details{margin-top:8px;grid-template-columns:92px 1fr}
  .qe-my-results-page .mm-my-result-card>.mm-button{justify-self:start;margin-top:13px}.qe-my-results-page .mm-my-result-card>.mm-my-result-secondary{grid-area:action;justify-self:end;align-self:start;margin:13px 0 0}
  .qe-my-results-page #my-fringe-result.has-fringe-visual{padding:18px 0 28px;grid-template-columns:42px 1fr;grid-template-areas:"kicker kicker" "index title" "copy copy" "visual visual" "open open" "compare compare" "download download" "details details";grid-template-rows:auto auto auto 182px 44px 44px 44px auto;gap:7px 12px}
  .qe-my-results-page #my-fringe-result.has-fringe-visual>.mm-kicker{grid-area:kicker;margin:0 0 4px}.qe-my-results-page #my-fringe-result.has-fringe-visual::before{grid-area:index}.qe-my-results-page #my-fringe-result.has-fringe-visual h2{grid-area:title}.qe-my-results-page #my-fringe-result.has-fringe-visual .mm-my-result-copy{grid-area:copy;margin:2px 0 4px}.qe-my-results-page #my-fringe-result.has-fringe-visual .mm-my-result-details{grid-area:details;margin-top:8px}.qe-my-results-page .mm-fringe-result-visual{height:182px;min-height:182px}
  .qe-my-results-page #my-fringe-result.has-fringe-visual>:where(.mm-button,.mm-my-result-secondary){min-height:44px;margin:0;font-size:12px!important}
  .qe-my-results-page .mm-account-result{grid-template-columns:1fr;gap:8px}.qe-my-results-page .mm-account-result-actions{justify-content:flex-start;margin-top:8px}.qe-my-results-page :where(.mm-account-result-compare,.mm-account-result-single){grid-column:1}
  .qe-my-results-page .mm-fineprint{margin-top:24px;text-align:left}
}

/* Diagnosis questions use calm editorial disclosure rows. The unenhanced
   fieldsets keep every real choice visible; diagnosis.js turns them into a
   one-at-a-time accordion only after it has installed the controls. */
.qe-diagnosis-page .qe-question-toggle{display:none}
.qe-diagnosis-page .phase1-question-list:not(.qe-question-list--enhanced) .phase1-question{
  min-inline-size:0;
  min-height:0;
  padding:16px 0;
}
.qe-diagnosis-page .phase1-question-list:not(.qe-question-list--enhanced) .phase1-question legend{
  width:auto;
  margin:0 0 10px 44px;
  padding:0;
  position:static;
  color:var(--qe-ink);
  font:500 13px/1.65 var(--qe-ui);
}
.qe-diagnosis-page .phase1-question-list:not(.qe-question-list--enhanced) .phase1-options{
  width:auto;
  margin-left:44px;
  padding:0;
  justify-content:flex-start;
}
.qe-diagnosis-page .qe-question-list--enhanced .phase1-question{
  min-inline-size:0;
  min-height:0;
  padding:0;
  display:block;
  position:relative;
}
.qe-diagnosis-page .qe-question-list--enhanced .phase1-question::before{content:none}
.qe-diagnosis-page .qe-question-list--enhanced .phase1-question legend{
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  position:absolute;
}
.qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:58px;
  padding:7px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--qe-ink);
  display:grid;
  grid-template-columns:44px minmax(0,1fr) minmax(88px,auto) 22px;
  gap:10px;
  align-items:center;
  text-align:left;
  cursor:pointer;
}
.qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle::before{
  content:counter(qe-question,decimal-leading-zero);
  color:var(--qe-wine);
  font:450 17px/1 var(--qe-display);
}
.qe-diagnosis-page .qe-question-prompt{
  min-width:0;
  font:500 13px/1.55 var(--qe-ui);
}
.qe-diagnosis-page .qe-question-summary{
  min-width:0;
  color:var(--qe-ink-muted);
  font:500 11px/1.45 var(--qe-ui);
  text-align:right;
  white-space:nowrap;
}
.qe-diagnosis-page .qe-question-chevron{
  width:8px;
  height:8px;
  margin:0 3px 4px auto;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  color:var(--qe-ink-muted);
  transform:rotate(45deg);
  transition:transform .18s ease,margin .18s ease;
}
.qe-diagnosis-page .qe-question-toggle[aria-expanded="true"] .qe-question-summary{color:var(--qe-wine)}
.qe-diagnosis-page .qe-question-toggle[aria-expanded="true"] .qe-question-chevron{
  margin-top:5px;
  margin-bottom:0;
  color:var(--qe-wine);
  transform:rotate(225deg);
}
.qe-diagnosis-page .qe-question-toggle:not(:disabled):hover :where(.qe-question-prompt,.qe-question-summary),
.qe-diagnosis-page .qe-question-toggle:focus-visible :where(.qe-question-prompt,.qe-question-summary){color:var(--qe-wine)}
.qe-diagnosis-page .qe-question-toggle:focus-visible{
  outline:2px solid var(--qe-wine);
  outline-offset:-2px;
}
.qe-diagnosis-page .qe-question-list--enhanced .phase1-options{
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:5px 32px 17px 54px;
  display:flex;
  justify-content:flex-start;
  gap:0 22px;
}
.qe-diagnosis-page .qe-question-list--enhanced .phase1-options[hidden]{display:none!important}

@media (min-width:601px) and (max-width:1100px){
  .qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle{
    min-height:56px;
    grid-template-columns:38px minmax(0,1fr) minmax(84px,auto) 20px;
    gap:8px;
  }
  .qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle::before{font-size:16px}
  .qe-diagnosis-page .qe-question-prompt{font-size:11.5px}
  .qe-diagnosis-page .qe-question-summary{font-size:10.5px}
  .qe-diagnosis-page .qe-question-list--enhanced .phase1-options{
    padding:4px 20px 15px 46px;
    gap:0 16px;
  }
}

@media (max-width:600px){
  .qe-diagnosis-page .qe-diagnosis-questions{padding-top:10px}
  .qe-diagnosis-page .qe-diagnosis-questions>.qe-section-index{
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
    position:absolute;
  }
  .qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle{
    min-height:48px;
    padding:5px 0;
    grid-template-columns:26px minmax(0,1fr) minmax(54px,auto) 16px;
    gap:6px;
  }
  .qe-diagnosis-page .qe-question-list--enhanced .qe-question-toggle::before{font-size:14px}
  .qe-diagnosis-page .qe-question-prompt{font-size:10px;line-height:1.5}
  .qe-diagnosis-page .qe-question-summary{font-size:9.5px;line-height:1.4}
  .qe-diagnosis-page .qe-question-chevron{width:7px;height:7px;margin-right:2px}
  .qe-diagnosis-page .qe-question-list--enhanced .phase1-options{
    padding:3px 0 14px 32px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 10px;
  }
  .qe-diagnosis-page .qe-question-list--enhanced .phase1-options button{
    box-sizing:border-box;
    width:100%!important;
    min-width:0;
    min-height:44px;
    padding:9px 2px 7px;
    font-size:10.5px!important;
    white-space:normal;
  }
}

@media(max-width:600px){
  .qe-paid-result-page .mm-paid-intro h1{
    max-width:100%;
    word-break:normal;
    line-break:auto;
    overflow-wrap:anywhere;
  }
  .qe-paid-result-page .phase1-tradeoff{
    min-width:0;
    max-width:100%;
    overflow:hidden;
  }
  .qe-paid-result-page .phase1-tradeoff-table{
    box-sizing:border-box;
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:hidden;
    overflow-y:hidden;
  }
  .qe-paid-result-page .phase1-tradeoff-table>:where(.tradeoff-head,.tradeoff-row){
    width:100%;
    min-width:0;
    grid-template-columns:86px repeat(3,minmax(0,1fr));
  }
  .qe-paid-result-page .phase1-tradeoff-table :where(.tradeoff-head,.tradeoff-row)>*{
    min-width:0;
    padding:10px 4px;
    font-size:9px!important;
    line-height:1.55!important;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .qe-paid-result-page .phase1-tradeoff-table :where(.tradeoff-head,.tradeoff-row)>*:first-child{
    position:static;
    box-shadow:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .qe-product-page :where(*,::before,::after){scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

@media print{
  .qe-product-page :where(.qe-mobile-nav,.mm-flow-product-nav){display:none!important}
  .qe-paid-result-page .mm-paid{width:100%;padding:0}
}
