/* Aula docente: sesiones con fecha visible y biblioteca de grabaciones. */
body.is-teacher-dashboard #teacher-panel-live .td-page-head { align-items: center; margin-bottom: 16px; }
body.is-teacher-dashboard #teacher-panel-live .td-page-head .td-eyebrow { display: block; margin-bottom: 7px; }
body.is-teacher-dashboard #teacher-panel-live .td-page-head h1 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 8px; }
body.is-teacher-dashboard #teacher-panel-live .tl-context-note { align-items: center; color: #52677e; display: flex; flex-wrap: wrap; font-size: 12px; gap: 18px; margin: 0 0 24px; }
body.is-teacher-dashboard #teacher-panel-live .tl-context-note > span:first-child { align-items: center; display: inline-flex; gap: 7px; }
body.is-teacher-dashboard #teacher-panel-live .tl-context-note p { font-size: 12px; margin: 0 0 0 auto; }
body.is-teacher-dashboard #teacher-panel-live .tl-workspace { background: transparent; border: 0; box-shadow: none; padding: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-workspace svg,
body.is-teacher-dashboard #teacher-panel-live .tl-context-note svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 20px; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article { align-items: center; background: #ffffff; border: 1px solid #dce5ef; border-radius: 14px; display: flex; gap: 16px; min-width: 0; padding: 20px; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article > svg { background: #f0f5fc; border-radius: 11px; color: #3a6397; flex: 0 0 auto; height: 44px; padding: 11px; width: 44px; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article > div { display: grid; gap: 7px; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary span { color: #52677e; font-size: 12px; line-height: 1.45; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary strong { color: #20364f; font-size: 29px; font-weight: 600; line-height: 1.1; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article.has-pending { background: #fffaf1; border-color: #ecd9b8; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article.has-pending > svg { background: #fff0d8; color: #865317; }
body.is-teacher-dashboard #teacher-panel-live .tl-summary article.has-pending strong { color: #805017; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus { background: #edf4ff; border: 1px solid #d4e2f6; border-radius: 17px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); margin: 0 0 28px; overflow: hidden; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus.is-pending { background: #fff9ee; border-color: #e9d9b9; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-copy { display: flex; flex-direction: column; min-width: 0; padding: 28px; }
body.is-teacher-dashboard #teacher-panel-live .tl-kicker { color: #386394; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body.is-teacher-dashboard #teacher-panel-live .is-pending .tl-kicker { color: #82571f; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus h2 { color: #20364f; font-size: clamp(20px, 2vw, 25px); font-weight: 600; letter-spacing: -.025em; line-height: 1.4; margin: 9px 0 12px; overflow-wrap: anywhere; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus p { color: #52677e; font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-hint { color: #52677e; font-size: 12px; line-height: 1.6; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-actions :is(a, button) { align-items: center; background: #164194; border: 1px solid #164194; border-radius: 9px; color: #ffffff; display: inline-flex; font: inherit; font-size: 13px; font-weight: 500; justify-content: center; min-height: 44px; padding: 11px 16px; text-decoration: none; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover { background: #e1e9f1; min-height: 240px; overflow: hidden; position: relative; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover::after { background: linear-gradient(transparent 48%, rgb(15 33 53 / 85%)); content: ""; inset: 0; position: absolute; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover > span { bottom: 22px; color: #ffffff; font-size: 14px; font-weight: 500; left: 22px; line-height: 1.5; position: absolute; right: 22px; z-index: 1; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover > svg { color: #536c86; height: 64px; left: calc(50% - 32px); position: absolute; top: calc(50% - 32px); width: 64px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-empty { align-items: center; background: #edf4ff; border: 1px solid #d4e2f6; border-radius: 14px; display: flex; gap: 18px; margin-bottom: 28px; padding: 24px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-empty > svg { color: #386394; flex: 0 0 auto; height: 30px; width: 30px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-empty h2 { color: #20364f; font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0 0 6px; }
body.is-teacher-dashboard #teacher-panel-live .tl-focus-empty p { color: #52677e; font-size: 13px; line-height: 1.6; margin: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-browser-toolbar { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 13px; }
body.is-teacher-dashboard #teacher-panel-live .tl-search { display: grid; flex: 1 1 270px; gap: 8px; max-width: 430px; min-width: 0; position: relative; }
body.is-teacher-dashboard #teacher-panel-live .tl-search-label { color: #52677e; font-size: 12px; font-weight: 500; }
body.is-teacher-dashboard #teacher-panel-live .tl-search > svg { bottom: 13px; color: #718ba8; left: 13px; position: absolute; }
body.is-teacher-dashboard #teacher-panel-live .tl-search input { background: #ffffff; border: 1px solid #d4dfec; border-radius: 10px; color: #294563; font: inherit; font-size: 13px; font-weight: 400; min-height: 46px; min-width: 0; padding: 12px 32px 12px 42px; width: 100%; }
body.is-teacher-dashboard #teacher-panel-live .tl-search input::placeholder { color: #52677e; }
body.is-teacher-dashboard #teacher-panel-live .tl-filters { background: #edf2f9; border: 1px solid #dce5ef; border-radius: 11px; display: inline-flex; gap: 3px; padding: 3px; }
body.is-teacher-dashboard #teacher-panel-live .tl-filters button { background: transparent; border: 1px solid transparent; border-radius: 8px; color: #52677e; font: inherit; font-size: 12px; font-weight: 500; min-height: 44px; padding: 10px 13px; }
body.is-teacher-dashboard #teacher-panel-live .tl-filters button[aria-pressed="true"] { background: #ffffff; border-color: #d2e0f5; box-shadow: 0 2px 5px rgb(30 54 85 / 5%); color: #164194; }
body.is-teacher-dashboard #teacher-panel-live .tl-result-count { color: #52677e; font-size: 12px; margin: 0 0 22px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-group + .tl-session-group { margin-top: 28px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-group > header { margin-bottom: 14px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-group h2 { align-items: center; color: #20364f; display: flex; font-size: 20px; font-weight: 600; gap: 10px; letter-spacing: -.02em; line-height: 1.4; margin: 0 0 6px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-group h2 > span { background: #e6eef8; border-radius: 7px; color: #3c618c; font-size: 11px; letter-spacing: 0; min-width: 24px; padding: 3px 7px; text-align: center; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-group > header p { color: #52677e; font-size: 12px; line-height: 1.6; margin: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-list { display: grid; gap: 12px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-card { align-items: center; background: #ffffff; border: 1px solid #dce5ef; border-radius: 14px; box-shadow: 0 3px 12px rgb(29 52 83 / 3%); display: grid; gap: 20px; grid-template-columns: 68px minmax(0, 1fr) auto; min-width: 0; padding: 22px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-card.is-current { background: #ffffff; border-color: #cfddf0; box-shadow: 0 3px 12px rgb(29 52 83 / 3%); }
body.is-teacher-dashboard #teacher-panel-live .tl-session-card.is-cancelled { opacity: 1; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-date { align-items: center; background: #f2f6fc; border: 1px solid #dce5ef; border-radius: 12px; color: #315c90; display: flex; flex-direction: column; gap: 5px; justify-content: center; min-height: 74px; padding: 11px 6px; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-date > small { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-date > strong { font-size: 25px; font-weight: 600; line-height: 1; }
body.is-teacher-dashboard #teacher-panel-live .is-pending .tl-session-date { background: #fff8ec; border-color: #e9d9b9; color: #85551c; }
body.is-teacher-dashboard #teacher-panel-live .td-session-copy { min-width: 0; }
body.is-teacher-dashboard #teacher-panel-live .teacher-session-status { background: #edf3fc; border: 1px solid #d9e5f5; border-radius: 20px; color: #3b618d; display: inline-flex; font-size: 10px; font-weight: 500; justify-self: start; letter-spacing: 0; line-height: 1.4; margin: 0 0 8px; padding: 4px 8px; text-transform: none; width: fit-content; }
body.is-teacher-dashboard #teacher-panel-live .is-pending .teacher-session-status { background: #fff4dd; border-color: #ecd8b0; color: #805017; }
body.is-teacher-dashboard #teacher-panel-live .has-recording .teacher-session-status { background: #edf8f1; border-color: #d2e8db; color: #256343; }
body.is-teacher-dashboard #teacher-panel-live .td-session-copy h3 { color: #20364f; font-size: 17px; font-weight: 600; line-height: 1.45; margin: 0 0 8px; overflow-wrap: anywhere; }
body.is-teacher-dashboard #teacher-panel-live .td-session-copy p { color: #52677e; display: block; font-size: 12px; font-weight: 400; line-height: 1.6; margin: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-session-lesson { color: #52677e; display: block; font-size: 12px; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; }
body.is-teacher-dashboard #teacher-panel-live .td-session-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 0; max-width: 350px; }
body.is-teacher-dashboard #teacher-panel-live .td-session-actions > :is(a, button),
body.is-teacher-dashboard #teacher-panel-live .td-session-more > summary { align-items: center; background: #ffffff; border: 1px solid #d1deed; border-radius: 9px; color: #365b87; display: inline-flex; font: inherit; font-size: 12px; font-weight: 500; gap: 7px; height: auto; justify-content: center; min-height: 44px; padding: 11px 13px; text-decoration: none; }
body.is-teacher-dashboard #teacher-panel-live .td-session-actions > :is(.is-primary, [data-upload-session-recording], [data-teacher-play-recording]) { background: #164194; border-color: #164194; color: #ffffff; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more > summary { min-width: 44px; padding: 10px; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more { flex: 0 0 auto; position: relative; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more[open] { z-index: 5; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more > div { background: #ffffff; border: 1px solid #dce5ef; border-radius: 10px; box-shadow: 0 10px 30px rgb(29 52 83 / 12%); min-width: 180px; padding: 6px; right: 0; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more > div button { border-radius: 6px; color: #365b87; font-size: 13px; font-weight: 400; min-height: 44px; padding: 10px 12px; }
body.is-teacher-dashboard #teacher-panel-live .td-session-more > div button.is-danger { color: #a43b38; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.is-teacher-dashboard #teacher-panel-live .tl-session-card.has-recording { align-items: stretch; gap: 0; grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover { background: #dce6f1; border: 0; border-radius: 0; display: block; min-height: 170px; overflow: hidden; padding: 0; position: relative; width: 100%; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover::after { background: rgb(15 33 53 / 13%); content: ""; inset: 0; pointer-events: none; position: absolute; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover > span { align-items: center; background: #ffffff; border-radius: 50%; box-shadow: 0 3px 15px rgb(15 33 53 / 15%); color: #164194; display: flex; height: 48px; justify-content: center; left: calc(50% - 24px); position: absolute; top: calc(50% - 24px); width: 48px; z-index: 1; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover svg { fill: #164194; height: 20px; stroke: none; width: 20px; }
body.is-teacher-dashboard #teacher-panel-live .has-recording .td-session-copy { grid-column: auto; grid-row: auto; padding: 22px 22px 10px; }
body.is-teacher-dashboard #teacher-panel-live .has-recording .td-session-actions { justify-content: flex-start; max-width: none; padding: 6px 22px 22px; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child { grid-column: 1 / -1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child .tl-recording-cover { grid-row: 1 / 3; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child .td-session-actions { grid-column: 2; }
body.is-teacher-dashboard #teacher-panel-live .tl-empty { align-items: center; background: #ffffff; border: 1px dashed #cad9ec; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; padding: 38px 22px; text-align: center; }
body.is-teacher-dashboard #teacher-panel-live .tl-empty > svg { color: #6f8aa9; height: 30px; width: 30px; }
body.is-teacher-dashboard #teacher-panel-live .tl-empty h2 { color: #304e70; font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-empty p { color: #52677e; font-size: 13px; line-height: 1.6; margin: 0; }
body.is-teacher-dashboard #teacher-panel-live .tl-empty button { background: #f1f6fd; border: 1px solid #d1deed; border-radius: 9px; color: #365b87; font-size: 13px; min-height: 44px; padding: 11px 15px; }
body.is-teacher-dashboard #teacher-panel-live :is(button, a, summary, input):focus-visible { outline: 3px solid #164194; outline-offset: 3px; }
body.is-teacher-dashboard #teacher-panel-live .tl-recording-cover:focus-visible { outline-offset: -4px; }
body.is-teacher-dashboard #teacher-panel-live :is(.td-session-actions > button, .tl-focus-actions button, .tl-filters button, .tl-empty button):hover { filter: brightness(.96); }

@media (max-width: 1100px) {
  body.is-teacher-dashboard #teacher-panel-live .tl-session-card { gap: 16px; grid-template-columns: 64px minmax(0, 1fr); }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-card:not(.has-recording) .td-session-actions { grid-column: 2; justify-content: flex-start; max-width: none; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary article { gap: 12px; padding: 17px; }
}
@media (max-width: 720px) {
  body.is-teacher-dashboard #teacher-panel-live .tl-context-note { gap: 12px; }
  body.is-teacher-dashboard #teacher-panel-live .td-live-toolbar,
  body.is-teacher-dashboard #teacher-panel-live .td-live-toolbar > button { max-width: none; width: 100%; }
  body.is-teacher-dashboard #teacher-panel-live .tl-context-note p { flex-basis: 100%; margin-left: 0; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary { gap: 8px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary article { align-items: flex-start; flex-direction: column; gap: 12px; padding: 15px 12px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary article > svg { background: transparent; border-radius: 0; height: 22px; padding: 0; width: 22px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary span { font-size: 11px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-summary strong { font-size: 25px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-focus { grid-template-columns: minmax(0, 1fr); }
  body.is-teacher-dashboard #teacher-panel-live .tl-focus-copy { padding: 22px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-focus-cover { min-height: 150px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-focus h2 { font-size: 21px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-search { flex-basis: 100%; max-width: none; }
  body.is-teacher-dashboard #teacher-panel-live .tl-search input { font-size: 16px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  body.is-teacher-dashboard #teacher-panel-live .tl-filters button { font-size: 11px; padding: 10px 3px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-group h2 { font-size: 19px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-card { gap: 15px; grid-template-columns: 54px minmax(0, 1fr); padding: 18px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-date { min-height: 66px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-date > strong { font-size: 23px; }
  body.is-teacher-dashboard #teacher-panel-live .td-session-copy h3 { font-size: 16px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-card:not(.has-recording) .td-session-actions { grid-column: 1 / -1; }
  body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid { grid-template-columns: minmax(0, 1fr); }
  body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child { grid-template-columns: minmax(0, 1fr); }
  body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child .tl-recording-cover { grid-row: auto; }
  body.is-teacher-dashboard #teacher-panel-live .tl-recording-grid > .tl-session-card:only-child .td-session-actions { grid-column: 1; }
  body.is-teacher-dashboard #teacher-panel-live .tl-session-card.has-recording .td-session-copy { grid-column: 1; }
  body.is-teacher-dashboard #teacher-panel-live .has-recording .td-session-copy { padding: 20px 18px 8px; }
  body.is-teacher-dashboard #teacher-panel-live .has-recording .td-session-actions { padding: 6px 18px 20px; }
  body.is-teacher-dashboard #teacher-panel-live .tl-empty { padding: 30px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.is-teacher-dashboard #teacher-panel-live * { animation: none !important; transition: none !important; }
}
