/* Edzésterv oldal (edzes.php). Az alap tokeneket a style.css adja. */

.back-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
}
.back-link:hover { color: var(--accent); }

.workout-intro {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 14px;
}

.rotation-hint {
    background: var(--accent-soft);
    color: var(--ink);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 16px;
}
.rotation-hint strong { color: var(--accent); }

/* --- napfülek --- */
.day-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.day-tab {
    flex: 1;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    border-radius: 8px;
    padding: 10px 6px;
    font-size: 14px;
    font-weight: 600;
}
.day-tab:hover { border-color: var(--accent); }
.day-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* --- napi panel --- */
.day-panel h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
}

.exercise-list {
    list-style: none;
    counter-reset: ex;
    margin: 0 0 12px;
    padding: 0;
}

.exercise {
    counter-increment: ex;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 8px;
}
.exercise.is-optional { border-style: dashed; }

.exercise > details > summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}
.exercise > details > summary::-webkit-details-marker { display: none; }

.exercise > details > summary::before {
    content: counter(ex);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ex-head { flex: 1; min-width: 0; }

.ex-name {
    font-size: 14px;
    font-weight: 600;
    display: inline;
}
.ex-muscle {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
}
.ex-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 4px;
    vertical-align: 1px;
}

.ex-scheme {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    padding-top: 1px;
}

.ex-cues {
    margin: 0;
    padding: 0 14px 12px 48px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.ex-cues li { margin-bottom: 4px; }

.optional-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 0 0 14px;
}

.day-done {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* --- info blokkok --- */
.info-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 10px;
    padding: 0 14px;
}
.info-block > summary {
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.info-block[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.info-block ul, .info-block ol { margin: 0 0 12px; padding-left: 20px; }
.info-block li { font-size: 13px; color: var(--ink); line-height: 1.55; margin-bottom: 6px; }
.info-block p { font-size: 13px; color: var(--ink); line-height: 1.55; margin: 0 0 10px; }
.info-block code {
    background: var(--accent-soft);
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 12px;
}

.workout-foot {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
    margin: 20px 0 0;
}

@media (max-width: 480px) {
    .exercise > details > summary { flex-wrap: wrap; }
    .ex-scheme { width: 100%; padding-left: 32px; }
}
