/* Tipografías de marca: Raleway (cuerpo) incluida en el plugin. Títulos: “Delicate Caligraphy” si está instalada
   (licencia requerida; ver MANUAL.md); si no, se usa una serif elegante de respaldo. */
@font-face { font-family: "Raleway"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/raleway-300.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/raleway-400.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/raleway-600.woff2") format("woff2"); }
@font-face { font-family: "Delicate Caligraphy"; font-weight: 400; font-style: normal; font-display: swap; src: local("Delicate Caligraphy"), local("DelicateCaligraphy"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-500.woff2") format("woff2"); }
.cc-app { --cc-display: "Delicate Caligraphy", "Cormorant Garamond", Georgia, "Times New Roman", serif; }
.cc-app .cc-hello, .cc-app .cc-title, .cc-app .cc-brand, .cc-app .cc-brand-c { font-family: var(--cc-display); font-weight: 500; letter-spacing: .01em; }
.cc-app b, .cc-app strong, .cc-app .cc-btn, .cc-app label { font-weight: 600; }

/* HB Club – estilos (todo bajo .cc-app para no chocar con el tema) */
.cc-app, .cc-app * { box-sizing: border-box; }
.cc-app { --cc-ink:#2b2820; --cc-mut:#6e675b; --cc-line:color-mix(in srgb,var(--cc-c1,#585233) 14%,#fff); --cc-soft:color-mix(in srgb,var(--cc-c1,#585233) 6%,#fff); --cc-ok:#4d6b3a; --cc-bad:#9b3b32; --cc-warn:#a8741f;
  font-family: "Raleway",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; font-weight: 300; color: var(--cc-ink); line-height: 1.45; font-size: 16px; }
.cc-app [hidden], .cc-app[hidden] { display: none !important; }
.cc-app a { color: var(--cc-c1,#585233); }
.cc-app h2, .cc-app h3, .cc-app p, .cc-app ul { margin: 0; padding: 0; }
.cc-app ul { list-style: none; }
.cc-app small { color: var(--cc-mut); font-size: 12px; display: block; }

.cc-box { max-width: 460px; margin: 14px auto; padding: 18px 16px 22px; background: #fff; border-radius: 18px; box-shadow: 0 6px 28px rgba(0,0,0,.08); border: 1px solid var(--cc-line); }
.cc-box-wide { max-width: 720px; }
.cc-pub-head { text-align: center; margin-bottom: 6px; }
.cc-brand { font-weight: 800; font-size: 18px; color: var(--cc-ht,#2b2820); }
.cc-brand-c { font-size: 22px; }
.cc-logo { max-height: 40px; width: auto; }
.cc-logo-c { max-height: 64px; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cc-top-r { display: flex; align-items: center; gap: 12px; }
.cc-logout { font-size: 13px; text-decoration: none; color: var(--cc-mut) !important; padding: 8px 4px; }
.cc-hello { font-size: 22px; color: var(--cc-ht,#2b2820); margin: 8px 0 12px !important; }
.cc-title { font-size: 22px; text-align: center; margin: 10px 0 12px !important; color: var(--cc-ht,#2b2820); }
.cc-sub { text-align: center; color: var(--cc-mut); margin-bottom: 12px !important; }
.cc-h3 { font-size: 16px; margin: 18px 0 8px !important; }
.cc-hint { color: var(--cc-mut); font-size: 14px; margin: 10px 0 !important; }
.cc-center { text-align: center; }
.cc-upper { text-transform: uppercase; letter-spacing: 2px; }

.cc-bell { position: relative; background: none; border: 0; font-size: 22px; line-height: 1; padding: 8px; cursor: pointer; color: var(--cc-hi,#585233); }
.cc-bell-n { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: #9b3b32; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* formularios */
.cc-form label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 5px; }
.cc-form label small { display: inline; font-weight: 400; }
.cc-input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid color-mix(in srgb,var(--cc-c1,#585233) 26%,#fff); border-radius: 12px; font: inherit; background: #fff; color: var(--cc-ink); }
.cc-input:focus { outline: 0; border-color: var(--cc-c1,#585233); box-shadow: 0 0 0 3px rgba(88,82,51,.16); }
textarea.cc-input { min-height: 80px; resize: vertical; }
.cc-check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; margin: 14px 0 !important; }
.cc-check input { margin-top: 4px; width: 18px; height: 18px; }
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-links { text-align: center; font-size: 14px; margin-top: 16px !important; }
.cc-inline { display: flex; gap: 8px; align-items: stretch; margin: 6px 0; }
.cc-inline .cc-input { flex: 1; }

.cc-btn { display: block; width: 100%; min-height: 48px; padding: 12px 16px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--cc-c1,#585233); color: #fff !important; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: transform .08s, opacity .15s; }
.cc-btn:active { transform: scale(.98); }
.cc-btn:disabled { opacity: .45; cursor: not-allowed; }
.cc-btn-sm { display: inline-block; width: auto; min-height: 40px; margin-top: 10px; padding: 8px 14px; font-size: 14px; background: var(--cc-c1,#585233); }
.cc-btn-ghost { background: #fff; color: var(--cc-c1,#585233) !important; border: 1.5px solid var(--cc-c1,#585233); }
.cc-btn-wa { background: #4d6b3a; }
.cc-inline .cc-btn { width: auto; margin-top: 0; }

.cc-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0; border: 1px solid transparent; }
.cc-msg-info { background: #eceae4; color: #1e40af; border-color: #bfdbfe; }
.cc-msg-ok { background: #eef2e8; color: #3f5a2f; border-color: #bbf7d0; }
.cc-msg-err { background: #f7e9e6; color: #7d2f28; border-color: #e6c3be; }
.cc-msg-warn { background: #f3ede2; color: #9a3412; border-color: #ddcfb5; }
.cc-policies { white-space: normal; font-size: 15px; line-height: 1.6; margin: 10px 0; }
.cc-scroll { max-height: 280px; overflow-y: auto; border: 1px solid var(--cc-line); border-radius: 10px; padding: 10px; font-size: 14px; }
.cc-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* pestañas */
.cc-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 8px -4px 14px; padding: 4px; background: var(--cc-soft); border-radius: 14px; scrollbar-width: none; }
.cc-tabs::-webkit-scrollbar { display: none; }
.cc-tabs button { flex: 1 0 auto; position: relative; min-height: 44px; padding: 8px 14px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--cc-mut); cursor: pointer; white-space: nowrap; }
.cc-tabs button.is-on { background: #fff; color: var(--cc-c1,#585233); box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.cc-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 5px; padding: 0 5px; border-radius: 9px; background: #9b3b32; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }

/* tarjeta */
.cc-card { position: relative; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--c1,var(--cc-c1)), var(--c2,var(--cc-c2))); box-shadow: 0 12px 30px rgba(0,0,0,.22); overflow: hidden; }
.cc-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.cc-card small { color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: 1px; }
.cc-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.cc-chipgold { width: 42px; height: 30px; border-radius: 7px; background: linear-gradient(135deg,#e3d6ae,#d4a017); }
.cc-card-right { text-align: right; }
.cc-chip { display: inline-block; margin-top: 4px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 700; }
.cc-chip-new { border: 1px dashed rgba(255,255,255,.6); background: transparent; }
.cc-card-num { margin: 16px 0 12px; font-family: ui-monospace,Menlo,Consolas,monospace; letter-spacing: 3px; font-size: 17px; opacity: .92; }
.cc-grid { display: grid; grid-template-columns: repeat(var(--cols,4), 1fr); gap: 8px; margin-bottom: 14px; }
.cc-slot { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255,255,255,.4); color: rgba(255,255,255,.55); font-weight: 700; font-size: 14px; background: rgba(255,255,255,.07); }
.cc-slot.is-filled { background: #f3ede2; border: 2px solid #fff; animation: cc-pop .35s ease; }
.cc-slot.is-filled img { width: 74%; height: 74%; object-fit: contain; }
.cc-slot img { width: 60%; height: 60%; object-fit: contain; }
.cc-slot.is-prize { border-color: #e3d6ae; color: #e3d6ae; font-size: 20px; }
@keyframes cc-pop { from { transform: scale(.4); } to { transform: scale(1); } }
.cc-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.cc-card-foot b { display: block; font-size: 14px; letter-spacing: .5px; }
.cc-right { text-align: right; }
.cc-stars { font-size: 13px; letter-spacing: 2px; margin-top: 3px; }
.cc-progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); margin-top: 14px; overflow: hidden; }
.cc-progress i { display: block; height: 100%; background: linear-gradient(90deg,#e3d6ae,#b8862c); border-radius: 99px; transition: width .6s; }
.cc-progress-lt { background: color-mix(in srgb,var(--cc-c1,#585233) 13%,#fff); }
.cc-share { margin-top: 16px; padding: 14px; border: 1.5px dashed #e7c9a6; border-radius: 16px; background: #f6f3ec; text-align: center; }
.cc-share p { font-size: 14px; color: var(--cc-mut); margin-top: 3px; }
.cc-acts li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-bottom: 1px solid var(--cc-line); border-radius: 10px; }
.cc-acts li.is-new { background: #f3ede2; }
.cc-acts b { display: block; font-size: 14px; }
.cc-ico { font-size: 20px; line-height: 1.2; }

/* ruleta */
.cc-wheel-box { position: relative; width: 100%; max-width: 340px; margin: 10px auto 6px; }
.cc-wheel-box canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.25); will-change: transform; }
.cc-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid #111827; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.cc-spinbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.cc-spinbar .cc-btn { width: auto; min-width: 150px; margin-top: 0; font-size: 18px; }
.cc-box-soft { margin: 14px 0; padding: 14px; background: var(--cc-soft); border: 1px solid var(--cc-line); border-radius: 14px; font-size: 14px; }
.cc-box-soft > b { display: block; margin-bottom: 6px; font-size: 15px; }
.cc-box-soft p { margin: 6px 0; }
.cc-prizes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 10px; }
.cc-prizes li { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.cc-prizes i { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* cupones */
.cc-coupon { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; margin-bottom: 10px; border: 1.5px dashed var(--cc-c1,#585233); border-radius: 14px; background: #fff; }
.cc-coupon.is-pending { border-color: #b8862c; background: #f5efe0; }
.cc-coupon.is-expired, .cc-coupon.is-redeemed, .cc-coupon.is-cancelled { opacity: .55; border-color: #cbd5e1; filter: grayscale(.6); }
.cc-coupon b { display: block; }
.cc-coupon-r { text-align: right; flex: none; }
.cc-code { display: block; font-family: ui-monospace,Menlo,Consolas,monospace; font-weight: 800; font-size: 18px; letter-spacing: 2px; }
.cc-tag { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.cc-tag-ok { background: #e8eddf; color: #3f5a2f; } .cc-tag-warn { background: #efe6cf; color: #6b4a15; } .cc-tag-off { background: #d9d5cc; color: #4b5563; }
.cc-rules li { padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--cc-line); }

/* modales y avisos */
.cc-modal, .cc-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(15,23,42,.72); display: flex; align-items: center; justify-content: center; padding: 18px; }
.cc-modal-box { width: 100%; max-width: 380px; max-height: 90vh; overflow-y: auto; padding: 22px 18px; background: #fff; border-radius: 20px; text-align: center; animation: cc-pop .25s ease; }
.cc-modal-box h3 { font-size: 20px; margin-bottom: 8px; }
.cc-confirm-msg { margin-bottom: 8px; font-size: 16px; }
.cc-bigico { font-size: 56px; line-height: 1; margin-bottom: 6px; }
.cc-prize-name { font-size: 20px; font-weight: 800; color: var(--cc-c1,#585233); margin: 4px 0 10px !important; }
.cc-code-big { display: inline-block; font-family: ui-monospace,Menlo,Consolas,monospace; font-weight: 800; font-size: 28px; letter-spacing: 4px; padding: 8px 16px; border: 2px dashed var(--cc-c1,#585233); border-radius: 12px; }
.cc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); max-width: 92vw; padding: 12px 18px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; z-index: 100001; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.cc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cc-toast.is-ok { background: #3f5a2f; } .cc-toast.is-err { background: #585233; }

/* personal / gerencia */
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--cc-line); font-size: 14px; }
.cc-row:last-child { border-bottom: 0; }
.cc-row.is-me { background: #f3ede2; margin: 0 -8px; padding: 10px 8px; border-radius: 8px; }
.cc-row.is-void, tr.is-void { opacity: .5; text-decoration: line-through; }
.cc-wa { flex: none; padding: 8px 12px; border-radius: 99px; background: #4d6b3a; color: #fff !important; text-decoration: none; font-size: 13px; font-weight: 700; }
.cc-pick { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 12px 14px; border: 1.5px solid var(--cc-line); border-radius: 12px; background: #fff; font: inherit; cursor: pointer; }
.cc-pick b { display: block; }
.cc-cv { margin-top: 14px; padding: 14px; border: 1.5px solid var(--cc-line); border-radius: 16px; background: #fff; }
.cc-cv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc-cv-head b { font-size: 18px; }
.cc-cv-n { font-size: 26px; font-weight: 800; color: var(--cc-c1,#585233); }
.cc-cv-dots { display: flex; gap: 5px; margin: 10px 0; flex-wrap: wrap; }
.cc-cv-dots i { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb,var(--cc-c1,#585233) 13%,#fff); }
.cc-cv-dots i.on { background: #b8862c; }
.cc-cv-info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--cc-mut); margin-bottom: 8px; }
.cc-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0; }
.cc-kpi { padding: 14px 12px; border-radius: 14px; background: var(--cc-soft); border: 1px solid var(--cc-line); text-align: center; }
.cc-kpi b { display: block; font-size: 22px; line-height: 1.2; color: var(--cc-ht,#2b2820); word-break: break-word; }
.cc-kpi span { font-size: 12px; color: var(--cc-mut); }
.cc-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: 10px; }
.cc-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.cc-bar i { position: relative; width: 100%; min-height: 3px; background: var(--cc-c1,#585233); border-radius: 5px 5px 0 0; }
.cc-bar em { position: absolute; top: -16px; left: 0; right: 0; text-align: center; font-size: 10px; font-style: normal; color: var(--cc-mut); }
.cc-bar span { font-size: 10px; color: var(--cc-mut); margin-top: 3px; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.cc-table th { text-align: left; padding: 8px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--cc-mut); border-bottom: 2px solid var(--cc-line); white-space: nowrap; }
.cc-table td { padding: 9px 6px; border-bottom: 1px solid var(--cc-line); vertical-align: top; }
.cc-mini { padding: 7px 12px; border: 1.5px solid var(--cc-line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 36px; }
.cc-mini.cc-ok { color: var(--cc-ok); border-color: var(--cc-ok); } .cc-mini.cc-bad { color: var(--cc-bad); border-color: var(--cc-bad); }
#cc-qr { display: block; margin: 8px auto 10px; border-radius: 12px; border: 1px solid var(--cc-line); max-width: 100%; }
.cc-bell-inline { display: inline-block; }
.cc-pubrev { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.cc-pubrev-i { padding: 14px; background: #fff; border: 1px solid var(--cc-line); border-radius: 14px; }
.cc-pubrev-h { display: flex; justify-content: space-between; margin-bottom: 6px; }

@media (min-width: 640px) { .cc-kpis { grid-template-columns: repeat(4, 1fr); } .cc-box { padding: 24px 24px 28px; } }
@media (prefers-reduced-motion: reduce) { .cc-app * { animation: none !important; transition: none !important; } }

/* ---------- Banner rotativo ---------- */
.cc-banner { position: relative; max-width: 1100px; margin: 0 auto 14px; border-radius: 16px; overflow: hidden; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); aspect-ratio: var(--cc-ratio,16/7); touch-action: pan-y; }
.cc-box .cc-banner { margin: 0 0 14px; border-radius: 14px; }
.cc-bn-track { position: absolute; inset: 0; }
.cc-bn-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; text-decoration: none; }
.cc-bn-slide.is-on { opacity: 1; visibility: visible; }
.cc-bn-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.cc-bn-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.cc-bn-cap b { display: block; font-size: 19px; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.cc-bn-cap small { color: #edecE8; font-size: 13px; margin-top: 2px; }
.cc-bn-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; z-index: 2; }
.cc-bn-prev { left: 8px; } .cc-bn-next { right: 8px; }
.cc-bn-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.cc-bn-cap + .cc-bn-dots { bottom: 6px; }
.cc-bn-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.cc-bn-dot.is-on { background: #fff; transform: scale(1.25); }
@media (hover: none) { .cc-bn-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .cc-bn-slide { transition: none; } }

/* ---------- Marca ---------- */
.cc-logo-wrap { display: inline-flex; align-items: center; gap: 10px; }
.cc-logo { height: auto; }
.cc-tagline { color: var(--cc-mut); font-size: 14px; margin-top: 2px !important; }
.cc-logo-link { display: inline-block; text-align: center; text-decoration: none; }

/* ---------- Escáner QR ---------- */
.cc-scanbar { margin-top: 12px; }
.cc-scanbar .cc-btn { flex: 1; }
.cc-scanhint { text-align: center; margin-top: 2px !important; }
.cc-btn-scan { margin-bottom: 0; }
.cc-scan-ov .cc-modal-box { max-width: 420px; }
.cc-scan-title { text-align: center; margin: 0 0 10px; font-size: 18px; }
.cc-scan-view { position: relative; width: 100%; aspect-ratio: 1; background: #111; border-radius: 14px; overflow: hidden; }
.cc-scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-scan-frame { position: absolute; inset: 16%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.cc-scan-msg { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; padding: 8px 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; text-align: center; border-radius: 10px; z-index: 2; }
.cc-scan-file { display: block; text-align: center; cursor: pointer; }
#cc-myqr-c { width: 260px; max-width: 100%; height: auto; border: 1px solid var(--cc-line); border-radius: 12px; margin: 6px 0; }

/* ---------- Invitaciones ---------- */
.cc-kpis3 { grid-template-columns: repeat(3, 1fr) !important; }
.cc-steps { margin: 8px 0 8px 20px !important; padding: 0; text-align: left; }
.cc-steps li { margin: 4px 0; }
#cc-ref-qr { width: 200px; max-width: 100%; height: auto; border: 1px solid var(--cc-line); border-radius: 12px; margin: 8px 0; }
.cc-share .cc-btn-ghost { margin-top: 8px; }

/* ---------- Pantalla completa (sin tema) ---------- */
body.cc-sa { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-family: "Raleway",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; font-weight: 300; -webkit-text-size-adjust: 100%; }
body.cc-sa-public { background: linear-gradient(160deg, var(--cc-c1,#585233) 0%, var(--cc-c2,#3b3722) 100%); background-attachment: fixed; }
body.cc-sa-panel { background: #f6f1ea; }
.cc-sa-main { flex: 1; padding: max(14px, env(safe-area-inset-top)) 12px 8px; display: flex; flex-direction: column; justify-content: center; }
.cc-sa-panel .cc-sa-main { justify-content: flex-start; }
.cc-sa-main > .cc-app { width: 100%; }
.cc-sa .cc-box { margin: 10px auto; box-shadow: 0 14px 44px rgba(0,0,0,.22); border: 0; }
.cc-sa-panel .cc-box { box-shadow: 0 6px 24px rgba(0,0,0,.08); border: 1px solid var(--cc-line); }
.cc-sa-foot { text-align: center; font-size: 12px; padding: 10px 12px max(14px, env(safe-area-inset-bottom)); color: rgba(255,255,255,.8); }
.cc-sa-panel .cc-sa-foot { color: #9a8f83; }
.cc-sa .cc-pub-head { padding: 4px 0 2px; }

/* =====================================================================
   Diseño de app nativa (pantalla completa): barra superior, navegación
   inferior con botón central de escáner, burbuja de instalación
   ===================================================================== */
.cc-i { display: block; flex: none; }
.cc-tabs .cc-i { display: none; }
.cc-menu-i .cc-i, .cc-quick .cc-i, .cc-list-menu .cc-i, .cc-bell .cc-i, .cc-btn-scan .cc-i { display: inline-block; }

/* Barra superior */
.cc-top { position: relative; }
.cc-top-r { position: relative; }
.cc-avatar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: linear-gradient(145deg, var(--cc-c1,#585233), var(--cc-c2,#3b3722)); color: #fff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.cc-bell .cc-i { width: 24px; height: 24px; }
.cc-menu { position: absolute; right: 0; top: 46px; z-index: 9500; min-width: 220px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.05); }
.cc-menu-name { padding: 8px 10px 10px; font-weight: 700; border-bottom: 1px solid var(--cc-line); margin-bottom: 6px; }
.cc-menu-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 15px; color: var(--cc-ink) !important; text-decoration: none; cursor: pointer; text-align: left; }
.cc-menu-i:hover, .cc-menu-i:active { background: var(--cc-soft); }
.cc-menu-i .cc-i { width: 20px; height: 20px; color: var(--cc-mut); }

/* Accesos rápidos (Inicio del cliente) */
.cc-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 4px; }
.cc-quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.06); font: inherit; font-size: 13px; font-weight: 600; color: var(--cc-ink); cursor: pointer; }
.cc-quick button:active { transform: scale(.97); }
.cc-quick .cc-i { width: 26px; height: 26px; color: var(--cc-c1,#585233); }
.cc-list-menu { display: grid; gap: 10px; }
.cc-list-menu > * { display: flex; align-items: center; gap: 14px; padding: 16px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); font: inherit; font-size: 16px; font-weight: 600; color: var(--cc-ink) !important; text-decoration: none; cursor: pointer; text-align: left; }
.cc-list-menu .cc-i { width: 22px; height: 22px; color: var(--cc-c1,#585233); }

/* Panel como app */
body.cc-sa-panel { background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
body.cc-sa-panel .cc-sa-main { padding: 0; display: block; }
body.cc-sa-panel .cc-sa-foot { display: none; }
body.cc-sa-panel .cc-box { max-width: 560px; margin: 0 auto; padding: 0 0 calc(104px + env(safe-area-inset-bottom)); background: transparent; border: 0; border-radius: 0; box-shadow: none; min-height: 100vh; min-height: 100dvh; }
body.cc-sa-panel .cc-box-wide { max-width: 760px; }
body.cc-sa-panel .cc-top { position: sticky; top: 0; z-index: 8000; margin: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(0,0,0,.06); }
body.cc-sa-panel .cc-hello { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 18px 16px 6px !important; }
body.cc-sa-panel .cc-pane { padding: 6px 16px 0; animation: cc-fade .2s ease; }
body.cc-sa-panel .cc-msg { margin-left: 16px; margin-right: 16px; }
body.cc-sa-panel .cc-box-soft { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); }
@keyframes cc-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Navegación inferior */
.cc-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 0; max-width: 560px; margin: 0 auto !important; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 -10px 30px rgba(0,0,0,.07); overflow: visible; scrollbar-width: none; }
.cc-box-wide .cc-bottomnav { max-width: 760px; }
.cc-bottomnav button[data-tab] { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-height: 52px; padding: 6px 2px 2px; border: 0; background: none; box-shadow: none; border-radius: 12px; color: #8a8580; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; -webkit-user-select: none; user-select: none; }
.cc-bottomnav button[data-tab].is-on { background: none; box-shadow: none; color: var(--cc-c1,#585233); }
.cc-bottomnav .cc-ni { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 30px; border-radius: 15px; transition: background .18s; }
.cc-bottomnav .cc-ni .cc-i { display: block; width: 24px; height: 24px; }
.cc-bottomnav button.is-on .cc-ni { background: color-mix(in srgb, var(--cc-c1,#585233) 13%, transparent); }
.cc-bottomnav .cc-nl { line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cc-bottomnav .cc-dot { position: absolute; top: -4px; right: 2px; margin: 0; min-width: 17px; height: 17px; font-size: 10px; border: 2px solid #fff; box-sizing: content-box; }
.cc-bottomnav.has-fab { grid-auto-columns: 1fr; }
.cc-bottomnav .cc-fab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 52px; padding: 0 2px 2px; border: 0; background: none; color: var(--cc-c1,#585233); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; -webkit-user-select: none; user-select: none; }
.cc-bottomnav .cc-fab-c { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--cc-c1,#585233), var(--cc-c2,#3b3722)); border: 5px solid color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); box-shadow: 0 10px 24px color-mix(in srgb, var(--cc-c1,#585233) 45%, transparent); transition: transform .15s; }
.cc-bottomnav .cc-fab:active .cc-fab-c { transform: translateX(-50%) scale(.93); }
.cc-bottomnav .cc-fab-c .cc-i { display: block; width: 28px; height: 28px; stroke-width: 2.1; }
.cc-bottomnav .cc-fab-l { margin-top: 24px; line-height: 1.1; }
.cc-bottomnav button:focus-visible, .cc-fab:focus-visible, .cc-avatar:focus-visible, .cc-quick button:focus-visible { outline: 3px solid color-mix(in srgb, var(--cc-c1,#585233) 55%, #fff); outline-offset: 2px; }

/* El escáner y modales por encima de la barra */
.cc-overlay, .cc-modal { z-index: 99999; }
.cc-toast { bottom: calc(100px + env(safe-area-inset-bottom)); }

/* Burbuja "Instalar app" */
.cc-a2hs { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 9800; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 20px; background: #1f1d1b; color: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.35); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.9,.3,1.2); }
.cc-a2hs.is-on { opacity: 1; transform: none; }
.cc-a2hs.is-panel { bottom: calc(96px + env(safe-area-inset-bottom)); }
.cc-a2hs-t { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: #d6d2cd; }
.cc-a2hs-t b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.cc-a2hs-t span b { display: inline; font-size: inherit; margin: 0; }
.cc-a2hs-go { flex: none; padding: 11px 18px; border: 0; border-radius: 12px; background: #fff; color: #1f1d1b; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.cc-a2hs-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.cc-a2hs-arrow { position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: #1f1d1b; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.cc-a2hs.is-ios.is-panel { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .cc-a2hs, body.cc-sa-panel .cc-pane { transition: none; animation: none; } }
@media (display-mode: standalone) { .cc-a2hs { display: none !important; } }

/* Tarjeta de lealtad y piezas de Inicio con más aire */
body.cc-sa-panel .cc-card { border-radius: 24px; }
body.cc-sa-panel .cc-banner { margin: 6px 0 14px; border-radius: 20px; }
body.cc-sa-panel .cc-share { border-radius: 18px; }
.cc-box:has(> .cc-bottomnav) { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ------------------------------ v1.5 hero con video de fondo ------------------------------ */
.cc-hero { position: relative; margin: 0 0 14px; overflow: hidden; border-radius: 16px; background: #1b110c; color: #fff; height: clamp(260px, 44vh, 440px); height: clamp(260px, 44svh, 440px); isolation: isolate; }
.cc-hero-short { height: clamp(190px, 30svh, 300px); }
.cc-hero-tall { height: clamp(340px, 62svh, 600px); }
.cc-hero-track, .cc-hero-slide { position: absolute; inset: 0; }
.cc-hero-slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cc-hero-slide.is-on { opacity: 1; visibility: visible; }
.cc-hero-p, .cc-hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #1b110c; user-select: none; -webkit-user-drag: none; }
.cc-hero-v { opacity: 0; transition: opacity .6s ease; }
.cc-hero-slide.is-playing .cc-hero-v { opacity: 1; }
.cc-hero-shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,calc(var(--cc-ov,.35) * .9)) 0%, rgba(0,0,0,calc(var(--cc-ov,.35) * .25)) 38%, rgba(0,0,0,calc(var(--cc-ov,.35) + .3)) 100%); }
.cc-hero-hi { position: absolute; z-index: 2; left: 18px; right: 70px; top: 18px; margin: 0 !important; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.cc-hero-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 20px 74px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cc-hero-cap b { font-size: clamp(26px, 8vw, 36px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.55); max-width: 92%; }
.cc-hero-cap span { font-size: 15px; line-height: 1.3; color: #fff; opacity: .95; text-shadow: 0 1px 6px rgba(0,0,0,.55); max-width: 88%; }
.cc-app .cc-hero-cta { display: inline-block; margin-top: 8px; padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--cc-c1,#585233); font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.cc-hero-pp { position: absolute; z-index: 3; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.38); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-hero-pp::before { content: ""; display: block; margin: auto; width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.cc-hero-pp.is-paused::before { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 13px; }
.cc-hero-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 52px; display: flex; justify-content: center; gap: 6px; }
.cc-hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.cc-hero-dot.is-on { width: 22px; background: #fff; }
body.cc-sa-panel .cc-pane .cc-hero { margin: -6px -16px 0; border-radius: 0 0 28px 28px; }
body.cc-sa-panel .cc-quick-float { position: relative; z-index: 4; margin: -46px 0 16px; }
body.cc-sa-panel .cc-quick-float button { box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 1px 0 rgba(0,0,0,.04); }
@media (prefers-reduced-motion: reduce) { .cc-hero-slide, .cc-hero-v, .cc-hero-dot { transition: none; } }

/* ------------------------------ v1.6 inicio público, ventana y registro por pasos ------------------------------ */
.cc-btn-top { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--cc-c1,#585233); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.cc-hero-plain { background: linear-gradient(150deg, var(--cc-c1,#585233), var(--cc-c2,#3b3722)); }
.cc-hero-plain .cc-hero-cap { padding-bottom: 80px; }
.cc-vcta { background: #fff; border-radius: 22px; padding: 18px 18px 14px; text-align: center; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.cc-vcta b { display: block; font-size: 18px; color: var(--cc-ink); }
.cc-vcta small { margin: 2px 0 2px; }
.cc-vcta .cc-btn { margin-top: 10px; }
.cc-app a.cc-vlogin, .cc-vlogin { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--cc-c1,#585233); }
body.cc-sa-panel .cc-vcta.cc-quick-float { margin-bottom: 14px; }
.cc-mesa-card { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--cc-c1,#585233) 10%, #fff); border: 1.5px solid color-mix(in srgb, var(--cc-c1,#585233) 28%, #fff); }
.cc-mesa-card b { display: block; font-size: 15px; }
.cc-mesa-n { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 16px; background: var(--cc-c1,#585233); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.cc-mesa-n .cc-i { width: 22px; height: 22px; }
.cc-vben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.cc-vben > div { background: #fff; border-radius: 18px; padding: 12px 8px; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); }
.cc-vben b { display: block; font-size: 12.5px; line-height: 1.2; margin: 6px 0 3px; color: var(--cc-ink); }
.cc-vben small { font-size: 11px; line-height: 1.25; }
.cc-vi { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 14px; color: var(--cc-c1,#585233); background: color-mix(in srgb, var(--cc-c1,#585233) 11%, #fff); }
.cc-vi .cc-i { width: 22px; height: 22px; }
.cc-vsample { position: relative; margin-bottom: 8px; border-radius: 24px; overflow: hidden; }
.cc-card-locked { filter: saturate(.8); pointer-events: none; }
.cc-lockov { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff !important; text-decoration: none; background: rgba(20,12,10,.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cc-lockov b { font-size: 18px; }
.cc-lockov small { color: rgba(255,255,255,.85); font-size: 12px; letter-spacing: 0; }
.cc-lockov > span { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.55); margin-bottom: 4px; }
.cc-lockov .cc-i { width: 22px; height: 22px; }
.cc-vnav a:not(.cc-fab) { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-height: 52px; padding: 6px 2px 2px; border-radius: 12px; color: #8a8580 !important; font-size: 11px; font-weight: 600; text-decoration: none; }
.cc-vnav a.cc-fab { text-decoration: none; }
.cc-lk { position: absolute; right: 8px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: #8a8580; box-shadow: 0 0 0 1.5px #e7e2dc; }
.cc-lk .cc-i { width: 9px; height: 9px; stroke-width: 2.6; }

/* ventana emergente (hoja inferior) */
.cc-sheet { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: flex-end; justify-content: center; }
.cc-sheet[hidden] { display: none; }
.cc-sheet-bd { position: absolute; inset: 0; background: rgba(15,10,8,.55); opacity: 0; transition: opacity .3s; }
.cc-sheet-box { position: relative; width: 100%; max-width: 560px; padding: 12px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; text-align: center; transform: translateY(105%); transition: transform .42s cubic-bezier(.2,.9,.25,1); box-shadow: 0 -16px 50px rgba(0,0,0,.3); }
.cc-sheet.is-on .cc-sheet-bd { opacity: 1; }
.cc-sheet.is-on .cc-sheet-box { transform: none; }
.cc-sheet-grab { display: block; width: 42px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #e0dbd4; }
.cc-sheet-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); color: #6e675b; font-size: 22px; line-height: 1; cursor: pointer; }
.cc-sheet-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--cc-c1,#585233), var(--cc-c2,#3b3722)); box-shadow: 0 10px 24px color-mix(in srgb, var(--cc-c1,#585233) 40%, transparent); }
.cc-sheet-ico .cc-i { width: 32px; height: 32px; }
.cc-sheet-box h3 { font-size: 21px; line-height: 1.2; margin: 4px 0 6px; color: var(--cc-ink); }
.cc-sheet-box p { margin: 0 0 6px !important; color: var(--cc-mut); font-size: 15px; line-height: 1.4; }

/* registro por pasos */
.cc-wskip { display: block; width: 100%; margin: 10px 0 0; padding: 10px; border: 0; background: none; color: var(--cc-mut); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cc-wtop { display: none; }
.cc-wiz.is-js .cc-wtop { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.cc-wback { flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); color: var(--cc-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.cc-wback[hidden] { display: none; }
.cc-wbar { flex: 1; height: 8px; border-radius: 6px; background: color-mix(in srgb,var(--cc-c1,#585233) 14%,#fff); overflow: hidden; }
.cc-wbar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--cc-c1,#585233), var(--cc-c2,#3b3722)); transition: width .35s ease; }
.cc-wcount { flex: none; font-size: 12px; font-weight: 700; color: var(--cc-mut); min-width: 30px; text-align: right; }
.cc-wiz.is-js .cc-wstep { display: none; }
.cc-wiz.is-js .cc-wstep.is-on { display: block; animation: cc-wslide .32s ease; }
@keyframes cc-wslide { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.cc-wiz.is-js .cc-wstep.is-back { animation-name: cc-wslideb; }
@keyframes cc-wslideb { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
.cc-wstep h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 4px; color: var(--cc-ink); }
.cc-wstep .cc-hint { margin: 0 0 14px !important; }
.cc-wstep .cc-input { font-size: 18px; min-height: 54px; }
.cc-wstep .cc-input.is-bad { border-color: var(--cc-bad); box-shadow: 0 0 0 3px rgba(220,38,38,.14); }
.cc-werr { margin: 6px 2px 0; color: var(--cc-bad); font-size: 13px; font-weight: 600; }
.cc-wchoice { display: grid; gap: 10px; }
.cc-wchoice .cc-btn { margin-top: 0; }
.cc-wphone { margin-top: 14px; }
.cc-more { margin: 14px 0 4px; padding: 10px 12px; border: 1px dashed color-mix(in srgb,var(--cc-c1,#585233) 26%,#fff); border-radius: 14px; background: color-mix(in srgb,var(--cc-c1,#585233) 6%,#fff); }
.cc-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--cc-mut); }
@media (prefers-reduced-motion: reduce) { .cc-wiz.is-js .cc-wstep.is-on, .cc-sheet-box, .cc-sheet-bd, .cc-wbar i { animation: none; transition: none; } }

.cc-w-late .cc-sub, .cc-w-late .cc-msg-info, .cc-w-late .cc-msg-ok { display: none; }

/* ------------------------------ v1.7 barras oscuras (color configurable) ------------------------------ */
body.cc-sa-panel .cc-top { background: var(--cc-bar,#24210f); color: var(--cc-bar-fg,#fff); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 18px rgba(0,0,0,.18); }
body.cc-sa-panel .cc-top .cc-brand { color: var(--cc-bar-fg,#fff); }
body.cc-sa-panel .cc-top .cc-bell { color: var(--cc-bar-fg,#fff); }
body.cc-sa-panel .cc-top .cc-bell-n { border: 2px solid var(--cc-bar,#24210f); box-sizing: content-box; }
body.cc-sa-panel .cc-menu { color: var(--cc-ink); }
.cc-bottomnav { background: var(--cc-bar,#24210f); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 -1px 0 rgba(255,255,255,.05), 0 -10px 30px rgba(0,0,0,.25); }
.cc-bottomnav button[data-tab], .cc-vnav a:not(.cc-fab) { color: var(--cc-bar-mut,#9b9792) !important; }
.cc-bottomnav button[data-tab].is-on, .cc-vnav a.is-on:not(.cc-fab) { color: var(--cc-bar-fg,#fff) !important; }
.cc-bottomnav button.is-on .cc-ni { background: var(--cc-c1,#585233); color: #fff; }
.cc-bottomnav .cc-fab { color: var(--cc-bar-fg,#fff); }
.cc-bottomnav .cc-fab-c { border-color: var(--cc-bar,#24210f); box-shadow: 0 8px 22px color-mix(in srgb, var(--cc-c1,#585233) 55%, transparent); }
.cc-bottomnav .cc-dot { border-color: var(--cc-bar,#24210f); }
.cc-lk { background: var(--cc-bar,#24210f); color: var(--cc-bar-mut,#9b9792); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--cc-bar-fg,#fff) 25%, var(--cc-bar,#24210f)); }
.cc-a2hs { border: 1px solid rgba(255,255,255,.12); }
.cc-bottomnav button:focus-visible, .cc-fab:focus-visible { outline-color: color-mix(in srgb, var(--cc-bar-fg,#fff) 70%, transparent); }

/* ------------------------------ v1.7 promoción del día ------------------------------ */
.cc-promo { margin: 0 -16px 16px; }
.cc-promo-h { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.cc-promo-t { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--cc-ink); }
.cc-bolt { display: inline-flex; color: var(--cc-c1,#585233); }
.cc-bolt .cc-i { width: 24px; height: 24px; fill: currentColor; stroke-width: 1.4; }
.cc-promo-track { display: flex; gap: 12px; padding: 4px 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cc-promo-track::-webkit-scrollbar { display: none; }
.cc-pcard { flex: 0 0 min(46vw, 200px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 0 0 12px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(0,0,0,.08); text-align: left; font: inherit; color: var(--cc-ink); cursor: pointer; overflow: hidden; }
.cc-pcard:active { transform: scale(.98); }
.cc-pimg { position: relative; display: block; aspect-ratio: 1; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); }
.cc-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-poff { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: var(--cc-c1,#585233); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.cc-pname { padding: 6px 12px 0; font-size: 14.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.cc-pdet { padding: 0 12px; font-size: 12px; color: var(--cc-mut); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-pprice { display: flex; align-items: baseline; gap: 8px; padding: 2px 12px 0; margin-top: auto; }
.cc-pprice b { font-size: 21px; font-weight: 800; color: var(--cc-c1,#585233); letter-spacing: -.02em; }
.cc-pprice s { font-size: 13px; color: var(--cc-mut); }
.cc-psheet-box { padding-top: 12px; }
.cc-ps-img { display: block; width: 100%; max-height: 46vh; object-fit: cover; border-radius: 18px; margin: 4px 0 12px; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); }
.cc-ps-name { font-size: 22px !important; margin: 0 0 4px !important; }
.cc-ps-det { color: var(--cc-mut); font-size: 15px; margin: 0 0 8px !important; }
.cc-ps-price { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.cc-ps-price b { font-size: 30px; font-weight: 800; color: var(--cc-c1,#585233); }
.cc-ps-price s { color: var(--cc-mut); font-size: 16px; }
.cc-ps-price s:empty { display: none; }

/* gerencia: formulario de productos */
.cc-pset { padding: 14px; margin-bottom: 12px; }
.cc-pdet-box { margin: 0 0 10px; background: #fff; border-radius: 18px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); overflow: hidden; }
.cc-pdet-box > summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.cc-pdet-box > summary::-webkit-details-marker { display: none; }
.cc-pdet-box > summary img, .cc-pf-ph { flex: none; width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); display: inline-flex; align-items: center; justify-content: center; color: var(--cc-c1,#585233); }
.cc-pdet-box > summary b { display: block; font-size: 15px; }
.cc-pitem { padding: 4px 14px 14px; border-top: 1px solid var(--cc-line); }
.cc-pf-top { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; }
.cc-pf-top img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; }
.cc-pf-file { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed #cfc7bd; background: color-mix(in srgb,var(--cc-c1,#585233) 6%,#fff); font-weight: 700; font-size: 14px; cursor: pointer; }
.cc-pf-file input { max-width: 150px; font-size: 12px; margin-left: 8px; }
.cc-pf-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-pf-act { display: flex; gap: 8px; margin-top: 10px; }
.cc-pf-act form { margin: 0; }
.cc-pf-act .cc-mini[disabled] { opacity: .4; }

/* ------------------------------ v1.8.1 video del inicio en Android ------------------------------ */
/* object-fit siempre gana (algunos temas lo pisan) y el hero queda en su propia capa, debajo de la ficha de registro */
.cc-hero { z-index: 0; }
.cc-hero-v { object-fit: cover !important; max-width: none; max-height: none; }
/* En Android el video se pinta en un <canvas> (ver initHero): llena el fondo y respeta el orden de capas */
.cc-hero-c { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; display: block; opacity: 0; transition: opacity .6s ease; background: #1b110c; pointer-events: none; }
.cc-hero-slide.is-playing .cc-hero-c { opacity: 1; }
.cc-hero.has-canvas .cc-hero-v { inset: 0 auto auto 0; width: 2px !important; height: 2px !important; opacity: 0 !important; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .cc-hero-c { transition: none; } }

/* =====================================================================
 * HB Club · agenda, ficha del cliente, autorizaciones, fotos, “Mi estilo”
 * ===================================================================== */
body.cc-noscroll { overflow: hidden; }
.cc-actrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.cc-actrow .cc-btn { margin-top: 0; }

/* inicio del cliente */
.cc-next { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 12px 0; border-radius: 16px; background: #fff; border: 1.5px solid var(--cc-line); box-shadow: 0 4px 14px rgba(60,20,90,.07); }
.cc-next > div { flex: 1; min-width: 0; }
.cc-next small { display: block; text-transform: uppercase; letter-spacing: .6px; font-size: 10.5px; font-weight: 700; }
.cc-next > div > b { display: block; font-size: 16px; }
.cc-next span b { font-size: inherit; display: inline; }
.cc-next span:not(.cc-next-i):not(.cc-tag) { font-size: 13px; color: var(--cc-mut); display: block; }
.cc-next-i { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--cc-c1) 12%, #fff); color: var(--cc-c1); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cc-next-empty { border-style: dashed; }
.cc-next .cc-btn-sm { margin-top: 0; }
.cc-recbanner { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 12px 0; padding: 14px; border: 0; border-radius: 16px; font: inherit; cursor: pointer; background: linear-gradient(135deg, var(--cc-c1), var(--cc-c2)); color: #fff; }
.cc-recbanner b { display: block; } .cc-recbanner small { color: rgba(255,255,255,.8); }
.cc-recbanner .cc-i { flex: none; }
.cc-seg { display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 14px; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); }
.cc-seg button { flex: 1; min-height: 42px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--cc-mut); cursor: pointer; }
.cc-seg button.is-on { background: #fff; color: var(--cc-c1); box-shadow: 0 2px 8px rgba(60,20,90,.12); }

/* reservas */
.cc-book h4 { margin: 18px 0 8px; font-size: 14px; color: var(--cc-mut); text-transform: uppercase; letter-spacing: .5px; }
.cc-svcs { display: grid; gap: 8px; }
.cc-svc { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; padding: 13px 14px; border: 1.5px solid var(--cc-line); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; }
.cc-svc small { display: inline; }
.cc-svc.is-on { border-color: var(--cc-c1); background: color-mix(in srgb, var(--cc-c1) 8%, #fff); }
.cc-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.cc-days::-webkit-scrollbar { display: none; }
.cc-day { flex: none; min-width: 74px; padding: 10px 8px; border: 1.5px solid var(--cc-line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; }
.cc-day[disabled], .cc-day[data-closed] { opacity: .45; }
.cc-day.is-on { border-color: var(--cc-c1); background: var(--cc-c1); color: #fff; }
[data-slots] { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-slot-btn { padding: 10px 14px; min-width: 84px; border: 1.5px solid var(--cc-line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.cc-slot-btn.is-on { background: var(--cc-c1); color: #fff; border-color: var(--cc-c1); }
.cc-appt { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 8px 0; border: 1.5px solid var(--cc-line); border-radius: 14px; background: #fff; flex-wrap: wrap; }
.cc-appt-d { min-width: 74px; } .cc-appt-d b { display: block; font-size: 14px; } .cc-appt-d small { font-size: 13px; }
.cc-appt-i { flex: 1; min-width: 140px; } .cc-appt-i b { display: block; }
.cc-appt-a { display: flex; gap: 6px; width: 100%; }
.cc-appt-a a { text-decoration: none; color: var(--cc-ink) !important; display: inline-flex; align-items: center; }

/* agenda del personal */
.cc-agbar { display: grid; gap: 8px; }
.cc-days-s .cc-day { min-width: 68px; font-size: 12px; }
.cc-ag { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 8px 0; border: 1.5px solid var(--cc-line); border-left: 5px solid var(--cc-warn); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.cc-ag.is-confirmed { border-left-color: var(--cc-c1); } .cc-ag.is-arrived { border-left-color: var(--cc-ok); }
.cc-ag.is-done { border-left-color: #9ca3af; opacity: .75; } .cc-ag.is-cancelled, .cc-ag.is-noshow { border-left-color: #d1d5db; opacity: .55; }
.cc-ag-t { min-width: 64px; } .cc-ag-t b { display: block; } .cc-ag-t small { font-size: 12px; }
.cc-ag-i { flex: 1; min-width: 150px; } .cc-ag-i > span:not(.cc-tag), .cc-ag-i > small { display: block; font-size: 13px; color: var(--cc-mut); }
.cc-ag-a { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--cc-c1); cursor: pointer; text-align: left; }
.cc-mini.cc-wa-l { text-decoration: none; display: inline-flex; align-items: center; color: #4d6b3a !important; border-color: #4d6b3a; }

/* hojas (modales de contenido largo) */
.cc-ov-sheet { align-items: flex-end; padding: 0; }
.cc-ov-sheet .cc-modal-box { max-width: 560px; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 0; text-align: left; display: flex; flex-direction: column; overflow: hidden; }
.cc-ov-sheet.is-wide .cc-modal-box { max-width: 720px; }
@media (min-width: 640px) { .cc-ov-sheet { align-items: center; padding: 18px; } .cc-ov-sheet .cc-modal-box { border-radius: 20px; } }
.cc-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--cc-line); }
.cc-sheet-head b { font-size: 16px; }
.cc-sheet-body { padding: 14px 16px 22px; overflow-y: auto; }
.cc-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); font-size: 24px; line-height: 1; cursor: pointer; color: var(--cc-ink); }

/* consentimiento y firma */
.cc-consent-text { max-height: 38vh; overflow-y: auto; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb,var(--cc-c1,#585233) 6%,#fff); border: 1px solid var(--cc-line); font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.cc-sig { display: block; width: 100%; height: 150px; border: 1.5px dashed #b9a6c6; border-radius: 12px; background: #fff; touch-action: none; cursor: crosshair; }
.cc-sig-img { max-width: 100%; max-height: 140px; margin-top: 10px; border-bottom: 1px solid #aaa; background: #fff; }

/* ficha clínica */
#cc-ficha { align-items: stretch; padding: 0; background: rgba(15,10,25,.75); }
.cc-ficha-box { width: 100%; max-width: 860px; max-height: none; height: 100%; margin: 0 auto; padding: 0; border-radius: 0; text-align: left; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.cc-ficha-box > div { display: flex; flex-direction: column; min-height: 0; height: 100%; }
@media (min-width: 900px) { #cc-ficha { padding: 20px; } .cc-ficha-box { border-radius: 20px; } }
.cc-fhead { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px 8px; }
.cc-fhead > div:first-child b { font-size: 19px; } .cc-fhead small { display: block; }
.cc-fhead-a { display: flex; gap: 8px; align-items: flex-start; }
.cc-fhead .cc-mini { text-decoration: none; color: var(--cc-ink) !important; display: inline-flex; align-items: center; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cc-chips .cc-chip, .cc-fhead .cc-chip { margin: 0; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); color: var(--cc-ink); font-weight: 600; }
.cc-chip.cc-chip-ok { background: #e8eddf !important; color: #3f5a2f !important; } .cc-chip.cc-chip-warn { background: #efe6cf !important; color: #6b4a15 !important; }
.cc-fhead + .cc-msg, .cc-ficha-box .cc-msg { margin: 6px 16px; }
.cc-ftabs { display: flex; gap: 4px; padding: 6px 12px 0; overflow-x: auto; border-bottom: 1px solid var(--cc-line); scrollbar-width: none; }
.cc-ftabs button { flex: none; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--cc-mut); cursor: pointer; }
.cc-ftabs button.is-on { color: var(--cc-c1); border-bottom-color: var(--cc-c1); }
.cc-fbody { padding: 14px 16px 40px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.cc-recd { border: 1.5px solid var(--cc-line); border-radius: 12px; margin: 8px 0; background: #fff; }
.cc-recd > summary { padding: 12px 14px; cursor: pointer; list-style: none; } .cc-recd > summary::-webkit-details-marker { display: none; }
.cc-recd > summary b { display: block; } .cc-recd[open] > summary { border-bottom: 1px solid var(--cc-line); }
.cc-recd > :not(summary) { margin: 10px 14px; }
.cc-tbl { width: calc(100% - 28px); border-collapse: collapse; font-size: 14px; }
.cc-tbl td { padding: 6px 4px; border-bottom: 1px solid color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); vertical-align: top; } .cc-tbl td:first-child { width: 38%; color: var(--cc-mut); }
.cc-kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cc-kinds .cc-btn { margin-top: 0; }

/* formularios declarativos */
.cc-fsec { margin: 4px 0 18px; } .cc-fsec h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--cc-c1); margin: 18px 0 6px; padding-bottom: 5px; border-bottom: 2px solid color-mix(in srgb, var(--cc-c1) 25%, #fff); }
.cc-fld { margin: 12px 0; } .cc-fld > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.cc-req { color: var(--cc-bad); font-style: normal; }
.cc-yn, .cc-scale { display: flex; gap: 8px; }
.cc-yn button, .cc-scale button, .cc-chipsel button { min-height: 44px; padding: 8px 16px; border: 1.5px solid color-mix(in srgb,var(--cc-c1,#585233) 26%,#fff); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.cc-yn button.is-on, .cc-scale button.is-on, .cc-chipsel button.is-on { background: var(--cc-c1); color: #fff; border-color: var(--cc-c1); }
.cc-scale button { flex: 1; padding: 8px 0; }
.cc-chipsel { display: flex; flex-wrap: wrap; gap: 8px; } .cc-chipsel button { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.cc-alert { padding: 10px 12px; margin: 8px 0; border-radius: 10px; font-size: 14px; font-weight: 600; }
.cc-alert-warn { background: #efe6cf; color: #6b4a15; border: 1px solid #cdb36a; } .cc-alert-stop { background: #f3e1de; color: #7d2f28; border: 1px solid #d9a49d; }

.cc-fz path, .cc-fz ellipse { fill: color-mix(in srgb,var(--cc-c1,#585233) 7%,transparent); stroke: color-mix(in srgb,var(--cc-c1,#585233) 45%,#fff); stroke-width: 1.2; cursor: pointer; transition: fill .15s; }
.cc-fz.has path, .cc-fz.has ellipse { fill: rgba(236,72,153,.35); stroke: #be185d; }
.cc-fz.is-act path, .cc-fz.is-act ellipse { stroke: var(--cc-c1); stroke-width: 3; fill: color-mix(in srgb,var(--cc-c1,#585233) 28%,transparent); }
.cc-fm-side b { display: block; font-size: 15px; } .cc-fm-side small { display: block; margin-bottom: 8px; }
.cc-alts { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-alt { padding: 5px 9px; border: 1.5px solid color-mix(in srgb,var(--cc-c1,#585233) 26%,#fff); border-radius: 99px; background: #fff; font: inherit; font-size: 12.5px; cursor: pointer; }
.cc-alt b { color: var(--cc-c1); } .cc-alt.is-on { background: var(--cc-c1); color: #fff; border-color: var(--cc-c1); } .cc-alt.is-on b { color: #fff; }
.cc-ul { padding-left: 4px; font-size: 14px; } .cc-ul li { padding: 3px 0; } .cc-fm-sum { margin-top: 10px; }

/* recomendaciones y rutina */
.cc-rec { border: 1.5px solid var(--cc-line); border-radius: 14px; margin: 8px 0; background: #fff; overflow: hidden; }
.cc-rec.is-new { border-color: var(--cc-c1); box-shadow: 0 0 0 3px rgba(88,82,51,.12); }
.cc-rec > summary { display: flex; justify-content: space-between; gap: 8px; padding: 13px 14px; cursor: pointer; list-style: none; } .cc-rec > summary::-webkit-details-marker { display: none; }
.cc-rec-b { padding: 4px 14px 14px; font-size: 14.5px; line-height: 1.6; }
.cc-rec > :not(summary):not(.cc-rec-b) { padding: 4px 14px 14px; }
.cc-rts { display: grid; gap: 12px; } .cc-rt { margin: 10px 0; } .cc-rt b { display: block; margin-bottom: 4px; }
.cc-rt ol { padding-left: 22px; } .cc-rt li { padding: 3px 0; } .cc-rt li small { display: block; }
.cc-rrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin: 5px 0; } .cc-rrow .cc-input { min-height: 42px; padding: 8px 10px; }

/* fotos */
.cc-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 10px 0; }
.cc-ph { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--cc-line); background: #fff; }
.cc-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; cursor: zoom-in; background: color-mix(in srgb,var(--cc-c1,#585233) 9%,#fff); }
.cc-ph figcaption { padding: 6px 8px; font-size: 12px; } .cc-ph-a { display: flex; gap: 4px; padding: 0 6px 8px; flex-wrap: wrap; } .cc-ph-a .cc-mini { padding: 4px 8px; min-height: 30px; font-size: 12px; }
.cc-upl { display: grid; gap: 8px; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: color-mix(in srgb,var(--cc-c1,#585233) 6%,#fff); border: 1px dashed #c9b4d6; }
.cc-upl .cc-check { margin: 0 !important; }
.cc-file { cursor: pointer; margin-top: 4px; }
.cc-full { width: 100%; height: auto; border-radius: 10px; display: block; }
.cc-cmp { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #000; user-select: none; }
.cc-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-cmp-a { position: absolute; inset: 0; }
.cc-cmp-h { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.5); transform: translateX(-1px); }
.cc-cmp-r { width: 100%; margin: 12px 0 4px; accent-color: var(--cc-c1); }
.cc-cmp-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--cc-mut); }

.cc-sep { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: var(--cc-mut); font-size: 12.5px; }
.cc-sep::before, .cc-sep::after { content: ""; flex: 1; height: 1px; background: var(--cc-line); }

.cc-pub-head.is-dark { background: var(--cc-bar,#24210f); border-radius: 14px; padding: 18px 12px 14px; margin-bottom: 14px; }
.cc-pub-head.is-dark .cc-tagline { color: rgba(255,255,255,.85); }

.cc-kpis3 .cc-kpi { padding: 12px 6px; }
.cc-kpis3 .cc-kpi b { font-size: 16px; white-space: nowrap; word-break: normal; }

/* Ojito de contraseña */
.cc-pw { position: relative; display: block; }
.cc-pw .cc-input { padding-right: 52px; }
.cc-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: color-mix(in srgb,var(--cc-c1,#585233) 70%,#555); cursor: pointer; border-radius: 10px; }
.cc-eye .cc-eye-off { display: none; }
.cc-eye.is-on .cc-eye-off { display: block; }
.cc-eye:focus-visible { outline: 2px solid var(--cc-c1,#585233); }
.cc-pend { margin-bottom: 14px; padding: 10px; border-radius: 14px; background: color-mix(in srgb,#b8962e 12%,#fff); border: 1px solid color-mix(in srgb,#b8962e 40%,#fff); }
.cc-pend .cc-h3 { margin-top: 0; }
.cc-agbar .cc-inline { flex-wrap: wrap; }
.cc-agbar .cc-btn-sm { white-space: nowrap; }
