/* Agenda y certificados privados del alumno; todas las acciones usan los datos originales. */
.student-workspace :is(.aula-agenda-section, .aula-certificates-section) { --planning-blue: #2055a0; --planning-ink: #172e4b; --planning-muted: #51647c; --planning-line: #dbe4ef; }
.student-workspace :is(.planning-heading, .planning-tools, .planning-results, .planning-event) { box-sizing: border-box; }
.student-workspace .planning-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.student-workspace .planning-heading h2 { margin: 7px 0 9px; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; color: var(--planning-ink); }
.student-workspace .planning-heading p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--planning-muted); }
.student-workspace .planning-heading h2:focus { outline: 2px solid #2055a0; outline-offset: 5px; border-radius: 3px; }
.student-workspace .planning-eyebrow { font-size: 11px; letter-spacing: .09em; font-weight: 600; color: var(--planning-blue); }
.student-workspace .planning-heading-mark { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid #d5e2f3; background: #edf3fc; color: var(--planning-blue); border-radius: 15px; }
.student-workspace .planning-heading-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.student-workspace .planning-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.student-workspace .planning-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #eaf0f7; border-radius: 11px; }
.student-workspace .planning-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; color: #435873; background: transparent; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.student-workspace .planning-filters button[aria-pressed="true"] { background: #fff; border-color: #d9e3ef; color: #184885; box-shadow: 0 2px 5px #182e4b0a; }
.student-workspace .planning-filters button span { border-radius: 20px; background: #eaf0f7; min-width: 21px; padding: 2px 5px; color: #435873; font-size: 11px; }
.student-workspace .planning-search { display: flex; align-items: center; gap: 10px; min-height: 48px; border: 1px solid #cbd9e9; border-radius: 10px; background: #fff; padding: 0 13px; flex: 1 1 250px; margin: 0; }
.student-workspace .planning-search svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #526986; stroke-width: 1.6; }
.student-workspace .planning-search input { width: 100%; min-width: 0; min-height: 46px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--planning-ink); box-shadow: none; padding: 9px 0; }
.student-workspace .planning-search input::placeholder { color: #596b80; opacity: 1; }
.student-workspace .planning-search:focus-within { outline: 2px solid var(--planning-blue); outline-offset: 3px; }
.student-workspace .planning-type select { max-width: 100%; min-height: 48px; border: 1px solid #cbd9e9; border-radius: 10px; background: #fff; padding: 10px 30px 10px 12px; color: #38516e; font: inherit; font-size: 13px; cursor: pointer; }
.student-workspace .planning-results { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 12px 0 18px; }
.student-workspace .planning-results p { color: var(--planning-muted); font-size: 12px; line-height: 1.6; margin: 0; }
.student-workspace :is(.planning-results button, .planning-more, .planning-empty button) { border: 1px solid #cbd9e9; border-radius: 9px; background: #fff; color: #2055a0; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.student-workspace :is(.planning-tools button, .planning-tools select, .planning-event, .planning-results button, .planning-more, .planning-empty button, .aula-certificates-section summary):focus-visible { outline: 2px solid #2055a0; outline-offset: 3px; }
.student-workspace :is(.planning-tools button, .planning-event, .planning-more, .planning-empty button):hover { border-color: #9cb9de; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-agenda-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-card { padding: 22px; border-color: var(--planning-line); }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar { gap: 12px; flex-wrap: wrap; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar p { text-transform: none; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--planning-muted); }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls button { min-width: 44px; min-height: 44px; height: auto; font-size: 14px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-grid { gap: 5px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day { min-width: 0; min-height: 70px; padding: 7px 5px; border: 1px solid transparent; border-radius: 9px; background: #f6f8fb; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day:hover { background: #edf3fc; border-color: #bbcee7; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-outside { background: #fff; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-selected { background: #edf3fc; box-shadow: inset 0 0 0 2px #2055a0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-number { font-size: 13px; color: #20364d; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-outside .aula-calendar-day-number { color: #5b6d83; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event { color: #245795; font-size: 10px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event.is-assignment { color: #755618; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { padding: 22px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { display: block; }
.aula-authenticated.student-workspace[data-aula-view="student"] :is(.aula-day-event-topline span, .aula-day-event-topline time, .aula-day-event-status) { font-size: 12px; }
.aula-authenticated.student-workspace[data-aula-view="student"] :is(.aula-day-event > p, .aula-day-empty p, .aula-weekly-schedule small) { font-size: 13px; line-height: 1.6; }
.aula-authenticated.student-workspace[data-aula-view="student"] :is(.aula-day-empty strong, .aula-weekly-schedule strong) { font-size: 14px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-footer :is(a, button) { min-height: 44px; font-size: 13px; }
.student-workspace .aula-day-event-footer button { background: #fff; border: 1px solid #cbd9e9; border-radius: 8px; padding: 10px 12px; color: #2055a0; font: inherit; cursor: pointer; }
.student-workspace .aula-day-event-footer button:focus-visible { outline: 2px solid #2055a0; outline-offset: 3px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail-heading { padding: 0 0 18px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail-heading h3 { font-size: 19px; line-height: 1.45; }
.student-workspace .aula-day-detail-heading h3:focus { outline: 2px solid #2055a0; outline-offset: 5px; border-radius: 3px; }
.student-workspace .aula-day-event { background: #f8fafd; border: 1px solid var(--planning-line); }
.student-workspace .aula-day-event-status { font-size: 12px; line-height: 1.5; }
.student-workspace .aula-day-event-footer { gap: 10px; flex-wrap: wrap; }
.student-workspace .aula-day-event-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.student-workspace .aula-weekly-schedule { border-top: 1px solid var(--planning-line); margin-top: 22px; padding-top: 18px; }
.student-workspace .aula-weekly-schedule small { font-size: 12px; color: var(--planning-muted); line-height: 1.6; }
.student-workspace .aula-weekly-schedule summary { min-height: 44px; align-content: center; color: #2055a0; font-size: 13px; font-weight: 500; cursor: pointer; }
.student-workspace .aula-weekly-schedule summary:focus-visible { outline: 2px solid #2055a0; outline-offset: 3px; }
.student-workspace .planning-events { margin-top: 28px; }
.student-workspace .planning-events-heading { margin-bottom: 16px; }
.student-workspace .planning-events-heading h3 { font-size: 18px; line-height: 1.4; font-weight: 650; color: var(--planning-ink); margin: 0 0 6px; }
.student-workspace .planning-events-heading p { margin: 0; color: var(--planning-muted); font-size: 13px; line-height: 1.6; }
.student-workspace .planning-event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.student-workspace .planning-event { display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; text-align: left; padding: 17px; background: #fff; border: 1px solid var(--planning-line); border-radius: 13px; cursor: pointer; font: inherit; }
.student-workspace .planning-event-date { display: grid; place-items: center; min-height: 52px; flex: 0 0 58px; color: #2055a0; background: #edf3fc; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.6; text-align: center; }
.student-workspace .planning-event.is-assignment .planning-event-date { color: #79591b; background: #faf3e5; }
.student-workspace .planning-event-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.student-workspace .planning-event-copy strong { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--planning-ink); }
.student-workspace .planning-event-copy > span { color: var(--planning-muted); font-size: 12px; line-height: 1.5; }
.student-workspace .planning-event-copy small { color: #405875; font-size: 11px; line-height: 1.6; }
.student-workspace .planning-event-arrow { color: #2055a0; font-size: 20px; margin-left: auto; flex: 0 0 auto; }
.student-workspace .planning-more { margin-top: 16px; }
.student-workspace .planning-empty { grid-column: 1 / -1; padding: 28px; text-align: center; border: 1px dashed #c6d5e6; border-radius: 14px; background: #fff; }
.student-workspace .planning-empty strong { font-size: 16px; color: var(--planning-ink); font-weight: 600; }
.student-workspace .planning-empty p { color: var(--planning-muted); font-size: 13px; line-height: 1.65; margin: 10px 0 14px; }
.student-workspace .aula-certificates-section .aula-course-certificates { overflow: hidden; }
.student-workspace .aula-certificates-section .aula-course-certificates > header { background: #fff; padding: 22px 24px 18px; }
.student-workspace .aula-certificates-section .aula-course-certificates > header h3 { font-size: 19px; line-height: 1.4; margin: 6px 0 0; }
.student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit) { margin: 0; border: 0; border-bottom: 1px solid var(--planning-line); border-radius: 0; background: #fff; box-shadow: none; padding: 22px 24px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit):last-child { border-bottom: 0; }
.student-workspace .aula-certificates-section :is(.aula-certificate-ready-icon, .aula-cip-entitlement-mark, .aula-specialization-cip-mark) { height: 44px; width: 44px; font-size: 17px; border-radius: 11px; }
.student-workspace .aula-certificates-section .aula-cip-entitlement-mark img { width: 34px; height: 34px; object-fit: contain; }
.student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit) strong { display: block; font-size: 16px; line-height: 1.5; color: var(--planning-ink); }
.student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit) p { font-size: 13px; line-height: 1.65; color: var(--planning-muted); margin: 7px 0 0; }
.student-workspace .aula-certificates-section .aula-certificate-auto-state { font-size: 12px; max-width: 155px; padding: 7px 10px; font-weight: 500; }
.student-workspace .aula-certificates-section .aula-certificate-ready > div > span { font-size: 11px; font-weight: 500; color: #51647c; letter-spacing: 0; text-transform: none; }
.student-workspace .aula-certificates-section .aula-certificate-ready > div > button { width: fit-content; max-width: 100%; background: #fff; border: 1px solid #cbd9e9; color: #2055a0; border-radius: 8px; margin-top: 12px; padding: 10px 12px; font-size: 13px; font-weight: 500; min-height: 44px; }
.student-workspace .aula-certificates-section :is(.aula-certificate-status, .aula-certificate-document figcaption span) { font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.student-workspace .aula-certificates-section :is(.aula-cip-entitlement-state, .aula-specialization-cip-benefit small) { font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.student-workspace .planning-load-error { padding: 26px; border: 1px solid #d8e2ef; border-radius: 14px; background: #fff; }
.student-workspace .planning-load-error strong { font-size: 17px; line-height: 1.5; font-weight: 600; color: #172e4b; }
.student-workspace .planning-load-error p { color: #51647c; font-size: 13px; line-height: 1.65; margin: 10px 0 18px; }
.student-workspace .planning-load-error button { min-height: 44px; border-radius: 9px; background: #2055a0; color: #fff; padding: 10px 16px; border: 0; font: inherit; font-size: 13px; cursor: pointer; }
.student-workspace .planning-load-error button:focus-visible { outline: 2px solid #2055a0; outline-offset: 3px; }
.student-workspace .aula-certificates-section details { margin-top: 12px; color: var(--planning-muted); }
.student-workspace .aula-certificates-section summary { width: fit-content; cursor: pointer; min-height: 44px; align-content: center; font-size: 12px; line-height: 1.6; color: #2055a0; }
.student-workspace .aula-certificates-section details :is(p, em, small) { font-size: 12px; line-height: 1.7; }
.student-workspace .aula-certificates-section .aula-certificate-card { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1fr); gap: 24px; padding: 24px; background: #fff; border-bottom: 1px solid var(--planning-line); margin: 0; }
.student-workspace .aula-certificates-section .aula-certificate-document { padding: 15px; background: #f3f6fb; border: 1px solid #e2e9f2; border-radius: 12px; align-self: start; }
.student-workspace .aula-certificates-section .aula-certificate-document figcaption { margin-top: 12px; gap: 6px; flex-wrap: wrap; }
.student-workspace .aula-certificates-section .aula-certificate-document figcaption strong { font-size: 11px; line-height: 1.5; color: var(--planning-muted); }
.student-workspace .aula-certificates-section .aula-certificate-details h3 { font-size: 21px; line-height: 1.35; font-weight: 650; }
.student-workspace .aula-certificates-section .aula-certificate-eyebrow { font-size: 11px; color: var(--planning-muted); letter-spacing: .035em; }
.student-workspace .aula-certificates-section .aula-certificate-meta { gap: 14px; }
.student-workspace .aula-certificates-section .aula-certificate-meta dd { font-size: 13px; font-weight: 500; }
.student-workspace .aula-certificates-section .aula-certificate-code { overflow-wrap: anywhere; }
.student-workspace .aula-certificates-section .aula-certificate-code code { font-size: 12px; }
.student-workspace .aula-certificates-section .aula-certificate-actions a { min-height: 44px; border-radius: 9px; font-size: 13px; font-weight: 500; }
.student-workspace .aula-certificates-section .aula-certificate-actions a.primary { background: #2055a0; }
.student-workspace :is(.aula-agenda-section, .aula-certificates-section) [hidden] { display: none !important; }
@media (max-width: 1260px) {
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-agenda-layout { grid-template-columns: minmax(0, 1fr); }
  .student-workspace .aula-day-event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .student-workspace .aula-day-empty { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .student-workspace .planning-heading { gap: 12px; margin-bottom: 20px; }
  .student-workspace .planning-heading-mark { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
  .student-workspace .planning-event-list, .student-workspace .aula-day-event-list { grid-template-columns: minmax(0, 1fr); }
  .student-workspace .planning-search { flex-basis: 100%; }
  .student-workspace .planning-search input, .student-workspace .planning-type select { font-size: 16px; }
  .student-workspace .planning-type { width: 100%; }
  .student-workspace .planning-type select { width: 100%; }
  .student-workspace .planning-filters { width: 100%; }
  .student-workspace .planning-filters button { flex: 1 1 auto; padding: 10px; }
  .student-workspace .aula-certificates-section .aula-certificate-card { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 20px; }
  .student-workspace .aula-certificates-section .aula-certificate-document { max-width: 460px; width: 100%; box-sizing: border-box; justify-self: center; }
  .student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit) { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px; }
  .student-workspace .aula-certificates-section :is(.aula-certificate-ready, .aula-cip-entitlement, .aula-specialization-cip-benefit) > :last-child { grid-column: 2; max-width: 100%; }
  .student-workspace .aula-certificates-section .aula-certificate-auto-state { width: fit-content; }
}
@media (max-width: 520px) {
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-card { padding: 16px 10px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar { padding: 0 5px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar h3 { font-size: 22px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-grid { gap: 3px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day { min-height: 64px; padding: 5px 2px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-number { width: 25px; height: 25px; font-size: 12px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event b { display: none; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { padding: 20px; }
  .student-workspace .planning-heading-mark { display: none; }
  .student-workspace .planning-event { padding: 14px 12px; gap: 11px; }
  .student-workspace .planning-event-date { flex-basis: 48px; font-size: 12px; }
  .student-workspace .planning-filters button { font-size: 12px; padding: 10px 7px; }
  .student-workspace .planning-results { align-items: start; }
  .student-workspace .aula-certificates-section .aula-course-certificates > header { padding: 20px; }
  .student-workspace .aula-certificates-section .aula-certificate-details h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .student-workspace :is(.aula-agenda-section, .aula-certificates-section) * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Student agenda: quieter calendar, readable day details and a compact activity list. */
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-agenda-section { --agenda-blue:#245d97; --agenda-ink:#19334e; --agenda-muted:#52677e; }
.student-workspace .aula-agenda-section :is(p,small,time,input,em) { font-weight:400; }
.student-workspace .aula-agenda-section :is(button,a):focus-visible { outline:2px solid #245d97; outline-offset:3px; }
.student-workspace .aula-agenda-section .planning-heading { margin-bottom:24px; }
.student-workspace .aula-agenda-section .planning-eyebrow { color:#526b84; font-size:10px; letter-spacing:.08em; font-weight:500; }
.student-workspace .aula-agenda-section .planning-heading h2 { font-size:28px; margin:8px 0 7px; font-weight:650; }
.student-workspace .aula-agenda-section .planning-heading p { font-size:14px; }
.student-workspace .aula-agenda-section .planning-heading-mark { border:1px solid #dbe5ee; background:#fff; color:#416b94; width:48px; height:48px; flex-basis:48px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-agenda-layout { grid-template-columns:minmax(0,1fr) 320px; gap:20px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-card { padding:22px; border:1px solid #dce5ee; border-radius:16px; box-shadow:none; overflow:hidden; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar { padding:0; margin:0 0 18px; gap:16px; border:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar p { margin:0 0 6px; color:#52677e; font-size:11px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar h3 { margin:0; font-size:23px; font-weight:600; letter-spacing:-.025em; text-transform:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls { gap:6px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls button { display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0; background:#fff; border:1px solid #dce5ef; border-radius:10px; color:#315b85; font-size:13px; font-weight:500; box-shadow:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls button:hover { background:#edf4fc; border-color:#a5bfdc; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-legend { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 15px; padding:0; border:0; font-size:11px; color:#52677e; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-legend span { gap:6px; font-size:11px; font-weight:400; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-legend i { width:6px; height:6px; box-shadow:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-legend .agenda-month-total { margin-left:auto; color:#52677e; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-weekdays { background:#fff; border:0; padding:0 0 10px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-weekdays span { padding:5px 0; font-size:11px; font-weight:500; color:#66788a; letter-spacing:0; text-transform:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-grid { gap:5px; border:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:5px; min-height:64px; min-width:0; padding:7px 5px; background:#f7f9fc; color:#243b53; border:1px solid transparent; border-radius:9px; box-shadow:none; text-align:left; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day:hover { background:#edf4fb; border-color:#c4d5e7; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-outside { background:transparent; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-number { display:grid; place-items:center; width:25px; height:25px; margin:0; color:#29425e; font-size:12px; font-weight:500; line-height:1; border-radius:50%; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-outside .aula-calendar-day-number { color:#576c81; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-today .aula-calendar-day-number { color:#245d97; background:#e4eef9; box-shadow:inset 0 0 0 1px #bacfe5; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-selected { background:#edf4fc; border-color:#8eafd0; box-shadow:inset 0 0 0 1px #8eafd0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day.is-selected .aula-calendar-day-number { color:#fff; background:#245d97; box-shadow:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-events { display:grid; gap:3px; width:100%; min-width:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event { display:flex; align-items:center; gap:4px; padding:2px 4px; min-height:16px; min-width:0; background:#eaf1fb; color:#315d8f; border-radius:4px; line-height:1.3; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event.is-assignment { color:#76571c; background:#faf2e3; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event :is(b,em) { color:inherit; font-size:10px; font-weight:400; font-style:normal; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event b { display:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event em { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event i { flex:0 0 4px; width:4px; height:4px; margin:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-events > small { padding:0 4px; font-size:10px; line-height:1.4; color:#52677e; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { display:flex; flex-direction:column; max-height:var(--agenda-calendar-height,620px); overflow:hidden; padding:22px; background:#fff; border:1px solid #dce5ee; border-radius:16px; box-shadow:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail-heading { display:flex; align-items:center; flex-shrink:0; gap:14px; padding:0 0 20px; margin:0 0 18px; border-bottom:1px solid #e5ecf3; }
.student-workspace .aula-agenda-section .agenda-date-badge { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:57px; height:64px; flex:0 0 57px; background:#1d4266; color:#fff; border-radius:12px; }
.student-workspace .aula-agenda-section .agenda-date-badge strong { font-size:26px; font-weight:600; line-height:1; letter-spacing:-.025em; }
.student-workspace .aula-agenda-section .agenda-date-badge small { font-size:10px; text-transform:uppercase; color:#d6e5f2; letter-spacing:.05em; }
.student-workspace .aula-agenda-section .agenda-date-copy { min-width:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail-heading p { margin:0 0 6px; color:#52677e; font-size:10px; line-height:1.5; font-weight:400; letter-spacing:.035em; text-transform:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail-heading h3 { margin:0; font-size:16px; font-weight:600; line-height:1.5; letter-spacing:-.015em; overflow-wrap:anywhere; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; margin:0; padding:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-list:focus-visible { outline:2px solid #245d97; outline-offset:3px; border-radius:5px; }
.student-workspace .aula-agenda-section .aula-weekly-schedule { flex-shrink:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail:has(.aula-weekly-schedule[open]) { max-height:none; overflow:visible; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail:has(.aula-weekly-schedule[open]) .aula-day-event-list { max-height:var(--agenda-calendar-height,620px); }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event { display:block; margin:0; padding:15px; background:#fff; border:1px solid #dce5ee; border-radius:11px; box-shadow:inset 3px 0 #6291bd; min-width:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event.is-assignment { box-shadow:inset 3px 0 #cca86a; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-topline { align-items:center; flex-wrap:wrap; gap:5px 10px; margin:0 0 9px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-topline span { color:#4f6680; font-size:11px; font-weight:500; text-transform:none; letter-spacing:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-topline time { color:#52677e; font-size:11px; font-weight:400; text-transform:none; letter-spacing:0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event h4 { margin:0; color:#19334e; font-size:15px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event > p { margin:6px 0 0; color:#52677e; font-size:12px; line-height:1.65; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:14px; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-status { padding:4px 7px; border-radius:5px; color:#52677e; background:#f1f4f8; font-size:11px; font-weight:500; line-height:1.5; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-status:is(.is-graded,.is-completed,.is-submitted) { color:#26664e; background:#edf7f1; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-footer :is(a,button) { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:9px 11px; color:#245d97; background:#f5f9fe; border:1px solid #d4e1ef; border-radius:8px; font-family:inherit; font-size:12px; font-weight:500; line-height:1.5; text-decoration:none; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-footer :is(a,button):hover { background:#eaf2fc; border-color:#a7c0dc; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-empty { padding:15px 5px 10px; border:0; background:#fff; text-align:center; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-empty > span { display:grid; place-items:center; width:40px; height:40px; margin:0 auto 12px; border-radius:50%; font-size:18px; color:#46785f; background:#edf6f0; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-empty strong { color:#29425e; font-size:14px; font-weight:500; line-height:1.5; }
.aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-empty p { margin:8px 0 0; color:#52677e; font-size:13px; line-height:1.7; }
.student-workspace .aula-agenda-section .planning-events { margin-top:24px; padding:22px; background:#fff; border:1px solid #dce5ee; border-radius:16px; }
.student-workspace .aula-agenda-section .planning-events-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; }
.student-workspace .aula-agenda-section .planning-events-heading h3 { font-size:18px; font-weight:600; letter-spacing:-.02em; }
.student-workspace .aula-agenda-section .planning-events-heading > span { color:#52677e; font-size:11px; font-weight:400; white-space:nowrap; }
.student-workspace .aula-agenda-section .planning-tools { gap:12px; }
.student-workspace .aula-agenda-section .planning-filters { background:#f1f5f9; padding:3px; border-radius:10px; }
.student-workspace .aula-agenda-section .planning-filters button { font-size:12px; font-weight:400; }
.student-workspace .aula-agenda-section .planning-search { min-height:46px; border-color:#d5e0eb; }
.student-workspace .aula-agenda-section .planning-search input { font-weight:400; font-size:14px; }
.student-workspace .aula-agenda-section .planning-search input::placeholder { font-weight:400; }
.student-workspace .aula-agenda-section .planning-event-list { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
.student-workspace .aula-agenda-section .planning-event { padding:16px 0; border:0; border-top:1px solid #e5ecf3; border-radius:0; background:#fff; gap:16px; }
.student-workspace .aula-agenda-section .planning-event:hover { background:#f8fbff; }
.student-workspace .aula-agenda-section .planning-event-date { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; flex:0 0 52px; height:57px; background:#edf4fc; border:1px solid #e0eaf5; border-radius:10px; }
.student-workspace .aula-agenda-section .planning-event-date strong { font-size:23px; font-weight:600; line-height:1; color:#315d89; }
.student-workspace .aula-agenda-section .planning-event-date small { font-size:10px; line-height:1.2; color:#52677e; text-transform:uppercase; }
.student-workspace .aula-agenda-section .planning-event.is-assignment .planning-event-date { background:#faf6ee; border-color:#eee5d4; }
.student-workspace .aula-agenda-section .planning-event.is-assignment .planning-event-date strong { color:#7b602e; }
.student-workspace .aula-agenda-section .planning-event-copy { flex:1; }
.student-workspace .aula-agenda-section .planning-event-copy strong { font-size:14px; font-weight:600; }
.student-workspace .aula-agenda-section .planning-event-copy :is(span,small) { font-size:12px; font-weight:400; line-height:1.6; }
.student-workspace .aula-agenda-section .planning-event-arrow { margin-left:auto; color:#52789f; font-size:19px; }
.student-workspace .aula-agenda-section .planning-empty { padding:25px 15px; border:0; border-top:1px solid #e5ecf3; border-radius:0; background:#fff; }
.student-workspace .aula-agenda-section .planning-empty p { margin-bottom:0; }
.student-workspace .aula-agenda-section .planning-empty button { margin-top:16px; }
@media (max-width:1100px) {
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-agenda-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { max-height:none; overflow:visible; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-list { grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail:has(.aula-weekly-schedule[open]) .aula-day-event-list { max-height:none; }
}
@media (max-width:600px) {
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-event-list { grid-template-columns:minmax(0,1fr); }
  .student-workspace .aula-agenda-section .planning-heading h2 { font-size:25px; }
  .student-workspace .aula-agenda-section .planning-heading-mark { display:none; }
  .student-workspace .aula-agenda-section .planning-events-heading { align-items:flex-start; flex-direction:column; gap:8px; }
  .student-workspace .aula-agenda-section .planning-search input { font-size:16px; }
  .student-workspace .aula-agenda-section .planning-events { padding:18px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-card { padding:18px 12px 12px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar { align-items:stretch; flex-direction:column; gap:14px; margin-bottom:16px; padding-inline:3px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar p { display:none; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-toolbar h3 { font-size:22px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-controls [data-aula-calendar-today] { width:100%; background:#f7fafd; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-legend { padding-inline:3px; gap:9px; margin-bottom:12px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-grid { gap:3px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day { align-items:center; min-height:54px; padding:5px 1px; gap:6px; border-radius:7px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-events { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:3px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event { padding:0; min-height:6px; background:transparent; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event :is(b,em) { display:none; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-event i { width:5px; height:5px; flex-basis:5px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-calendar-day-events > small { padding:0; font-size:9px; }
  .aula-authenticated.student-workspace[data-aula-view="student"] .aula-day-detail { padding:20px; }
}
