#memoryForm.lab-input-panel{--li-ink:#213b4d;--li-muted:#6c8090;--li-border:#d9e3e9;padding:0;gap:0;display:flex;flex-direction:column;min-width:0;border:1px solid #d1dfe7;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 30px #172b3c0a;scroll-margin-top:110px;color:var(--li-ink)}
#memoryForm .lab-input-heading{display:flex;align-items:start;justify-content:space-between;gap:22px;padding:29px 28px;background:radial-gradient(ellipse at top right,#42625670,transparent 80%),#112e41;color:#f2f5f7}
#memoryForm .lab-input-eyebrow{font-size:9px;font-weight:750;letter-spacing:1.8px;color:#dfc38d;margin:0 0 13px}
#memoryForm #labInputTitle{font-size:29px;line-height:1.2;letter-spacing:-.6px;color:#f4f5ef;margin:0 0 12px;font-weight:650;display:block}
#memoryForm #labInputTitle::before,#memoryForm #labInputTitle .icon-3d-badge{display:none}
#memoryForm .lab-input-heading .note{font-size:13px;line-height:1.8;color:#b8ccd7;margin:0;max-width:650px}
#memoryForm .lab-input-mark{flex:none;display:grid;place-items:center;width:39px;height:39px;border:1px solid #a59266;border-radius:50%;color:#e2c182;font-size:24px}
#memoryForm .lab-composer{margin:25px 26px 0;border:1px solid #c8d6df;border-radius:11px;background:#fcfdfd;overflow:hidden;transition:border-color .15s,box-shadow .15s}
#memoryForm .lab-composer:focus-within{border-color:#5e8ca2;box-shadow:0 0 0 3px #4483a019}
#memoryForm .lab-composer-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px 8px}
#memoryForm .lab-composer-top label{font-size:12px;color:#38566a;margin:0;font-weight:700}
#memoryForm .lab-composer-top>span{font-size:8px;color:#8296a4;letter-spacing:1.4px;text-align:right}
#memoryForm textarea#questionInput{display:block;background:transparent;border:0;border-radius:0;box-shadow:none;outline:none;width:100%;min-height:215px;height:235px;max-height:640px;resize:vertical;padding:12px 18px;font:15px/1.85 system-ui,sans-serif;color:#243c4e;margin:0}
#memoryForm textarea#questionInput::placeholder{color:#8495a2;opacity:1}
#memoryForm .lab-composer-footer{display:flex;justify-content:space-between;gap:15px;padding:13px 18px;border-top:1px solid #edf1f4;font-size:10px;color:#8294a1;background:#f7fafb;line-height:1.6}
#memoryForm #labInputCount{white-space:nowrap;font-variant-numeric:tabular-nums}
#memoryForm #labInputCount.near-limit{color:#9a682c;font-weight:700}
#memoryForm button{font-size:12px;font-weight:600;border-radius:7px;min-height:39px;padding:9px 13px;line-height:1.5;box-shadow:none;letter-spacing:normal;transition:background .15s}
#memoryForm button:hover{transform:none}
#memoryForm .lab-prompt-starters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:16px 26px 0}
#memoryForm .lab-prompt-starters>span{font-size:8px;letter-spacing:1.3px;color:#889aa7;margin-right:3px}
#memoryForm .lab-prompt-starters button{font-size:10px;min-height:30px;padding:5px 10px;border:1px solid #dce5eb;border-radius:20px;background:#f5f8fa;color:#536e80}
#memoryForm .lab-prompt-starters button:hover{background:#e9f0f4;border-color:#abc2d0}
#memoryForm #labPrimaryActions{padding:20px 26px 0}
#memoryForm .lab-primary-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#memoryForm .lab-primary-actions button{background:#f3f6f8;border:1px solid #d7e2e9;color:#385b71}
#memoryForm .lab-primary-actions #answerBtn{background:#1c4b64;border-color:#1c4b64;color:white}
#memoryForm .lab-primary-actions #answerBtn:hover{background:#2b627d}
#memoryForm .lab-primary-actions button[type=submit]{background:#f8f0df;border-color:#e8d5aa;color:#80602a}
#memoryForm .lab-shortcut{font-size:10px;line-height:1.7;color:#8395a2;margin:12px 0 0}
#memoryForm .lab-attachment{margin:23px 26px 19px;border:1px dashed #c6d6e0;border-radius:10px;background:#f6f9fb;padding:18px}
#memoryForm .lab-attachment>label{color:#37576d;font-size:12px;font-weight:650;margin:0 0 7px}
#memoryForm .lab-file-hint{color:#8494a0;font-size:11px;line-height:1.7;margin:0 0 13px}
#memoryForm #memoryFile{background:transparent;border:0;padding:0;width:100%;font-size:11px;color:#738a99;min-width:0;box-shadow:none}
#memoryForm #memoryFile::file-selector-button{background:#fff;border:1px solid #cbdce5;border-radius:6px;padding:8px 12px;color:#345c74;font:600 11px system-ui;margin-right:12px;cursor:pointer}
#memoryForm .lab-file-selection{font-size:11px;color:#40745c;line-height:1.7;overflow-wrap:anywhere;margin:9px 0 0}
#memoryForm .lab-file-selection:empty{display:none}
#memoryForm .lab-tool-group{margin:0 26px;border:0;border-top:1px solid #e1e8ed;border-radius:0;padding:0;background:#fff}
#memoryForm .lab-tool-group>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 24px 19px 0;cursor:pointer;list-style:none;font-size:12px;font-weight:650;color:#36576c;line-height:1.6}
#memoryForm .lab-tool-group>summary::-webkit-details-marker{display:none}
#memoryForm .lab-tool-group>summary::after{position:absolute;right:2px;content:'+';color:#7c94a3;font-size:20px;font-weight:400}
#memoryForm .lab-tool-group[open]>summary::after{content:'−'}
#memoryForm .lab-tool-group>summary small{color:#91a1ad;font-size:10px;font-weight:400;text-align:right}
#memoryForm .lab-tool-body{padding:0 0 20px}
#memoryForm .lab-tool-body>label{font-size:11px;color:#6b8292;margin:0 0 8px;font-weight:600}
#memoryForm .lab-tool-body select,#memoryForm .lab-tool-body input[type=number]{border:1px solid #ccdbe4;border-radius:7px;background:#f9fbfc;font-size:12px;color:#34546a;min-height:40px;padding:10px;max-width:100%}
#memoryForm .field-row{gap:7px;padding-top:14px}
#memoryForm .field-row label{display:flex;align-items:center;gap:7px;margin:0;background:#f4f7f9;border:1px solid #e2e9ee;border-radius:6px;padding:8px;font-size:10px;font-weight:500;color:#5f7788;line-height:1.4}
#memoryForm .field-row label:has(input:checked){background:#edf4ef;border-color:#c8dfd2;color:#43725b}
#memoryForm .field-row input{accent-color:#3f7861;width:13px;height:13px;flex:none}
#memoryForm .teacher-controls{background:#f4f7f9;padding:15px;border-radius:8px;gap:12px;border:1px solid #e0e8ed;margin:0}
#memoryForm .teacher-controls label{color:#637e90;font-size:11px;font-weight:600}
#memoryForm .teacher-controls button{background:#295b73;color:#fff}
#memoryForm .teacher-controls button.secondary{background:#fff;color:#42667c;border-color:#cddce5}
#memoryForm .teacher-session{color:#7b91a0;font-size:11px}
#memoryForm .lab-language-settings .action-row{margin-top:14px;gap:8px}
#memoryForm .lab-language-settings button{font-size:10px;color:#526f82;border-color:#d4e1e9;background:#f7fafb}
#memoryForm #statusLine{padding:16px 26px;margin:0;background:#f0f5f7;border-top:1px solid #dce6ec;font-size:11px;line-height:1.8;color:#4c7287;min-height:52px}
#memoryForm :is(button,summary,input,select):focus-visible{outline:3px solid #b9924e;outline-offset:3px}
@media(max-width:650px){#memoryForm .lab-input-heading{padding:25px 20px;gap:12px}#memoryForm #labInputTitle{font-size:25px}#memoryForm .lab-composer{margin:20px 18px 0}#memoryForm .lab-composer-top>span{display:none}#memoryForm .lab-composer-footer{font-size:9px;padding:11px 14px}#memoryForm .lab-prompt-starters{padding:14px 18px 0}#memoryForm #labPrimaryActions{padding:18px 18px 0}#memoryForm .lab-attachment{margin:20px 18px 17px;padding:15px}#memoryForm .lab-tool-group{margin:0 18px}#memoryForm .lab-tool-group>summary{align-items:start;flex-direction:column;gap:3px;padding:16px 22px 16px 0}#memoryForm .lab-tool-group>summary small{text-align:left}#memoryForm .lab-primary-actions{display:grid;grid-template-columns:1fr 1fr}#memoryForm #statusLine{padding:15px 18px}#memoryForm.lab-input-panel{scroll-margin-top:295px}#memoryForm .lab-input-mark{width:32px;height:32px;font-size:19px}}
@media(prefers-reduced-motion:reduce){#memoryForm button,#memoryForm .lab-composer{transition:none}}
