/* Same pen icon, touch target and drawer pattern as the video classroom. */
.floating-notes-fab,.classroom-player .classroom-floating-note{box-sizing:border-box;width:56px;min-width:56px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px;border:1px solid #ffffff40!important;border-radius:16px;background:#20252cee!important;color:#fff!important;font:inherit;font-size:11px!important;line-height:1.3;box-shadow:0 5px 18px #19375224;cursor:pointer}
.floating-notes-fab svg,.classroom-player .classroom-floating-note svg{width:24px;height:24px;flex:none}
.floating-notes-fab{position:fixed;z-index:35;right:28px;bottom:34px}
.floating-notes-fab:hover{background:#343e4a!important}.floating-notes-fab:focus-visible,.floating-notes-panel button:focus-visible{outline:3px solid #3d87ec;outline-offset:3px}
body.floating-notes-open .floating-notes-fab{visibility:hidden}
.floating-notes-panel{position:fixed;z-index:45;top:86px;right:20px;bottom:20px;width:380px;max-width:calc(100vw - 32px);border:1px solid #dae5f0;border-radius:20px;box-shadow:0 14px 48px #1c355b29;box-sizing:border-box;font:16px/1.5 system-ui;color:#243c55}
.floating-notes-panel *{box-sizing:border-box}.floating-notes-panel button{font:inherit;border:0;cursor:pointer;min-width:44px;min-height:44px}
.floating-notes-close{display:grid;place-items:center;width:44px;height:44px;padding:10px}.floating-notes-close svg{width:22px;height:22px}
.floating-notes-panel .classroom-drawer-header{min-height:62px}.floating-notes-panel .classroom-composer{padding:12px 16px 16px}.floating-notes-panel textarea{min-height:96px;max-height:25dvh;resize:vertical}.floating-notes-source{font-size:12px;color:#61788f;margin:0 0 8px;overflow-wrap:anywhere}.floating-notes-panel .classroom-submit{min-height:44px;border-radius:9px;background:#1768e8;color:#fff;padding:8px 16px;font-size:14px}.floating-notes-panel .classroom-entry-list p{white-space:pre-wrap}.floating-notes-panel .classroom-entry-date{display:block;overflow-wrap:anywhere}.floating-notes-panel textarea:focus-visible{outline:2px solid #2670e8;outline-offset:2px}
body[data-surface=mini] .floating-notes-fab{right:max(16px,calc((100vw - 430px)/2 + 16px));bottom:max(90px,calc(env(safe-area-inset-bottom) + 82px))}
body[data-surface=mini] .floating-notes-panel{left:50%;right:auto;transform:translateX(-50%);top:auto;bottom:0;width:min(430px,100%);max-width:100%;height:min(560px,64dvh);border-radius:20px 20px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
body[data-surface=mini] .floating-notes-panel .classroom-drawer-header{min-height:56px}body[data-surface=mini] .floating-notes-panel textarea{min-height:76px;resize:none}
@media(orientation:landscape) and (max-height:600px){body[data-surface=mini] .floating-notes-panel{left:auto;right:0;transform:none;top:0;width:min(380px,48vw);height:100dvh;border-radius:0}body[data-surface=mini] .floating-notes-panel .classroom-composer{padding:8px 12px}body[data-surface=mini] .floating-notes-panel textarea{min-height:58px}body[data-surface=mini] .floating-notes-panel .classroom-drawer-header{min-height:48px}}
@media(prefers-reduced-motion:no-preference){.floating-notes-panel{animation:floating-note-in 180ms ease-out}@keyframes floating-note-in{from{opacity:0}to{opacity:1}}}

.classroom-control-row>[data-player-action=fullscreen]{margin-left:auto}
