/* Fixed public materials; editorial content lives in showcase revisions. */
.school-notice-reader{max-width:1000px;margin:auto;padding:16px;overflow-wrap:anywhere}
.school-notice-reader figure{margin:24px 0}
.school-notice-reader img{display:block;width:100%;height:auto;object-fit:contain}
.community-page #curso.school-course-section{background:#fff;color:#24352f;border:1px solid #e3e1d8;border-image:none;box-shadow:2px 3px 0 #eeeee6;padding:clamp(16px,3vw,32px)}
.community-page #curso.school-course-section>h2{color:#24352f;font-style:normal}
.community-page #curso.school-course-section>.eyebrow,.community-page #curso.school-course-section>p{color:#47594d}
.community-page #curso.school-course-section>h2::after{display:none}
.community-page #curso.school-course-section>h1{overflow-wrap:anywhere}
.school-course-frame,.school-course-frame *{box-sizing:border-box}
.school-course-frame{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:32px;margin:28px 0;align-items:start}
.school-course-frame>*{min-width:0;scroll-margin-top:24px}
.school-noticeboard{padding:18px clamp(14px,2vw,28px) 28px;border:9px solid #a57446;border-image:linear-gradient(120deg,#d2aa7b,#99683c 28%,#c89968 65%,#8d603b) 1;background-color:#b88a58;background-image:url("mm/cork-grain.9aa10427472d.svg");background-size:200px 200px;box-shadow:inset 0 2px 8px #58341d55,0 5px 10px #30241420}
.community-page .school-board-label{display:table;margin:0 auto 26px;padding:5px 14px;background:#f7f1df;color:#39392e;box-shadow:0 2px 3px #492f2140;font:600 1.05rem/1.5 system-ui,sans-serif;text-align:center}
.school-notice-paper{position:relative;padding:32px 18px 22px;background-color:#fffef8;background-image:linear-gradient(100deg,#d9cdbb22,transparent 22%),var(--mm-paper-grain);color:#24352f;box-shadow:2px 6px 10px #392a2250,1px 1px 0 #ede4d3;overflow-wrap:anywhere}
.school-pin{position:absolute;top:-10px;left:50%;width:19px;height:19px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#e39177,#9b4532 65%,#703226);box-shadow:1px 4px 3px #2c201e65;transform:translateX(-50%)}
.community-page .school-notice-paper h4,.community-page .school-agenda-entry h4{font:700 clamp(1.3rem,2.4vw,1.8rem)/1.3 Georgia,serif;margin:10px 0 16px;color:#24352f}
.school-notice-paper p,.school-agenda-entry p{margin:0 0 14px;line-height:1.6;color:#34473c}
.school-notice-status,.school-agenda-status{font:600 .88rem/1.5 system-ui,sans-serif;color:#526255;margin:0 0 12px}
.school-poster-link{display:block;margin:20px 0}
.school-poster-link img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;aspect-ratio:auto}
.school-notice-download{display:inline-flex;align-items:center;min-height:48px;padding:10px 14px;border:1px solid #335541;border-radius:4px;color:#244832;background:#fff;font:600 1rem/1.5 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
.school-agenda{position:relative;padding:0 0 5px 24px;margin:4px 4px 12px 0;border-bottom:3px solid #d1c5a9;background:linear-gradient(90deg,#58616a 0 8px,#e9e7e1 8px 16px,#bdc1c2 16px 22px,transparent 22px)}
.school-agenda-page{position:relative;min-height:480px;padding:24px 22px 30px 28px;background-color:#fff9e8;background-image:linear-gradient(90deg,#ddd3c638,transparent 18%),var(--mm-paper-grain);border:1px solid #e1dbcf;border-radius:1px 5px 3px 1px;box-shadow:2px 2px 0 #f1eee5,3px 3px 0 #d8d3c7,4px 4px 0 #fbf8ed,5px 5px 0 #c4bca9,0 8px 14px #393c3020;overflow-wrap:anywhere}
.school-agenda-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid #94a7b2;padding-bottom:9px;color:#365c6b}
.community-page .school-agenda-heading h3{font:600 1rem/1.4 system-ui,sans-serif;margin:0;color:#365c6b}
.school-agenda-heading>span{font-size:.9rem}
.school-agenda-status{margin:18px 0 12px}
.school-agenda-date{display:flex;flex-direction:column;align-items:flex-start;margin:12px 0 20px;color:#263c49;font:400 1rem/1.3 system-ui,sans-serif}
.school-agenda-date strong{font:400 4.5rem/1.05 system-ui,sans-serif;letter-spacing:-.05em;margin:4px 0}
.school-agenda-entry{padding:14px 0 0;border-top:1px solid #9ba9ac}
.school-agenda-entry .school-agenda-time{font-weight:700;font-size:1.2rem;color:#274e40}
.school-agenda-place{font-style:normal}
.school-agenda-ruling{height:96px;margin-top:12px;background:repeating-linear-gradient(to bottom,transparent 0 30px,#bbc4c6 31px,transparent 32px)}
.school-agenda-rings{position:absolute;left:-10px;top:32px;bottom:28px;width:50px;z-index:1;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}
.school-agenda-rings i{position:relative;display:block;width:45px;height:17px;border:3px solid #dce0dc;border-radius:50%;box-shadow:0 1px 0 #626970,1px 3px 2px #3e443d55}
.school-agenda-rings i::before{content:'';position:absolute;left:-3px;right:-3px;top:3px;height:13px;border:3px solid #e9eae3;border-radius:50%;box-shadow:0 1px 0 #69737a}
.school-agenda-rings i::after{content:'';position:absolute;right:-5px;top:-2px;width:8px;height:16px;background:#535a5b;border:1px solid #909898;z-index:-1}
.school-course-manual{padding:20px 0 0;border-top:1px solid #deded6;color:#34473c}
.community-page .school-course-manual h3{margin:6px 0 12px}
.school-course-manual>span{font-size:.88rem;color:#526255}
.school-session-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.school-session-links a{display:inline-flex;min-height:48px;align-items:center;padding:8px 10px;color:#244832;border:1px solid #8a9c8e;border-radius:4px;overflow-wrap:anywhere;font:600 1rem/1.4 system-ui,sans-serif}
@media(max-width:760px){.school-course-frame{grid-template-columns:minmax(0,1fr);gap:30px}.school-noticeboard{border-width:7px;padding:18px 14px 24px}.school-notice-paper{padding:28px 14px 18px}.school-agenda{margin-left:8px}.school-agenda-page{padding:20px 16px 24px 24px;min-height:430px}.school-agenda-rings{left:-12px;width:48px}}
@media print{.school-course-frame{display:block}.school-noticeboard,.school-agenda,.school-agenda-page,.school-notice-paper{background:#fff;box-shadow:none;border:1px solid #999;margin:14px 0;padding:16px}.school-pin,.school-agenda-rings,.school-agenda-ruling{display:none}.school-notice-download{color:#000}.school-agenda-date{break-after:avoid}}
@media(forced-colors:active){.school-noticeboard,.school-notice-paper,.school-agenda-page{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}.school-pin,.school-agenda-rings{display:none}}



/* Native dialog keeps keyboard focus and Escape behavior, including on mobile. */
.school-expand,.school-material-close{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:9px 14px;border:1px solid #647966;border-radius:4px;background:#fffef8;color:#244832;font:600 1rem/1.4 system-ui,sans-serif;overflow-wrap:anywhere;cursor:pointer}
.school-expand[hidden]{display:none!important}
.school-noticeboard>.school-expand{display:flex;margin:-12px auto 24px}
.school-agenda-page>.school-expand{margin:0 0 16px auto}
.school-material-dialog{font:inherit;box-sizing:border-box;width:calc(100% - 16px);max-width:1100px;max-height:calc(100dvh - 16px);padding:12px;border:1px solid #bdc6b9;border-radius:6px;background:#fafaf7;color:#24352f;overflow:auto}
.school-material-dialog::backdrop{background:#152219b8}
.school-material-close{position:sticky;top:0;z-index:3;display:flex;margin:0 0 14px auto}
.school-material-dialog>.school-noticeboard,.school-material-dialog>.school-agenda{width:100%;box-sizing:border-box;margin:0}
.school-material-dialog>.school-agenda{width:calc(100% - 16px);margin-left:8px}
@media print{.school-expand,.school-material-close{display:none!important}}

.school-material-dialog *{box-sizing:border-box}

/* Daily leaves share one published event and an honest, dated empty state. */
.school-agenda-controls[hidden],.school-agenda-empty[hidden]{display:none}
.school-agenda-controls{margin:18px 0 20px;padding-bottom:14px;border-bottom:1px solid #b6bfb9}
.school-agenda-turn{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
.school-agenda-turn .school-agenda-month{margin:0;min-height:2.7em;display:flex;align-items:center;justify-content:center;text-align:center;font:600 1.25rem/1.35 Georgia,serif;color:#263c49;overflow-wrap:normal}
.school-agenda-controls button{min-width:44px;min-height:44px;padding:8px;border:1px solid #8a9c8e;border-radius:4px;background:#fffef9;color:#244832;font:600 1rem/1.4 system-ui,sans-serif;cursor:pointer;transition:background-color 120ms ease}
.school-agenda-controls button:hover{background:#eaf0e7}
.school-agenda-controls button:disabled{opacity:.5;cursor:default}
.school-agenda-controls button:focus-visible{outline:3px solid #244832;outline-offset:3px}
.school-agenda-jumps{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:12px}
.school-agenda-range{font:.78rem/1.5 system-ui,sans-serif;color:#526255;margin:12px 0 0;text-align:center;overflow-wrap:anywhere}
.school-agenda-enhanced .school-agenda-heading>span{display:none}
.school-agenda-enhanced .school-agenda-sheets{display:grid;min-width:0}
.school-agenda-enhanced .school-agenda-sheets>div{grid-area:1/1;min-width:0}
.school-agenda-enhanced .school-agenda-sheets>.is-inactive{visibility:hidden;pointer-events:none}
.school-agenda-empty{padding:32px 4px;color:#47594d;font:1rem/1.6 system-ui,sans-serif}
.school-agenda-empty p:first-child{font:600 1.3rem/1.4 Georgia,serif;color:#263c49}
.school-agenda-enhanced .school-agenda-page{touch-action:pan-y pinch-zoom}
@media(max-width:600px){
 .school-agenda-turn{grid-template-columns:1fr 1fr}
 .school-agenda-turn .school-agenda-month{grid-area:1/1/2/3;margin-inline:-.25em}
 .school-agenda-turn [data-agenda-prev]{grid-area:2/1;justify-self:start}
 .school-agenda-turn [data-agenda-next]{grid-area:2/2;justify-self:end}
}
@media(prefers-reduced-motion:reduce){.school-agenda-controls button{transition:none}}
.school-agenda-calendar[hidden]{display:none}
.school-agenda-heading{align-items:flex-start}
.school-agenda-calendar{margin-left:auto;width:min(14rem,100%);font:400 .85rem/1.4 system-ui,sans-serif;color:#34473c}
.school-agenda-calendar summary{cursor:pointer;text-align:right;padding:4px 0;min-height:28px}
.school-calendar-panel{padding:8px 0 0}
.school-calendar-heading{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:3px;align-items:center;text-align:center;min-height:3em}
.school-calendar-week,.school-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.school-calendar-week{font-size:.8em;color:#526255;margin:4px 0}
.school-agenda-calendar button{min-width:0;min-height:28px;width:100%;padding:2px;border:1px solid transparent;border-radius:2px;background:transparent;color:#244832;font:inherit;cursor:pointer}
.school-calendar-days>span{min-height:28px}
.school-agenda-calendar button:hover{background:#eee6ca}
.school-agenda-calendar button[aria-pressed=true]{background:#28513c;color:#fffef9}
.school-agenda-calendar button[aria-current=date]{border-color:#28513c}
.school-agenda-calendar button.has-activity{text-decoration:underline;text-underline-offset:3px;font-weight:700}
.school-agenda-calendar button:disabled{opacity:.45;cursor:default}
.school-agenda-calendar button:focus-visible{outline:2px solid #244832;outline-offset:1px}
.school-agenda-empty .school-agenda-date{margin-top:0}
.school-agenda-undated{margin-top:20px;padding-top:16px;border-top:1px solid #b6bfb9}
@media(max-width:760px){.school-agenda-calendar{width:min(12rem,70%)}.school-agenda-calendar[open]{width:100%}.school-agenda-heading:has(.school-agenda-calendar[open]){flex-wrap:wrap}.school-agenda-calendar[open] .school-calendar-panel{max-width:18rem;margin-left:auto}.school-agenda-calendar button,.school-calendar-days>span{min-height:32px}}
@media print{.school-agenda-calendar{display:none}}
@media(forced-colors:active){.school-agenda-calendar button[aria-pressed=true]{background:Highlight;color:HighlightText}.school-agenda-calendar button[aria-current=date]{border-color:CanvasText}}
@media print{
 .school-agenda-controls{display:none!important}
 .school-agenda-enhanced .school-agenda-sheets{display:block}
 .school-agenda-enhanced .school-agenda-sheets>.is-inactive{display:none!important}
 .school-agenda-enhanced .school-agenda-sheets>.school-agenda-published{visibility:visible!important}
 .school-agenda-enhanced .school-agenda-heading>span{display:inline}
}

.school-agenda-fallback[hidden]{display:none}
.school-agenda-day-content{display:grid;min-width:0}
.school-agenda-day-content>div{grid-area:1/1;min-width:0}
.school-agenda-day-content>.is-inactive{visibility:hidden;pointer-events:none}
.school-agenda-day-content.has-legacy-and-entries{display:block}
.school-agenda-extra-entry{padding:18px 0;border-top:1px solid #b6bfb9;overflow-wrap:anywhere}
.school-agenda-extra-entry h4{font:700 1.4rem/1.3 Georgia,serif;margin:8px 0 14px;color:#24352f}
.school-agenda-description{white-space:pre-wrap}
.school-agenda-detail{font:18px/1.6 system-ui,sans-serif;color:#24352f;background:#fafaf7;margin:0;padding:16px}
.school-agenda-detail main{box-sizing:border-box;max-width:850px;margin:auto;padding:24px}
.school-agenda-detail a{color:#244832;overflow-wrap:anywhere}
.school-agenda-turn .school-agenda-month{overflow-wrap:anywhere}
@media print{.school-agenda-day-content{display:block}.school-agenda-day-content>.is-inactive{display:none!important}}

/* Keep two-digit dates on one line at 200% text without shrinking their font. */
.school-calendar-days{gap:1px}
.school-calendar-days button{padding:0;white-space:nowrap}
@media(max-width:760px){.school-agenda-calendar[open]{width:calc(100% + 40px);max-width:none;margin-left:-24px;margin-right:-16px}.school-agenda-calendar[open] .school-calendar-panel{width:100%;max-width:none;margin:0}.school-agenda-calendar[open] summary{padding-right:16px}}
.school-calendar-days button{border:0}
.school-calendar-days button[aria-current=date]{box-shadow:inset 0 0 0 1px #28513c}
@media(max-width:760px){.school-calendar-days{gap:0}}
@media(forced-colors:active){.school-calendar-days button[aria-current=date]{box-shadow:none;outline:1px solid CanvasText;outline-offset:-1px}}
/* Printed-agenda numerals keep the full text size within narrow calendar cells. */
.school-calendar-days button{font-family:Georgia,'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums}
