
/* TV-board styling from the supplied video. Data and playback use the existing services. */
:root{--board-bg:#edf1f7;--board-muted:#66728c;--board-rule:#dce2ef;--tab-progress:0%}
html,body{background:var(--board-bg);color:var(--lar-navy)}
#screen{padding-left:2vw;padding-right:2vw}
.boardheader{margin:0 -2vw;padding:1.3vh 2vw;min-height:0;height:14vh;border:0;background:#fff;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.boardheader:after{display:none}.school-logo{width:auto!important;height:11.2vh;max-height:none;max-width:45vw;object-fit:contain}
.header-time{text-align:right;flex-shrink:0}.clockrow{display:flex;align-items:baseline;justify-content:flex-end;gap:.5vw}
#clock{font-family:"Quicksand",Arial,sans-serif;font-size:4.4vw;line-height:1;font-weight:700;letter-spacing:-.045em;margin:0}
#clockSeconds{font-family:"Quicksand",Arial,sans-serif;color:#97a2bb;font-size:calc(1.75vw + var(--small-text-step));font-weight:700;font-variant-numeric:tabular-nums}
#date{font-size:calc(1.06em + var(--small-text-step));font-weight:600;margin-top:.15em;color:var(--lar-blue)}
#mainNav{height:5.1vh;min-height:0;margin:0 -2vw;padding:0 2vw;background:var(--lar-navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1vw;flex-shrink:0}
.nav-profile{display:flex;align-items:center;gap:.65em;min-width:0}.nav-profile #profile{font-family:"Montserrat",Arial,sans-serif;font-size:calc(.64em + var(--bar-text-step));letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;font-weight:600}
.live-tag{font-size:calc(.36em + var(--bar-text-step));color:#e5cc55;border:1px solid #c3a632;padding:.2em .65em;border-radius:2em;white-space:nowrap}
.boardtabs{display:flex;height:100%;align-items:stretch;justify-content:center;gap:1.1vw}
.boardtabs button{position:relative;border:0;background:transparent;color:#99a8d4;border-radius:0;padding:.3em .05em;display:flex;flex-direction:column;justify-content:center;gap:.1em;font-family:"Montserrat",Arial,sans-serif;letter-spacing:.09em;font-size:calc(.66em + var(--bar-text-step));white-space:nowrap}
.boardtabs button small{font-size:calc(.45em + var(--bar-text-step));letter-spacing:.06em;color:inherit;opacity:.8}
.boardtabs button[aria-current="page"]{color:#fff}.boardtabs button:hover{color:#f7d118;background:transparent}
.tab-progress{position:absolute;left:0;bottom:.4vh;height:calc(2px * var(--display-ratio));width:0;background:var(--lar-yellow)}
.boardtabs button[aria-current="page"] .tab-progress{width:var(--tab-progress);min-width:.4em}
.nav-actions{display:flex;align-items:center;gap:.3vw}.motto{font-family:"Montserrat",Arial,sans-serif;color:var(--lar-yellow);font-size:calc(.68em + var(--bar-text-step));letter-spacing:.2em;margin-right:.5vw;white-space:nowrap}
.nav-actions button{border:0;background:transparent;color:#c2cceb;padding:.15em .35em;border-radius:3px;font-size:calc(.85em + var(--bar-text-step));line-height:1.2;min-width:0}.nav-actions button:hover{background:#28418e;color:#fff}
.nav-actions .rotationtools{gap:.1em}
button:focus-visible,a:focus-visible{outline:2px solid var(--lar-yellow)}
#headerClock{display:none!important}
main#overview{grid-template-columns:24% 41% minmax(0,1fr);gap:1.2vw;padding:2vh 0;min-height:0}
.left,.right,.center-stack{min-height:0;gap:1.8vh}.center-stack{display:flex;flex-direction:column}
.panel,.notice,.quote-panel{border-radius:calc(10px * var(--display-ratio));box-shadow:0 1px 3px #0d1f6103;border:1px solid var(--board-rule)}
.panel{padding:1.05vw 1.2vw}.sectionhead{border-bottom:calc(2px * var(--display-ratio)) solid var(--lar-yellow);padding-bottom:.65vw;flex-shrink:0;gap:1em}
.sectionhead h2{font-size:calc(.8em + var(--small-text-step));font-family:"Montserrat",Arial,sans-serif;font-weight:600;letter-spacing:.12em;line-height:1.2}
.sectionhead h2 span{display:inline;font-size:calc(.55em + var(--small-text-step));letter-spacing:.02em;font-weight:500;margin-left:.6em;color:#73809b}
.sectionhead h2:after{display:none}
.badge{font-size:calc(.66em + var(--small-text-step));background:transparent;color:var(--board-muted);padding:0;white-space:nowrap;font-weight:700}
.timetable{display:flex;flex-direction:column;flex:1;min-height:0}.now-card{background:var(--lar-blue);color:#fff;border-radius:calc(8px * var(--display-ratio));padding:.85vw 1vw;margin:.8vw 0 .7vw;flex-shrink:0}
.now-label{font-family:"Montserrat",Arial,sans-serif;font-size:calc(.53em + var(--small-text-step));font-weight:700;color:var(--lar-yellow);letter-spacing:.08em}
.now{font-size:1.45em;line-height:1.15;margin:.18em 0 .1em;font-weight:700}.now .small{display:inline;font-size:calc(.48em + var(--small-text-step));font-weight:600;color:#e3e9ff;margin-left:.5em}
.progress{height:calc(3px * var(--display-ratio));background:#4f66b8;margin:.45vw 0 .3vw}.progress div{background:var(--lar-yellow)}
.next{color:#fff;font-size:calc(.64em + var(--small-text-step));font-weight:600;line-height:1.4;margin:0}
#schedule{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:.12em;min-height:0}
.slot{font-size:calc(.82em + var(--small-text-step));line-height:1.2;padding:.2em .55em;flex:1;gap:.5em;border-radius:calc(5px * var(--display-ratio))}.slot span{min-width:0}
.slot time{font-family:"Quicksand",Arial,sans-serif;font-size:calc(.87em + var(--small-text-step));white-space:nowrap;font-weight:500}
.slot.active{background:#fff3ad;box-shadow:inset calc(4px * var(--display-ratio)) 0 var(--lar-yellow);color:var(--lar-navy);font-weight:700}.slot.active time{font-weight:700}
.slot.past{color:#8793ac}.slot.break{background:#fff9d8;border:0;color:#8a7518}.slot.break.past{background:#fbf9eb;color:#8a8692}
.source{font-size:calc(.4em + var(--small-text-step));margin-top:.55vw;color:#78839a}#scheduleNote{font-size:calc(.43em + var(--small-text-step))}
.calendarpanel{flex:1;min-height:0;display:flex;flex-direction:column}.panel-meta{font-size:calc(.65em + var(--small-text-step));color:var(--board-muted);font-weight:600;white-space:nowrap}
.upcoming-list{flex:1;min-height:0;display:flex;flex-direction:column;gap:.55vw;padding-top:.8vw}
.upcoming-event{display:flex;gap:.85vw;align-items:center;flex:1;min-height:0}
.date-tile{background:var(--lar-navy);color:#fff;border-radius:calc(6px * var(--display-ratio));width:3.7vw;min-width:3.7vw;min-height:3.9vw;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;font-family:"Montserrat",Arial,sans-serif;padding:.3vw .15vw}
.date-tile.today{background:var(--lar-yellow);color:var(--lar-navy)}.date-tile small{font-size:calc(.42em + var(--small-text-step));letter-spacing:.08em;font-weight:600}.date-tile strong{font-family:"Quicksand",Arial,sans-serif;font-size:1.25em;font-weight:700}.date-tile em{font-size:calc(.39em + var(--small-text-step));letter-spacing:.06em;font-style:normal;margin-top:.15em}
.upcoming-copy{min-width:0}.upcoming-copy h3{font-size:calc(1.02em + var(--small-text-step));line-height:1.2;margin:0 0 .25em;font-weight:700;color:#15213f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.event-detail{font-size:calc(.72em + var(--small-text-step));color:var(--board-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.event-detail .day-tag{font-family:"Montserrat",Arial,sans-serif;font-size:calc(.65em + var(--small-text-step));color:var(--lar-blue);font-weight:700;letter-spacing:.05em;margin-right:.6em}
.event-detail:before{content:"";width:.45em;height:.45em;border-radius:50%;background:var(--lar-blue);display:inline-block;margin-right:.5em}
.upcoming-empty{font-size:calc(.85em + var(--small-text-step));color:var(--board-muted);padding:1.5em 0;line-height:1.7}
.calendarfoot{font-size:calc(.4em + var(--small-text-step));padding-top:.55vw;color:#78839a}
.quote-panel{background:#fff;border-left:calc(6px * var(--display-ratio)) solid var(--lar-yellow);padding:1vw 1.5vw;min-height:10.5vh;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;gap:.4em}
#quoteAf{font-family:Georgia,serif;font-style:italic;font-size:1.23em;font-weight:400;line-height:1.2;color:var(--lar-navy)}
#quoteEn{font-family:"Quicksand",Arial,sans-serif;font-size:calc(.67em + var(--small-text-step));font-weight:600;color:var(--board-muted)}
.weather{flex-shrink:0}.weathercredit{font-size:calc(.43em + var(--small-text-step));margin:0;color:var(--board-muted);white-space:nowrap}
.weatherline{display:flex;gap:.7vw;align-items:center;margin-top:.6vw}.weathericon{color:var(--lar-blue);font-size:2.7em;width:3.1vw;text-align:center}
.weatherline strong{font-family:"Quicksand",Arial,sans-serif;font-size:3.2vw;font-weight:700;letter-spacing:-.04em;line-height:1.1}
.weatherline>div{font-size:calc(.82em + var(--small-text-step));line-height:1.45;min-width:0}#weatherFeels{font-size:calc(.87em + var(--small-text-step));color:var(--board-muted);font-weight:600}#condition{font-weight:700}
.weather-details{display:flex;flex-wrap:wrap;gap:.25em .85em;font-size:calc(.66em + var(--small-text-step));line-height:1.5;margin-top:.45vw;color:var(--board-muted);font-weight:600}
.forecast{border-top:1px solid var(--board-rule);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5vw;margin-top:.65vw;padding-top:.6vw}
.forecast-day{display:flex;align-items:center;gap:.45vw;line-height:1.3;min-width:0}.forecast-symbol{color:var(--lar-blue);font-size:1.4em}.forecast-values{font-size:calc(.57em + var(--small-text-step));color:var(--board-muted)}.forecast-values strong{color:var(--lar-navy);font-weight:700}
.weatherstatus{font-size:calc(.36em + var(--small-text-step));margin-top:.45vw;color:#78839a}
.notice{border:0;border-radius:calc(10px * var(--display-ratio));background:var(--lar-navy);padding:1.25vw 1.4vw;flex:1;min-height:0}
.noticetop{font-family:"Montserrat",Arial,sans-serif;font-size:calc(.62em + var(--small-text-step));letter-spacing:.11em;color:var(--lar-yellow)}
.notice h2{font-size:2.15vw;line-height:1.12;font-weight:700;letter-spacing:-.03em;margin:1vw 0 .65vw}
.notice p{font-size:calc(.91em + var(--small-text-step));line-height:1.45;max-width:100%;font-weight:500}
#noticeFooter{font-size:calc(.62em + var(--small-text-step));color:#aebcdf;margin-top:auto;padding-top:1.1vw;line-height:1.5}
.noticeart{opacity:.045;right:-.2em;bottom:.6em;font-size:7vw}
.dots{gap:.45vw;margin-top:.75vw}.dots i{height:calc(4px * var(--display-ratio));width:auto;flex:1;border-radius:3px;background:#354b93}.dots i.active{background:var(--lar-yellow)}
footer.boardfooter{margin:0 -2vw;padding:.35vh 2vw;min-height:3.5vh;gap:1vw;border-top:calc(2px * var(--display-ratio)) solid var(--lar-yellow);background:#101b3e;display:flex;align-items:center;flex-shrink:0}
.footer-school{font-family:"Montserrat",Arial,sans-serif;letter-spacing:.12em;color:#f7d118;font-size:calc(.45em + var(--bar-text-step));white-space:nowrap}.footer-school span{color:#b7c4e4;font-size:calc(.85em + var(--bar-text-step));margin-left:1.5em}
#rotationStatus{font-size:calc(.43em + var(--bar-text-step));color:#c1cae2;margin-left:auto;text-align:right;line-height:1.3}
.fullslide{padding:2vh 0;gap:1.4vh}.slideheading{border-bottom:calc(2px * var(--display-ratio)) solid var(--lar-yellow);padding:0 0 .75vw}
.slideheading h2{font-size:1.65em}.slideheading h2 span{font-family:"Montserrat",Arial,sans-serif;font-size:calc(.32em + var(--small-text-step))}.weekrange{font-size:calc(.75em + var(--small-text-step));color:var(--board-muted)}
.weekday{padding:.85vw;border:1px solid var(--board-rule);border-top:0;border-radius:calc(10px * var(--display-ratio));overflow:hidden;background:#fff}
.weekdayheading{margin:-.85vw -.85vw .35vw;padding:.75vw .85vw;background:var(--lar-navy);color:#fff;border:0}.weekday h3{font-size:1.14em}.weekday h3 span{color:#cdd6f2;font-size:calc(.4em + var(--small-text-step))}
.weekdaynumber{background:transparent;color:#dce4ff;padding:0;font-size:calc(.56em + var(--small-text-step));margin-top:.45em}
.weekday.today{background:#fff}.weekday.today .weekdayheading{background:var(--lar-yellow);color:var(--lar-navy)}.weekday.today h3 span,.weekday.today .weekdaynumber{color:var(--lar-navy);background:transparent}
.weekday.past .weekdayheading{background:#7b88ad}.weekday.past .weekslot{color:#7d889f}
.weekslot{flex-direction:row;align-items:center;justify-content:space-between;font-size:calc(.76em + var(--small-text-step));line-height:1.25;gap:.65em;padding:.3em .4em;border:0}
.weekslot>div{min-width:0}.weekslot time{font-family:"Quicksand",Arial,sans-serif;font-size:calc(.83em + var(--small-text-step));font-weight:600}.weekslot.weekbreak{background:#fff8d0;color:#8a7518;border:0;border-radius:4px}.weekslot.current{background:var(--lar-yellow);color:var(--lar-navy);font-weight:700;box-shadow:none;border-radius:5px}
.weeknote{font-size:calc(.39em + var(--small-text-step))}.weeksource{font-size:calc(.4em + var(--small-text-step))}
.calendarDay{padding:.7vw;border-radius:calc(9px * var(--display-ratio));border:1px solid var(--board-rule);border-top:0;overflow:hidden}
.calendarDayHeading{background:var(--lar-navy);color:#fff;margin:-.7vw -.7vw 0;padding:.75vw .7vw;border:0}.calendarDayHeading span{color:#d1daf4}.calendarDayHeading strong{font-size:calc(1em + var(--small-text-step))}
.calendarDayHeading small{background:transparent;color:#d1daf4;padding:0;font-size:calc(.39em + var(--small-text-step))}.calendarDay.today .calendarDayHeading{background:var(--lar-yellow);color:var(--lar-navy)}.calendarDay.today .calendarDayHeading span,.calendarDay.today .calendarDayHeading small{color:var(--lar-navy);background:transparent}
.calendarEvent{border-left-color:var(--lar-yellow);border-radius:4px;background:#f0f3f9;flex:0 1 auto;min-height:22%;padding:.75vw .6vw}.calendarEvent h3{font-size:calc(.72em + var(--small-text-step))}.calendarEvent p{font-size:calc(.47em + var(--small-text-step))}.eventTime{font-size:calc(.5em + var(--small-text-step))}
.noticehero{border:0;border-radius:calc(10px * var(--display-ratio))}.noticehero h2{font-weight:700}.herothought{border-radius:calc(9px * var(--display-ratio))}
.visually-hidden{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:1300px) and (min-width:901px){.live-tag{display:none}.nav-profile #profile{font-size:calc(.52em + var(--bar-text-step))}.motto{display:none}.boardtabs{gap:1.2vw}.slot{font-size:calc(.8em + var(--small-text-step))}.now{font-size:1.25em}.now .small{display:block;margin-left:0}.sectionhead h2 span{display:block;margin:.3em 0 0}.panel-meta{font-size:calc(.5em + var(--small-text-step))}.weather-details{font-size:calc(.62em + var(--small-text-step))}}
@media(max-width:900px){#screen{padding:0 16px}.boardheader{height:110px;margin:0 -16px;padding:15px 16px}.school-logo{height:80px;max-width:45vw}#clock{font-size:48px}#clockSeconds{font-size:calc(20px + var(--small-text-step))}#date{font-size:calc(12px + var(--small-text-step))}.header-time{max-width:50%}#mainNav{height:auto;min-height:70px;margin:0 -16px;padding:8px 16px;flex-wrap:wrap;gap:8px}.nav-profile #profile{font-size:calc(10px + var(--bar-text-step))}.live-tag,.motto{display:none}.boardtabs{order:3;width:100%;gap:20px;height:35px;justify-content:flex-start;overflow-x:auto}.boardtabs button{font-size:calc(11px + var(--bar-text-step))}.nav-actions{margin-left:auto}.nav-actions button{font-size:calc(16px + var(--bar-text-step))}.tab-progress{bottom:0}main#overview{display:grid;grid-template-columns:1fr 1.3fr;padding:18px 0;gap:14px}.center-stack{min-height:650px}.right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.panel,.notice{padding:18px}.sectionhead{padding-bottom:12px}.sectionhead h2{font-size:calc(12px + var(--small-text-step))}.sectionhead h2 span{display:block;margin:5px 0 0}.panel-meta{font-size:calc(10px + var(--small-text-step))}.now-card{padding:16px;margin:15px 0}.now{font-size:calc(20px + var(--small-text-step))}.now .small{display:block;font-size:calc(12px + var(--small-text-step));margin:5px 0}.now-label{font-size:calc(10px + var(--small-text-step))}.next{font-size:calc(12px + var(--small-text-step))}.slot{font-size:calc(12px + var(--small-text-step));min-height:31px}.source{font-size:calc(9px + var(--small-text-step))}.upcoming-list{gap:10px;padding-top:15px}.date-tile{width:45px;min-width:45px;height:55px;padding:5px}.date-tile small,.date-tile em{font-size:calc(9px + var(--small-text-step))}.date-tile strong{font-size:22px}.upcoming-event{gap:12px}.upcoming-copy h3{font-size:calc(15px + var(--small-text-step))}.event-detail{font-size:calc(11px + var(--small-text-step))}.calendarfoot{font-size:calc(9px + var(--small-text-step))}.quote-panel{padding:18px;min-height:100px}#quoteAf{font-size:calc(20px + var(--small-text-step))}#quoteEn{font-size:calc(12px + var(--small-text-step))}.weatherline strong{font-size:48px}.weathericon{width:45px;font-size:35px}.weatherline>div{font-size:calc(12px + var(--small-text-step))}.weather-details{font-size:calc(11px + var(--small-text-step));gap:10px}.forecast{padding-top:12px;margin-top:12px}.forecast-day{gap:6px}.forecast-values{font-size:calc(10px + var(--small-text-step))}.weatherstatus{font-size:calc(9px + var(--small-text-step));margin-top:10px}.notice{min-height:350px}.notice h2{font-size:30px;margin:20px 0 15px}.notice p{font-size:calc(15px + var(--small-text-step))}.noticetop{font-size:calc(10px + var(--small-text-step))}#noticeFooter{font-size:calc(11px + var(--small-text-step))}.boardfooter{margin:0 -16px!important;padding:8px 16px!important;min-height:40px!important}.footer-school{font-size:calc(9px + var(--bar-text-step))}.footer-school span{display:none}#rotationStatus{font-size:calc(9px + var(--bar-text-step))}.weekdayheading{margin:-12px -12px 5px;padding:12px}.weekslot{font-size:calc(11px + var(--small-text-step))}.calendarDayHeading{margin:-12px -12px 0;padding:12px}.calendarDayHeading strong{font-size:calc(15px + var(--small-text-step))}.calendarDayHeading span,.calendarDayHeading small{font-size:calc(9px + var(--small-text-step))}.calendarEvent{min-height:100px;padding:12px}.calendarEvent h3{font-size:calc(12px + var(--small-text-step))}.calendarEvent p,.eventTime{font-size:calc(10px + var(--small-text-step))}}
@media(max-width:540px){main#overview{display:flex;flex-direction:column}.left{min-height:660px}.center-stack{min-height:680px}.right{display:flex;flex-direction:column}.boardtabs{gap:16px}#clock{font-size:39px}#clockSeconds{font-size:calc(15px + var(--small-text-step))}.school-logo{height:65px}.boardheader{height:95px}#date{font-size:calc(10px + var(--small-text-step))}.sectionhead h2 span{display:inline;margin-left:5px}.panel-meta{font-size:calc(10px + var(--small-text-step))}.calendarfoot{font-size:calc(9px + var(--small-text-step))}.forecast-values{font-size:calc(11px + var(--small-text-step))}}
@media(prefers-reduced-motion:reduce){.tab-progress{transition:none}}

.now-card .now .small{display:none}
.slot.up-next:not(.active){background:#fff8d0;color:#8a7518}
@keyframes boardReveal{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
main#overview:not([hidden]),.fullslide:not([hidden]){animation:boardReveal .3s ease-out}
.boardtabs button[aria-current=page] .tab-progress{transition:width .25s linear}
@media(prefers-reduced-motion:reduce){main#overview:not([hidden]),.fullslide:not([hidden]){animation:none}.boardtabs button[aria-current=page] .tab-progress{transition:none}}

/* Special activities remain distinct when past; the active period keeps its yellow cue. */
.slot.special,.weekday .weekslot.special{background:#e8edff;color:var(--lar-navy);font-weight:700;box-shadow:inset calc(4px * var(--display-ratio)) 0 var(--lar-blue)}
.slot.special>span:before,.weekslot.special>div:before{content:"★ ";color:var(--lar-blue)}
.slot.special.active,.weekday .weekslot.special.current{background:var(--lar-yellow);color:var(--lar-navy)}
