.homework-editor-field{min-width:0;display:flex;flex-direction:column;gap:10px;font-size:16px}.homework-editor-heading,.homework-editor-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.homework-editor-actions button,.homework-template-picker summary{font-size:14px}.homework-editor-frame{border:1px solid #c8d8eb;border-radius:16px;overflow:hidden;background:#fff}.homework-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:9px;border-bottom:1px solid #dbe5f2;background:#f3f7fc}.homework-editor-toolbar button{padding:6px 10px;font-size:14px;min-height:34px}.homework-editor{min-height:180px;max-height:450px;overflow:auto;padding:16px;outline:none;line-height:1.6;overflow-wrap:anywhere}.homework-editor:focus{box-shadow:inset 0 0 0 2px #729bd0}.homework-editor:empty:before{content:attr(data-placeholder);color:#647895;pointer-events:none}.homework-editor p,.homework-instruction p{margin:0 0 12px}.homework-editor blockquote,.homework-instruction blockquote{margin:12px 0;padding:12px 16px;border-left:3px solid #a2cf00;border-radius:10px;background:#f2f9d9;color:#223044}.homework-editor blockquote p:last-child,.homework-instruction blockquote p:last-child{margin-bottom:0}.homework-editor-count{text-align:right;color:#506889;font-size:14px}.homework-editor-count.is-over{color:#b22237}.homework-editor-message:empty{display:none}.homework-editor-message{font-size:14px;margin:0}.homework-editor-actions{width:100%;justify-content:flex-start;align-items:flex-start}.homework-template-picker{position:relative;min-width:0;max-width:100%}.homework-template-picker[open]{flex-basis:100%}.homework-template-picker summary{width:fit-content;max-width:100%;box-sizing:border-box}.homework-template-picker summary{list-style:none;cursor:pointer}.homework-template-picker[open] summary{background:#eff9c6;color:#17283f}.homework-template-list{position:static;box-sizing:border-box;width:100%;margin-top:8px;max-height:340px;overflow:auto;padding:12px;background:#fff;border:1px solid #cad8ea;border-radius:16px;box-shadow:0 10px 30px #20324a26}.homework-template-item{padding:10px 4px;border-bottom:1px solid #e2eaf3}.homework-template-item>strong{display:block;margin-bottom:8px;overflow-wrap:anywhere}.homework-template-item .row{display:flex;gap:6px;flex-wrap:wrap}.homework-template-item button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.homework-template-item button{font-size:13px!important;padding:6px 9px!important}.homework-template-delete{color:#ae2639}.homework-template-save{display:flex;flex-wrap:wrap;gap:8px}.homework-template-save[hidden]{display:none}.homework-template-save input{flex:1;min-width:180px}.homework-preview{font-size:14px}.homework-preview summary{cursor:pointer;padding:8px 0;color:#456c9c}.homework-preview-chat{background:#deebf8;border-radius:16px;padding:14px}.homework-preview-message{border-radius:16px;background:white;overflow:hidden}.homework-preview-message>img{width:100%;max-height:140px;object-fit:cover;display:block}.homework-preview-title{display:block;padding:14px 16px 0;font-size:18px}.homework-preview-message>p,.homework-preview-message>.homework-instruction{padding:0 16px}.homework-preview-link{margin-top:6px;border-radius:10px;background:white;text-align:center;padding:10px;color:#206fc2;font-weight:700}.homework-plain{white-space:pre-wrap;overflow-wrap:anywhere}.homework-instruction{font-size:16px;line-height:1.6;overflow-wrap:anywhere}.homework-instruction .lesson-rich{font-size:inherit}.pupil-quick-card{position:fixed;z-index:1500;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto;background:#f9fcff;border:1px solid #cad9ec;border-radius:24px;box-shadow:0 16px 55px #20395536;padding:24px;color:#192b42;font-family:Manrope,Arial,sans-serif;font-size:16px}.pupil-quick-close{position:absolute;right:12px;top:12px;width:36px;height:36px;padding:0!important;border-radius:50%;font-size:23px!important}.pupil-quick-head{display:flex;gap:14px;align-items:center;padding-right:25px;margin-bottom:20px}.pupil-quick-head h2{font-size:26px;margin:0}.pupil-quick-head p{margin:4px 0;font-size:14px;overflow-wrap:anywhere}.pupil-quick-avatar{display:grid;place-items:center;flex:none;width:58px;height:58px;background:#dfeafa;border-radius:50%;font-size:28px;font-weight:700}.pupil-quick-connected{color:#34732b;font-size:14px}.pupil-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pupil-quick-actions button{font-size:15px;min-height:44px;padding:9px}.pupil-quick-card h3{font-size:19px;margin:0 0 10px}.pupil-quick-card section{border-top:1px solid #d8e3f1;padding-top:16px;margin-top:18px}.pupil-quick-card p{line-height:1.5}.pupil-quick-job{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#edf4fc;border-radius:12px;padding:12px;margin-bottom:8px}.pupil-quick-job>div{min-width:0}.pupil-quick-job strong{display:block;overflow-wrap:anywhere}.pupil-quick-job small{display:block;font-size:14px;margin-top:4px}.pupil-quick-job button{flex:none;font-size:13px;padding:7px 9px}.pupil-quick-full{margin-top:18px;width:100%;font-weight:700}.pupil-quick-edit{margin-top:10px;width:100%}.airy-feed-person.pupil-quick-trigger{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;text-align:left!important;color:inherit!important;font:inherit!important;cursor:pointer}.pupil-quick-trigger:hover{text-decoration:underline}.pupil-quick-trigger:focus-visible{outline:2px solid #7198c9;outline-offset:4px}
html[data-theme=dark] :is(.homework-editor-frame,.homework-template-list,.homework-preview-message,.homework-preview-link,.pupil-quick-card){background:#202d40!important;color:#e7eef8!important;border-color:#50647e!important}html[data-theme=dark] :is(.homework-editor-toolbar,.homework-preview-chat,.pupil-quick-job,.pupil-quick-avatar){background:#2c3e56!important;color:#e7eef8!important}html[data-theme=dark] :is(.homework-editor,.homework-instruction) blockquote{background:#34432e!important;color:#edf4e9!important}html[data-theme=dark] :is(.homework-editor-count,.homework-editor-message,.homework-preview summary){color:#b5c9e4}html[data-theme=dark] .pupil-quick-connected{color:#b9e688}html[data-theme=dark] .pupil-quick-card section{border-color:#50647e}.pupil-quick-schedule [hidden]{display:none!important}
@media(max-width:540px){.homework-editor-actions{width:100%;justify-content:flex-start}.homework-template-list{left:0;right:auto}.pupil-quick-card{padding:20px 16px;border-radius:18px}.pupil-quick-actions{gap:8px}.pupil-quick-job{flex-wrap:wrap}.homework-editor-toolbar button{font-size:13px}}

