.rpb-ge-new{display:inline-flex;align-items:center;margin-inline-start:6px;padding:2px 7px;border:1px solid #9accc3;border-radius:999px;background:#e3f4ef;color:#135d59;font:600 12px/1.5 "Open Sans",system-ui,sans-serif;white-space:nowrap;vertical-align:middle}
#rpb-ge .ge-companion{left:auto;right:16px;bottom:20px;max-width:calc(100vw - 32px)}
#rpb-ge .ge-companion[data-collision=true]{visibility:hidden}
#rpb-ge .ge-launch-professional{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;padding:8px;min-width:78px}
#rpb-ge .ge-launch-professional .ge-avatar{display:block;width:54px;height:54px;overflow:hidden;position:relative;border-radius:50%;background:#edf7f3;margin:0}
#rpb-ge .ge-face-figure{position:absolute;width:72px;height:108px;left:-9px;top:-1px;display:block;overflow:hidden}
#rpb-ge .ge-face-figure>img{position:static;width:72px;height:108px;object-fit:contain;display:block}
#rpb-ge .ge-face-figure.ge-small-gesture{transform-origin:50% 95%;animation:ge-greet 1s ease-out both}
#rpb-ge .ge-face-figure.ge-atlas-active{top:-65px;transform-origin:50% 0;transform:scale(2.2)}
#rpb-ge .ge-face-figure.ge-atlas-active.ge-small-gesture{animation:ge-face-greet 1s ease-out both}
@keyframes ge-face-greet{0%,100%{transform:scale(2.2)}35%{transform:translateY(-2px) rotate(-1deg) scale(2.2)}70%{transform:translateY(-1px) rotate(.5deg) scale(2.2)}}
#rpb-ge .ge-face-figure.ge-atlas-active>img{visibility:hidden}
#rpb-ge .ge-tutorial{padding:8px 22px;border-bottom:1px solid #d5ded5;flex:none;max-height:170px;overflow:auto;font-size:14px}
#rpb-ge .ge-tutorial-step p{margin:8px 0}#rpb-ge .ge-tutorial-step button{font-size:14px}
@media(max-width:700px){#rpb-ge .ge-tutorial{padding:6px 12px;max-height:120px}#rpb-ge .ge-tutorial button{font-size:13px;min-height:44px}}
@media(max-height:420px){#rpb-ge .ge-tutorial-step{max-height:70px;overflow:auto}}
@media print{.rpb-ge-new{display:none!important}}
/* Account menu item only; the theme owns its label and account disclosure. */
#rpb-account-menu .rpb-ge-classroom-link{display:flex;flex-direction:row;align-items:center;gap:10px;background:#edf5fc;color:#163444}
#rpb-account-menu .rpb-ge-classroom-link:has(.rpb-ge-classroom-face){background:#fff}
#rpb-account-menu .rpb-ge-classroom-link:hover,#rpb-account-menu .rpb-ge-classroom-link:focus-visible{background:#edf5fc;color:#163444}
#rpb-account-menu .rpb-ge-classroom-link .rpb-ge-classroom-face{display:block;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background-color:#edf5fc;background-image:var(--rpb-ge-classroom-image,none);background-repeat:no-repeat;background-size:64px 96px;background-position:center -22px}
#rpb-account-menu .rpb-ge-classroom-link>span:not(.rpb-ge-classroom-face){display:flex;flex-direction:column;gap:1px;min-width:0}
#rpb-account-menu .rpb-ge-classroom-link strong{color:#163444}
#rpb-account-menu .rpb-ge-classroom-link small{color:#4f6678}

/* Larger writing area; keep existing autosize and normal notebook scrolling. */
#rpb-ge .ge-notebook textarea[name="note"]{min-height:clamp(220px,calc(100dvh - 650px),640px)}
@media(max-width:700px){
 #rpb-ge .ge-notebook textarea[name="note"]{min-height:clamp(220px,40dvh,360px)}
}
/* Spacious classroom proportions and local typography, independent of theme headings. */
#rpb-ge .ge-header h2,#rpb-ge .ge-notebook h3{font-family:inherit;line-height:1.5}
#rpb-ge .ge-notebook textarea[name="note"]{font-size:16px;line-height:1.65}
@media(min-width:701px){
 #rpb-ge .ge-dialog{width:min(1760px,96vw)}
 #rpb-ge .ge-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
 #rpb-ge .ge-header h2,#rpb-ge .ge-notebook h3{font-size:22px}
 #rpb-ge .ge-notebook label{font-size:16px}
}

