.site-text-launcher{position:fixed!important;right:max(20px,env(safe-area-inset-right));bottom:calc(84px + env(safe-area-inset-bottom));z-index:92;min-height:38px;padding:8px 13px;border:1px solid #9c8bc2;border-radius:999px;background:#fff;color:#352657;font:600 12px/1.2 inherit;box-shadow:0 5px 18px #28204724;cursor:pointer}
.site-text-launcher[hidden],.site-text-panel[hidden]{display:none!important}
.site-text-launcher[aria-pressed="true"]{background:#594496;color:#fff}
.site-text-panel{position:fixed;right:20px;bottom:calc(138px + env(safe-area-inset-bottom));z-index:93;box-sizing:border-box;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - 158px);overflow:auto;padding:18px;border:1px solid #d7cee8;border-radius:18px;background:#fff;color:#2d2540;box-shadow:0 18px 58px #20193545;font:13px/1.55 system-ui,-apple-system,sans-serif}
.site-text-panel *{box-sizing:border-box}.site-text-panel button{cursor:pointer;font:inherit}.ste-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ste-head strong{font-size:16px}.ste-head button{width:30px;height:30px;border:0;border-radius:9px;background:#f0edf8;color:#352657;font-size:23px;line-height:1}.site-text-panel p{margin:8px 0 12px;color:#625a72}.site-text-panel label{display:block;margin:10px 0 5px;font-weight:700}.ste-original{max-height:95px;overflow:auto;padding:9px 11px;border-radius:9px;background:#f4f1f8;white-space:pre-wrap;overflow-wrap:anywhere}.site-text-panel textarea{display:block;width:100%;min-height:92px;resize:vertical;padding:10px;border:1px solid #bbb1d0;border-radius:10px;background:#fff;color:#231f30;font:14px/1.5 inherit}.ste-actions{display:flex;gap:8px;margin-top:12px}.ste-actions button{min-height:36px;padding:7px 12px;border:1px solid #cfc7e0;border-radius:9px;background:#fff;color:#4b3b6c}.ste-actions button:first-child{background:#55428f;color:#fff;border-color:#55428f}.ste-actions button:disabled{opacity:.5;cursor:default}#steStatus{min-height:18px;margin-bottom:0!important}.ste-hover{outline:2px dashed #8669db!important;outline-offset:3px!important;cursor:crosshair!important}.site-text-permission{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:var(--text,#30304a)}.site-text-permission input{accent-color:#6650a4}.site-text-panel :focus-visible,.site-text-launcher:focus-visible{outline:3px solid #aa8dec;outline-offset:2px}
@media(max-width:640px){.site-text-launcher{right:max(12px,env(safe-area-inset-right));left:auto;bottom:calc(72px + env(safe-area-inset-bottom));padding:8px 10px}.site-text-panel{right:12px;bottom:calc(122px + env(safe-area-inset-bottom));max-height:calc(100dvh - 142px);width:calc(100vw - 24px)}}
.site-text-launcher{font-family:inherit;font-size:12px;font-weight:600;line-height:1.2}
.site-text-panel textarea{font-family:inherit;font-size:14px;line-height:1.5}
html:has(.student-tools[open]) .site-text-launcher{visibility:hidden;pointer-events:none}
