/* Skin analysis, an AI face scan first (haut.ai), with María's questions as the no-photo path. Look A for now (Tag, 2026-11-07): light, with a face beside the question. Look B stays as a backup at ?v=b: all ink, large type. Spacing tokens: style.css. */
.ana{--m:var(--muted);--l:var(--line-strong);padding-top:var(--hd)}
.ana-b .ana:not(.at-result){--m:#d6d4cd;--l:#6d6b66;background:var(--ink);color:var(--on-dark)}
.ana-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:calc(100svh - var(--hd) - 44px)}
.ana-pic{position:relative;overflow:hidden;background:var(--panel)}
.ana-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 30%}
/* dashed lines over the skin: the sign that a scan is reading it (haut.ai's opening does the same) */
.ana-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#fff;stroke-width:1.5;stroke-dasharray:5 6;opacity:.85;pointer-events:none}
.ana-lines path{vector-effect:non-scaling-stroke}
.ana-body{display:flex;flex-direction:column;justify-content:center;gap:var(--head);min-width:0;padding:var(--head) var(--pad)}
.ana h1{font-size:clamp(34px,4vw,64px);line-height:1.05;outline:0}
.ana-side{display:grid;gap:var(--stack);justify-items:start}
.ana-side p{margin:0;max-width:46ch;color:var(--m)}
.ana .fine{margin:0;font-size:18px;color:var(--m)}
.ana-btns{display:flex;flex-wrap:wrap;gap:12px}
.ana .btn[disabled]{opacity:.45;cursor:not-allowed}
.ana-check{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;max-width:46ch;cursor:pointer}
/* the real checkbox is 44px and invisible, so the tap target is full size while the drawn box stays 24px */
.ana-check input{position:absolute;left:-10px;top:-8px;width:44px;height:44px;margin:0;opacity:0;cursor:pointer}
.ana-box{display:grid;place-items:center;width:24px;height:24px;margin-top:2px;border:1.5px solid currentColor}
.ana-check input:checked+.ana-box{background:var(--calendula);border-color:var(--calendula)}
.ana-check input:checked+.ana-box::after{content:"";width:12px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;rotate:-45deg;translate:0 -1px}
.ana-check input:focus-visible+.ana-box{outline:2px solid var(--focus);outline-offset:2px}
.ana-check a{display:inline-flex;align-items:center;min-height:44px;color:inherit}
.ana-top{display:grid;gap:var(--stack)}
.ana-prog{height:3px;background:var(--l)}
.ana-prog span{display:block;width:var(--p);height:100%;background:var(--calendula);transition:width .35s cubic-bezier(.2,.7,.2,1)}
.ana-count{display:flex;justify-content:space-between;align-items:center;color:var(--m);font-size:18px}
.ana-back{min-width:44px;min-height:44px;padding:0;background:none;border:0;color:inherit;font:inherit;font-size:18px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ana-opts{display:grid;border-top:1px solid var(--l)}
.ana-opt{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;min-height:60px;padding:14px 0;border-bottom:1px solid var(--l);font:500 clamp(19px,1.5vw,21px)/1.3 var(--f);cursor:pointer;transition:box-shadow .2s}
/* the real radio covers the whole row, so the whole row is the tap target */
.ana-opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ana-opt span:last-child{color:var(--calendula)}
.ana-b .ana-opt span:last-child{color:#e58a3c}
.ana-opt:hover,.ana-opt:has(input:checked){box-shadow:inset 0 -3px 0 var(--calendula)}
.ana-opt:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
.ana-b .ana-stage{grid-template-columns:1fr}
.ana-b .ana-pic{display:none}
.ana-b .btn.ghost:hover{background:var(--on-dark);color:var(--ink);border-color:var(--on-dark)}
.ana-b .ana h1{font-size:clamp(40px,6vw,104px);line-height:1.02}
@media (min-width:1025px){
  .ana-b .ana-body{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--pad);align-items:end;align-content:center;padding-block:var(--section)}
}
/* the camera and the reading: dark in both looks, as a camera screen is */
.ana-cam{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:calc(100svh - var(--hd) - 44px);color:var(--on-dark)}
.cam-view{position:relative;overflow:hidden;min-height:420px;background:#000}
.cam-view>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 50%}
.cam-oval{position:absolute;left:50%;top:50%;width:84%;height:94%;translate:-50% -50%;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 100vmax rgba(10,9,8,.55)}
.cam-checks{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0;padding:0 12px;list-style:none;font-size:18px}
.cam-checks li{display:flex;align-items:center;gap:8px;padding:6px 12px;background:rgba(10,9,8,.7)}
.cam-checks li::before{content:"";width:12px;height:6px;border-left:2px solid #e58a3c;border-bottom:2px solid #e58a3c;rotate:-45deg;translate:0 -2px}
.cam-line{position:absolute;left:0;right:0;top:0;height:3px;background:#e58a3c;box-shadow:0 0 18px 4px rgba(229,138,60,.6);animation:cam-scan 2.8s cubic-bezier(.45,.05,.55,.95) infinite alternate}
@keyframes cam-scan{to{top:calc(100% - 3px)}}
.cam-bar{display:flex;flex-direction:column;align-items:flex-start;gap:var(--stack);min-width:0;padding:var(--head) var(--pad);background:var(--ink)}
.cam-bar>:first-child{margin-top:auto}
.cam-bar>:last-child{margin-bottom:auto}
.cam-bar p{margin:0;max-width:46ch}
.cam-bar .fine{color:#d6d4cd}
.ana .ana-cam h1{font-size:clamp(34px,4vw,64px)}
.ana-cam .btn.ghost:hover{background:var(--on-dark);color:var(--ink);border-color:var(--on-dark)}
.cam-steps{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.cam-steps li{font-size:clamp(19px,1.5vw,21px);animation:cam-in .5s both}
.cam-steps li:nth-child(2){animation-delay:.9s}
.cam-steps li:nth-child(3){animation-delay:1.8s}
@keyframes cam-in{from{opacity:.25}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.cam-line,.cam-steps li{animation:none}}
/* the result */
.ana-read{background:var(--panel)}
/* "Sin kit." is the one result that goes dark in both looks: the refusal is the proof */
.ana-b .ana-read,.ana-read.sin-kit{--m:#d6d4cd;background:var(--ink);color:var(--on-dark)}
.ana-read-in{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--pad);align-items:end;padding:var(--section) var(--pad)}
.ana-read .ana-side p{color:inherit}
.ana-read .fine{color:var(--m)}
.ana-read h1{font-size:clamp(40px,6vw,104px);line-height:1.02}
.ana-big{font:500 clamp(24px,2.2vw,32px)/1.2 var(--d)}
.ana-sec{display:grid;gap:var(--stack);margin-top:var(--section);padding:0 var(--pad)}
.ana-sec h2{font-size:clamp(32px,3.6vw,56px)}
.ana-sec .kf{margin:0}
.ana-sub{margin:calc(-1 * var(--stack) + 8px) 0 0;color:var(--muted)}
.ana-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line-strong)}
.ana-row{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:8px 24px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line-strong)}
.ana-row.no-pic{grid-template-columns:minmax(0,1fr) auto}
.ana-thumb{display:block;overflow:hidden;aspect-ratio:4/5;background:#e2ddd7}
.ana-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ana-row h3{font:500 21px/1.2 var(--d)}
.ana-row p{margin:4px 0 0;max-width:62ch;font-size:18px;color:var(--muted)}
.ana-row .btn{min-height:44px;padding:0 20px;font-size:18px;white-space:nowrap}
.ana-cards{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--grid);margin:0;padding:0}
.ana-card{display:grid;gap:12px;align-content:start;padding:clamp(12px,1.2vw,18px);background:#e2ddd7}
.ana-face{position:relative;display:block;overflow:hidden;aspect-ratio:3/4;background:var(--panel)}
.ana-face img{display:block;width:100%;height:100%;object-fit:cover;object-position:46% 50%}
.ana-face i{position:absolute;translate:-50% -50%;border-radius:50%;background:radial-gradient(closest-side,rgba(188,90,7,.55),rgba(188,90,7,0));pointer-events:none}
.ana-card h3{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font:500 21px/1.2 var(--d)}
.ana-card h3 b{font-weight:500}
.ana-card p{margin:8px 0 0;font-size:18px;color:var(--muted)}
.ana-bar{height:4px;margin-top:8px;background:var(--line-strong)}
.ana-bar span{display:block;height:100%;background:var(--ink)}
.ana-rest{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:4px var(--pad);margin:8px 0 0;padding:0;list-style:none}
.ana-rest li{display:grid;grid-template-columns:minmax(0,9em) minmax(0,1fr) 2em;gap:12px;align-items:center;min-height:44px;font-size:18px;border-bottom:1px solid var(--line)}
.ana-rest .ana-bar{margin:0}
.ana-rest b{font-weight:500;text-align:right}
.ana-notes{display:grid;gap:8px;margin-top:8px}
.ana-notes p,.ana-solar{margin:0;max-width:62ch}
.ana-mail{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--stack) var(--pad);align-items:end;margin:var(--section) var(--pad) 0;padding:clamp(24px,4vw,64px);background:var(--panel)}
.ana-mail h2{font-size:clamp(26px,2.6vw,40px)}
.ana-mail form{display:grid;gap:8px;max-width:620px}
.ana-mail label{font-size:18px;font-weight:500}
.ana-mail-row{display:flex;flex-wrap:wrap;gap:8px}
.ana-mail input{flex:1 1 240px;min-height:48px;padding:0 14px;border:1px solid var(--line-strong);background:var(--bg);color:var(--ink);font:inherit}
.ana-mail input[aria-invalid=true]{border-color:#b3261e}
.ana-mail .fine a{color:inherit}
.ana-mail .fine.err{color:#b3261e}
.ana-done{margin:0;font:500 21px/1.3 var(--d)}
.ana-restart{margin:var(--head) var(--pad) var(--section);font-size:18px}
@media (max-width:760px){
  .ana-read-in,.ana-mail{grid-template-columns:1fr;align-items:start}
  .ana-cam{grid-template-columns:1fr;min-height:0}
  .cam-view{min-height:0;aspect-ratio:1}
  .cam-oval{width:88%;height:92%}
  .ana-card{grid-template-columns:88px minmax(0,1fr);background:none;padding:12px 0;border-bottom:1px solid var(--line-strong)}
  .ana-rest li{grid-template-columns:minmax(0,8em) minmax(0,1fr) 2em}
  .ana-stage{grid-template-columns:1fr;min-height:0;align-content:start}
  .at-q .ana-pic,.at-consent .ana-pic{display:none}
  .at-entry .ana-pic{aspect-ratio:4/3}
  .at-q .ana-stage,.at-consent .ana-stage{min-height:calc(100svh - var(--hd) - 60px)}
  .at-q .ana-body{justify-content:flex-start}
  .ana-row{grid-template-columns:88px minmax(0,1fr)}
  .ana-row .btn{grid-column:1/-1;width:100%}
  .ana-row.no-pic{grid-template-columns:1fr}
  .ana-mail{margin-inline:var(--pad);padding:24px 20px}
}

/* First screen, two versions (2026-11-10; analisis.js "First screen"). Tag: the page "doenst really express what its about that much a part from the text".
   The scan itself is shown: the sample photo with its marked areas and scores, the same as on the result cards. Earlier first screen: ?intro=0 or analisis-v1.html. */
.scan-demo{position:relative;display:grid;place-items:center;padding:clamp(16px,3vw,48px);background:var(--panel);min-width:0}
.scan-face{width:min(100%,calc((100svh - var(--hd) - 140px) * .75));box-shadow:0 30px 60px -36px rgb(17 17 16 / .5)}
.scan-face .cam-line{z-index:2}
.scan-glows{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.scan-face i{opacity:1}
.scan-tag{position:absolute;z-index:3;display:inline-flex;align-items:baseline;gap:8px;padding:6px 12px;background:rgb(244 243 239 / .94);color:var(--ink);font:500 17px var(--f);white-space:nowrap}
.scan-tag em{font:500 22px var(--d);font-style:normal;color:var(--calendula)}
.scan-sample{position:absolute;z-index:3;left:10px;bottom:10px;padding:3px 10px;background:rgb(17 17 16 / .72);color:var(--on-dark);font-size:17px}
/* A: areas and scores come up one after another while the line sweeps, then hold */
.is-live .scan-face i,.is-live .scan-tag{opacity:0;animation:scan-in .6s ease-out forwards;animation-delay:calc(1s + var(--n) * .9s)}
@keyframes scan-in{from{opacity:0;scale:.92}to{opacity:1;scale:1}}
@media (prefers-reduced-motion:reduce){.is-live .scan-face i,.is-live .scan-tag{opacity:1;animation:none}}

/* How it works, three steps with a small picture each */
.ana-how{padding:var(--section) var(--pad) 0}
.ana-how ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid)}
.ana-how li{display:grid;align-content:start;gap:8px}
.ana-how b{margin-top:10px;font:500 clamp(24px,1.9vw,30px)/1.15 var(--d)}
.ana-how p{margin:0;max-width:36ch;color:var(--m)}
.how-pic{position:relative;display:grid;aspect-ratio:4/3;overflow:hidden;background:var(--panel)}
.how-cam img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 40%}
.how-cam i{position:absolute;left:50%;top:46%;width:42%;height:70%;translate:-50% -50%;border:2px dashed rgb(244 243 239 / .9);border-radius:50%}
.how-bars{align-content:center;gap:14px;padding:0 8%}
.how-bars span{display:grid;grid-template-columns:8.5em minmax(0,1fr) 2em;align-items:center;column-gap:12px}
.how-bars b{margin:0;font:500 20px var(--d);text-align:right;font-variant-numeric:tabular-nums}
.how-bars small{font-size:17px;color:var(--m)}
.how-bars i{display:block;height:8px;background:linear-gradient(90deg,var(--calendula) var(--v),var(--line) var(--v))}
.how-prods{grid-template-columns:1fr 1fr;gap:2px;background:var(--line)}
.how-prods img{width:100%;height:100%;object-fit:cover;background:var(--panel)}

/* B: the line first, then the scan beside a sample result */
.ana-lead{display:grid;justify-items:center;gap:var(--head);padding:var(--group) var(--pad) var(--head);text-align:center}
.ana-lead h1{max-width:18ch;text-wrap:balance}
.ana-lead .ana-side{justify-items:center}
.ana-lead .ana-side p{text-align:center}
.ana-lead .ana-btns{justify-content:center}
.ana-preview{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,4fr);margin:0 var(--pad);background:var(--panel)}
.ana-preview .scan-face{width:min(100%,460px)}
.scan-result{position:relative;display:grid;align-content:center;gap:var(--stack);padding:clamp(24px,4vw,64px) clamp(20px,3vw,48px)}
.scan-result .scan-sample{position:static;justify-self:start}
.sr-read{margin:0;font:500 clamp(26px,2.4vw,36px)/1.15 var(--d);text-wrap:balance}
.sr-bars{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sr-bars li{display:grid;grid-template-columns:9em minmax(0,1fr) 2.5em;align-items:center;gap:12px;font-size:17px}
.sr-bars i{display:block;height:8px;background:linear-gradient(90deg,var(--calendula) var(--v),var(--line) var(--v))}
.sr-bars b{font:500 20px var(--d);text-align:right;font-variant-numeric:tabular-nums}
.sr-h{margin:8px 0 0;font-weight:600}
.sr-prods{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sr-prods li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;padding:12px 16px 12px 12px;background:var(--bg);color:var(--ink)}
.sr-prods img{width:64px;height:64px;object-fit:cover;background:var(--panel)}
.sr-prods span{display:grid;font-weight:600}
.sr-prods small{font-weight:400;color:var(--m);font-size:17px}

@media (max-width:1100px){.sr-prods{grid-template-columns:1fr}}
@media (max-width:760px){
  .entry-a .ana-stage{grid-template-columns:1fr;min-height:0}
  .scan-face{width:min(100%,330px)}
  .scan-tag{font-size:17px;padding:4px 8px}
  .scan-tag em{font-size:18px}
  .scan-face .scan-tag:nth-of-type(3){left:auto!important;right:4%}
  .ana-how ol{grid-template-columns:1fr;gap:var(--group)}
  .how-pic{aspect-ratio:16/9}
  .ana-preview{grid-template-columns:1fr;margin:0}
  .sr-prods{grid-template-columns:1fr}
}

/* Round 2 (Tag, 2026-11-10). A: "feels weird with the image sitting on this gray background", so the photo now fills the left side from the header down, no panel.
   The face keeps its 3:4 shape so the marked areas stay on the cheeks and forehead; the column is as wide as the photo needs. */
@media (min-width:761px){
  .entry-a .ana-stage{grid-template-columns:auto minmax(0,1fr)}
  .entry-a .scan-demo{padding:0;background:none;display:block}
  .entry-a .scan-face{width:auto;height:calc(100svh - var(--hd) - 44px);min-height:560px;max-height:1000px;box-shadow:none}
  .entry-a .ana-body{padding-inline:clamp(32px,5vw,96px) var(--pad)}
}
@media (max-width:760px){
  .entry-a .scan-demo{padding:0;background:none}
  .entry-a .scan-face{width:100%;box-shadow:none}
}
/* B: "the header is my only issue": the centred block above the panel read as a generic landing page. Now the analysis's own result layout (.ana-read-in):
   the heading large on the left, the sentence and buttons on the right, both resting on one baseline. */
.entry-b .ana-lead{grid-template-columns:minmax(0,7fr) minmax(0,5fr);justify-items:stretch;align-items:end;gap:var(--stack) var(--pad);padding:var(--section) var(--pad) var(--group);text-align:left}
.entry-b .ana-lead h1{max-width:13ch;font-size:clamp(44px,6vw,104px);line-height:1.02}
.entry-b .ana-lead .ana-side{justify-items:start}
.entry-b .ana-lead .ana-side p{text-align:left}
.entry-b .ana-lead .ana-btns{justify-content:flex-start}
@media (max-width:760px){
  .entry-b .ana-lead{grid-template-columns:1fr;padding-top:var(--group)}
}

/* Round 3 (2026-11-10). Both: the photo fills the left side edge to edge (round 2's rule, now shared). A: the steps as rows under the buttons fill the text column.
   B: the scan beside its title and a sample result; the heading at the result screen's size, not a poster. Round 2: analisis-v2.css. */
@media (min-width:761px){
  .entry-b .ana-stage{grid-template-columns:auto minmax(0,1fr)}
  .entry-b .scan-demo{padding:0;background:none;display:block}
  .entry-b .scan-face{width:auto;height:calc(100svh - var(--hd) - 44px);min-height:600px;max-height:1000px;box-shadow:none}
  .entry-a .ana-body,.entry-b .ana-body{padding-block:var(--group);padding-inline:clamp(32px,5vw,96px) var(--pad)}
}
@media (max-width:760px){
  .entry-b .ana-stage{grid-template-columns:1fr;min-height:0}
  .entry-b .scan-demo{padding:0;background:none}
  .entry-b .scan-face{width:100%;box-shadow:none}
}
.entry-a h1,.entry-b h1{font-size:clamp(34px,3.4vw,56px)}
.how-rows{list-style:none;margin:var(--stack) 0 0;padding:0;display:grid;border-top:1px solid var(--l);max-width:620px}
.how-rows li{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--l)}
.how-rows b{font:500 clamp(22px,1.7vw,26px)/1.15 var(--d)}
.how-rows p{margin:4px 0 0;color:var(--m)}
.hr-pic{position:relative;display:grid;aspect-ratio:4/3;overflow:hidden;background:var(--panel)}
.hr-pic.how-bars{align-content:center;gap:10px;padding:0 14px}
.hr-pic.how-bars span{display:block}
.hr-pic.how-cam i{border-width:1.5px}
.entry-b .scan-result{padding:var(--stack) 0 0;margin-top:var(--stack);border-top:1px solid var(--l)}
.entry-b .sr-read{font-size:clamp(22px,1.8vw,28px)}
@media (max-width:760px){
  .how-rows li{grid-template-columns:96px minmax(0,1fr);gap:14px}
}
/* the dark look (?v=b) keeps the round-3 first screen: photo left, one text column right */
@media (min-width:761px){
  .ana-b .entry-a .ana-stage,.ana-b .entry-b .ana-stage{grid-template-columns:auto minmax(0,1fr)}
  .ana-b .entry-a .ana-body,.ana-b .entry-b .ana-body{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:var(--head);padding-block:var(--group)}
}
.ana-b .entry-a h1,.ana-b .entry-b h1{font-size:clamp(34px,3.4vw,56px);line-height:1.05}
.ana-b .scan-result .scan-sample{background:var(--on-dark);color:var(--ink)}
/* the last block ends one section above the footer, as on every other page (Tag, 2026-11-11: "here too in the bottom the spacing is wrong") */
.ana-how{padding-bottom:var(--section)}
.entry-a .ana-stage{margin-bottom:calc(var(--section) - var(--group))}

/* The sample photo, three options (Tag, 2026-11-17: the close-up "makes no sense with how someone would scan their face"; analisis.js "The sample photo").
   ?foto=1, 2: the photos come already cut to 3:4 with the face in the middle, so they sit centred; in the camera the face is brought up to fill the guide, as it would be at arm's length. */
html[data-foto] :is(.ana-face img,.how-cam img){object-position:50% 50%}
html[data-foto] .cam-view>img{object-position:50% 50%;scale:var(--cz,1.35);transform-origin:58% 35%}
html[data-foto="2"] .cam-view>img{--cz:1.08;transform-origin:50% 48%}
html[data-foto] .how-cam i{top:50%}
/* The default since 2026-11-17 (Tag: "the phone resonates a lot more"): the sample scan on a phone, on the page's own panel colour. Both first screens (A and ?intro=b). */
.ana .scan-demo.en-tel{display:grid;place-items:center;padding:clamp(24px,4vw,56px);background:var(--panel)}
.ana .en-tel .scan-face{aspect-ratio:9/16;width:auto;height:min(660px,calc(100svh - var(--hd) - 44px - 2*clamp(24px,4vw,56px)));min-height:0;border:10px solid var(--ink);border-radius:44px;box-shadow:0 30px 60px -30px rgb(17 17 16 / .5)}
.en-tel .scan-sample{left:50%;translate:-50%;bottom:14px}
.en-tel .scan-tag{font-size:17px;padding:4px 8px}
.en-tel .scan-tag:nth-of-type(3){left:auto!important;right:5%} /* the longest label hangs from the right edge so a short phone never cuts it */
@media (min-width:761px){.at-entry .scan-demo.en-tel{width:clamp(380px,41vw,640px)}}
@media (max-width:760px){.at-entry .scan-demo.en-tel{padding-block:20px}.at-entry .en-tel .scan-face{height:400px}.en-tel .scan-tag:nth-of-type(2){top:66%!important}.en-tel .scan-tag:nth-of-type(3){top:78%!important}} /* the two lower labels move under the mouth; short enough that the headline shows on the first screen of a phone */

/* First screen C, the default since 2026-11-17 (analisis.js "C"): one calm band with the phone and the way in, the three steps under it. Reference: Caudalie's scan page
   (refs/analisis/caudalie-d-1.jpg), for the order and the QR code, not the look. */
.ana-band{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:0}
.ana-stage.ana-band{background:var(--panel)}
.ana .ana-band .scan-demo.en-tel{width:auto;padding-block:clamp(28px,4vw,56px)}
.ana .ana-band .en-tel .scan-face{height:clamp(400px,58svh,540px)}
.ana-band .ana-body{padding-block:var(--group);padding-inline:0 var(--pad)}
.entry-c h1{font-size:clamp(34px,3.4vw,56px)}
.ana-qr{display:none;align-items:center;gap:20px}
.ana-qr img{width:132px;height:132px;padding:10px;background:#fff;image-rendering:pixelated}
.ana-qr p{max-width:26ch;color:var(--ink)}
.ana-qr b{display:block;margin-bottom:6px;font:500 21px/1.2 var(--d)}
.c-compu{display:none}
.ana-how h2{margin:0 0 var(--head);font-size:clamp(26px,2.6vw,40px)}
/* a computer with a mouse: the QR code leads, and carrying on here becomes a text link after "Prefiero sin foto" */
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .entry-c .ana-qr{display:flex}
  .entry-c .c-tel{display:none}
  .entry-c .c-compu{display:inline}
  .entry-c #escanear{order:2;min-height:44px;padding:0 4px;border:0;background:none;color:var(--ink);font-weight:500;text-decoration:underline;text-underline-offset:4px}
}
@media (max-width:760px){
  .ana-band{grid-template-columns:1fr}
  .entry-c .ana-stage{background:none}
  .ana .ana-band .en-tel .scan-face{height:380px}
  .ana-band .ana-body{padding:var(--head) var(--pad)}
  .entry-c .ana-btns{order:-1} /* the button comes straight after the title, so it is on the first screen of a phone */
}
.entry-c .ana-how{padding-top:var(--group)} /* so "Cómo funciona" shows under the band on a laptop */

/* Screens after the first, 2026-11-17 (analisis.js "Screens after the first"): the same band as the first screen, the same phone, light all the way. */
.ana-band.alta{min-height:calc(100svh - var(--hd) - 44px)}
.ana-band h1{font-size:clamp(34px,3.4vw,56px)}
/* camera and reading: the guide and the scan line are drawn on the phone's screen; the three checks sit with the text */
.en-tel .cam-oval{left:53.5%;top:47%;width:68%;height:60%}
.ana-body .cam-checks{position:static;justify-content:flex-start;padding:0;color:var(--on-dark)}
.ana-band .cam-steps li{color:inherit}
/* questions: one column in the middle of the band, nothing beside it */
.ana-solo{grid-template-columns:1fr;background:var(--panel)}
.ana-solo .ana-body{width:min(100%,760px);margin-inline:auto}
/* result: the phone with every flagged area, the reading beside it; "Sin kit." keeps its dark band */
.ana-read-in.ana-band{gap:0;padding:0;align-items:stretch}
.ana-read .ana-band h1{font-size:clamp(36px,4vw,64px)}
.ana-read.sin-kit .scan-demo.en-tel{background:none}
.ana-read .scan-face i{opacity:1}
@media (max-width:760px){
  .ana.at-consent .ana-band .scan-demo{display:none} /* permission on a phone is text and one button: the picture would push the button off the screen */
  .ana-band.alta{align-content:start}
  .ana .ana-band .scan-demo.cam{padding:0}
  .ana .ana-band .cam .scan-face{width:100%;height:auto;aspect-ratio:1;border:0;border-radius:0;box-shadow:none}
  .en-tel.cam .cam-oval{top:45%;width:60%;height:90%}
  .ana-card{grid-template-columns:1fr}
}

/* Tablets (screen-size sweep, 2026-12-02). Step 2's scores were cut at 768: the label and number share a row and the bar goes under them.
   The sample phone was wider than its panel: its height now also follows the panel's width. */
@media (min-width:761px) and (max-width:1100px){
  .ana-how .how-bars span{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .ana-how .how-bars small{font-size:15px}
  .ana-how .how-bars b{grid-area:1/2;font-size:17px}
  .ana-how .how-bars i{grid-area:2/1/3/-1}
}
@media (min-width:761px){.at-entry .en-tel .scan-face{height:min(660px,calc(100svh - var(--hd) - 44px - 2*clamp(24px,4vw,56px)),calc((clamp(380px,41vw,640px) - 2*clamp(24px,4vw,56px)) * 16 / 9))}}

/* More under "Cómo funciona" (analisis.js "More under"; Tag, 2026-12-02): two rows of two, what you get beside the sample result, then the questions. */
.ana-more{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--section) var(--pad);align-items:start;padding:0 var(--pad) var(--section)}
.ana-more h2{margin:0 0 var(--head);font-size:clamp(26px,2.6vw,40px)}
.ana-get ul{list-style:none;margin:0;padding:0;display:grid;gap:var(--stack);max-width:44ch;color:var(--m)}
.ana-get li{padding-left:20px;border-left:3px solid var(--calendula)}
.ana-get b{display:block;margin-bottom:4px;color:var(--ink);font:500 clamp(22px,1.7vw,26px)/1.2 var(--d)}
.ana-more .scan-result{background:var(--panel)}
.ana-more .scan-result .scan-sample{background:var(--ink);color:var(--on-dark)}
.ana-ask .btn{margin-top:4px}
.ana-more .kf{grid-column:1/-1;margin:0}
.ana-faq summary{min-height:64px;font:500 clamp(20px,1.6vw,24px)/1.2 var(--d)}
.ana-faq details p{color:var(--m)}
.ana-faq a{color:var(--ink);text-underline-offset:4px}
@media (max-width:760px){.ana-more{grid-template-columns:1fr;gap:var(--group)}.ana-ask{display:contents}.ana-ask .btn{order:9}.ana-more .kf{order:10}}
