html[data-theme] .home-board,html[data-theme] .home-board:has(>.home-poll-banner[hidden]){grid-template-areas:"polls polls" "intro honors" "paths paths" "civic civic" "videos videos"}html[data-theme] .home-board>.home-videos{grid-area:videos;min-width:0;margin:0}.home-videos .section-title{align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}.home-videos h2{font-size:23px;margin:4px 0}.home-videos-intro{color:var(--muted,#766882);font-size:13px;margin:4px 0 20px}.home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-video-card{min-width:0;border:1px solid var(--line,#e5dfee);border-radius:14px;overflow:hidden;background:var(--panel,#fff)}.home-video-screen{aspect-ratio:16/9;background:#181c2a;position:relative;overflow:hidden}.home-video-play{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;width:100%;height:100%;border:0;background:radial-gradient(ellipse at top right,#65558140,transparent 65%),linear-gradient(135deg,#201d32,#27333f);color:#fff;cursor:pointer;font-size:12px}.home-video-play:hover{filter:brightness(1.15)}.home-video-play-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#ffffff1c;border:1px solid #ffffff60;font-size:21px;padding-inline-start:3px}.home-video-play:focus-visible{outline:3px solid #af9ad9;outline-offset:-5px}.home-video-screen video{width:100%;height:100%;display:block;object-fit:contain}.home-video-screen [hidden]{display:none}.home-video-copy{padding:14px 16px}.home-video-copy h3{font-size:15px;margin:0 0 7px;overflow-wrap:anywhere}.home-video-copy>p{font-size:12px;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 10px}.home-video-copy .text-button{font-size:11px}.home-video-error:empty{display:none}.home-video-error{color:#a84838}.home-videos-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:20px;padding:30px 18px;border:1px dashed var(--line,#d9cee6);border-radius:14px;background:var(--panel,#fcfaff);color:var(--muted,#766882)}.home-videos-empty>span{font-size:46px;color:var(--brand,#705bca)}.home-videos-empty h3{margin:0 0 7px;font-size:16px}.home-videos-empty p{margin:0;font-size:12px;line-height:1.9}.video-admin-item{padding:16px;border:1px solid var(--line,#e5dfee);border-radius:12px;margin-block:12px;overflow-wrap:anywhere}.video-admin-item h2{font-size:17px;margin:0 0 8px}.video-admin-item p{font-size:12px}.video-admin-item bdi{font-size:11px;overflow-wrap:anywhere}html[data-theme="modern"] .home-video-play{background:radial-gradient(ellipse at top right,#087c7640,transparent 65%),linear-gradient(135deg,#112e32,#1d3343)}@media(max-width:1100px){.home-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){html[data-theme] .home-board,html[data-theme] .home-board:has(>.home-poll-banner[hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"polls" "intro" "honors" "paths" "civic" "videos"}}@media(max-width:650px){.home-video-grid{grid-template-columns:minmax(0,1fr);gap:14px}.home-videos h2{font-size:20px}.home-videos-empty{padding:22px 14px;align-items:flex-start;gap:12px}.home-videos-empty>span{font-size:32px}.home-video-copy{padding:12px 14px}}

.video-admin-item>.home-video-card{max-width:760px;margin-block:12px}.video-admin-buttons{margin-top:14px}

/* One large viewer with an explicit playlist; selecting never starts playback. */
html[data-theme] .home-board>.home-videos{width:100%;max-width:none;box-sizing:border-box;justify-self:stretch;align-self:stretch;grid-column:1/-1;padding:24px}
.home-video-grid{display:block}.video-library{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(230px,1fr);grid-template-areas:"viewer playlist";gap:20px;align-items:start}.video-library-single{grid-template-columns:minmax(0,1fr);grid-template-areas:"viewer"}.video-viewer{grid-area:viewer;min-width:0}.video-playlist{grid-area:playlist;min-width:0;border:1px solid var(--line,#e5dfee);border-radius:14px;background:var(--panel,#fff);padding:10px;max-height:580px;overflow:auto}.video-playlist>h3{margin:4px 8px 12px;font-size:14px}.video-choice{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:68px;text-align:start;margin:0 0 8px;padding:12px;border:1px solid transparent;border-radius:10px;background:var(--surface,#f7f8fa);color:inherit;cursor:pointer}.video-choice>span:nth-child(2){flex:1;min-width:0}.video-choice strong{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.8}.video-choice small{display:block;font-size:10px;color:var(--muted,#6c7484);margin-top:4px}.video-choice-number{font-size:16px;color:var(--muted,#6c7484)}.video-choice[aria-pressed=true]{border-color:var(--brand,#705bca);background:var(--panel,#fff);box-shadow:inset -3px 0 var(--brand,#705bca)}.video-choice:focus-visible{outline:3px solid var(--brand,#705bca);outline-offset:2px}.video-viewer .home-video-card{width:100%;max-width:none;margin:0}.video-viewer .home-video-screen{width:100%;aspect-ratio:16/9}.video-viewer .home-video-play-icon{width:76px;height:76px;font-size:28px}.video-library-admin{grid-template-columns:minmax(230px,1fr) minmax(0,2.7fr);grid-template-areas:"playlist viewer"}.video-selection-actions{margin-top:16px}.video-selection-actions .primary{min-height:44px}@media(max-width:850px){.video-library,.video-library-admin{grid-template-columns:minmax(0,1fr);grid-template-areas:"viewer" "playlist"}.video-library-single{grid-template-areas:"viewer"}.video-library-admin{grid-template-areas:"playlist" "viewer"}.video-playlist{max-height:280px}html[data-theme] .home-board>.home-videos{padding:16px}.video-viewer .home-video-play-icon{width:58px;height:58px;font-size:24px}}
