/* Palette Girlies free test, in the laboratory (docs/web/SECCIONES.md, site/css/lab.css): an instrument card on a cool white light box.
   Mobile first (375 px). Hairlines, square corners, small-caps labels. Swatches and the gray strip are flat and exact: no filters, no shadows on them.
   A screen holds 40 words at most, so what used to be paragraphs is a drawing (the strip, the scales, the chips) and the long lines are in one Help fold. */

.tp-app [hidden] { display: none !important; }
.tp-app { position: relative; max-width: none; margin: 0; padding: 0; }
.tp-h1 { margin: 6px 0 14px; font-size: clamp(30px, 8vw, 44px); line-height: 1.04; }
.js .tp-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.tp-fallback { padding: 4px 0 8px; max-width: 34em; font-size: 18px; }
.js .tp-fallback:not(.is-error) { display: none; }   /* with JavaScript the note never flashes while the test loads; it comes back only if the test fails to load */
.tp-fallback p + p { margin-top: 12px; }

/* ---------- progress: one bar for the whole test (each chapter as wide as its screens), the chapter name, and "Step 6 of 20" with the time left ---------- */
.tp-progress { display: grid; gap: 8px; margin: 0 0 18px; }
.tp-progress[hidden] { display: none; }
.tp-chapters { display: flex; gap: 4px; min-width: 0; }
.tp-chapter { flex: 1 1 0; min-width: 0; }
.tp-chapter[hidden] { display: none; }
.tp-chapter-bar { --fill: 0; position: relative; display: block; height: 6px; overflow: hidden; border: 0; border-radius: 0; background: rgba(36, 48, 72, .14); }
.tp-chapter-bar::after { content: ""; position: absolute; inset: 0; background: var(--lab-ink); transform: scaleX(var(--fill)); transform-origin: left; transition: transform .45s var(--ease); }
.tp-chapter.is-now .tp-chapter-bar::after { background: var(--berry); }
.tp-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin: 0; }
.tp-chapter-name { font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lab-ink); }
.tp-sep { margin: 0 .22em; }
.tp-step-text { min-width: 0; font: 600 14px/1.3 var(--sans); letter-spacing: .01em; color: var(--lab-sub); font-variant-numeric: tabular-nums; }

/* ---------- the screen ---------- */
.tp-view { position: relative; max-width: none; margin: 0; }
.tp-card { position: relative; background: none; border: 0; border-radius: 0; padding: 0; transform: none; box-shadow: none; }
.tp-card > * + * { margin-top: 14px; }
.tp-tape { display: none; }
.tp-title { font: 600 clamp(22px, 5.8vw, 27px)/1.18 var(--serif); letter-spacing: -.008em; }
.tp-title:focus { outline: none; }
.tp-title--q { font-size: clamp(21px, 5.5vw, 25px); line-height: 1.22; font-weight: 600; }
.tp-title--big { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.04; letter-spacing: -.012em; }
.tp-title--big em { font-family: var(--slant); font-style: italic; font-weight: 600; color: var(--berry); background: none; padding: 0; font-size: 1em; line-height: inherit; -webkit-text-stroke: 0; }
.tp-body { color: var(--ink); font-size: 17px; line-height: 1.5; }
.tp-fine { font-size: 15px; line-height: 1.4; color: var(--lab-sub); }
.tp-card .kicker { display: flex; font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.tp-card .kicker::before { content: ""; width: 22px; height: 1px; background: var(--lab-tick); }
.tp-ico { color: var(--lab-ink); flex: none; }
.tp-back { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px 0 -12px -12px; border: 0; background: none; border-radius: 0; color: var(--lab-ink); cursor: pointer; transition: transform .25s var(--ease); }
.tp-back:hover { transform: translateX(-3px); }
.tp-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; border: 0; background: none; font: 600 16.5px/1.35 var(--sans); color: var(--berry); text-decoration: underline; text-underline-offset: 3px; text-align: left; cursor: pointer; }
.tp-link:hover { color: var(--berry-dark); }
.tp-skip { justify-self: start; justify-content: flex-start; text-align: left; font-size: 16px; color: var(--lab-sub); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }

/* ---------- Help and why: one small-caps toggle, one panel ---------- */
.tp-fold-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-fold-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--lab-accent); font: 700 13.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.tp-fold-btn::after { content: "+"; font: 400 24px/1 var(--serif); color: var(--berry); transition: transform .25s var(--ease); }
.tp-fold-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.tp-panel { margin-top: 4px; padding: 12px 14px; background: var(--lab-box); border: 1px solid var(--lab-edge); border-radius: 0; font-size: 17px; line-height: 1.45; color: var(--ink); animation: tp-open .3s var(--ease); }
.tp-panel > * + *, .tp-panel-part > * + * { margin-top: 8px; }
.tp-panel-part + .tp-panel-part { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lab-edge); }
.tp-fold-k { font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.tp-panel b, .tp-why b, .tp-seal b { color: var(--ink); }
.tp-help { color: var(--ink); }
.tp-note { padding: 12px 14px; background: #fff; border: 1px solid var(--lab-edge); border-left: 3px solid var(--lab-ink); border-radius: 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.tp-note > * + * { margin-top: 10px; }
.tp-note[hidden], .tp-panel[hidden] { display: none; }
.tp-seal { font-size: 15px; color: var(--lab-sub); }
.tp-about > * + * { margin-top: 10px; }
.tp-about > .s-block { margin-top: 24px; }
.tp-about ol { padding-left: 1.3em; }
.tp-note-ximena { font-style: italic; }
@keyframes tp-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- the action bar: Next, and Skip under it ---------- */
.tp-actions { display: grid; gap: 2px; margin: 16px -16px -18px !important; padding: 10px 16px 10px; background: #fff; border-top: 1px solid var(--lab-edge); }
.tp-actions:has(.tp-next:not([hidden])) { position: sticky; bottom: 0; z-index: 2; }
.tp-next { width: 100%; }

/* ---------- intro: the title with its plate, what she needs (drawn, with the exact chips), and two ways in of equal weight ---------- */
.tp-intro-head { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; }
.tp-intro-head .tp-plate { justify-self: end; margin-top: 4px; }
.tp-needs { margin-top: 16px !important; }
.tp-needs .tp-needs-list { margin-top: 8px; }
.tp-care { margin-top: 12px !important; max-width: 34em; }
.tp-need-row a { display: flex; align-items: center; min-height: 44px; color: var(--berry); text-underline-offset: 3px; }
.tp-need-chips--ico { align-items: center; justify-content: center; padding: 0; }
.tp-need-chips--ico .tp-ico { width: 34px; height: 34px; stroke-width: 2.8px; }
.tp-paths { display: grid; grid-auto-rows: 1fr; gap: 12px; margin-top: 18px !important; }   /* 1fr rows: if one label wraps on a narrow phone, both buttons are as tall */
.tp-paths .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin: 0 !important; padding-inline: 14px; text-align: center; text-decoration: none; text-wrap: balance; }
.tp-paths .btn::after { content: none; }   /* the link and the button carry the same look: no arrow on one only */
.tp-paths .btn:hover { text-decoration: none; }
@media (min-width: 700px) { .tp-paths { grid-template-columns: 1fr 1fr; } }
.tp-start { width: 100%; margin-top: 16px !important; }
.tp-more { justify-self: start; width: auto; justify-content: flex-start; text-align: left; font-size: 16px; }
.tp-start[hidden], .tp-more[hidden] { display: none; }
/* a saved test: the step she stopped at, the daylight reason, one painted button and Start over */
.tp-resume { display: grid; gap: 8px; margin-top: 16px !important; padding: 14px 14px 6px; background: var(--lab-box); border: 1px solid var(--lab-edge); border-left: 3px solid var(--lab-ink); border-radius: 0; }
.tp-resume-where { font: 600 20px/1.25 var(--serif); letter-spacing: -.01em; }
.tp-resume .tp-start { margin-top: 6px !important; text-wrap: balance; }
.tp-resume .tp-fine { margin-bottom: 6px; }
.tp-resume .tp-more { width: auto; padding: 8px 14px; }
.tp-sure { display: grid; justify-items: center; text-align: center; }
.tp-sure .tp-body { color: var(--ink); font-weight: 700; }
.tp-list { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 8px; }
.tp-list li { counter-increment: n; position: relative; padding: 10px 12px 10px 44px; background: #fff; border: 1px solid var(--lab-edge); font-size: 17px; line-height: 1.4; }
.tp-list li::before { content: counter(n); position: absolute; left: 0; top: 0; bottom: 0; width: 32px; display: grid; place-items: center; border-right: 1px solid var(--lab-edge); font: 700 13.5px/1 var(--sans); color: var(--lab-sub); }
.tp-links { list-style: none; padding: 0; display: grid; }
.tp-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
/* what she needs, drawn: exact chips and a short label */
.tp-needs-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--lab-edge); }
.tp-need-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--lab-edge); font: 600 17px/1.3 var(--sans); text-wrap: balance; }
.tp-need-chips { display: flex; height: 38px; border: 1px solid var(--lab-edge); padding: 3px; background: #fff; }
.tp-need-chips i { flex: 1; background: var(--c); }
.tp-need-chips i + i { margin-left: 2px; }

/* ---------- option rows (setup, yes and no): numbered like the marks of a scale, and the one she taps fills with ink ---------- */
.tp-opts { display: grid; gap: 8px; counter-reset: o; }
.tp-opt { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; width: 100%; min-height: 56px; padding: 10px 16px 10px 58px; border: 1px solid var(--lab-edge); border-radius: 2px; background: #fff; color: var(--ink); font: 600 17px/1.3 var(--sans); text-align: left; cursor: pointer; counter-increment: o; transition: border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.tp-opt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lab-ink); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease); }
.tp-opt:hover { border-color: var(--lab-ink); }
.tp-opt[aria-pressed="true"] { border-color: var(--lab-ink); color: #fff; }
.tp-opt[aria-pressed="true"]::after { transform: scaleX(1); }
.tp-mark { position: absolute; left: 0; top: 0; bottom: 0; width: 42px; display: grid; place-items: center; border: 0; border-right: 1px solid var(--lab-edge); border-radius: 0; background: none; font: 700 13.5px/1 var(--sans); color: var(--lab-sub); transition: color .2s, border-color .2s; }
.tp-mark::before { content: counter(o); }
.tp-mark::after { display: none; }
.tp-opt[aria-pressed="true"] .tp-mark { color: #fff; border-right-color: rgba(255, 255, 255, .35); }
.tp-q { display: grid; gap: 8px; }
.tp-q-text { font: 700 17px/1.35 var(--sans); }
.tp-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp-yn .tp-opt { min-height: 52px; padding-left: 16px; justify-content: center; }
.tp-yn .tp-mark { display: none; }

/* ---------- gold or silver ---------- */
.tp-metals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tp-chip-btn { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 10px 8px 12px; border: 1px solid var(--lab-edge); border-radius: 0; background: #fff; color: var(--ink); font: 600 16px var(--sans); cursor: pointer; transition: border-color .2s; }
.tp-chip-btn:hover { border-color: var(--lab-ink); }
.tp-chip-btn[aria-pressed="true"] { border-color: var(--lab-ink); box-shadow: inset 0 0 0 1px var(--lab-ink); }
.tp-metal { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--a); }
.tp-metal--both::after { content: ""; position: absolute; inset: 0; background: var(--b); clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* ---------- the gray strip: a slide, with a rule under it that fills up to the step she picks ---------- */
.tp-strip-frame { position: relative; margin-top: 10px; padding: 8px 8px 46px; background: #fff; border: 1px solid var(--lab-edge); box-shadow: none; color-scheme: only light; forced-color-adjust: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.tp-strip-frame--still { padding-bottom: 8px; cursor: default; touch-action: auto; }
.tp-strip-track { position: relative; --n: 0; }
.tp-steps { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; }
.tp-step { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 96px; padding: 7px 0 8px; }
.tp-step b { font: 700 14px/1 var(--sans); }
.tp-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-strip-fill { position: absolute; left: 0; right: 0; bottom: -14px; height: 4px; background: rgba(36, 48, 72, .14); pointer-events: none; }
.tp-strip-fill::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--n) / 9 * 100%); background: var(--lab-ink); transition: width .2s var(--ease); }
.tp-window { --i: 4; position: absolute; top: -5px; left: 0; height: calc(100% + 10px); width: calc((100% - 24px) / 9); border-radius: 0; transform: translateX(calc(var(--i) * (100% + 3px))); transition: transform .12s var(--ease); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lab-ink); cursor: grab; }
.tp-window:not(.is-set) { box-shadow: 0 0 0 2px #fff; outline: 2px dashed var(--lab-ink); outline-offset: 2px; animation: tp-nudge 2.6s ease-in-out infinite; }
.tp-window.is-drag { transition-duration: .07s; cursor: grabbing; animation: none; }
.tp-window:focus-visible { outline: 3px solid var(--berry); outline-offset: 6px; }
.tp-window.bump { animation: tp-bump .2s var(--ease); }
.tp-tab { position: absolute; left: 50%; top: calc(100% + 14px); translate: -50% 0; display: grid; place-items: center; min-width: 40px; height: 26px; border: 1px solid var(--lab-ink); border-radius: 0; background: var(--lab-ink); color: #fff; font: 700 14px/1 var(--sans); }
.tp-tab::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 8px; margin-left: -.5px; background: var(--lab-ink); }
@keyframes tp-nudge { 0%, 100% { translate: 0 0; } 30% { translate: 7px 0; } 60% { translate: -7px 0; } }
@keyframes tp-bump { 40% { scale: 1.1; } }
.tp-readout { min-height: 1.5em; font: 600 17px/1.3 var(--sans); text-align: center; color: var(--ink); }

/* ---------- scales: two poles and a needle, and a bar that fills from the middle to wherever she drags ---------- */
.tp-scale { --f: .5; display: grid; gap: 2px; margin-top: 14px; }
.tp-poles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp-pole { min-height: 72px; padding: 10px 10px 11px; border: 1px solid var(--lab-edge); border-radius: 0; background: #fff; color: var(--ink); font: 700 17px/1.25 var(--sans); cursor: pointer; opacity: clamp(.84, calc(1.16 - .32 * var(--f)), 1); transition: opacity .12s linear, border-color .2s; }
.tp-pole--b { opacity: clamp(.84, calc(.84 + .32 * var(--f)), 1); }
.tp-pole:hover { border-color: var(--lab-ink); }
.tp-track { position: relative; height: 56px; margin: 6px 22px 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.tp-line { position: absolute; left: -8px; right: -8px; top: 50%; height: 2px; margin-top: -1px; background: rgba(36, 48, 72, .35); }
.tp-tick { position: absolute; top: 50%; width: 1px; height: 14px; margin: -7px 0 0 -.5px; background: var(--lab-tick); }
.tp-fill { position: absolute; top: 50%; height: 6px; margin-top: -3px; left: calc(min(var(--f), .5) * 100%); width: calc(max(var(--f) - .5, .5 - var(--f)) * 100%); background: var(--lab-ink); pointer-events: none; transition: left .2s var(--ease), width .2s var(--ease); }
.tp-drop { position: absolute; top: 50%; left: calc(var(--f) * 100%); display: grid; place-items: center; width: 44px; height: 54px; margin: -27px 0 0 -22px; cursor: grab; }
.tp-drop::before { content: ""; width: 20px; height: 20px; background: var(--lab-ink); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--lab-ink); transition: transform .2s var(--ease); }
.tp-drop .tp-drop-ico { display: none; }
.tp-drop.is-snap { transition: left .2s var(--ease); }
.tp-drop:not(.is-set)::before { opacity: .65; animation: tp-nudge 2.6s ease-in-out infinite; }
.tp-drop:active::before { transform: scale(1.15); }
.tp-drop.bump::before { animation: tp-bump .2s var(--ease); }
.tp-drop:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.tp-scale .tp-readout { margin-top: 0; min-height: 1.5em; }

/* ---------- picks: four slides in two columns ---------- */
.tp-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 !important; padding: 0; counter-reset: p; }
.tp-pick { --tilt: 0deg; position: relative; counter-increment: p; display: flex; align-items: flex-end; justify-content: flex-start; min-height: 104px; padding: 36px 12px 12px; border: 1px solid var(--lab-edge); border-radius: 0; background: #fff; color: var(--ink); font: 600 17px/1.3 var(--sans); text-align: left; cursor: pointer; box-shadow: none; transform: none; transition: border-color .2s; }
.tp-pick::before { content: counter(p); position: absolute; left: 0; top: 0; width: 30px; height: 26px; display: grid; place-items: center; border: 0; border-right: 1px solid var(--lab-edge); border-bottom: 1px solid var(--lab-edge); font: 700 13px/1 var(--sans); color: var(--lab-sub); inset: auto; }
.tp-pick:hover { border-color: var(--lab-ink); transform: none; }
.tp-pick[aria-pressed="true"] { border-color: var(--lab-ink); box-shadow: inset 0 0 0 1px var(--lab-ink); }
.tp-pick-stamp { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 0; background: var(--lab-ink); color: #fff; opacity: 0; transform: none; transition: opacity .15s; }
.tp-pick-stamp .tp-ico { color: #fff; width: 18px; height: 18px; }
.tp-pick[aria-pressed="true"] .tp-pick-stamp { opacity: 1; transform: none; }
.tp-pick img { width: 100%; height: auto; margin-bottom: 10px; }

/* ---------- words: a name on each slide, and a tray for the two she takes ---------- */
.tp-words { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp-word { position: relative; min-height: 60px; padding: 10px 12px 11px; border: 1px solid var(--lab-edge); border-radius: 0; background: #fff; color: var(--ink); text-align: left; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: border-color .2s; }
.tp-word b { display: block; font: 600 19px/1.15 var(--serif); }
.tp-word span.tp-word-short { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-word-tag { display: block; margin-top: 4px; font: 700 12.5px/1.2 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.tp-word[data-sug] b { background: none; display: block; }
.tp-word:hover { border-color: var(--lab-ink); }
.tp-word[aria-pressed="true"] { border-color: var(--lab-ink); box-shadow: inset 0 0 0 1px var(--lab-ink); }
.tp-word.is-lifted { opacity: .35; }
.tp-ghost { position: fixed; left: 0; top: 0; z-index: 100; margin: 0; background: #fff; pointer-events: none; cursor: grabbing; box-shadow: 0 16px 26px -10px rgba(36, 48, 72, .45); }
.tp-dock { position: sticky; bottom: 0; z-index: 3; height: 120px; margin: 4px -16px 0 !important; padding: 0 16px; }
.tp-pocket { position: absolute; inset: 0 16px; transition: transform .22s var(--ease); }
.tp-pocket.is-over { transform: scale(1.03); }
.tp-tags { position: absolute; left: 14px; right: 14px; bottom: 58px; display: flex; justify-content: center; gap: 10px; }
.tp-tag { padding: 9px 13px 24px; border: 1px solid var(--lab-ink); border-radius: 0; background: #fff; font: 600 16px/1.1 var(--serif); animation: tp-drop-in .4s var(--ease); }
.tp-pocket-front { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; border: 1px solid var(--lab-ink); border-radius: 0; background: #fff; }
.tp-pocket-front::before { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--lab-tick); pointer-events: none; }
.tp-dock .tp-next { position: absolute; left: 32px; right: 32px; bottom: 11px; width: auto; z-index: 1; }
@keyframes tp-drop-in { from { opacity: 0; transform: translateY(-34px); } }

/* ---------- result ---------- */
.tp-card--result > * + * { margin-top: 14px; }
.tp-hero { position: relative; display: grid; place-items: center; min-height: 148px; margin: 24px -6px 0 !important; }
.tp-hero-wash { position: absolute; left: -22px; top: -18px; width: calc(100% + 44px); height: calc(100% + 36px); mix-blend-mode: multiply; pointer-events: none; }
.tp-slip { position: relative; max-width: 94%; padding: 14px 26px 18px; border: 1px solid #E3D5BF; background: #FFFDF8; text-align: center; transform: rotate(-1.6deg); box-shadow: 0 10px 20px -10px rgba(43, 34, 48, .45); transition: opacity .5s ease, transform .65s var(--ease); }
.tp-name { font: 600 clamp(34px, 10vw, 54px)/1.02 var(--serif); letter-spacing: -.02em; }
.tp-name-kick { display: block; margin-bottom: 4px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tp-name em { font-style: normal; }
.tp-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tp-card .seal { color: var(--ink); font-size: 12.5px; }
.tp-card .seal[data-seal="strong"] { border-color: var(--strong); }
.tp-card .seal[data-seal="moderate"] { border-color: var(--moderate); }
.tp-card .seal[data-seal="tradition"] { border-color: var(--tradition); }
.tp-card .seal[data-seal="myth"] { border-color: var(--myth); }
.tp-section > * + * { margin-top: 10px; }
.tp-section { padding-top: 14px; border-top: 1px dashed rgba(43, 34, 48, .28); }
.tp-section--palette { border-top: 0; padding-top: 0; }
.tp-h3 { font: 600 21px/1.2 var(--serif); }
.tp-big { font: 600 32px/1.1 var(--serif); letter-spacing: -.015em; }
.tp-size { font: italic 500 18px var(--sans); color: var(--ink); }
.tp-lip { font-size: 17px; color: var(--ink); }
.tp-lip b { color: var(--ink); }
.tp-chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tp-chip { padding: 6px 6px 9px; background: #fff; border-radius: 1px; box-shadow: 0 1px 0 rgba(43, 34, 48, .08), 0 6px 12px rgba(43, 34, 48, .1); transform: rotate(var(--r)); transition: opacity .35s ease, transform .6s var(--ease); }
.tp-swatch { display: block; aspect-ratio: 5 / 4; background: var(--c); }
.tp-chip.light .tp-swatch { box-shadow: inset 0 0 0 1px #DDD5CB; }
.tp-chip-name { display: block; margin-top: 6px; font-size: 15px; line-height: 1.25; color: var(--ink); }
.tp-chip-name::first-letter { text-transform: uppercase; }
.tp-neighbor { padding: 2px 0; border-top: 1px dashed rgba(43, 34, 48, .28); }
.tp-neighbor summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font: 700 17px var(--sans); cursor: pointer; list-style: none; }
.tp-neighbor summary::-webkit-details-marker { display: none; }
.tp-neighbor summary::after, .tp-fold summary::after { content: "+"; font: 400 24px/1 var(--serif); color: var(--berry); transition: transform .25s var(--ease); }
.tp-neighbor[open] summary::after, .tp-fold[open] summary::after { transform: rotate(45deg); }
.tp-neighbor .tp-chips, .tp-neighbor .tp-lip { margin: 4px 0 14px; }

/* rules: do, then Why:, then Seal: */
.tp-rule { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--blush); }
.tp-rule--quiet { border-left-color: rgba(43, 34, 48, .25); }
.tp-do { font: 700 18.5px/1.4 var(--sans); color: var(--ink); }
.tp-fold { margin-top: 2px; }
.tp-fold summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.tp-fold summary::-webkit-details-marker { display: none; }
.tp-fold summary::after { font-size: 20px; }
.tp-why { font-size: 17px; line-height: 1.45; color: var(--ink); }
.tp-fold > * + * { margin-top: 8px; }
.tp-fold .tp-seal { padding-bottom: 8px; }
.tp-more-row { margin-top: 6px; }
.tp-seals { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tp-stamp { transition: opacity .1s ease, transform .16s ease-out; }
.tp-stamp.tp-pre { opacity: 0; transform: scale(1.25) rotate(-2deg); }

/* bars */
.tp-bar { margin-top: 10px; }
.tp-bar-head { display: flex; align-items: baseline; gap: 10px; font: 600 15px/1.2 var(--sans); color: var(--ink-soft); }
.tp-bar-head b { font: 600 22px/1 var(--serif); color: var(--ink); }
.tp-bar-head i { margin-left: auto; font-size: 15px; font-style: normal; color: var(--ink-soft); }
.tp-bar-track { position: relative; height: 30px; margin: 4px 11px 0; }
.tp-bar-track svg { position: absolute; left: 0; top: 7px; width: 100%; height: 16px; overflow: visible; }
.tp-bar .dr { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease; }
.tp-bar.tp-pre .dr { stroke-dashoffset: 1; }
.tp-bar-cut { position: absolute; top: 6px; width: 2px; height: 18px; margin-left: -1px; background: var(--ink); opacity: .5; }
.tp-dot { position: absolute; top: 15px; left: calc(var(--f) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--ink); border-radius: 50%; background: var(--berry); transition: left 1s var(--ease) .35s; }
.tp-bar.tp-pre .tp-dot { left: 0; }
.tp-zones { display: flex; margin: 2px 11px 0; font-size: 15px; color: var(--ink-soft); }
.tp-zones span { text-align: center; }
.tp-zones .is-on { color: var(--ink); font-weight: 700; }
.tp-zones--ends { justify-content: space-between; }

/* Bijou and Nube, one pair, never inside the CTA: a big picture with two large hand-written notes beside it */
.tp-pair { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "bijou" "nube"; gap: 12px; justify-items: start; margin-top: 20px !important; }
.tp-pair .mascots-img { grid-area: img; width: 70%; max-width: 260px; justify-self: center; }
.tp-pair .mascots-say { display: contents; }
.tp-pair .say { font-size: 26px; line-height: 1.12; }
.tp-pair .say::before { font-size: 28px; }
.tp-pair .say--bijou { grid-area: bijou; margin: 0; color: var(--ink); }
.tp-pair .say--nube { grid-area: nube; margin: 0 0 0 28px; color: var(--ink); }
.tp-pair .say::before { color: var(--berry); opacity: 1; }

/* tools */
.tp-tools { display: grid; gap: 8px; }
.tp-tool-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tp-tool { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 4px 14px 5px 12px / 12px 5px 14px 4px; background: rgba(255, 253, 248, .85); color: var(--ink); font: 700 15px/1.2 var(--sans); cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; }
.tp-tool:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px) rotate(-.6deg); }
.tp-remember-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.tp-remember { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--ink-soft); cursor: pointer; }
.tp-remember input { width: 22px; height: 22px; margin: 0; accent-color: var(--berry); }
.tp-forget { font-size: 16px; }
.tp-status { min-height: 1.4em; font-size: 16px; font-weight: 700; color: var(--ink); }
.tp-status:empty { display: none; }
.tp-linkbox { width: 100%; padding: 12px; border: 1.5px solid #8E7E82; border-radius: 3px; background: #fff; font: 16px var(--sans); color: var(--ink); }

/* the single CTA */
.tp-cta { position: relative; margin-top: 22px !important; padding: 16px 14px 18px; border: 1.5px solid var(--ink); border-radius: 3px 14px 4px 12px / 12px 4px 14px 3px; background: var(--blush-soft); transform: rotate(.3deg); }
.tp-cta > * + * { margin-top: 12px; }
.tp-cta .btn { width: 100%; }
.tp-signup { display: grid; gap: 12px; }
.tp-signup .signup-fields { display: grid; gap: 8px; }
.tp-signup label { font-weight: 700; font-size: 16px; }
.tp-signup input[type=email] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #8E7E82; border-radius: 3px; background: #fff; color: var(--ink); font: 17px var(--sans); }
.tp-signup input[type=email]:focus { border-color: var(--berry); outline: 3px solid rgba(156, 44, 78, .25); }
.tp-signup .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 4px; font-weight: 400; font-size: 16px; color: var(--ink); }
.tp-signup .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--berry); }
.tp-signup .btn { margin-top: 8px; }
.tp-signup .signup-status { font-weight: 700; color: var(--ink); }
.tp-signup .signup-status:empty { display: none; }
.tp-signup .signup-status.is-error { color: var(--ink); }
.tp-end { margin-top: 22px !important; text-align: center; }

/* the guide block: a taped paper card, the guide drawn small, three lines and the one painted button of the result card */
.tp-cta-stack { margin-top: 26px !important; }
.tp-cta-stack > * + * { margin-top: 12px; }
.tp-guide { position: relative; display: grid; gap: 12px; padding: 20px 14px 16px; border: 1.5px solid var(--ink); border-radius: 3px 14px 4px 12px / 12px 4px 14px 3px; background: #FFFDF8; transform: rotate(.3deg); box-shadow: 5px 6px 0 rgba(43, 34, 48, .13); }
.tp-guide .btn { width: 100%; margin-top: 4px; padding: 14px 26px 15px 24px; gap: 8px; }
.tp-guide-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.tp-guide-head > * + * { margin-top: 6px; }
@media (max-width: 420px) { /* the cover stacks above the title so the title gets the whole card width */
  .tp-guide { padding-top: 30px; }
  .tp-guide-top { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
  .tp-guide-head .kicker { justify-content: center; }
}
.tp-guide-head .kicker { font-size: 13px; letter-spacing: .12em; }
.tp-guide-h { font-size: 20px; }
.tp-guide-price { color: var(--berry); font-size: 1.5em; }
.tp-guide-lines { list-style: none; padding: 0; display: grid; gap: 8px; }
.tp-guide-lines li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 17px; line-height: 1.4; color: var(--ink); }
.tp-guide-lines .tp-ico { width: 22px; height: 22px; margin-top: 2px; color: var(--berry); }
.tp-guide-note { margin-top: 0; }
.tp-books { position: relative; width: 112px; height: 122px; }
.tp-cover { position: absolute; width: 76px; aspect-ratio: 8.5 / 11; padding: 8px 7px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; background: #FBF6EF; border-radius: 1px 3px 3px 1px; box-shadow: 0 1px 0 rgba(43, 34, 48, .08), 0 10px 16px -10px rgba(43, 34, 48, .55); }
.tp-cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgba(43, 34, 48, .12); }
.tp-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.tp-cover--back { left: 0; top: 4px; transform: rotate(-6deg); transform-origin: 30% 90%; }
.tp-cover--front { left: 32px; top: 14px; transform: rotate(3deg); }
.tp-cover-name { margin-top: 2px; font: 400 15px/.95 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.tp-cover-fan { position: absolute; left: 9px; bottom: 7px; width: 40px; height: 36px; }
.tp-cover-fan i { position: absolute; left: 0; bottom: 0; width: 9px; height: 34px; background: var(--c); border: 1px solid #FFFDF8; border-radius: 2px; transform-origin: 4px 30px; transform: rotate(calc(var(--k) * 14deg - 8deg)); box-shadow: 0 1px 2px rgba(43, 34, 48, .25); }
.tp-free { border-top: 0; padding: 0 4px; }
.tp-free summary { min-height: 44px; font: 600 16px var(--sans); color: var(--ink-soft); }
.tp-free .tp-signup { padding: 0 0 12px; }
.tp-free .tp-tool { width: 100%; margin-top: 8px; }

/* ---------- the assembly: states before each piece arrives ---------- */
.tp-slip.tp-pre { opacity: 0; transform: translateY(14px) rotate(-4deg) scale(.96); }
.tp-chip.tp-pre { opacity: 0; transform: translateY(-36px) rotate(calc(var(--r) - 12deg)) scale(.92); }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .tp-card { padding: 24px 26px 20px; }
  .tp-actions { margin: 18px -26px -20px !important; padding: 12px 26px; }
  .tp-title { font-size: 28px; }
  .tp-title--big { font-size: 54px; }
  .tp-title--q { font-size: 22px; }
  .tp-step { height: 132px; }
  .tp-pole { min-height: 110px; font-size: 20px; }
  .tp-pair { grid-template-columns: 230px minmax(0, 1fr); grid-template-areas: "img bijou" "img nube"; }
  .tp-pair .mascots-img { max-width: 230px; }
  .tp-pair .say { font-size: 30px; }
  .tp-pair .say--nube { margin: 8px 0 0 30px; }
  .tp-pair .mascots-img { width: 100%; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-chapter-bar::after { transition: none; }
  .tp-window:not(.is-set), .tp-drop:not(.is-set) .tp-drop-ico { animation: none; }
  .tp-panel, .tp-tag { animation: none; }
}
@media (forced-colors: active) {
  .tp-opt[aria-pressed="true"], .tp-pick[aria-pressed="true"], .tp-word[aria-pressed="true"], .tp-chip-btn[aria-pressed="true"] { outline: 3px solid Highlight; }
}
@media print { .tp-wash, .tp-progress, .tp-actions, .tp-tools { display: none !important; } .tp-card { box-shadow: none; transform: none; } }

/* ---------- See it on: the read-only outfit and lip board on the result card (site/js/test/board.js) ---------- */
.tp-board .flatlay-paper { margin-top: 4px; padding: 2px; border-width: 14px; border-image: url(/img/collage/frame-card.webp) 52 fill / 14px / 6px round; transform: rotate(-.5deg); }
.tp-board .flatlay-paper::before { display: none; }
.tp-board .piece { cursor: default; }
.tp-board-line { font-size: 17px; }
.tp-board-line b { font: 600 20px/1.2 var(--serif); }
.tp-lipchip { display: inline-block; width: 24px; height: 16px; margin: 0 2px; vertical-align: -2px; background: var(--c); border: 1px solid rgba(43, 34, 48, .3); }
.tp-board > .tp-tool { justify-self: start; }

/* ---------- Hold it to your face: the button next to the neighbor folds, and the full-screen sheet (site/js/test/drape-ui.js) ---------- */
.tp-drape { display: grid; justify-items: start; gap: 4px; margin-top: 4px; }
.tp-drape .tp-fine { max-width: 34em; }
html.dp-open { overflow: hidden; }
.dp { position: fixed; inset: 0; z-index: 200; height: 100vh; height: 100dvh; background: var(--paper) url(/img/collage/paper.webp) repeat; color: var(--ink); overflow: hidden; overscroll-behavior: none; }
.dp[data-mode="pair"] { background-image: none; }
.dp [hidden] { display: none !important; }
.dp-stage { position: absolute; inset: 0; display: grid; align-items: start; justify-items: center; padding: 70px 14px 24px; overflow-y: auto; }
.dp[data-mode="pair"] .dp-stage { display: block; padding: 0; overflow: hidden; }
.dp-panel { position: relative; display: grid; gap: 12px; width: min(100%, 520px); margin: auto; padding: 30px 18px 20px; background: #FFFDF8; border: 1px solid #E3D5BF; border-radius: 3px; transform: rotate(-.4deg); box-shadow: 0 1px 0 rgba(43, 34, 48, .05), 0 2px 5px rgba(43, 34, 48, .06), 0 24px 38px -20px rgba(43, 34, 48, .35); }
.dp-panel > * { margin: 0; }
.dp-title { font-size: clamp(30px, 8vw, 40px); line-height: 1.04; }
.dp-title:focus { outline: none; }
.dp-lead { font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.dp-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: dr; }
.dp-steps li { position: relative; padding-left: 38px; font-size: 17px; line-height: 1.42; counter-increment: dr; }
.dp-steps li::before { content: counter(dr); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 14.5px/1 var(--sans); }
.dp-choose { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-choose-lab { flex: 0 0 100%; font: 700 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--berry); }
.dp-pill { min-height: 44px; padding: 8px 16px; background: rgba(255, 253, 248, .85); color: var(--ink); border: 1.5px solid rgba(43, 34, 48, .3); border-radius: 999px; font: 700 16px/1 var(--sans); cursor: pointer; }
.dp-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dp-start { justify-self: start; }
.dp-endline { font-size: 18px; line-height: 1.45; color: var(--ink); }
.dp-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; }
.dp-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: #FFFDF8; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 50%; cursor: pointer; box-shadow: 2px 3px 0 rgba(43, 34, 48, .2); }
.dp-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the pair view: the whole screen is the color; only the small paper label sits over it */
.dp-flip { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.dp-flip:focus-visible { outline: 3px solid #FFFDF8; outline-offset: -16px; }
.dp-flip:focus-visible::after { content: ""; position: absolute; inset: 10px; border: 3px solid var(--ink); pointer-events: none; }
.dp-label { position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 440px; margin: 0 auto; padding: 16px 14px 4px; background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 3px 12px 4px 10px / 10px 4px 12px 3px; box-shadow: 4px 5px 0 rgba(43, 34, 48, .2); }
.dp-label .tp-tape { top: -15px; width: 92px; height: 28px; }
.dp-label > * { margin: 0; }
.dp-name { font: 600 24px/1.1 var(--serif); }
.dp-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 16px; color: var(--ink); }
.dp-season b { color: var(--ink); }
.dp-dots { display: inline-flex; gap: 4px; flex: none; }
.dp-dots i { width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 50%; }
.dp-dots[data-side="0"] i:first-child, .dp-dots[data-side="1"] i:last-child { background: var(--ink); }
.dp-hint { margin-top: 4px; font-size: 15px; color: var(--ink-muted); }
.dp-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 2px; border-top: 1px dashed rgba(43, 34, 48, .28); }
.dp-step { min-width: 44px; min-height: 46px; padding: 0 4px; background: none; border: 0; color: var(--berry); font: 700 16px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dp-step:disabled { color: var(--ink-muted); text-decoration: none; opacity: .55; cursor: default; }
.dp-step:focus-visible, .dp-close:focus-visible, .dp-pill:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.dp-count { font-size: 15px; color: var(--ink-muted); white-space: nowrap; }

/* ---------- editorial result card (docs/web/DIRECCION-EDITORIAL.md): the card as a cover, a band of start colors, three numbered verdicts ---------- */
.tp-hero { overflow: visible; }
.tp-no { position: absolute; left: 4px; top: -12px; z-index: 2; font: 400 112px/1 var(--serif); letter-spacing: -.04em; color: var(--berry); pointer-events: none; text-shadow: 0 0 0 transparent; }
.tp-band { --band: var(--ink); --band-ink: var(--paper); position: relative; isolation: isolate; margin: 34px -16px 34px !important; padding: 20px 16px 22px; background: var(--band); color: var(--band-ink); }
.tp-band::before, .tp-band::after { content: ""; position: absolute; left: 0; right: 0; height: 34px; z-index: -1; background: var(--band); -webkit-mask: url(/img/collage/edge-ink.webp) 0 100% / 1024px 60px repeat-x; mask: url(/img/collage/edge-ink.webp) 0 100% / 1024px 60px repeat-x; pointer-events: none; }
.tp-band::before { top: -32px; }
.tp-band::after { bottom: -32px; transform: scaleY(-1); -webkit-mask-position: 300px 100%; mask-position: 300px 100%; }
.tp-band .tp-h3 { margin-bottom: 12px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--band-ink); }
.tp-band .tp-chips { margin: 0; }
.tp-band--plain { --band: transparent; --band-ink: var(--ink); margin: 0 !important; padding: 0; background: none; }
.tp-band--plain::before, .tp-band--plain::after { display: none; }
.tp-band--plain .tp-h3 { font: 600 21px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.tp-card .no-list { gap: 18px; margin-top: 4px; }
.tp-card .no-feature { grid-template-columns: 50px minmax(0, 1fr); column-gap: 12px; }
.tp-card .no-n { font-size: 64px; }
.tp-card .no-t { font-size: 24px; }
.tp-card .no-body { font: 700 18.5px/1.4 var(--sans); }
.tp-card .no-feature > .tp-fold { grid-column: 2; }
@media (min-width: 560px) { .tp-no { left: 18px; top: -16px; font-size: 140px; } }

/* ---------- in the lab: the card, the sheet and the guide block are slides, with hairlines and no tilt ---------- */
.lab .tp-hero { display: block; min-height: 0; margin: 14px 0 0 !important; padding: 20px 16px 22px; background: var(--band, var(--lab-ink)); color: var(--band-ink, #fff); text-align: left; overflow: visible; }
.lab .tp-no { display: none; }
.lab .tp-slip { max-width: none; padding: 0; border: 0; background: none; text-align: left; transform: none; box-shadow: none; color: inherit; }
.lab .tp-name { color: inherit; }
.lab .tp-name-kick { color: inherit; opacity: .9; }
.lab .tp-name em { font-family: var(--slant); font-style: italic; color: inherit; font-size: 1em; line-height: inherit; }
.lab .tp-slip.tp-pre { opacity: 0; transform: translateX(-10px); }
.lab .tp-chip.tp-pre { opacity: 0; transform: translateY(-14px); }
.lab .tp-chip { transform: none; box-shadow: none; border: 1px solid var(--lab-edge); border-radius: 0; }
.lab .tp-chip.light .tp-swatch { box-shadow: inset 0 0 0 1px var(--lab-edge); }
.lab .tp-section { border-top: 1px solid var(--lab-edge); }
.lab .tp-section--palette { border-top: 0; }
.lab .tp-band { margin: 20px -16px 24px !important; }
.lab .tp-band::before, .lab .tp-band::after { display: none; }
.lab .tp-neighbor { border-top: 1px solid var(--lab-edge); }
.lab .tp-neighbor summary::after, .lab .tp-fold summary::after { color: var(--berry); }
.lab .tp-rule { border-left: 3px solid var(--lab-ink); }
.lab .tp-rule--quiet { border-left-color: var(--lab-edge); }
.lab .tp-tool { border: 1px solid var(--lab-ink); border-radius: 0; background: #fff; }
.lab .tp-tool:hover { background: var(--lab-ink); color: #fff; transform: none; }
.lab .tp-linkbox, .lab .tp-signup input[type=email] { border: 1px solid var(--lab-ink); border-radius: 0; }
.lab .tp-cta, .lab .tp-guide { transform: none; box-shadow: none; border: 1px solid var(--lab-ink); border-radius: 0; background: #fff; }
.lab .tp-cta { background: var(--lab-box); }
.lab .tp-dot { border-radius: 0; background: var(--berry); }
.lab .tp-bar-cut { opacity: .6; }
.lab .tp-board .flatlay-paper { border: 1px solid var(--lab-edge); border-image: none; transform: none; padding: 0; background: #fff; }
.lab .tp-cover { box-shadow: none; border: 1px solid var(--lab-edge); }
.lab .dp { background: var(--lab-box); }
.lab .dp[data-mode="pair"] { background-image: none; }
.lab .dp-panel { transform: none; box-shadow: none; border: 1px solid var(--lab-edge); border-radius: 0; background: #fff; }
.lab .dp-label { border-radius: 0; box-shadow: none; }
.lab .dp-close { border-radius: 0; }
.lab .dp-pill { border-radius: 0; background: #fff; }
.lab .dp-pill[aria-pressed="true"] { background: var(--lab-ink); border-color: var(--lab-ink); color: #fff; }
.lab .dp-choose-lab, .lab .dp-count { color: var(--lab-sub); }
@media (min-width: 640px) {
  .tp-intro-head { grid-template-columns: minmax(0, 1fr) 148px; }
  .tp-actions { margin: 18px -16px -18px !important; }
  .tp-step { height: 120px; }
  .tp-pole { min-height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-opt::after, .tp-strip-fill::after, .tp-fill { transition: none; }
  .tp-drop:not(.is-set)::before { animation: none; }
}

/* the three verdicts of the card: numbered like the marks of a scale, not giant numerals */
.lab .tp-card .no-list { gap: 14px; }
.lab .tp-card .no-feature { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
.lab .tp-card .no-n { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--lab-ink); font: 600 18px/1 var(--serif); color: var(--lab-ink); letter-spacing: 0; }
.lab .tp-card .no-t { font-size: 22px; }
