/* Approved notebook layout: free glowing names, original meeting circles, new connection banner. */
html body main#app#app[data-page] .connection-title-banner{display:grid!important;grid-template-columns:minmax(0,1fr) 76px!important;align-items:center!important;gap:20px!important;width:calc(100% - 36px)!important;max-width:780px!important;min-height:0!important;margin:16px auto 20px!important;padding:22px 24px!important;background:linear-gradient(110deg,#f0e7fa,#e8f7f4)!important;border:1px solid #d4bde9!important;border-left:5px solid #8b4abd!important;border-radius:18px!important;box-shadow:0 4px 0 #6040780c!important;overflow:hidden!important;text-align:left!important}
html body main#app#app[data-page] .connection-title-banner:before,html body main#app#app[data-page] .connection-title-banner:after{display:none!important}
html body main#app#app[data-page] .connection-title-banner .connection-title-kicker{display:block;font:700 10px/1.4 Arial,sans-serif!important;letter-spacing:1.5px;color:#287b7e;margin:0 0 6px!important}
html body main#app#app[data-page] .connection-title-banner h1{font:700 34px/1.12 Cubby,sans-serif!important;text-align:left!important;color:#58257a!important;margin:0 0 8px!important;padding:0!important;letter-spacing:0!important;white-space:normal!important;max-width:none!important;text-shadow:none!important}
html body main#app#app[data-page] .connection-title-banner p{font:14px/1.4 Arial,sans-serif!important;text-align:left!important;color:#5c4f6d!important;margin:0!important;padding:0!important}
.connection-title-art{width:76px;height:76px;justify-self:end;stroke-linecap:round;stroke-linejoin:round}
html body main#app#app[data-page] .communication-top-tabs{background:none!important;gap:10px!important;border-radius:0!important;overflow:visible!important}
html body main#app#app[data-page] .communication-top-tabs .communication-tab:first-child{background:#e5d2f7!important;color:#66338d!important;border:2px solid #b28ace!important;box-shadow:none!important}
html body main#app#app[data-page] .communication-top-tabs .communication-tab:first-child.active{background:#8844b7!important;color:#fff!important;border-color:#7434a4!important;box-shadow:0 0 0 3px #cda9ed55!important}
html body main#app#app[data-page] .communication-top-tabs .communication-tab:last-child{background:#d5f2ef!important;color:#087b80!important;border:2px solid #7fc6c3!important;box-shadow:none!important}
html body main#app#app[data-page] .communication-top-tabs .communication-tab:last-child.active{background:#098e96!important;color:#fff!important;border-color:#057b83!important;box-shadow:0 0 0 3px #7cd9d755!important}
html body main#app#app[data-page] .student-name-bubble{--student-ink:#bd286d;--student-glow:#fc7fc055;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:44px!important;padding:6px 0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;outline-offset:2px;color:var(--student-ink)!important;cursor:pointer}
html body main#app#app[data-page] .student-name-bubble:nth-child(6n+2){--student-ink:#087b77;--student-glow:#34d5cb66}
html body main#app#app[data-page] .student-name-bubble:nth-child(6n+3){--student-ink:#7344a4;--student-glow:#b387e477}
html body main#app#app[data-page] .student-name-bubble:nth-child(6n+4){--student-ink:#2376a7;--student-glow:#72c7f077}
html body main#app#app[data-page] .student-name-bubble:nth-child(6n+5){--student-ink:#a26609;--student-glow:#f3c86177}
html body main#app#app[data-page] .student-name-bubble:nth-child(6n+6){--student-ink:#b33478;--student-glow:#ef80bd77}
html body main#app#app[data-page] .student-name-bubble>span{display:flex!important;align-items:center;gap:5px;min-width:0;font:700 18px/1.3 Arial,sans-serif!important;color:var(--student-ink)!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;box-shadow:none!important;text-shadow:0 0 4px var(--student-glow),0 0 9px var(--student-glow)!important;transform:none!important}
html body main#app#app[data-page] .student-name-bubble i{font:normal 21px/1 Arial,sans-serif!important;color:var(--student-ink)!important;text-shadow:0 0 7px var(--student-glow)!important}
html body main#app#app[data-page] .student-name-bubble input{position:static!important;opacity:1!important;clip:auto!important;clip-path:none!important;appearance:auto!important;-webkit-appearance:checkbox!important;width:19px!important;height:19px!important;min-width:19px!important;margin:0!important;transform:none!important;accent-color:#8242b6;flex:none;border-radius:3px}
html body main#app#app[data-page] .student-name-bubble:has(input:checked){background:none!important;border:0!important;box-shadow:none!important}
html body main#app#app[data-page] .student-name-bubble:has(input:checked)>span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;text-shadow:0 0 5px var(--student-glow),0 0 11px var(--student-glow)!important}
html body main#app#app[data-page] .student-bubble-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px!important;margin:12px 0!important}
html body main#app#app[data-page] .student-picker-actions{gap:20px!important;margin-bottom:10px!important;justify-content:space-between!important;font:14px/1.3 Arial,sans-serif!important}
html body main#app#app[data-page] .communication-recent-row{grid-template-columns:30px minmax(0,1fr) 70px!important;min-height:85px;padding:16px 0;border-bottom:1px solid #ded1e9;background:none!important;box-shadow:none!important;border-radius:0!important}
.recent-message-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font:12px/1.3 Arial,sans-serif;color:#675d70}.recent-unread{display:inline-flex!important;align-items:center;justify-content:center;min-width:25px;height:25px;border-radius:50%;background:#9148c5;color:#fff;font:700 13px/1 Arial,sans-serif;padding:0 6px}
html body main#app#app[data-page] .communication-recent-row .recent-chat-icon{border:2px solid #974cc6;border-radius:7px;width:28px;height:23px;display:flex;align-items:center;justify-content:center;font-size:17px;color:#974cc6}
html body main#app#app[data-page] .communication-settings{width:calc(100% - 36px);max-width:780px;padding:13px 17px!important;margin:16px auto!important}
html body main#app#app[data-page] .communication-settings>summary{font:700 22px/1.3 Cubby,sans-serif!important}
html body main#app#app[data-page] .meeting-family-settings{background:#eee3f6!important;border:0!important;padding:11px 13px!important;margin:0 0 15px!important}
html body main#app#app[data-page] .meeting-date-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 14px!important;margin:10px 0!important}
html body main#app#app[data-page] .meeting-date-row>label:first-child{grid-column:1/-1}
html body main#app#app[data-page] .meeting-date-row>button{grid-column:1/-1}
html body main#app#app[data-page] .meeting-date-row input[type=time]{width:100%!important;min-width:0!important;min-height:40px!important;padding:9px!important}
html body main#app#app[data-page] .meeting-details-fields>label{margin-bottom:10px!important}
html body main#app#app[data-page] .meeting-details-fields :is(input,select){padding:8px 10px!important;min-height:40px!important}
html body main#app#app[data-page] .meeting-extra-settings{background:#eee3f6!important;border:0!important;margin:14px 0 0!important;padding:11px 13px!important}
html body main#app#app[data-page] .meeting-details-fields [data-add-meeting-day]{font:700 17px/1.3 Arial,sans-serif!important;min-height:43px!important;padding:9px!important;background:#fff!important;color:#70339c!important;border:1.5px solid #9149bd!important;border-radius:9px!important;margin:14px 0 10px!important}
html body main#app#app[data-page] .meeting-details-fields button[type=submit]{font:700 18px/1.3 Arial,sans-serif!important;min-height:46px!important;padding:10px!important;background:#8c39bd!important;color:#fff!important;border:1px solid #7930a8!important;border-radius:9px!important;margin:10px 0!important}
html body main#app#app[data-page] .meeting-details-fields [data-meeting-availability-help]{font:12px/1.4 Arial,sans-serif!important;margin:8px 0!important;color:#63566d}
.meeting-invitations-panel{width:calc(100% - 36px);max-width:780px;margin:20px auto;background:#fff;border:1px solid #ba91e0;border-radius:15px;padding:18px;box-sizing:border-box}
html body main#app#app[data-page] .meeting-invitations-panel>h2{font:700 28px/1.2 Cubby,sans-serif!important;color:#592780;margin:0 0 14px}
.meeting-posted-row{background:none;border:0;border-top:1px solid #e3d5ef;padding:12px 0}.meeting-posted-row>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.meeting-posted-row>summary strong,.meeting-posted-row>summary small{display:block;font:700 17px/1.4 Arial,sans-serif}.meeting-posted-row>summary small{font-weight:400;color:#665b6d}.view-bookings-label{font:700 13px/1.25 Arial,sans-serif;flex:none;border:1px solid #964cc6;color:#70329b;border-radius:7px;padding:8px}.meeting-posted-row .meeting-notebook-card{width:100%!important;margin:12px 0!important;box-shadow:none!important}
@media(max-width:600px){html body main#app#app[data-page] .connection-title-banner{grid-template-columns:minmax(0,1fr) 51px!important;gap:10px!important;padding:17px 14px!important;margin:12px auto 17px!important;border-radius:15px!important}html body main#app#app[data-page] .connection-title-banner h1{font-size:29px!important;line-height:1.05!important}html body main#app#app[data-page] .connection-title-banner p{font-size:12px!important}.connection-title-art{width:51px;height:56px}html body main#app#app[data-page] .connection-title-banner .connection-title-kicker{font-size:8px!important;letter-spacing:1px}html body main#app#app[data-page] .student-name-bubble>span{font-size:15px!important}html body main#app#app[data-page] .student-name-bubble{gap:7px!important}html body main#app#app[data-page] .student-name-bubble i{font-size:18px!important}html body main#app#app[data-page] .student-name-bubble input{width:18px!important;height:18px!important;min-width:18px!important}html body main#app#app[data-page] .student-bubble-grid{gap:6px 12px!important}html body main#app#app[data-page] .communication-recent-row{grid-template-columns:25px minmax(0,1fr) 58px!important;gap:9px;font-size:13px}html body main#app#app[data-page] .communication-recent-row strong{font-size:15px}.recent-message-meta{font-size:11px}}
@media(prefers-reduced-motion:reduce){.student-name-bubble *{transition:none!important}}
/* Clear the older per-student pastel fills as well as the shared bubble style. */
html body main#app#app[data-page] .student-name-bubble:nth-child(n),html body main#app#app[data-page] .student-name-bubble:nth-child(n)>span{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body main#app#app[data-page] .student-name-bubble:before,html body main#app#app[data-page] .student-name-bubble:after{display:none!important}
/* Reduce space around the circles without changing the circles themselves. */
html body main#app#app[data-page] .meeting-builder-card{margin-top:0!important}
html body main#app#app[data-page] .meeting-builder-card>form{padding-top:0!important}
/* A real stationery-style heading: large notebook and yellow pencil, with ruled paper. */
html body main#app#app[data-page] .connection-title-banner{grid-template-columns:128px minmax(0,1fr)!important;gap:22px!important;max-width:780px!important;min-height:160px!important;margin:14px auto 20px!important;padding:17px 26px 17px 15px!important;border:0!important;border-bottom:1px solid #d8dce8!important;border-left:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:repeating-linear-gradient(#fff 0px,#fff 31px,#c4dbe95e 31px,#c4dbe95e 32px)!important}
html body main#app#app[data-page] .connection-title-banner .connection-notebook-art{display:block!important;width:128px!important;height:138px!important;max-width:100%!important;object-fit:contain;transform:rotate(-5deg);margin:0!important;filter:drop-shadow(0 3px 1px #532d7111)}
html body main#app#app[data-page] .connection-title-banner h1{font:700 39px/1.08 Cubby,sans-serif!important;color:#612889!important;text-align:left!important;margin:0!important;letter-spacing:.1px!important;max-width:none!important;text-shadow:0 1px #fff!important}
html body main#app#app[data-page] .connection-title-banner .connection-title-copy{min-width:0;max-width:100%}
.connection-pencil-underline{display:block;width:87%;max-width:310px;height:5px;border-radius:80% 30% 60% 40%;background:#f5c52a;transform:rotate(-1deg);margin:10px 0 12px;box-shadow:0 2px #fbe68d66}
html body main#app#app[data-page] .connection-title-banner p{font:15px/1.4 Arial,sans-serif!important;color:#66526f!important;margin:0!important}
@media(max-width:600px){html body main#app#app[data-page] .connection-title-banner{grid-template-columns:99px minmax(0,1fr)!important;gap:11px!important;min-height:134px!important;padding:10px 7px 14px!important;margin:9px auto 13px!important;border-radius:0!important}html body main#app#app[data-page] .connection-title-banner .connection-notebook-art{width:99px!important;height:117px!important}html body main#app#app[data-page] .connection-title-banner h1{font-size:32px!important;line-height:1.08!important}html body main#app#app[data-page] .connection-title-banner p{font-size:12px!important}.connection-pencil-underline{height:4px;margin:8px 0 10px;width:88%}}
@media(max-width:360px){html body main#app#app[data-page] .connection-title-banner{grid-template-columns:85px minmax(0,1fr)!important;gap:7px!important}html body main#app#app[data-page] .connection-title-banner .connection-notebook-art{width:85px!important;height:105px!important}html body main#app#app[data-page] .connection-title-banner h1{font-size:29px!important}}
/* Small stationery accents shared by Messages and Meetings. */
html body main#app#app .connection-title-banner .communication-paperclip{position:absolute!important;display:block!important;width:14px!important;height:38px!important;border:3px solid #269da8;border-radius:10px;z-index:2;box-shadow:1px 2px 2px #3c617b20,inset 1px 0 0 #c2f3f4;pointer-events:none}
html body main#app#app .connection-title-banner .communication-paperclip:after{content:"";position:absolute;top:4px;left:3px;width:4px;height:24px;border:2px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0;color:#269da8}
html body main#app#app .connection-title-banner .clip-teal{top:-9px;left:24px;transform:rotate(-24deg)}
html body main#app#app .connection-title-banner .clip-purple{bottom:-8px;right:24px;transform:rotate(26deg);border-color:#a47ac8;color:#a47ac8;box-shadow:1px 2px 2px #5c3b7a20,inset 1px 0 0 #e8d8f7}
html body main#app#app .connection-title-banner .clip-purple:after{color:#a47ac8}
@media(max-width:600px){html body main#app#app .connection-title-banner .communication-paperclip{width:12px!important;height:32px!important;border-width:2px}html body main#app#app .connection-title-banner .communication-paperclip:after{top:3px;left:3px;width:3px;height:20px;border-width:1.5px}html body main#app#app .connection-title-banner .clip-teal{left:18px}html body main#app#app .connection-title-banner .clip-purple{right:18px}}

/* A friendly message bubble opposite the notebook, on both communication tabs. */
html body main#app#app[data-page] .connection-title-banner{position:relative!important;padding-right:125px!important}
html body main#app#app[data-page] .connection-title-banner .connection-message-bubble{position:absolute!important;right:15px!important;top:50%!important;transform:translateY(-50%) rotate(5deg)!important;width:100px!important;height:90px!important;max-width:none!important;pointer-events:none;filter:drop-shadow(0 4px 3px #6a407a24)}
@media(max-width:600px){html body main#app#app[data-page] .connection-title-banner{padding-right:66px!important;gap:9px!important}html body main#app#app[data-page] .connection-title-banner .connection-message-bubble{right:0!important;width:65px!important;height:65px!important;top:48%!important}html body main#app#app[data-page] .connection-title-banner h1{font-size:30px!important}}
@media(max-width:360px){html body main#app#app[data-page] .connection-title-banner{padding-right:56px!important}html body main#app#app[data-page] .connection-title-banner .connection-message-bubble{width:55px!important;height:55px!important}html body main#app#app[data-page] .connection-title-banner h1{font-size:27px!important}}
