/* ======================================================
   Campus THL PRO · Session / Entrenamiento
====================================================== */

.thl-session-page .thl-app,
.thl-session-page .thl-session-shell { max-width: 430px; }

.thl-session-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    margin-bottom: 22px;
}

.thl-session-back,
.thl-session-more {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform var(--thl-transition), box-shadow var(--thl-transition);
}

.thl-session-heading {
    text-align: center;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.thl-session-intro {
    margin-bottom: 22px;
}

.thl-session-context {
    color: var(--thl-main);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
    margin-bottom: 12px;
}

.thl-session-intro h1 {
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 10px;
}

.thl-session-intro p { color: var(--thl-muted); line-height: 1.55; margin: 0 0 18px; }

.thl-session-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.thl-session-stat {
    background: #fff;
    border: 1px solid var(--thl-border);
    border-radius: 16px;
    min-height: 86px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(20,20,20,.045);
    transition: transform var(--thl-transition), box-shadow var(--thl-transition);
}

.thl-session-stat span { color: var(--thl-main); font-size: 18px; }
.thl-session-stat strong { display: block; font-size: 13px; margin-top: 8px; }
.thl-session-stat small { color: #867e76; font-size: 11px; }

.thl-workout-list { display: grid; gap: 22px; }

.thl-workout-card {
    background: transparent;
    border-radius: 24px;
    transition: transform var(--thl-transition), filter var(--thl-transition);
}

.thl-workout-card.green { --block-color: #4a8f35; --block-soft: #edf7e9; }
.thl-workout-card.orange { --block-color: var(--thl-main); --block-soft: #fff0e9; }

.thl-workout-card-head {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.thl-workout-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--block-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.thl-workout-card-head h2 { margin: 0; font-size: 15px; letter-spacing: .04em; }
.thl-workout-card-head p { margin: 2px 0 0; color: #777; font-size: 12px; }
.thl-workout-card-head b { background: var(--block-soft); color: var(--block-color); border-radius: 999px; padding: 7px 10px; font-size: 9px; letter-spacing: .08em; }

.thl-workout-table {
    background: #fff;
    border: 1px solid var(--thl-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--thl-shadow);
}

.thl-workout-table-head,
.thl-workout-exercise summary {
    display: grid;
    grid-template-columns: 1fr 58px 44px 38px;
    gap: 6px;
    align-items: center;
}

.thl-workout-table-head {
    padding: 12px 14px;
    color: #9a9189;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid var(--thl-border);
}

.thl-workout-exercise summary {
    list-style: none;
    cursor: pointer;
    padding: 14px;
    border-bottom: 1px solid #f0e9e2;
    background: #fff;
    transition: background var(--thl-transition);
}

.thl-workout-exercise summary::-webkit-details-marker { display: none; }
.thl-workout-exercise[open] summary { background: color-mix(in srgb, var(--block-soft) 65%, #fff); }

.thl-exercise-title { display: flex; align-items: center; gap: 9px; }
.thl-exercise-title span { width: 22px; height: 22px; border-radius: 50%; background: var(--block-soft); color: var(--block-color); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.thl-workout-exercise summary strong { font-size: 14px; }
.thl-workout-exercise summary b { font-size: 12px; text-align: center; }

.thl-workout-exercise-body { padding: 14px; background: #fff; animation: thlFadeUp .22s ease both; }

@keyframes thlFadeUp {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.thl-video-placeholder {
    aspect-ratio: 16/9;
    background: #333;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
}

.thl-workout-exercise-body h4 { color: var(--block-color); font-size: 12px; letter-spacing: .08em; margin: 14px 0 8px; }
.thl-workout-exercise-body p { color: #5f5750; font-size: 14px; line-height: 1.6; margin: 0; }
.thl-workout-help { margin: 10px 0 0; color: #6b625b; font-size: 13px; line-height: 1.4; }

.thl-complete-form { margin: 24px 0 100px; }
.thl-complete-form button { width: 100%; border: 0; border-radius: 16px; background: var(--thl-main); color: #fff; min-height: 58px; font-size: 16px; font-weight: 900; cursor: pointer; }

.thl-completed-box { margin: 24px 0 14px; background: #eaf7ed; color: #2c8a45; padding: 16px; border-radius: 18px; font-weight: 900; text-align: center; }
.thl-button-light { background: #111; margin-bottom: 100px; }

@media (hover:hover) {
    .thl-session-back:hover,
    .thl-session-more:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.11); }
    .thl-session-stat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,20,20,.08); }
    .thl-workout-exercise summary:hover { background: #faf7f2; }
}

@media (min-width:1100px) {
    .thl-session-page .thl-app,
    .thl-session-page .thl-session-shell { max-width: 1000px; }

    .thl-session-header { margin-bottom: 34px; }
    .thl-session-intro { max-width: 800px; margin-bottom: 34px; }
    .thl-session-intro h1 { font-size: 56px; max-width: 760px; }
    .thl-session-intro p { font-size: 17px; max-width: 720px; }
    .thl-session-stats { max-width: 760px; gap: 14px; }
    .thl-session-stat { min-height: 106px; padding: 18px; }
    .thl-workout-list { gap: 30px; }
    .thl-workout-card-head { grid-template-columns: 46px 1fr auto; }
    .thl-workout-number { width: 40px; height: 40px; }
    .thl-workout-card-head h2 { font-size: 18px; }
    .thl-workout-table-head,
    .thl-workout-exercise summary { grid-template-columns: 1fr 90px 70px 60px; }
    .thl-workout-exercise summary { padding: 18px 20px; }
    .thl-workout-exercise-body { padding: 20px; }
    .thl-complete-form button { max-width: 420px; }
}
