/* Layout and assets in the division stylesheets are copied from the original brochures. */
/* Let both schedules fill the screen while retaining the guide's reading width. */
@media screen{html[data-view="activities"] .page{width:100%;max-width:none}}
button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.hdr{margin-bottom:6px}.hdr-top{gap:14px;padding-bottom:6px;align-items:flex-start}.hdr-identity{min-width:0}.hdr-logo{display:block;width:110px}.hdr-title{font-size:18px;margin:0 0 3px}.hdr-provisional{font-size:13px;margin-bottom:3px}.hdr-dates{font-size:12px}.language-key{display:inline-block;width:9px;height:9px;border-radius:2px}.language-key.en{background:var(--red)}.language-key.fr{background:var(--teal)}.language-key.bt{background:var(--orange)}
.tabs{display:flex;gap:4px;margin-bottom:10px;border-bottom:1.5px solid #e0ddd7}.tabs button{font-size:clamp(15px,2vw,18px);font-weight:800;padding:9px 16px;border:1.5px solid transparent;border-bottom:3px solid transparent;border-radius:7px 7px 0 0;background:transparent;color:var(--dark);min-height:44px}.tabs button[aria-selected=true]{background:white;border-color:#e0ddd7;border-bottom-color:var(--red);color:var(--red)}.tabs small{display:none}.notice{font-size:12px;color:#777;line-height:1.4;margin:0 0 8px}.notice strong{color:var(--red);margin-right:6px}.filter-title{font-size:11px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}.extra-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:8px}.extra-filters label{font-size:12px;color:#888;display:flex;flex-direction:column;gap:4px}.extra-filters label:has(#category){display:none}.extra-filters input,.extra-filters select{border:1.5px solid #e0ddd7;border-radius:20px;padding:6px 10px;background:white;color:var(--dark)}#reset,#print{border:0;background:transparent;text-decoration:underline;color:#888;font-size:12px;padding:5px}.card{width:100%;height:auto;min-height:120px;text-align:left;border-top:0;border-right:0;border-bottom:0;font-family:var(--font);color:var(--dark)}.card-inner{display:block;width:100%}.an,.tc,.lg,.card-note,.card-price{display:block}.ntri{background:linear-gradient(45deg,transparent 50%,var(--red) 50%)}.ntri>span{position:absolute;top:7px;right:0;transform:rotate(45deg);font-size:6.5px;font-weight:800;letter-spacing:.4px;color:white}.no-session{font-size:10px;color:#aaa;padding:8px 0}.loading,.empty{text-align:center;padding:40px 12px;color:#888}.empty h3{color:var(--dark);margin-bottom:10px}.empty button{margin-top:10px;border:1.5px solid #e0ddd7;background:white;border-radius:20px;padding:6px 12px}footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 10px;font-size:12px;color:#888}footer a{color:inherit}
dialog{border:0;border-top:5px solid var(--red);border-radius:14px;padding:20px;max-width:480px;width:calc(100% - 40px);max-height:90vh;overflow:auto;color:var(--dark);margin:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(0,0,0,.45);backdrop-filter:blur(3px)}#close-dialog{float:right;width:28px;height:28px;border-radius:50%;border:0;background:#eee;color:#666;font-size:16px}.dialog-eyebrow{font-size:10px;color:var(--red);margin-bottom:12px;padding-right:30px}dialog h2{font-size:19px;font-weight:800;line-height:1.2;margin-bottom:6px}#activity-meta{font-size:13px;color:#999;font-style:italic;margin-bottom:10px}#activity-tags{font-size:12px;color:#666;margin-bottom:12px}#activity-description{font-size:13px;line-height:1.6;color:#555;white-space:pre-line}#activity-price{font-size:15px;font-weight:800;border-top:1px solid #f0ede8;margin-top:10px;padding-top:10px}.dialog-note{font-size:11px;color:#888;margin-top:10px}
@media(max-width:650px){.hdr-top{gap:10px;align-items:flex-start}.hdr-logo{width:80px}.hdr-title{font-size:16px}.hdr-dates{font-size:11px}.hdr-provisional{font-size:12px}.flabel{width:100%}.sched-grid{grid-template-columns:1fr}.day-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.dh{grid-column:1/-1}.card{min-height:120px}.hdr-legend{gap:4px}.li{font-size:11px}.page{padding:12px}}
@media print{.tabs,.filters,#print,footer{display:none}.sched-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.day-col{display:flex}.card{break-inside:avoid}.slot-hdr{break-after:avoid}.hdr-logo{width:120px}.hdr-title{font-size:18px}.page{padding:0;max-width:none}dialog{display:none}}
.g1{background:#DDEEFF;color:#0C3D7A;}
.g2{background:#C8E6FF;color:#0C3D7A;}
.g3{background:#D4EDCA;color:#2A5E18;}
.g4{background:#C5E3B8;color:#2A5E18;}
.g5{background:#B5D8A0;color:#1A4D10;}
.g6{background:#FFE5CC;color:#7A3000;}
.g7{background:#FFD6B3;color:#7A3000;}
.g8{background:#FFC599;color:#7A3000;}

.activity-image,.activity-image-blank{width:calc(100% + 40px);height:200px;margin:-20px -20px 18px;display:block;background:#f0ede8}.activity-image{object-fit:cover}
.activity-image[src="/assets/activities/kidpreneur.png"]{height:auto;object-fit:contain}.activity-image[hidden],.activity-image-blank[hidden]{display:none}
@media(max-width:650px){.tabs button{padding:8px 10px;flex:1;line-height:1.3}.tabs{align-items:stretch}}

/* Keep the division tabs, brochure header, and filters above Print schedule. */
.sticky-header{position:sticky;top:0;z-index:10;background:var(--bg);padding-top:16px;margin-top:-16px;margin-bottom:12px;display:flow-root}
.sticky-header .red-rule{margin-top:12px;margin-bottom:0}
.sticky-header .filters{margin-bottom:0}
.card .bot{flex-wrap:wrap;gap:4px}
.card .gg{min-width:0}
.sched-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:650px){.sticky-header{padding-top:12px;margin-top:-12px}}
@media print{.sticky-header{position:static;padding-top:0;margin-top:0}}

@media(max-width:650px){.sched-grid{grid-template-columns:1fr}}
@media print{.sched-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Keep category and search together above one compact row of drop-downs. */
.filters{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:center}
.filter-title{margin-bottom:0;align-self:start;padding-top:7px}
.extra-filters{grid-column:1/-1}
.filter-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center}
.filter-main .filter-row{margin-bottom:0}
.filter-main .search{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#888}
.filter-main input,.extra-filters select{border:1.5px solid #e0ddd7;border-radius:20px;padding:3px 10px;background:white;color:var(--dark);min-height:28px}
/* Highlight applied filters with the brochure's coral accent. */
.filters select.filter-active,.filters input.filter-active{background:#fff0f1;border-color:var(--red);color:#9b2636;font-weight:800}
.filters select option{background:white;color:var(--dark);font-weight:400}
.extra-filters{align-items:center;gap:8px 16px}
.extra-filters label{flex-direction:row;align-items:center;gap:6px}
@media(max-width:850px){
 .filter-main{grid-template-columns:minmax(0,1fr)}
 .filter-main input{width:100%}
}
@media(max-width:650px){
 .extra-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .extra-filters label{min-width:0;flex-direction:column;align-items:stretch}
 .extra-filters select{width:100%;min-width:0}
 #reset{justify-self:start;align-self:end}
}

/* Keep the selected Aftercare category visible in both schedules. */
.pill[data-g="cat"][data-v="aftercare"].active{background:var(--orange);color:var(--dark)!important}

/* Shorter filter pills keep more of the schedule visible. */
.filters .pill{height:28px;padding:2px 8px}
.filters .pill .gt{padding:1px 4px}
.filters .pill [class^="icon-"]{width:22px;height:22px}

/* Match the logo to the full header text block and inset it from the edge. */
.hdr-top{align-items:stretch;padding-right:16px}
.hdr-logo{position:relative;align-self:stretch;width:clamp(140px,17vw,190px)}
.hdr-logo img{position:absolute;right:0;top:0;height:100%;width:auto;max-width:100%;object-fit:contain;object-position:right top}
@media(max-width:650px){
 .hdr-top{align-items:stretch;padding-right:8px}
 .hdr-logo{width:100px}
}
@media print{
 .hdr-top{padding-right:16px}
 .hdr-logo{width:120px}
}

/* Match each card edge to its language label in both divisions. */
.card.en{border-left-color:var(--red)}
.card.fr{border-left-color:var(--teal)}
.card.bt{border-left-color:var(--orange)}
.card .le{color:var(--red)}
.card .lf{color:var(--teal)}
.card .lb{color:var(--orange)}
.pill[data-g="lang"][data-v="fr"].active{background:var(--teal)}
.pill[data-g="lang"][data-v="other"].active{background:var(--orange)}

/* Verlag webfonts from The École's official site; self-hosted for reliable rendering. */
@font-face{font-family:'Ecole Verlag';src:url('/assets/fonts/Verlag-Book.woff') format('woff');font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:'Ecole Verlag';src:url('/assets/fonts/Verlag-Bold.woff') format('woff');font-weight:700 900;font-style:normal;font-display:swap}
/* The guide uses the same brand colors and category artwork as the schedules. */
[hidden]{display:none!important}
.program-guide{font-family:'Ecole Verlag','Verlag','Nunito',sans-serif;color:var(--dark);font-size:15px;line-height:1.65}
.program-guide:focus-visible{outline:none}
.guide-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 22px;font-size:12px;color:#666}
#print-guide{border:1px solid #d8d4cc;background:white;border-radius:24px;padding:9px 16px;color:var(--dark);font-weight:700}
#print-guide:hover{background:color-mix(in srgb,var(--red) 10%,white)}
.guide-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;padding:22px 0 36px}
.guide-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin:0 0 12px!important}
.guide-hero h2{font-size:clamp(36px,5.5vw,64px);line-height:1.04;letter-spacing:-.04em;font-weight:800;margin-bottom:24px}
.guide-hero img{width:100%;height:360px;object-fit:cover;border-radius:90px 10px 90px 10px;border-bottom:8px solid var(--teal)}
.program-guide p{margin:0 0 16px}
.program-guide a{color:var(--red);text-underline-offset:3px}
.program-guide .guide-action{display:inline-block;background:var(--red);color:var(--dark);text-decoration:none;border-radius:6px;padding:12px 18px;margin:6px 0 16px;font-weight:700;font-size:13px}
.program-guide .guide-action:hover{background:color-mix(in srgb,var(--red) 75%,white)}
.program-guide .guide-source-note{font-size:12px;color:#666;line-height:1.6}
.guide-jumps{display:flex;flex-wrap:wrap;gap:10px 24px;border-block:1px solid #dcd8d0;padding:16px 0;font-size:13px;font-weight:700}
.guide-section{padding:40px 0;border-bottom:1px solid #dedad3;scroll-margin-top:var(--header-scroll-offset,190px)}
.guide-section h2,.guide-contact h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.025em;margin:0 0 22px;font-weight:800}
.program-guide h3{font-size:17px;line-height:1.4;margin:0 0 10px;font-weight:800}
.guide-dates{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 24px;background:color-mix(in srgb,var(--yellow) 12%,white);border-radius:8px;padding:24px;gap:24px}
.guide-dates dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#655b50;margin-bottom:10px;font-weight:800}
.guide-dates dd{font-size:17px;line-height:1.5}
.guide-callout{background:color-mix(in srgb,var(--teal) 14%,white);border-left:4px solid var(--teal);padding:22px 26px;margin:24px 0}
.guide-callout p:last-child{margin-bottom:0}
.guide-table-wrap{overflow-x:auto;margin:24px 0 12px}
.guide-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.guide-table caption{text-align:left;font-weight:800;margin-bottom:12px}
.guide-table th,.guide-table td{padding:14px 12px;border-bottom:1px solid #ddd8d0;vertical-align:top}
.guide-table thead{background:color-mix(in srgb,var(--teal) 14%,white)}
.guide-table tbody th{min-width:145px}
.program-guide ul{padding-left:21px;margin:12px 0 18px}
.program-guide li{padding-left:3px;margin-bottom:12px}
.guide-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:48px}
.guide-feature{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:40px}
.guide-feature img{width:100%;height:310px;object-fit:cover;border-radius:8px 60px 8px 8px}
.guide-feature-reverse{grid-template-columns:1.3fr 1fr}
.guide-feature-reverse img{height:390px;border-radius:60px 8px 8px 8px}
.guide-language-list li::marker{color:var(--red)}
.guide-contact{padding:38px;background:color-mix(in srgb,var(--yellow) 12%,white);margin-top:32px;border-radius:8px}
.guide-contact h2{margin-bottom:12px}
@media(max-width:850px){.guide-hero{gap:24px}.guide-hero img{height:300px}}
@media(max-width:650px){
 .hdr-identity{flex:1}.tabs{flex-wrap:wrap}.tabs button{font-size:13px;flex:1 1 40%;padding:8px}.tabs button[data-school="elementary"]{flex-basis:100%}.hdr-logo{width:64px;flex-shrink:0}
 .guide-hero,.guide-feature,.guide-feature-reverse,.guide-columns{grid-template-columns:1fr;gap:22px}
 .guide-hero{padding-top:4px}.guide-hero img{height:250px;border-radius:55px 8px 55px 8px}.guide-feature img,.guide-feature-reverse img{height:250px}
 .guide-dates{grid-template-columns:1fr;gap:20px}.guide-dates>div+div{border-top:1px solid #d8d0c4;padding-top:16px}
 .guide-section{padding:30px 0}.guide-contact{padding:24px}.guide-jumps{gap:8px 18px}.guide-toolbar{align-items:flex-start}.program-guide{font-size:14px}
}
@media print{
 .guide-toolbar,.guide-jumps,.program-guide .guide-action:not(.guide-policy){display:none}
 .program-guide{font-size:10pt;line-height:1.45}.guide-hero{grid-template-columns:1.2fr 1fr;gap:24px;padding:12px 0 20px}.guide-hero h2{font-size:32pt}.guide-hero img{height:200px}
 .guide-section{padding:20px 0}.guide-section h2,.guide-contact h2{font-size:20pt;break-after:avoid}.guide-section h3,.guide-eyebrow{break-after:avoid}
 .guide-dates{grid-template-columns:repeat(3,1fr);padding:16px;break-inside:avoid}.guide-dates>div+div{border:0;padding:0}.guide-dates dd{font-size:11pt}
 .guide-columns{grid-template-columns:1fr 1fr;gap:24px}.guide-feature{grid-template-columns:.85fr 1.15fr;gap:24px;break-inside:avoid}.guide-feature-reverse{grid-template-columns:1.3fr 1fr}.guide-feature img,.guide-feature-reverse img{height:190px}
 .guide-table{font-size:9pt}.guide-table th,.guide-table td{padding:9px 7px}.guide-callout,.guide-contact,tr{break-inside:avoid}.guide-contact{padding:20px;margin-top:20px}.program-guide a{color:inherit}.guide-table-wrap{overflow:visible}
}

 .guide-interests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px;padding:32px 0 12px}
.guide-interests article{display:grid;grid-template-columns:64px 1fr;gap:0 16px;align-items:start}
.guide-interests [class^="icon-"]{grid-row:1/3;width:64px;height:64px}
.guide-interests h4{margin:3px 0 8px;color:var(--teal)}
.guide-interests article:nth-child(2) h4{color:var(--orange)}
.guide-interests article:nth-child(3) h4{color:var(--red)}
.guide-interests article:nth-child(4) h4{color:var(--yellow)}
.guide-interests p{font-size:14px;line-height:1.6;margin:0}
.guide-section h2,.guide-contact h2{color:var(--red)}
.guide-table-wrap{border:1px solid #dedad3;border-radius:8px}
.guide-table{min-width:910px}.guide-table caption{padding:12px}
.guide-table tbody th{min-width:110px}.guide-table td{white-space:nowrap}
.guide-table-wrap:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:650px){.guide-interests{grid-template-columns:1fr;gap:24px}.guide-interests article{grid-template-columns:52px 1fr}.guide-interests [class^="icon-"]{width:52px;height:52px}}
@media print{.guide-interests{grid-template-columns:1fr 1fr;gap:20px}.guide-interests article{break-inside:avoid;grid-template-columns:44px 1fr}.guide-interests [class^="icon-"]{width:44px;height:44px}.guide-interests p{font-size:10pt}.guide-table{min-width:0;font-size:8pt}.guide-table th,.guide-table td{padding:7px 4px}.guide-table td{white-space:normal}.guide-table tbody th{min-width:0}}

/* Categories, Study Hall, and Languages form one program overview. */
.guide-program-part{padding:28px 0;scroll-margin-top:24px}
.guide-program-part+.guide-program-part{border-top:1px solid #dedad3}
.program-guide .guide-part-title{font-size:clamp(23px,2.8vw,30px);line-height:1.2;color:var(--red);margin-bottom:20px}
.guide-interests h4{font-size:18px;line-height:1.3;font-weight:800}
.guide-explore .guide-interests{padding-top:14px}
.guide-interests article{break-inside:avoid}
.guide-program-part:last-child{padding-bottom:0}
@media print{.guide-program-part{padding:18px 0}.program-guide .guide-part-title{font-size:18pt}.guide-interests h4{font-size:13pt}}

.guide-new{display:inline-block;vertical-align:middle;background:var(--red);color:var(--dark);font-size:10px;line-height:1.4;font-weight:800;letter-spacing:.06em;padding:3px 7px;border-radius:4px;margin-right:4px}
.guide-team-letter{background:color-mix(in srgb,var(--teal) 10%,white);border-left:4px solid var(--teal);padding:30px 34px;margin-top:30px;border-radius:0 12px 12px 0}
.guide-team-letter p{max-width:82ch}
.program-guide .guide-letter-signature{margin-bottom:0;margin-top:24px}
@media(max-width:650px){.guide-team-letter{padding:24px 20px}}
@media print{.guide-team-letter{padding:20px;margin-top:20px}.guide-new{border:1px solid var(--red);print-color-adjust:exact}}

/* A portrait from the supplied presentation accompanies the team's welcome. */
.guide-letter-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:30px;align-items:start}
.guide-letter-copy{min-width:0}
.guide-letter-copy strong{font-weight:700}
.guide-letter-photo{display:block;width:100%;height:auto;border-radius:8px 48px 8px 8px;border-bottom:6px solid var(--teal)}
@media(max-width:650px){.guide-letter-layout{grid-template-columns:1fr;gap:24px}.guide-letter-photo{max-width:360px;justify-self:center}}
@media print{.guide-letter-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px}.guide-letter-photo{max-width:none;break-inside:avoid}}

/* A colorful route through the school day, with stacked grade cards on mobile. */
.guide-rhythm .rhythm-tip{max-width:76ch;padding:16px 20px;border-left:4px solid var(--yellow);background:#fff5dc;border-radius:0 14px 14px 0}
.guide-rhythm .guide-table-wrap{border:1px solid #d7d3ca;border-radius:18px;background:white;overflow:hidden;margin-top:28px}
.guide-rhythm .guide-table{min-width:0;table-layout:fixed;font-size:14px;line-height:1.45}
.guide-rhythm .guide-table caption{padding:22px 20px;margin:0;background:#f0f7f5;font-size:21px;line-height:1.3;color:var(--dark)}
.guide-rhythm caption span{display:block;font-size:14px;font-weight:400;margin-top:6px}
.guide-rhythm .guide-table th,.guide-rhythm .guide-table td{padding:16px 10px;vertical-align:middle;border-bottom:1px solid #e5e2db}
.guide-rhythm .guide-table thead{background:white}
.guide-rhythm .guide-table thead th{font-size:13px;vertical-align:top;border-bottom:3px solid var(--stage-color,var(--teal))}
.guide-rhythm .guide-table th:first-child{width:16%;min-width:0;padding-left:18px}
.guide-rhythm .guide-table tbody th{font-size:15px;line-height:1.3;background:#faf9f6}
.guide-rhythm .guide-table td{white-space:normal;font-variant-numeric:tabular-nums;background:var(--stage-bg);font-weight:700}
.rhythm-stage-1,.rhythm-stage-2{--stage-color:var(--blue);--stage-bg:#f0f6f9}
.rhythm-stage-3{--stage-color:var(--red);--stage-bg:#fff1f1}
.rhythm-stage-4{--stage-color:var(--yellow);--stage-bg:#fff7e6}
.rhythm-stage-5,.rhythm-stage-6{--stage-color:var(--teal);--stage-bg:#edf7f4}
.rhythm-stage-7{--stage-color:var(--orange);--stage-bg:#fff1e8}
.rhythm-number{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--stage-color);color:var(--dark);font-size:12px;font-weight:800;margin-bottom:10px}
.guide-rhythm tbody tr:last-child>*{border-bottom:0}
@media screen and (max-width:1000px){
 .guide-rhythm .guide-table-wrap{border:0;border-radius:0;background:transparent;overflow:visible}
 .guide-rhythm .guide-table{display:block}
 .guide-rhythm .guide-table caption{display:block;text-align:left;border-radius:16px;padding:20px;margin-bottom:18px}
 .guide-rhythm .guide-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .guide-rhythm .guide-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .guide-rhythm .guide-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;background:white;border:1px solid #d7d3ca;border-radius:16px;overflow:hidden;align-content:start}
 .guide-rhythm .guide-table tbody th{grid-column:1/-1;width:auto;padding:18px;font-size:19px;border:0;background:#f0f7f5}
 .guide-rhythm .guide-table td{display:block;padding:12px 16px;border:0;border-left:3px solid var(--stage-color);font-size:16px}
 .guide-rhythm .guide-table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:400;margin-bottom:4px}
 .guide-rhythm .guide-table td[colspan]{grid-column:1/-1}
 .guide-rhythm .rhythm-stage-7{grid-column:1/-1}
}
@media screen and (max-width:650px){
 .guide-rhythm .guide-table tbody{grid-template-columns:1fr;gap:18px}
}
@media print{
 .guide-rhythm .guide-table-wrap{overflow:visible;border-radius:0}
 .guide-rhythm .guide-table{font-size:8pt}
 .guide-rhythm .guide-table caption{padding:10px;font-size:13pt}
 .guide-rhythm caption span{font-size:9pt}
 .guide-rhythm .guide-table th,.guide-rhythm .guide-table td{padding:8px 5px}
 .guide-rhythm .guide-table thead th,.guide-rhythm .guide-table tbody th{font-size:8pt}
 .guide-rhythm .guide-table th:first-child{padding-left:7px}
 .rhythm-number{width:22px;height:22px;font-size:8pt;margin-bottom:6px;border:1px solid #777}
 .guide-rhythm .rhythm-tip{padding:10px 14px}
}

/* One compact heading leaves more room for both activity schedules. */
.schedule-heading{display:none}
html[data-view="activities"] .hdr-title,
html[data-view="activities"] .hdr-dates,
html[data-view="activities"] .hdr-provisional{display:none}
html[data-view="activities"] .schedule-heading{display:block;margin:0;font-size:13px;font-weight:400;line-height:1.4;color:var(--dark)}
.schedule-heading-title{font-weight:700}
.schedule-heading-dates{color:#666}
.schedule-heading-provisional{color:var(--red)}

/* Compact schedule navigation and controls leave more room for activities. */
@media screen{
 html[data-view="activities"] .sticky-header{padding-top:8px;margin-top:-8px;margin-bottom:8px}
 html[data-view="activities"] .hdr{margin-bottom:4px}
 html[data-view="activities"] .hdr-top{padding-bottom:0;gap:10px}
 html[data-view="activities"] .hdr-logo{width:clamp(80px,9vw,110px)}
 html[data-view="activities"] .tabs{margin-bottom:4px}
 html[data-view="activities"] .tabs button{font-size:14px;padding:5px 10px;min-height:44px;line-height:1.2}
 html[data-view="activities"] .filters{padding:6px 10px}
 html[data-view="activities"] .extra-filters{margin-top:4px;row-gap:4px}
 html[data-view="activities"] .sticky-header .red-rule{margin-top:6px}
}
@media screen and (max-width:650px){
 html[data-view="activities"] .hdr-top{gap:6px;padding-right:0}
 html[data-view="activities"] .hdr-logo{width:48px}
 html[data-view="activities"] .tabs{gap:0}
 html[data-view="activities"] .tabs button{font-size:12px;padding:4px 6px}
 html[data-view="activities"] .schedule-heading{font-size:12px;line-height:1.3}
}
