/* STYLE14: question and session first; saved history remains fully available. */
.phase49-study .study-messages + .tutor-history-panel{margin-top:20px;border-top:1px solid var(--p49-edge);background:transparent;box-shadow:none}
.phase49-study .tutor-history-panel h2{font-size:1.1rem;line-height:1.4;margin:0 0 .65rem}
.phase49-study .tutor-history-panel>p{font-size:.9rem;line-height:1.55}
.phase49-study .study-side>section.card:not(.study-focus){display:flex;flex-direction:column;align-items:flex-start;gap:.7rem}
.phase49-study .study-side>section.card:not(.study-focus)>:is(p,h2){margin:0}
.phase49-study [hidden]{display:none!important}
/* Assistant-only shell reflow when user text size increases. */
body[data-page="asistente"]>.skip-link{top:12px;transform:translateY(calc(-100% - 24px))}
body[data-page="asistente"]>.skip-link:focus{transform:none}
@media(max-width:600px){
 body[data-page="asistente"] .top-actions{grid-template-columns:minmax(0,1fr) auto}
 body[data-page="asistente"] .top-actions .btn{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:44px}
}
