/* Le test en direct, sous le haut de page (version 5, 12 novembre). Même grille à deux colonnes que le héros.
   À droite, seulement la zone de dépôt, le chargement et le rapport ; le compte et les formules s'ouvrent
   dans une fenêtre par-dessus la page. Seuls transform et opacity sont animés. */
.try { background: var(--white); padding-block: 96px 16px; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head sheet" "side sheet"; gap: 0 64px; align-items: start; }
.try-head { grid-area: head; padding-top: 8px; }
.try-side { grid-area: side; display: grid; }
.try-col { grid-area: sheet; }
.try h2 { margin-bottom: 10px; }
.try .sub { margin-bottom: 28px; }

/* Le compteur d'essais : un grand chiffre, une case par essai (pleine = à utiliser, pointillée = utilisée) */
.meter { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.meter-n { flex: none; min-width: .62em; font-size: 3.6rem; font-weight: 300; line-height: .9; color: var(--oxblood); font-variant-numeric: tabular-nums; text-align: center; }
.meter-body { display: grid; gap: 7px; }
.meter-label { font-size: 1.05rem; font-weight: 600; line-height: 1.2; color: var(--wine); }
.meter-cells { display: flex; gap: 6px; }
.meter-cells i { width: 14px; height: 14px; border-radius: 2px; background: var(--oxblood); }
.meter-cells i.used { background: transparent; border: 2px dotted var(--oxblood-mid); }
.meter-cells i.ghost { background: var(--rose); }
.meter-cells i:nth-child(4) { margin-left: 8px; }
.meter-cells i.new { animation: cell-in .45s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.meter-cells i.new:nth-child(5), .m-cells i:nth-child(2) { animation-delay: .12s; }
.meter-cells i.new:nth-child(6), .m-cells i:nth-child(3) { animation-delay: .24s; }
.meter-cells i.spent { animation: cell-spent .5s ease-out; }
@keyframes cell-in { from { transform: scale(.2); opacity: 0; } }
@keyframes cell-spent { 0% { transform: scale(1.4); background: var(--oxblood); } }
.meter-sub { font-size: .88rem; color: var(--ink-2); }
.meter-sub .try-link { font-size: inherit; }

/* Les états se superposent dans la même case : la hauteur ne change jamais, donc aucune saccade */
.st { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.st.on { opacity: 1; visibility: visible; transition: opacity .28s ease .08s, visibility 0s; }
.try-stack.snap .st { transition: none; }

/* Colonne de gauche */
.side-title { margin: 0 0 8px; font-weight: 400; font-size: 1.3125rem; line-height: 1.35; color: var(--wine); }
.side-text { margin: 0 0 22px; color: var(--ink-2); max-width: 31rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; max-width: 31rem; }
.consent input { flex: none; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--oxblood); cursor: pointer; }
.consent a, .try-note a { color: var(--wine); text-decoration-color: var(--oxblood-mid); text-underline-offset: 3px; }
.consent.need span { color: var(--oxblood); font-weight: 600; }
.consent.need input { animation: nudge .4s ease; }
@keyframes nudge { 30% { transform: scale(1.3); } }
.consent-home .consent[hidden] { display: none; }
.try-note { margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); max-width: 31rem; }
.try-game { margin: 26px 0 0; }
.try-link { padding: 0; border: 0; background: none; font: inherit; color: var(--wine); cursor: pointer; text-decoration: underline; text-decoration-color: var(--oxblood-mid); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.try-link:hover { text-decoration-color: var(--oxblood); }
/* « Skip to the report » pendant le tuto : un vrai bouton, avec le symbole « avance rapide » */
.skip-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px; border: 1.5px solid var(--oxblood); border-radius: 3px; background: var(--white); font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; color: var(--oxblood); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.skip-btn svg { width: 20px; height: 12px; fill: currentColor; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.skip-btn:hover { background: var(--oxblood); color: var(--white); }
.skip-btn:hover svg { transform: translateX(3px); }
.skip-btn:active svg { transform: translateX(6px); }
.try .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.try button:focus-visible, .try input:focus-visible, .try select:focus-visible { outline: 3px solid var(--oxblood-mid); outline-offset: 3px; }
.try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.try-ask { margin: 0 0 24px; padding-left: 18px; max-width: 31rem; color: var(--ink); }
.try-ask li + li { margin-top: 8px; }
.try-saved { margin: 14px 0 0; font-size: .95rem; font-weight: 600; color: var(--green); }
.try-side [hidden] { display: none; }

/* La feuille : deux autres dépassent dessous, comme la pile du haut */
.try-pile { position: relative; isolation: isolate; }
.try-pile::before, .try-pile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); border: 1px solid var(--rose-line); border-radius: var(--s-radius); }
.try-pile::before { transform: translate(4px, 4px); }
.try-pile::after { transform: translate(8px, 8px); z-index: -2; box-shadow: var(--s-shadow); }
.try-sheet:focus-within:has(input[type="file"]:focus-visible) { outline: 3px solid var(--oxblood-mid); outline-offset: 3px; }
.try-sheet.nope { animation: nope .32s ease; }
@keyframes nope { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.try-stack { display: grid; }

/* Les trois étapes, en petit, juste au-dessus de la zone de dépôt */
.how-mini { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 520px; font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.how-mini li { display: flex; gap: 10px; align-items: baseline; }
.how-mini b { flex: none; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--oxblood); }
.how-mini strong { display: block; font-weight: 600; font-size: .86rem; color: var(--wine); }
.how-mini small { display: block; font-size: inherit; }

/* La zone de dépôt : un grand cadre vide, bordé de points carrés comme les fibs */
.blank { display: flex; position: relative; cursor: pointer; }
.blank input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.st.ready, .st.loading { display: flex; }
.dz { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 36px 28px; border-radius: 10px; text-align: center; transition: background-color .25s ease; }
.dz-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dz-frame rect { x: 1.5px; y: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); rx: 10px; ry: 10px; fill: none; stroke: var(--oxblood-mid); stroke-width: 3; stroke-linecap: square; stroke-dasharray: .01 9; transition: stroke .25s ease; }
.blank:hover .dz, .try-sheet.over .dz { background: var(--blush); }
.blank:hover .dz-frame rect { stroke: #b9808a; animation: march 1.1s linear infinite; }
.file-near .blank .dz-frame rect { stroke: #b9808a; animation: march .7s linear infinite; }
.try-sheet.over .dz-frame rect { stroke: var(--oxblood); }
@keyframes march { to { stroke-dashoffset: -18; } }

.dz-icon { position: relative; width: 48px; height: 60px; margin-bottom: 18px; }
.dz-icon svg { width: 100%; height: 100%; overflow: visible; transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.dz-page { fill: var(--white); stroke: var(--oxblood); stroke-width: 2; stroke-linejoin: round; }
.dz-fold { fill: none; stroke: var(--oxblood); stroke-width: 2; stroke-linejoin: round; }
.dz-lines { fill: none; stroke: var(--oxblood-mid); stroke-width: 2.6; stroke-linecap: square; stroke-dasharray: .01 4.2; }
.try-sheet.over .dz-icon svg { transform: translateY(-8px) rotate(-4deg); }
/* Les éclats : sept points carrés cachés derrière la page, qui sautent dehors au survol */
.dz-icon i { position: absolute; left: 50%; top: 46%; width: 3px; height: 3px; margin: -1.5px; background: var(--oxblood); opacity: 0; }
.dz-icon i:nth-of-type(1) { --a: -150deg; --r: 34px; }
.dz-icon i:nth-of-type(2) { --a: -112deg; --r: 40px; }
.dz-icon i:nth-of-type(3) { --a: -70deg; --r: 38px; }
.dz-icon i:nth-of-type(4) { --a: -28deg; --r: 36px; }
.dz-icon i:nth-of-type(5) { --a: 12deg; --r: 33px; }
.dz-icon i:nth-of-type(6) { --a: 168deg; --r: 35px; }
.dz-icon i:nth-of-type(7) { --a: 205deg; --r: 31px; }
.dz-title { font-size: 1.4rem; font-weight: 600; line-height: 1.35; color: var(--wine); }
.dz-title.err { color: var(--oxblood); }
.dz-or { font-size: 1rem; color: var(--ink-2); }
.dz-hint { margin-top: 14px; font-size: .82rem; color: var(--ink-2); }
.blank-pick { color: var(--oxblood); text-decoration: underline; text-decoration-color: var(--oxblood-mid); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.blank:hover .blank-pick { text-decoration-color: var(--oxblood); }

/* À chaque survol : la zone frétille, la page saute, les éclats partent */
.dz.wiggle { animation: dz-wiggle .6s cubic-bezier(.3, .7, .4, 1); }
@keyframes dz-wiggle {
  18% { transform: rotate(-.8deg) scale(1.012); }
  40% { transform: rotate(.6deg) scale(1.012); }
  62% { transform: rotate(-.3deg) scale(1.006); }
  82% { transform: rotate(.12deg); }
}
.dz.wiggle .dz-icon svg { animation: dz-hop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes dz-hop {
  35% { transform: translateY(-10px) rotate(-7deg); }
  64% { transform: translateY(1px) rotate(3deg) scaleY(.95); }
}
.dz.wiggle .dz-icon i { animation: dz-spark .62s cubic-bezier(.2, .7, .3, 1) .08s; }
@keyframes dz-spark {
  0% { opacity: 0; transform: rotate(var(--a)) translateX(6px); }
  20% { opacity: .9; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(.6); }
}

/* Le fichier attend la case à cocher : la déclaration vient sur la feuille, à côté du bouton */
.dz-still { justify-content: center; gap: 0; }
.ready .slip { max-width: 100%; margin-bottom: 26px; }
.ready .slip-doc { animation: slip-in .45s cubic-bezier(.3, 1.4, .5, 1); }
.ready-box { display: grid; gap: 22px; max-width: 26rem; text-align: left; }
.ready-box .consent { font-size: .92rem; }

/* Le fichier déposé : son type, son nom, son poids */
.slip { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; }
.slip-doc { flex: none; position: relative; width: 34px; height: 42px; }
.slip-doc svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--blush); stroke: var(--oxblood); stroke-width: 1.6; stroke-linejoin: round; }
.slip-doc b { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: .56rem; font-weight: 700; letter-spacing: .02em; color: var(--oxblood); }
.slip-name { display: block; font-size: 1.2rem; font-weight: 600; line-height: 1.35; color: var(--wine); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-meta { display: block; font-size: .85rem; color: var(--ink-2); }
.slip-text { min-width: 0; }
@keyframes slip-in { from { transform: translateY(-14px) rotate(-6deg); opacity: 0; } }

/* Le chargement : des fibs aspirés par vagues vers un anneau qui tourne et se remplit (depot.js) */
.loading .dz { cursor: progress; }
.ld-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-text { position: absolute; left: 24px; right: 24px; top: 64%; display: grid; gap: 6px; justify-items: center; }
.ld-line { font-size: 1.3rem; font-weight: 600; line-height: 1.4; color: var(--wine); transition: opacity .28s ease, transform .28s ease; }
.ld-line.out { opacity: 0; transform: translateY(-6px); }
.ld-line.pre { opacity: 0; transform: translateY(6px); transition: none; }
.ld-file { max-width: 100%; font-size: .82rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* La fiche du rapport */
.case .cv-tag { top: 14px; }
.case .cv-head { padding-top: 28px; }
.case .row { position: relative; }

/* Le tuto « Watch a sample check » : une scène posée sur toute la section, où volent le CV, la loupe,
   la poussière et les traits de stylo. Elle ne capte jamais la souris. */
.try { position: relative; }
.tuto-stage { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.tuto-cap { min-height: 3.2em; margin: 0 0 18px; max-width: 26rem; font-size: 1.15rem; line-height: 1.5; color: var(--wine); }
/* Les lignes pas encore lues : floues et pâles, elles se lisent au passage de la loupe */
.case.unread .row .row-text { transition: filter .35s ease, opacity .35s ease; }
.case.unread .row:not(.read) .row-text { filter: blur(3px); opacity: .35; }
.case.unread .row:not(.read) .src, .case.unread .row:not(.read) .mark { opacity: 0; }

/* Le CV en papier qui vole : contour au crayon qui frémit, légèrement décalé du vrai bord */
.tuto-card { position: absolute; transform-origin: 50% 50%; will-change: transform, opacity; }
.tuto-float { position: relative; transform-origin: 50% 100%; }
.tuto-card .scene { max-width: none; }
.tuto-paper { box-shadow: 0 22px 44px -22px rgb(61 20 27 / .26); }
.tuto-paper .row { padding-right: 10px; }
.tuto-sketch { position: absolute; left: -8px; top: -8px; overflow: visible; pointer-events: none; }
.tuto-sketch path { fill: none; stroke: var(--wine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }

/* La poussière de fibs : des points carrés, comme le fond du haut de page */
.tuto-dust { position: absolute; width: 3px; height: 3px; margin: -1.5px; background: var(--oxblood); will-change: transform, opacity; }

/* La loupe du site, plus grande ; la petite roue pointillée tourne autour du verre quand elle cherche */
.tuto-loupe { position: absolute; left: 0; top: 0; width: 112px; height: 112px; will-change: transform, opacity; }
.tuto-loupe > svg:first-child { width: 100%; height: 100%; overflow: visible; transform-origin: 39.4% 39.4%; }
.tuto-loupe .glass { fill: rgb(253 248 248 / .55); }
.tuto-loupe .rim { fill: none; stroke: var(--wine); stroke-width: 3; }
.tuto-loupe .handle { stroke: var(--wine); stroke-width: 6; stroke-linecap: round; }
.tuto-loupe .glint { fill: none; stroke: #fff; stroke-opacity: .8; stroke-width: 2.5; stroke-linecap: round; }
.tuto-seek { position: absolute; left: calc(26 / 66 * 100% - 30px); top: calc(26 / 66 * 100% - 30px); width: 60px; height: 60px; opacity: 0; transition: opacity .2s ease; }
.tuto-seek circle { fill: none; stroke: var(--oxblood); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .1 6.2; }
.tuto-loupe.seeking .tuto-seek { opacity: 1; animation: seek .9s linear infinite; }

/* Le stylo : rouge pour le mensonge, vert pour ce qui est confirmé, rose pour le doute */
.tuto-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tuto-ink path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tuto-ink .ink-red { stroke: var(--oxblood); stroke-width: 2.6; }
.tuto-ink .ink-green { stroke: var(--green); stroke-width: 2.2; }
.tuto-ink .ink-rose { stroke: #a8606b; stroke-width: 2.2; }


/* Quand une source contredit le CV, un seul éclat pointillé, comme les formes du haut */
.row .mark.burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dotted var(--oxblood); animation: burst .7s ease-out forwards; }
@keyframes burst { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

/* Compte, sur la feuille : des lignes à remplir, comme un formulaire papier */
.paper-title { margin: 0 0 6px; font-size: 1.4rem; font-weight: 600; color: var(--wine); }
.paper-lead { margin: 0 0 22px; font-size: .95rem; color: var(--ink-2); }
.paper { display: grid; gap: 18px; transition: opacity .3s ease; }
.paper .field { display: grid; gap: 2px; font-size: .85rem; color: var(--ink-2); }
.paper input[type="email"], .paper input[type="text"], .paper select { width: 100%; padding: 6px 0 7px; border: 0; border-bottom: 3px dotted var(--oxblood-mid); border-radius: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.paper input::placeholder { color: var(--ink-2); opacity: .75; }
.try .paper input[type="email"]:focus-visible, .try .paper input[type="text"]:focus-visible, .try .paper select:focus-visible { outline: none; border-bottom: 3px solid var(--oxblood); }
.paper .consent { font-size: .88rem; }
.paper .try-actions { margin-top: 4px; }

/* La fenêtre par-dessus la page : le reste s'assombrit, on s'inscrit dans la petite fenêtre */
.modal { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 34px 32px 28px; border: 1px solid var(--rose-line); border-top: 3px solid var(--oxblood); border-radius: 3px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -24px rgb(46 18 24 / .5); overflow: auto; }
.modal::backdrop { background: rgb(46 18 24 / .5); }
.modal[open] { animation: m-in .34s cubic-bezier(.2, .8, .3, 1); }
.modal[open]::backdrop { animation: bd-in .34s ease; }
.modal.closing { animation: m-out .2s ease forwards; }
.modal.closing::backdrop { animation: bd-out .2s ease forwards; }
@keyframes m-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes m-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes bd-in { from { opacity: 0; } }
@keyframes bd-out { to { opacity: 0; } }
.modal-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.modal-x:hover { background: var(--rose); color: var(--wine); }
.modal-x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal .m-title { margin: 0 0 6px; font-size: 1.45rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--wine); }
.m-lead { margin: 0 0 24px; font-size: .95rem; color: var(--ink-2); }
.m-alt { margin: 20px 0 0; font-size: .95rem; }
.m-alt[hidden], .m-pane[hidden] { display: none; }
.m-pane { animation: pane-in .26s ease; }
@keyframes pane-in { from { opacity: 0; transform: translateX(10px); } }
.m-cells { display: flex; gap: 6px; margin-bottom: 18px; }
.m-cells i { width: 14px; height: 14px; border-radius: 2px; background: var(--rose); }
.modal.done .m-cells i { background: var(--oxblood); animation: cell-in .45s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.modal.done .paper, .modal.done .m-alt { opacity: .3; pointer-events: none; }
.modal .paper .btn { justify-self: start; margin-top: 4px; }
.modal .ledger { margin-top: 0; }

/* Formules : une liste à points de conduite, pas des cartes */
.ledger { margin: 8px 0 0; padding: 0; list-style: none; }
.ledger a { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.ledger a:hover .led-name { color: var(--oxblood); }
.led-name { display: block; font-weight: 600; color: var(--wine); }
.led-vol { display: block; font-size: .85rem; color: var(--ink-2); }
.led-dots { flex: 1; min-width: 16px; border-bottom: 3px dotted var(--oxblood-mid); transform: translateY(-4px); }
.led-price { font-size: 1.35rem; font-weight: 300; color: var(--oxblood); white-space: nowrap; }
.led-price small { font-size: .8rem; color: var(--ink-2); }
/* La formule qui correspond au volume donné à l'inscription */
.ledger li.fit a { position: relative; }
.ledger li.fit a::before { content: ""; position: absolute; left: -14px; top: 22px; width: 7px; height: 7px; background: var(--oxblood); clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%); }
.ledger li.fit .led-dots { border-bottom-color: var(--oxblood); }
.led-fit { display: block; font-size: .8rem; font-weight: 600; color: var(--oxblood); }

@media (max-width: 880px) {
  .try { padding-block: 56px 8px; }
  .try-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "sheet" "side"; gap: 0; }
  .meter { margin-bottom: 26px; }
  .meter-n { font-size: 3rem; }
  .try-col { margin-bottom: 36px; }
  .try-side .st:not(.on) { display: none; }
  .how-mini { gap: 10px; margin-bottom: 16px; }
  .how-mini li { gap: 6px; }
  .how-mini b { font-size: 1.15rem; }
  .how-mini strong { font-size: .78rem; line-height: 1.3; }
  .how-mini small { display: none; }
  .dz { padding: 28px 18px; }
  .ledger li.fit a::before { left: -12px; }
}
@media (max-width: 480px) {
  .modal { padding: 30px 22px 24px; }
  .slip-name { font-size: 1.05rem; }
}
/* La photo du CV, en haut à gauche à côté du nom : une silhouette dans les tons de la marque */
.cv-head.has-photo { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-content: center; }
.cv-head.has-photo .cv-photo { grid-row: 1 / span 2; width: 44px; height: 52px; align-self: center; }
.cv-photo .ph-bg { fill: #f4e7e9; stroke: var(--rose-line); }
.cv-photo .ph-skin { fill: #fffafa; }
.cv-photo .ph-body { fill: #c48a94; }
.cv-photo .ph-hair { fill: #5a2530; }

/* Le pied de la fiche : les phrases d'analyse pendant que la loupe travaille, puis le bilan, au même endroit */
.case-foot { display: grid; margin-top: auto; }
.case-foot > * { grid-area: 1 / 1; }
.case-foot .summary { margin-top: 0; }
.scan-note { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid var(--s-line); font-size: .86rem; color: var(--wine); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.scan-note.on { opacity: 1; transform: none; }
.scan-text { display: inline-block; }
.scan-dots { display: inline-flex; gap: 4px; }
.scan-dots i { width: 4px; height: 4px; background: var(--oxblood); opacity: .25; }
.scan-note.on .scan-dots i { animation: scan-dot .9s ease-in-out infinite; }
.scan-dots i:nth-child(2) { animation-delay: .15s !important; }
.scan-dots i:nth-child(3) { animation-delay: .3s !important; }
@keyframes scan-dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  .st, .st.on, .paper, .dz, .dz-frame rect, .dz-icon svg, .ld-line { transition: none; }
  .meter-cells i.new, .meter-cells i.spent, .modal[open], .modal[open]::backdrop, .modal.closing, .modal.closing::backdrop, .m-pane, .modal.done .m-cells i, .row .mark.burst::after, .ready .slip-doc, .consent.need input, .try-sheet.nope, .dz.wiggle, .dz.wiggle .dz-icon svg, .dz.wiggle .dz-icon i, .blank:hover .dz-frame rect, .file-near .blank .dz-frame rect, .scan-note.on .scan-dots i { animation: none; }
  .skip-btn, .skip-btn svg { transition: none; }
}
