body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}*,:after,:before{box-sizing:border-box}body{margin:0;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:#f0f4f8;color:#1a202c}.app-shell,.sidebar{display:flex;min-height:100vh}.sidebar{width:240px;background:#0d9488;flex-direction:column;padding:0;flex-shrink:0}.sidebar-brand{padding:28px 24px 20px;border-bottom:1px solid hsla(0,0%,100%,.15)}.sidebar-brand h1{font-size:1.1rem;font-weight:700;color:#fff;margin:0;line-height:1.3}.sidebar-brand span{font-size:.75rem;color:hsla(0,0%,100%,.65);display:block;margin-top:2px}.sidebar-nav{padding:16px 0;flex:1 1}.nav-section-label{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:hsla(0,0%,100%,.5);padding:8px 24px 4px}.nav-item{display:flex;align-items:center;grid-gap:12px;gap:12px;padding:11px 24px;cursor:pointer;color:hsla(0,0%,100%,.8);font-size:.875rem;font-weight:500;border:none;background:none;width:100%;text-align:left;transition:background .15s,color .15s;position:relative}.nav-item:hover{background:hsla(0,0%,100%,.1);color:#fff}.nav-item.active{background:hsla(0,0%,100%,.18);color:#fff}.nav-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#fff;border-radius:0 2px 2px 0}.nav-item .nav-icon{font-size:1.1rem;width:22px;text-align:center;flex-shrink:0}.nav-step-badge{margin-left:auto;background:hsla(0,0%,100%,.25);color:#fff;font-size:.65rem;font-weight:700;padding:2px 7px;border-radius:10px}.nav-item.active .nav-step-badge{background:hsla(0,0%,100%,.9);color:#0d9488}.main-content{flex:1 1;display:flex;flex-direction:column;min-height:100vh;overflow:auto}.topbar{background:#fff;border-bottom:1px solid #e2e8f0;padding:16px 32px;display:flex;align-items:center;grid-gap:12px;gap:12px}.topbar-breadcrumb{font-size:.8rem;color:#94a3b8}.topbar-title{font-size:1.25rem;font-weight:700;color:#1a202c;margin:0}.content-area{flex:1 1;padding:32px;max-width:760px}.form-card{background:#fff;border-radius:12px;padding:28px 32px;box-shadow:0 1px 3px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.04)}.form-card-header{margin-bottom:24px}.form-card-header h2{font-size:1.15rem;font-weight:700;color:#1a202c;margin:0 0 4px}.form-card-header p{font-size:.85rem;color:#64748b;margin:0}.field-group{margin-bottom:18px}.field-label{display:block;font-size:.8rem;font-weight:600;color:#374151;margin-bottom:6px}.field-input,.field-select,.field-textarea{width:100%;padding:9px 13px;font-size:.875rem;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;color:#1a202c;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit}.field-input:focus,.field-select:focus,.field-textarea:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.12)}.field-select{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.field-select:disabled{background-color:#f8fafc;color:#94a3b8;cursor:not-allowed}.field-textarea{resize:vertical;min-height:90px}.field-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.btn{display:inline-flex;align-items:center;grid-gap:8px;gap:8px;padding:9px 20px;border-radius:8px;font-size:.875rem;font-weight:600;border:none;cursor:pointer;transition:all .15s;font-family:inherit}.btn-primary{background:#0d9488;color:#fff}.btn-primary:hover:not(:disabled){background:#0f766e}.btn-primary:disabled{background:#99d6d2;cursor:not-allowed}.btn-secondary{background:#f1f5f9;color:#475569}.btn-secondary:hover{background:#e2e8f0}.btn-ghost{background:transparent;color:#0d9488;border:1.5px solid #0d9488}.btn-ghost:hover{background:rgba(13,148,136,.06)}.btn-danger-ghost{background:transparent;color:#ef4444;border:1.5px solid #fca5a5}.btn-danger-ghost:hover{background:#fef2f2}.btn-sm{padding:6px 14px;font-size:.8rem}.btn-icon{padding:7px 10px}.info-banner{display:flex;align-items:flex-start;grid-gap:10px;gap:10px;background:#f0fdfa;border:1px solid #99f6e4;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:.82rem;color:#0f766e}.info-banner .info-icon{font-size:1rem;flex-shrink:0;margin-top:1px}.answer-list{flex-direction:column}.answer-list,.answer-row{display:flex;grid-gap:10px;gap:10px}.answer-row{align-items:center;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;padding:10px 14px;transition:border-color .15s}.answer-row:focus-within{border-color:#0d9488;background:#fff}.answer-row.is-correct{border-color:#10b981;background:#f0fdf4}.answer-number{width:24px;height:24px;border-radius:50%;background:#e2e8f0;color:#64748b;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.answer-row.is-correct .answer-number{background:#10b981;color:#fff}.answer-input{flex:1 1;border:none;background:transparent;font-size:.875rem;color:#1a202c;outline:none;font-family:inherit}.answer-editor-wrapper{flex:1 1;min-width:0}.answer-editor-wrapper .rich-editor{border:none;background:transparent}.answer-editor-wrapper .rich-editor:focus-within{box-shadow:none}.answer-editor-wrapper .rich-toolbar{padding:4px 8px;background:transparent;border-bottom:1px solid #e2e8f0}.answer-editor-wrapper .rich-body{padding:8px 10px;min-height:32px;font-size:.875rem}.answer-check{display:flex;align-items:center;grid-gap:6px;gap:6px;font-size:.78rem;font-weight:600;color:#64748b;cursor:pointer;flex-shrink:0;white-space:nowrap}.answer-check input[type=checkbox],.answer-check input[type=radio]{accent-color:#0d9488;width:15px;height:15px;cursor:pointer}.tf-options{display:flex;grid-gap:12px;gap:12px}.tf-option{flex:1 1;display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;padding:14px;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;font-size:.9rem;font-weight:600;color:#64748b;transition:all .15s}.tf-option.selected,.tf-option:hover{border-color:#0d9488;color:#0d9488}.tf-option.selected{background:#f0fdfa}.tf-option input{accent-color:#0d9488}.swipe-labels-row{display:flex;grid-gap:16px;gap:16px;margin-bottom:8px}.swipe-label-input{flex:1 1}.swipe-label-input label{display:block;font-size:.75rem;font-weight:600;color:#64748b;margin-bottom:4px}.swipe-options{display:flex;grid-gap:16px;gap:16px}.swipe-option{flex:1 1;display:flex;align-items:center;justify-content:center;grid-gap:10px;gap:10px;padding:16px 20px;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;color:#64748b;background:#fff;transition:all .2s}.swipe-option:hover{border-color:#0d9488;color:#0d9488}.swipe-option.left:hover{border-color:#ef4444;color:#ef4444}.swipe-option.left.selected{border-color:#ef4444;background:#fef2f2;color:#dc2626}.swipe-option.right:hover{border-color:#22c55e;color:#22c55e}.swipe-option.right.selected{border-color:#22c55e;background:#f0fdf4;color:#16a34a}.swipe-arrow{font-size:1.3rem;font-weight:700}.dragdrop-mode-toggle{display:flex;grid-gap:8px;gap:8px;margin-bottom:8px}.mode-btn{flex:1 1;padding:10px 16px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .15s}.mode-btn.active,.mode-btn:hover{border-color:#0d9488;color:#0d9488}.mode-btn.active{background:#f0fdfa}.field-hint{font-size:.8rem;color:#94a3b8;margin:4px 0 12px;line-height:1.4}.zones-list{flex-direction:column}.zone-row,.zones-list{display:flex;grid-gap:8px;gap:8px}.zone-row{align-items:center}.zone-row .field-input{flex:1 1}.category-item-row{display:flex;align-items:flex-start;grid-gap:10px;gap:10px}.category-item-row.answer-row{padding:0}.category-item-row.answer-row,.category-item-row.answer-row:focus-within{background:transparent;border:none}.category-item-row .answer-editor-wrapper{flex:1 1;min-width:200px}.category-item-row .answer-editor-wrapper .rich-editor{border:1.5px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;transition:border-color .15s}.category-item-row .answer-editor-wrapper .rich-editor:focus-within{border-color:#0d9488!important;box-shadow:0 0 0 3px rgba(13,148,136,.12)!important}.category-item-row .answer-editor-wrapper .rich-toolbar{padding:4px 6px;grid-gap:2px;gap:2px;border-bottom:1px solid #e2e8f0;background:#f8fafc!important;border-radius:6px 6px 0 0;flex-wrap:nowrap!important;overflow-x:auto}.category-item-row .rich-btn{padding:2px 6px;font-size:.7rem;flex-shrink:0}.category-item-row .answer-editor-wrapper .rich-body{min-height:36px!important;padding:8px 10px;font-size:.875rem}.category-item-row .zone-select{margin-top:6px}.zone-select{min-width:140px;flex-shrink:0}.upload-area{display:flex;align-items:center;grid-gap:12px;gap:12px;margin-top:4px}.upload-btn{display:inline-flex;align-items:center;grid-gap:8px;gap:8px;padding:8px 16px;border:1.5px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit}.upload-btn:hover{border-color:#0d9488;color:#0d9488;background:#f0fdfa}.upload-filename{font-size:.8rem;color:#0d9488;font-weight:600}.image-position-selector{margin-top:12px;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.field-label-sm{font-size:.75rem;font-weight:600;color:#475569;margin-bottom:8px;display:block}.radio-group{display:flex;grid-gap:20px;gap:20px}.radio-option{display:flex;align-items:center;grid-gap:6px;gap:6px;cursor:pointer;font-size:.82rem;color:#334155}.radio-option input[type=radio]{width:16px;height:16px;accent-color:#0d9488;cursor:pointer}.radio-option span{-webkit-user-select:none;user-select:none}.divider{height:1px;background:#f1f5f9;margin:24px 0}.form-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;padding-top:20px;border-top:1px solid #f1f5f9}.form-footer-actions{display:flex;grid-gap:10px;gap:10px;align-items:center}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px}.modal-box{background:#fff;border-radius:14px;width:100%;max-width:680px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.2)}.modal-box.modal-sm{max-width:380px}.modal-box.modal-sm .modal-header{padding:16px 20px 14px}.modal-box.modal-sm .modal-body{padding:20px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px 16px;border-bottom:1px solid #f1f5f9}.modal-header h3{font-size:1.05rem;font-weight:700;margin:0;color:#1a202c}.modal-close{background:#f1f5f9;border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:1rem;color:#64748b;display:flex;align-items:center;justify-content:center;transition:background .15s}.modal-close:hover{background:#e2e8f0}.modal-body{padding:24px 28px 28px}.modal-actions{display:flex;justify-content:flex-end;margin-top:20px}.warning-content{display:flex;align-items:flex-start;grid-gap:12px;gap:12px}.warning-content .warning-icon{font-size:1.5rem;flex-shrink:0}.warning-content p{margin:0;color:#374151;line-height:1.5}.rich-editor{border:1.5px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.rich-editor:focus-within{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.12)}.rich-toolbar{display:flex;align-items:center;grid-gap:2px;gap:2px;padding:6px 10px;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.rich-btn{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 6px;border:none;border-radius:5px;background:transparent;cursor:pointer;font-size:.75rem;color:#475569;font-family:inherit;transition:background .12s,color .12s;white-space:nowrap}.rich-btn:hover{background:#e2e8f0;color:#1a202c}.rich-sep{width:1px;height:18px;background:#e2e8f0;margin:0 3px;flex-shrink:0}.rich-body{padding:12px 14px;font-size:.875rem;color:#1a202c;line-height:1.75;outline:none;font-family:inherit;word-break:break-word}.rich-body:empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none;display:block}.rich-body ol,.rich-body ul{padding-left:22px;margin:6px 0}.rich-body li{margin:2px 0}.rich-body b,.rich-body strong{font-weight:700}.rich-body em,.rich-body i{font-style:italic}.rich-body u{text-decoration:underline}.rich-body p{margin:4px 0}.note-html-view{font-size:.85rem;color:#374151;line-height:1.75;word-break:break-word}.note-html-view ol,.note-html-view ul{padding-left:20px;margin:4px 0}.note-html-view b,.note-html-view strong{font-weight:700}.note-html-view--facts{color:#0f766e;background:#f0fdfa;border-radius:6px;padding:8px 10px;font-size:.82rem}.subtopic-row-wrapper{border-top:1px solid #f1f5f9}.subtopic-row-wrapper:first-child{border-top:none}.subtopic-row{display:flex;align-items:center;grid-gap:8px;gap:8px;width:100%;padding:10px 20px;background:#fff;border:none;cursor:pointer;text-align:left;transition:background .12s;font-family:inherit}.subtopic-row:hover{background:#f8fafc}.subtopic-row.open{background:#fafffe}.subtopic-chevron{font-size:.75rem;color:#94a3b8;width:14px;flex-shrink:0}.subtopic-icon{font-size:.85rem;flex-shrink:0}.subtopic-title{flex:1 1;font-size:.82rem;font-weight:500;color:#374151}.subtopic-id-badge{font-size:.68rem;color:#94a3b8;background:#f1f5f9;padding:2px 6px;border-radius:6px;flex-shrink:0}.note-count-badge{font-size:.68rem;color:#0d9488;background:#f0fdfa;border:1px solid #99f6e4;padding:2px 7px;border-radius:6px;flex-shrink:0}.notes-panel{background:#f8fafc;border-top:1px solid #e2e8f0;padding:12px 20px 16px;display:flex;flex-direction:column;grid-gap:12px;gap:12px}.notes-empty,.notes-loading{font-size:.8rem;color:#94a3b8;padding:8px 0;text-align:center}.note-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px;transition:border-color .15s}.note-card:focus-within{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.08)}.note-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.note-id-badge{font-size:.68rem;font-weight:700;color:#94a3b8;background:#f1f5f9;padding:2px 8px;border-radius:6px}.note-field{margin-bottom:10px}.note-field:last-of-type{margin-bottom:0}.note-field-label{font-size:.72rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.note-text{font-size:.85rem;color:#374151;line-height:1.6;white-space:pre-wrap;word-break:break-word}.note-text--facts{color:#0f766e;background:#f0fdfa;border-radius:6px;padding:8px 10px;font-size:.82rem}.note-textarea{min-height:100px;font-size:.85rem;line-height:1.6}.note-edit-actions{display:flex;grid-gap:8px;gap:8px;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid #f1f5f9}.panel-section-header{font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em;padding-bottom:6px;border-bottom:1px solid #e2e8f0;margin-bottom:8px}.question-count-badge{font-size:.68rem;color:#7c3aed;background:#f5f3ff;border:1px solid #c4b5fd;padding:2px 7px;border-radius:6px;flex-shrink:0}.question-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px;transition:border-color .15s}.question-card:focus-within{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.08)}.question-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.question-card-badges{display:flex;align-items:center;grid-gap:8px;gap:8px}.question-id-badge{color:#94a3b8;background:#f1f5f9}.question-id-badge,.question-type-badge{font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:6px}.question-type-badge{color:#7c3aed;background:#f5f3ff;text-transform:uppercase}.question-text{font-size:.85rem;color:#374151;line-height:1.6;white-space:pre-wrap;word-break:break-word;margin-bottom:12px;padding:10px 12px;background:#faf5ff;border-radius:6px;border-left:3px solid #7c3aed}.question-answers{margin-top:8px}.question-answers-label{font-size:.72rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.question-answer-item{display:flex;align-items:flex-start;grid-gap:8px;gap:8px;padding:6px 10px;margin-bottom:4px;background:#f8fafc;border-radius:6px;font-size:.82rem;color:#374151}.question-answer-item:last-child{margin-bottom:0}.question-answer-item--correct{background:#f0fdf4;border:1px solid #86efac}.question-answer-indicator{font-size:.7rem;font-weight:600;padding:1px 6px;border-radius:4px;flex-shrink:0}.question-answer-indicator--correct{background:#22c55e;color:#fff}.question-answer-indicator--wrong{background:#e2e8f0;color:#64748b}.question-answer-indicator--order{background:#7c3aed;color:#fff}.answer-marker{font-weight:600;font-size:.78rem;color:#94a3b8;flex-shrink:0;min-width:16px}.question-answer-item.correct{background:#f0fdf4;border:1px solid #86efac}.question-answer-item.correct .answer-marker{color:#22c55e}.remove-answer-btn{background:none;border:none;cursor:pointer;color:#94a3b8;font-size:.75rem;padding:4px 6px;border-radius:4px;transition:color .15s,background .15s;flex-shrink:0;line-height:1}.remove-answer-btn:hover{color:#ef4444;background:#fef2f2}.content-area--wide{max-width:none}.Toastify__toast{border-radius:10px!important;font-family:inherit!important;font-size:.875rem!important}.steps-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.steps-container{display:flex;flex-direction:column;grid-gap:14px;gap:14px;margin-top:8px}.step-card{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px;transition:border-color .15s}.step-card:focus-within{border-color:#0d9488;background:#fff}.step-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.step-number-badge{background:#0d9488;color:#fff;font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:12px;text-transform:uppercase;letter-spacing:.03em}.step-actions{grid-gap:4px;gap:4px}.step-actions,.step-move-btn{display:flex;align-items:center}.step-move-btn{background:#e2e8f0;border:none;width:26px;height:26px;border-radius:6px;cursor:pointer;font-size:.85rem;color:#64748b;justify-content:center;transition:all .15s}.step-move-btn:hover:not(:disabled){background:#0d9488;color:#fff}.step-move-btn:disabled{opacity:.4;cursor:not-allowed}.step-fields{display:flex;flex-direction:column;grid-gap:10px;gap:10px}.step-title-input{font-weight:600}.steps-view{display:flex;flex-direction:column;grid-gap:10px;gap:10px;margin-top:8px}.step-view-card{display:flex;align-items:flex-start;grid-gap:12px;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px}.step-view-badge{background:#0d9488;color:#fff;font-size:.72rem;font-weight:700;min-width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.step-view-content{flex:1 1;min-width:0}.step-view-title{font-size:.82rem;font-weight:600;color:#1a202c;margin-bottom:4px}.step-view-text{font-size:.8rem;color:#475569;line-height:1.6}.step-view-text ol,.step-view-text ul{padding-left:18px;margin:4px 0}.equation-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px}.equation-modal{background:#fff;border-radius:12px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}.equation-modal--wide{max-width:680px}.equation-modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;background:#fff;z-index:1}.equation-modal-header h3{font-size:1rem;font-weight:700;color:#1a202c;margin:0}.equation-modal-close{background:#f1f5f9;border:none;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:.85rem;color:#64748b;display:flex;align-items:center;justify-content:center;transition:background .15s}.equation-modal-close:hover{background:#e2e8f0}.equation-modal-body{padding:20px 24px}.equation-input-section{margin-bottom:16px}.equation-input-label{display:block;font-size:.75rem;font-weight:600;color:#475569;margin-bottom:6px;text-transform:uppercase;letter-spacing:.03em}.equation-input{width:100%;padding:12px 14px;font-size:1rem;font-family:"Consolas","Monaco",monospace;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#1a202c;transition:border-color .15s,box-shadow .15s;outline:none}.equation-input:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.15)}.equation-input::placeholder{color:#94a3b8;font-family:inherit}.symbol-categories{display:flex;flex-wrap:wrap;grid-gap:6px;gap:6px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.symbol-category-btn{padding:6px 12px;font-size:.75rem;font-weight:600;color:#64748b;background:#f1f5f9;border:none;border-radius:6px;cursor:pointer;transition:all .15s;font-family:inherit}.symbol-category-btn:hover{background:#e2e8f0;color:#475569}.symbol-category-btn.active{background:#0d9488;color:#fff}.symbol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));grid-gap:6px;gap:6px;margin-bottom:16px;padding:12px;background:#f8fafc;border-radius:8px;min-height:80px}.symbol-btn{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;min-height:42px;font-size:1.1rem;font-family:"Times New Roman",serif;color:#1a202c;background:#fff;border:1.5px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .12s}.symbol-btn:hover{border-color:#0d9488;background:#f0fdfa;color:#0d9488;transform:scale(1.05)}.symbol-btn:active{transform:scale(.98)}.symbol-btn--template{font-size:.85rem;font-family:inherit;color:#475569}.equation-preview{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:16px 20px;margin-bottom:12px;min-height:60px;display:flex;flex-direction:column}.equation-preview-label{font-size:.68rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.equation-preview-content{flex:1 1;display:flex;align-items:center;justify-content:center;min-height:40px}.equation-preview-rendered{font-size:1.4rem;color:#1a202c;text-align:center}.equation-preview-rendered .katex{font-size:1.4em}.equation-preview-placeholder{color:#94a3b8;font-size:.85rem}.equation-preview-content code{font-family:"Consolas","Monaco",monospace;background:rgba(13,148,136,.1);padding:2px 6px;border-radius:4px;font-size:.9rem}.equation-help{font-size:.78rem;color:#64748b;line-height:1.6;background:#f8fafc;border-radius:6px;padding:10px 12px}.equation-help strong{color:#475569}.equation-help code{background:#e2e8f0;padding:1px 5px;border-radius:3px;font-size:.75rem;font-family:"Consolas","Monaco",monospace}.equation-modal-footer{display:flex;justify-content:flex-end;grid-gap:10px;gap:10px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#f8fafc;position:sticky;bottom:0}.rich-btn-equation{font-size:1rem;font-weight:400}.math-equation{font-family:"Times New Roman",serif;font-style:italic;background:#f0f9ff;padding:2px 6px;border-radius:4px;margin:0 2px}.notes-layout{display:grid;grid-template-columns:1fr 380px;grid-gap:24px;gap:24px;align-items:start;max-width:1400px}.notes-layout .form-card{margin-bottom:0;max-width:none}.notes-layout .preview-panel{position:sticky;top:20px}.notes-layout .preview-panel .note-preview{margin-top:0;min-height:400px}.notes-layout .field-row{grid-template-columns:1fr 1fr}.note-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-top:16px;overflow:hidden}.note-preview-empty{background:#f8fafc;border-style:dashed}.preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#94a3b8}.preview-placeholder .preview-icon{font-size:2rem;margin-bottom:8px;opacity:.5}.preview-placeholder p{margin:0;font-size:.875rem}.preview-header{display:flex;align-items:center;grid-gap:8px;gap:8px;padding:12px 16px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;font-size:.8rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em}.preview-header .preview-icon{font-size:1rem}.preview-content{padding:20px;font-size:.95rem;line-height:1.7;color:#1e293b}.preview-section{margin-bottom:20px}.preview-section:last-child{margin-bottom:0}.preview-section-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#64748b;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #e2e8f0}.preview-notes{color:#334155}.preview-facts p,.preview-notes p,.preview-step-content p{margin:0 0 12px}.preview-facts p:last-child,.preview-notes p:last-child,.preview-step-content p:last-child{margin-bottom:0}.preview-facts-section{background:#fffbeb;padding:12px 16px;border-radius:6px;border-left:3px solid #f59e0b}.preview-facts-section .preview-section-label{color:#b45309;border-bottom-color:#fcd34d}.preview-facts{color:#78350f;font-size:.9rem}.preview-steps-section{background:#f0fdf4;padding:12px 16px;border-radius:6px;border-left:3px solid #22c55e}.preview-steps-section .preview-section-label{color:#15803d;border-bottom-color:#86efac}.preview-step{margin-bottom:16px;padding-bottom:16px;border-bottom:1px dashed #bbf7d0}.preview-step:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.preview-step-header{display:flex;align-items:center;grid-gap:10px;gap:10px;margin-bottom:8px}.preview-step-number{width:24px;height:24px;background:#22c55e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.preview-step-title{font-weight:600;color:#166534;font-size:.95rem}.preview-step-content{color:#166534;padding-left:34px;font-size:.9rem}.preview-content .katex{font-size:1.1em}.preview-content .katex-error{color:#dc2626;background:#fef2f2;padding:2px 6px;border-radius:3px;font-family:monospace;font-size:.85em}.questions-layout{display:grid;grid-template-columns:1fr 380px;grid-gap:24px;gap:24px;align-items:start;max-width:1400px}.questions-layout .form-card{margin-bottom:0;max-width:none}.questions-layout .preview-panel{position:sticky;top:20px}.questions-layout .preview-panel .question-preview{margin-top:0;min-height:300px}.question-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.question-preview-empty{background:#f8fafc;border-style:dashed}.question-preview .preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#94a3b8}.question-preview .preview-placeholder .preview-icon{font-size:2rem;margin-bottom:8px;opacity:.5}.question-preview .preview-placeholder p{margin:0;font-size:.875rem;text-align:center}.preview-type-badge{display:inline-block;background:#0d9488;color:#fff;padding:4px 10px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px}.preview-subject-name{font-size:.75rem;color:#64748b;margin-bottom:16px}.preview-question-section{margin-bottom:20px}.preview-question-text{font-size:1rem;line-height:1.6;color:#1e293b}.preview-question-text p{margin:0 0 8px}.preview-question-text p:last-child{margin-bottom:0}.preview-answers{display:flex;flex-direction:column;grid-gap:10px;gap:10px}.preview-answer-option{display:flex;align-items:flex-start;grid-gap:10px;gap:10px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.9rem;color:#334155;transition:all .15s}.preview-answer-option.correct{background:#f0fdf4;border-color:#86efac;color:#166534}.preview-option-marker{color:#94a3b8;font-size:1rem;flex-shrink:0}.preview-answer-option.correct .preview-option-marker{color:#22c55e}.preview-correct-badge{margin-left:auto;color:#22c55e;font-weight:700;flex-shrink:0}.preview-answers-ordered{grid-gap:8px;gap:8px}.preview-order-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.preview-answer-ordered{display:flex;align-items:center;grid-gap:10px;gap:10px;padding:8px 12px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;font-size:.9rem;color:#0369a1}.preview-order-number{width:22px;height:22px;background:#0ea5e9;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.preview-swipe{flex-direction:column;grid-gap:12px;gap:12px}.preview-swipe-directions{display:flex;grid-gap:12px;gap:12px}.preview-swipe-option{flex:1 1;display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;padding:14px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:.9rem;font-weight:600;color:#64748b;position:relative}.preview-swipe-option.left{border-color:#fecaca;background:#fef2f2;color:#dc2626}.preview-swipe-option.left.correct{border-color:#dc2626}.preview-swipe-option.right{border-color:#bbf7d0;background:#f0fdf4;color:#16a34a}.preview-swipe-option.right.correct{border-color:#16a34a}.preview-swipe-option .swipe-arrow{font-size:1.1rem;font-weight:700}.preview-swipe-hint{font-size:.75rem;color:#94a3b8;text-align:center;font-style:italic}.preview-categories{flex-direction:column;grid-gap:12px;gap:12px}.preview-category{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.preview-category-header{background:#0d9488;color:#fff;padding:8px 12px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.preview-category-items{padding:10px;display:flex;flex-direction:column;grid-gap:6px;gap:6px}.preview-category-item{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:.85rem;color:#334155}.preview-category-empty{font-size:.8rem;color:#94a3b8;font-style:italic;padding:4px 0}@media (max-width:1200px){.questions-layout{grid-template-columns:1fr}.questions-layout .preview-panel{position:static;order:-1}.questions-layout .preview-panel .question-preview{min-height:auto}}.preview-toggle{display:flex;align-items:center;grid-gap:6px;gap:6px;padding:8px 14px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;font-weight:500;color:#475569;cursor:pointer;transition:all .15s}.preview-toggle:hover{background:#e2e8f0;color:#334155}.preview-toggle.active{background:#0d9488;border-color:#0d9488;color:#fff}.form-with-preview{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px}.form-with-preview .form-card{margin-bottom:0}.preview-panel{position:sticky;top:20px;align-self:start}@media (max-width:1200px){.form-with-preview{grid-template-columns:1fr}.preview-panel{position:static}.notes-layout{grid-template-columns:1fr}.notes-layout .preview-panel{position:static;order:-1}.notes-layout .preview-panel .note-preview{min-height:auto}}@media (max-width:640px){.sidebar{width:200px}.content-area{padding:20px 16px}.field-row{grid-template-columns:1fr}}.matching-pairs-list{display:flex;flex-direction:column;grid-gap:12px;gap:12px}.matching-pair-row{display:flex;align-items:flex-start;grid-gap:12px;gap:12px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px;transition:border-color .15s}.matching-pair-row:focus-within{border-color:#0d9488;background:#fff}.pair-number{width:26px;height:26px;border-radius:50%;background:#0d9488;color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:24px}.pair-inputs{display:flex;align-items:flex-start;grid-gap:12px;gap:12px}.pair-input-group,.pair-inputs{flex:1 1;min-width:0}.pair-label{display:block;font-size:.7rem;font-weight:600;color:#64748b;margin-bottom:4px;text-transform:uppercase;letter-spacing:.03em}.pair-arrow{display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#0d9488;padding-top:24px;flex-shrink:0}.pair-input-group .rich-editor{border:1.5px solid #e2e8f0;border-radius:8px;background:#fff}.pair-input-group .rich-editor:focus-within{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.12)}.pair-input-group .rich-toolbar{padding:4px 6px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pair-input-group .rich-body{min-height:40px;padding:8px 10px;font-size:.875rem}.matching-pair-row .remove-answer-btn{margin-top:24px}.preview-matching-pairs{flex-direction:column;grid-gap:8px;gap:8px}.preview-matching-pair{display:flex;align-items:center;grid-gap:10px;gap:10px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:10px 14px}.preview-pair-term{flex:1 1;font-size:.85rem;font-weight:600;color:#0369a1}.preview-pair-arrow{color:#0ea5e9;font-size:1rem;flex-shrink:0}.preview-pair-definition{flex:1 1;font-size:.85rem;color:#0369a1;text-align:right}@media (max-width:480px){.app-shell{flex-direction:column}.sidebar{width:100%;min-height:auto}.sidebar-nav{display:flex;flex-direction:row;overflow-x:auto;padding:8px 0}.nav-item{flex-direction:column;grid-gap:4px;gap:4px;padding:8px 14px;font-size:.7rem;white-space:nowrap}.nav-section-label,.nav-step-badge{display:none}}.diagram-editor-row{display:flex;grid-gap:16px;gap:16px;margin-top:12px}.diagram-code-col,.diagram-preview-col{flex:1 1;min-width:0;display:flex;flex-direction:column;grid-gap:8px;gap:8px}.diagram-code-input{width:100%;min-height:260px;font-family:"SF Mono",Menlo,Consolas,monospace;font-size:.82rem;line-height:1.5;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;resize:vertical;background:#fafafa}.diagram-code-input:focus{outline:none;border-color:#00adb5;box-shadow:0 0 0 3px rgba(0,173,181,.12)}.diagram-preview-frame{position:relative;flex:1 1;min-height:260px;border:1px solid #d1d5db;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:auto}.diagram-preview-frame iframe{width:100%;height:100%;min-height:258px;border:0}.diagram-preview-status{position:absolute;bottom:8px;left:8px;right:8px;padding:6px 10px;font-size:.78rem;border-radius:6px;background:rgba(0,173,181,.1);color:#067a80}.diagram-preview-status--error{background:rgba(239,68,68,.08);color:#b91c1c}@media (max-width:760px){.diagram-editor-row{flex-direction:column}}
/*# sourceMappingURL=main.4da9bf6b.chunk.css.map */