@font-face { font-family: "ClassAlong Flyer Ranchers"; src: url("/assets/flyer-fonts/ranchers.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Anton"; src: url("/assets/flyer-fonts/anton.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Silkscreen"; src: url("/assets/flyer-fonts/silkscreen.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Lobster"; src: url("/assets/flyer-fonts/lobster.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Finger Paint"; src: url("/assets/flyer-fonts/finger-paint.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Caveat Brush"; src: url("/assets/flyer-fonts/caveat-brush.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Emilys Candy"; src: url("/assets/flyer-fonts/emilys-candy.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Raleway Dots"; src: url("/assets/flyer-fonts/raleway-dots.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Inter"; src: url("/assets/flyer-fonts/inter.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer DM Sans"; src: url("/assets/flyer-fonts/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Playfair Display"; src: url("/assets/flyer-fonts/playfair.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Archivo Black"; src: url("/assets/flyer-fonts/archivo-black.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Barlow Condensed"; src: url("/assets/flyer-fonts/barlow-condensed.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Nunito"; src: url("/assets/flyer-fonts/nunito.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Bangers"; src: url("/assets/flyer-fonts/bangers.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Pacifico"; src: url("/assets/flyer-fonts/pacifico.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Fredoka"; src: url("/assets/flyer-fonts/fredoka.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Lilita One"; src: url("/assets/flyer-fonts/lilita-one.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Luckiest Guy"; src: url("/assets/flyer-fonts/luckiest-guy.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Permanent Marker"; src: url("/assets/flyer-fonts/permanent-marker.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Abril Fatface"; src: url("/assets/flyer-fonts/abril-fatface.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "ClassAlong Flyer Bungee"; src: url("/assets/flyer-fonts/bungee.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
/* Keep school flyers independent of signup-cover rules and undefined panel colors. */
html body #app .school-event-flyer.flyer-custom{padding:20px;gap:16px;box-sizing:border-box;--school-panel:#fff;--school-ink:#20323f}
.school-flyer-photo-header{aspect-ratio:16/7;width:calc(100% + 40px);margin:-20px -20px 2px;max-height:300px;background-repeat:no-repeat;background-position:center;background-size:cover;min-width:0}
html body #app .school-event-flyer .school-custom-hero{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--school-panel,#fff)!important;color:var(--school-ink,#20323f)!important;border:1px solid #ffffffa6;border-radius:19px;box-shadow:0 5px 16px #132c4319;margin:0!important;padding:27px 26px!important;width:100%;min-width:0;isolation:isolate;overflow:hidden}
html body #app .school-event-graphic{position:static!important;inset:auto!important;display:flex;align-items:center;justify-content:center;flex:none;margin:0!important;width:115px;height:120px;max-width:100%;background:none!important;transform:none!important}
html body #app .school-event-graphic>.art,html body #app .school-event-graphic>img{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;filter:none!important;padding:0!important}
.school-custom-copy{position:relative;width:100%;min-width:0;text-align:center;z-index:1}.school-custom-copy .school-event-eyebrow{font:700 11px/1.5 Arial,sans-serif!important;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 12px!important;color:var(--school-ink,#20323f)!important;opacity:.75}
html body #app .school-custom-copy h1{font:800 clamp(27px,4vw,42px)/1.16 Arial,sans-serif!important;letter-spacing:-.5px;margin:0!important;padding:0!important;color:var(--school-ink,#20323f)!important;overflow-wrap:anywhere;text-shadow:none!important;filter:none!important}
html body #app .school-event-flyer[data-event-font=playful] .school-custom-copy h1{font-family:Cubby,'Trebuchet MS',sans-serif!important;letter-spacing:0}
html body #app .school-event-flyer[data-event-font=editorial] .school-custom-copy h1{font-family:Georgia,serif!important}
html body #app .school-custom-hero.school-graphic-right{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:22px}.school-graphic-right .school-event-graphic{grid-column:2;grid-row:1}.school-graphic-right .school-custom-copy{grid-column:1;grid-row:1;text-align:left}
html body #app .school-graphic-cover .school-event-graphic{width:min(100%,320px);height:220px}
html body #app .school-event-flyer.flyer-custom>.flyer-details,html body #app .school-event-flyer.flyer-custom>.flyer-message,html body #app .school-event-flyer.flyer-custom>.flyer-footer{box-sizing:border-box;position:relative;background:var(--school-panel,#fff)!important;color:var(--school-ink,#20323f)!important;border-radius:15px;padding:22px 25px;margin:0!important;min-width:0;border:1px solid #ffffffa6}
html body #app .school-event-flyer.flyer-custom .flyer-details :is(span,strong){color:var(--school-ink,#20323f)!important}.school-event-flyer.flyer-custom .flyer-details span{opacity:.7}
@media(max-width:600px){html body #app .school-event-flyer.flyer-custom{padding:14px;gap:13px}.school-flyer-photo-header{width:calc(100% + 28px);margin:-14px -14px 0;aspect-ratio:16/8}html body #app .school-event-flyer .school-custom-hero{padding:24px 17px!important;gap:14px}html body #app .school-event-graphic{width:91px;height:96px}html body #app .school-custom-hero.school-graphic-right{grid-template-columns:minmax(0,1fr) 82px;gap:13px}.school-graphic-right .school-event-graphic{width:82px;height:90px}html body #app .school-event-flyer.flyer-custom>.flyer-details{grid-template-columns:minmax(0,1fr);gap:17px;padding:19px}.school-event-flyer.flyer-custom .flyer-details>div{min-width:0}html body #app .school-event-flyer.flyer-custom>.flyer-message{padding:20px}.school-graphic-cover .school-event-graphic{height:170px!important}}
@media print{.school-flyer-photo-header{print-color-adjust:exact}.school-event-flyer .school-custom-hero,.school-event-flyer .flyer-details{break-inside:avoid}}
/* Copied flyer settings remain editable; items are the first open step. */
.flyer-copy-confirmation{max-width:780px;margin:18px auto;padding:16px 20px;background:#e7f7f3;border:2px solid #8acbbf;border-radius:13px;color:#285f62;font:700 18px/1.4 Cubby,sans-serif}.signup-copied-graphic{display:flex!important;align-items:center;gap:14px;background:#edf8ff;border:2px solid #77b8d7;border-radius:12px;padding:13px}.signup-copied-graphic>.art{width:75px!important;height:75px!important;object-fit:contain}.copied-flyer-details{margin-top:18px;padding:15px;background:#f2f8fc;border-radius:12px}
.inherited-school-signup{box-sizing:border-box;padding:20px;max-width:780px;margin:18px auto 24px;border:1px solid #cadfe5;border-radius:20px;overflow:hidden;isolation:isolate}
html body #app .inherited-school-signup>.school-custom-hero{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:16px;position:relative;width:100%;margin:0;padding:25px 20px;background:var(--school-panel,#fff)!important;color:var(--school-ink,#20323f)!important;border-radius:17px;overflow:hidden}
html body #app .inherited-school-signup>.school-custom-hero.school-graphic-right{display:grid;grid-template-columns:minmax(0,1fr) 110px}.inherited-school-signup .school-custom-hero.school-graphic-right .school-event-graphic{width:100px;height:110px}
.inherited-signup-details{background:var(--school-panel,#fff);color:var(--school-ink,#20323f);border-radius:13px;margin-top:16px;padding:18px 20px}.inherited-signup-details p{color:inherit!important;margin:8px 0;overflow-wrap:anywhere}.inherited-signup-details .note-message{white-space:pre-wrap;line-height:1.55}
@media(max-width:600px){.flyer-copy-confirmation{margin:16px 12px;font-size:17px}.inherited-school-signup{padding:14px;margin:16px 0 22px}.inherited-signup-details{padding:15px}.inherited-school-signup .school-flyer-photo-header{width:calc(100% + 28px);margin:-14px -14px 14px}.inherited-school-signup .school-custom-copy h1{font-size:27px!important}html body #app .inherited-school-signup>.school-custom-hero.school-graphic-right{grid-template-columns:minmax(0,1fr) 80px;gap:12px}.inherited-school-signup .school-custom-hero.school-graphic-right .school-event-graphic{width:80px;height:85px}}
.inherited-signup-page{box-sizing:border-box;padding:20px;border-radius:20px;max-width:900px;margin:18px auto;background-repeat:repeat}html body #app .inherited-signup-page>.card{background:var(--school-panel,#fff)!important;color:var(--school-ink,#20323f)!important}html body #app .inherited-signup-page>.card :is(h2,h3,p){color:inherit!important}.inherited-signup-page>.pto-source{background:#fffffff2;padding:9px 13px;border-radius:9px;color:#31536a}.copied-school-signup-info .note-message{white-space:pre-wrap;overflow-wrap:anywhere}.copied-signup-footer{border-top:1px solid #becdd459;padding-top:14px;font-weight:bold}
html body #app .signup-uploaded-flyer .signup-cover-image{width:100%!important;max-width:100%!important;height:auto!important;margin:0!important}html body #app .signup-uploaded-flyer .signup-cover-image>.art{height:auto!important;max-height:none!important;width:100%!important;object-fit:contain!important;border-radius:0}
@media(max-width:600px){.inherited-signup-page{padding:12px}}
/* A flyer and megaphone for Upcoming Events, inside the existing circle. */
html body #app .school-event-circle .upcoming-flyer-art{position:relative;display:block;width:76px!important;height:70px!important;margin:0!important;flex:none;overflow:visible}
.upcoming-flyer-art .upcoming-flyer-paper{position:absolute;inset:0 14px 6px 8px;width:54px;height:64px}.upcoming-flyer-art .upcoming-flyer-megaphone{position:absolute;right:0;bottom:0;width:37px;height:39px;filter:drop-shadow(0 2px 1px #ffffffb0)}
/* Compact square covers open the complete flyer, with all information retained. */
html body #app .school-flyer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),280px));gap:23px;justify-content:center;align-items:start;width:calc(100% - 44px);max-width:900px;margin:25px auto}
.school-flyer-grid>.section-title{grid-column:1/-1;text-align:center;margin:5px 0 0}
html body #app .school-flyer-square{box-sizing:border-box;width:100%;aspect-ratio:1;border:2px solid #94c7ce;border-radius:19px;box-shadow:0 5px 0 #c8e5e8;background:#fff;overflow:hidden;margin:0!important;padding:0!important;min-width:0}
html body #app .school-flyer-square-link{box-sizing:border-box;display:grid!important;grid-template-rows:minmax(0,1fr) auto;gap:0;width:100%;height:100%;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#29445e!important;padding:0!important;margin:0!important;text-align:center;cursor:pointer;min-width:0;min-height:0}
.school-flyer-square-art{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f1f8fb;padding:9px;min-height:0;min-width:0}
html body #app .school-flyer-square-art>.art,html body #app .school-flyer-square-art>img{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;margin:0!important;padding:0!important;filter:none!important}
html body #app .school-square-poster{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;width:72%;height:auto;max-height:85%;background:var(--square-panel,#fff);color:var(--square-ink,#20323f);border:1px solid #dbe5e7;border-radius:12px;padding:12px;box-shadow:0 3px 9px #233c542b;overflow:hidden}
.school-square-graphic{width:75px;height:72px;max-height:55%;flex-shrink:1;min-height:0}.school-square-graphic .art{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;transform:none!important}
.school-square-poster>strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:700 19px/1.1 Cubby,sans-serif;color:inherit;max-width:100%;overflow-wrap:anywhere}
.school-flyer-square-caption{padding:11px 13px 12px;border-top:1px solid #dbe8ee;background:#fff}.school-flyer-square-caption h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 5px!important;font:700 20px/1.1 Cubby,sans-serif!important;color:#3c345b!important;overflow-wrap:anywhere}.school-flyer-square-caption p{font:12px/1.3 Arial,sans-serif;margin:0 0 6px;color:#566d7c}.school-flyer-square-caption>span{font:700 12px/1.2 Arial,sans-serif;color:#167887}.school-flyer-square-link:focus-visible{outline:4px solid #8651bc;outline-offset:-4px}.school-flyer-square-link:hover .school-flyer-square-caption{background:#f2fbf9}
@media(max-width:600px){html body #app .school-flyer-grid{width:calc(100% - 32px);grid-template-columns:minmax(0,280px);gap:22px}html body #app .school-event-circle .upcoming-flyer-art{width:60px!important;height:52px!important}.upcoming-flyer-art .upcoming-flyer-paper{width:43px;height:49px;inset:0 11px 3px 4px}.upcoming-flyer-art .upcoming-flyer-megaphone{width:30px;height:31px}}
/* Keep the title panel compact as well as the gallery cover. Long text can grow safely. */
html body #app .school-event-flyer.flyer-custom .school-custom-hero,html body #app .inherited-school-signup>.school-custom-hero{width:fit-content!important;max-width:100%;min-width:min(70%,280px);height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0 auto!important;padding:18px 20px!important;gap:10px;justify-content:center}
html body #app .school-square-uploaded>.upcoming-flyer-art{width:86px!important;height:78px!important;max-width:86px!important;max-height:78px!important;flex:none}

/* Colorful school-event discovery and flyer-themed round sign-up choices. */
.school-event-circle .upcoming-events-illustration,.school-themed-signup-art .upcoming-events-illustration{position:static!important;display:block!important;flex:none;width:112px!important;height:112px!important;max-width:100%;object-fit:contain!important;object-position:center;margin:0 auto!important;transform:none!important;overflow:hidden}
#app[data-classroom-festivities="true"]{background:#fff url('art/party-confetti-white.svg') repeat!important;background-size:280px 280px!important}
#app[data-classroom-festivities="true"]>.classroom-page-heading{background:transparent!important}
.festive-activity-list.school-themed-signup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px;max-width:850px;margin:25px auto;padding:8px 4px}
.school-themed-signup{display:flex;flex-direction:column;align-items:center;gap:9px;width:100%;min-width:0;padding:0;border:0;background:transparent;color:#263e53;text-align:center;font:inherit;cursor:pointer;box-shadow:none}
.school-themed-signup-circle{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-width:245px;aspect-ratio:1;border:5px solid #218f99;border-radius:50%;overflow:hidden;box-shadow:0 4px 0 #124f6120,0 0 0 5px #fff;background-color:#e1f4f1}
.school-themed-signup:nth-child(3n+2) .school-themed-signup-circle{border-color:#9560bd}.school-themed-signup:nth-child(3n) .school-themed-signup-circle{border-color:#ed8b31}
.school-themed-signup-art{display:flex;align-items:center;justify-content:center;width:72%;height:65%;margin-bottom:12%;pointer-events:none}.school-themed-signup-art>.art,.school-themed-signup-art>img,.school-themed-signup-art>svg{width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%;max-height:100%;filter:drop-shadow(0 2px 3px #183b4225)}
.school-signup-open{position:absolute;bottom:13%;left:10%;width:80%;padding:5px 2px;background:#fffef8f2;color:#126c78;border-radius:20px;font-size:clamp(12px,2vw,17px);box-shadow:0 1px 4px #173b4230}.school-themed-signup>strong{font-size:clamp(18px,3vw,24px);line-height:1.2;overflow-wrap:anywhere}.school-themed-signup>small{font-size:15px;color:#4c6570}.school-themed-signup:focus-visible{outline:4px solid #f3bf31;outline-offset:6px;border-radius:16px}.school-themed-signup:hover .school-themed-signup-circle{box-shadow:0 0 0 5px #fff,0 0 16px #21a6b37a}
@media(min-width:850px){.festive-activity-list.school-themed-signup-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:380px){.festive-activity-list.school-themed-signup-grid{gap:24px 13px}.school-themed-signup-circle{border-width:4px}.school-signup-open{font-size:11px}.school-themed-signup>strong{font-size:17px}}

/* Ruled paper framed with cork, with strongly defined event previews. */
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]){box-sizing:border-box;background:repeating-linear-gradient(to bottom,#fffefa 0 30px,#cbdfe7 30px 31px)!important;border:12px solid #be8b54;border-image:url('art/pto-board/cork.svg') 28 round;box-shadow:inset 0 0 0 2px #ae7947;min-width:0}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square{border:5px solid #147d88;box-shadow:0 5px 0 #147d8829,0 0 0 3px #fff}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(3n+2){border-color:#8450a9;box-shadow:0 5px 0 #8450a929,0 0 0 3px #fff}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(3n){border-color:#d9772e;box-shadow:0 5px 0 #d9772e29,0 0 0 3px #fff}
@media(max-width:600px){html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]){border-width:8px}}

/* Clearly visible celebration stationery, with bold circular destinations. */
html body #app[data-classroom-festivities="true"]{background:#fcfbff url('art/festivities-confetti.svg') repeat!important;background-size:240px 240px!important}
html body #app[data-classroom-festivities="true"]>.classroom-page-heading{background:#fff!important;border:4px solid #16838d!important;border-radius:20px!important;box-shadow:0 5px 0 #b796d9,0 8px 16px #443d6622!important;margin-top:20px!important;margin-bottom:26px!important}
html body #app[data-classroom-festivities="true"] .school-themed-signup-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;gap:34px 30px;padding:12px}
html body #app[data-classroom-festivities="true"] .school-themed-signup-circle{max-width:290px;border-width:8px;box-shadow:0 0 0 5px #fff,0 0 0 8px #167c8933,0 8px 17px #19596533}
html body #app[data-classroom-festivities="true"] .school-themed-signup:nth-child(even) .school-themed-signup-circle{box-shadow:0 0 0 5px #fff,0 0 0 8px #8450a933,0 8px 17px #69478233}
html body #app[data-classroom-festivities="true"] .school-signup-open{background:#fff!important;color:#125e69!important;font-size:17px;font-weight:bold;padding:8px 3px;border:2px solid #16838d;box-sizing:border-box}
html body #app[data-classroom-festivities="true"] .school-themed-signup>strong{background:#fff;border:2px solid #d7c8e9;border-radius:12px;padding:8px 13px;color:#38204e;font-size:24px;box-shadow:0 3px 5px #49335d16}
html body #app[data-classroom-festivities="true"] .school-themed-signup>small{background:#fff;padding:3px 10px;border-radius:10px;font-size:16px;color:#40515d}
@media(max-width:440px){html body #app[data-classroom-festivities="true"] .school-themed-signup-grid{grid-template-columns:minmax(0,1fr);max-width:310px;gap:30px;width:calc(100% - 28px)}html body #app[data-classroom-festivities="true"] .school-themed-signup-circle{max-width:260px}}

/* Circular school flyer previews with bold colored rings and rainbow glow. */
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square{--event-ring:#168d9b;aspect-ratio:auto;border:0!important;border-radius:0;background:transparent;box-shadow:none!important;overflow:visible}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(6n+2){--event-ring:#9755c7}html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(6n+3){--event-ring:#e75b96}html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(6n+4){--event-ring:#e59c16}html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(6n+5){--event-ring:#3789d3}html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square:nth-of-type(6n){--event-ring:#48a365}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square-link{display:flex!important;flex-direction:column;gap:17px;height:auto;background:transparent!important;overflow:visible;border-radius:20px!important}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square-art{box-sizing:border-box;flex:none;width:100%;aspect-ratio:1;border-radius:50%;border:9px solid var(--event-ring);padding:15px;box-shadow:0 0 0 4px #fff,0 0 0 7px #e95a9e65,0 0 12px 10px #f6cd5255,0 0 20px 13px #5cc5ce40;isolation:isolate}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-square-poster{width:72%;height:auto;min-height:0;max-height:78%;border-radius:15px;padding:14px 16px;gap:7px}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square-caption{box-sizing:border-box;width:100%;border:3px solid var(--event-ring);border-radius:17px;background:#fff;padding:13px}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-grid{gap:38px; margin-top:32px;margin-bottom:32px;padding:10px 0}
html body #app:is([data-page="schoolUpcomingEvents"],[data-page="ptoUpcomingEvents"]) .school-flyer-square-link:focus-visible{outline:4px solid #f2ba32;outline-offset:10px}

/* A distinct celebration header and unmistakable page-wide confetti. */
html body #app:has(>.festivities-confetti-marker){background-color:#fff6fc!important;background-image:url('art/festivities-confetti.svg')!important;background-repeat:repeat!important;background-size:175px 175px!important}
html body #app:has(>.festivities-confetti-marker)>.festivities-celebration-banner{position:relative!important;background:#fff!important;border:5px solid #8552b7!important;border-radius:24px!important;box-shadow:0 0 0 3px #fff,0 6px 0 #f2bc3c,0 10px 16px #8252ac28!important;padding:72px 25px 30px!important;margin:22px auto 30px!important;isolation:isolate}
html body #app:has(>.festivities-confetti-marker)>.festivities-celebration-banner::before{content:''!important;position:absolute!important;inset:0 8px auto!important;width:auto!important;height:62px!important;background:transparent url('art/festivities-bunting.svg') center top/100% 100% no-repeat!important;border:0!important;transform:none!important;opacity:1!important;z-index:0!important;pointer-events:none}
html body #app:has(>.festivities-confetti-marker)>.festivities-celebration-banner::after{display:none!important}
html body #app:has(>.festivities-confetti-marker) .festivities-celebration-banner .banner-centered-content{position:relative;z-index:1;gap:26px!important}
html body #app:has(>.festivities-confetti-marker) .festivities-celebration-banner h1{color:#713a9c!important;font-size:clamp(29px,4vw,42px)!important;line-height:1.14!important;text-shadow:1px 2px 0 #eee0fa!important}
html body #app:has(>.festivities-confetti-marker) .festivities-celebration-banner .premium-banner-art{width:125px!important;height:125px!important;flex-basis:125px!important}
@media(max-width:600px){html body #app:has(>.festivities-confetti-marker)>.festivities-celebration-banner{padding:61px 19px 26px!important}html body #app:has(>.festivities-confetti-marker) .festivities-celebration-banner .premium-banner-art{width:96px!important;height:112px!important;flex-basis:96px!important}}

/* School event sign-ups are rectangles; celebration and flyer circles stay intact. */
html body #app .school-signup-rectangle-grid .school-themed-signup-circle{aspect-ratio:4/3;border-radius:19px;border-width:5px;max-width:310px;box-shadow:0 4px 0 #147c8a25,0 0 0 3px #fff}
html body #app .school-signup-rectangle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px;max-width:760px}
html body #app .school-signup-rectangle-grid .school-themed-signup-art{width:70%;height:65%;margin-bottom:12%}
html body #app .school-signup-rectangle-grid .school-signup-open{bottom:7%;border-radius:10px;font-weight:bold}
@media(max-width:440px){html body #app .school-signup-rectangle-grid{grid-template-columns:minmax(0,1fr);max-width:320px}}

html body #app .school-custom-hero .school-event-eyebrow{margin-bottom:6px!important}

/* Compact event facts; preserve long locations without clipping. */
html body #app .school-event-flyer.flyer-custom>.flyer-details{padding:13px 17px!important;gap:10px!important;min-height:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app .school-event-flyer.flyer-custom>.flyer-details>div{margin:0!important;padding:0!important;min-height:0!important}
html body #app .school-event-flyer.flyer-custom>.flyer-details>div:last-child{grid-column:1/-1}
html body #app .school-event-flyer.flyer-custom>.flyer-details span{font-size:10px!important;margin-bottom:3px!important;line-height:1.3!important}
html body #app .school-event-flyer.flyer-custom>.flyer-details strong{font-size:16px!important;line-height:1.35!important;overflow-wrap:anywhere}

/* Professional event-editor entry; flyer artwork and creative preview styles remain independent. */
html body #app .flyer-editor-heading{max-width:980px;margin:24px auto 26px;padding:28px 30px;background:linear-gradient(115deg,#fff,#f5effc);border:1px solid #ddd2e8;border-radius:22px;text-align:left}html body #app .flyer-editor-heading h1{font:750 clamp(27px,4vw,38px)/1.18 Inter,Aptos,'Segoe UI',Arial,sans-serif!important;color:#203c50;margin:8px 0 14px!important;letter-spacing:-.6px}html body #app .flyer-editor-heading p{font:400 15px/1.65 Inter,Aptos,'Segoe UI',Arial,sans-serif!important;color:#64727e;max-width:700px;margin:0}html body #app .flyer-editor-heading .flyer-editor-eyebrow{font-size:11px!important;font-weight:750!important;letter-spacing:1.8px;color:#8059a3}html body #app .school-flyer-builder>form :is(h2,h3,summary,legend,label,input,textarea,select,button){font-family:Inter,Aptos,'Segoe UI',Arial,sans-serif!important}html body #app .flyer-upload-section>h2{font-size:21px!important;text-align:left;margin:0 0 18px!important}.flyer-start-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}.flyer-start-choice{display:flex!important;align-items:flex-start;gap:12px;padding:20px!important;border:1px solid #d8dce4;border-radius:17px;background:#fff;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}.flyer-start-choice:has(input:checked){border-color:#9670bc;background:#f8f2ff;box-shadow:0 0 0 2px #e5d7f2}.flyer-start-choice:focus-within{outline:3px solid #b69ad2;outline-offset:3px}.flyer-start-choice input{width:18px!important;height:18px;flex:0 0 18px;margin:3px 0 0!important;accent-color:#8653ae}.flyer-start-choice strong{display:block;font:700 16px/1.4 Inter,Aptos,'Segoe UI',Arial,sans-serif;color:#28485a}.flyer-start-choice small{display:block;font:400 13px/1.55 Inter,Aptos,'Segoe UI',Arial,sans-serif!important;color:#667780;margin-top:6px}.school-event-setup>fieldset{border:0;margin:0;padding:0;min-width:0}@media(max-width:600px){html body #app .flyer-editor-heading{margin:18px 0 22px;padding:23px 22px}.flyer-start-choices{grid-template-columns:1fr}.flyer-start-choice{padding:18px!important}}
html body #app header.flyer-editor-heading{display:block!important;grid-template-columns:none!important;min-height:0!important;height:auto!important;clear:both}html body #app header.flyer-editor-heading>h1,html body #app header.flyer-editor-heading>p{position:static!important;float:none!important;transform:none!important;width:auto!important;max-width:760px!important;grid-area:auto!important;text-align:left!important}html body #app header.flyer-editor-heading>p{margin:0!important}html body #app header.flyer-editor-heading>h1{margin:8px 0 14px!important}

/* Custom flyer composition shared by the editor preview and published invitation. */
html body #app .school-event-flyer.flyer-custom .school-custom-hero {
  width: 100% !important;
  min-width: 0;
  padding: clamp(16px, 4vw, 27px) !important;
  border-radius: 12px 28px 12px 28px;
  box-shadow: 0 10px 30px #211a4f31, inset 0 0 0 1px #ffffff66;
}
html body #app .school-event-flyer .school-custom-hero.has-flyer-graphic:not(.school-graphic-cover) {
  display: grid;
  grid-template-columns: clamp(54px, 20%, 112px) minmax(0, 1fr);
  gap: 12px;
}
html body #app .school-event-flyer .school-custom-hero.school-graphic-right.has-flyer-graphic {
  grid-template-columns: minmax(0, 1fr) clamp(54px, 20%, 112px);
}
html body #app .school-custom-hero:not(.school-graphic-cover) .school-event-graphic {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 23% 42% 29% 40%;
  background: color-mix(in srgb, var(--flyer-accent, #ab8aff) 25%, transparent) !important;
}
html body #app .school-custom-hero .school-custom-copy h1 {
  font-size: clamp(24px, 6vw, 43px) !important;
  line-height: 1.1 !important;
}
html body #app .school-event-flyer.flyer-custom > .flyer-details {
  border: 1px solid color-mix(in srgb, var(--school-ink, #20323f) 19%, transparent);
  border-top-style: dashed;
  border-radius: 12px 12px 24px 24px;
}
html body #app .school-flyer-square-art .school-square-poster {
  width: 84%;
  border-radius: 10px 20px 10px 20px;
}

@media screen {
  html body #app .family-full-flyer {
    width: 100%;
    padding-inline: 8px;
    box-sizing: border-box;
  }
  html body #app .family-full-flyer .event-flyer-display {
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body #app:has(.linked-signup-header) {
    background: #f7f4ff !important;
    background-image: none !important;
  }
  html body #app .linked-signup-header {
    display: flex !important;
    align-items: center;
    gap: 14px;
    max-width: 670px;
    min-height: 0 !important;
    padding: 15px !important;
    margin: 12px auto 18px !important;
    background: #231645 !important;
    color: white !important;
    border: 1px solid #ad94ef;
    border-radius: 14px 28px 14px 28px;
    box-shadow: 0 6px 18px #7343d139, inset 0 0 15px #a789f433;
  }
  html body #app .linked-signup-header h1 {
    color: white !important;
    font: 800 clamp(22px, 5vw, 34px)/1.15 Inter, system-ui, sans-serif !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
  }
  html body #app .linked-signup-header p { color: #eee6fa !important; margin: 4px 0 0 !important; }
  #app .linked-signup-art { flex: 0 0 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #ffffff23; }
  html body #app .linked-signup-art img { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: contain; }
  #app .linked-signup-items {
    max-width: 670px;
    margin: 0 auto 14px;
    padding: 14px;
    background: white;
    border: 1px solid #e2d9f4;
    border-radius: 18px;
  }
  html body #app .linked-signup-items h2 { font: 750 19px/1.3 Inter,system-ui,sans-serif !important; color: #251840 !important; }
  html body #app .linked-signup-items .supply-card {
    margin: 0;
    border: 0;
    border-top: 1px solid #e8e1f1;
    border-radius: 0;
    padding: 10px 0;
    box-shadow: none;
  }
  html body #app .linked-signup-items .supply-card > img { width: 40px !important; height: 40px !important; }
  html body #app .linked-signup-items button { min-height: 44px; }
}

@media screen {
  html body #app .pto-school-item.inherited-signup-page:has(.linked-signup-header) {
    background: #f7f4ff !important;
    padding: clamp(12px, 3vw, 24px);
    border-radius: 22px;
  }
  html body #app .pto-linked-slot {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 12px;
    border: 1px solid #ded4ef;
    background: #fff;
    border-radius: 12px 21px 12px 21px;
    box-shadow: none;
  }
  html body #app .pto-linked-slot > img { grid-row: span 2; width: 40px !important; height: 40px !important; margin: 0; }
  html body #app .pto-linked-slot :is(h2,p) { margin: 0; }
  html body #app .pto-linked-slot > button { grid-column: 2; width: fit-content; min-height: 44px; }
}

@media screen {
  html body main#app[data-page="eventEmail"]:has(.signup-share-page) {
    background: #f8f5ff !important;
    background-image: none !important;
  }
  #app .signup-share-page {
    max-width: 620px;
    margin: 0 auto;
    padding: 12px;
    color: #281a44;
  }
  html body #app .signup-share-heading {
    border: 1px solid #d8c9f2;
    border-radius: 12px 24px 12px 24px;
    background: linear-gradient(120deg, #efe5ff, #e0f9f4);
    padding: 16px;
    margin-bottom: 12px;
  }
  html body #app .signup-share-heading h1 { color: #281a44 !important; font: 800 clamp(22px, 6vw, 32px)/1.15 Inter,system-ui,sans-serif !important; margin: 0 !important; }
  html body #app .signup-share-heading p { margin: 4px 0 0; color: #4d395f; }
  #app .signup-share-draft, #app .signup-share-link {
    padding: 14px;
    margin: 0 0 12px;
    background: #fff;
    border: 1px solid #dfd4ef;
    border-radius: 14px;
  }
  #app .signup-share-link summary { cursor: pointer; font-weight: 700; }
  #app .signup-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  html body #app .signup-share-actions > :is(button,a) { width: auto !important; min-height: 44px; margin: 0 !important; }

  html body #app:has(.event-flyer-view) .event-publish-actions {
    width: min(calc(100% - 24px), 660px);
    box-sizing: border-box;
    margin: 14px auto;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    border: 1px solid #ded4ee;
    box-shadow: none;
  }
  html body #app:has(.event-flyer-view) .event-publish-actions h2 { flex-basis: 100%; margin: 0; font-size: 18px !important; }
  html body #app:has(.event-flyer-view) .event-publish-actions button { margin: 0 !important; width: auto !important; min-height: 44px; font-size: 14px !important; }
}

@media screen {
  html body #app .family-full-flyer .event-flyer-side {
    padding: 12px;
    border: 1px solid #ded4ee;
    border-radius: 16px;
    background: #fff;
  }
  html body #app .family-full-flyer .cc-ticket-actions {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body #app .family-full-flyer .cc-ticket-actions :is(h2,p) { display: none; }
  html body #app .family-full-flyer .cc-ticket-actions p[role="status"] { display: block; }
  html body #app .family-full-flyer .school-event-family-tools:empty { display: none; }
  html body #app .family-full-flyer .event-flyer-side :is(button,a).block,
  html body #app:has(.family-full-flyer) .event-calendar-action {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 !important;
    min-height: 44px;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.3;
  }
  html body #app .family-full-flyer .cc-ticket-actions .primary { width: 100% !important; }
  html body #app .family-full-flyer .event-flyer-actions { border-top: 1px solid #eee8f5; padding-top: 8px; }
  html body #app:has(.family-full-flyer) .event-calendar-action { margin: 0 12px 12px !important; }
}

/* One poster composition for invitations, matching sign-ups, and board thumbnails. */
html body #app .school-poster {
  display: grid;
  align-content: end;
  justify-items: start;
  isolation: isolate;
  position: relative;
  box-sizing: border-box;
  min-height: clamp(146px, 49vw, 265px);
  padding: clamp(13px, 5vw, 30px);
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  color: #fff;
  background: radial-gradient(ellipse at 75% 0, #ffffff31, transparent 55%),
    linear-gradient(150deg, var(--flyer-main,#5956b3) 0%, #1e2e59 83%);
}
html body #app .school-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--poster-backdrop);
  opacity: .52;
}
html body #app .school-poster-photo { aspect-ratio: 1.22; }
html body #app .school-poster-photo::before { opacity: 1; }
html body #app .school-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(177deg, transparent 10%, #101a3c23 42%, #101839ed 100%);
}
html body #app .school-poster-photo .school-poster-art {
  position: absolute;
  top: clamp(9px, 3vw, 19px);
  right: clamp(9px, 3vw, 19px);
  width: clamp(42px, 17%, 70px);
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 13px;
  background: #fffaf1;
  transform: rotate(8deg);
  box-shadow: 0 4px 10px #18213b45;
}
html body #app .school-poster:not(.school-poster-photo) .school-poster-art {
  width: min(62%, 195px);
  justify-self: center;
  margin: 0 auto 8px;
}
html body #app .school-poster-art img {
  display: block !important;
  width: 100% !important;
  max-height: 120px;
  height: auto !important;
  object-fit: contain;
  margin: 0 !important;
}
html body #app .school-poster-type { width: 100%; min-width: 0; }
html body #app .school-poster-type::before {
  content: "";
  display: block;
  width: 35px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: #ffe5a8;
  transform: rotate(-4deg);
}
html body #app .school-poster-type :is(h1,strong) {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font: 850 clamp(24px,9vw,54px)/.99 system-ui,sans-serif !important;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 7px #11152e76 !important;
}
html body #app .school-flyer-square-art:has(.school-poster) { padding: 0 !important; }
html body #app .school-flyer-square-art .school-poster {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  padding: 10px;
  align-self: stretch;
}
html body #app .school-flyer-square-art .school-poster-type strong { font-size: clamp(17px, 5.5vw, 32px) !important; }
html body #app .school-event-flyer:has(.school-poster) { min-height: 0 !important; gap: 9px; }
@media screen {
  html body #app .event-whiteboard .event-paper > .flyer-details { display: none !important; }
  html body #app .event-whiteboard .event-paper:has(.school-poster) { padding: 7px !important; }
  html body #app .event-whiteboard .event-paper > .flyer-decoration { display: none !important; }
}
@media print {
  #app .school-poster { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  #app .event-invite-details { display: none !important; }
}
html body #app .school-poster.school-poster-right:not(.school-poster-photo) {
  grid-template-columns: minmax(0, 1fr) minmax(36px, 28%);
  align-items: end;
  gap: 10px;
}
html body #app .school-poster.school-poster-right:not(.school-poster-photo) .school-poster-art {
  grid-area: 1 / 2;
  width: 100%;
  margin: 0;
}
html body #app .school-poster.school-poster-right:not(.school-poster-photo) .school-poster-type { grid-area: 1 / 1; }
html body #app .school-poster.school-poster-cover:not(.school-poster-photo) .school-poster-art {
  width: min(90%, 235px);
}
html body #app .school-flyer-square-link:has(.school-poster) .school-flyer-square-caption h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.flyer-template-legacy[hidden],
[data-school-custom]:has([data-has-flyer]) .flyer-template-legacy {
  display: none !important;
}
.flyer-carousel { min-width: 0; }
.flyer-template-grid {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin-block: 5px 2px;
  padding-block: 2px 4px;
  scrollbar-width: thin;
}
.flyer-gallery-page {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-auto-rows: min-content;
  gap: 5px;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.flyer-carousel-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #573781;
  font-size: .8rem;
}
.flyer-carousel:has(.flyer-template-grid > .flyer-gallery-page:nth-child(2)) .flyer-carousel-controls { display: flex; }
#app .flyer-carousel-controls > button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #c5addf;
  border-radius: 10px;
  background: #f7efff;
  color: #573781;
  font-size: 1.4rem;
}
html body #app .flyer-template-grid .flyer-gallery-card {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  gap: 3px;
  margin: 0;
  padding: 4px;
  border: 1px solid #ddd2ee;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
}
#app .flyer-gallery-card > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
}
html body #app .flyer-gallery-card:has(input:checked) {
  border-color: #6639a0;
  background: #f3e9ff;
}
#app .flyer-gallery-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  inset: 4px 4px auto auto;
  width: 17px;
  line-height: 17px;
  border-radius: 50%;
  color: white;
  background: #6639a0;
  font: bold 12px/17px system-ui,sans-serif;
}
#app .flyer-gallery-card:focus-within { outline: 2px solid #754dad; outline-offset: -2px; }
#app .flyer-card-art { display: grid; place-items: center; width: min(100%,110px); height: clamp(66px,22vw,103px); }
#app .flyer-card-art > .flyer-template-hero { width: min(100%,clamp(56px,18vw,88px)); max-height: 100%; border-radius: 5px; }
#app .flyer-card-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #39274e;
  font-size: .72rem;
  line-height: 1.12;
}
#app .flyer-hover-preview {
  position: fixed;
  inset: auto;
  z-index: 1500;
  width: min(240px,calc(100vw - 20px));
  margin: 0;
  padding: 8px;
  pointer-events: none;
  border: 1px solid #c9b3e5;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 26px #35214d3b;
}
#app .flyer-hover-preview[hidden] { display: none !important; }
#app .flyer-hover-preview > .flyer-template-hero { max-width: 41vh; }
#app .flyer-hover-preview .flyer-card-caption { margin-top: 5px; text-align: center; }
.flyer-template-hero {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: var(--flyer-art-ratio, 35 / 41);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  container-type: inline-size;
  print-color-adjust: exact;
}
.flyer-template-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html body #app .flyer-template-hero > .flyer-template-title {
  position: absolute;
  margin: 0;
  top: var(--title-y);
  left: var(--title-x);
  width: var(--title-width);
  max-height: var(--title-height);
  transform: translate(-50%, -50%) rotate(var(--title-angle));
  font: 900 var(--title-fit-size,var(--title-size)) / .98 var(--title-family), sans-serif !important;
  color: var(--title-color) !important;
  text-align: center;
  overflow-wrap: anywhere;
  text-wrap: balance;
  overflow: hidden;
}
html body #app .school-flyer-square-art:has(.flyer-template-hero) {
  padding: 0 !important;
  height: auto !important;
  aspect-ratio: 35 / 41 !important;
}

.flyer-inline-slot {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 2fr) minmax(72px, 1fr);
  padding: 8px 0;
  border-bottom: 1px solid #ddd2ee;
}
.flyer-inline-slot input { width: 100%; min-width: 0; }
.flyer-inline-slot button { align-self: end; }
[data-flyer-slot-edit="add"] { margin-top: 10px; }

.flyer-template-grid [hidden] { display: none !important; }

.flyer-rotation-picker { grid-column: 1 / -1; min-width: 0; }
#app .flyer-rotate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 9px;
}
#app .flyer-rotate-actions > button {
  flex: 1 0 auto;
  min-height: 44px;
  margin: 0;
  padding: 5px 9px;
  font-size: .75rem;
  white-space: nowrap;
}
.flyer-title-move { display: flex; flex-wrap: wrap; gap: 6px; }
html body #app .flyer-template-hero > .flyer-title-outlined {
  -webkit-text-stroke: .9cqw var(--title-outline);
  paint-order: stroke fill;
}
.flyer-background {
  --flyer-gradient: linear-gradient(145deg,#fff2bf,#ff97da,#9dcaff);
  --flyer-pattern: linear-gradient(transparent,transparent);
  width: min(100%, 420px);
  aspect-ratio: 35 / 41;
  margin-inline: auto;
  padding: clamp(4px, 2vw, 14px);
  border-radius: 12px;
  background-image: var(--flyer-pattern), var(--flyer-gradient);
  print-color-adjust: exact;
}
.flyer-background[data-gradient="sunrise"] { --flyer-gradient: linear-gradient(145deg,#fff098,#ff9e78,#f443a0); }
.flyer-background[data-gradient="ocean"] { --flyer-gradient: linear-gradient(145deg,#acfff0,#24d7da,#4e7afc); }
.flyer-background[data-gradient="berry"] { --flyer-gradient: linear-gradient(145deg,#ffcdec,#ff64b0,#8e55f5); }
.flyer-background[data-gradient="lime"] { --flyer-gradient: linear-gradient(145deg,#fbff8b,#c1f56a,#31c98c); }
.flyer-background[data-gradient="night"] { --flyer-gradient: linear-gradient(145deg,#141659,#5730b5,#29a5f6); }
.flyer-background[data-pattern="dots"] { --flyer-pattern: radial-gradient(circle,#ffffffb5 19%,transparent 21%); background-size: 16px 16px,100% 100%; }
.flyer-background[data-pattern="stripes"] { --flyer-pattern: repeating-linear-gradient(135deg,#ffffff7a 0 4px,transparent 4px 11px); }
.flyer-background[data-pattern="stars"] { --flyer-pattern: radial-gradient(ellipse 4px 1px at center,#fff 85%,transparent),radial-gradient(ellipse 1px 4px at center,#fff 85%,transparent); background-size: 16px 16px; background-image: var(--flyer-pattern),var(--flyer-gradient); }
.flyer-background[data-pattern="confetti"] { --flyer-pattern: url('/art/party-confetti-white.svg'); background-size: 125px 125px,100% 100%; }
.flyer-background .flyer-template-hero { width: 100%; }

html body #app .flyer-template-hero > .flyer-title-panel {
  padding: .14em .28em;
  border-radius: .34em;
  background: color-mix(in srgb, var(--title-outline) 74%, transparent);
  backdrop-filter: blur(5px);
  text-shadow: 0 0 .16em var(--title-outline);
}

html body #app .flyer-template-hero:is([data-title-shape="marquee"],[data-title-shape="ribbon"],[data-title-shape="ticket"],[data-title-shape="bubble"],[data-title-shape="paint"],[data-title-shape="badge"]) > .flyer-template-title {
  --title-paper: #fff5da;
  --title-edge: #fdab32;
  --title-shadow: #441d5a;
  padding: .16em .33em;
  min-height: 1.22em;
  border: .07em solid var(--title-edge);
  border-radius: .36em;
  background: var(--title-paper);
  box-shadow: 0 .1em 0 .04em var(--title-shadow), 0 .14em .25em #230b3670;
  text-shadow: 0 .03em .08em var(--title-outline);
}
html body #app .flyer-template-hero[data-title-shape="marquee"] > .flyer-template-title {
  --title-paper: color-mix(in srgb,var(--title-outline) 89%,#6416a4);
  --title-edge: #ffcf55;
  border-style: dotted;
  box-shadow: 0 0 0 .055em #f5439c,0 0 .34em #f74fb9;
  border-radius: .68em;
}
html body #app .flyer-template-hero[data-title-shape="ribbon"] > .flyer-template-title {
  background: linear-gradient(155deg,#ffeb9c,#ffaadb);
  border-radius: 24% 10% 26% 8% / 21% 7% 23% 8%;
  border-color: #fff1b8;
}
html body #app .flyer-template-hero[data-title-shape="ticket"] > .flyer-template-title {
  --title-paper: #fff2ba;
  --title-edge: #f06457;
  border-style: dashed;
  border-radius: .13em .38em .13em .38em;
}
html body #app .flyer-template-hero[data-title-shape="bubble"] > .flyer-template-title {
  --title-paper: color-mix(in srgb,var(--title-outline) 87%,#53c5ff);
  --title-edge: #47d8f7;
  border-radius: 45% 42% 45% 24% / 34% 35% 37% 32%;
}
html body #app .flyer-template-hero[data-title-shape="paint"] > .flyer-template-title {
  --title-paper: color-mix(in srgb,var(--title-outline) 81%,#ffb6ee);
  --title-edge: #ff77c8;
  border-radius: 12% 31% 13% 33% / 37% 11% 47% 23%;
}
html body #app .flyer-template-hero[data-title-shape="badge"] > .flyer-template-title {
  --title-paper: color-mix(in srgb,var(--title-outline) 86%,#ffe497);
  --title-edge: #ff86be;
  border-radius: 44% / 30%;
}

.flyer-template-title > span { display: block; }
html body #app [data-title-finish="glow"] > .flyer-template-title {
  text-shadow: 0 .045em 0 #e18812, 0 .08em 0 #942632, 0 0 .26em #ffc929;
  letter-spacing: -.035em;
}
html body #app [data-title-finish="spray"] > .flyer-template-title {
  font-style: italic !important;
  letter-spacing: -.055em;
  text-shadow: .06em .08em 0 #20113d;
}
html body #app [data-title-finish="script"] > .flyer-template-title {
  font-style: italic !important;
  letter-spacing: -.06em;
  text-shadow: 0 .035em .02em #fff0ad;
}
html body #app [data-title-finish="record"] > .flyer-template-title {
  font-style: italic !important;
  letter-spacing: -.06em;
  text-shadow: .05em .085em 0 #891c24, .07em .11em .02em #1c0808;
}
html body #app [data-title-finish="chalk"] > .flyer-template-title {
  letter-spacing: .015em;
  text-shadow: .03em .025em .02em var(--title-outline);
}
html body #app [data-title-finish="dimensional"] > .flyer-template-title {
  letter-spacing: -.045em;
  text-shadow: 0 .07em 0 color-mix(in srgb,currentColor 78%,#311632),0 .12em .09em #48213b55;
}
html body #app [data-title-finish="painted"] > .flyer-template-title {
  letter-spacing: -.035em;
  text-shadow: 0 .018em 0 #fff8df;
}

.flyer-category-browser { margin-block: 9px; }
#app .flyer-category-browser h3, #app .flyer-category-browser h4 { margin: 0; color: #4b346b; font-size: .9rem; }
#app .flyer-holiday-subfolders { margin: 8px 0 0 6px; padding: 8px 0 0 9px; border-inline-start: 2px solid #ddc9ef; }
.flyer-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: .4rem;
  padding: .2rem;
}
.flyer-category-list > button { min-width: 0; height: auto; overflow-wrap: anywhere; font-size: .88rem; }

html body #app [data-title-finish="storybook"] > .flyer-template-title {
  font-style: italic !important;
  letter-spacing: -.065em;
  text-shadow: 0 .045em 0 color-mix(in srgb,currentColor 72%,#311421),0 .085em .1em #36153640;
}
html body #app [data-title-finish="comic"] > .flyer-template-title {
  letter-spacing: -.055em;
  font-style: italic !important;
  -webkit-text-stroke: .85cqw var(--title-outline);
  paint-order: stroke fill;
  text-shadow: .065em .09em 0 #f99c44;
}
html body #app [data-title-finish="sport"] > .flyer-template-title {
  letter-spacing: -.035em;
  text-transform: uppercase;
  -webkit-text-stroke: .74cqw var(--title-outline);
  paint-order: stroke fill;
  text-shadow: .045em .095em 0 #3a0733;
}
html body #app [data-title-finish="arcade"] > .flyer-template-title {
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 0 .12em #f3e4ff,0 0 .22em #b133ff,0 .06em 0 #0c1261;
}
html body #app [data-title-ink="design"][data-title-finish="storybook"] > .flyer-template-title > span:nth-of-type(2) {
  color: color-mix(in srgb,var(--title-color) 66%,#d92471);
}

html body #app .flyer-template-hero > .flyer-title-original {
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
html body #app [data-title-finish="icing"] > .flyer-template-title {
  font-style: italic !important;
  text-shadow: 0 .04em 0 #dd965d, .04em .09em .1em #642315;
}
html body #app [data-title-finish="ribbon-pop"] > .flyer-template-title {
  letter-spacing: -.055em;
  -webkit-text-stroke: .94cqw #ad271a;
  paint-order: stroke fill;
  text-shadow: .04em .08em 0 #8e1513, .05em .12em .09em #092151;
}
html body #app [data-title-ink="design"][data-title-finish="arcade"] > .flyer-template-title > span:first-child { color: #8bfbff; }
html body #app [data-title-ink="design"][data-title-finish="arcade"] > .flyer-template-title > span:last-child { color: #ff80d9; }

.flyer-template-picker:has([name="flyerTitleMode"] :is([value="fixed"],[value="blank"]):checked) .flyer-title-controls {
  display: none;
}

@font-face { font-family: 'Flyer Script'; src: url('/assets/flyer-fonts/script.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Bookman'; src: url('/assets/flyer-fonts/bookman.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Gothic'; src: url('/assets/flyer-fonts/gothic.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Condensed'; src: url('/assets/flyer-fonts/condensed.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Mono'; src: url('/assets/flyer-fonts/mono.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Roman'; src: url('/assets/flyer-fonts/roman.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Schoolbook'; src: url('/assets/flyer-fonts/schoolbook.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Flyer Slanted'; src: url('/assets/flyer-fonts/slanted.woff') format('woff'); font-weight: 900; font-display: swap; }

#app .flyer-library-search { display: grid; gap: 5px; }
.flyer-search-count:empty { display: none; }
.flyer-search-count { margin: 6px 0; font-size: .9rem; }

html body #app .flyer-category-list > .flyer-folder {
  display: grid !important;
  grid-template-columns: 36px minmax(0,1fr);
  align-items: center;
  gap: 5px;
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 4px !important;
  border: 1px solid #eadff3;
  border-radius: 9px;
  background: #fffafc;
  color: #303047;
  font-size: .71rem !important;
  font-weight: 700;
  line-height: 1.14;
  text-align: left;
  overflow-wrap: anywhere;
}
html body #app .flyer-category-list > .flyer-folder[aria-pressed="true"] {
  border-color: #7750ae;
  background: #f3e8ff;
}
#app .flyer-folder-art {
  display: grid;
  place-items: center;
  width: 36px;
  height: 29px;
  padding: 6px 3px 2px;
  background: var(--folder-color, #e7d9fe);
  clip-path: polygon(0 14%, 39% 14%, 48% 0, 75% 0, 83% 14%, 100% 14%, 100% 100%, 0 100%);
  border-radius: 5px;
}
#app .flyer-folder-art img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 3px;
}
#app .class-party-flyer { margin-block: 14px; }
.flyer-template-picker:not([data-has-flyer]) .flyer-font-picker,
.flyer-template-picker[data-font-locked] .flyer-font-picker,
.flyer-template-picker:not([data-has-flyer]) .flyer-title-controls,
.flyer-template-picker:not([data-has-flyer]) :has(> select[name="flyerTitleMode"]) { display: none; }
#app :is([data-flyer-preview],[data-fundraiser-preview],[data-flyer-artwork-preview]) [data-flyer-editable-title] > .flyer-template-title { touch-action: none; cursor: grab; }
#app :is([data-flyer-preview],[data-fundraiser-preview],[data-flyer-artwork-preview]) [data-flyer-editable-title] > .flyer-template-title:active { cursor: grabbing; }

#app .supply-card > .flyer-template-hero { flex: 0 0 min(30%, 122px); margin-inline: 0; }

.flyer-template-picker:not([data-has-flyer]) .flyer-artwork-editor { display: none; }
.flyer-artwork-editor { display: grid; gap: 10px; align-items: start; }
.flyer-artwork-fields { min-width: 0; }
.flyer-artwork-preview {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 6px 8px 8px;
  border: 1px solid #ded0ef;
  border-radius: 12px;
  background: #fbf7ff;
  text-align: center;
  box-shadow: 0 3px 9px #37185818;
}
.flyer-artwork-preview > b { display: block; margin-bottom: 4px; color: #573781; font-size: .85rem; }
#app .flyer-artwork-preview .flyer-template-hero { width: min(100%, 150px, 25dvh); }
@media (min-width: 800px) {
  .flyer-artwork-editor { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  #app .flyer-artwork-preview .flyer-template-hero { width: min(100%, 230px, 33dvh); }
}

.flyer-touch-hint { display: none; }
.flyer-artwork-preview:has([data-flyer-resize]) .flyer-touch-hint {
  display: block;
  margin-bottom: 5px;
  color: #573781;
  font-size: .72rem;
}
#app .flyer-artwork-preview .flyer-title-resize {
  position: absolute;
  inset: auto 4px 4px auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: #643e96;
  color: white;
  font-size: 22px;
  touch-action: none;
  cursor: ew-resize;
}
.flyer-font-picker { min-width: 0; grid-column: 1 / -1; }
.flyer-font-picker > summary { cursor: pointer; }
.flyer-font-group { margin-top: 12px; }
.flyer-font-group > strong { display: block; color: #4b346b; font-size: .88rem; }
.flyer-font-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
#app .flyer-font-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 5px;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 6px 7px;
  border: 1px solid #ded0ef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
#app .flyer-font-options label:has(input:checked) { background: #eee3fa; border-color: #754dad; }
#app .flyer-font-options input { grid-row: span 2; width: auto; margin: 0; }
#app .flyer-font-options .flyer-font-specimen {
  font-family: var(--flyer-font-sample) !important;
  font-weight: var(--flyer-sample-weight, 900);
  font-size: clamp(.86rem, 3.7vw, 1.3rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
#app .flyer-font-options .flyer-font-label {
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.15;
  color: #534368;
  overflow-wrap: anywhere;
}

#app .event-signup-roster { margin: 14px 12px; }
#app .event-signup-roster h2 { color: #4e3271; margin: 0 0 8px; }
#app .event-signup-roster .card { margin: 7px 0; padding: 10px 12px; }
#app .event-signup-roster h3 { margin: 0; }
#app .event-signup-roster p { margin: 4px 0; font-size: .85rem; }
#app .event-signup-roster ul { list-style: none; margin: 6px 0 0; padding: 0; }
#app .event-signup-roster li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #e4dcf0; overflow-wrap: anywhere; }

@media screen {
  html body main#app .signup-flyer-summary {
    position: static;
    display: block;
    min-height: 0;
    width: min(calc(100% - 20px), 780px);
    margin: 8px auto 12px;
    padding: 12px;
    border: 1px solid #e0cee9;
    border-radius: 17px;
    background: linear-gradient(130deg,#eee4ff,#fbf9ff 60%,#e5f7ef);
    color: #271a40;
    box-shadow: 0 4px 10px #38235712;
  }
  #app .signup-flyer-summary-top { display: flex; align-items: center; gap: 12px; }
  #app .signup-flyer-thumbnail {
    flex: 0 0 clamp(62px, 21vw, 104px);
    max-width: 30%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 7px #38235724;
  }
  #app .signup-flyer-thumbnail > img { display: block; width: 100%; height: auto; }
  #app .signup-flyer-summary-copy { flex: 1; min-width: 0; }
  html body main#app .signup-flyer-summary h1 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #271a40 !important;
    font: 800 clamp(1.22rem,5vw,1.8rem)/1.15 system-ui,sans-serif !important;
    overflow-wrap: anywhere;
  }
  #app .signup-flyer-summary ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
  #app .signup-flyer-summary li { padding: 3px 5px; border-radius: 5px; background: #fff9; font: 600 .75rem/1.3 system-ui,sans-serif; overflow-wrap: anywhere; }
  html body main#app .signup-flyer-summary .signup-flyer-note {
    margin: 9px 0 0 !important;
    padding: 8px 0 0;
    border-top: 1px solid #dcccea;
    color: #382d49 !important;
    font: 400 .9rem/1.35 system-ui,sans-serif !important;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  #app .signup-flyer-slots { width: min(calc(100% - 20px), 780px); margin: 0 auto 10px; }
  #app .signup-flyer-slots > h2 { margin: 0 0 6px; color: #402a61; font: 800 1.15rem/1.25 system-ui,sans-serif; }
  html body main#app .signup-flyer-slots > .supply-card {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px !important;
    margin: 0 0 6px !important;
    border: 1px solid #e0d2ed;
    border-radius: 11px;
    background: white;
  }
  #app .signup-flyer-slots .supply-card > img { width: 34px; height: 34px; object-fit: contain; }
  #app .signup-flyer-slots .supply-card .grow h2 { margin: 0; font-size: .98rem; overflow-wrap: anywhere; }
  #app .signup-flyer-slots .supply-card .grow p { margin: 2px 0 0; font-size: .76rem; overflow-wrap: anywhere; }
  #app .signup-flyer-slots .supply-card button { min-height: 44px; margin: 0; padding: 5px 10px; }
}


/* Apply the same lettering treatment to the picker and the flyer. */
html body #app [data-flyer-typeface] .flyer-font-specimen {
  --title-outline: white;
}
html body #app [data-flyer-typeface="pop-art"] :is(.flyer-font-specimen,.flyer-template-title) {
  text-transform: uppercase;
  letter-spacing: -.035em;
  text-shadow: .035em .055em var(--title-outline), .075em .1em currentColor;
}
html body #app [data-flyer-typeface="varsity"] :is(.flyer-font-specimen,.flyer-template-title) {
  text-transform: uppercase;
  letter-spacing: .025em;
  -webkit-text-stroke: .02em var(--title-outline);
  text-shadow: 0 .075em currentColor;
}
html body #app [data-flyer-typeface="arcade-glow"] :is(.flyer-font-specimen,.flyer-template-title) {
  text-transform: uppercase;
  letter-spacing: .025em;
  text-shadow: 0 0 .035em var(--title-outline), 0 0 .16em currentColor;
}
html body #app [data-flyer-typeface="storybook-swish"] :is(.flyer-font-specimen,.flyer-template-title) {
  text-shadow: 0 .07em .12em color-mix(in srgb,currentColor 38%,transparent);
}
html body #app [data-flyer-typeface="retro-poster"] :is(.flyer-font-specimen,.flyer-template-title) {
  letter-spacing: -.07em;
  text-shadow: .035em .045em var(--title-outline), .075em .085em currentColor;
}
html body #app [data-flyer-typeface="chalk-lettering"] :is(.flyer-font-specimen,.flyer-template-title) {
  font-weight: 400 !important;
  letter-spacing: .035em;
  text-shadow: .022em .028em currentColor;
}
html body #app [data-flyer-typeface="comic-outline"] :is(.flyer-font-specimen,.flyer-template-title) {
  paint-order: stroke fill;
  -webkit-text-stroke: .065em var(--title-outline);
  text-shadow: .045em .065em currentColor;
  font-style: italic !important;
  letter-spacing: -.045em;
}

#app .signup-roster-name {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}
html body #app :is(.signup-roster-slot,.organizer-signup-entry) :is(.signup-roster-name > strong,.signup-roster-note,.signup-roster-quantity) {
  font-size: .75rem !important;
  line-height: 1.35;
}
#app .signup-roster-note { color: #524763; white-space: pre-wrap; }
#app .signup-roster-quantity { flex: none; }
#app .organizer-signup-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e4dcf0;
  font-size: .86rem;
}

@media screen {
  html body #app .flyer-artwork-editor { gap: 6px; }

  html body #app .flyer-artwork-preview {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    text-align: left;
  }

  #app .flyer-artwork-preview .flyer-preview-caption b { color: #573781; font-size: .8rem; }
  #app .flyer-artwork-preview .flyer-touch-hint { margin: 3px 0 0; font-size: .67rem; line-height: 1.3; }
  #app .flyer-artwork-preview .flyer-template-hero { width: min(31vw,118px,21dvh); }
  #app .flyer-artwork-preview .flyer-title-resize { inset: auto 2px 2px auto; }

  html body #app .flyer-artwork-fields > label,
  html body #app .flyer-artwork-fields .flyer-title-controls label {
    margin: 4px 0 !important;
    font-size: .78rem !important;
  }

  html body #app .flyer-artwork-fields input:not([type="checkbox"]):not([type="radio"]),
  html body #app .flyer-artwork-fields select {
    min-height: 44px;
    margin: 2px 0 0 !important;
    padding: 5px 7px !important;
    font-size: 16px !important;
  }

  html body #app .flyer-artwork-fields .flyer-title-controls {
    margin: 5px 0 !important;
    padding: 6px 8px !important;
  }

  #app .flyer-title-controls .field-2 { gap: 4px 7px; }
  #app .flyer-position-controls { margin-top: 4px; }
  #app :is(.flyer-position-controls,.flyer-font-picker) > summary {
    min-height: 44px;
    padding: 8px 6px;
    cursor: pointer;
    font-size: .78rem;
  }
  #app [data-flyer-font-name] { color: #65488a; font-size: .72rem; }
  #app .flyer-font-save-status { margin: 4px 0; color: #315c53; font-size: .72rem; }
  #app .flyer-font-save-status:empty { display: none; }
  html body #app .flyer-artwork-fields > .flyer-inline-save {
    width: auto !important;
    min-height: 44px;
    margin: 4px 0 !important;
    padding: 4px 9px !important;
    font-size: .79rem !important;
  }

  @media (min-width: 800px) {
    #app .flyer-artwork-preview { display: block; text-align: center; }
    #app .flyer-artwork-preview .flyer-template-hero { width: min(100%,200px,31dvh); }
  }
}

@media screen {
  html body main#app[data-page="event"] .signup-flyer-thumbnail { flex-basis: clamp(36px,13vw,70px); }
  html body main#app[data-page="event"] .signup-flyer-summary { padding: 8px; margin-bottom: 8px; }

  html body main#app[data-page="event"] .signup-flyer-slots > .supply-card {
    grid-template-columns: 30px minmax(0,1fr) auto;
    gap: 7px;
    min-height: 0 !important;
    padding: 4px 7px !important;
    margin-bottom: 5px !important;
    overflow: hidden;
  }

  #app .signup-slot-thumbnail {
    display: grid;
    place-items: center;
    isolation: isolate;
    contain: strict;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }
  html body #app .signup-slot-thumbnail > *,
  html body #app .signup-slot-thumbnail img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  html body main#app[data-page="event"] .signup-flyer-slots .supply-card .grow h2 {
    margin: 0 !important;
    font-size: .87rem !important;
    line-height: 1.17;
  }
  html body main#app[data-page="event"] .signup-flyer-slots .supply-card .grow p {
    margin: 2px 0 0 !important;
    font-size: .72rem !important;
    line-height: 1.2;
  }
  html body main#app[data-page="event"] .signup-flyer-slots .supply-card button[data-action="beginSignup"] {
    width: auto !important;
    min-width: 64px;
    min-height: 44px;
    padding: 4px 8px !important;
    margin: 0 !important;
    border: 1px solid #a5d9d6 !important;
    border-radius: 10px !important;
    font-size: .75rem !important;
    background: linear-gradient(140deg,#edfff6,#dbf2fb) !important;
    color: #19525a !important;
    box-shadow: 0 1px 6px #9de7df70 !important;
  }
  html body main#app[data-page="event"] .signup-flyer-slots button[data-action="beginSignup"]:disabled {
    background: #f1f2f6 !important;
    border-color: #d7dbe5 !important;
    color: #535d6d !important;
    opacity: 1;
    box-shadow: none !important;
  }
  #app .signup-flyer-slots button[data-action="beginSignup"] .cc-action-icon { display: none; }
  html body main#app[data-page="event"] .compact-signup-links {
    width: min(calc(100% - 20px), 780px);
    margin: 6px auto !important;
    padding: 0 !important;
    gap: 5px;
  }
  html body main#app[data-page="event"] .compact-signup-links > button {
    min-height: 44px;
    margin: 0 !important;
    padding: 4px 7px !important;
    border: 1px solid #d8c8ed !important;
    border-radius: 10px !important;
    font-size: .75rem !important;
    background: #f4edff !important;
    color: #412864 !important;
    box-shadow: 0 1px 6px #d5b9f16b !important;
  }
}

#app .flyer-card-theme {
  display: block;
  font-size: .8rem;
  line-height: 1.2;
  color: #432b63;
}

#app .flyer-library-filters {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.35fr);
  gap: 6px;
}
#app .flyer-library-search label { min-width: 0; width: 100%; margin: 0; font-size: .79rem; line-height: 1.12; }
html body #app .flyer-library-search :is(input,select) {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin: 2px 0 0;
  padding: 4px 7px;
  font-size: 1rem;
}
html body #app .flyer-library-search select { padding-inline-end: 23px; }

#app .class-festivities { display: grid; gap: 14px; width: min(100%, 730px); margin-inline: auto; }
#app .festivities-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 90px; padding: 10px 15px; border-radius: 17px; border: 1px solid #dfd0ee;
  background: linear-gradient(118deg, #f5e7ff, #fff5e6 64%, #e4f8f2);
}
#app .festivities-header h1 { margin: 0 0 7px; color: #3a2455; font-size: clamp(1.34rem, 5vw, 2rem); line-height: 1.09; }
#app .festivities-header button { min-height: 40px; margin: 0; padding: 6px 11px; font-size: .84rem; }
#app .festivities-header img { width: clamp(61px, 19vw, 86px); height: auto; flex-shrink: 0; object-fit: contain; }
#app .festivities-month { display: grid; gap: 6px; }
#app .festivities-month h2 { margin: 0; font-size: .94rem; color: #4a3761; }
html body #app .festivities-month .school-signup-list-row {
  margin: 0; padding: 6px 9px; gap: 9px; grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 59px; border: 1px solid #dbd7e7; border-inline-start: 3px solid var(--row-accent);
  border-radius: 11px; box-shadow: 0 2px 4px #38264a0d; background: #fff;
}
html body #app .festivities-month .signup-list-image { width: 44px; height: 44px; border-radius: 7px; box-shadow: none; overflow: hidden; }
html body #app .festivities-month .signup-list-copy strong { font-size: .97rem !important; line-height: 1.2; }
html body #app .festivities-month .signup-list-copy small { margin: 2px 0 0; font-size: .79rem; }
html body #app .festivities-month .signup-list-cta { padding: 4px 6px; margin: 0; min-width: 0; font-size: .73rem; }
#app .class-festivities > button { justify-self: start; min-height: 40px; margin: 0; font-size: .82rem; }
#app .festivities-empty { margin: 0; color: #493c59; }

html body #app :is([data-flyer-typeface="archivo-black"], [data-flyer-typeface="bangers"], [data-flyer-typeface="pacifico"], [data-flyer-typeface="lilita-one"], [data-flyer-typeface="luckiest-guy"], [data-flyer-typeface="permanent-marker"], [data-flyer-typeface="abril-fatface"], [data-flyer-typeface="bungee"]) > .flyer-template-title { font-weight: 400 !important; }

html body #app :is([data-flyer-typeface="fredoka"]) > .flyer-template-title { font-weight: 700 !important; }

html body #app :is([data-flyer-typeface="ranchers"], [data-flyer-typeface="anton"], [data-flyer-typeface="silkscreen"], [data-flyer-typeface="lobster"], [data-flyer-typeface="finger-paint"], [data-flyer-typeface="caveat-brush"], [data-flyer-typeface="emilys-candy"], [data-flyer-typeface="raleway-dots"]) > .flyer-template-title { font-weight: 400 !important; }


/* The display styles share their lettering between the chooser and editable artwork. */
#app .flyer-font-options .flyer-poster-specimen {
  position: relative;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 5px;
  min-height: 95px;
  padding: 9px 6px;
  text-align: center;
  background: linear-gradient(145deg,#fff,#f7f8fb);
  box-shadow: 0 3px 7px #2a234016;
}
#app .flyer-poster-specimen > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#app .flyer-poster-specimen:focus-within { outline: 2px solid #754dad; outline-offset: 2px; }
#app .flyer-poster-specimen .flyer-font-label { grid-row: 1; color: #262234; font-size: .69rem; font-weight: 750; }
#app .flyer-poster-specimen .flyer-font-specimen {
  grid-row: 2;
  align-self: center;
  font-size: clamp(1rem,4vw,1.56rem);
  line-height: 1.03;
  text-wrap: balance;
  color: var(--flyer-poster-ink,#502760);
}
#app .flyer-poster-specimen .flyer-font-subtitle {
  grid-row: 3;
  color: var(--flyer-poster-accent,#493957);
  font: 750 .61rem/1.16 system-ui,sans-serif;
  letter-spacing: .015em;
}
#app [data-flyer-typeface="ranchers"] { --flyer-poster-ink: #c34b1b; --flyer-poster-accent: #1d3e66; }
#app [data-flyer-typeface="anton"] { --flyer-poster-ink: #183e70; --flyer-poster-accent: #546204; }
#app [data-flyer-typeface="pacifico"] { --flyer-poster-ink: #ad346e; --flyer-poster-accent: #466521; }
#app [data-flyer-typeface="silkscreen"] { --flyer-poster-ink: #f0d54a; --flyer-poster-accent: #234568; }
#app [data-flyer-typeface="lobster"] { --flyer-poster-ink: #773465; --flyer-poster-accent: #a44325; }
#app [data-flyer-typeface="finger-paint"] { --flyer-poster-ink: #337043; --flyer-poster-accent: #1d646d; }
#app [data-flyer-typeface="caveat-brush"] { --flyer-poster-ink: #203e31; --flyer-poster-accent: #254c3b; }
#app [data-flyer-typeface="emilys-candy"] { --flyer-poster-ink: #a94456; --flyer-poster-accent: #92375e; }
#app [data-flyer-typeface="raleway-dots"] { --flyer-poster-ink: #934112; --flyer-poster-accent: #512c69; }
#app [data-flyer-typeface="bangers"] { --flyer-poster-ink: #ed6127; --flyer-poster-accent: #9f331c; }
html body #app .flyer-template-hero[data-title-ink="design"] > .flyer-template-title {
  color: var(--flyer-poster-ink,var(--title-color)) !important;
}
html body #app :is([data-flyer-typeface="ranchers"],[data-flyer-typeface="anton"],[data-flyer-typeface="silkscreen"],[data-flyer-typeface="bangers"]) :is(.flyer-font-specimen,.flyer-template-title) {
  text-transform: uppercase;
}
html body #app :is([data-flyer-typeface="bangers"],[data-flyer-typeface="silkscreen"]) :is(.flyer-font-specimen,.flyer-template-title:not(.flyer-title-outlined)) {
  paint-order: stroke fill;
  -webkit-text-stroke: .09em #292039;
  text-shadow: .04em .07em 0 #292039;
}
html body #app [data-flyer-typeface="raleway-dots"] :is(.flyer-font-specimen,.flyer-template-title:not(.flyer-title-outlined)) {
  -webkit-text-stroke: .026em currentColor;
}


#app .flyer-color-picker { margin: 7px 0; }
#app .flyer-color-picker > strong { font-size: .85rem; }
#app .flyer-color-picker > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
#app .flyer-color-picker button, #app .flyer-color-picker label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid #d6c6e8;
  border-radius: 8px;
  color: #362744;
  background: #fff;
  font-size: .77rem;
}
#app .flyer-color-picker button[aria-pressed="true"] { border-color: #754dad; background: #eee3fa; }
#app .flyer-color-picker input[type="color"] { width: 32px; height: 28px; min-height: 0; margin: 0; padding: 1px; }

.flyer-extra-text-fields summary small{font-weight:400}
.flyer-extra-text-fields textarea{width:100%;box-sizing:border-box}
.flyer-extra-text-fields input[type="range"]{width:100%;padding:0}
.flyer-template-hero>.flyer-extra-text{
 position:absolute;z-index:2;left:50%;top:var(--flyer-extra-y);transform:translate(-50%,-50%);
 box-sizing:border-box;width:max-content;max-width:84%;padding:.4em .65em;border-radius:.45em;
 background:#fff9e9;color:#241a34;font:700 5.8cqw/1.19 Arial,sans-serif;
 text-align:center;white-space:pre-line;overflow-wrap:anywhere;box-shadow:0 .12em .35em #21193445;
 pointer-events:none;
}

#app .flyer-folder-header:not([hidden]) {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 8px 12px;
 margin-block: 0 10px;
}
#app .flyer-folder-header button {
 width: auto;
 min-height: 44px;
 margin: 0;
 padding: 7px 12px;
}
#app .flyer-template-picker [data-flyer-folders][hidden],
#app .flyer-template-picker [data-flyer-folder-results][hidden],
#app .flyer-template-picker [data-flyer-holiday-folders][hidden] {
 display: none !important;
}
#app .flyer-template-picker .flyer-holiday-subfolders {
 margin: 0;
 padding: 0;
 border: 0;
}

#app .school-flyer-builder .flyer-builder-step,
#app .flyer-template-picker .flyer-editor-step {
 min-width: 0;
 margin-block: 10px;
 padding: 0 12px;
 border: 1px solid #e4d8ef;
 border-radius: 12px;
 background: #fff;
}
#app :is(.school-flyer-builder .flyer-builder-step,.flyer-template-picker .flyer-editor-step) > summary {
 min-height: 44px;
 padding: 12px 2px;
 color: #4b346b;
 font-size: 1rem;
 font-weight: 700;
 cursor: pointer;
}
#app :is(.school-flyer-builder .flyer-builder-step,.flyer-template-picker .flyer-editor-step)[open] {
 padding-bottom: 12px;
}
#app .flyer-template-picker .flyer-size-picker > label {
 display: grid;
 grid-template-columns: 1fr auto;
 align-items: center;
 gap: 8px;
}
#app .flyer-template-picker .flyer-size-picker input[type=range] {
 grid-column: 1 / -1;
 width: 100%;
 margin: 0;
 accent-color: #7245ad;
}
#app .flyer-template-picker .flyer-size-picker output {
 color: #65488a;
 font-weight: 700;
}
#app .flyer-template-picker .flyer-size-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin-block: 8px 14px;
}
#app .flyer-template-picker .flyer-size-actions button {
 width: auto;
 min-width: 44px;
 min-height: 44px;
 margin: 0;
 padding: 6px 12px;
}
