/* ASCEN V39 · capa final. Se carga después de app.css; ajusta sin tocar las capas anteriores. */
:root{--ink:#0d0d0f;--gold:#e2bb55;--gold-hi:#f1d886;--silver:#c4c7cb;--silver-soft:#e2bb5522;--ok:#7bc47f;--tap:44px}
html{background:var(--ink);min-height:100%}
body{min-height:100vh;background:radial-gradient(ellipse at 90% 0%,#202224 0%,transparent 40%) fixed,var(--ink) fixed}

/* Accesibilidad */
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--gold);outline-offset:2px}
button,.btn,.smallBtn,summary{min-height:var(--tap)}
.hint-help,.series-check,.series-num,.set-delete,.ascen-avatar,.pay-n{min-height:0}
.set-row .series-check{min-height:0}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Navegación de escritorio: mismos nombres que en el móvil */
#nav{align-items:center}
#nav button{min-height:40px;padding:8px 16px}
#nav #logout{margin-left:10px;border-color:transparent;color:var(--muted)}
#nav #logout:hover{color:var(--paper)}

/* Registro: barra de progreso compacta */
.reg-progress{margin:14px 0 16px}
.reg-progress-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.reg-progress-top b{color:var(--gold);font-size:13px;letter-spacing:.06em}
.reg-progress-top span{color:var(--paper);font-size:14px;font-weight:600;text-align:right}
.reg-bar{height:6px;border-radius:99px;background:#ffffff1c;overflow:hidden}
.reg-bar i{display:block;height:100%;width:20%;border-radius:99px;background:linear-gradient(90deg,#90969f,var(--gold));transition:width .25s ease}
#reg .pair{position:sticky;bottom:0;padding:12px 0;background:linear-gradient(180deg,transparent,var(--ink) 35%);z-index:4}

/* Medidas opcionales */
.opt-measures{margin-top:18px;border:1px solid #ffffff22;border-radius:14px;padding:0 14px}
.opt-measures>summary{cursor:pointer;color:var(--gold);font-weight:650;list-style:none;display:flex;align-items:center;min-height:var(--tap)}
.opt-measures>summary::-webkit-details-marker{display:none}
.opt-measures>summary::after{content:"+";margin-left:auto;font-size:20px}
.opt-measures[open]>summary::after{content:"–"}
.opt-measures[open]{padding-bottom:14px}

/* Estado de acceso (alumno pendiente) */
.ascen-status-list{list-style:none;margin:16px 0 18px;padding:0;display:grid;gap:14px}
.ascen-status-list li{display:flex;gap:14px;align-items:flex-start;opacity:.55}
.ascen-status-list li.done,.ascen-status-list li.now{opacity:1}
.ascen-status-list .dot{flex:0 0 30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1.5px solid #ffffff44;font-size:13px;font-weight:700}
.ascen-status-list .done .dot{background:var(--ok);border-color:var(--ok);color:#102010}
.ascen-status-list .now .dot{border-color:var(--gold);color:var(--gold);background:var(--silver-soft)}
.ascen-status-list strong{display:block}
.ascen-status-list small{color:var(--muted);font-size:13px}

/* Formularios de acceso */
#codeForm input[name=code]{font-size:24px;letter-spacing:.35em;text-align:center}

/* Entreno: una sola acción principal por rutina */
.routine:not(.is-started) .training-time,.routine:not(.is-started) .routine-finish-top{display:none}
.routine.is-started [data-start]{display:none}
.routine.is-started{border-color:#e2bb5566}

/* Pagos */
.pay-card h2{display:flex;align-items:center;gap:10px}
.pay-n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--silver-soft);border:1px solid #e2bb5577;color:var(--gold);font-size:13px;font-weight:800}
.pay-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.pay-plan{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;border-radius:16px;border:1.5px solid #ffffff2b;background:#ffffff08;color:var(--paper);text-align:left}
.pay-plan b{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#e9eaec}
.pay-plan strong{font-size:26px;line-height:1.2}
.pay-plan small{color:var(--muted);font-size:12px}
.pay-plan.on{border-color:var(--gold);background:var(--silver-soft)}
.pay-plan.on strong{color:var(--gold)}
.pay-period{display:inline-flex;margin-top:12px;border:1px solid #ffffff2b;border-radius:99px;padding:3px;gap:3px}
.pay-period button{border:0;background:transparent;color:var(--paper);padding:8px 16px;border-radius:99px;min-height:38px;font-weight:600}
.pay-period button.on{background:var(--gold);color:#111}
.pay-period button:disabled{opacity:.35;cursor:not-allowed}
.pay-period em{font-style:normal;font-size:11px;font-weight:800;margin-left:4px}
.pay-apex{margin-top:14px;padding:13px 14px;border:1px dashed #e2bb5577;border-radius:14px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.pay-apex span{color:var(--muted);font-size:13px}
.pay-total{font-size:16px;margin:0 0 12px}
.pay-total b{font-size:24px;color:var(--gold)}
.pay-total small{color:var(--muted)}
.pay-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.pay-method{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border-radius:16px;border:1.5px solid #ffffff2b;background:#ffffff08;color:var(--paper);font-weight:650;font-size:13px}
.pay-method.on{border-color:var(--gold);background:var(--silver-soft)}
.pay-logo{display:grid;place-items:center;width:100%;height:54px;border-radius:11px;background:#fff;padding:7px}
.pay-logo img{max-width:100%;max-height:100%;object-fit:contain}
.pay-data{margin-top:14px;border:1px solid #ffffff22;border-radius:16px;padding:6px 14px 12px;background:#0f0f12}
.pay-row{display:grid;grid-template-columns:110px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #ffffff14}
.pay-row span{color:var(--muted);font-size:12px}
.pay-row b{font-size:15px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.pay-ref b{color:var(--gold)}
@media(max-width:480px){.pay-row{grid-template-columns:1fr auto}.pay-row span{grid-column:1/-1;margin-bottom:-6px}.pay-plans{grid-template-columns:1fr 1fr}.pay-plan strong{font-size:22px}}
@media(max-width:480px){.pay-row{row-gap:0}.pay-row span{margin-bottom:0}}
input[type=file]{color:var(--muted)}
input[type=file]::file-selector-button{margin-right:12px;border:1px solid #e2bb5566;background:transparent;color:var(--gold);border-radius:10px;padding:8px 12px;font-weight:650;cursor:pointer}
.pay-logo img[src*="bdv"]{max-height:100%}
.pay-logo{height:56px;overflow:hidden}
.pay-logo img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:38px!important;margin:0 auto}
.pay-logo img[src*="bdv"]{max-height:42px!important}

/* ===== V40 · Entreno: burbujas, botones de serie, miniaturas, deslizar para eliminar ===== */
.hint-help{display:inline-grid;place-items:center;flex:0 0 auto;width:20px;height:20px;min-width:20px;padding:0;margin-left:6px;border-radius:50%;border:1.3px solid #e2bb55aa;background:#e2bb5514;color:var(--gold);font-size:12px;font-weight:800;line-height:1;vertical-align:middle;position:relative}
.hint-help::after{content:"";position:absolute;inset:-12px}
.training-chips>span>b{display:flex;align-items:center}
.ex-head img.ex-thumb{width:92px;height:92px;object-fit:contain;background:#fff;border-radius:16px;padding:5px;flex-shrink:0;image-rendering:auto;box-shadow:0 2px 10px #0006}
@media(max-width:700px){.ex-head img.ex-thumb{width:72px;height:72px;border-radius:14px}}
.substitute-card img{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:12px;padding:3px;flex-shrink:0}
.exercise-detail-media img{max-width:100%;height:auto;image-rendering:auto}

.set-swipe{position:relative;overflow:hidden;border-radius:16px;margin:8px 0}
.set-swipe .set-row{position:relative;z-index:1;background:#19191c;border:1px solid #ffffff14;border-top:1px solid #ffffff14;border-radius:16px;padding:9px 8px;touch-action:pan-y;will-change:transform}
.set-swipe .set-row.settling{transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.set-swipe .set-row.done{border-color:#e2bb5555;background:linear-gradient(90deg,#1c1e20,#19191c 65%)}
.set-delete{position:absolute;right:0;top:0;bottom:0;width:96px;border:0;border-radius:0 16px 16px 0;background:linear-gradient(135deg,#d9534f,#b3322e);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:700;padding:0;opacity:0;transition:opacity .15s}
.set-swipe.open .set-delete,.set-swipe.dragging .set-delete{opacity:1}
.set-delete svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.series-num{background:#ffffff12;border:0;color:inherit;font:inherit;font-weight:800;border-radius:12px;padding:10px 4px;cursor:pointer;display:block;width:100%}
.set-head,.set-row{grid-template-columns:52px repeat(3,minmax(0,1fr)) 46px!important;gap:5px!important}.set-row>*{min-width:0}
@media(max-width:380px){.set-head,.set-row{grid-template-columns:46px repeat(3,minmax(0,1fr)) 44px!important;gap:4px!important}}
.set-row .series-check{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center;border:1.5px solid #ffffff3a!important;background:linear-gradient(145deg,#2f2f33,#1d1d20)!important;color:#c1c3c6!important;box-shadow:inset 0 1px 0 #ffffff14;transition:transform .12s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.set-row .series-check svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.set-row .series-check:hover{border-color:#e2bb5599!important;color:var(--gold)!important}
.set-row .series-check:active{transform:scale(.9)}
.set-row.done .series-check{background:linear-gradient(145deg,#e9eaec,#a0a5ad)!important;border-color:#e9eaec!important;color:#0f0f10!important;box-shadow:0 0 0 4px #e2bb5526,0 6px 16px #e2bb5547;animation:ascenPop .28s ease}
@keyframes ascenPop{0%{transform:scale(.8)}60%{transform:scale(1.1)}100%{transform:scale(1)}}
.set-head-done{text-align:center}

/* Pagos: copiar todo */
.pay-copy-all{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:2px 0 6px}
.pay-copy-all svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pay-row[data-copy]{cursor:pointer;border-radius:8px}
.pay-row[data-copy]:hover b{color:var(--gold)}
.pay-row{grid-template-columns:120px 1fr!important}
@media(max-width:480px){.pay-row{grid-template-columns:1fr!important}}

/* Perfil y avatar */
.head{gap:14px}
#nav{margin-left:auto}
.ascen-avatar{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:1.5px solid #e2bb5599;background:#1b1a1d;color:var(--gold);font-weight:800;font-size:14px;overflow:hidden;padding:0;display:grid;place-items:center;letter-spacing:.02em}
.ascen-avatar[hidden]{display:none!important}
.ascen-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ascen-avatar.active{border-color:var(--gold);box-shadow:0 0 0 3px #e2bb552e}
@media(max-width:700px){.head{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}.ascen-avatar{width:40px;height:40px}}
.perfil-top{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.perfil-avatar{width:104px;height:104px;border-radius:50%;border:2px solid #e2bb5588;background:#1b1a1d;color:var(--gold);font-size:34px;font-weight:800;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.perfil-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.perfil-id h2{margin:0 0 4px}
.perfil-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.perfil-file{display:inline-flex;align-items:center;cursor:pointer}
.perfil-wa{display:inline-flex;align-items:center;text-decoration:none}

/* ===== V41 · Entreno: chips alineados, menú del ejercicio, hojas inferiores, superserie y tipos de serie ===== */
#app .training-chips{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 12px}
#app .training-chips>span{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:6px;min-width:0;min-height:62px;padding:9px 10px;box-sizing:border-box;border-radius:12px;font-size:16px;font-weight:700;line-height:1.15}
#app .training-chips>span>b{display:flex;align-items:center;min-height:20px;font-size:11px;letter-spacing:.02em;font-weight:600;color:#e9eaec;white-space:nowrap}
#app .training-chips>span>i{font-style:normal;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#app .training-chips>.training-chip-rest,#app .training-chips>.hint,#app .training-chips>label{grid-column:1/-1}
@media(max-width:560px){#app .training-chips{grid-template-columns:repeat(2,minmax(0,1fr))}#app .training-chips>span{min-height:58px}}
.hint-help{margin-left:5px}

.ex-head{position:relative}
.ex-menu{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;min-height:0!important;padding:0;border-radius:50%;border:1px solid #ffffff1f;background:#ffffff0d;color:#dedfe1;cursor:pointer;margin-left:auto;align-self:flex-start}
.ex-menu svg{width:20px;height:20px;fill:currentColor}
.ex-menu:hover,.ex-menu:focus-visible{border-color:#e2bb5599;color:var(--silver,#e2bb55)}
.exercise-action-row{display:none!important}
.exercise-action-row .substitute-options,.substitute-options{display:block}
.substitute-options[hidden]{display:none!important}
.exercise-action-row:has(.substitute-options:not([hidden])){display:block!important}

body.sheet-open{overflow:hidden}
.ascen-sheet-backdrop{position:fixed;inset:0;z-index:1000;background:#000a;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s}
.ascen-sheet-backdrop.in{opacity:1}
.ascen-sheet{width:min(560px,100%);max-height:86vh;overflow:auto;background:#1c1b1f;color:#ebecee;border:1px solid #ffffff1a;border-bottom:0;border-radius:22px 22px 0 0;padding:8px 14px calc(18px + env(safe-area-inset-bottom));transform:translateY(24px);transition:transform .2s cubic-bezier(.2,.8,.2,1);box-shadow:0 -18px 50px #000a}
.ascen-sheet-backdrop.in .ascen-sheet{transform:none}
.ascen-sheet-grip{width:42px;height:4px;border-radius:4px;background:#ffffff3a;margin:4px auto 10px}
.ascen-sheet h3{margin:0 4px 8px;font-size:15px;font-weight:700;color:#e9eaec;overflow-wrap:anywhere}
.sheet-item{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;padding:10px 12px;margin:0;border:0;background:transparent;color:inherit;font:inherit;font-size:16px;text-align:left;border-radius:14px;cursor:pointer}
.sheet-item:hover,.sheet-item:focus-visible{background:#ffffff0f}
.sheet-item svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sheet-item>span:first-of-type{flex:1 1 auto}
.sheet-item.danger{color:#ff6b62}
.sheet-item.is-on{background:#e2bb5514}
.sheet-item.is-on>svg:last-child{color:var(--silver,#e2bb55)}
.sheet-note{margin:6px 6px 8px;color:#e9eaec;font-size:13px;line-height:1.4}
.tipo-dot{display:grid;place-items:center;flex:0 0 30px!important;width:30px;height:30px;border-radius:50%;background:#ffffff14;font-size:13px;font-weight:800}
.tipo-dot svg{width:16px;height:16px}
.tipo-dot.tipo-calentamiento,.series-num.tipo-calentamiento{background:#dddfe22b;color:#e9eaec}
.tipo-dot.tipo-descendente,.series-num.tipo-descendente{background:#4aa3ff26;color:#6db6ff}
.tipo-dot.tipo-fallo,.series-num.tipo-fallo{background:#ff5d5d26;color:#ff7b74}
.tipo-dot.ss{background:#e2bb5522;color:var(--silver,#e2bb55)}
.reorder-row{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid #ffffff10}
.reorder-row:last-child{border-bottom:0}
.reorder-num{flex:0 0 26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#ffffff14;font-size:12px;font-weight:700}
.reorder-name{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-size:15px}
.reorder-row button{flex:0 0 40px;width:40px;height:40px;min-height:0!important;padding:0;border-radius:12px;border:1px solid #ffffff1f;background:#ffffff0d;color:inherit;display:grid;place-items:center;cursor:pointer}
.reorder-row button:disabled{opacity:.25;cursor:default}
.reorder-row button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.reorder-row .restore{flex:0 0 auto;width:auto;padding:0 14px;font-size:13px;color:var(--silver,#e2bb55);border-color:#e2bb5566}
.reorder-row.is-hidden .reorder-name{color:#e9eaec;text-decoration:line-through}

.ss-chip{display:flex;align-items:center;gap:8px;width:100%;margin:2px 0 8px;padding:8px 12px;min-height:0!important;border-radius:12px;border:1px solid #e2bb5566;background:#e2bb5514;color:#d1d3d6;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.ss-chip svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:var(--silver,#e2bb55);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ss-chip span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.ss-chip em{font-style:normal;font-size:12px;color:#e9eaec;text-decoration:underline}
.training-ex.in-ss{border-left:3px solid #e2bb55}
.ss-join{display:flex;align-items:center;justify-content:center;gap:6px;margin:-6px 0 8px;color:var(--silver,#e2bb55);font-size:12px;font-weight:700;letter-spacing:.04em}
.ss-join svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ss-note{color:var(--silver,#e2bb55)}

.set-row .series-num b{font-size:15px}
.series-num[data-num]{position:relative}
.series-num[data-num]::after{content:"";position:absolute;right:5px;bottom:5px;width:0;height:0;border-left:4px solid transparent;border-top:4px solid currentColor;opacity:.45}
.ss-chip em{white-space:nowrap;flex:0 0 auto;margin-left:6px}

/* ===== V42 · Cancelar entreno ===== */
.routine:not(.is-started) .routine-cancel{display:none}
.routine-cancel{display:inline-flex;align-items:center;gap:6px;color:#ff7b74;border-color:#ff6b6255;background:transparent;white-space:nowrap}
.routine-cancel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cancel-box{text-align:center;padding:10px 8px 6px}
.cancel-ico{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#ff5d5d22;color:#ff7b74;margin-bottom:8px}
.cancel-ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cancel-box h3{margin:0 0 6px;font-size:18px;color:#ebecee}
.cancel-box p{margin:0 0 10px;color:#e9eaec;font-size:14px;line-height:1.45}
.sheet-item.center{justify-content:center;border:1px solid #ffffff1a;margin-top:8px}
.sheet-item.center.danger{background:#ff5d5d1f;border-color:#ff6b6266}
.sheet-item.center>span:first-of-type{flex:0 1 auto}

/* ===== V43 · miniaturas compactas, info de series ===== */
#app .training-ex .ex-head img.ex-thumb,#app .ex-head img.ex-thumb{width:60px;height:60px;flex:0 0 60px;padding:3px;border-radius:12px}
@media(min-width:701px){#app .training-ex .ex-head img.ex-thumb,#app .ex-head img.ex-thumb{width:72px;height:72px;flex-basis:72px}}
.substitute-card img{width:48px;height:48px;border-radius:10px}
.ascen-set-actions{align-items:center}
.hint-help.info{font-style:italic;font-family:Georgia,serif;font-size:13px;margin-left:0}
.ascen-set-actions .hint-help{min-height:0;height:22px;width:22px;min-width:22px;margin:0}

.set-head-serie{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.set-head .hint-help.info{width:15px;height:15px;min-width:15px;font-size:10px;margin:0;border-width:1px;flex:0 0 15px}
.ascen-set-actions{justify-content:flex-end}

/* V44 · marca ASCEN Human Performance */
.head .brand{display:flex;align-items:center}
.head .brand .brand-logo{display:block;height:28px;width:auto}
.login-logo{display:block;width:min(220px,64vw);height:auto;margin:4px auto 18px}
@media(max-width:700px){.head .brand .brand-logo{height:24px}}

/* ====== V45 · profundidad sutil (app) ====== */
body{background:radial-gradient(620px 420px at 100% -6%,rgba(226,187,85,.09),transparent 62%),var(--bg)!important;background-attachment:fixed}
.head{background:rgba(13,13,15,.7)!important;-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);border-bottom:1px solid rgba(255,255,255,.07);box-shadow:none}
.card,.routine,.ascen-dashboard-small,.ascen-weight-metrics>*,.pay-card{background-image:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015))!important;background-color:rgba(24,24,28,.62)!important;border:1px solid rgba(255,255,255,.09)!important;-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:none!important}
.training-ex,.ex,.ascen-history-ex{background-image:none!important;background-color:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.btn{background-image:linear-gradient(135deg,#f5e2a0,#e6c25e 52%,#d6b04b)!important;color:#17120a!important;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)!important}
.btn.secondary,.btn.ghost,.btn[disabled]{background-image:none!important}
#mobileNav,#nav{background:rgba(13,13,15,.72)!important;-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border-top:1px solid rgba(255,255,255,.08);box-shadow:none}
.ascen-dashboard-small strong,.ascen-weight-metrics strong{font-size:30px!important}
.training-time{border-color:rgba(226,187,85,.3)!important}
@media (prefers-reduced-transparency:reduce){.card,.routine,.head,#mobileNav{-webkit-backdrop-filter:none;backdrop-filter:none}}

/* V46 · selector de periodo con 3 opciones (mensual · 2 meses · trimestral) */
.pay-period{display:flex;flex-wrap:wrap;max-width:100%;border-radius:22px}
.pay-period button{padding:8px 13px;font-size:14px}
.pay-period button em{font-style:normal;font-size:11px;opacity:.8;margin-left:3px}
.pay-period button.on{background:var(--gold);color:#17120a}

/* V46 · botón de sugerencias */
.head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.ascen-sug{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:var(--paper);display:grid;place-items:center;padding:0;cursor:pointer;min-height:0;transition:border-color .15s,color .15s}
.ascen-sug:hover{border-color:var(--gold);color:var(--gold)}
.ascen-sug svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ascen-sug[hidden]{display:none}
@media(max-width:700px){.ascen-sug{width:40px;height:40px}}
.pay-period{display:grid;grid-template-columns:repeat(3,1fr);width:100%;border-radius:20px;padding:4px;gap:4px}
.pay-period button{padding:7px 6px;font-size:14px;line-height:1.15;text-align:center;border-radius:16px}
.pay-period button em{display:block;margin:2px 0 0;font-size:11px}

/* V48 · descripción corta del programa (planes propios de cada coach) */
.pay-plan .pay-desc{display:block;margin-top:4px;line-height:1.3;color:var(--muted);font-size:11.5px;font-weight:400}
.pay-logo.none{background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.14)}
.pay-logo.none b{font-size:26px;line-height:1;color:var(--gold-hi,#f1d886);font-weight:700}
