.teacher-main{padding-bottom:26px}.teacher-privacy{display:flex;justify-content:space-between;gap:24px;align-items:center}.teacher-privacy>span:first-child{max-width:790px}.teacher-privacy .status{font-size:11px;flex-shrink:0;white-space:nowrap}.teacher-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:30px 0 27px}.teacher-toolbar .tool-actions{display:flex;gap:8px}.teacher-toolbar .button{font-size:11px;min-height:38px;padding:8px 13px}.teacher-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 23px}.teacher-section-heading h2{font-size:23px;margin:0 0 6px}.teacher-section-heading p{font-size:12px}.teacher-section-heading>.button{font-size:11px;min-height:37px;padding:7px 13px}.teacher-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;gap:26px}.teacher-editor{display:grid;gap:20px;min-width:0}.teacher-editor .tool-card{padding:25px}.teacher-editor h3{margin:0 0 19px;font-size:17px}.teacher-editor .field{margin-top:17px}.teacher-editor .field label{font-size:12px}.teacher-editor input,.teacher-editor textarea,.teacher-editor select{font-size:12px}.teacher-card-heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.teacher-card-heading h3{margin:0 0 5px}.teacher-card-heading p{font-size:11px}.step-number{font-size:10px;letter-spacing:1px;color:#a28e49;border:1px solid #e8dfc1;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;flex-shrink:0;margin-top:2px}.teacher-preview{position:sticky;top:22px;min-width:0}.teacher-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.teacher-preview-heading h3{font-size:14px;margin-top:4px}.teacher-preview-heading .eyebrow{font-size:10px}.teacher-preview-heading .button{font-size:11px;min-height:36px;padding:7px 12px}.teacher-paper-shell{background:#e7ece3;border:1px solid #dfe6db;border-radius:11px;padding:17px}.teacher-paper{background:#fff;padding:29px 26px;min-height:350px;box-shadow:0 4px 12px #17362606;overflow-wrap:anywhere}.teacher-paper .empty-state{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px 10px;background:transparent;border:0}.teacher-paper .empty-state h3{font-size:17px;margin-bottom:9px}.teacher-paper .empty-state p{font-size:11px;max-width:230px;line-height:1.9}.teacher-paper-header{border-bottom:2px solid #087f6a;padding-bottom:17px;margin-bottom:20px}.teacher-paper-brand{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#75847b;margin-bottom:15px}.teacher-paper-brand strong{font-size:16px;color:#087f6a}.teacher-paper-title{font-size:23px;line-height:1.7;margin:0 0 8px;font-weight:750;color:#182d2b;white-space:pre-wrap}.teacher-paper-meta{display:flex;flex-wrap:wrap;gap:5px 18px;font-size:10px;color:#6e7e73}.teacher-paper-section{margin:20px 0;break-inside:avoid-page}.teacher-paper-section h3{font-size:13px;margin:0 0 9px;color:#087f6a}.teacher-paper-section p{font-size:11px;line-height:2;white-space:pre-wrap;margin:0;color:#263f33}.teacher-paper-goals{padding-right:18px;margin:0;font-size:11px;line-height:2}.teacher-paper-goals li{padding-right:4px;white-space:pre-wrap}.teacher-paper-footer{font-size:9px;color:#94a093;border-top:1px solid #e7ebe3;padding-top:12px;margin-top:28px;display:flex;justify-content:space-between}.teacher-print-help{font-size:10px;line-height:1.9;margin-top:12px;padding-inline:4px}.teacher-question-list{display:grid;gap:18px}.teacher-questions-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.teacher-questions-heading h3{font-size:17px;margin:0 0 6px}.teacher-questions-heading h3 .badge{font-size:10px;vertical-align:middle;margin-right:8px}.teacher-questions-heading p{font-size:11px}.teacher-questions-heading .button{font-size:11px;min-height:37px;padding:7px 13px}.teacher-question-card{border:1px solid #dfe7dc;border-radius:11px;background:#fff;padding:22px}.teacher-question-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.teacher-question-top strong{font-size:12px;color:#087f6a}.teacher-question-controls{display:flex;gap:5px}.teacher-question-controls button{font:inherit;font-size:11px;min-height:30px;min-width:30px;background:#f5f8f2;border:1px solid #e2e9df;border-radius:5px;color:#647568;cursor:pointer;padding:4px 8px}.teacher-question-controls button:last-child{color:#ab4040;background:#fff8f6}.teacher-question-controls button:disabled{opacity:.35;cursor:default}.teacher-choices-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.teacher-choices-editor .field{margin:0}.teacher-choices-editor label{font-size:11px}.teacher-question-card .field{margin-top:17px}.teacher-question-card .field label{font-size:12px}.teacher-question-card .field>p{font-size:10px;margin:7px 0 0}.teacher-choice-answer{max-width:100%}.teacher-question-card textarea,.teacher-question-card input,.teacher-question-card select{font-size:12px}.answer-key-option{display:flex;align-items:flex-start;gap:9px;font-size:11px;padding:13px;background:#edf4e9;border:1px solid #dae5d3;border-radius:8px;color:#385645;cursor:pointer;line-height:1.8}.answer-key-option input{width:16px;height:16px;accent-color:#087f6a;margin:2px 0 0;flex-shrink:0}.teacher-answer-help{font-size:10px;margin:8px 3px 16px;line-height:1.9}.answer-key-shell{margin-top:19px}.teacher-worksheet-instructions{font-size:11px;white-space:pre-wrap;line-height:1.9;margin:16px 0 20px;color:#60745f}.teacher-student-line{display:flex;justify-content:space-between;gap:15px;font-size:10px;margin:20px 0 24px;white-space:nowrap}.teacher-student-line span:first-child{flex:1}.teacher-paper-question{margin:22px 0;break-inside:avoid-page}.teacher-paper-question h3{font-size:12px;line-height:1.9;white-space:pre-wrap;margin:0 0 13px;color:#182d2b;display:flex;gap:7px;align-items:flex-start}.teacher-paper-question h3 span{flex-shrink:0;color:#087f6a}.teacher-print-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;font-size:11px}.teacher-print-choice{display:flex;gap:8px;align-items:flex-start;white-space:pre-wrap;line-height:1.9}.teacher-print-choice>span:first-child{color:#687b6a;flex-shrink:0}.teacher-answer-lines{display:grid;gap:20px;margin-top:25px}.teacher-answer-lines span{height:1px;border-bottom:1px solid #dbe2d6;display:block}.teacher-key-answer{font-size:11px;line-height:2;white-space:pre-wrap;border-right:2px solid #ceddcc;padding-right:11px}.teacher-key-answer .muted{font-style:italic}.teacher-feedback{font-size:12px;margin-bottom:23px}.teacher-feedback.error{background:#fff2ed;border-color:#ecd2c7;color:#a54431}.teacher-footer{display:flex;justify-content:space-between;gap:15px;color:#849280;font-size:10px;margin-top:45px;padding-top:22px;border-top:1px solid #dde5d7}.teacher-print-area{display:none}#teacher-confirm{width:min(440px,calc(100% - 35px));padding:27px;border:1px solid #dfe8d9;border-radius:12px;color:#182d2b;background:#fff;box-shadow:0 15px 65px #17312630}#teacher-confirm::backdrop{background:#182d2b55}#teacher-confirm h2{font-size:20px;margin:0 0 12px}#teacher-confirm p{font-size:12px;line-height:2;color:#6b7a67;margin-bottom:23px}#teacher-confirm .tool-actions{display:flex;justify-content:flex-end;gap:9px}
[hidden]{display:none!important}.teacher-paper>.teacher-paper{padding:0;min-height:0;box-shadow:none}.teacher-paper-question h3 span.teacher-question-text{flex-shrink:1;color:inherit;min-width:0}.teacher-question-list>.empty-state{padding:35px 25px;text-align:center;border:1px dashed #cedcca;border-radius:10px}.teacher-question-list>.empty-state h3{font-size:17px;margin-bottom:10px}.teacher-question-list>.empty-state p{font-size:11px;line-height:1.9}
@media(max-width:1050px){.teacher-workspace{gap:20px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.teacher-editor .tool-card{padding:21px}.teacher-paper{padding:25px 20px}.teacher-paper-shell{padding:13px}.teacher-preview-heading{gap:10px}.teacher-preview-heading h3{font-size:12px}.teacher-preview-heading .button{font-size:10px;padding:7px 10px}.teacher-privacy{gap:20px;align-items:flex-start;flex-direction:column}.teacher-toolbar{align-items:flex-start;gap:15px}.teacher-toolbar .tool-actions{flex-wrap:wrap;justify-content:flex-end}.teacher-toolbar .button{font-size:10px}}
@media(max-width:800px){.teacher-workspace{grid-template-columns:1fr;gap:30px}.teacher-preview{position:static}.teacher-paper-shell{max-width:620px;margin-inline:auto}.teacher-paper{padding:31px;min-height:390px}.teacher-preview-heading h3{font-size:15px}.teacher-preview-heading .button{font-size:11px}.teacher-toolbar{flex-direction:column;align-items:stretch;margin:24px 0}.teacher-toolbar .tool-actions{justify-content:flex-start}.teacher-toolbar .tool-tabs{width:100%}.teacher-toolbar .tool-tabs>button{flex:1}.teacher-section-heading h2{font-size:21px}.teacher-section-heading>button{font-size:10px}.teacher-section-heading p{font-size:11px}.teacher-privacy{gap:12px}.teacher-privacy .status{font-size:10px}.teacher-footer span{display:none}.teacher-question-card{padding:20px}.teacher-answer-help{margin-bottom:15px}}
@media(max-width:450px){.teacher-editor .tool-card{padding:20px 17px}.teacher-section-heading{gap:12px}.teacher-section-heading h2{font-size:19px}.teacher-section-heading>.button{min-height:34px;padding:6px 9px;white-space:nowrap}.teacher-editor .field-grid{grid-template-columns:1fr}.teacher-paper{padding:24px 19px}.teacher-paper-shell{padding:11px}.teacher-paper-title{font-size:21px}.teacher-question-card{padding:18px 15px}.teacher-choices-editor{grid-template-columns:1fr}.teacher-questions-heading h3{font-size:15px}.teacher-questions-heading h3 .badge{margin-right:3px}.teacher-questions-heading .button{font-size:10px;padding:6px 10px}.teacher-questions-heading p{font-size:10px}.teacher-question-top{gap:8px}.teacher-question-controls{gap:4px}.teacher-question-controls button{font-size:10px;padding:4px 6px;min-width:28px}.teacher-print-choices{grid-template-columns:1fr}.teacher-student-line{font-size:9px}.teacher-toolbar .button{font-size:10px;padding:7px 10px}.teacher-preview-heading h3{font-size:13px}.teacher-preview-heading .button{font-size:10px}}
@page{size:A4;margin:17mm 15mm}
@media print{html,body{background:#fff!important;color:#111!important;padding:0!important;margin:0!important;min-width:0!important}body>*{display:none!important}.teacher-print-area{display:block!important;direction:rtl;font-family:Cairo,Arial,sans-serif}.teacher-print-area .teacher-paper{box-shadow:none!important;padding:0!important;min-height:0!important;background:#fff!important;overflow:visible!important;max-width:none!important}.teacher-print-area .teacher-paper-header{margin-bottom:7mm;padding-bottom:5mm;border-bottom:1.2pt solid #333}.teacher-print-area .teacher-paper-title{font-size:21pt;line-height:1.6}.teacher-print-area .teacher-paper-brand{font-size:9pt}.teacher-print-area .teacher-paper-brand strong{font-size:14pt;color:#111}.teacher-print-area .teacher-paper-meta{font-size:10pt;color:#333;gap:3mm 9mm}.teacher-print-area .teacher-paper-section{break-inside:auto;margin:7mm 0}.teacher-print-area .teacher-paper-section h3{font-size:12pt;color:#111;break-after:avoid-page}.teacher-print-area .teacher-paper-section p,.teacher-print-area .teacher-paper-goals{font-size:11pt;line-height:1.85;color:#111;orphans:3;widows:3}.teacher-print-area .teacher-paper-question{break-inside:avoid-page;margin:8mm 0}.teacher-print-area .teacher-paper-question h3{font-size:11pt;line-height:1.85;color:#111;break-after:avoid-page}.teacher-print-area .teacher-paper-question h3 span{color:#111}.teacher-print-area .teacher-print-choices{font-size:10.5pt;grid-template-columns:1fr 1fr;gap:3mm 8mm}.teacher-print-area .teacher-worksheet-instructions{font-size:10pt;color:#333;margin:5mm 0}.teacher-print-area .teacher-student-line{font-size:10pt;margin:6mm 0 8mm}.teacher-print-area .teacher-answer-lines{gap:7mm;margin-top:8mm}.teacher-print-area .teacher-answer-lines span{border-bottom:.5pt solid #aaa}.teacher-print-area .teacher-key-answer{font-size:11pt;line-height:1.85;color:#111}.teacher-print-area .teacher-answer-key-page{break-before:page;page-break-before:always}.teacher-print-area .teacher-paper-footer{font-size:8pt;color:#555;margin-top:10mm}.teacher-print-area .teacher-print-choice,.teacher-print-area .teacher-key-answer{overflow-wrap:anywhere}.teacher-print-area .teacher-paper-question.long-question{break-inside:auto}.teacher-print-area .empty-state{display:none}}
