/* V167 — Carnet d'entraînement sombre premium, limité au mode entraînement */
.mobile-workout,.mobile-workout *{color-scheme:dark!important;box-sizing:border-box}
.mobile-workout{--mw-green:#a4fa32;--mw-bg:#0c1512;--mw-panel:#121e1b;--mw-line:#2b493c;color:#f4f8f3!important;max-width:760px}
.mobile-workout .mw-exercise,.mobile-workout .mw-welcome,.mobile-workout .mw-finish,.mobile-workout .mw-rest,.mobile-workout .mw-progress,.mobile-workout .mw-save{background:#111c19!important;color:#f4f8f3!important;border:1px solid #2b493c!important;border-radius:22px!important;box-shadow:none!important}
.mobile-workout .mw-exercise{padding:20px!important;margin-bottom:16px!important}
.mobile-workout .mw-exercise h2{color:#fff!important;font-size:clamp(27px,6vw,38px)!important;letter-spacing:-.035em}
.mobile-workout .mw-exercise .section-label{color:#a4fa32!important;opacity:1!important;letter-spacing:.12em;font-weight:800}
.mobile-workout .mw-exercise .muted,.mobile-workout .mw-rest-actions span{color:#b5c3bc!important;opacity:1!important}
.mobile-workout .mw-table-head{color:#b4c6bd!important;letter-spacing:.055em;font-size:12px;font-weight:800}
.mobile-workout .mw-set{background:#172620!important;border:1px solid #2c4539!important;border-radius:14px!important;padding:8px 5px!important;min-width:0}
.mobile-workout .mw-set-index{background:#24392f!important;color:#f2fff5!important;border-radius:10px!important}
.mobile-workout .mw-set input[type=number]{background:#0d1714!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #3a604d!important;border-radius:12px!important;min-width:0!important;max-width:100%!important;min-height:52px!important;font-size:20px!important;font-weight:800!important;opacity:1!important}
.mobile-workout .mw-set input[type=number]:focus{outline:2px solid #a4fa32!important;outline-offset:0!important}
.mobile-workout .mw-set input[type=checkbox]{accent-color:#a4fa32!important;width:28px!important;height:28px!important}
.mobile-workout .mw-no-secondary{color:#b5c3bc!important}
.mobile-workout .mw-add{background:#14231c!important;color:#a4fa32!important;border:1px dashed #608d50!important;border-radius:14px!important;font-weight:800!important}
.mobile-workout .mw-rest{padding:18px!important;display:grid!important;gap:12px!important}
.mobile-workout .mw-rest-start{background:#172921!important;color:#fff!important;border:1px solid #345c46!important;border-radius:17px!important;padding:16px!important;min-height:82px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;touch-action:manipulation}
.mobile-workout .mw-rest-start .mw-rest-label{color:#a4fa32!important;font-weight:800!important}
.mobile-workout .mw-rest-start .mw-rest-timer{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:95px}
.mobile-workout .mw-rest-start .mw-rest-caption{font-size:11px!important;letter-spacing:.13em;font-weight:800;color:#a9bdb2!important}
.mobile-workout .mw-rest-start strong{color:#fff!important;font-size:clamp(24px,7vw,38px)!important;line-height:1.1;font-variant-numeric:tabular-nums}
.mobile-workout .mw-rest-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
.mobile-workout .mw-rest-actions button{background:#1a3026!important;color:#f4fff4!important;border:1px solid #3c634e!important;border-radius:12px!important;min-height:44px!important}
.mobile-workout .mw-foot{background:#111c19!important;border:1px solid #2b493c!important;border-radius:20px!important;padding:17px!important;color:#f5fff5!important;display:grid!important;gap:15px!important}
.mobile-workout .mw-foot>div{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;min-width:0}
.mobile-workout .mw-foot button{min-width:0!important;width:100%!important;min-height:52px!important;border-radius:14px!important}
.mobile-workout #mwNext{background:#a4fa32!important;color:#0b1b11!important;border-color:#a4fa32!important;font-weight:900!important}
.mobile-workout #mwPrev{background:#1a2a24!important;color:#f2faf5!important;border:1px solid #375443!important}
.mobile-workout #mwPrev:disabled{opacity:.48!important}
.mobile-workout .mw-bar{background:#26362f!important;border-radius:99px!important;overflow:hidden}
.mobile-workout .mw-bar>div{background:#a4fa32!important}
.mobile-workout .mw-progress strong,.mobile-workout .mw-progress span,.mobile-workout .mw-foot span{color:#f3f8f4!important}
.mobile-workout .mw-save textarea{background:#0b1712!important;color:#fff!important;border:1px solid #365a45!important}
.mobile-workout .mw-exercise img{border-radius:14px!important;background:#16231e!important}
.mobile-workout .mw-elapsed-badge{background:#16271e!important;color:#fff!important}
@media(max-width:480px){.mobile-workout .mw-exercise{padding:14px!important}.mobile-workout .mw-set{grid-template-columns:38px minmax(0,1fr) minmax(0,1fr) 40px!important;gap:5px!important}.mobile-workout .mw-rest{padding:13px!important}.mobile-workout .mw-rest-start{padding:12px!important}.mobile-workout .mw-rest-actions{font-size:12px!important}}
/* Minuteur flottant : étiquette claire, contraste et position mobile */
.mw-elapsed-badge{background:#14231d!important;border:1px solid #385b45!important;color:#f5fff6!important;border-radius:15px!important;box-shadow:0 10px 28px #0008!important}
.mw-elapsed-badge span{color:#b4d6c0!important}.mw-elapsed-badge strong{color:#fff!important}
