/* =====================================================================
   Cobrao v0.18 · Bienvenida, primeros pasos, recorrido y hora del negocio
   ===================================================================== */

/* Mientras se configura la cuenta: sin barra de abajo ni Coby, la atención en un solo lugar */
body.appx.ob9 .topbar .wrap:last-child, body.appx.ob9 .cb-fab, body.appx.ob9 .cb-hint, body.appx.ob9 #tabs { display: none !important; }
body.appx.ob9 main { padding-bottom: 24px !important; }

/* ---------- Así funciona ---------- */
.in9 { position: relative; display: flex; flex-direction: column; min-height: calc(100dvh - 120px); padding: 8px 0 0; }
.in9.modal { min-height: 0; padding: 4px 0 0; }
.skip9 { position: absolute; top: 0; right: 0; appearance: none; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--muted); padding: 6px 4px; cursor: pointer; z-index: 2; }
.sl9 { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; animation: sl9in .35s cubic-bezier(.2,.9,.3,1) both; }
@keyframes sl9in { from { opacity: 0; transform: translateX(24px); } }
.iv9 { display: grid; place-items: center; min-height: 240px; padding: 26px 0 0; }
.in9.modal .iv9 { min-height: 200px; padding-top: 30px; }
.iv9.hello svg { filter: drop-shadow(0 18px 24px rgba(16,24,40,.18)); animation: fl9 4s ease-in-out infinite; }
@keyframes fl9 { 50% { transform: translateY(-8px); } }
.tx9 { text-align: center; padding: 0 6px; }
.tx9 h2 { font-size: 26px; letter-spacing: -0.02em; margin: 4px 0 8px; }
.tx9 p { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 0 auto; max-width: 340px; }
.st9 { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 99px; }
.dots9 { display: flex; justify-content: center; gap: 6px; margin: 18px 0 14px; }
.dots9 i { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 15%, transparent); transition: width .3s, background .3s; }
.dots9 i.on { width: 22px; background: var(--brand); }
.nav9 { display: flex; gap: 10px; padding-bottom: 8px; }
.nav9 .btn { padding-top: 14px; padding-bottom: 14px; font-size: 16px; }

/* Maquetas pequeñas de cada paso */
.m9 { width: min(300px, 86vw); background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 24px 50px -24px rgba(16,24,40,.35), 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent); animation: up9 .5s cubic-bezier(.2,.9,.3,1) .08s both; }
@keyframes up9 { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.m9 .a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; background: var(--brand); }
.m9 .a1 { background: var(--t3, #F0745C); } .m9 .a2 { background: var(--t4, #7A5AF8); }
.m9 .r { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }
.m9.list .r + .r { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.m9 .r b { display: block; font-size: 14px; }
.m9 .r span:not(.a) { display: block; font-size: 12px; color: var(--muted); }
.m9.wa { background: #E9F3EA; padding: 0; overflow: hidden; }
.m9.wa .wh { display: flex; align-items: center; gap: 10px; background: #0B6E4F; color: #fff; padding: 10px 12px; }
.m9.wa .wh .a { width: 28px; height: 28px; background: rgba(255,255,255,.25); font-size: 10px; }
.m9.wa .wh b { font-size: 14px; }
.m9.wa .bb { position: relative; margin: 14px 12px 16px; background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px 18px; font-size: 13.5px; line-height: 1.45; color: #1d2733; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.m9.wa .bb u { color: #0B6E4F; }
.m9.wa .bb i { position: absolute; right: 10px; bottom: 5px; font-style: normal; font-size: 10px; color: #8a96a3; }
.m9.wa.big { width: 100%; }
.m9.pay { text-align: center; }
.m9.pay .k { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.m9.pay .big { display: block; font-size: 30px; letter-spacing: -0.02em; margin: 2px 0 12px; }
.m9.pay .acc { background: var(--brand-soft); border-radius: 14px; padding: 10px; }
.m9.pay .acc span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.m9.pay .acc b { font-size: 14px; }
.m9.pay .up, .m9.ok .cf { margin-top: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 14px; border-radius: 12px; padding: 11px; text-align: center; }
.m9.ok .rc { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ok); text-align: center; background: var(--ok-soft); border-radius: 10px; padding: 7px; }
.m9.dash { display: flex; align-items: center; gap: 16px; }
.m9.dash .ring { --p: 70; width: 92px; height: 92px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--brand-soft) 0); }
.m9.dash .ring b { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; }
.m9.dash .nums { display: grid; gap: 10px; }
.m9.dash .nums span { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.m9.dash .nums b { font-size: 18px; }

/* ---------- Primeros pasos ---------- */
body.appx .fs9 { padding: 16px; display: grid; gap: 4px; box-shadow: 0 22px 44px -24px var(--glow5, rgba(16,24,40,.3)); background: rgba(255,255,255,.96); }
.fs9h { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.fs9h > div:first-child { flex: 1; }
.fs9h b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.fs9h span { font-size: 13px; color: var(--muted); }
.fs9p { width: 90px; height: 8px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.fs9p i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--pop)); transition: width .6s cubic-bezier(.2,.9,.3,1); }
.fs9r { appearance: none; border: 0; background: transparent; font: inherit; color: var(--ink); display: flex; align-items: center; gap: 12px; padding: 10px 2px; text-align: left; cursor: pointer; border-radius: 12px; }
.fs9r:active { background: var(--brand-soft); }
.fs9r .c9 { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--brand); border: 2px solid var(--brand-soft); }
.fs9r.ok .c9 { background: var(--ok); border-color: var(--ok); color: #fff; }
.fs9r .c9 svg { width: 16px; height: 16px; stroke-width: 3; }
.fs9r .m9t { flex: 1; min-width: 0; }
.fs9r .m9t b { display: block; font-size: 15px; }
.fs9r .m9t span { display: block; font-size: 12.5px; color: var(--muted); }
.fs9r.ok .m9t b { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.fs9r > svg { width: 16px; height: 16px; color: var(--muted); }
.lnk9 { appearance: none; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 0 0; cursor: pointer; justify-self: center; }
.pv9 { margin: 14px 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

/* ---------- Recorrido ---------- */
#tr9 { position: fixed; inset: 0; z-index: 60; }
.tr9-bg { position: absolute; inset: 0; }
.tr9-hole { position: absolute; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(16,24,40,.62); transition: all .35s cubic-bezier(.2,.9,.3,1); pointer-events: none; outline: 2px solid rgba(255,255,255,.85); outline-offset: 2px; }
.tr9-card { position: absolute; left: 16px; right: 16px; max-width: 380px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); animation: up9 .3s cubic-bezier(.2,.9,.3,1) both; }
.tr9-card b { display: block; font-size: 18px; margin-top: 4px; }
.tr9-card p { color: var(--muted); margin: 4px 0 14px; font-size: 15px; line-height: 1.4; }
.tr9-n { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
body.tr9-on .cb-hint { display: none; }

/* ---------- Hora del negocio ---------- */
body.appx .tz9 { appearance: none; border: 0; background: rgba(255,255,255,.18); color: #fff; font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; margin-top: 6px; cursor: pointer; order: 4; }

@media (prefers-reduced-motion: reduce) { .sl9, .m9, .tr9-card, .iv9.hello svg { animation: none; } .tr9-hole { transition: none; } }
.iv9.hello > * { margin: 0 auto; display: block; }
