.timeline-heading,.timeline-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.timeline-heading h1{font-size:1.8rem;margin:.5rem 0}.timeline-actions{justify-content:flex-start;margin:1rem 0}
#timeline-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border-block:1px solid #c9d2d7;padding:1.25rem 0;margin:1.25rem 0}
#timeline-filters label{display:flex;flex-direction:column;gap:.4rem;min-width:0}#timeline-filters input,#timeline-filters select{width:100%;min-width:0;box-sizing:border-box}#timeline-filters button{align-self:end}
#timeline-filters input,#timeline-filters select,#timeline-content button,#timeline-refresh{min-height:44px;border:1px solid #657680;border-radius:4px;background:#fff;color:#152d39;padding:.5rem .8rem;font:inherit}
#timeline-content button,#timeline-refresh{cursor:pointer}#timeline-content button:disabled{cursor:default;opacity:.55}#timeline-content :focus-visible,#timeline-refresh:focus-visible{outline:3px solid #a63c1d;outline-offset:3px}
#timeline-name{font-size:1.35rem;overflow-wrap:anywhere}.timeline-basis{max-width:75ch;color:#43535b}
.timeline-day{font-size:1.1rem;margin:1.6rem 0 .4rem}.timeline-list{padding:0;margin:0;list-style:none}
.timeline-entry{display:grid;grid-template-columns:11rem minmax(0,1fr);gap:1rem;padding:1.1rem 0;border-bottom:1px solid #d3dadd;break-inside:avoid}
.timeline-kind{font-size:.9rem;color:#146147;font-weight:700}.timeline-entry[data-kind=lesson] .timeline-kind{color:#165f8b}.timeline-entry[data-kind=report] .timeline-kind{color:#8b3149}
.timeline-entry h4{font-size:1.05rem;margin:0 0 .35rem}.timeline-entry p{margin:.4rem 0;color:#43535b}.timeline-entry a,.timeline-entry p{overflow-wrap:anywhere}.timeline-entry small{color:#43535b}
#timeline-status[data-error=true]{color:#a32230}#timeline-content[hidden]{display:none}
@media(max-width:600px){#timeline-filters{grid-template-columns:minmax(0,1fr)}.timeline-entry{grid-template-columns:minmax(0,1fr);gap:.4rem}.timeline-heading h1{font-size:1.55rem}}
@media print{#timeline-content,#timeline-refresh,#timeline-login{display:none}#timeline-status::after{content:' Open Learning Reports for a prepared printable record.'}}
