/* Athlon client presentation · original brand and a shared, quiet visual system. */
:root {
  --ink:#182126; --muted:#5B6670; --line:#E1E5EA; --canvas:#F4F6F8;
  font-family:"Aptos","Segoe UI",Arial,sans-serif;
  color:var(--ink); background:#E9EDF0; font-synthesis:none;
}
body { color:var(--ink); }
button,input,select,textarea { font-family:inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
button { touch-action:manipulation; }
button:disabled { opacity:.45; }
.ui-icon { width:24px; height:24px; flex:none; vertical-align:middle; }
.app[data-role="cliente"] { width:min(100%,480px); margin:0 auto; min-height:100dvh; border-radius:0; background:var(--canvas); padding-bottom:calc(var(--client-nav-height,82px) + 24px); box-shadow:none; overflow:visible; }
.app[data-role="cliente"]:has(#screen) { background:var(--canvas); }
.app[data-role="cliente"] #screen { background:var(--canvas); }
.topbar { min-height:86px; height:auto; padding:20px; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); gap:12px; }
.brand-logo { width:182px; height:auto; max-width:55%; display:block; object-fit:contain; flex:none; }
.rolebar { display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:0; height:auto; min-width:0; padding:0; background:transparent; }
.rolebar #role-label { font-size:11px; font-weight:500; color:var(--muted); line-height:1.4; text-align:right; }
.rolebar button { min-height:32px; padding:4px 0 4px 8px; font-size:12px; line-height:1.3; font-weight:600; color:var(--ink); text-decoration:none; }
.rolebar button:hover { text-decoration:underline; text-underline-offset:4px; }
.demo { max-width:none; margin:0; padding:8px 20px 0; text-align:right; font-size:10px; line-height:1.4; letter-spacing:.02em; color:var(--muted); background:var(--canvas); }
.app[data-role="cliente"] main { padding:24px 20px 24px; font-size:15px; line-height:1.5; }
h1 { color:var(--ink); font-size:30px; line-height:1.12; font-weight:650; letter-spacing:-.035em; margin:0 0 10px; }
h2 { font-size:22px; line-height:1.25; font-weight:650; letter-spacing:-.025em; }
h3 { font-size:18px; line-height:1.3; font-weight:600; }
.eyebrow { color:var(--muted); font-size:12px; font-weight:600; line-height:1.4; letter-spacing:.07em; text-transform:none; margin-bottom:10px; }
.sub { color:var(--muted); font-size:15px; line-height:1.5; margin-bottom:24px; }
.card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; margin-bottom:16px; box-shadow:none; }
.button,.outline,.soft { min-height:48px; padding:12px 16px; border-radius:12px; font-size:15px; line-height:1.4; font-weight:600; }
.button { background:var(--ink); color:#fff; }
.outline { background:#fff; border:1px solid var(--line); color:var(--ink); }
.soft { color:var(--ink); background:#EDF0F3; }
a.button { display:flex; align-items:center; justify-content:center; text-decoration:none; }
.button .ui-icon { width:20px; height:20px; }
.notice { background:transparent; color:var(--muted); border:1px solid var(--line); border-radius:12px; padding:12px; font-size:12px; line-height:1.5; }
.field { gap:8px; margin:20px 0; font-size:13px; font-weight:600; }
.field input,.field select,.field textarea,dialog input,dialog select,dialog textarea { font-size:16px; min-height:44px; border-color:var(--line); border-radius:12px; color:var(--ink); }
.field textarea { padding:12px; }
.bottom-nav { width:min(100%,480px); height:auto; min-height:calc(82px + env(safe-area-inset-bottom)); grid-template-columns:repeat(5,minmax(0,1fr)); padding:7px 8px calc(7px + env(safe-area-inset-bottom)); background:#fffffffa; backdrop-filter:blur(16px); border-top:1px solid var(--line); box-shadow:none; }
.bottom-nav button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:0; color:var(--muted); font-size:11px; font-weight:500; min-height:60px; }
.bottom-nav button > span { width:42px; height:34px; display:grid; place-items:center; border-radius:12px; line-height:1; transition:background-color .15s,color .15s; }
.bottom-nav button .ui-icon { width:23px; height:23px; }
.bottom-nav .nav-label { display:block; max-width:100%; white-space:normal; overflow-wrap:anywhere; font-size:inherit; line-height:1.25; }
.bottom-nav button.active { color:var(--ink); font-weight:650; }
.bottom-nav button.active > span { background:var(--ink); color:#fff; }
.client-home-head { align-items:center; gap:12px; margin:0 0 24px; }
.client-home-head h1 { font-size:30px; font-weight:650; margin:0 0 7px; letter-spacing:-.04em; }
.client-home-head p { font-size:15px; color:var(--muted); margin:0; line-height:1.45; }
.home-bell { flex:none; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); }
.home-bell i { background:var(--ink); color:#fff; font-size:11px; min-width:19px; height:19px; right:-2px; top:-3px; }
.home-feature { display:block; min-height:0; border:1px solid var(--line); border-radius:16px; background:#fff; color:var(--ink); }
.home-feature::before,.home-feature::after,.client-plan-cover::before,.client-plan-cover::after { content:none; }
.home-feature-copy { position:relative; padding:20px; background:none; }
.home-feature-label { display:block; color:var(--muted); font-size:12px; line-height:1.4; letter-spacing:.07em; font-weight:600; margin-bottom:16px; }
.plan-symbol { width:48px; height:48px; object-fit:cover; border-radius:12px; float:right; margin-left:12px; }
.home-feature .plan-symbol { position:absolute; top:20px; right:20px; }
.home-feature h2 { max-width:calc(100% - 50px); font-size:25px; line-height:1.15; letter-spacing:-.035em; color:var(--ink); margin:0 0 10px; }
.home-feature p { color:var(--muted); font-size:13px; line-height:1.5; margin:0 0 24px; }
.home-feature-button { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:52px; padding:14px 16px; background:var(--ink); color:#fff; border:0; border-radius:12px; font-size:16px; font-weight:600; text-align:left; }
.home-feature.has-cover { background-position:center; background-size:cover; }
.home-feature.has-cover .home-feature-copy { padding-top:95px; background:linear-gradient(transparent,#182126bb); }
.home-feature.has-cover :is(h2,p,.home-feature-label) { color:#fff; }
.home-up-next { display:grid; grid-template-columns:auto minmax(0,1fr) 44px; gap:8px 12px; align-items:center; border:1px solid var(--line); border-radius:16px; padding:16px; margin:16px 0 28px; background:#fff; }
.home-up-next .home-next-label { display:block; grid-column:1/-1; font-size:12px; color:var(--muted); font-weight:600; text-transform:none; letter-spacing:.06em; margin-bottom:4px; }
.home-up-next > div { min-width:0; }
.home-up-next strong { font-size:15px; font-weight:600; line-height:1.4; margin:0 0 4px; }
.home-up-next small { font-size:12px; line-height:1.4; color:var(--muted); }
.home-up-next button { width:44px; height:44px; border-color:var(--line); color:var(--ink); display:grid; place-items:center; }
.date-badge { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:none; width:56px; height:64px; background:var(--canvas); border-radius:12px; color:var(--ink); }
.date-badge small { font-size:11px; line-height:1.4; color:var(--muted); text-transform:uppercase; }
.date-badge strong { font-size:26px; line-height:1.1; margin:0; font-weight:600; font-variant-numeric:tabular-nums; }
.home-up-next .date-badge { display:flex; align-items:center; justify-content:center; gap:3px; }
.home-up-next .date-badge strong { font-size:26px; margin:0; line-height:1.1; }
.home-up-next .date-badge small { font-size:11px; margin:0; }
.home-quick-title { font-size:20px; margin:0 0 12px; }
.home-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 16px; }
.home-actions button { min-width:0; overflow-wrap:anywhere; }
.home-actions button { position:relative; padding:16px 12px; min-height:142px; background:#fff; border:1px solid var(--line); border-radius:16px; color:var(--ink); }
.home-actions button > span { display:block; margin:0 0 12px; color:var(--ink); }
.home-actions strong { font-size:15px; line-height:1.35; font-weight:600; margin-bottom:5px; }
.home-actions small { color:var(--muted); font-size:12px; line-height:1.4; }
.home-actions button > .ui-icon { position:absolute; right:8px; top:18px; width:16px; color:var(--muted); }
.wellness-home-habit { border:1px solid var(--line); border-radius:16px; background:#fff; min-height:76px; padding:16px; margin:12px 0 0; gap:12px; color:var(--ink); }
.wellness-home-habit > span { width:36px; height:36px; background:transparent; color:#A17A22; display:grid; place-items:center; }
.wellness-home-habit[data-tab-go="habitos"] > span { color:#188486; }
.wellness-home-habit strong { font-size:15px; font-weight:600; }
.wellness-home-habit small { margin-top:4px; color:var(--muted); font-size:12px; line-height:1.4; }
.home-demo-note { display:none; }
.client-plan-cover { display:block; position:relative; min-height:0; border:1px solid var(--line); background:#fff; border-radius:16px; color:var(--ink); margin:0 0 28px; }
.client-plan-cover > div { padding:20px; background:none; }
.client-plan-cover span { display:block; margin-bottom:12px; color:var(--muted); font-size:12px; letter-spacing:.07em; font-weight:600; }
.client-plan-cover h2 { font-size:25px; color:var(--ink); margin:0 0 8px; }
.client-plan-cover small { font-size:13px; color:var(--muted); }
.client-plan-cover.has-cover { background-size:cover; background-position:center; }
.client-plan-cover.has-cover > div { padding-top:90px; background:linear-gradient(transparent,#182126bb); }
.client-plan-cover.has-cover :is(h2,small,span) { color:#fff; }
.client-plan-heading h2 { font-size:21px; margin-bottom:4px; }
.client-plan-heading p { font-size:14px; color:var(--muted); margin-bottom:16px; }
.day-tabs { gap:8px; margin:0 0 24px; overflow:visible; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.day-tabs button { white-space:normal; min-width:0; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font-size:14px; font-weight:500; padding:12px 8px; min-height:52px; line-height:1.4; }
.day-tabs button.active { background:var(--ink); color:#fff; border-color:var(--ink); font-weight:600; }
.card.client-plan-detail { padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.client-plan-detail .section-title { margin:0 0 8px; align-items:center; }
.client-plan-detail .section-title .eyebrow { font-size:11px; margin:0 0 4px; letter-spacing:.03em; }
.client-plan-detail .section-title h2 { font-size:20px; line-height:1.3; }
.client-plan-detail .section-title > span { font-size:12px; color:var(--muted); flex:none; }
.exercise-row { gap:12px; padding:16px 0; border-top:1px solid var(--line); }
.exercise-figure { width:54px; height:60px; flex:0 0 54px; background:var(--canvas); border-radius:12px; }
.exercise-figure { overflow:hidden; display:flex; align-items:center; justify-content:center; }
.exercise-figure img { object-fit:contain; display:block; max-width:100%; max-height:100%; }
.exercise-figure-fallback .ui-icon { width:26px; height:26px; color:#73777b; }
.exercise-info strong { color:var(--ink); font-size:15px; line-height:1.35; font-weight:600; }
.exercise-info small { font-size:12px; color:var(--muted); line-height:1.4; margin-top:3px; }
.exercise-info em { font-size:12px; color:var(--muted); line-height:1.4; margin-top:4px; }
.exercise-dose { font-size:15px; color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums; }
.client-plan-detail .button { margin-top:8px; }
#screen > [data-action="browse-gallery"] { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:12px; }
/* Keep agenda cards inside the same padded surface at every viewport size. */
#screen[data-view="agenda"] .card { min-width:0; border:1px solid var(--line); border-radius:16px; padding:clamp(16px,4vw,20px); margin-bottom:16px; box-shadow:none; }
#screen[data-view="agenda"] .agenda-pass .meta { min-width:0; background:transparent; border:0; border-right:1px solid var(--line); }
#screen[data-view="agenda"] .agenda-pass .meta:last-child { border-right:0; }
.agenda-next .button, .booking-row strong, .booking-history-row strong, .agenda-explanation span { overflow-wrap:anywhere; }
.booking-history-row > div, .agenda-explanation span { min-width:0; }
.booking-row .date-badge, .booking-history-row .ui-icon, .agenda-explanation .ui-icon, .agenda-next .button .ui-icon { flex-shrink:0; }
.booking-row { display:flex; gap:16px; margin:16px 0 20px; align-items:center; }
.booking-row > div { min-width:0; }
.booking-row strong { display:block; font-size:19px; line-height:1.35; font-weight:600; }
.booking-row small { display:block; font-size:14px; margin-top:4px; color:var(--muted); }
.booking-status { display:inline-flex; margin-top:8px; padding:3px 8px; border-radius:8px; background:var(--canvas); font-size:12px; color:var(--muted); }
.agenda-next .button { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; }
.agenda-pass h2 { font-size:19px; margin-bottom:4px; }
.agenda-pass .sub { margin-bottom:24px; font-size:14px; }
.agenda-pass .meta-grid { gap:0; margin:0 0 20px; }
.agenda-pass .meta { border:0; border-right:1px solid var(--line); border-radius:0; padding:0 4px; text-align:center; }
.agenda-pass .meta:last-child { border:0; }
.agenda-pass .meta strong { margin:0 0 4px; font-size:29px; line-height:1.1; font-weight:600; color:var(--ink); }
.agenda-pass .meta span { font-size:12px; color:var(--muted); }
.pass-progress { margin:0 0 8px; height:8px; border-radius:8px; background:#E8ECF0; }
.pass-progress span { background:var(--ink); border-radius:8px; }
.pass-caption { margin:0; color:var(--muted); font-size:13px; }
.agenda-explanation { display:flex; gap:10px; align-items:flex-start; padding:12px; background:var(--canvas); border-radius:12px; font-size:12px; line-height:1.5; color:var(--muted); margin:20px 0 0; }
.agenda-explanation .ui-icon { width:19px; height:19px; margin-top:1px; }
.booking-history-row { display:flex; gap:14px; padding:16px 0; align-items:center; border-bottom:1px solid var(--line); }
.booking-history-row:last-of-type { border:0; padding-bottom:0; }
.booking-history-row .ui-icon { width:26px; height:26px; }
.booking-history-row strong { display:block; font-size:16px; font-weight:600; }
.booking-history-row small { display:block; font-size:13px; color:var(--muted); margin-top:4px; }
.sheet { padding:24px 20px; }
.sheet h2 { font-size:24px; }
.icon-close { width:44px; height:44px; display:grid; place-items:center; flex:none; }
.catalog-filters { gap:8px; }
.catalog-filters select { font-size:13px; min-height:44px; padding:10px; }
.exercise-list button { min-height:76px; gap:12px; }
.exercise-list strong { font-size:15px; }
.exercise-list small { font-size:12px; }
.exercise-list { max-height:42dvh; }
.catalog-credit { font-size:12px; }
.is-working-out.app[data-role="cliente"] { padding-bottom:0; }
.is-working-out .topbar { min-height:76px; }
.is-working-out .demo { padding-bottom:8px; }
.is-working-out main#screen { background:var(--canvas); padding:0 12px 140px; }
.workout-toolbar { margin:0 -12px; padding:12px; border-color:var(--line); }
.workout-toolbar small { font-size:10px; color:var(--muted); letter-spacing:.04em; }
.workout-toolbar strong { font-size:15px; color:var(--ink); }
.workout-back,.workout-icon { min-width:40px; min-height:44px; }
.workout-finish-button { min-height:44px; font-size:14px; padding:10px 12px; }
.workout-statbar small,.workout-save-stats small { font-size:12px; color:var(--muted); }
.workout-statbar strong,.workout-save-stats strong { font-size:23px; color:var(--ink); font-weight:600; }
.workout-list-heading button { min-height:44px; font-size:13px; }
.workout-exercise { border:1px solid var(--line); border-radius:16px; padding:16px 12px; background:#fff; }
.workout-exercise .exercise-info strong { color:var(--ink); font-size:17px; }
.workout-exercise .exercise-info small { font-size:12px; color:var(--muted); }
.workout-exercise .exercise-figure { width:48px; height:52px; flex:0 0 48px; }
.workout-exercise-tools button,.workout-technique summary { min-height:44px; font-size:12px; border-radius:10px; padding:10px; background:var(--canvas); color:var(--ink); }
.workout-exercise-tools .workout-target { display:block; width:100%; margin:4px 0 0; font-size:13px; color:var(--muted); }
.workout-exercise .set-head,.workout-exercise .set-row { grid-template-columns:30px minmax(57px,1.2fr) minmax(40px,1fr) minmax(35px,.8fr) minmax(32px,.7fr) 36px; gap:4px; }
.workout-exercise .set-head { font-size:11px; color:var(--muted); }
.workout-exercise .set-row { min-height:52px; }
.workout-exercise .set-previous { font-size:13px; color:var(--muted); line-height:1.4; }
.workout-exercise .set-row input { height:44px; padding:6px 0; font-size:16px; color:var(--ink); }
.workout-exercise .set-number { width:30px; height:44px; font-size:14px; }
.workout-exercise .set-complete,.workout-exercise .set-complete > span { width:36px; height:44px; }
.set-complete input:checked+span { background:var(--ink); }
.workout-exercise .set-row.completed { background:#EDF0F3; }
.workout-exercise .set-row.completed input { background:transparent; }
.workout-add-set { min-height:44px; font-size:14px; color:var(--ink); background:var(--canvas); border-radius:10px; }
.workout-menu summary { width:36px; min-height:44px; display:grid; place-items:center; padding:8px; }
.workout-menu button { min-height:44px; font-size:14px; }
.workout-note-preview,.workout-local-note { color:var(--muted); font-size:12px; }
.workout-rest-dock { background:#fffffffa; border-color:var(--line); box-shadow:none; }
.workout-rest-dock .workout-rest-main { background:var(--ink); }
.workout-rest-dock .workout-rest-time strong { color:var(--ink); font-size:30px; font-weight:600; }
.workout-rest-dock .workout-rest-time small { font-size:10px; color:var(--muted); }
.community-actions .ui-icon { width:19px; height:19px; margin-right:5px; }
.community-actions button[aria-pressed="true"] .ui-icon { fill:currentColor; }
.profile-settings { display:grid; place-items:center; }
.workout-finish { font-family:inherit; color:var(--ink); }
.wf-card { border-color:var(--line); border-radius:16px; }
.wf-wordmark img { display:block; width:112px; height:auto; }
.wf-wordmark .wf-brand-white { display:none; }
.wf-photo .wf-brand-dark { display:none; }
.wf-photo .wf-brand-white { display:block; }
.wf-heading > span:last-child,.wf-card-copy { font-size:13px; color:var(--muted); }
.wf-navigation > button { width:44px; height:44px; }
.wf-share-line > button { min-height:44px; font-size:13px; border-radius:12px; }
@media (max-width:374px) {
  .app[data-role="cliente"] main { padding-inline:16px; }
  .topbar { padding-inline:16px; }
  .brand-logo { width:160px; }
  .home-feature h2 { font-size:23px; }
  .home-feature-copy { padding:16px; }
  .home-feature .plan-symbol { width:40px; height:40px; top:16px; right:16px; }
  .card { padding:16px; }
  .is-working-out main#screen { padding-inline:10px; }
  .workout-toolbar { margin-inline:-10px; padding-inline:10px; }
  .workout-statbar { margin-inline:-10px; padding-inline:10px; }
  .is-working-out .progress-line { margin-inline:-10px; }
  .exercise-row { gap:8px; }
  .exercise-dose { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { .bottom-nav button>span { transition:none; } }
