/* Ficha e área do aluno. Herdam fontes do tema; cores da marca do personal (injetadas por marca.php) para funcionar em qualquer tema. */
.tpp { --u-bg:#faf8fb; --u-surface:#ffffff; --u-surface2:#f4f1f5; --u-line:#e2dde4; --u-ink:#1a171c; --u-muted:#655e69; --u-accent:#0b5f59; --u-soft:#e3f3ef; --u-grad:linear-gradient(90deg,#0f766e,#10b981); --u-ok:#1f7a4d; --u-oksoft:#dff2e8; --u-warn:#8a5300; --u-warnsoft:#fbefd9;
	color:var(--u-ink); background:var(--u-bg); padding:16px; border-radius:16px; max-width:680px; margin-inline:auto; box-sizing:border-box; }
@media (prefers-color-scheme:dark){ .tpp.tpp-treino, .tpp.tpp-area { --u-bg:#121114; --u-surface:#1c1a1f; --u-surface2:#26232a; --u-line:#34303a; --u-ink:#f3f0f4; --u-muted:#a59fa9; --u-accent:#5eead4; --u-soft:#12302c; --u-ok:#5fd09a; --u-oksoft:#173326; --u-warn:#f0b357; --u-warnsoft:#3a2b12; } }
.tpp *, .tpp *::before, .tpp *::after { box-sizing:border-box; }
.tpp-hint { color:var(--u-muted); font-size:14px; }
.tpp-alert { background:var(--u-warnsoft); color:var(--u-warn); border-radius:10px; padding:10px 14px; font-weight:600; margin-bottom:14px; }
.tpp-hp { position:absolute !important; left:-9999px !important; }
.tpp-btn { display:block; width:100%; text-align:center; border:0; cursor:pointer; margin-top:14px; padding:13px; border-radius:12px; background:var(--u-grad); color:#fff; font-weight:700; font-size:16px; }
.tpp-btn:disabled { opacity:.6; cursor:default; }
.tpp button:focus-visible, .tpp a:focus-visible, .tpp input:focus-visible, .tpp select:focus-visible, .tpp textarea:focus-visible { outline:2px solid var(--u-accent); outline-offset:2px; }

/* Ficha */
.tpp-ficha fieldset { border:1px solid var(--u-line); border-radius:14px; padding:16px; margin:0 0 16px; display:grid; gap:12px; }
.tpp-ficha legend { font-weight:800; font-style:italic; text-transform:uppercase; padding:0 6px; letter-spacing:.02em; }
.tpp-ficha label { display:flex; flex-direction:column; gap:4px; font-size:14px; font-weight:600; }
.tpp-ficha input:not([type=checkbox]), .tpp-ficha select, .tpp-ficha textarea { font:inherit; color:var(--u-ink); background:#fff; border:1px solid var(--u-line); border-radius:10px; padding:9px 11px; width:100%; }
.tpp-ficha textarea { min-height:80px; }
.tpp-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.tpp-row .span2 { grid-column:span 2; }
@media (max-width:600px){ .tpp-row{grid-template-columns:1fr;} .tpp-row .span2{grid-column:auto;} }
.tpp-chips { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0; }
.tpp-ficha .tpp-chip { display:inline-flex; flex-direction:row; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; border:1px solid var(--u-line); font-weight:600; font-size:13px; cursor:pointer; }
.tpp-ficha .tpp-chip:has(input:checked) { background:var(--u-soft); border-color:var(--u-accent); color:var(--u-accent); }
.tpp-ficha .tpp-block { border-radius:12px; align-items:flex-start; font-weight:500; }
.tpp-ok { text-align:center; padding:30px 16px; }

/* Área do aluno */
.tpp-treino { font-size:16px; line-height:1.5; }
.tpp-logo { font-weight:800; font-style:italic; font-size:24px; line-height:1; background:var(--u-grad); -webkit-background-clip:text; background-clip:text; color:transparent; display:inline-block; }
.tpp-logo small { display:block; font-size:10px; letter-spacing:.32em; margin-top:4px; }
.tpp-t-title { font-weight:800; font-style:italic; text-transform:uppercase; font-size:30px; line-height:1.05; margin:14px 0 4px; }
.tpp-tag { font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; background:var(--u-soft); color:var(--u-accent); }
.tpp-note { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:14px 16px; margin-top:14px; }
.tpp-note p { margin:6px 0 0; }
.tpp-note-h { display:flex; gap:10px; align-items:center; }
.tpp-av { width:34px; height:34px; border-radius:50%; background:var(--u-grad); color:#fff; display:grid; place-items:center; font-weight:800; font-style:italic; font-size:14px; flex:none; }
.tpp-tabs { display:flex; gap:8px; overflow-x:auto; margin:18px 0 6px; padding-bottom:4px; }
.tpp-tabs button { flex:1 0 76px; border:1px solid var(--u-line); background:var(--u-surface); color:var(--u-ink); border-radius:12px; padding:8px 6px; cursor:pointer; text-align:center; }
.tpp-tabs button b { display:block; font-style:italic; font-weight:800; font-size:17px; }
.tpp-tabs button span { font-size:12px; color:var(--u-muted); }
.tpp-tabs button[aria-selected="true"] { background:var(--u-grad); color:var(--u-on,#fff); border-color:transparent; }
.tpp-tabs button[aria-selected="true"] span { color:var(--u-on,#fff); }
.tpp-prog { height:6px; background:var(--u-surface2); border-radius:99px; overflow:hidden; margin:8px 0 4px; }
.tpp-prog i { display:block; height:100%; background:var(--u-grad); }
.tpp-ex { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:14px; margin-top:12px; }
.tpp-ex.done { border-color:var(--u-ok); }
.tpp-ex-h { display:flex; justify-content:space-between; gap:10px; font-size:17px; }
.tpp-idx { font-family:ui-monospace,monospace; font-size:12px; color:var(--u-muted); }
.tpp-rx { font-family:ui-monospace,monospace; color:var(--u-accent); font-size:14px; }
.tpp-obs { font-size:14px; margin-top:4px; }
.tpp-adapt { font-size:13px; color:var(--u-warn); background:var(--u-warnsoft); border-radius:8px; padding:5px 9px; margin-top:8px; }
.tpp-video { width:100%; max-width:100%; border-radius:10px; margin-top:10px; background:#000; aspect-ratio:16/9; object-fit:cover; }
.tpp-sets { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; align-items:center; }
.tpp-set { width:42px; height:42px; border-radius:10px; border:1.5px solid var(--u-line); background:transparent; color:var(--u-muted); font-family:ui-monospace,monospace; cursor:pointer; }
.tpp-set[aria-pressed="true"] { background:var(--u-oksoft); border-color:var(--u-ok); color:var(--u-ok); }
.tpp-kg { display:flex; align-items:center; gap:6px; margin-left:auto; font-size:13px; color:var(--u-muted); }
.tpp-kg input { width:68px; font:inherit; color:var(--u-ink); background:transparent; border:1px solid var(--u-line); border-radius:8px; padding:6px 8px; }
.tpp-acts { display:flex; gap:14px; margin-top:10px; flex-wrap:wrap; }
.tpp-acts a, .tpp-acts button { border:0; background:none; padding:0; cursor:pointer; font:inherit; font-size:14px; font-weight:700; color:var(--u-accent); text-decoration:none; }
.tpp-swap { margin-top:8px; border-top:1px dashed var(--u-line); padding-top:8px; font-size:14px; }
.tpp-swap b { color:var(--u-muted); font-size:12px; text-transform:uppercase; letter-spacing:.06em; display:inline-block; width:76px; }
.tpp-end { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:16px; margin-top:20px; }
.tpp-end h2 { margin:0 0 6px; font-size:20px; }
.tpp-end label { display:block; margin-top:10px; font-weight:600; font-size:14px; }
.tpp-end input[type=range] { width:100%; accent-color:var(--u-accent); }
.tpp-end textarea { width:100%; min-height:70px; font:inherit; color:var(--u-ink); background:transparent; border:1px solid var(--u-line); border-radius:10px; padding:8px 10px; margin-top:4px; }
.tpp-scale { display:flex; justify-content:space-between; font-size:12px; color:var(--u-muted); }
.tpp-foot { text-align:center; margin-top:20px; font-size:13px; }
.tpp-foot a { color:var(--u-muted); }

/* Área do aluno: cabeçalho, abas e cartões */
.tpp-area { font-size:16px; line-height:1.5; }
.tpp-area h2, .tpp-area h3 { margin:0 0 8px; line-height:1.2; }
.tpp-area h2 { font-size:22px; font-weight:800; font-style:italic; text-transform:uppercase; }
.tpp-area h3 { font-size:16px; text-transform:uppercase; letter-spacing:.04em; }
.tpp-area a { color:var(--u-accent); }
.tpp-alert-ok { background:var(--u-oksoft); color:var(--u-ok); }
.tpp-a-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.tpp-a-user { font-size:14px; color:var(--u-muted); }
.tpp-a-nav { display:flex; gap:6px; overflow-x:auto; margin:16px -4px 4px; padding:0 4px 6px; scrollbar-width:none; }
.tpp-a-nav a { flex:none; text-decoration:none; color:var(--u-ink); border:1px solid var(--u-line); background:var(--u-surface); border-radius:999px; padding:7px 14px; font-weight:700; font-size:14px; }
.tpp-a-nav a[aria-current="page"] { background:var(--u-grad); color:var(--u-on,#fff); border-color:transparent; }
.tpp-card { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:16px; margin-top:12px; }
.tpp-today { border-color:transparent; background:linear-gradient(var(--u-surface),var(--u-surface)) padding-box, var(--u-grad) border-box; border:1.5px solid transparent; }
.tpp-today-list { list-style:none; padding:0; margin:8px 0 0; }
.tpp-today-list li { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-top:1px solid var(--u-line); }
.tpp-today-list li span { font-family:ui-monospace,monospace; color:var(--u-accent); font-size:14px; }
.tpp-done { color:var(--u-ok); font-weight:700; margin:12px 0 0; }
a.tpp-btn { text-decoration:none; color:var(--u-on,#fff); }
.tpp-btn-ghost, a.tpp-btn-ghost { background:transparent; color:var(--u-accent); border:1.5px solid var(--u-accent); }
.tpp-btn-sm, a.tpp-btn-sm { display:inline-block; width:auto; margin-top:0; padding:8px 14px; font-size:14px; border-radius:10px; flex:none; }
.tpp-row-card { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.tpp-pend, .tpp-pay, .tpp-hist, .tpp-carga { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-top:1px solid var(--u-line); flex-wrap:wrap; }
.tpp-card h3 + .tpp-pend, .tpp-card h3 + .tpp-hist, .tpp-card h3 + .tpp-carga, .tpp-card > .tpp-pay:first-child { border-top:0; }
.tpp-pend.bad span { color:#c62828; font-weight:700; }
@media (prefers-color-scheme:dark){ .tpp-pend.bad span { color:#ff7a7a; } }
.tpp-pay-r { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.tpp-st { font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; background:var(--u-warnsoft); color:var(--u-warn); }
.tpp-st.pago { background:var(--u-oksoft); color:var(--u-ok); }
.tpp-st.atrasado { background:#fde2e2; color:#b71c1c; }
.tpp-bar { width:90px; height:6px; background:var(--u-surface2); border-radius:99px; overflow:hidden; }
.tpp-bar i { display:block; height:100%; background:var(--u-grad); }
.tpp-mono { font-family:ui-monospace,monospace; font-size:14px; }
.tpp-up { color:var(--u-ok); }
.tpp-dl { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0; }
.tpp-dl dt { color:var(--u-muted); font-size:14px; }
.tpp-dl dd { margin:0; font-weight:600; }
.tpp-area input:not([type=checkbox]):not([type=file]):not([type=range]) { font:inherit; color:var(--u-ink); background:var(--u-bg); border:1px solid var(--u-line); border-radius:10px; padding:9px 11px; width:100%; }
.tpp-inline-form { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.tpp-inline-form label { width:100%; font-size:14px; font-weight:600; }
.tpp-inline-form input { flex:1 1 140px; width:auto !important; }
.tpp-stack { display:grid; gap:6px; }
.tpp-stack label { font-size:14px; font-weight:600; }
.tpp-stack .tpp-btn-sm { justify-self:start; margin-top:6px; }
.tpp-area input[type=file] { margin:6px 0 10px; max-width:100%; }
.tpp-docs { margin:12px 0 0; padding-left:18px; font-size:14px; color:var(--u-muted); }
/* Login */
.tpp-login { max-width:420px; text-align:left; }
.tpp-login form p { margin:0 0 12px; }
.tpp-login label { display:block; font-weight:600; font-size:14px; margin-bottom:4px; }
.tpp-login .login-remember label { display:flex; gap:8px; align-items:center; font-weight:500; }
.tpp-login #wp-submit { width:100%; border:0; cursor:pointer; padding:13px; border-radius:12px; background:var(--u-grad); color:var(--u-on,#fff); font-weight:700; font-size:16px; }

/* Planos, ficha hídrica, vídeo explicativo, vídeo de execução */
/* planos: estilo único na ficha e no [tpp_planos] */
.tpp-preco { font-weight:800; font-style:italic; color:var(--u-accent); font-size:18px; }
.tpp-tutorial { background:var(--u-soft); border-radius:12px; padding:12px; display:grid; gap:8px; }
.tpp-embed iframe { width:100%; height:auto; aspect-ratio:16/9; border:0; border-radius:10px; }
.tpp-acts .tpp-up-video { font-size:14px; font-weight:700; color:var(--u-accent); cursor:pointer; }
.tpp-acts .tpp-up-video:has(input:disabled) { opacity:.5; cursor:default; }
.tpp-area .tpp-kg input:not([type=file]):not([type=range]):not([type=checkbox]) { width:80px; flex:none; }
.tpp-row .span4 { grid-column:1 / -1; }
.tpp-planos { display:grid; gap:10px; }
.tpp-plano-w { display:flex; align-items:center; justify-content:space-between; gap:8px 14px; flex-wrap:wrap; border:1.5px solid var(--u-line); border-radius:12px; padding:12px 14px; background:var(--u-surface); }
.tpp-plano-w:has(input:checked) { border-color:var(--u-accent); background:var(--u-soft); }
.tpp .tpp-plano { display:flex; flex-direction:row; align-items:flex-start; gap:12px; flex:1 1 260px; min-width:0; margin:0; padding:0; border:0; font-weight:500; cursor:pointer; }
.tpp-planos-site .tpp-plano { cursor:default; }
.tpp-plano input { margin-top:4px; accent-color:var(--u-accent); flex:none; }
.tpp-plano > span { display:flex; flex-direction:column; gap:2px; }
.tpp-plano b { font-size:15px; }
.tpp .tpp-saiba { flex:none; font-size:13px; font-weight:700; color:var(--u-accent); text-decoration:none; border:1.5px solid var(--u-accent); border-radius:999px; padding:6px 12px; white-space:nowrap; }
.tpp .tpp-saiba:hover { background:var(--u-accent); color:#fff; }
.tpp-planos-site { max-width:680px; }
.tpp-box { border:1px solid var(--u-line); border-radius:14px; padding:16px; margin:0; }
.tpp-box legend { font-weight:800; font-style:italic; text-transform:uppercase; padding:0 6px; letter-spacing:.02em; }
.tpp-center { text-align:center; margin:14px 0 0; }

/* Treino estilo app: semana, séries, descanso, resumo */
.tpp-wk { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:12px; margin:14px 0 4px; }
.tpp-wk-h { display:flex; justify-content:space-between; align-items:baseline; font-size:14px; margin-bottom:8px; }
.tpp-wk-h span { color:var(--u-muted); }
.tpp-wk-d { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.tpp-wk-d button { border:0; background:transparent; color:var(--u-muted); border-radius:12px; padding:6px 0; display:flex; flex-direction:column; align-items:center; gap:2px; font:inherit; cursor:pointer; }
.tpp-wk-d button:disabled { cursor:default; opacity:.55; }
.tpp-wk-d span { font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.tpp-wk-d b { font-size:17px; color:var(--u-ink); width:34px; height:34px; display:grid; place-items:center; border-radius:50%; }
.tpp-wk-d i { font-style:normal; font-size:12px; height:14px; line-height:14px; color:var(--u-accent); }
.tpp-wk-d .tem b { border:1.5px solid var(--u-line); }
.tpp-wk-d .ok b { background:var(--u-oksoft); color:var(--u-ok); border-color:var(--u-ok); }
.tpp-wk-d .ok i { color:var(--u-ok); }
.tpp-wk-d .on b { background:var(--u-grad); color:var(--u-on,#fff); border-color:transparent; }
.tpp-wk-d .hoje span { color:var(--u-accent); font-weight:700; }
.tpp-day-h { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-top:16px; }
.tpp-day-h h2 { margin:0; font-weight:800; font-style:italic; text-transform:uppercase; font-size:22px; }
.tpp-ex-h > div { min-width:0; }
.tpp-dica { background:var(--u-surface2); border-radius:10px; padding:8px 10px; font-size:14px; margin-top:8px; }
.tpp-dica b { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--u-accent); }
.tpp-seg { display:grid; grid-template-columns:repeat(3,1fr); background:var(--u-surface2); border-radius:10px; padding:3px; margin-top:12px; }
.tpp-seg button { border:0; background:transparent; color:var(--u-muted); font:inherit; font-size:13px; font-weight:700; padding:7px 4px; border-radius:8px; cursor:pointer; }
.tpp-seg button[aria-selected="true"] { background:var(--u-surface); color:var(--u-ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
.tpp-sets2 { display:grid; gap:8px; margin-top:10px; }
.tpp-srow { display:flex; align-items:center; gap:10px; border:1px solid var(--u-line); background:transparent; color:var(--u-ink); border-radius:12px; padding:8px 12px; font:inherit; text-align:left; cursor:pointer; }
.tpp-srow .tpp-hint { margin-left:auto; font-size:12px; }
.tpp-sn { width:26px; height:26px; flex:none; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:700; border:1.5px solid var(--u-line); color:var(--u-muted); }
.tpp-srow.ok .tpp-sn { background:var(--u-ok); border-color:var(--u-ok); color:#fff; }
.tpp-scard { border:1.5px solid var(--u-accent); border-radius:14px; padding:12px; background:var(--u-bg); }
.tpp-scard-h { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:6px; }
.tpp-step { display:grid; grid-template-columns:1fr 44px 96px 44px; align-items:center; gap:8px; margin-top:8px; }
.tpp-step span { font-size:14px; color:var(--u-muted); }
.tpp-step button { width:44px; height:44px; border-radius:50%; border:1.5px solid var(--u-line); background:var(--u-surface); color:var(--u-ink); font-size:22px; line-height:1; cursor:pointer; }
.tpp-area .tpp-step input:not([type=file]) { width:96px; text-align:center; font-size:26px; font-weight:800; padding:4px; background:transparent; border-color:transparent; }
.tpp-step input { width:96px; text-align:center; font-size:26px; font-weight:800; font-family:inherit; color:var(--u-ink); background:transparent; border:1px solid transparent; border-radius:8px; }
.tpp-btn-ok { background:#1f9d5c; margin-top:12px; }
.tpp-hist2 { list-style:none; margin:10px 0 0; padding:0; font-size:14px; }
.tpp-hist2 li { display:flex; gap:12px; padding:7px 0; border-top:1px solid var(--u-line); }
.tpp-hist2 li:first-child { border-top:0; }
.tpp-hist2 b { flex:none; width:44px; }
.tpp-hist2 span { font-family:ui-monospace,monospace; font-size:13px; }
.tpp-pad { padding:10px 2px 0; margin:0; }
.tpp-evol { margin-top:8px; color:var(--u-accent); }
.tpp-evol svg { width:100%; height:auto; display:block; overflow:visible; }
.tpp-evol text { font-size:10px; fill:var(--u-ink); font-family:ui-monospace,monospace; }
.tpp-evol text.d { fill:var(--u-muted); }
.tpp-rest { position:fixed; left:12px; right:12px; bottom:12px; z-index:9999; max-width:656px; margin:0 auto; background:#1c1a1f; color:#fff; border-radius:14px; padding:12px 14px; display:flex; align-items:center; gap:10px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.35); }
.tpp-rest[hidden] { display:none; }
.tpp-rest i { position:absolute; left:0; top:0; height:4px; background:var(--u-grad); }
.tpp-rest span { flex:1; }
.tpp-rest b { font-variant-numeric:tabular-nums; font-size:18px; }
.tpp-rest button { border:1px solid #4a4550; background:transparent; color:#fff; border-radius:10px; padding:6px 12px; font:inherit; font-weight:700; cursor:pointer; }
.tpp-resumo { position:fixed; inset:0; z-index:10000; background:rgba(10,9,12,.75); display:grid; place-items:center; padding:16px; }
.tpp-resumo-c { background:#121114; color:#f3f0f4; border-radius:20px; padding:24px 20px; width:100%; max-width:420px; text-align:center; max-height:100%; overflow:auto; }
.tpp-resumo-c h2 { font-weight:800; font-style:italic; text-transform:uppercase; font-size:30px; line-height:1.05; margin:4px 0 16px; }
.tpp-resumo-c .tpp-hint { color:#a59fa9; }
.tpp-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:12px; }
.tpp-stats div { background:#1c1a1f; border-radius:12px; padding:10px 4px; }
.tpp-stats b { display:block; font-size:20px; font-variant-numeric:tabular-nums; }
.tpp-stats span { font-size:12px; color:#a59fa9; }
.tpp-pr { background:#3a2b12; color:#f0b357; border-radius:10px; padding:8px 10px; font-weight:700; font-size:14px; }
.tpp-resumo-c .tpp-btn-ghost { color:var(--u-c1,#5eead4); border-color:var(--u-c1,#5eead4); }
.tpp-cal-h { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.tpp-cal-h a { text-decoration:none; font-size:24px; padding:0 10px; }
.tpp-cal { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; font-size:14px; }
.tpp-cal span { aspect-ratio:1; display:grid; place-items:center; border-radius:50%; }
.tpp-cal .w { aspect-ratio:auto; font-size:11px; text-transform:uppercase; color:var(--u-muted); }
.tpp-cal .ok { background:var(--u-grad); color:var(--u-on,#fff); font-weight:700; }
.tpp-cal .hoje { outline:1.5px solid var(--u-accent); }
.tpp-resumo-c h2, .tpp-resumo-c b { color:#fff; }
.tpp-step { grid-template-columns:minmax(0,1fr) 40px 84px 40px; gap:6px; }
.tpp-step span { white-space:nowrap; }
.tpp-step button { width:40px; height:40px; }
.tpp-area .tpp-step input:not([type=file]), .tpp-step input { width:84px; }
.tpp-card-img { width:100%; border-radius:12px; margin-top:12px; }
.tpp-ficha .tpp-plano input[type=radio] { width:18px; height:18px; padding:0; border:0; background:none; margin:2px 0 0; flex:none; }
.tpp-ficha .tpp-saiba { margin-left:30px; }

/* Marca do personal */
.tpp-logo-img { background:none; }
.tpp-logo-img img { display:block; max-height:48px; max-width:220px; width:auto; height:auto; }
.tpp-btn { color:var(--u-on,#fff); }
.tpp-av { color:var(--u-on,#fff); }
.tpp-preco { display:block; font-weight:700; color:var(--u-accent); margin-top:2px; }
.tpp-logo small { text-transform:uppercase; font-style:normal; }

/* Treinos de corrida: plano semanal e cronômetro */
.tpp-corr-topo { margin-top:16px; }
.tpp-corr-topo h2 { margin:0; }
.tpp-corr-topo .tpp-hint { margin:2px 0 0; }
.tpp-corr-recado { background:var(--u-surface2); border-radius:10px; padding:10px 12px; font-size:14px; margin-top:10px; }
.tpp-corr-ant { margin:12px 0 0; font-size:14px; }
.tpp-corr-sem { margin-top:20px; }
.tpp-corr-sem h3 { font-size:16px; text-transform:none; letter-spacing:0; margin:0 0 8px; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.tpp-corr-sem h3 span { color:var(--u-muted); font-weight:500; }
.tpp-corr-sem h3 em { font-style:normal; font-size:12px; font-weight:700; padding:2px 9px; border-radius:999px; background:var(--u-grad); color:var(--u-on,#fff); }
.tpp-corr-dias { display:grid; gap:6px; }
.tpp-corr-dia { background:var(--u-surface); border:1px solid var(--u-line); border-radius:12px; padding:10px 11px; display:flex; flex-direction:column; gap:4px; font-size:14px; line-height:1.35; min-width:0; }
.tpp-corr-dia.descanso { background:var(--u-surface2); border-color:transparent; flex-direction:row; justify-content:space-between; align-items:center; padding:7px 11px; }
.tpp-corr-dia.descanso .tpp-hint { font-size:13px; }
.tpp-corr-dia.hoje { border:1.5px solid transparent; background:linear-gradient(var(--u-surface),var(--u-surface)) padding-box, var(--u-grad) border-box; }
.tpp-corr-dia.descanso.hoje { background:linear-gradient(var(--u-surface2),var(--u-surface2)) padding-box, var(--u-grad) border-box; }
.tpp-corr-data { color:var(--u-muted); font-size:13px; }
.tpp-corr-dia.hoje .tpp-corr-data { color:var(--u-accent); font-weight:700; }
.tpp-corr-tagl { display:flex; justify-content:space-between; align-items:center; min-height:22px; }
.tpp-corr-ok { width:10px; height:10px; border-radius:50%; background:var(--u-ok); box-shadow:0 0 0 3px var(--u-oksoft); }
.tpp-corr-l { list-style:none; margin:2px 0 0; padding:0; font-weight:600; }
.tpp-corr-l li + li { margin-top:2px; }
.tpp-corr-x { color:var(--u-muted); font-size:13px; }
.tpp-corr-tot { font-weight:800; margin-top:2px; }
.tpp-corr-dia .tpp-btn-sm { display:block; width:100%; margin-top:auto; text-align:center; }
.tpp-corr-dia .tpp-corr-tot + .tpp-btn-sm, .tpp-corr-dia .tpp-corr-x + .tpp-btn-sm, .tpp-corr-dia ul + .tpp-btn-sm { margin-top:8px; }
.tpp-corr-hoje .tpp-corr-l { font-size:17px; margin:6px 0 0; }
.tpp-run-back { margin:14px 0 0; font-size:14px; }
.tpp-run-back a { text-decoration:none; font-weight:700; }
.tpp-run-h { display:flex; justify-content:space-between; align-items:flex-end; gap:10px; margin-top:8px; }
.tpp-run-h h2 { margin:0; }
.tpp-run-semjs { margin:12px 0 0; padding-left:20px; }
.tpp-cro { margin-top:14px; background:var(--u-surface); border:1px solid var(--u-line); border-radius:18px; padding:16px 16px 18px; text-align:center; box-shadow:0 6px 24px rgba(0,0,0,.06); }
.tpp-cro-et { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--u-accent); }
.tpp-cro-txt { font-weight:800; font-style:italic; text-transform:uppercase; font-size:24px; line-height:1.1; margin-top:2px; }
.tpp-cro-rep { color:var(--u-muted); font-weight:700; min-height:1.5em; }
.tpp-cro-anel { width:200px; height:200px; margin:10px auto 12px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; background:linear-gradient(var(--u-surface),var(--u-surface)) padding-box, linear-gradient(var(--u-line),var(--u-line)) border-box; border:9px solid transparent; }
.tpp-cro.rodando .tpp-cro-anel, .tpp-cro.concluido .tpp-cro-anel { background:linear-gradient(var(--u-surface),var(--u-surface)) padding-box, var(--u-grad) border-box; }
.tpp-cro.rodando .tpp-cro-anel { animation:tpp-pulso 1.6s ease-in-out infinite; }
@keyframes tpp-pulso { 50% { box-shadow:0 0 0 8px var(--u-soft); } }
@media (prefers-reduced-motion:reduce){ .tpp-cro.rodando .tpp-cro-anel { animation:none; } }
.tpp-cro-num { font-size:44px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:-.01em; line-height:1; }
.tpp-cro-st { font-size:13px; color:var(--u-muted); text-transform:uppercase; letter-spacing:.08em; margin-top:6px; }
.tpp-cro-st b { color:var(--u-ink); font-variant-numeric:tabular-nums; }
.tpp-cro.pausado .tpp-cro-num { opacity:.55; }
.tpp-cro-btns { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.tpp-cro-b { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:0 22px; border-radius:999px; font:inherit; font-weight:800; font-size:16px; cursor:pointer; border:1.5px solid var(--u-accent); background:transparent; color:var(--u-accent); }
.tpp-cro-b svg { width:22px; height:22px; flex:none; }
.tpp-cro-b.pri { background:var(--u-grad); border-color:transparent; color:var(--u-on,#fff); }
.tpp-cro-b.grande { min-height:60px; padding:0 34px; font-size:18px; min-width:220px; }
.tpp-run-lista { margin-top:14px; display:grid; gap:10px; }
.tpp-run-et { background:var(--u-surface); border:1px solid var(--u-line); border-radius:14px; padding:12px; }
.tpp-run-et.atual { border:1.5px solid var(--u-accent); }
.tpp-run-et.ok { border-color:var(--u-ok); }
.tpp-run-et-h { display:flex; gap:10px; align-items:flex-start; }
.tpp-run-et.ok .tpp-sn { background:var(--u-ok); border-color:var(--u-ok); color:#fff; }
.tpp-run-et.atual:not(.ok) .tpp-sn { border-color:var(--u-accent); color:var(--u-accent); }
.tpp-run-et ul { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px; }
.tpp-run-et li { display:flex; gap:6px; align-items:stretch; }
.tpp-run-rep { flex:1; display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; text-align:left; border:1px solid var(--u-line); background:var(--u-bg); color:var(--u-ink); border-radius:10px; padding:9px 12px; font:inherit; cursor:pointer; min-height:44px; }
.tpp-run-rep:disabled { cursor:default; }
.tpp-run-rep span { font-size:14px; color:var(--u-muted); }
.tpp-run-rep b { font-variant-numeric:tabular-nums; font-family:ui-monospace,monospace; font-size:15px; }
.tpp-run-rep small { color:var(--u-muted); font-size:12px; min-width:64px; text-align:right; }
.tpp-run-et li.atual .tpp-run-rep { border-color:var(--u-accent); background:var(--u-soft); }
.tpp-run-et li.atual .tpp-run-rep b { color:var(--u-accent); }
.tpp-run-et li.ok .tpp-run-rep b { color:var(--u-ok); }
.tpp-run-x { border:0; background:none; color:var(--u-muted); font:inherit; font-size:13px; font-weight:700; cursor:pointer; padding:0 6px; }
.tpp-run-x:disabled { opacity:.4; cursor:default; }
.tpp-run-fim { margin-top:16px; }
.tpp-resumo[hidden] { display:none; }
.tpp-run-res { list-style:none; margin:0 0 12px; padding:0; text-align:left; font-size:14px; }
.tpp-run-res li { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-top:1px solid #2b2830; }
.tpp-run-res b { font-family:ui-monospace,monospace; font-size:13px; text-align:right; }
.tpp-run-q { margin:6px 0 8px; font-weight:700; }
.tpp-run-sens { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.tpp-run-sens button { border:1.5px solid #4a4550; background:transparent; color:#fff; border-radius:999px; padding:8px 14px; font:inherit; font-weight:700; font-size:14px; cursor:pointer; }
.tpp-run-sens button[aria-checked="true"] { background:var(--u-grad); border-color:transparent; color:var(--u-on,#fff); }
.tpp-run-com { display:block; text-align:left; font-size:14px; margin-top:14px; color:#a59fa9; }
.tpp-run-com textarea { width:100%; margin-top:4px; font:inherit; color:#fff; background:#1c1a1f; border:1px solid #34303a; border-radius:10px; padding:8px 10px; }
.tpp-run button { font-family:inherit; }

/* Corrida do relógio (Strava e arquivo) */
.tpp-gps h3 { margin:0; font-size:17px; text-transform:none; letter-spacing:0; }
.tpp-gps-h { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.tpp-gps-strava, a.tpp-gps-strava { color:#fc5200; font-weight:700; font-size:13px; text-decoration:none; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; }
.tpp-gps-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr)); gap:8px; margin-top:12px; }
.tpp-gps-kpis div { background:var(--u-surface2); border-radius:10px; padding:8px 10px; }
.tpp-gps-kpis b { display:block; font-size:19px; font-variant-numeric:tabular-nums; line-height:1.2; }
.tpp-gps-kpis span { color:var(--u-muted); font-size:12px; }
.tpp-gps-km { margin-top:12px; }
.tpp-gps-km summary, .tpp-gps-como summary { cursor:pointer; font-weight:700; font-size:14px; }
.tpp-gps-km ol { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:4px; }
.tpp-gps-km li { display:grid; grid-template-columns:52px 1fr 70px; gap:8px; align-items:center; font-size:13px; }
.tpp-gps-km li span { color:var(--u-muted); }
.tpp-gps-km li i { height:8px; border-radius:99px; background:var(--u-grad); }
.tpp-gps-km li b { text-align:right; font-variant-numeric:tabular-nums; }
.tpp-gps-voltas { width:100%; border-collapse:collapse; margin-top:12px; font-size:13px; }
.tpp-gps-voltas th { text-align:left; color:var(--u-muted); font-weight:600; font-size:12px; padding:4px 6px; border-bottom:1px solid var(--u-line); }
.tpp-gps-voltas td { padding:6px; border-bottom:1px solid var(--u-line); font-variant-numeric:tabular-nums; }
.tpp-gps-voltas tr.off td { color:var(--u-muted); }
@media (max-width:480px){ .tpp-gps-voltas th:nth-child(2), .tpp-gps-voltas td:nth-child(2) { display:none; } }
.tpp-gps-tirar { margin-top:10px; text-align:right; }
.tpp-gps-ligar .tpp-hint { margin:4px 0 0; }
.tpp-gps-bts { display:grid; gap:10px; margin-top:12px; }
.tpp-btn-strava, a.tpp-btn-strava { background:#fc5200; color:#fff; margin-top:0; display:flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; }
.tpp-btn-strava[aria-disabled] { opacity:.6; }
.tpp-gps-aceite { font-size:12px; color:var(--u-muted); margin:-4px 0 0; }
.tpp-gps-up { display:flex; gap:8px; align-items:stretch; }
.tpp-gps-file { flex:1; display:flex; flex-direction:column; gap:2px; border:1.5px dashed var(--u-line); border-radius:12px; padding:10px 12px; cursor:pointer; font-weight:700; font-size:15px; color:var(--u-accent); }
.tpp-gps-file small { color:var(--u-muted); font-weight:500; font-size:12px; }
.tpp-gps-file input { font-size:13px; color:var(--u-ink); margin-top:6px; max-width:100%; }
.tpp-gps-up .tpp-btn-sm { align-self:center; }
.tpp-gps-como { margin-top:12px; font-size:14px; }
.tpp-gps-como ul { margin:8px 0; padding-left:18px; display:grid; gap:6px; }
.tpp-gps-lista { display:grid; gap:8px; margin-top:12px; }
.tpp-gps-lista form { margin:0; }
.tpp-gps-item { width:100%; display:flex; justify-content:space-between; gap:12px; align-items:center; text-align:left; font:inherit; color:var(--u-ink); background:var(--u-surface); border:1px solid var(--u-line); border-radius:12px; padding:12px; cursor:pointer; }
.tpp-gps-item.mesmo { border:1.5px solid var(--u-accent); }
.tpp-gps-item:hover { background:var(--u-soft); }
.tpp-gps-item span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.tpp-gps-item small { color:var(--u-muted); font-size:13px; }
.tpp-gps-n { text-align:right; flex:none; }
.tpp-gps-n b { font-variant-numeric:tabular-nums; }
.tpp-gps-rodape, .tpp-gps-linha { display:block; line-height:1.6; font-size:13px; color:var(--u-muted); margin-top:14px; }
.tpp-gps-rodape svg, .tpp-gps-linha svg { color:#fc5200; vertical-align:-2px; margin-right:4px; }
.tpp-gps-rodape form, .tpp-gps-linha form { display:inline; margin:0; }
.tpp-gps-linha { background:var(--u-surface2); border-radius:10px; padding:8px 12px; }
.tpp-gps-ligar-v { list-style:none; margin:10px 0 0; padding:0; display:grid; gap:8px; }
.tpp-gps-ligar-v li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:10px; align-items:center; border-bottom:1px solid var(--u-line); padding-bottom:8px; }
.tpp-gps-ligar-v li div { display:flex; flex-direction:column; font-size:14px; }
.tpp-gps-ligar-v li span { color:var(--u-muted); font-size:13px; font-variant-numeric:tabular-nums; }
.tpp-gps-ligar-v select, .tpp-gps-com textarea { font:inherit; font-size:14px; color:var(--u-ink); background:var(--u-surface); border:1px solid var(--u-line); border-radius:10px; padding:8px; width:100%; }
@media (max-width:480px){ .tpp-gps-ligar-v li { grid-template-columns:1fr; } }
.tpp-gps-sens { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.tpp-gps-sens label { cursor:pointer; position:relative; }
.tpp-gps-sens input { position:absolute; opacity:0; inset:0; margin:0; }
.tpp-gps-sens span { display:inline-block; padding:7px 14px; border-radius:999px; border:1px solid var(--u-line); font-weight:600; font-size:14px; }
.tpp-gps-sens input:checked + span { background:var(--u-soft); border-color:var(--u-accent); color:var(--u-accent); }
.tpp-gps-sens input:focus-visible + span { outline:2px solid var(--u-accent); outline-offset:2px; }
.tpp-gps-com { display:flex; flex-direction:column; gap:4px; margin-top:12px; font-weight:600; font-size:14px; }
.tpp-gps-com small { color:var(--u-muted); font-weight:500; }
.tpp-gps-sem { margin-top:12px; }
.tpp-gps [hidden] { display:none !important; }
.tpp-gps-bts > * { min-width:0; }
.tpp-gps-up { flex-wrap:wrap; }
.tpp-gps-up .tpp-btn-sm { width:100%; }
/* Com a corrida do relógio ligada, o cronômetro sai de cena (volta se o aluno tirar a corrida). */
.tpp-run:has(.tpp-gps-feito) .tpp-run-app, .tpp-run:has(.tpp-gps-feito) .tpp-run-semjs { display:none !important; }
