/* Centered banner families: preserve chalkboards and notebook paper. */
html body #app[data-page][data-classroom-style] :is(.classroom-page-heading,.reference-heading,.rules-chalk-banner,.newsletter-page-banner,.chalk-page-title){box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;max-width:720px!important;width:calc(100% - 40px)!important;text-align:center!important;transform:none!important}
html body #app[data-page][data-classroom-style] :is(.classroom-page-heading,.reference-heading,.rules-chalk-banner,.newsletter-page-banner,.chalk-page-title) :is(h1,p,.classroom-heading-copy){text-align:center!important}
html body #app[data-page][data-classroom-style] .modern-notebook-banner{padding-left:12px!important;padding-right:104px!important}
html body #app[data-page][data-classroom-style] .modern-notebook-banner :is(h1,p){text-align:center!important}
/* Meetings and Messages use the provided ruled notebook reference. */
html body #app[data-page]:is([data-page=messages],[data-page=meetings],[data-page=connectedMessages],[data-page=connectedMeetings],[data-page=thread],[data-page=meetingSetup],[data-page=meetingReview],[data-page=meetingBooked]){background-color:#fffdf6!important;background-image:linear-gradient(90deg,transparent 0 31px,#e5b1b56b 31px 32px,transparent 32px),repeating-linear-gradient(transparent 0 35px,#b2ccd95e 35px 36px)!important;background-position:0 0!important;background-size:auto!important;background-repeat:repeat!important;border:0!important}
html body #app[data-page][data-classroom-style] .communication-notebook-banner{min-height:164px!important;padding:27px 145px 22px 20px!important;background:none!important;border:0!important;box-shadow:none!important;margin-top:20px!important;margin-bottom:18px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #app[data-page][data-classroom-style] .communication-notebook-banner h1{font:700 clamp(30px,5vw,44px)/1.1 Cubby,sans-serif!important;color:#432554!important;max-width:470px;margin:0 auto 12px!important;text-wrap:balance}
html body #app[data-page][data-classroom-style] .communication-notebook-banner p{font:400 18px/1.3 Cubby,sans-serif!important;color:#4c5554!important;margin:8px auto!important}
html body #app[data-page][data-classroom-style] .communication-notebook-banner:after{background:#8ec6bb!important;left:26px;right:151px;height:4px;bottom:12px}
#app .communication-notebook-banner .notebook-banner-pencil{width:137px!important;height:151px!important;right:0!important;top:5px!important;transform:none!important}
html body #app .communication-top-tabs{max-width:720px!important;width:calc(100% - 40px)!important;margin:12px auto 28px!important;display:grid!important;grid-template-columns:1fr 1fr;gap:14px}
html body #app .communication-top-tabs .communication-tab{border-radius:10px!important;font:700 25px/1.2 Cubby,sans-serif!important;min-height:58px!important;box-shadow:0 4px 7px #43355926!important;outline:0!important;transition:background .15s}
html body #app .communication-top-tabs .communication-tab:first-child{background:#c4a5e6!important;border-color:#a97ccc!important;color:#352143!important}
html body #app .communication-top-tabs .communication-tab:last-child{background:#8acfd1!important;border-color:#6cb3b7!important;color:#183f43!important}
html body #app .communication-top-tabs .communication-tab:first-child.active{background:#7140a8!important;border-color:#583082!important;color:#fff!important;box-shadow:inset 0 2px 5px #35164f4d,0 3px 7px #51366533!important}
html body #app .communication-top-tabs .communication-tab:last-child.active{background:#087e88!important;border-color:#075e66!important;color:#fff!important;box-shadow:inset 0 2px 5px #063e454d,0 3px 7px #265f6333!important}
/* Three compact circular choices and small selectable student notes. */
.meeting-kind-circles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;justify-items:center;gap:18px;max-width:650px;margin:18px auto 25px;padding:8px 4px}
html body #app .meeting-kind-circle{position:relative;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;aspect-ratio:1;width:100%;max-width:157px;min-width:0;min-height:0!important;flex-direction:column;border:5px solid var(--meeting-ink)!important;border-radius:50%!important;background:var(--meeting-paper)!important;box-shadow:0 0 0 2px #fff,0 0 12px var(--meeting-glow),0 5px 9px #34443726!important;padding:15px 9px!important;margin:0!important;text-align:center;cursor:pointer;--meeting-ink:#246d78;--meeting-paper:#cdebe8;--meeting-glow:#236e786b}
.meeting-kind-circle.meeting-kind-private{--meeting-ink:#844075!important;--meeting-paper:#f5d8e7!important;--meeting-glow:#84407570!important}.meeting-kind-circle.meeting-kind-signup{--meeting-ink:#59428b!important;--meeting-paper:#e1d8f4!important;--meeting-glow:#59428b70!important}
#app .meeting-kind-circle input{position:absolute;width:1px;height:1px;opacity:0;left:50%;top:50%}#app .meeting-kind-circle span{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center}#app .meeting-kind-circle strong{font:700 22px/1.05 Cubby,sans-serif!important;color:var(--meeting-ink)!important}#app .meeting-kind-circle small{font:12px/1.2 Arial,sans-serif!important;color:#42494f!important;display:block;margin-top:5px}
html body #app .meeting-kind-circle:has(input:checked),html body #app .meeting-kind-circle.selected{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--meeting-ink),0 0 20px var(--meeting-glow)!important;background:#fffdf5!important}
.meeting-kind-circle:focus-within,.student-name-bubble:focus-within{outline:3px solid #e4b52e;outline-offset:6px}
.meeting-type-help{text-align:center;color:#5b4a67;font:18px/1.4 Cubby,sans-serif;max-width:560px;margin:15px auto 24px}
html body #app .student-picker{border:0!important;padding:5px 0 15px!important;margin:15px 0 22px!important;min-width:0}
#app .student-picker legend{font:700 23px/1.3 Cubby,sans-serif;color:#473153;padding:0 4px}#app .student-picker-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:6px 0 15px}#app .student-picker-actions button{width:auto!important;min-height:36px!important;padding:4px 10px!important;margin:0!important;font:700 16px/1.2 Cubby,sans-serif!important;text-decoration:underline;color:#236c77;background:transparent!important;border:0!important;box-shadow:none!important}#app .student-picker-actions button:disabled{opacity:.45;cursor:not-allowed}#app [data-student-selection-count]{font:12px/1.3 Arial,sans-serif;color:#68616e}
.student-bubble-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:11px 10px}
html body #app label.student-name-bubble{position:relative;display:block!important;margin:0!important;padding:0!important;max-width:100%;cursor:pointer;line-height:1.3;flex:none}
#app .student-name-bubble input{position:absolute;opacity:0;width:1px;height:1px;left:50%;top:50%;padding:0;margin:0}
html body #app .student-name-bubble span{display:block;padding:8px 12px;border:1.5px solid #d4cbdc;border-radius:14px;background:white;box-shadow:0 2px 7px #33254422;color:#4c335c;font:600 13px/1.3 Arial,sans-serif;overflow-wrap:anywhere;text-shadow:0 0 5px #51355f26;transition:background .12s,border-color .12s}
#app .student-name-bubble i{font-style:normal;color:#c19226;font-size:14px;margin-right:2px}html body #app .student-name-bubble input:checked+span{background:#e7dcf7;border:2px solid #765098;padding:7.5px 11.5px;box-shadow:0 0 7px #76509848;color:#422958}#app .student-name-bubble input:checked+span i{color:#754c98}
html body #app .recipient-compose-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}html body #app .recipient-compose-actions button{margin:0!important;width:100%!important;min-height:50px!important;border-radius:12px!important;font:700 23px/1.2 Cubby,sans-serif!important}
html body #app .communication-recipient-sheet,html body #app .connected-thread{position:relative;box-sizing:border-box;background:#fffdf2!important;border:1px solid #e0ded2!important;border-radius:14px!important;box-shadow:0 5px 9px #4d493521!important;width:calc(100% - 48px);max-width:720px;margin:30px auto;padding:26px}
.communication-recipient-sheet:before,.connected-thread:before{content:'';position:absolute;left:17px;top:-7px;width:48px;height:20px;background:#cbb6e2c2;transform:rotate(-13deg)}
#app .communication-recipient-sheet h2{font:700 28px/1.2 Cubby,sans-serif;color:#482d5a;text-align:center}html body #app .communication-recipient-sheet form{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:100%!important}
#app .meeting-details-fields{border-top:1px solid #dcd9d0;padding-top:15px}#app .meeting-details-fields h3{font:700 24px/1.2 Cubby,sans-serif;color:#4a365d}#app .meeting-booking-note{font:13px/1.4 Arial,sans-serif;background:#fffdf4;border-radius:6px;padding:9px;white-space:pre-wrap;overflow-wrap:anywhere}
#app .selected-recipient-names{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}#app .selected-recipient-names span{font:600 13px/1.4 Arial,sans-serif;background:white;border:1px solid #d5c7e1;border-radius:12px;padding:7px 10px}
html body #app .connected-message.parent-chat-bubble{background:#fff0b5!important;border:1px solid #e2c76e!important;color:#5e4a1a!important;border-radius:17px 17px 17px 5px!important}
html body #app .connected-message.teacher-chat-bubble{background:#f9d7e7!important;border:1px solid #dda6c1!important;color:#61324a!important}
#app .communication-settings{margin-top:25px}.connected-message-account,.connected-message-note{text-align:center;max-width:680px;margin:12px auto!important;width:calc(100% - 48px)}
@media(max-width:600px){html body #app[data-page][data-classroom-style] .communication-notebook-banner{padding:20px 108px 18px 10px!important;min-height:145px!important}html body #app .communication-notebook-banner .notebook-banner-pencil{width:105px!important;height:130px!important;top:5px!important}html body #app[data-page][data-classroom-style] .communication-notebook-banner:after{right:111px;left:12px}html body #app .communication-top-tabs .communication-tab{font-size:23px!important}.meeting-kind-circles{gap:12px;padding:8px 2px}html body #app .meeting-kind-circle{border-width:4px!important;padding:10px 4px!important}#app .meeting-kind-circle strong{font-size:17px!important}#app .meeting-kind-circle small{font-size:10px!important;line-height:1.15!important}html body #app .communication-recipient-sheet,html body #app .connected-thread{padding:24px 17px}.student-bubble-grid{gap:10px 8px}html body #app .student-name-bubble span{font-size:12px;padding:8px 10px}html body #app .student-name-bubble input:checked+span{padding:7.5px 9.5px}html body #app .recipient-compose-actions button{font-size:21px!important}}
@media(max-width:360px){#app .meeting-kind-circle strong{font-size:15px!important}#app .meeting-kind-circle small{display:none}}

#app .chat-preview-label{padding:10px 14px;background:#e9e1f5;border:1px solid #bca5d6;border-radius:9px;font:700 16px/1.4 Cubby,sans-serif;color:#5d3b7b;text-align:center}
#app .chat-design-preview .connected-message{max-width:88%;overflow-wrap:anywhere}#app .chat-design-preview .received{margin-right:auto!important;margin-left:0!important}#app .chat-design-preview .sent{margin-left:auto!important;margin-right:0!important}

/* A distinct matching name and star color for each student choice. */
.student-bubble-grid .student-name-bubble:nth-child(6n+1){--student-ink:#b1276c;--student-tint:#fff0f7;--student-ring:#d45a95}
.student-bubble-grid .student-name-bubble:nth-child(6n+2){--student-ink:#00766f;--student-tint:#e7f8f5;--student-ring:#23a599}
.student-bubble-grid .student-name-bubble:nth-child(6n+3){--student-ink:#7540b3;--student-tint:#f2eaff;--student-ring:#a078cc}
.student-bubble-grid .student-name-bubble:nth-child(6n+4){--student-ink:#1b66ae;--student-tint:#eaf4ff;--student-ring:#5f9dd2}
.student-bubble-grid .student-name-bubble:nth-child(6n+5){--student-ink:#a54d12;--student-tint:#fff2e5;--student-ring:#d88b49}
.student-bubble-grid .student-name-bubble:nth-child(6n){--student-ink:#37762f;--student-tint:#eef8e8;--student-ring:#78a95c}
html body #app .student-bubble-grid .student-name-bubble>span{color:var(--student-ink);border-color:var(--student-ring);text-shadow:none}
html body #app .student-bubble-grid .student-name-bubble>span i{color:var(--student-ink)}
html body #app .student-bubble-grid .student-name-bubble input:checked+span{color:var(--student-ink);background:var(--student-tint);border-color:var(--student-ink);box-shadow:0 0 0 2px var(--student-tint),0 2px 7px #33254422}
html body #app .student-bubble-grid .student-name-bubble input:checked+span i{color:var(--student-ink)}
