/* Product pages: each app's hero in its own default theme, and phone mock-ups drawn with the apps'
   real values (Caudal: Theme.kt CaudalColors + Caudal-arte version I; Clepsidra: mock v7.23 t-arc). */
/* Colour rules of canvas D (owner, 2026-11-20): in light, the hero is the one surface in the app's colour; in
   dark there is none, the whole page is the same night and the app shows in the wave, icon, buttons, kickers
   and phone. The wave is the icon's light tone in light, its middle tone in dark. */
.prod.caudal { --pbg: #B9E2DF; --pon: #0B2E2A; --ponv: #2D524D; --pink: #00695C; --ponPri: #FFFFFF; --wave: #80CBC4; --tone: #26A69A; --ink: #00695C; --act: #CDEAE6; --onAct: #04211D; }
.prod.clepsidra { --pbg: #F0CDB9; --pon: #3A160A; --ponv: #6B3A26; --pink: #AE5332; --ponPri: #FFFFFF; --wave: #EE9A72; --tone: #A9471F; --ink: #AE5332; --act: #F6DDD0; --onAct: #4A1A06; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prod { --pbg: var(--bg); --pon: var(--on); --ponv: var(--onv); }
  :root:not([data-theme="light"]) .prod.caudal { --pink: #80CBC4; --ponPri: #06312C; --wave: #26A69A; --ink: #80CBC4; --act: #12463E; --onAct: #B2DFDB; }
  :root:not([data-theme="light"]) .prod.clepsidra { --pink: #D39072; --ponPri: #2E1004; --wave: #A9471F; --ink: #D39072; --act: #3A2219; --onAct: #F3DED3; }
}
:root[data-theme="dark"] .prod { --pbg: var(--bg); --pon: var(--on); --ponv: var(--onv); }
:root[data-theme="dark"] .prod.caudal { --pink: #80CBC4; --ponPri: #06312C; --wave: #26A69A; --ink: #80CBC4; --act: #12463E; --onAct: #B2DFDB; }
:root[data-theme="dark"] .prod.clepsidra { --pink: #D39072; --ponPri: #2E1004; --wave: #A9471F; --ink: #D39072; --act: #3A2219; --onAct: #F3DED3; }
/* The premium band belongs to the Dinesia account, not to the app: the same amethyst on both pages. */
.prod .band { background: #EDE6F3; color: #2A2233; }
.prod .band span { color: #5E5470; }
.prod .band .btn.p { background: #654F7C; color: #FFFFFF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prod .band { background: #241D2E; color: #F1ECF7; }
  :root:not([data-theme="light"]) .prod .band span { color: #C9BEDA; }
  :root:not([data-theme="light"]) .prod .band .btn.p { background: #AA99C9; color: #1B1623; }
}
:root[data-theme="dark"] .prod .band { background: #241D2E; color: #F1ECF7; }
:root[data-theme="dark"] .prod .band span { color: #C9BEDA; }
:root[data-theme="dark"] .prod .band .btn.p { background: #AA99C9; color: #1B1623; }
.prod .kicker { color: var(--ink); }
.prod .feat .tag { background: var(--act); color: var(--onAct); }

/* ----- the icon's water at the foot of each hero */
.prod-hero .water { display: block; width: 100%; height: 72px; margin-top: -1px; }

/* ----- Caudal phone (Apuntar): the latest mock-up, Caudal-arte «versión I» (usable/version-i.html, 2026-11-12),
   theme Caudal, Pixel layout with the «Último» strip. It is drawn at the app's real size (448 × 997 dp) with the
   mock-up's own measures and scaled down to the screen, so it keeps its proportions exactly. */
.m-caudal { --m-bg: #B9E2DF; --m-on: #06312C; --m-onv: #1E4640; --m-pri: #00695C; --m-low: #F4FBFA; --m-high: #D4EBE6; --m-secC: #80CBC4; --m-onSecC: #00251F; --m-outV: #8DB5B1; --m-act: #80CBC4; --m-onAct: #00251F; --m-rail: #A5DAD6; }
.phone .scr.m-caudal { display: block; padding: 0; --k: .625; }
@media (max-width: 899px) { .phone .scr.m-caudal { --k: .5804; } }
.cv { width: 448px; height: 997px; transform: scale(var(--k)); transform-origin: 0 0; display: flex; flex-direction: column; padding: 36px 0 24px; font-size: 14px; line-height: 20px; }
.cv .mi { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cv .mi.s { width: 16px; height: 16px; color: var(--m-onv); }
.cv .pillrow { height: 48px; flex: none; display: flex; align-items: center; justify-content: center; }
.cv .pill { height: 36px; padding: 0 12px; border-radius: 18px; background: var(--m-low); display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.cv .pill img { width: 20px; height: 20px; }
.cv .body { flex: 1; padding: 0 20px 12px; display: flex; flex-direction: column; gap: 10px; }
.cv .hdr { display: flex; justify-content: space-between; align-items: flex-start; min-height: 52px; padding-top: 4px; }
.cv .chip { height: 36px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid var(--m-outV); }
.cv .chip.n { color: var(--m-pri); }
.cv .chip img { width: 18px; height: 18px; }
.cv .day { display: flex; align-items: center; gap: 4px; text-align: right; color: var(--m-onv); min-height: 44px; border-radius: 10px; }
.cv .day b { display: block; font-weight: 700; color: var(--m-pri); }
.cv .day small { display: block; font-size: 12px; line-height: 16px; }
.cv .amt { text-align: center; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: -2px; }
.cv .amt small { font-size: 36px; font-weight: 600; letter-spacing: -.5px; color: var(--m-onv); }
.cv .hint { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--m-onv); }
.cv .stack { display: flex; flex-direction: column; gap: 8px; }
.cv .rail { display: flex; height: 48px; padding: 4px; gap: 4px; border-radius: 16px; background: var(--m-rail); }
.cv .rail > span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; font-weight: 500; }
.cv .rail > span.on { background: var(--m-act); color: var(--m-onAct); font-weight: 600; }
.cv .rail img { width: 20px; height: 20px; }
.cv .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cv .tile { height: 52px; padding: 0 12px 0 10px; gap: 10px; border-radius: 16px; display: flex; align-items: center; font-weight: 500; background: color-mix(in srgb, var(--tint) 18%, var(--m-low)); }
.cv .tile img { width: 34px; height: 34px; margin: 1px; }
.cv .tile .mi { width: 36px; height: 36px; padding: 8px; stroke-width: 3; }
.cv .tile.m { background: var(--m-low); color: var(--m-onv); }
.cv .c1 { --tint: #E8896B; } .cv .c2 { --tint: #7CB86A; } .cv .c3 { --tint: #64A8D8; } .cv .c4 { --tint: #B98CD6; } .cv .c5 { --tint: #E6A94F; }
.cv .pad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 11px; }
.cv .key { height: 72px; border-radius: 16px; background: var(--m-high); font-size: 28px; line-height: 36px; font-weight: 500; display: grid; place-items: center; }
.cv .key.t { background: var(--m-secC); color: var(--m-onSecC); }
.cv .key .mi { width: 28px; height: 28px; }
.cv .last { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 10px 0 14px; border-radius: 16px; background: var(--m-low); }
.cv .ll { display: flex; align-items: center; gap: 8px; }
.cv .ll small { font-size: 12px; line-height: 16px; color: var(--m-onv); }
.cv .ll b { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.cv .ll img { width: 20px; height: 20px; }
.cv .go { display: flex; align-items: center; gap: 2px; color: var(--m-pri); font-weight: 600; }

/* ----- Caudal phone (Resumen, and Movimientos further down the same screen), «versión I» too. Both screens
   sit one on the other; without scenes only Apuntar shows. */
.m-caudal { --m-inc: #1B5E20; }
.phone .scr.m-caudal { position: relative; }
.scene-play .scr.m-caudal { overflow: hidden; }
.m-caudal .cv { position: absolute; left: 0; top: 0; transition: opacity .6s ease, translate .75s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.cv.sum, .stage[data-view="1"] .cv[data-screen="add"], .stage[data-view="2"] .cv[data-screen="add"] { opacity: 0; visibility: hidden; translate: -22px 0; transition-delay: 0s, 0s, .75s; }
.stage[data-view="1"] .cv.sum, .stage[data-view="2"] .cv.sum { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.cv.sum { translate: 22px 0; }
.cv .vp { flex: 1; min-height: 0; overflow: hidden; }
.cv .sv { position: relative; padding: 0 20px 24px; transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.cv .tb { display: flex; align-items: center; height: 44px; margin: 0 -12px; }
.cv .ibn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--m-onv); border-radius: 50%; }
.cv .ibn .mi { width: 22px; height: 22px; }
.cv .tt { flex: 1; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--m-onv); }
.cv .drow { display: flex; align-items: center; min-height: 48px; margin: 6px -12px 0; }
.cv .mid { flex: 1; display: flex; justify-content: center; }
.cv .dp { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--m-outV); font-size: 16px; font-weight: 500; }
.cv .dp .mi { color: var(--m-pri); }
.cv .tot { border-radius: 24px; padding: 18px 16px; text-align: center; margin: 10px 0 14px; background: color-mix(in srgb, var(--m-pri) 16%, var(--m-low)); }
.cv .eyb { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--m-onv); }
.cv .big { font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -2px; }
.cv .big small { font-size: 30px; font-weight: 600; letter-spacing: -.5px; color: var(--m-onv); }
.cv .cols { display: flex; justify-content: center; gap: 48px; margin-top: 10px; }
.cv .cols span { display: block; font-size: 13px; line-height: 18px; color: var(--m-onv); }
.cv .cols b { display: block; font-size: 20px; line-height: 28px; font-weight: 600; }
.cv .inc { color: var(--m-inc); }
.cv .crd { background: var(--m-low); border-radius: 24px; padding: 16px; margin: 12px 0; }
.cv .crd .rail { height: 40px; }
.cv .sb { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0; }
.cv .sb .rail.w2 { width: 200px; }
.cv .sb .rail.k { width: 96px; }
.cv .bar { padding: 6px 0; }
.cv .br { display: flex; justify-content: space-between; align-items: center; font-size: 15px; line-height: 22px; }
.cv .br span { display: flex; align-items: center; gap: 8px; }
.cv .br img { width: 22px; height: 22px; }
.cv .br b { font-weight: 600; }
.cv .trk { display: block; height: 8px; border-radius: 4px; background: var(--m-high); margin-top: 5px; overflow: hidden; }
.cv .trk i { display: block; width: var(--w); height: 100%; border-radius: 4px; background: var(--tint); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.cv.bars0 .trk i { width: 0; transition: none; }
.cv .c7 { --tint: #8A9BB0; }
.cv .pt { display: flex; justify-content: space-between; align-items: center; min-height: 32px; font-weight: 600; color: var(--m-onv); }
.cv .split2 { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; margin: 8px 0 10px; }
.cv .split2 i { display: block; height: 100%; }
.cv .s1 { background: var(--m-pri); } .cv .s2 { background: #E6A94F; }
.cv .psum { display: flex; gap: 16px; color: var(--m-onv); }
.cv .psum span { display: flex; align-items: center; gap: 6px; }
.cv .psum img { width: 18px; height: 18px; }
.cv .psum b { color: var(--m-on); font-weight: 600; }
.cv .hh { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 4px 6px; }
.cv .hh b { font-size: 18px; line-height: 24px; font-weight: 700; }
.cv .hh small { font-size: 13px; color: var(--m-onv); }
.cv .yr { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px 0 12px; margin-top: 10px; border-radius: 16px; background: var(--m-low); font-weight: 700; font-size: 16px; line-height: 24px; }
.cv .yr span, .cv .mo span { display: flex; align-items: center; gap: 6px; }
.cv .mc { background: var(--m-low); border-radius: 16px; margin: 8px 0 0 14px; padding: 4px 0; }
.cv .mo { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 16px 0 12px; font-weight: 600; }
.cv .rows { margin: 0 16px 8px 21px; border-left: 2px solid var(--m-outV); }
.cv .mv { display: flex; align-items: center; gap: 12px; padding: 9px 8px 9px 14px; border-radius: 0 12px 12px 0; }
.cv .mv > img { width: 30px; height: 30px; flex: none; }
.cv .mm { flex: 1; min-width: 0; }
.cv .mm b { display: block; font-weight: 500; font-size: 15px; }
.cv .mm small, .cv .ma small { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: var(--m-onv); }
.cv .mm small img, .cv .ma small img { width: 14px; height: 14px; }
.cv .ma { text-align: right; }
.cv .ma b { font-weight: 600; white-space: nowrap; }
.cv .ma small { justify-content: flex-end; margin-top: 3px; }

/* ----- The phone's screens as tabs under it (canvas D): each fills its bar while it is on. After the coffee,
   Resumen and then Movimientos come on their own, once; a tab shows its screen and stops that. */
.tour { display: flex; justify-content: center; gap: 6px; margin: 20px auto 0; }
.tour button { position: relative; overflow: hidden; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid color-mix(in srgb, var(--pon) 28%, transparent);
  background: transparent; color: var(--pon); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.tour button:hover { background: color-mix(in srgb, var(--pon) 8%, transparent); }
.tour button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--ponPri); }
.tour button i { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: currentColor; opacity: .5; }
.tour button.run i { animation: tour-fill var(--d) linear forwards; }
@keyframes tour-fill { to { width: 100%; } }
.tour + figcaption { margin-top: 10px; }
/* The notes: one per screen, where the saved coffee was. Side by side only; stacked, the coffee card stays. */
.stage .res.note { display: none; }
@media (min-width: 900px) {
  .tour-on .res.note { display: block; opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none; }
  .stage[data-view="1"] .res[data-note="0"], .stage[data-view="2"] .res[data-note="0"] { opacity: 0; transform: translateY(18px) scale(.97); }
  .stage.scene-done[data-view="1"] .res[data-note="1"], .stage.scene-done[data-view="2"] .res[data-note="2"] { opacity: 1; transform: none; transition-delay: .5s; }
  /* Both in the empty lower part of their screen (the stage also holds the tabs and the caption below). */
  .stage .res[data-note="1"] { bottom: 214px; }
  .stage .res[data-note="2"] { bottom: 236px; }
}

/* ----- Caudal hero: one coffee followed from the keypad to the saved expense (owner, 2026-11-20).
   The card is the same 3,50 € once saved, laid over the phone. */
.stage { position: relative; margin: 0; justify-self: center; }
.stage .res { position: absolute; z-index: 4; left: -96px; bottom: 84px; width: 272px; padding: 12px 14px; border-radius: 18px; background: #F4FBFA; color: #06312C; font-size: 13px; font-variant-numeric: tabular-nums; box-shadow: 0 18px 40px rgba(0, 40, 36, .22), 0 2px 6px rgba(0, 40, 36, .12); }
.res .h { display: flex; justify-content: space-between; color: #1E4640; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.res .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.res .row img { width: 30px; height: 30px; padding: 4px; border-radius: 10px; background: color-mix(in srgb, #E8896B 22%, #F4FBFA); }
.res .row div { flex: 1; line-height: 1.25; }
.res .row b { display: block; }
.res .row small { color: #1E4640; }
.res .m { font-weight: 700; font-size: 17px; }
.res .new { display: inline-block; margin-top: 10px; padding: 2px 8px; border-radius: 8px; background: #CDEAE6; color: #04211D; font-size: 11px; font-weight: 700; }
.stage figcaption { max-width: 300px; margin: 16px auto 0; text-align: center; font-size: 14px; color: var(--pon); }
.stage figcaption small { display: block; margin-top: 2px; font-size: 12px; color: var(--ponv); }
@media (max-width: 899px) { .stage .res { position: relative; left: auto; bottom: auto; margin: -72px auto 0; } }
/* Over the keypad, so «Último», which now shows the coffee, stays in sight. */
@media (min-width: 900px) { .stage[data-scene="cafe"] .res { bottom: 150px; } }

/* Scenes played once by scene.js. Nothing here applies without .scene-play, so the still scene is the default.
   The dot is the finger: it glides to what it presses and shrinks a little on the press. */
.tap-dot { position: absolute; left: 50%; top: 50%; z-index: 5; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 2px rgba(0, 0, 0, .28), 0 4px 12px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: left .55s cubic-bezier(.22, 1, .36, 1), top .55s cubic-bezier(.22, 1, .36, 1), opacity .3s, transform .14s; }
.tap-dot.on { opacity: 1; }
.tap-dot.down { transform: scale(.78); }
.scene-play .press { transform: scale(.95); }
.scene-play .key, .scene-play .bt { transition: background-color .15s, transform .15s; }
.scene-play .key.press { background: var(--m-act); }
/* Caudal: the keypad fills in and «Comer fuera» saves it. As in the app, the amount goes back to zero, and
   «gastado hoy» and «Último» light up with the new expense; then the saved expense rises in. */
.scene-play .res { transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.scene-play:not(.scene-done) .res { opacity: 0; transform: translateY(18px); }
.scene-play .res .new { transition: opacity .3s ease; }
.res .new.wait { opacity: 0; }
.scene-play .tile { transition: background-color .2s, box-shadow .2s, transform .15s; }
.scene-play .flash { animation: scene-flash 1.2s ease-out; }
@keyframes scene-flash { 30% { box-shadow: 0 0 0 5px var(--m-act); background-color: color-mix(in srgb, var(--m-act) 45%, transparent); } }
.scene-play .amt.empty { color: var(--m-onv); opacity: .5; }
/* Clepsidra: «Ahora» fades out on the thing just done and back in on the next one. */
.scene-play .now { transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s; }
.scene-play .now.swap { opacity: 0; transform: translateY(-8px) scale(.985); }
.scene-play .row { transition: background-color .4s, color .4s; }
/* When the time is up the card asks, with the same edge as an insisting «sí o sí». */
.scene-play .now.ask { box-shadow: inset 0 0 0 2px #8A2346; animation: scene-ask 1.2s ease-in-out; }
@keyframes scene-ask { 0%, 100% { transform: none; } 15% { transform: translateX(-3px); } 30% { transform: translateX(3px); } 45% { transform: none; } }
.scene-play [data-clock] { font-weight: 700; color: var(--m-on); }
/* The meeting is struck off as it happens: the line draws itself from the left. */
.scene-play .row.done[data-prev] span:not(.t) { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left 55% / 100% 1px; animation: scene-strike .45s ease-out; }
@keyframes scene-strike { from { background-size: 0 1px; } }
/* A group («Sí o sí», «El día») comes forward slowly, a little out of the phone, and goes back. The screen
   stops clipping while the scene plays; its content ends well above the bottom, so nothing else spills. */
.m-clep .grp { display: flex; flex-direction: column; gap: 10px; margin: -6px; padding: 6px; border-radius: 16px; transform-origin: 50% 50%;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1), box-shadow 1s, background-color 1s; }
.scene-play .scr { overflow: visible; }
.scene-play .grp.zoom { position: relative; z-index: 2; transform: scale(1.18); background: var(--m-bg); box-shadow: 0 18px 44px rgba(58, 22, 10, .3); }
/* «Comprar termo» done: the circle fills with a tick and the name is struck off. */
.m-clep .must.done b { color: var(--m-onv); text-decoration: line-through; text-decoration-thickness: 1px; }
.m-clep .must.done i { position: relative; background: var(--m-pri); border-color: var(--m-pri); }
.m-clep .must.done i::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.scene-play .must.done b { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left 55% / 100% 1px; animation: scene-strike .45s ease-out; }
.scene-play .must i { transition: background-color .2s, border-color .2s; }
/* Being a purchase, it offers Caudal (v7: «Apuntar gasto en Caudal»), in Caudal's colours. */
.m-clep .bt.offer { background: #B9E2DF; color: #00695C; max-height: 36px; overflow: hidden; }
.scene-play .bt.offer { transition: max-height .4s, opacity .35s, margin .4s, transform .15s; }
.scene-play .bt.offer.hide { max-height: 0; opacity: 0; margin-top: -10px; }

/* ----- Clepsidra phone (Hoy), theme "Arcilla" */
.m-clep { --m-bg: #F0CDB9; --m-on: #3A160A; --m-onv: #6B3A26; --m-pri: #AE5332; --m-low: #FFF8F4; --m-high: #F8E3D7; --m-outV: #C99A82; --m-act: #EE9A72; }
/* The narrower phone (≤899px) is 40px shorter: tighter gaps keep «El día» inside the screen. */
@media (max-width: 899px) { .phone .scr.m-clep { gap: 7px; } }
.m-clep .hh { display: flex; justify-content: space-between; align-items: flex-start; }
.m-clep .hh b { display: block; font-size: 20px; font-weight: 800; }
.m-clep .hh small { color: var(--m-onv); font-size: 11px; }
.m-clep .hh .n { height: 22px; padding: 0 8px; border-radius: 11px; background: var(--m-low); font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.m-clep .now { background: var(--m-low); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.m-clep .eyb { font-size: 11px; color: var(--m-onv); font-weight: 600; }
.m-clep .ht { display: flex; align-items: center; gap: 10px; }
.m-clep .ht img { width: 34px; height: 34px; }
.m-clep .ht b { display: block; font-size: 19px; font-weight: 800; line-height: 1.1; }
.m-clep .ht small { color: var(--m-onv); font-size: 11px; }
.m-clep .bt { height: 36px; border-radius: 18px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--m-high); }
.m-clep .bt.p { background: var(--m-pri); color: #fff; }
.m-clep .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-clep .lk { text-align: center; color: var(--m-pri); font-weight: 700; font-size: 12px; }
.m-clep .sec-h { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; margin-top: 4px; }
.m-clep .sec-h small { font-weight: 600; color: var(--m-onv); font-size: 11px; }
.m-clep .must { display: flex; justify-content: space-between; align-items: center; background: var(--m-low); border-radius: 14px; padding: 8px 10px; }
.m-clep .must b { display: block; font-size: 13px; }
.m-clep .must small { color: var(--m-onv); font-size: 11px; }
.m-clep .must i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--m-outV); flex: none; }
.m-clep .must.ask { box-shadow: inset 3px 0 0 #8A2346; }
.m-clep .row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 12px; }
.m-clep .row .t { width: 36px; flex: none; color: var(--m-onv); font-weight: 600; }
.m-clep .row img { width: 20px; height: 20px; }
.m-clep .row span:not(.t) { flex: 1; font-weight: 600; }
.m-clep .row em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--m-onv); }
.m-clep .row.cur em { color: var(--m-pri); }
.m-clep .row.done span { color: var(--m-onv); text-decoration: line-through; text-decoration-thickness: 1px; }

/* ----- «Por dentro» (canvas D): tabs beside a browser frame with the web app's real screens, in the page's
   theme. The picture changes right next to the tab; the running tab fills its bar (visor.js). */
/* Side by side (owner, 2026-11-20: the screenshot read too small next to the tabs): the title and the tabs in a
   row, and the browser below, wider than the text column, so the web app reads near its real size. */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.pd h2 { max-width: 14ch; }
.pd-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
@media (min-width: 900px) {
  .pd-grid > div:first-child { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 48px; align-items: end; }
  .pd .kicker { grid-area: 1 / 1; align-self: start; } .pd h2 { grid-area: 2 / 1; }
  .pd-tabs { grid-area: 1 / 2 / 3 / 3; flex-direction: row; margin-top: 0; }
  .pd-tabs button { flex: 1 1 0; }
  .pd-pause { grid-area: 3 / 2; justify-self: end; margin-top: 12px; }
  /* As wide as fits, without being taller than the window (16:10 plus its bar). */
  .pd .browser { --w: min(1240px, 100vw - 48px, (100vh - 150px) * 1.6); margin: 28px calc(50% - var(--w) / 2) 0; }
}
.pd-tabs button { position: relative; display: block; width: 100%; padding: 14px 18px 18px; border: 0; border-radius: 18px; background: transparent; color: var(--on);
  font: inherit; text-align: left; cursor: pointer; transition: background-color .25s, box-shadow .25s; }
.pd-tabs button:hover { background: color-mix(in srgb, var(--low) 70%, transparent); }
.pd-tabs b { display: block; font-size: 17px; font-weight: 700; }
.pd-tabs span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--onv); }
.pd-tabs [aria-selected="true"] { background: var(--low); box-shadow: 0 0 0 1px var(--outV); }
.pd-tabs [aria-selected="true"] b { color: var(--ink); }
.pd-tabs i { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 2px; background: var(--outV); opacity: 0; overflow: hidden; }
.pd-tabs i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }
.pd-tabs .run i { opacity: 1; }
.pd-tabs .run i::after { animation: tour-fill var(--d) linear forwards; }
.pd-pause { margin-top: 18px; }
@media (min-width: 900px) { .pd-pause { margin-top: 12px; } }
.browser { border-radius: 18px; overflow: hidden; background: var(--lowest); box-shadow: 0 0 0 1px var(--outV), 0 30px 70px rgba(20, 30, 30, .18); }
.bbar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--high); border-bottom: 1px solid var(--outV); }
.bbar i { width: 11px; height: 11px; border-radius: 50%; background: var(--outV); }
.bbar span { flex: 1; margin-right: 47px; text-align: center; font-size: 12.5px; color: var(--onv); }
.shots { position: relative; aspect-ratio: 16 / 10; }
.shot { position: absolute; inset: 0; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; animation: pd-in .5s ease; }
.shot .dk, .show .browser .dk { display: none; }
@keyframes pd-in { from { opacity: 0; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .lt, :root:not([data-theme="light"]) .show .browser .lt { display: none; }
  :root:not([data-theme="light"]) .shot .dk, :root:not([data-theme="light"]) .show .browser .dk { display: block; }
}
:root[data-theme="dark"] .shot .lt, :root[data-theme="dark"] .show .browser .lt { display: none; }
:root[data-theme="dark"] .shot .dk, :root[data-theme="dark"] .show .browser .dk { display: block; }
@media (prefers-reduced-motion: reduce) { .shot img { animation: none; } }
/* Stacked: the picture goes between the title and the tabs, so it changes right above the tab you touch. */
@media (max-width: 899px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pd-grid > div:first-child { display: contents; }
  .pd .kicker { order: 1; } .pd h2 { order: 2; } .pd .browser { order: 3; margin-top: 24px; } .pd-tabs { order: 4; margin-top: 16px; } .pd-pause { order: 5; justify-self: start; }
  .pd-tabs span { font-size: 13px; }
}

/* ----- Caudal's ring (Resumen, «anillo»), as the app draws it; it sweeps in once seen (site.js .rv/.in). */
.cv .ring { display: block; width: 160px; height: 160px; margin: 4px auto 14px; }
.cv .ring circle { fill: none; stroke-width: 26; stroke-linecap: round; }
.cv .ring .trk0 { stroke: var(--m-high); stroke-linecap: butt; }
.in .cv .ring circle:not(.trk0) { animation: ring-in .7s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes ring-in { from { stroke-dasharray: 0 421; } }
.cv .legend { display: flex; flex-direction: column; gap: 8px; }
.cv .lg { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cv .lg i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cv .lg span { flex: 1; }
.cv .lg b { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .in .cv .ring circle { animation: none; } }

/* ----- Clepsidra's later screens (tabs under the phone): El día and the lock screen. Hidden until their tab. */
.m-clep { position: relative; }
.m-clep .cs { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; gap: 8px; padding: 34px 14px 14px; border-radius: 33px; background: var(--m-bg);
  opacity: 0; visibility: hidden; translate: 22px 0; scale: .985; transition: opacity .6s ease, translate .75s cubic-bezier(.22, 1, .36, 1), scale .75s cubic-bezier(.22, 1, .36, 1), visibility 0s .75s; }
.stage[data-view="1"] .cs.day, .stage[data-view="2"] .cs.lock { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
/* Each screen's rows come in one after the other as it comes on, so it reads as the phone turning to it. */
.stage[data-view="1"] .cs.day > *, .stage[data-view="2"] .cs.lock > * { animation: cs-in .6s cubic-bezier(.22, 1, .36, 1) backwards; }
.cs > :nth-child(2) { animation-delay: .08s !important; } .cs > :nth-child(3) { animation-delay: .16s !important; } .cs > :nth-child(4) { animation-delay: .24s !important; }
.cs > :nth-child(5) { animation-delay: .32s !important; } .cs > :nth-child(6) { animation-delay: .4s !important; } .cs > :nth-child(7) { animation-delay: .48s !important; }
@keyframes cs-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .stage .cs > * { animation: none !important; } }
.m-clep .cs .sec-h small { color: var(--m-pri); font-weight: 700; }
.m-clep .it { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 14px; background: var(--m-low); font-size: 12px; }
.m-clep .it .t { width: 36px; flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-clep .it img { width: 22px; height: 22px; }
.m-clep .it > span:not(.t) { flex: 1; min-width: 0; }
.m-clep .it b { display: block; font-size: 13px; font-weight: 700; }
.m-clep .it small { display: block; color: var(--m-onv); font-size: 11px; }
.m-clep .it em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; color: var(--m-onv); }
.m-clep .it.cur { box-shadow: inset 0 0 0 2px var(--m-pri); }
.m-clep .it.cur em { background: var(--m-pri); color: #fff; }
.m-clep .it.done b { color: var(--m-onv); text-decoration: line-through; text-decoration-thickness: 1px; }
/* The lock screen: the phone's own clock, a steady card for what runs and one for each thing that asks. */
.m-clep .cs.lock { gap: 10px; padding-top: 56px; background: linear-gradient(170deg, #6B3420, #2E1206 75%); color: #FFF4EC; }
.m-clep .lk { text-align: center; margin-bottom: 18px; }
.m-clep .lk b { display: block; font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.m-clep .lk small { display: block; margin-top: 6px; font-size: 12px; color: #F3D9C9; }
.m-clep .nt { padding: 10px 12px; border-radius: 18px; background: rgba(255, 248, 244, .94); color: var(--m-on); font-size: 12px; }
.m-clep .nt .ap { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--m-onv); }
.m-clep .nt .ap img { width: 14px; height: 14px; border-radius: 4px; }
.m-clep .nt .ap em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; color: #8A2346; }
.m-clep .nt b { display: block; margin-top: 4px; font-size: 14px; font-weight: 800; }
.m-clep .nt > span { display: block; color: var(--m-onv); }
.m-clep .nt .acts { display: flex; gap: 6px; margin-top: 8px; }
.m-clep .nt .acts span { flex: 1; padding: 6px 0; border-radius: 12px; background: var(--m-high); text-align: center; font-weight: 700; }
.m-clep .nt.ask { box-shadow: inset 3px 0 0 #8A2346; transition: opacity .35s, transform .35s, max-height .4s; max-height: 160px; }
.scene-play .nt.ask.pop { animation: nt-pop .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes nt-pop { 0% { transform: translateY(-16px) scale(.97); opacity: 0; } 55% { transform: translateY(2px); opacity: 1; } 100% { transform: none; } }
.scene-play .nt.ask.gone { opacity: 0; transform: translateX(40px); max-height: 0; padding-block: 0; margin-top: -10px; }
@media (prefers-reduced-motion: reduce) { .scene-play .nt.ask.pop { animation: none; } }
