.test-config-container{min-height:100vh;background-color:#f9fafb;padding:calc(64px + 2rem) 0 2rem}.test-config-wrapper{max-width:64rem;margin:0 auto;padding:0 1rem}.test-config-card{background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);padding:1.5rem}.test-header{text-align:center;margin-bottom:2rem}.test-title{font-size:1.875rem;font-weight:700;color:#111827;margin-bottom:.5rem}.test-description{color:#6b7280;margin-bottom:1rem;line-height:1.6}.test-info-badges{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}.test-info-badge{display:inline-flex;align-items:center;background-color:#dbeafe;color:#1e40af;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:500}.test-icon{width:1.25rem;height:1.25rem;margin-right:.5rem}.modes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:2rem;gap:2rem;margin-bottom:2rem}.mode-card{border:2px solid;border-radius:.5rem;padding:1.5rem;cursor:pointer;transition:all .3s ease}.mode-unselected{border-color:#e5e7eb;background-color:white}.mode-unselected:hover{border-color:#d1d5db;box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.mode-selected-study{border-color:#10b981;background-color:#ecfdf5}.mode-selected-exam{border-color:#3b82f6;background-color:#eff6ff}.mode-header{display:flex;align-items:center;margin-bottom:1rem}.mode-indicator{width:1rem;height:1rem;border-radius:50%;margin-right:.75rem;flex-shrink:0}.indicator-inactive{background-color:#9ca3af}.indicator-study{background-color:#10b981}.indicator-exam{background-color:#3b82f6}.mode-title{font-size:1.25rem;font-weight:600;color:#111827}.mode-features{list-style:none;padding:0;margin:0}.feature-item{display:flex;align-items:center;margin-bottom:.5rem;color:#6b7280;font-size:.875rem}.feature-icon-study{color:#10b981}.feature-icon-exam,.feature-icon-study{width:1rem;height:1rem;margin-right:.5rem;flex-shrink:0}.feature-icon-exam{color:#3b82f6}.study-config-section{margin-top:1.25rem;padding:1rem 1.5rem;background-color:#f0fdf4;border-radius:.5rem;border:1px solid #bbf7d0}.study-config-row{display:flex;align-items:center;gap:.5rem}.auto-advance-info{position:relative;display:flex;align-items:center}.info-icon{width:1.1rem;height:1.1rem;color:#6b7280;cursor:pointer;flex-shrink:0}.auto-advance-tooltip{display:none;position:absolute;left:1.5rem;top:50%;transform:translateY(-50%);background:#1f2937;color:white;font-size:.8rem;line-height:1.4;padding:.5rem .75rem;border-radius:.4rem;width:260px;z-index:10;pointer-events:none;box-shadow:0 4px 12px rgba(0,0,0,.15)}.auto-advance-info:hover .auto-advance-tooltip{display:block}.exam-config-section{margin-top:2rem;padding:1.5rem;background-color:#eff6ff;border-radius:.5rem;border:1px solid #bfdbfe}.exam-config-title{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:#111827}.exam-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1rem;gap:1rem}.config-field{display:flex;flex-direction:column}.config-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.config-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;transition:all .2s ease}.config-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.config-input::placeholder{color:#9ca3af}.start-section{margin-top:2rem;text-align:center}.start-button{background-color:#3b82f6;color:white;padding:.75rem 2rem;border:none;border-radius:.5rem;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 14px 0 rgba(59,130,246,.39)}.start-button:hover{background-color:#2563eb;transform:translateY(-1px);box-shadow:0 6px 20px 0 rgba(59,130,246,.5)}.start-button:active{transform:translateY(0)}.share-actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.share-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:42px;padding:.625rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;background:#ffffff;color:#374151;font-size:.875rem;font-weight:600;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease,transform .2s ease}.share-button svg{width:1.125rem;height:1.125rem;stroke-width:2;flex-shrink:0}.share-button:hover{border-color:#9ca3af;background:#f9fafb;color:#111827;transform:translateY(-1px)}.share-button-exam{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.share-button-exam:hover{border-color:#60a5fa;background:#dbeafe;color:#1e40af}.share-feedback{min-height:1.25rem;margin-top:.5rem;color:#4b5563;font-size:.8125rem;font-weight:500;opacity:0;transition:opacity .2s ease}.share-feedback-visible{opacity:1}.content-section{margin-top:2rem;background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);overflow:hidden}.content-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:white;border-bottom:1px solid #e5e7eb}.content-toggle{display:flex;align-items:center;background:none;border:none;font-size:1.125rem;font-weight:600;color:#111827;cursor:pointer;transition:color .2s ease}.content-toggle:hover{color:#3b82f6}.content-toggle span{margin-right:.5rem}.content-arrow{width:1.25rem;height:1.25rem;transition:transform .3s ease}.content-arrow-open{transform:rotate(180deg)}.show-answers-toggle,.toggle-label{display:flex;align-items:center}.toggle-label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-checkbox{display:none}.toggle-slider{position:relative;width:3rem;height:1.5rem;background-color:#d1d5db;border-radius:9999px;transition:background-color .3s ease;margin-right:.75rem}.toggle-slider:before{content:"";position:absolute;top:2px;left:2px;width:1.25rem;height:1.25rem;background-color:white;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px rgba(0,0,0,.1)}.toggle-checkbox:checked+.toggle-slider{background-color:#10b981}.toggle-checkbox:checked+.toggle-slider:before{transform:translateX(1.5rem)}.toggle-text{font-size:.875rem;font-weight:500;color:#374151}.content-body{padding:1.5rem;background-color:white}.questions-list{display:flex;flex-direction:column;gap:1.5rem}.question-item{padding:1.5rem;border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fafafa}.content-explanation{margin-top:1rem;padding:.875rem 1rem;color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem}.content-explanation strong{display:block;margin-bottom:.35rem;font-size:.8rem}.content-explanation p{margin:0;color:#334155;font-size:.875rem;line-height:1.55;white-space:pre-wrap}.question-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.question-title{font-size:1.125rem;font-weight:600;color:#111827;line-height:1.5;flex:1 1}.question-type-badge{font-size:.75rem;background-color:#e5e7eb;color:#6b7280;padding:.25rem .75rem;border-radius:9999px;white-space:nowrap;flex-shrink:0}.options-list{display:flex;flex-direction:column;gap:.5rem}.option-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background-color:white;border:1px solid #e5e7eb;border-radius:.375rem;transition:all .2s ease}.option-item:hover{border-color:#d1d5db}.option-correct{background-color:#ecfdf5;border-color:#10b981;color:#065f46}.option-text{flex:1 1;font-size:.875rem;line-height:1.4}.correct-icon{width:1.25rem;height:1.25rem;color:#10b981;flex-shrink:0}.match-pairs-container{display:flex;flex-direction:column;gap:.75rem}.match-pair{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background-color:white;border:1px solid #e5e7eb;border-radius:.375rem;gap:1rem}.match-left,.match-right{font-size:.875rem;font-weight:500;color:#374151;flex:1 1}.match-left{text-align:right}.match-right{text-align:left}.match-arrow{width:1.5rem;height:1.5rem;color:#6b7280;flex-shrink:0}.correct-answers-section{margin-top:1rem;padding:1rem;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:.375rem}.correct-answers-label{font-size:.875rem;font-weight:600;color:#065f46;display:block;margin-bottom:.5rem}.correct-answers-list{display:flex;flex-wrap:wrap;gap:.5rem}.correct-answer-tag{background-color:#10b981;color:white;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.fill-blanks-content-sentence{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;font-size:1rem;line-height:2.25;margin-top:.5rem}.fill-blank-content-slot{display:inline-block;min-width:60px;padding:.1rem .625rem;border-radius:6px;border:2px dashed #93c5fd;background:#eff6ff;text-align:center;font-size:.9rem}.fill-blank-content-slot.correct{border-style:solid;border-color:#10b981;background:#f0fdf4;color:#065f46;font-weight:600}@media (max-width:768px){.test-config-wrapper{padding:0 .5rem}.test-config-card{padding:1rem}.modes-grid{gap:1rem}.exam-config-grid,.modes-grid{grid-template-columns:1fr}.test-title{font-size:1.5rem}.start-button{padding:.75rem 1.5rem;font-size:1rem}.share-actions{align-items:stretch}.share-button{flex:1 1 210px}.content-header{flex-direction:column;gap:1rem;align-items:stretch}.show-answers-toggle{justify-content:center}.content-body,.question-item{padding:1rem}.question-header{flex-direction:column;gap:.5rem}.question-type-badge{align-self:flex-start}}@media (max-width:480px){.test-title{font-size:1.25rem}.exam-config-section,.mode-card{padding:1rem}}.author-tests-link{display:inline-block;padding:.5rem 0;color:#6b7280;font-size:.875rem;font-weight:500;text-decoration:none;border-bottom:1px solid transparent;transition:all .2s ease;cursor:pointer}.author-tests-link:hover{color:#3b82f6;border-bottom-color:#3b82f6}.rating-comments-column{display:flex;flex-direction:column;align-items:flex-start;margin-top:1rem;gap:.25rem}.comments-author-row{width:100%;display:flex;align-items:center;justify-content:space-between}.rating-section{display:flex;align-items:center;gap:.25rem}.rating-average{font-weight:700;font-size:.95rem;color:#111827;margin-right:.25rem}.rating-star{width:1.25rem;height:1.25rem;cursor:pointer;transition:color .15s ease;flex-shrink:0}.rating-star-filled{color:#f59e0b}.rating-star-half{color:#fcd34d}.rating-star-empty{color:#d1d5db}.rating-star-hover{color:#3b82f6}.rating-star-user{color:#f59e0b}.rating-count{color:#6b7280;font-size:.8rem;margin-left:.25rem;white-space:nowrap}.rating-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:2000;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.rating-modal{background:white;border-radius:16px;padding:2rem;max-width:420px;width:90%;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);border:1px solid rgba(0,0,0,.05);animation:ratingModalSlideIn .3s ease;position:relative}@keyframes ratingModalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.rating-modal-close{position:absolute;top:.75rem;right:.75rem;background:none;border:none;cursor:pointer;padding:.25rem;color:#9ca3af;transition:color .2s ease}.rating-modal-close:hover{color:#111827}.rating-modal-close svg{width:1.25rem;height:1.25rem}.rating-modal-body{text-align:center}.rating-modal-body p{color:#374151;font-size:1rem;line-height:1.6;margin-bottom:1.5rem}.rating-modal-login-btn{display:inline-block;background-color:#3b82f6;color:white;padding:.625rem 1.5rem;border-radius:8px;font-weight:600;font-size:.875rem;text-decoration:none;transition:all .3s ease;box-shadow:0 4px 14px rgba(59,130,246,.3)}.rating-modal-login-btn:hover{background-color:#2563eb;transform:translateY(-1px);box-shadow:0 6px 20px rgba(59,130,246,.4)}@media (max-width:768px){.comments-author-row{flex-direction:column;align-items:flex-start;gap:.25rem}}.comments-section{margin-top:2rem;background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);overflow:hidden}.comments-header{display:flex;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.comments-title{font-size:1.125rem;font-weight:600;color:#111827;display:flex;align-items:center;gap:.5rem}.comments-title svg{width:1.25rem;height:1.25rem;color:#6b7280}.comments-count{font-size:.8rem;color:#6b7280;font-weight:400}.comments-body{padding:1.5rem}.comment-form{display:flex;gap:.75rem;margin-bottom:1.5rem}.comment-input{flex:1 1;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;resize:none;min-height:2.75rem;max-height:6rem;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease}.comment-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.comment-input::placeholder{color:#9ca3af}.comment-submit{align-self:flex-end;background-color:#3b82f6;color:white;border:none;border-radius:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.comment-submit:hover:not(:disabled){background-color:#2563eb}.comment-submit:disabled{opacity:.5;cursor:not-allowed}.comments-list{display:flex;flex-direction:column;gap:1rem}.comment-item{padding:1rem;background-color:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.comment-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.comment-author{font-size:.875rem;font-weight:600;color:#111827}.comment-header-right{display:flex;align-items:center;gap:.5rem}.comment-date{font-size:.75rem;color:#9ca3af}.comment-delete-btn{background:none;border:none;cursor:pointer;padding:.15rem;color:#d1d5db;transition:color .2s ease;display:flex;align-items:center}.comment-delete-btn:hover{color:#ef4444}.comment-delete-btn svg{width:.95rem;height:.95rem}.comment-text{font-size:.875rem;color:#374151;line-height:1.5;white-space:pre-wrap;word-break:break-word}.no-comments{text-align:center;color:#9ca3af;font-size:.875rem;padding:2rem 0}.scroll-comments-btn{display:inline-flex;align-items:center;gap:.5rem;background:none;border:none;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:color .2s ease}.scroll-comments-btn:hover{color:#3b82f6}.scroll-comments-btn svg{width:1.1rem;height:1.1rem}@media (max-width:768px){.comment-form{flex-direction:column}.comment-submit{align-self:stretch}.comments-body{padding:1rem}}.teacher-print-open svg{width:1.1rem;height:1.1rem;stroke-width:2}.teacher-print-overlay{position:fixed;inset:0;z-index:2500;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.teacher-print-dialog{display:flex;flex-direction:column;width:min(720px,100%);max-height:min(88vh,820px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28)}.teacher-print-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 1.5rem 1.25rem;border-bottom:1px solid #e5e7eb}.teacher-print-dialog-header h2{margin:0;color:#111827;font-size:1.35rem;line-height:1.3}.teacher-print-dialog-header p{max-width:580px;margin:.45rem 0 0;color:#6b7280;font-size:.9rem;line-height:1.5}.teacher-print-close{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#f3f4f6;color:#4b5563;cursor:pointer;font-size:1.5rem;line-height:1}.teacher-print-dialog-body{display:grid;grid-gap:1.25rem;gap:1.25rem;overflow-y:auto;padding:1.35rem 1.5rem}.teacher-print-fieldset{display:grid;grid-gap:.7rem;gap:.7rem;min-width:0;margin:0;padding:0;border:0}.teacher-print-fieldset legend{margin-bottom:.65rem;color:#111827;font-size:.95rem;font-weight:700}.teacher-print-choice-card{display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 1rem;border:1px solid #d1d5db;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.teacher-print-choice-card.selected{border-color:#4f46e5;background:#eef2ff;box-shadow:0 0 0 1px #4f46e5}.teacher-print-choice-card input,.teacher-print-explanations-option input,.teacher-print-picker-list input{flex:0 0 auto;width:1rem;height:1rem;margin-top:.15rem;accent-color:#4f46e5}.teacher-print-choice-card span,.teacher-print-explanations-option span{display:grid;grid-gap:.2rem;gap:.2rem}.teacher-print-choice-card strong,.teacher-print-explanations-option strong{color:#1f2937;font-size:.9rem}.teacher-print-choice-card small,.teacher-print-explanations-option small{color:#6b7280;font-size:.8rem;line-height:1.4}.teacher-print-question-picker{overflow:hidden;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb}.teacher-print-picker-actions{display:flex;gap:.9rem;padding:.65rem .8rem;border-bottom:1px solid #e5e7eb}.teacher-print-picker-actions button{padding:0;border:0;background:none;color:#4338ca;cursor:pointer;font-size:.78rem;font-weight:650}.teacher-print-picker-list{display:grid;max-height:230px;overflow-y:auto}.teacher-print-picker-list label{display:flex;align-items:flex-start;gap:.65rem;padding:.7rem .8rem;border-bottom:1px solid #e5e7eb;color:#374151;cursor:pointer;font-size:.82rem;line-height:1.4}.teacher-print-picker-list label:last-child{border-bottom:0}.teacher-print-explanations-option{display:flex;align-items:flex-start;gap:.7rem;margin-top:.2rem;padding:.75rem .9rem;border-radius:9px;background:#f9fafb;cursor:pointer}.teacher-print-selection-error{margin:0;padding:.7rem .85rem;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:.84rem;font-weight:600}.teacher-print-dialog-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.teacher-print-cancel,.teacher-print-submit{min-height:42px;padding:.65rem 1rem;border-radius:8px;cursor:pointer;font-weight:650}.teacher-print-cancel{border:1px solid #d1d5db;background:#fff;color:#374151}.teacher-print-submit{border:1px solid #4338ca;background:#4f46e5;color:#fff}.teacher-print-cancel:disabled,.teacher-print-close:disabled,.teacher-print-submit:disabled{cursor:not-allowed;opacity:.55}.teacher-print-document{display:none}@media (max-width:640px){.teacher-print-overlay{align-items:flex-end;padding:0}.teacher-print-dialog{max-height:94vh;border-radius:16px 16px 0 0}.teacher-print-dialog-actions,.teacher-print-dialog-body,.teacher-print-dialog-header{padding-right:1rem;padding-left:1rem}.teacher-print-dialog-actions{display:grid;grid-template-columns:1fr 1.45fr}}@page{size:A4 portrait;margin:13mm 14mm 14mm}@media print{body,html{background:#fff!important}body>:not(.teacher-print-document){display:none!important}.teacher-print-document{display:block!important;position:static;width:100%;margin:0;padding:0;background:#fff;color:#111827;font-family:Arial,Helvetica,sans-serif;font-size:10.5pt;line-height:1.42;print-color-adjust:exact;-webkit-print-color-adjust:exact}.teacher-print-document-header{position:relative;padding-bottom:6mm;border-bottom:1.5pt solid #4338ca}.teacher-print-brand{color:#4338ca;font-size:11pt;font-weight:800;letter-spacing:-.2pt}.teacher-print-solution-badge{position:absolute;top:0;right:0;padding:1.5mm 3mm;border:.75pt solid #86efac;border-radius:999px;background:#f0fdf4;color:#166534;font-size:8pt;font-weight:700;text-transform:uppercase}.teacher-print-document-header h1{margin:3mm 0 1.5mm;color:#111827;font-size:20pt;line-height:1.18}.teacher-print-document-header>p{max-width:165mm;margin:0;color:#4b5563;font-size:9.5pt}.teacher-print-student-fields{display:grid;grid-template-columns:2fr 1fr 1fr;grid-gap:6mm;gap:6mm;margin-top:6mm;font-size:9pt}.teacher-print-student-fields span{display:flex;align-items:flex-end;gap:2mm;white-space:nowrap}.teacher-print-student-fields i{display:block;flex:1 1;min-width:20mm;height:4mm;border-bottom:.75pt solid #6b7280}.teacher-print-questions{display:grid;grid-gap:6mm;gap:6mm;padding-top:6mm}.teacher-print-question{break-inside:avoid-page;page-break-inside:avoid;padding:0 0 5mm;border-bottom:.5pt solid #d1d5db}.teacher-print-question:last-child{padding-bottom:0;border-bottom:0}.teacher-print-question-heading{display:flex;align-items:flex-start;gap:2.5mm}.teacher-print-question-heading>span:first-child{flex:0 0 auto;color:#4338ca;font-size:11pt;font-weight:800}.teacher-print-fill-text,.teacher-print-question-heading h2{margin:0;color:#111827;font-size:11pt;font-weight:650;line-height:1.4}.teacher-print-question-image{display:block;max-width:125mm;max-height:65mm;margin:3mm auto 2mm;object-fit:contain}.teacher-print-options{display:grid;grid-gap:1.8mm;gap:1.8mm;margin:3mm 0 0 8mm}.teacher-print-true-false{grid-template-columns:repeat(2,max-content);gap:12mm}.teacher-print-option{display:flex;align-items:flex-start;gap:2.5mm;min-height:5mm}.teacher-print-option.is-correct{color:#166534;font-weight:700}.teacher-print-option-marker{min-width:5mm;color:#374151;font-family:Arial,Helvetica,sans-serif;font-weight:700;text-align:center}.teacher-print-option.is-correct .teacher-print-option-marker{color:#15803d}.teacher-print-writing-lines{display:grid;grid-gap:5mm;gap:5mm;margin:5mm 0 0 8mm}.teacher-print-writing-lines span{height:3mm;border-bottom:.5pt solid #9ca3af}.teacher-print-answer-box,.teacher-print-explanation{display:grid;grid-gap:1mm;gap:1mm;margin:3mm 0 0 8mm;padding:2.5mm 3mm;border-left:2pt solid #22c55e;background:#f0fdf4}.teacher-print-answer-box strong,.teacher-print-explanation strong{color:#166534;font-size:8.5pt}.teacher-print-explanation{margin-top:3mm;border-left-color:#6366f1;background:#eef2ff}.teacher-print-explanation strong{color:#3730a3}.teacher-print-explanation p{margin:0}.teacher-print-match-solutions{display:grid;grid-gap:1.5mm;gap:1.5mm;margin:3mm 0 0 8mm}.teacher-print-match-solutions div{display:grid;grid-template-columns:minmax(0,1fr) 8mm minmax(0,1fr);align-items:center;grid-gap:2mm;gap:2mm}.teacher-print-match-solutions strong{color:#15803d;text-align:center}.teacher-print-instruction{margin:2.5mm 0 2mm 8mm;color:#4b5563;font-size:8.5pt;font-style:italic}.teacher-print-match-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:15mm;gap:15mm;margin-left:8mm;padding:2mm 3mm;border:.5pt solid #d1d5db;border-radius:2mm}.teacher-print-match-columns p{margin:1.5mm 0}.teacher-print-blank{display:inline-block;min-width:24mm;margin:0 1mm;border-bottom:.75pt solid #374151}.teacher-print-inline-answer{display:inline-block;margin:0 1mm;padding:0 1.5mm;border-bottom:1pt solid #16a34a;color:#166534}.teacher-print-document-footer{display:flex;justify-content:space-between;margin-top:8mm;padding-top:3mm;border-top:.5pt solid #d1d5db;color:#6b7280;font-size:7.5pt}}.password-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem}.password-container{background:white;padding:3rem 2rem;max-width:480px;width:100%;text-align:center}.lock-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;animation:pulse 2s ease-in-out infinite}.lock-icon svg{width:40px;height:40px;color:white}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 0 0 0 rgba(102,126,234,.7)}50%{transform:scale(1.05);box-shadow:0 0 0 20px rgba(102,126,234,0)}}.password-title{font-size:1.75rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.password-subtitle{font-size:1rem;color:#6b7280;margin-bottom:2rem;line-height:1.5}.password-form{display:flex;flex-direction:column;gap:1rem}.input-group{position:relative}.password-input{width:100%;padding:1rem 1rem 1rem 3rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:12px;transition:all .3s ease;letter-spacing:2px}.password-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px rgba(102,126,234,.1)}.password-input.error{border-color:#ef4444}.input-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#9ca3af}.error-message-2{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fee2e2;border:1px solid #fecaca;border-radius:10px;color:#dc2626;font-size:.875rem}.error-icon-2{width:18px;height:18px;flex-shrink:0}.submit-button{padding:1rem 2rem;font-size:1rem;font-weight:600;color:white;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;margin-top:.5rem}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px rgba(102,126,234,.4)}.submit-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width:640px){.password-container{padding:2rem 1.5rem}.password-title{font-size:1.5rem}.lock-icon{width:60px;height:60px}.lock-icon svg{width:30px;height:30px}}