#lessonCancellationPolicy{grid-column:1/-1;min-width:0;margin-top:1rem;padding:1rem;border:1px solid #cbd5e1;border-radius:12px;display:grid;gap:.65rem}
#lessonCancellationPolicy select{width:100%;max-width:100%;white-space:normal}
#lessonCancellationPolicy p{margin:0;line-height:1.5}
#lessonCancellationPolicy [data-policy-consequence],.absence-consequence{padding:.85rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;color:#172033}
.absence-confirm-sheet{max-width:580px}.absence-confirm-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.lesson-absence-released{background:#f1f5f9!important;border:1px dashed #94a3b8!important;color:#64748b!important}
.lesson-absence-note{font-weight:700;color:#475569;white-space:normal}
.teacher-timeline-card{padding-right:2.8rem!important}
.teacher-card-info{position:absolute;top:3px;right:3px;padding:.2rem .3rem!important;font-size:.7rem!important;line-height:1.2!important;border-radius:5px!important;min-height:24px;min-width:32px}
@media(max-width:600px){.absence-confirm-actions button{width:100%}#lessonCancellationPolicy select{font-size:.9rem}}

/* Info must not inherit the global button hover positioning/animation. */
.teacher-timeline-card .teacher-card-info,
.teacher-timeline-card .teacher-card-info:hover,
.teacher-timeline-card .teacher-card-info:focus,
.teacher-timeline-card .teacher-card-info:focus-visible,
.teacher-timeline-card .teacher-card-info:active {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  flex: none !important;
  transform: none !important;
  transition: background-color .15s ease, color .15s ease !important;
  z-index: 2;
}
