*{box-sizing:border-box}:root{color:#1f2937;background:#f7f8fc;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{transition:all .2s}a{color:inherit;text-decoration:none}.auth-page{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-side{color:#fff;background-color:#0000;background-image:linear-gradient(135deg,#4338cab8,#4f46e580),url(/images/ed5.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;justify-content:center;align-items:center;padding:48px;display:flex}.auth-brand{max-width:420px}.auth-logo{background:#ffffff2e;border-radius:18px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:28px;font-size:30px;font-weight:700;display:flex}.auth-brand h1{margin:0 0 16px;font-size:46px}.auth-brand p{color:#ffffffd1;margin:0;font-size:18px;line-height:1.6}.auth-form-section{background:#fff;justify-content:center;align-items:center;padding:40px;display:flex}.auth-form-container{width:100%;max-width:420px}.auth-form-header{margin-bottom:32px}.auth-form-header h2{margin:0 0 8px;font-size:32px}.auth-form-header p{color:#6b7280;margin:0}.auth-form{flex-direction:column;gap:20px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{font-size:14px;font-weight:600}.form-group input{border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:12px 14px;font-size:15px}.form-group input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.primary-button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;padding:12px 18px;font-weight:600}.primary-button:hover{background:#4338ca}.auth-footer{text-align:center;color:#6b7280;margin-top:24px;font-size:14px}.auth-footer a{color:#4f46e5;font-weight:600}.app-layout{min-height:100vh}.app-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:68px;padding:0 48px;display:flex}.app-logo{color:#4f46e5;font-size:22px;font-weight:700}.app-nav{align-items:center;gap:28px;display:flex}.app-nav>a{color:#4b5563;font-size:14px;font-weight:500}.app-nav>a:hover{color:#4f46e5}.profile-button{color:#4f46e5;cursor:pointer;background:#eef2ff;border:none;border-radius:50%;width:38px;height:38px;padding:0;font-weight:700;overflow:hidden}.app-content{padding:42px 48px}.page{max-width:1200px;margin:0 auto}.page-header{justify-content:space-between;align-items:center;margin-bottom:32px;display:flex}.page-header h1{margin:0 0 8px;font-size:32px}.page-header p{color:#6b7280;margin:0}@media (width<=768px){.auth-page{grid-template-columns:1fr}.auth-side{display:none}.app-header{padding:0 20px}.app-content{padding:28px 20px}.page-header,.course-details-header{flex-direction:column;gap:20px}.course-statistics{grid-template-columns:1fr}}.form-error{color:#b91c1c;background:#fef2f2;border-radius:10px;margin-top:5px;padding:12px 14px;font-size:14px}.primary-button:disabled{opacity:.65;cursor:not-allowed}.profile-menu-wrapper{position:relative}.profile-dropdown{z-index:100;background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:180px;padding:8px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 10px 30px #0000001a}.profile-dropdown-item{text-align:left;color:#374151;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;padding:10px 12px;font-size:14px;font-weight:500}.profile-dropdown-item:hover{background:#f3f4f6}.profile-dropdown-divider{background:#e5e7eb;height:1px;margin:6px 0}.logout-item{color:#dc2626}.logout-item:hover{background:#fef2f2}.profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:32px}.profile-avatar-section{border-bottom:1px solid #e5e7eb;align-items:center;gap:24px;margin-bottom:30px;padding-bottom:30px;display:flex}.profile-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:104px;height:104px;font-size:30px;font-weight:700;display:flex;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar-actions{align-items:center;gap:12px;display:flex}.avatar-upload-button{display:inline-block}.remove-avatar-button{color:#dc2626;cursor:pointer;background:0 0;border:none;padding:10px 14px;font-weight:600}.remove-avatar-button:hover{background:#fef2f2;border-radius:8px}.profile-form{flex-direction:column;gap:24px;display:flex}.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.profile-form input:disabled{color:#6b7280;cursor:not-allowed;background:#f9fafb}.profile-actions{justify-content:flex-end;display:flex}.form-success{color:#047857;background:#ecfdf5;border-radius:10px;padding:12px 14px;font-size:14px}@media (width<=768px){.profile-form-grid{grid-template-columns:1fr}.profile-avatar-section{flex-direction:column;align-items:flex-start}.profile-avatar-actions{flex-wrap:wrap}}.header-avatar{object-fit:cover;width:100%;height:100%}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;background:#1118277a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-container{background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:100%;max-width:560px;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 24px 60px #1118272e}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:24px;padding:26px 28px 22px;display:flex}.modal-header h2{color:#111827;margin:0 0 7px;font-size:23px}.modal-header p{color:#6b7280;margin:0;font-size:14px;line-height:1.5}.modal-close-button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:25px;line-height:1;display:flex}.modal-close-button:hover{color:#111827;background:#f3f4f6}.modal-close-button:disabled{cursor:not-allowed;opacity:.5}.create-course-form{flex-direction:column;gap:22px;padding:26px 28px 28px;display:flex}.create-course-form textarea{resize:vertical;width:100%;min-height:120px;font:inherit;color:#1f2937;border:1px solid #d1d5db;border-radius:10px;outline:none;padding:12px 14px;font-size:15px}.create-course-form textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.form-character-count{color:#9ca3af;align-self:flex-end;font-size:12px}.visibility-option{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:24px;padding:18px;display:flex}.visibility-option-content{flex-direction:column;gap:5px;display:flex}.visibility-title{color:#1f2937;font-size:14px;font-weight:600}.visibility-description{color:#6b7280;max-width:390px;font-size:13px;line-height:1.45}.switch{cursor:pointer;flex-shrink:0;width:46px;height:26px;position:relative}.switch input{opacity:0;width:0;height:0}.switch-slider{background:#d1d5db;border-radius:999px;transition:all .2s;position:absolute;inset:0}.switch-slider:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000002e}.switch input:checked+.switch-slider{background:#4f46e5}.switch input:checked+.switch-slider:before{transform:translate(20px)}.modal-actions{justify-content:flex-end;gap:12px;padding-top:4px;display:flex}.modal-actions .primary-button,.modal-actions .secondary-button{min-width:115px}@media (width<=600px){.modal-overlay{padding:12px}.modal-header,.create-course-form{padding-left:20px;padding-right:20px}.visibility-option{align-items:flex-start}.modal-actions{flex-direction:column-reverse}.modal-actions .primary-button,.modal-actions .secondary-button{width:100%}}.profile-form .form-field{min-width:0}.profile-form .form-field-control input,.profile-form .form-field-control textarea{box-sizing:border-box;width:100%}.profile-form .form-field--error input,.profile-form .form-field--error textarea{border-color:#dc2626}.profile-form .form-field--error input:focus,.profile-form .form-field--error textarea:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.profile-avatar-actions .form-field-error{color:#dc2626;margin:4px 0 0;font-size:12px;line-height:1.5}.avatar-upload-button--error{color:#dc2626;border-color:#dc2626}.avatar-upload-button--error:hover{border-color:#b91c1c}.toast-container{z-index:2000;flex-direction:column;gap:12px;width:min(380px,100vw - 32px);display:flex;position:fixed;top:88px;right:24px}.toast{border:1px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;min-height:64px;padding:16px 18px;animation:.25s toast-enter;display:flex;box-shadow:0 8px 24px #1118271a}.toast-success{background:#ecfdf3;border-color:#bbf7d0}.toast-success .toast-message{color:#166534}.toast-error{background:#fef2f2;border-color:#fecaca}.toast-error .toast-message{color:#991b1b}.toast-info{background:#eef2ff;border-color:#c7d2fe}.toast-info .toast-message{color:#3730a3}.toast-message{flex:1;font-size:14px;font-weight:500;line-height:1.5}.toast-close{color:currentColor;opacity:.55;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;font-size:20px;line-height:1;transition:background .15s,opacity .15s;display:flex}.toast-close:hover{opacity:.9;background:#ffffff8c}@keyframes toast-enter{0%{opacity:0;transform:translateY(-10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=600px){.toast-container{width:auto;top:78px;left:16px;right:16px}.toast{min-height:60px;padding:14px 16px}}.create-course-button{padding-inline:22px}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px;width:100%;display:grid}.course-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;width:100%;min-width:0;height:100%;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.course-card:hover{border-color:#c7d2fe;transform:translateY(-2px);box-shadow:0 8px 24px #0000000f}.course-card-cover{background:#f3f4f6;width:100%;height:160px;overflow:hidden}.course-card-cover img{object-fit:cover;width:100%;height:100%;transition:transform .25s;display:block}.course-card:hover .course-card-cover img{transform:scale(1.02)}.course-card-cover-placeholder{color:#4f46e5;background:#eef2ff;justify-content:center;align-items:center;width:100%;height:100%;font-size:38px;font-weight:700;display:flex}.course-card-content{flex-direction:column;flex:1;min-width:0;padding:20px;display:flex}.course-card-content h2{color:#1f2937;margin:0 0 8px;font-size:18px}.course-card-content p{color:#6b7280;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.course-visibility{color:#6b7280;align-items:center;gap:5px;width:fit-content;margin-bottom:12px;font-size:12px;font-weight:500;display:flex}.course-visibility svg{flex-shrink:0;width:14px;height:14px}.course-card-footer{color:#9ca3af;justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:20px;font-size:13px;display:flex}.course-card-footer>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.course-link{color:#4f46e5;flex-shrink:0;font-weight:600}@media (width<=1000px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.course-grid{grid-template-columns:1fr}.course-card-cover{height:180px}}.catalog-toolbar{align-items:center;gap:12px;margin-bottom:28px;display:flex}.catalog-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:10px;flex:1;align-items:center;gap:10px;max-width:520px;height:44px;padding:0 14px;display:flex}.catalog-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.catalog-search input{color:#1f2937;background:0 0;border:none;outline:none;width:100%;font-size:14px}.catalog-search input::placeholder{color:#9ca3af}.catalog-search input:disabled{cursor:not-allowed}.catalog-filter-button{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;justify-content:center;align-items:center;gap:7px;height:44px;padding:0 14px;font-weight:600;display:inline-flex}.catalog-filter-button:hover:not(:disabled){color:#4f46e5;border-color:#6366f1}.catalog-filter-button:disabled{opacity:.55;cursor:not-allowed}.catalog-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:26px}.catalog-section-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.catalog-section-header h2{color:#111827;margin:0 0 5px;font-size:20px}.catalog-section-header p{color:#6b7280;margin:0;font-size:14px}.catalog-empty{text-align:center;background:#fafafa;border:1px dashed #d1d5db;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:48px;display:flex}.catalog-empty>svg{color:#9ca3af;margin-bottom:14px}.catalog-empty h3{color:#374151;margin:0 0 8px;font-size:17px}.catalog-empty p{color:#6b7280;max-width:420px;margin:0;font-size:14px;line-height:1.5}@media (width<=768px){.catalog-toolbar{flex-direction:column;align-items:stretch}.catalog-search{max-width:none}.catalog-filter-button{width:fit-content}}.create-course-form .form-field{min-width:0}.create-course-form .form-field-control input,.create-course-form .form-field-control textarea{box-sizing:border-box;width:100%}.create-course-form .form-field--error input,.create-course-form .form-field--error textarea{border-color:#dc2626}.create-course-form .form-field--error input:focus,.create-course-form .form-field--error textarea:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.catalog-filter-wrapper{flex-shrink:0;position:relative}.catalog-filter-button--active{color:#4f46e5;background:#eef2ff;border-color:#a5b4fc}.catalog-search-clear{color:#9ca3af;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex}.catalog-search-clear:hover{color:#374151}.catalog-filter-popover{z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:290px;padding:18px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #1118271f}.catalog-filter-popover h3{color:#1f2937;margin:0 0 17px;font-size:14px}.catalog-filter-field{color:#374151;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;display:flex}.catalog-filter-field select{width:100%;font:inherit;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px}.catalog-filter-checkbox{color:#374151;cursor:pointer;align-items:center;gap:9px;font-size:12px;display:flex}.catalog-filter-checkbox input{accent-color:#6366f1}.catalog-filter-actions{border-top:1px solid #e5e7eb;justify-content:space-between;gap:10px;margin-top:20px;padding-top:14px;display:flex}.catalog-filter-actions button{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:600}.catalog-filter-actions button:disabled{opacity:.5;cursor:default}.catalog-results-count{color:#6b7280;font-size:12px}.catalog-reset-button{color:#4338ca;cursor:pointer;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;margin-top:12px;padding:10px 16px;font-size:13px;font-weight:600}@media (width<=600px){.catalog-filter-popover{width:min(290px,100vw - 32px)}}.course-overview{background:#fff;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:190px 1fr;gap:28px;margin-bottom:28px;padding:26px;display:grid}.course-cover{background:#f3f4f6;border-radius:12px;width:190px;height:150px;overflow:hidden}.course-cover img{object-fit:cover;width:100%;height:100%}.course-cover-placeholder{color:#4f46e5;background:#eef2ff;justify-content:center;align-items:center;width:100%;height:100%;font-size:42px;font-weight:700;display:flex}.course-overview-content{flex-direction:column;justify-content:space-between;min-width:0;display:flex}.course-overview-top{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.course-meta{color:#6b7280;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;display:flex}.course-overview h1{color:#111827;margin:0 0 12px;font-size:30px}.course-description{color:#6b7280;white-space:pre-line;max-width:760px;margin:0;font-size:15px;line-height:1.6}.course-created-date{color:#9ca3af;margin-top:20px;font-size:12px}.materials-list{flex-direction:column;display:flex}.material-item{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:24px;padding:18px 4px;display:flex}.material-item:first-child{padding-top:4px}.material-item:last-child{border-bottom:none;padding-bottom:4px}.material-main{justify-content:space-between;align-items:flex-start;gap:24px;min-width:0;display:flex}.material-type{color:#6b7280;text-align:center;background:#f3f4f6;border-radius:6px;min-width:74px;padding:5px 8px;font-size:11px;font-weight:600}.material-info{min-width:0}.material-info h3{color:#1f2937;margin:0 0 6px;font-size:15px;font-weight:600}.material-info p{color:#6b7280;margin:0;font-size:13px;line-height:1.5}.material-text-preview{-webkit-line-clamp:1;-webkit-box-orient:vertical;max-width:650px;display:-webkit-box;overflow:hidden}.material-url{text-overflow:ellipsis;white-space:nowrap;max-width:600px;overflow:hidden}.material-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.material-open-link{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:7px;justify-content:center;align-items:center;gap:6px;width:98px;height:34px;padding:0 11px;font-family:inherit;font-size:13px;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.material-open-link:hover{background:#eef2ff;border-color:#a5b4fc}.material-icon-button{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.material-icon-button:hover{color:#374151;background:#f3f4f6}.material-icon-button-danger{color:#dc2626}.material-icon-button-danger:hover{color:#b91c1c;background:#fef2f2}@media (width<=768px){.course-overview{grid-template-columns:1fr}.course-cover{width:100%;height:190px}.material-item{flex-direction:column;align-items:flex-start}.material-actions{justify-content:flex-end;width:100%}}button.back-link{font:inherit;cursor:pointer;background:0 0;border:none;padding:0}.back-link{color:#6b7280;margin-bottom:24px;font-size:14px;display:inline-block}.back-link:hover{color:#4f46e5}.course-details-header{justify-content:space-between;align-items:flex-start;margin-bottom:32px;display:flex}.course-label{color:#4f46e5;margin-bottom:10px;font-size:13px;font-weight:600;display:inline-block}.course-details-header h1{margin:0 0 10px;font-size:32px}.course-details-header p{color:#6b7280;margin:0}.secondary-button{cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:10px 16px;font-weight:600}.secondary-button:hover{color:#4f46e5;border-color:#6366f1}.course-statistics{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:32px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:8px;padding:22px;display:flex}.stat-card span{color:#6b7280;font-size:14px}.stat-card strong{font-size:28px}.content-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:20px;padding:26px}.section-header{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.section-header h2{margin:0 0 5px}.section-header p{color:#6b7280;margin:0;font-size:14px}.empty-state{text-align:center;background:#fafafa;border:1px dashed #d1d5db;border-radius:14px;padding:52px}.empty-state h3{margin:0 0 8px}.empty-state p{color:#6b7280;margin:0}.participants-loading{color:#6b7280;padding:28px 0;font-size:14px}.participants-error{margin-bottom:20px}.participants-block+.participants-block{border-top:1px solid #e5e7eb;margin-top:28px;padding-top:28px}.participants-subheader{align-items:center;gap:10px;margin-bottom:14px;display:flex}.participants-subheader h3{color:#111827;margin:0;font-size:16px;font-weight:600}.participants-subheader span{color:#6b7280;background:#f3f4f6;border-radius:999px;justify-content:center;align-items:center;min-width:24px;height:24px;padding-inline:7px;font-size:12px;font-weight:600;display:flex}.participants-list{flex-direction:column;gap:10px;display:flex}.participant-item{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.participant-info{align-items:center;gap:12px;min-width:0;display:flex}.participant-avatar,.participant-invitation-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:13px;font-weight:700;display:flex}.participant-invitation-avatar{color:#6b7280;background:#f3f4f6}.participant-info h4{color:#111827;margin:0;font-size:14px;font-weight:600}.participant-info p{color:#6b7280;margin:3px 0 0;font-size:13px}.participant-icon-button{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.participant-icon-button:hover:not(:disabled){color:#111827;background:#f9fafb;border-color:#d1d5db}.participant-icon-button-danger:hover:not(:disabled){color:#dc2626;background:#fef2f2;border-color:#fecaca}.participant-icon-button:disabled{opacity:.5;cursor:not-allowed}.participants-empty{color:#6b7280;text-align:center;border:1px dashed #d1d5db;border-radius:10px;padding:22px;font-size:14px}.invitation-meta{color:#9ca3af;flex-wrap:wrap;align-items:center;gap:8px;margin-top:5px;font-size:12px;display:flex}.invitation-status{font-weight:600}.invitation-status-1{color:#d97706}.invitation-status-2{color:#16a34a}.invitation-status-3{color:#dc2626}.invitation-status-4,.invitation-status-5{color:#6b7280}@media (width<=640px){.participant-item,.participant-info{align-items:flex-start}}.invite-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.invite-modal-header h2{color:#111827;margin:0;font-size:20px}.invite-modal-header p{color:#6b7280;margin:6px 0 0;font-size:14px;line-height:1.5}.invite-modal-close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}.invite-modal-close:hover:not(:disabled){color:#111827;background:#f3f4f6}.invite-modal-close:disabled{opacity:.5;cursor:not-allowed}.invite-modal-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.invite-modal-backdrop{z-index:1000;background:#11182773;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.invite-modal{background:#fff;border-radius:14px;width:min(480px,100%);padding:24px;box-shadow:0 20px 50px #1118272e}.kg-course-entry{justify-content:space-between;align-items:center;gap:24px;display:flex}.kg-course-entry-info{align-items:center;gap:18px;min-width:0;display:flex}.kg-course-entry-icon{color:#4f46e5;background:#eef2ff;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.kg-course-entry-info h2{color:#111827;margin:0 0 6px;font-size:18px;font-weight:700}.kg-course-entry-info p{color:#6b7280;max-width:600px;margin:0;font-size:13px;line-height:1.6}.kg-course-entry-link{white-space:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:9px;font-size:13px;display:inline-flex}@media (width<=768px){.kg-course-entry{flex-direction:column;align-items:stretch}.kg-course-entry-info{align-items:flex-start}.kg-course-entry-link{width:100%}}.ka-course-entry-icon{color:#047857;background:#ecfdf5}.ka-course-entry-coming{color:#9ca3af;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;padding:8px 12px;font-size:12px;font-weight:600}@media (width<=768px){.ka-course-entry-coming{align-self:flex-start}}.material-item:target{background:#f5f6ff;border-radius:9px;outline:1px solid #c7d2fe;margin:0 -10px;padding-left:10px;padding-right:10px;scroll-margin-top:100px}.participant-avatar{overflow:hidden}.participant-avatar-image{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.participant-details{min-width:0}.participant-details h4,.participant-details p{overflow-wrap:anywhere}.participants-expand-button{color:#4f46e5;width:100%;font:inherit;cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;justify-content:center;align-items:center;gap:8px;margin-top:12px;padding:12px 16px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;display:flex}.participants-expand-button:hover{background:#eef2ff;border-color:#c7d2fe}.participants-expand-button:focus-visible{outline-offset:2px;outline:2px solid #6366f1}.material-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:620px;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 24px 60px #1118272e}.material-form{flex-direction:column;gap:22px;padding:26px 28px 28px;display:flex}.material-type-selector{background:#f3f4f6;border-radius:10px;grid-template-columns:repeat(3,1fr);padding:4px;display:grid}.material-type-option{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:7px;padding:10px;font-weight:600}.material-type-option:hover{color:#374151}.material-type-option.active{color:#4f46e5;background:#fff;box-shadow:0 1px 3px #00000014}.material-current-type{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:11px 13px;font-size:13px}.material-form textarea{resize:vertical;width:100%;font:inherit;color:#1f2937;border:1px solid #d1d5db;border-radius:10px;outline:none;padding:12px 14px}.material-form textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.file-upload-area{text-align:center;cursor:pointer;background:#fafafa;border:1px dashed #c7cdd6;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:120px;padding:20px;display:flex}.file-upload-area:hover{background:#f9f9ff;border-color:#818cf8}.file-upload-area strong{color:#4f46e5}.file-upload-area span{color:#9ca3af;font-size:12px}.current-file{color:#6b7280;margin-bottom:8px;font-size:13px}.confirm-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:430px;padding:28px;box-shadow:0 24px 60px #1118272e}.confirm-modal h2{color:#111827;margin:0 0 10px;font-size:21px}.confirm-modal p{color:#6b7280;margin:0 0 26px;font-size:14px;line-height:1.6}.danger-button{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:9px;padding:10px 16px;font-weight:600}.danger-button:hover{background:#b91c1c}.danger-button:disabled{opacity:.6;cursor:not-allowed}.text-material-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:760px;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 24px 60px #1118272e}.text-material-label{color:#6b7280;margin-bottom:6px;font-size:12px;font-weight:500;display:block}.text-material-content{color:#374151;padding:28px;font-size:15px;line-height:1.75}.text-material-content p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.text-material-empty{color:#9ca3af}.material-link-hint{color:#6b7280;margin-top:7px;font-size:12px;line-height:1.6;display:block}.material-snapshot-refresh{background:#f8faff;border:1px solid #e0e7ff;border-radius:11px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding:16px;display:flex}.material-snapshot-info{flex:200px;min-width:0}.material-snapshot-info strong{color:#374151;font-size:13px}.material-snapshot-info p{color:#6b7280;margin:6px 0 0;font-size:12px;line-height:1.6}.material-snapshot-refresh-button{color:#4f46e5;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:650;display:inline-flex}.material-snapshot-refresh-button:hover:not(:disabled){background:#eef2ff;border-color:#a5b4fc}.material-snapshot-refresh-button:disabled{opacity:.55;cursor:not-allowed}.material-refresh-spin{animation:1s linear infinite material-refresh-rotate}@keyframes material-refresh-rotate{to{transform:rotate(360deg)}}@media (width<=600px){.material-snapshot-refresh-button{width:100%}}.material-form .form-field--error input,.material-form .form-field--error textarea,.material-form .form-field--error select{border-color:#dc2626}.material-form .form-field--error input:focus,.material-form .form-field--error textarea:focus,.material-form .form-field--error select:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.file-upload-area--error{background:#fff7f7;border-color:#dc2626}.file-upload-area--error:hover{background:#fef2f2;border-color:#b91c1c}.file-upload-area--error strong{color:#dc2626}.file-upload-area:focus-within{outline-offset:2px;outline:2px solid #6366f1}.file-upload-area--error:focus-within{outline-color:#dc2626}.form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.form-field-label{color:#374151;font-size:13px;font-weight:600}.form-field-required{color:#dc2626;margin-left:4px}.form-field-control input,.form-field-control textarea,.form-field-control select{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:11px 13px;transition:border-color .15s,box-shadow .15s}.form-field-control input:focus,.form-field-control textarea:focus,.form-field-control select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.form-field--error .form-field-control input,.form-field--error .form-field-control textarea,.form-field--error .form-field-control select{border-color:#dc2626}.form-field--error .form-field-control input:focus,.form-field--error .form-field-control textarea:focus,.form-field--error .form-field-control select:focus{box-shadow:0 0 0 3px #dc26261f}.form-field-error{color:#dc2626;align-items:center;gap:6px;margin:0;font-size:12px;line-height:1.5;display:flex}.form-field-error svg{flex-shrink:0}.form-field-hint{color:#6b7280;margin:0;font-size:12px;line-height:1.5}.course-tests-section-header{gap:16px}.course-tests-section .section-header h2{color:#111827}.course-tests-create-button{flex-shrink:0;justify-content:center;align-items:center;gap:8px;font-size:14px;text-decoration:none;display:inline-flex}.course-tests-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.course-test-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;min-width:0;padding:20px;transition:border-color .15s,box-shadow .15s;display:flex}.course-test-card:hover{border-color:#c7d2fe;box-shadow:0 5px 22px #1118270b}.course-test-card-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.course-test-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.course-test-status{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.course-test-status--draft{color:#92400e;background:#fef3c7}.course-test-status--published{color:#166534;background:#dcfce7}.course-test-status--archived{color:#4b5563;background:#f3f4f6}.course-test-card h3{color:#111827;overflow-wrap:anywhere;margin:0 0 8px;font-size:17px;font-weight:650;line-height:1.4}.course-test-description{color:#6b7280;overflow-wrap:anywhere;white-space:pre-line;margin:0 0 18px;font-size:13px;line-height:1.6}.course-test-info{color:#6b7280;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto;padding-bottom:17px;font-size:12px;display:grid}.course-test-info span{overflow-wrap:anywhere;align-items:flex-start;gap:7px;min-width:0;display:flex}.course-test-info svg{flex-shrink:0;margin-top:1px}.course-test-deadline-expired{color:#b45309}.course-test-actions{border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;padding-top:14px;display:flex}.course-test-primary-link,.course-test-secondary-link{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:8px 12px;font-size:13px;font-weight:600;text-decoration:none;transition:background-color .15s;display:inline-flex}.course-test-primary-link{color:#fff;background:#4f46e5}.course-test-primary-link:hover{background:#4338ca}.course-test-secondary-link{color:#4f46e5;background:#eef2ff}.course-test-secondary-link:hover{background:#e0e7ff}.course-tests-state{color:#6b7280;text-align:center;background:#fafafa;border:1px dashed #d1d5db;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:40px 20px;font-size:14px;display:flex}.course-tests-state>svg{color:#818cf8}.course-tests-state h3{color:#111827;margin:2px 0 0;font-size:16px}.course-tests-state p{margin:0;line-height:1.6}.course-tests-state button{align-items:center;gap:8px;margin-top:5px;display:inline-flex}@media (width<=880px){.course-tests-grid{grid-template-columns:1fr}}@media (width<=560px){.course-tests-section-header{flex-direction:column;align-items:stretch}.course-tests-create-button{width:100%}.course-test-info{grid-template-columns:1fr}.course-test-card{padding:16px}}.course-test-status--available{color:#4f46e5;background:#eef2ff}.course-test-status--in-progress{color:#c2410c;background:#fff7ed}.course-test-status--completed{color:#15803d;background:#f0fdf4}.course-test-status--unavailable{color:#6b7280;background:#f3f4f6}.course-test-progress{background:#f9fafb;border:1px solid #e5e7eb;border-radius:11px;flex-direction:column;gap:12px;margin-top:18px;padding:16px;display:flex}.course-test-progress-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.course-test-progress-heading>span{color:#6b7280;align-items:center;gap:7px;font-size:12px;font-weight:600;display:inline-flex}.course-test-progress-heading>span svg{color:#6366f1}.course-test-progress-heading strong{color:#4f46e5;font-size:20px;font-weight:700}.course-test-progress-track{background:#e5e7eb;border-radius:999px;width:100%;height:7px;overflow:hidden}.course-test-progress-fill{border-radius:inherit;background:#6366f1;height:100%;transition:width .25s}.course-test-progress-score{color:#6b7280;font-size:12px}.course-test-progress-empty{color:#6b7280;align-items:center;gap:9px;font-size:13px;display:flex}.course-test-progress-empty svg{color:#9ca3af}.course-test-progress-details{border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.course-test-progress-details span{color:#6b7280;align-items:center;gap:6px;font-size:12px;display:inline-flex}.course-test-progress-details svg{color:#818cf8}@media (width<=640px){.course-test-progress{padding:13px}.course-test-progress-heading strong{font-size:18px}.course-test-progress-details{flex-direction:column;align-items:flex-start}}.course-settings-form{flex-direction:column;gap:24px;display:flex}.settings-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px}.settings-section h2{color:#111827;margin:0 0 22px;font-size:20px}.settings-section .form-group{margin-bottom:20px}.settings-section textarea{resize:vertical;width:100%;font:inherit;color:#1f2937;border:1px solid #d1d5db;border-radius:10px;outline:none;padding:12px 14px}.settings-section textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.visibility-setting{justify-content:space-between;align-items:center;gap:24px;padding-top:4px;display:flex}.visibility-setting strong{margin-bottom:5px;font-size:14px;display:block}.visibility-setting p{color:#6b7280;margin:0;font-size:13px}.course-image-settings{align-items:center;gap:24px;display:flex}.course-settings-image{background:#f3f4f6;border-radius:12px;flex-shrink:0;width:210px;height:140px;overflow:hidden}.course-settings-image img{object-fit:cover;width:100%;height:100%}.course-settings-image-placeholder{color:#4f46e5;background:#eef2ff;justify-content:center;align-items:center;width:100%;height:100%;font-size:40px;font-weight:700;display:flex}.course-image-actions{align-items:center;gap:12px;display:flex}.danger-link-button{color:#dc2626;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:10px 12px;font-weight:600}.danger-link-button:hover{background:#fef2f2}.settings-save-row{justify-content:flex-end;display:flex}.danger-zone{background:snow;border-color:#fecaca;justify-content:space-between;align-items:center;gap:24px;margin-top:24px;display:flex}.danger-zone h2{margin-bottom:6px}.danger-zone p{color:#6b7280;margin:0;font-size:13px}.archive-button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:9px;flex-shrink:0;padding:10px 16px;font-weight:600}.archive-button:hover{background:#fef2f2}.archive-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.course-image-settings,.danger-zone{flex-direction:column;align-items:flex-start}.course-settings-image{width:100%;height:190px}.course-image-actions{flex-wrap:wrap}}.archive-confirm-button{color:#fff;cursor:pointer;background:#b45309;border:none;border-radius:9px;padding:10px 16px;font-weight:600}.archive-confirm-button:hover{background:#92400e}.archive-confirm-button:disabled{opacity:.6;cursor:not-allowed}.course-settings-form .form-field{min-width:0}.course-settings-form .form-field-control input,.course-settings-form .form-field-control textarea{box-sizing:border-box;width:100%}.course-settings-form .form-field--error input,.course-settings-form .form-field--error textarea{border-color:#dc2626}.course-settings-form .form-field--error input:focus,.course-settings-form .form-field--error textarea:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.course-image-button--error{color:#dc2626;border-color:#dc2626}.course-image-button--error:hover{border-color:#b91c1c}.my-courses-tabs{background:#f3f4f6;border-radius:10px;align-items:center;gap:4px;width:fit-content;margin-bottom:26px;padding:4px;display:flex}.my-courses-tab{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 14px;font-size:14px;font-weight:600;display:inline-flex}.my-courses-tab:hover{color:#374151}.my-courses-tab.active{color:#4f46e5;background:#fff;box-shadow:0 1px 3px #11182714}.my-courses-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;padding:26px}.my-courses-section-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px;display:flex}.my-courses-section-header h2{color:#111827;margin:0 0 5px;font-size:20px}.my-courses-section-header p{color:#6b7280;margin:0;font-size:14px}.my-courses-section-header .primary-button{flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.my-courses-empty{text-align:center;background:#fafafa;border:1px dashed #d1d5db;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:42px;display:flex}.my-courses-empty>svg{color:#9ca3af;margin-bottom:14px}.my-courses-empty h3{color:#374151;margin:0 0 8px;font-size:17px}.my-courses-empty p{color:#6b7280;max-width:400px;margin:0 0 18px;font-size:14px;line-height:1.5}.my-courses-empty .secondary-button{justify-content:center;align-items:center;display:inline-flex}@media (width<=768px){.my-courses-tabs{width:100%;overflow-x:auto}.my-courses-tab{flex-shrink:0}.my-courses-section-header{flex-direction:column;align-items:flex-start}}.invitations-list{flex-direction:column;gap:12px;display:flex}.invitation-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px}.invitation-card-main{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.invitation-card-main h3{color:#111827;margin:0;font-size:16px;font-weight:600}.invitation-card-main p{color:#6b7280;margin:5px 0 0;font-size:14px}.invitation-card-footer{color:#9ca3af;border-top:1px solid #f3f4f6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;display:flex}.invitation-card-footer span{color:#9ca3af;padding-top:14px;font-size:14px}.invitation-badge{border-radius:999px;flex-shrink:0;padding:5px 9px;font-size:12px;font-weight:600}.invitation-badge-1{color:#d97706;background:#fffbeb}.invitation-badge-2{color:#16a34a;background:#f0fdf4}.invitation-badge-3{color:#dc2626;background:#fef2f2}.invitation-badge-4,.invitation-badge-5{color:#6b7280;background:#f3f4f6}@media (width<=640px){.invitation-card-main{flex-direction:column}}.invitation-card-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:16px;display:flex}@media (width<=640px){.invitation-card-actions{justify-content:stretch}.invitation-card-actions button{flex:1}}.invitation-page{background:#f9fafb;justify-content:center;align-items:center;min-height:calc(100vh - 70px);padding:32px 20px;display:flex}.invitation-page-card{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:min(620px,100%);padding:36px;box-shadow:0 12px 35px #11182714}.invitation-page-icon{color:#4f46e5;background:#eef2ff;border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 18px;display:flex}.invitation-page-card h1{color:#111827;margin:16px 0 8px;font-size:25px}.invitation-page-card h2{color:#4f46e5;margin:0;font-size:20px}.invitation-page-description{color:#6b7280;max-width:500px;margin:18px auto 0;font-size:14px;line-height:1.6}.invitation-page-meta{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:28px;display:grid}.invitation-page-meta>div{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.invitation-page-meta span{color:#9ca3af;margin-bottom:5px;font-size:12px;display:block}.invitation-page-meta strong{color:#374151;font-size:14px}.invitation-page-status{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.invitation-page-status-1{color:#d97706;background:#fffbeb}.invitation-page-status-2{color:#16a34a;background:#f0fdf4}.invitation-page-status-3{color:#dc2626;background:#fef2f2}.invitation-page-status-4,.invitation-page-status-5{color:#6b7280;background:#f3f4f6}@media (width<=640px){.invitation-page-card{padding:24px}.invitation-page-meta{grid-template-columns:1fr}}.invitation-page-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:28px;display:flex}.invitation-page-actions button{justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 20px;display:inline-flex}.invitation-page-actions button:disabled{opacity:.6;cursor:not-allowed}.invitation-auth-notice{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;align-items:flex-start;gap:12px;margin-top:24px;padding:16px;display:flex}.invitation-auth-notice p{margin:0;font-size:14px;line-height:1.6}.invitation-auth-notice svg{flex-shrink:0}.invitation-result{text-align:center;background:#f0fdf4;border-radius:10px;flex-direction:column;align-items:center;gap:16px;margin-top:28px;padding:20px;display:flex}.invitation-result p{margin:0;line-height:1.6}.invitation-result svg{color:#16a34a}.invitation-result .primary-button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.invitation-course-link{color:inherit;text-decoration:none;transition:color .2s}.invitation-course-link:hover{color:#4f46e5;text-decoration:underline}.invitation-page-back{color:#6b7280;margin-top:24px;font-size:14px;text-decoration:none;display:inline-block}.invitation-page-back:hover{color:#4f46e5}@media (width<=480px){.invitation-page-actions{flex-direction:column}.invitation-page-actions button{width:100%}}.invitation-result-declined{color:#6b7280;background:#f9fafb}.ai-generation-panel{flex-direction:column;gap:24px;display:flex}.ai-generation-intro{background:#f8faff;border:1px solid #e0e7ff;border-radius:12px;align-items:flex-start;gap:14px;padding:18px;display:flex}.ai-generation-intro>svg{color:#6366f1;flex-shrink:0;margin-top:2px}.ai-generation-intro h3,.ai-generation-job h3{color:#111827;margin:0 0 7px;font-size:16px}.ai-generation-intro p,.ai-generation-job-heading p{color:#6b7280;margin:0;font-size:13px;line-height:1.6}.ai-generation-field{flex-direction:column;gap:12px;display:flex}.ai-generation-field>strong{color:#111827;align-items:center;gap:8px;font-size:14px;display:inline-flex}.ai-generation-field>p{color:#6b7280;margin:0;font-size:12px}.ai-generation-materials{flex-direction:column;gap:10px;min-height:0;max-height:430px;padding:2px 6px 2px 2px;display:flex;overflow:hidden auto}.ai-generation-material{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:12px;padding:13px 15px;display:flex}.ai-generation-material:has(input:checked){background:#eef2ff;border-color:#a5b4fc}.ai-generation-material input,.ai-generation-difficulties input{accent-color:#4f46e5;flex-shrink:0;width:17px;height:17px}.ai-generation-material span{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;color:#374151;-webkit-box-orient:vertical;flex:auto;min-width:0;font-size:13px;font-weight:500;line-height:1.5;display:-webkit-box;overflow:hidden}.ai-generation-material small{color:#6b7280;font-size:11px}.ai-generation-difficulties{flex-wrap:wrap;gap:10px;display:flex}.ai-generation-difficulties label{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:9px;align-items:center;gap:9px;padding:12px 16px;font-size:13px;display:inline-flex}.ai-generation-difficulties label:has(input:checked){color:#4338ca;background:#eef2ff;border-color:#a5b4fc}.ai-generation-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ai-generation-counts label{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:8px;min-width:0;padding:15px;display:flex}.ai-generation-counts label span{color:#4b5563;font-size:12px}.ai-generation-counts input{box-sizing:border-box;color:#111827;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px}.ai-generation-counts input:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 3px #6366f11a}.ai-generation-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;padding-top:18px;display:flex}.ai-generation-job{flex-direction:column;gap:18px;display:flex}.ai-generation-job-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.ai-generation-job-heading h3{align-items:center;gap:9px;display:flex}.ai-generation-job-heading h3 svg{color:#6366f1}.ai-generation-spinner{color:#6366f1;animation:1.3s linear infinite ai-spin}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-generation-progress-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-generation-progress-heading span{color:#6b7280;font-size:13px}.ai-generation-progress-heading strong{color:#4f46e5;font-size:25px;font-weight:750}.ai-generation-progress-track{background:#e5e7eb;border-radius:999px;width:100%;height:10px;overflow:hidden}.ai-generation-progress-fill{border-radius:inherit;background:#6366f1;height:100%;transition:width .35s}.ai-generation-batch{color:#9ca3af;margin:-8px 0 0;font-size:12px}.ai-generation-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;align-items:flex-start;gap:9px;padding:13px 15px;font-size:13px;line-height:1.6;display:flex}.ai-generation-warning svg{flex-shrink:0}.ai-generation-finished{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;align-items:flex-start;gap:10px;padding:14px 16px;font-size:13px;line-height:1.5;display:flex}.ai-generation-finished svg{flex-shrink:0}.ai-generation-result{background:#f8faff;border:1px solid #c7d2fe;border-radius:12px;flex-direction:column;gap:18px;min-width:0;padding:20px;display:flex}.ai-generation-result-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-generation-result-heading h4{color:#3730a3;margin:0;font-size:16px;font-weight:700}.ai-generation-result-heading>span{color:#4f46e5;background:#e0e7ff;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:700}.ai-generation-result-note{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.ai-generation-result-loading{color:#4f46e5;background:#f8faff;border:1px solid #e0e7ff;border-radius:10px;align-items:center;gap:10px;padding:18px;font-size:13px;display:flex}.ai-generation-preview-list{flex-direction:column;gap:10px;display:flex}.ai-generation-preview-card{background:#fff;border:1px solid #e0e7ff;border-radius:10px;min-width:0;overflow:hidden}.ai-generation-preview-card--expanded{border-color:#a5b4fc}.ai-generation-preview-toggle{color:#111827;text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:14px;display:flex}.ai-generation-preview-toggle:hover{background:#fafaff}.ai-generation-preview-toggle>svg{color:#818cf8;flex-shrink:0}.ai-generation-preview-number{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:14px;font-weight:700;display:grid}.ai-generation-preview-info{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.ai-generation-preview-info strong{color:#111827;overflow-wrap:anywhere;font-size:13px;font-weight:650;line-height:1.5}.ai-generation-preview-info small{color:#6b7280;overflow-wrap:anywhere;font-size:11px;line-height:1.5}.ai-generation-preview-body{border-top:1px solid #e5e7eb;flex-direction:column;gap:13px;padding:16px;display:flex}.ai-generation-preview-section-title{color:#374151;font-size:13px}.ai-generation-preview-options{flex-direction:column;gap:8px;display:flex}.ai-generation-preview-option{color:#374151;overflow-wrap:anywhere;background:#fff;border:1px solid #e5e7eb;border-radius:9px;align-items:center;gap:10px;padding:11px 12px;font-size:13px;line-height:1.5;display:flex}.ai-generation-preview-option--correct{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.ai-generation-preview-option-letter{color:#6b7280;background:#f3f4f6;border-radius:7px;flex-shrink:0;place-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:grid}.ai-generation-preview-option--correct .ai-generation-preview-option-letter{color:#15803d;background:#dcfce7}.ai-generation-preview-option>span:nth-child(2){flex:1;min-width:0}.ai-generation-preview-option>svg{color:#16a34a;flex-shrink:0}.ai-generation-preview-source{background:#f8faff;border:1px solid #e0e7ff;border-radius:9px;padding:14px}.ai-generation-preview-source strong{color:#4338ca;font-size:12px}.ai-generation-preview-source p{color:#4b5563;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:12px;line-height:1.7}.ai-generation-preview-source small{color:#818cf8;font-size:11px}.ai-generation-result-actions{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.ai-generation-result-actions p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.ai-generation-next{background:#fafafa;border:1px solid #e5e7eb;border-radius:11px;flex-direction:column;gap:14px;padding:18px;display:flex}.ai-generation-next-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.ai-generation-next-heading strong{color:#111827;font-size:14px}.ai-generation-next-heading p{color:#6b7280;margin:6px 0 0;font-size:12px;line-height:1.6}.ai-generation-next-button{color:#4f46e5;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:650;display:inline-flex}.ai-generation-next-button:hover:not(:disabled){background:#eef2ff;border-color:#a5b4fc}.ai-generation-next-button:disabled{opacity:.5;cursor:not-allowed}.ai-generation-reset-confirm{background:#fff;border:1px solid #fecaca;border-radius:10px;flex-direction:column;gap:10px;padding:16px;display:flex}.ai-generation-reset-confirm strong{color:#991b1b;font-size:13px}.ai-generation-reset-confirm p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.ai-generation-reset-actions{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.ai-generation-retry{color:#92400e;font:inherit;cursor:pointer;background:#fff;border:1px solid #fcd34d;border-radius:7px;margin-left:auto;padding:5px 10px;font-size:12px;font-weight:600}@media (width<=680px){.ai-generation-result{padding:14px}.ai-generation-preview-toggle,.ai-generation-preview-body{padding:12px}.ai-generation-result-actions .test-btn,.ai-generation-next-button{width:100%}.ai-generation-reset-actions{flex-direction:column}.ai-generation-reset-actions .test-btn{width:100%}}.ai-generation-cancel,.ai-generation-reset{font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:8px;padding:6px 0;font-size:13px;font-weight:600;display:inline-flex}.ai-generation-cancel{color:#dc2626}.ai-generation-reset{color:#4f46e5}.ai-generation-cancel:disabled{color:#9ca3af;cursor:not-allowed}@media (width<=680px){.ai-generation-counts{grid-template-columns:1fr}.ai-generation-difficulties{flex-direction:column}.ai-generation-actions .test-btn,.ai-generation-result .test-btn{width:100%}.ai-generation-progress-heading strong{font-size:21px}}.ai-generation-material-card{background:#fff;border:1px solid #e5e7eb;border-radius:11px;flex:none;min-height:0;overflow:hidden}.ai-generation-material-card--selected{background:#fcfcff;border-color:#c7d2fe}.ai-generation-material-card .ai-generation-material{background:0 0;border:0;border-radius:0}.ai-generation-material-card .ai-generation-material:has(input:checked){background:#f8faff;border-color:#0000}.ai-generation-page-settings{border-top:1px solid #e0e7ff;flex-direction:column;gap:13px;padding:15px 18px 17px;display:flex}.ai-generation-page-toggle{color:#374151;cursor:pointer;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.ai-generation-page-toggle input{accent-color:#4f46e5;cursor:pointer;width:17px;height:17px;margin:0}.ai-generation-page-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.ai-generation-page-fields label{flex-direction:column;gap:7px;min-width:0;display:flex}.ai-generation-page-fields label span{color:#6b7280;font-size:12px;font-weight:500}.ai-generation-page-fields input{box-sizing:border-box;color:#111827;width:100%;min-height:43px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px}.ai-generation-page-fields input:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 3px #6366f11a}.ai-generation-page-fields input:disabled{cursor:not-allowed;background:#f9fafb}.ai-generation-page-hint{color:#818cf8;margin:0;font-size:12px;line-height:1.6}@media (width<=520px){.ai-generation-page-fields{grid-template-columns:1fr}.ai-generation-page-settings{padding:13px}}.ai-generation-material-row{align-items:center;gap:8px;min-width:0;min-height:56px;padding-right:12px;display:flex}.ai-generation-material-card .ai-generation-material{box-sizing:border-box;min-height:56px}.ai-generation-material-row .ai-generation-material{flex:auto;width:100%;min-width:0}.ai-generation-material small{white-space:nowrap;flex-shrink:0}.ai-generation-material-open{color:#4f46e5;background:#eef2ff;border:1px solid #e0e7ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.ai-generation-material-open:hover{background:#e0e7ff;border-color:#a5b4fc}.ai-generation-material-open:focus-visible{outline-offset:2px;outline:2px solid #6366f1}.test-create-page,.test-editor-page{padding-bottom:72px}.test-back-link{color:#6b7280;align-items:center;gap:7px;margin-bottom:25px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.test-back-link:hover{color:#4f46e5}.test-page-heading{align-items:flex-start;gap:18px;margin-bottom:28px;display:flex}.test-page-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:15px;flex:0 0 54px;place-items:center;width:54px;height:54px;display:grid}.test-eyebrow{color:#6366f1;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.test-page-heading h1{color:#111827;margin:0 0 7px;font-size:clamp(24px,3vw,30px);font-weight:750;line-height:1.25}.test-page-heading p{color:#6b7280;margin:0;font-size:14px;line-height:1.6}.test-page-notice{color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:26px;font-size:14px}.test-page-notice--error{color:#b91c1c;background:snow;border-color:#fecaca}.test-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:26px}.test-panel-heading{margin-bottom:24px}.test-panel-heading h2,.test-editor-summary h2,.test-editor-management h2{color:#111827;margin:0 0 7px;font-size:19px;font-weight:700}.test-panel-heading p{color:#6b7280;margin:0;font-size:14px;line-height:1.6}.test-settings-fields{flex-direction:column;gap:22px;display:flex}.test-field{flex-direction:column;gap:8px;min-width:0;display:flex}.test-field-label{color:#374151;font-size:13px;font-weight:650}.test-field-label span{color:#dc2626}.test-field input,.test-field textarea,.test-field select,.test-option-text-input{box-sizing:border-box;width:100%;max-width:100%;font:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:9px;outline:none;padding:11px 13px;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s;display:block}.test-field textarea{resize:vertical;min-height:95px}.test-field input:focus,.test-field textarea:focus,.test-field select:focus,.test-option-text-input:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11f}.test-field input:disabled,.test-field textarea:disabled,.test-field select:disabled,.test-option-text-input:disabled{color:#6b7280;cursor:default;background:#f9fafb}.test-field small{color:#9ca3af;align-self:flex-end;font-size:11px}.test-settings-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.test-setting-box{background:#fcfcfd;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;min-width:0;padding:18px;display:flex}.test-check-label{cursor:pointer;color:#1f2937;align-items:flex-start;gap:10px;font-size:14px;font-weight:650;display:flex}.test-check-label input{accent-color:#4f46e5;flex-shrink:0;width:17px;height:17px;margin:1px 0 0}.test-setting-box p{color:#6b7280;margin:10px 0 0;font-size:12px;line-height:1.55}.test-setting-input{margin-top:auto;padding-top:16px}.test-setting-input input{min-height:46px}.test-form-footnote{color:#4f46e5;background:#eef2ff;border-radius:9px;align-items:flex-start;gap:9px;margin-top:23px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.test-form-footnote svg{flex-shrink:0}.test-form-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.test-btn{box-sizing:border-box;min-height:40px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 17px;font-size:13px;font-weight:650;line-height:1.25;text-decoration:none;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.test-btn--primary{color:#fff;background:#4f46e5;border-color:#4f46e5}.test-btn--primary:hover:not(:disabled){background:#4338ca;border-color:#4338ca}.test-btn--secondary{color:#374151;background:#fff;border-color:#d1d5db}.test-btn--secondary:hover:not(:disabled){color:#4f46e5;background:#f8f9ff;border-color:#a5b4fc}.test-btn--danger{color:#fff;background:#dc2626;border-color:#dc2626}.test-btn--danger:hover:not(:disabled){background:#b91c1c}.test-btn--danger-outline{color:#dc2626;background:#fff;border-color:#fecaca}.test-btn--danger-outline:hover:not(:disabled){background:#fff1f2}.test-btn:disabled{opacity:.53;cursor:not-allowed}.test-btn--full{width:100%}.test-icon-btn{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.test-icon-btn:hover:not(:disabled){color:#374151;background:#f3f4f6}.test-icon-btn--danger:hover:not(:disabled){color:#dc2626;background:#fef2f2}.test-icon-btn:disabled{opacity:.35;cursor:not-allowed}@media (width<=700px){.test-panel{padding:18px}.test-settings-pair{grid-template-columns:1fr}.test-page-heading{gap:12px}.test-page-heading-icon{flex-basis:44px;width:44px;height:44px}.test-form-actions{flex-wrap:wrap}.test-form-actions .test-btn{flex:150px}}.test-editor-heading-content{flex:1;min-width:0}.test-editor-heading-top{flex-wrap:wrap;align-items:center;gap:11px;display:flex}.test-editor-status{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.test-editor-status--draft{color:#92400e;background:#fffbeb}.test-editor-status--published{color:#15803d;background:#f0fdf4}.test-editor-status--archived{color:#6b7280;background:#f3f4f6}.test-editor-locked-note{color:#4b5563;background:#f9fafb;border:1px solid #e5e7eb;border-radius:11px;align-items:center;gap:11px;margin:0 0 21px;padding:14px 16px;font-size:13px;line-height:1.5;display:flex}.test-editor-locked-note svg{flex-shrink:0}.test-editor-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:22px;display:grid}.test-editor-main{flex-direction:column;gap:22px;min-width:0;display:flex}.test-editor-sidebar{flex-direction:column;gap:18px;min-width:0;display:flex}.test-editor-sidebar .test-panel{padding:22px}.test-editor-summary h2,.test-editor-management h2{margin-bottom:18px;font-size:16px}.test-editor-summary-stat{color:#6b7280;border-bottom:1px solid #f3f4f6;align-items:center;gap:10px;padding:10px 0;font-size:13px;display:flex}.test-editor-summary-stat svg{color:#6366f1}.test-editor-summary-stat strong{color:#111827;margin-left:auto;font-size:15px}.test-editor-summary-divider{background:#e5e7eb;height:1px;margin:20px 0}.test-editor-unsaved-note{color:#b45309;margin:0 0 14px;font-size:12px;line-height:1.5}.test-editor-small-hint{text-align:center;color:#9ca3af;margin:12px 0 0;font-size:12px;line-height:1.5}.test-editor-management .test-btn+.test-btn{margin-top:10px}.test-editor-questions-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.test-heading-count{color:#6366f1;vertical-align:middle;background:#eef2ff;border-radius:999px;margin-left:4px;padding:4px 8px;font-size:13px}.test-questions-empty{text-align:center;background:#fcfcfd;border:1px dashed #d1d5db;border-radius:12px;padding:40px 12px}.test-questions-empty-icon{color:#6366f1;background:#eef2ff;border-radius:14px;place-items:center;width:55px;height:55px;margin:0 auto 12px;display:grid}.test-questions-empty h3{color:#1f2937;margin:0 0 8px;font-size:16px}.test-questions-empty p{color:#6b7280;margin:0 0 18px;font-size:13px}.test-editor-question-list{flex-direction:column;gap:14px;display:flex}.test-question-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px}.test-question-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px;display:flex}.test-question-identity{align-items:center;gap:10px;min-width:0;display:flex}.test-question-number{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:14px;font-weight:700;display:grid}.test-question-identity-text{flex-direction:column;gap:4px;display:flex}.test-question-kind{color:#374151;font-size:12px;font-weight:650}.test-question-points{color:#9ca3af;font-size:12px}.test-question-card-actions{flex-shrink:0;align-items:center;gap:1px;display:flex}.test-question-action-divider{background:#e5e7eb;width:1px;height:20px;margin:0 4px}.test-question-card h3{color:#1f2937;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;font-size:15px;font-weight:650;line-height:1.6}.test-preview-options{flex-direction:column;gap:8px;display:flex}.test-preview-option{color:#4b5563;overflow-wrap:anywhere;border:1px solid #e5e7eb;border-radius:9px;align-items:center;gap:10px;padding:9px 11px;font-size:13px;display:flex}.test-preview-option--correct{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.test-preview-indicator{border:1px solid #d1d5db;border-radius:50%;flex-shrink:0;place-items:center;width:17px;height:17px;display:grid}.test-preview-option--correct .test-preview-indicator{color:#fff;background:#16a34a;border-color:#16a34a}.test-preview-option small{color:#15803d;margin-left:auto;font-size:11px;font-weight:650}.test-modal-backdrop{z-index:2500;background:#1118278c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.test-modal{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:min(680px,100%);max-height:min(90vh,900px);overflow:hidden;box-shadow:0 22px 60px #11182738}.test-modal-header{border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:flex-start;gap:14px;padding:24px 26px 18px;display:flex}.test-modal-header h2{color:#111827;margin:0 0 6px;font-size:20px}.test-modal-header p{color:#6b7280;margin:0;font-size:13px;line-height:1.5}.test-question-modal{overflow-y:auto}.test-modal-body{flex-direction:column;gap:21px;padding:22px 26px;display:flex}.test-question-meta-fields{grid-template-columns:minmax(0,2fr) minmax(110px,1fr);gap:14px;display:grid}.test-options-heading h3{color:#111827;margin:0 0 6px;font-size:15px}.test-options-heading p{color:#6b7280;margin:0;font-size:12px}.test-option-drafts{flex-direction:column;gap:10px;display:flex}.test-option-draft{align-items:center;gap:10px;display:flex}.test-correct-choice{cursor:pointer;flex:0 0 22px;place-items:center;display:grid}.test-correct-choice input{accent-color:#4f46e5;cursor:pointer;width:17px;height:17px}.test-option-text-input{flex:auto;min-width:0}.test-add-option{color:#4f46e5;font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:7px;padding:4px 0;font-size:13px;font-weight:650;display:inline-flex}.test-add-option:hover{color:#4338ca}.test-add-option:disabled{opacity:.55;cursor:not-allowed}.test-inline-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;padding:12px 14px;font-size:13px}.test-modal-footer{background:#fff;border-top:1px solid #f3f4f6;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding:18px 26px 24px;display:flex}.test-confirm-modal{max-width:450px;padding:26px 26px 0;position:relative}.test-confirm-modal h2{color:#111827;margin:0 0 10px;font-size:20px}.test-confirm-modal p{color:#6b7280;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.6}.test-confirm-modal .test-modal-footer{border-top:none;padding:22px 0 26px}.test-confirm-icon{color:#4f46e5;background:#eef2ff;border-radius:12px;place-items:center;width:45px;height:45px;margin-bottom:17px;display:grid}.test-confirm-icon--danger{color:#dc2626;background:#fef2f2}.test-confirm-close{position:absolute;top:18px;right:18px}@media (width<=1050px){.test-editor-layout{grid-template-columns:minmax(0,1fr)}.test-editor-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (width<=700px){.test-editor-sidebar{grid-template-columns:minmax(0,1fr)}.test-modal-header{padding:20px 18px 16px}.test-modal-body{padding:18px}.test-modal-footer{padding:16px 18px 18px}.test-question-card{padding:14px}.test-question-card-header{flex-wrap:wrap}.test-question-card-actions{margin-left:auto}.test-editor-questions-heading>.test-btn{width:100%}.test-question-meta-fields{grid-template-columns:1fr}}.test-constructor-page{padding-bottom:76px}.test-constructor-page .test-page-heading{align-items:center}.test-constructor-status{color:#4b5563;background:#f9fafb;border:1px solid #e5e7eb;border-radius:999px;flex-shrink:0;margin-left:auto;padding:6px 12px;font-size:12px;font-weight:650}.test-constructor-form{flex-direction:column;gap:20px;display:flex}.test-constructor-method .test-dropdown{max-width:430px}.test-constructor-questions-heading{margin-bottom:20px}.test-constructor-questions-heading .test-panel-heading{margin-bottom:0}.test-constructor-questions{flex-direction:column;gap:12px;display:flex}.test-constructor-empty{text-align:center;color:#6b7280;background:#fafafa;border:1px dashed #d1d5db;border-radius:12px;margin-bottom:16px;padding:24px;font-size:14px}.test-constructor-add{color:#4f46e5;width:100%;min-height:58px;font:inherit;cursor:pointer;background:#f8faff;border:1.5px dashed #a5b4fc;border-radius:12px;justify-content:center;align-items:center;gap:9px;margin-top:16px;padding:13px;font-size:14px;font-weight:650;display:flex}.test-constructor-add:hover:not(:disabled){background:#eef2ff;border-color:#6366f1}.test-constructor-add:disabled{opacity:.5;cursor:not-allowed}.test-inline-question{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:0;overflow:visible}.test-inline-question--expanded{border-color:#c7d2fe;box-shadow:0 3px 16px #4f46e50f}.test-inline-question-header{align-items:stretch;gap:10px;padding:12px;display:flex}.test-inline-question-toggle{text-align:left;color:#111827;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:12px;padding:0;display:flex}.test-inline-question-toggle>svg{color:#6b7280;flex-shrink:0;margin-left:auto}.test-inline-question-number{color:#4f46e5;background:#eef2ff;border-radius:9px;flex:0 0 34px;place-items:center;height:34px;font-size:14px;font-weight:700;display:grid}.test-inline-question-caption{flex-direction:column;gap:3px;min-width:0;display:flex}.test-inline-question-caption strong{overflow-wrap:anywhere;font-size:14px;font-weight:650}.test-inline-question-caption small{color:#6b7280;font-size:12px}.test-inline-question-actions{flex-shrink:0;align-items:center;display:flex}.test-inline-question-actions button,.test-inline-option>button{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.test-inline-question-actions button:hover:not(:disabled),.test-inline-option>button:hover:not(:disabled){color:#111827;background:#f3f4f6}.test-inline-question-actions .test-inline-delete:hover:not(:disabled),.test-inline-option>button:hover:not(:disabled){color:#dc2626;background:#fef2f2}.test-inline-question-actions button:disabled,.test-inline-option>button:disabled{opacity:.3;cursor:not-allowed}.test-inline-question-body{border-top:1px solid #e5e7eb;flex-direction:column;gap:20px;padding:22px;display:flex}.test-inline-options-head strong{color:#111827;font-size:14px}.test-inline-options-head p{color:#6b7280;margin:5px 0 0;font-size:12px}.test-inline-options{flex-direction:column;gap:10px;display:flex}.test-inline-option{align-items:center;gap:12px;display:flex}.test-inline-option>input[type=checkbox],.test-inline-option>input[type=radio]{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:18px;height:18px}.test-inline-option>input:disabled{cursor:default}.test-constructor-footer{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;display:flex}.test-constructor-footer-hint{color:#6b7280;font-size:13px}.test-constructor-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.test-dropdown{width:100%;min-width:0;position:relative}.test-dropdown-trigger{box-sizing:border-box;color:#111827;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:11px 16px;font-size:14px;display:flex}.test-dropdown-trigger svg{color:#6b7280;flex-shrink:0;transition:transform .15s}.test-dropdown--open .test-dropdown-trigger svg{transform:rotate(180deg)}.test-dropdown-trigger:hover:not(:disabled){border-color:#a5b4fc}.test-dropdown-trigger:focus-visible,.test-dropdown--open .test-dropdown-trigger{border-color:#818cf8;outline:none;box-shadow:0 0 0 3px #6366f11f}.test-dropdown-trigger:disabled{color:#6b7280;cursor:default;background:#f9fafb}.test-dropdown-menu{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-height:245px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #11182721}.test-dropdown-option{color:#374151;text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;font-size:13px;display:flex}.test-dropdown-option--active:not(:disabled),.test-dropdown-option:hover:not(:disabled){color:#4338ca;background:#eef2ff}.test-dropdown-option[aria-selected=true]{color:#4f46e5;font-weight:700}.test-dropdown-option:disabled{color:#9ca3af;cursor:not-allowed}@media (width<=700px){.test-constructor-page .test-page-heading{flex-wrap:wrap;align-items:flex-start}.test-constructor-status{margin-left:0}.test-inline-question-header{flex-wrap:wrap}.test-inline-question-actions{margin-left:auto}.test-inline-question-body{padding:16px}.test-constructor-footer{flex-direction:column;align-items:stretch}.test-constructor-footer-actions .test-btn{flex:145px}}.test-question-ai-label{color:#6366f1;align-items:center;gap:5px;font-size:11px;font-weight:650;display:inline-flex}.test-question-ai-source{background:#f8faff;border:1px solid #e0e7ff;border-radius:10px;padding:16px}.test-question-ai-source strong{color:#4338ca;font-size:13px}.test-question-ai-source p{color:#4b5563;white-space:pre-line;margin:10px 0;font-size:13px;line-height:1.7}.test-question-ai-source small{color:#818cf8;font-size:11px}.test-constructor-page .form-field,.test-constructor-page .form-field-control{min-width:0}.test-constructor-page .form-field-control input,.test-constructor-page .form-field-control textarea{box-sizing:border-box;width:100%}.test-constructor-page .test-settings-fields>.form-field{width:100%}.test-constructor-page .test-setting-input{margin-top:14px}.test-inline-question--error{border-color:#fca5a5}.test-inline-question--error.test-inline-question--expanded{border-color:#ef4444;box-shadow:0 0 0 2px #dc26260f}.test-inline-question--error .test-inline-question-number{color:#dc2626;background:#fef2f2}.test-question-validation-label{align-items:center;font-size:12px;font-weight:600;display:inline-flex;color:#dc2626!important}.test-inline-question-body .form-field--error input,.test-inline-question-body .form-field--error textarea{border-color:#dc2626}.test-inline-question-body .form-field--error input:focus,.test-inline-question-body .form-field--error textarea:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.test-inline-option-field{flex-direction:column;flex:auto;gap:5px;min-width:0;display:flex}.test-inline-option-field .test-option-text-input{box-sizing:border-box;width:100%}.test-inline-option-field .test-option-text-input--error{background:snow;border-color:#dc2626}.test-inline-option-field .test-option-text-input--error:focus{border-color:#dc2626;outline:none;box-shadow:0 0 0 3px #dc26261f}.test-constructor-page .form-field-error{color:#dc2626;align-items:flex-start;gap:6px;margin:0;font-size:12px;line-height:1.5;display:flex}.test-constructor-page .form-field-error svg{flex-shrink:0}@media (width<=600px){.test-inline-option{gap:8px}.test-inline-option-field{min-width:0}}.test-constructor-questions-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.test-constructor-questions-heading .test-btn{flex-shrink:0}@media (width<=600px){.test-constructor-questions-heading{flex-direction:column;align-items:stretch}.test-constructor-questions-heading .test-btn{width:100%}}.test-constructor-validation-hint{color:#dc2626;align-items:center;gap:7px;font-size:13px;font-weight:500;display:inline-flex}.test-knowledge-field{background:#fafbff;border:1px solid #e0e7ff;border-radius:12px;flex-direction:column;gap:15px;padding:19px;display:flex}.test-knowledge-heading{align-items:flex-start;gap:12px;display:flex}.test-knowledge-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;place-items:center;width:37px;height:37px;display:grid}.test-knowledge-heading>div{flex:1;min-width:0}.test-knowledge-heading h4{color:#1f2937;margin:0 0 5px;font-size:14px;font-weight:700}.test-knowledge-heading p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.test-knowledge-count{color:#4f46e5;background:#fff;border:1px solid #e0e7ff;border-radius:7px;flex-shrink:0;padding:6px 9px;font-size:11px;font-weight:600}.test-knowledge-selected{flex-wrap:wrap;gap:8px;display:flex}.test-knowledge-chip{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;align-items:center;gap:7px;max-width:100%;padding:7px 9px 7px 11px;font-size:12px;font-weight:600;display:inline-flex}.test-knowledge-chip>span{overflow-wrap:anywhere;min-width:0}.test-knowledge-chip button{color:#6366f1;cursor:pointer;background:0 0;border:none;border-radius:5px;flex-shrink:0;place-items:center;width:21px;height:21px;padding:0;display:grid}.test-knowledge-chip button:hover{color:#312e81;background:#e0e7ff}.test-knowledge-chip--missing{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.test-knowledge-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:10px;height:42px;padding:0 12px;display:flex}.test-knowledge-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.test-knowledge-search input{color:#1f2937;width:100%;min-width:0;height:100%;font:inherit;background:0 0;border:none;outline:none;flex:1;padding:0;font-size:13px}.test-knowledge-list{flex-direction:column;gap:7px;max-height:260px;display:flex;overflow-y:auto}.test-knowledge-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:9px;align-items:flex-start;gap:11px;padding:11px 13px;display:flex}.test-knowledge-option:hover{border-color:#c7d2fe}.test-knowledge-option--selected{background:#f5f6ff;border-color:#a5b4fc}.test-knowledge-option>input{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin:2px 0 0}.test-knowledge-option-info{flex-direction:column;gap:4px;min-width:0;display:flex}.test-knowledge-option-info strong{color:#1f2937;font-size:12px;font-weight:600}.test-knowledge-option-info small{-webkit-line-clamp:2;color:#9ca3af;-webkit-box-orient:vertical;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.test-knowledge-message,.test-knowledge-no-results{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.test-knowledge-no-results{text-align:center;padding:18px}.test-knowledge-empty{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:13px 15px}.test-knowledge-empty p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.test-knowledge-empty a{color:#4f46e5;margin-top:9px;font-size:12px;font-weight:600;text-decoration:none;display:inline-block}.test-knowledge-empty a:hover{text-decoration:underline}.test-knowledge-warning{color:#b45309;margin:0;font-size:12px;line-height:1.6}@media (width<=600px){.test-knowledge-field{padding:14px}.test-knowledge-heading{flex-wrap:wrap}.test-knowledge-count{margin-left:49px}.test-knowledge-option{padding:10px}}.test-ai-concepts-offer{background:#f8faff;border:1px solid #c7d2fe;border-radius:13px;align-items:flex-start;gap:16px;margin-bottom:22px;padding:22px;display:flex}.test-ai-concepts-offer-icon,.test-ai-concepts-toolbar-icon,.test-concept-suggestion-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.test-ai-concepts-offer-content{flex:1;min-width:0}.test-ai-concepts-offer h3{color:#1f2937;margin:0 0 8px;font-size:16px}.test-ai-concepts-offer p{color:#6b7280;margin:0;font-size:13px;line-height:1.65}.test-ai-concepts-offer-actions{flex-wrap:wrap;gap:10px;margin-top:17px;display:flex}.test-ai-concepts-toolbar{background:#fafbff;border:1px solid #e0e7ff;border-radius:12px;flex-direction:column;gap:15px;margin:18px 0 23px;padding:19px;display:flex}.test-ai-concepts-toolbar-heading{align-items:flex-start;gap:13px;display:flex}.test-ai-concepts-toolbar-heading h3{color:#1f2937;margin:0 0 6px;font-size:14px}.test-ai-concepts-toolbar-heading p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.test-ai-concepts-toolbar-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.test-ai-concepts-counter{color:#6b7280;font-size:12px}.test-ai-concepts-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;margin:0;padding:11px 13px;font-size:12px;line-height:1.65}.test-ai-concepts-progress{color:#4338ca;background:#eef2ff;border-radius:9px;align-items:center;gap:10px;padding:12px 14px;font-size:12px;font-weight:600;line-height:1.5;display:flex}.test-ai-concepts-spinner{flex-shrink:0;animation:1s linear infinite test-ai-concepts-spin}@keyframes test-ai-concepts-spin{to{transform:rotate(360deg)}}.test-ai-concepts-confirm{background:#fff;border:1px solid #c7d2fe;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:15px;display:flex}.test-ai-concepts-confirm strong{color:#312e81;font-size:13px}.test-ai-concepts-confirm p,.test-ai-concepts-footnote{color:#6b7280;margin:5px 0 0;font-size:11px;line-height:1.6}.test-concept-suggestion{background:#f8faff;border:1px solid #c7d2fe;border-radius:12px;flex-direction:column;gap:13px;margin-top:16px;padding:17px;display:flex}.test-concept-suggestion-header{align-items:center;gap:12px;display:flex}.test-concept-suggestion-header>div{flex:1;min-width:0}.test-concept-suggestion-header h4{color:#312e81;margin:0 0 5px;font-size:13px}.test-concept-suggestion-header p{color:#6b7280;margin:0;font-size:11px}.test-concept-suggestion-status{color:#4f46e5;background:#eef2ff;border-radius:7px;flex-shrink:0;padding:6px 9px;font-size:10px;font-weight:600}.test-concept-suggestion-chips{flex-wrap:wrap;gap:7px;display:flex}.test-concept-suggestion-chip{color:#4338ca;background:#fff;border:1px solid #c7d2fe;border-radius:8px;align-items:center;gap:8px;max-width:100%;padding:8px 10px;font-size:12px;font-weight:600;display:inline-flex}.test-concept-suggestion-chip button{color:#6366f1;cursor:pointer;background:0 0;border:none;place-items:center;padding:2px;display:grid}.test-concept-suggestion-edit{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #e0e7ff;border-radius:8px;align-self:flex-start;align-items:center;gap:8px;padding:8px 11px;font-size:12px;font-weight:600;display:inline-flex}.test-concept-suggestion-picker{flex-direction:column;gap:9px;display:flex}.test-concept-suggestion-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:9px;height:40px;padding:0 12px;display:flex}.test-concept-suggestion-search input{min-width:0;font:inherit;border:none;outline:none;flex:1;font-size:12px}.test-concept-suggestion-list{flex-direction:column;gap:5px;max-height:220px;display:flex;overflow-y:auto}.test-concept-suggestion-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.test-concept-suggestion-option>span{flex:1;min-width:0}.test-concept-suggestion-option input{accent-color:#4f46e5}.test-concept-suggestion-approve{color:#312e81;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:9px;align-items:center;gap:10px;padding:12px;font-size:12px;font-weight:600;display:flex}.test-concept-suggestion-approve input{accent-color:#4f46e5}.test-concept-suggestion-empty,.test-concept-suggestion-warning,.test-concept-suggestion-no-selection{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.test-concept-suggestion-warning{color:#b45309}.test-question-concept-ai-label{color:#4f46e5;align-items:center;gap:6px;margin-top:6px;font-size:11px;font-weight:600;display:inline-flex}@media (width<=600px){.test-ai-concepts-offer,.test-ai-concepts-toolbar,.test-concept-suggestion{padding:14px}.test-ai-concepts-offer{flex-direction:column}.test-ai-concepts-confirm{align-items:stretch}.test-ai-concepts-confirm>button{width:100%}.test-concept-suggestion-header{flex-wrap:wrap}}.test-ai-concept-bulk{background:#f8faff;border:1px solid #c7d2fe;border-radius:11px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:16px 0;padding:17px 19px;display:flex}.test-ai-concept-bulk>div{flex:1;min-width:220px}.test-ai-concept-bulk strong{color:#312e81;margin-bottom:6px;font-size:13px;display:block}.test-ai-concept-bulk p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.test-ai-concept-bulk button{flex-shrink:0}@media (width<=600px){.test-ai-concept-bulk button{width:100%}}.test-transfer-entry{background:#f8faff;border:1px solid #e0e7ff;border-radius:11px;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:18px;display:flex}.test-transfer-entry h3{color:#1f2937;margin:0 0 7px;font-size:14px}.test-transfer-entry p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.test-transfer-entry button{flex-shrink:0}.test-transfer-export-entry{justify-content:flex-end;margin-top:14px;display:flex}.test-transfer-backdrop{z-index:1100;background:#11182780;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.test-transfer-modal{background:#fff;border:1px solid #e5e7eb;border-radius:15px;width:min(490px,100%);max-height:calc(100vh - 32px);padding:25px;overflow-y:auto;box-shadow:0 20px 55px #1118272b}.test-transfer-modal--wide{width:min(850px,100%)}.test-transfer-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px;display:flex}.test-transfer-header h2{color:#111827;margin:0 0 7px;font-size:20px}.test-transfer-header p{color:#6b7280;margin:0;font-size:13px;line-height:1.6}.test-transfer-close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.test-transfer-close:hover{background:#f3f4f6}.test-transfer-field{flex-direction:column;gap:9px;display:flex}.test-transfer-field>span{color:#374151;font-size:13px;font-weight:600}.test-transfer-field select,.test-transfer-field input[type=file]{color:#374151;width:100%;min-height:43px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:13px}.test-transfer-upload{border:1px solid #e5e7eb;border-radius:11px;flex-direction:column;align-items:flex-start;gap:15px;padding:17px;display:flex}.test-transfer-upload .test-transfer-field{width:100%}.test-transfer-upload-bottom{color:#9ca3af;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;font-size:11px;display:flex}.test-transfer-template-link{color:#4f46e5;align-items:center;gap:7px;font-weight:600;text-decoration:none;display:inline-flex}.test-transfer-template-link:hover{text-decoration:underline}.test-transfer-warning,.test-transfer-error{border-radius:9px;margin:15px 0;padding:12px 14px;font-size:12px;line-height:1.65}.test-transfer-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.test-transfer-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.test-transfer-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0;display:grid}.test-transfer-summary>div{background:#f9fafb;border-radius:9px;flex-direction:column;gap:7px;padding:13px;display:flex}.test-transfer-summary span{color:#6b7280;font-size:11px}.test-transfer-summary strong{color:#111827;font-size:22px}.test-transfer-selection-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px;display:flex}.test-transfer-selection-header h3{margin:0;font-size:15px}.test-transfer-selection-header label{color:#4f46e5;cursor:pointer;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.test-transfer-rows{flex-direction:column;gap:10px;max-height:400px;padding-right:5px;display:flex;overflow-y:auto}.test-transfer-row{border:1px solid #e5e7eb;border-radius:10px;padding:15px}.test-transfer-row--invalid{background:snow;border-color:#fecaca}.test-transfer-row-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.test-transfer-row-heading label{align-items:flex-start;gap:10px;min-width:0;display:flex}.test-transfer-row-heading strong{color:#1f2937;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.test-transfer-row-heading>span{color:#6b7280;flex-shrink:0;font-size:11px}.test-transfer-row-meta{color:#9ca3af;flex-wrap:wrap;gap:8px 14px;margin:10px 0;font-size:11px;display:flex}.test-transfer-options{background:#f9fafb;border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.test-transfer-options p{color:#4b5563;overflow-wrap:anywhere;margin:0;font-size:12px}.test-transfer-row-warning,.test-transfer-row-error{margin:10px 0 0;font-size:12px;line-height:1.6}.test-transfer-row-warning{color:#b45309}.test-transfer-row-error{color:#dc2626}.test-transfer-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}@media (width<=700px){.test-transfer-entry{flex-direction:column;align-items:stretch}.test-transfer-entry button{width:100%}.test-transfer-modal{padding:17px}.test-transfer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.test-transfer-row-heading{flex-direction:column}.test-transfer-actions{flex-direction:column-reverse}.test-transfer-actions button{width:100%}}@keyframes teacher-results-spin{to{transform:rotate(360deg)}}@media (width<=980px){.teacher-results-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-student-main{flex-wrap:wrap}}@media (width<=640px){.teacher-results-heading{flex-wrap:wrap;align-items:flex-start}.teacher-results-heading-text h1{font-size:23px}.teacher-results-refresh{margin-left:auto}.teacher-results-panel{padding:17px}.teacher-results-panel-header{flex-direction:column;align-items:stretch}.teacher-results-search{width:100%}.teacher-student-main{gap:12px}.teacher-student-identity{flex-basis:calc(100% - 110px)}.teacher-student-metric{flex:1}.teacher-student-attempts{padding:14px}.teacher-student-attempts-heading{flex-direction:column;align-items:flex-start}}.teacher-attempt-page{padding-bottom:70px}.teacher-attempt-heading{align-items:center;gap:17px;margin-bottom:25px;display:flex}.teacher-attempt-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:13px;flex-shrink:0;place-items:center;width:55px;height:55px;display:grid}.teacher-attempt-heading span{color:#6366f1;font-size:12px;font-weight:700}.teacher-attempt-heading h1{color:#111827;margin:5px 0;font-size:26px}.teacher-attempt-heading p{color:#9ca3af;margin:0;font-size:13px}.teacher-attempt-student-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;align-items:center;gap:18px;margin-bottom:20px;padding:25px;display:flex}.teacher-attempt-student-icon{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;place-items:center;width:55px;height:55px;display:grid}.teacher-attempt-student-info{flex:1;min-width:0}.teacher-attempt-student-info h2{color:#111827;margin:0 0 8px;font-size:18px}.teacher-attempt-student-info p{color:#6b7280;overflow-wrap:anywhere;align-items:center;gap:7px;margin:0;font-size:13px;display:flex}.teacher-attempt-student-result{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.teacher-attempt-student-result span,.teacher-attempt-student-result small{color:#6b7280;font-size:12px}.teacher-attempt-student-result strong{color:#4f46e5;font-size:30px}.teacher-attempt-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.teacher-attempt-summary>div{background:#fff;border:1px solid #e5e7eb;border-radius:13px;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;padding:20px;display:flex}.teacher-attempt-summary svg{color:#6366f1}.teacher-attempt-summary span{color:#6b7280;font-size:13px}.teacher-attempt-summary strong{color:#111827;font-size:24px}.teacher-attempt-timeline{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-wrap:wrap;gap:30px;margin-bottom:28px;padding:23px 26px;display:flex}.teacher-attempt-timeline>div{flex-direction:column;flex:1;gap:8px;min-width:150px;display:flex}.teacher-attempt-timeline span{color:#6b7280;font-size:12px}.teacher-attempt-timeline strong{color:#111827;align-items:center;gap:6px;font-size:14px;display:inline-flex}.teacher-attempt-questions-heading{margin:0 0 20px}.teacher-attempt-questions-heading h2{color:#111827;margin:0 0 7px;font-size:21px}.teacher-attempt-questions-heading p{color:#6b7280;margin:0;font-size:13px}.teacher-attempt-questions{flex-direction:column;gap:17px;display:flex}.teacher-detail-question{background:#fff;border:1px solid #e5e7eb;border-radius:15px;padding:26px}.teacher-detail-question-heading{align-items:flex-start;gap:14px;margin-bottom:23px;display:flex}.teacher-detail-question-number{color:#4f46e5;background:#eef2ff;border-radius:9px;flex:0 0 35px;place-items:center;height:35px;font-size:14px;font-weight:700;display:grid}.teacher-detail-question-title{flex:1;min-width:0}.teacher-detail-question-title h3{color:#111827;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 8px;font-size:16px;line-height:1.5}.teacher-detail-question-title span{color:#9ca3af;font-size:12px}.teacher-detail-question-status{border-radius:7px;flex-shrink:0;padding:6px 10px;font-size:12px;font-weight:650}.teacher-detail-question-status--correct{color:#15803d;background:#f0fdf4}.teacher-detail-question-status--incorrect{color:#dc2626;background:#fef2f2}.teacher-detail-question-status--skipped{color:#6b7280;background:#f3f4f6}.teacher-detail-options{flex-direction:column;gap:10px;display:flex}.teacher-detail-option{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:13px;min-height:51px;padding:13px 16px;display:flex}.teacher-detail-option-icon{color:#9ca3af;flex-shrink:0;display:flex}.teacher-detail-option-text{color:#374151;white-space:pre-line;overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.teacher-detail-option-label{color:#6b7280;text-align:right;font-size:11px;font-weight:650}.teacher-detail-option--correct{background:#f0fdf4;border-color:#bbf7d0}.teacher-detail-option--correct .teacher-detail-option-icon,.teacher-detail-option--correct .teacher-detail-option-label{color:#15803d}.teacher-detail-option--incorrect{background:#fef2f2;border-color:#fecaca}.teacher-detail-option--incorrect .teacher-detail-option-icon,.teacher-detail-option--incorrect .teacher-detail-option-label{color:#dc2626}.teacher-detail-question-footer{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;margin-top:23px;padding-top:18px;display:flex}.teacher-detail-question-footer span{color:#6b7280;font-size:13px}.teacher-detail-question-footer strong{color:#111827;flex-shrink:0;font-size:14px}@media (width<=850px){.teacher-attempt-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.teacher-attempt-student-card{flex-wrap:wrap;padding:20px}.teacher-attempt-student-result{border-top:1px solid #e5e7eb;align-items:flex-start;width:100%;padding-top:15px}.teacher-attempt-heading h1{font-size:21px}.teacher-attempt-summary{gap:10px}.teacher-attempt-summary>div{padding:16px}.teacher-attempt-timeline,.teacher-detail-question{padding:18px}.teacher-detail-question-heading{flex-wrap:wrap}.teacher-detail-question-status{margin-left:49px}.teacher-detail-option{flex-wrap:wrap}.teacher-detail-option-label{text-align:left;margin-left:33px}.teacher-detail-question-footer{flex-direction:column;align-items:flex-start}}.student-attempt-result-card{background:#f8faff;border:1px solid #c7d2fe;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:26px;display:flex}.student-attempt-result-card-info{flex-direction:column;gap:8px;display:flex}.student-attempt-result-card-info>span{color:#6b7280;font-size:13px}.student-attempt-result-card-info>strong{color:#4f46e5;font-size:36px;font-weight:750}.student-attempt-result-card-info>p{color:#4b5563;margin:0;font-size:14px}.student-attempt-result-card-icon{color:#4f46e5;background:#e0e7ff;border-radius:16px;flex-shrink:0;place-items:center;width:64px;height:64px;display:grid}.attempt-result-ai-source{background:#f8faff;border:1px solid #e0e7ff;border-radius:11px;flex-direction:column;gap:10px;margin-top:16px;padding:18px;display:flex}.attempt-result-ai-source-heading{color:#4338ca;align-items:center;gap:9px;font-size:14px;display:flex}.attempt-result-ai-material{color:#374151;margin:0;font-size:13px;font-weight:600}.attempt-result-ai-source blockquote{color:#4b5563;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-left:3px solid #818cf8;border-radius:0 7px 7px 0;margin:0;padding:12px 14px;font-size:13px;line-height:1.8}.attempt-result-ai-source small,.attempt-result-ai-empty{color:#6b7280;font-size:12px}.attempt-result-ai-empty{margin:0}.attempt-result-text-answer{background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;gap:8px;margin-top:12px;padding:14px 16px;display:flex}.attempt-result-text-answer strong{color:#374151;font-size:13px}.attempt-result-text-answer p{color:#4b5563;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}@media (width<=640px){.student-attempt-result-card{padding:20px}.student-attempt-result-card-info>strong{font-size:29px}.student-attempt-result-card-icon{width:48px;height:48px}.attempt-result-ai-source{padding:14px}}@media (width<=900px){.student-test-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=580px){.student-test-hero{flex-direction:column;padding:20px}.student-test-hero h1{font-size:23px}.student-test-stats{gap:10px}.student-test-stat,.student-test-panel{padding:18px}.student-attempt-row{flex-wrap:wrap}.student-attempt-link{margin-left:auto}}@media (width<=600px){.student-attempt-actions{justify-content:flex-start;width:100%;margin-left:0}}@media (width<=900px){.student-test-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=580px){.student-test-hero{flex-direction:column;padding:20px}.student-test-hero h1{font-size:23px}.student-test-stats{gap:10px}.student-test-stat,.student-test-panel{padding:18px}.student-attempt-row{flex-wrap:wrap}.student-attempt-link{margin-left:auto}}@media (width<=600px){.student-attempt-actions{justify-content:flex-start;width:100%;margin-left:0}}.test-taking-page{padding-bottom:70px}.test-taking-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.test-taking-heading{align-items:center;gap:16px;min-width:0;display:flex}.test-taking-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:13px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.test-taking-heading span{color:#6366f1;font-size:12px;font-weight:650}.test-taking-heading h1{color:#111827;margin:5px 0 0;font-size:24px;line-height:1.3}.test-taking-status{color:#4f46e5;background:#eef2ff;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:12px;font-weight:650}.test-taking-progress-card,.test-taking-question-card,.test-taking-index-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:20px}.test-taking-progress-card{padding:22px 26px}.test-taking-progress-labels{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;font-size:14px;display:flex}.test-taking-progress-labels strong{color:#111827}.test-taking-progress-labels span{color:#6b7280}.test-taking-progress-track{background:#eef2ff;border-radius:999px;height:8px;overflow:hidden}.test-taking-progress-fill{border-radius:inherit;background:#6366f1;height:100%;transition:width .2s}.test-taking-question-card{padding:30px}.test-taking-question-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.test-taking-question-number{color:#4f46e5;font-size:13px;font-weight:700}.test-taking-question-points{color:#6b7280;background:#f3f4f6;border-radius:7px;padding:6px 11px;font-size:12px;font-weight:650}.test-taking-question-card h2{color:#111827;overflow-wrap:anywhere;white-space:pre-line;margin:0 0 12px;font-size:22px;line-height:1.5}.test-taking-question-hint{color:#6b7280;margin:0 0 25px;font-size:13px}.test-taking-options{flex-direction:column;gap:11px;display:flex}.test-taking-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:11px;align-items:flex-start;gap:15px;padding:18px 20px;transition:border-color .15s,background .15s;display:flex}.test-taking-option:hover{background:#fafaff;border-color:#a5b4fc}.test-taking-option--selected{background:#eef2ff;border-color:#818cf8}.test-taking-option input{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:18px;height:18px;margin:2px 0 0}.test-taking-option span{color:#374151;overflow-wrap:anywhere;white-space:pre-line;flex:1;min-width:0;font-size:14px;line-height:1.5}.test-taking-navigation{border-top:1px solid #e5e7eb;justify-content:space-between;gap:14px;margin-top:32px;padding-top:24px;display:flex}.test-taking-primary,.test-taking-secondary{min-height:44px;font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:11px 20px;font-size:14px;font-weight:650;display:inline-flex}.test-taking-primary{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.test-taking-primary:hover:not(:disabled){background:#4338ca}.test-taking-secondary{color:#374151;background:#fff;border:1px solid #d1d5db}.test-taking-secondary:hover:not(:disabled){color:#4f46e5;border-color:#818cf8}.test-taking-primary:disabled,.test-taking-secondary:disabled{opacity:.5;cursor:not-allowed}.test-taking-index-card{padding:24px 28px}.test-taking-index-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;display:flex}.test-taking-index-header h3{color:#111827;margin:0;font-size:16px}.test-taking-index-header span{color:#6b7280;font-size:12px}.test-taking-index-list{flex-wrap:wrap;gap:10px;display:flex}.test-taking-index-item{color:#6b7280;width:42px;height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:9px;place-items:center;padding:0;font-size:14px;font-weight:650;display:grid}.test-taking-index-item:hover:not(:disabled){color:#4f46e5;border-color:#818cf8}.test-taking-index-item--answered{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.test-taking-index-item--current{color:#fff;background:#4f46e5;border-color:#4f46e5}.test-taking-index-item--current:hover:not(:disabled){color:#fff}.test-taking-finish-link{color:#4f46e5;font:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;margin-top:24px;padding:0;font-size:13px;font-weight:650;display:inline-flex}.test-taking-finish-link:hover{color:#3730a3}@media (width<=640px){.test-taking-header,.test-taking-index-header{flex-direction:column;align-items:flex-start}.test-taking-heading h1{font-size:21px}.test-taking-progress-card,.test-taking-index-card,.test-taking-question-card{padding:19px}.test-taking-question-card h2{font-size:19px}.test-taking-option{padding:15px}.test-taking-navigation{gap:10px}.test-taking-primary,.test-taking-secondary{padding:10px 14px}}.student-test-page{padding-bottom:60px}.student-test-back{color:#6b7280;align-items:center;gap:8px;margin-bottom:24px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.student-test-back:hover{color:#4f46e5}.student-test-hero{background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:flex-start;gap:20px;margin-bottom:22px;padding:30px;display:flex}.student-test-hero-icon{color:#4f46e5;background:#eef2ff;border-radius:14px;flex:0 0 54px;place-items:center;height:54px;display:grid}.student-test-eyebrow{color:#6366f1;margin-bottom:8px;font-size:12px;font-weight:700;display:block}.student-test-hero h1{color:#111827;margin:0 0 10px;font-size:28px;line-height:1.3}.student-test-hero p{color:#6b7280;white-space:pre-line;margin:0;font-size:14px;line-height:1.7}.student-test-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.student-test-stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:20px;display:flex}.student-test-stat svg{color:#6366f1}.student-test-stat span{color:#6b7280;font-size:13px}.student-test-stat strong{color:#111827;overflow-wrap:anywhere;font-size:16px}.student-test-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:20px;padding:28px}.student-test-panel h2{color:#111827;margin:0 0 12px;font-size:20px}.student-test-panel>p{color:#6b7280;max-width:760px;margin:0 0 24px;font-size:14px;line-height:1.7}.student-test-primary{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:11px 20px;font-size:14px;font-weight:650;text-decoration:none;display:inline-flex}.student-test-primary:hover:not(:disabled){background:#4338ca}.student-test-primary:disabled{opacity:.6;cursor:not-allowed}.student-test-notice,.student-test-error{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:16px 18px;font-size:14px;line-height:1.6}.student-test-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.student-test-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.student-test-section-heading h2{margin:0 0 5px}.student-test-section-heading p{color:#6b7280;margin:0;font-size:13px}.student-test-empty{color:#9ca3af;background:#fafafa;border:1px dashed #d1d5db;border-radius:12px;flex-direction:column;align-items:center;gap:12px;padding:42px 20px;display:flex}.student-test-empty p{color:#6b7280;margin:0;font-size:14px}.student-attempts-list{flex-direction:column;display:flex}.student-attempt-row{border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;padding:17px 0;display:flex}.student-attempt-row:first-child{padding-top:0}.student-attempt-row:last-child{border-bottom:none;padding-bottom:0}.student-attempt-icon{color:#6366f1;background:#eef2ff;border-radius:11px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.student-attempt-info{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.student-attempt-info strong{color:#111827;font-size:14px}.student-attempt-info span{color:#6b7280;font-size:12px}.student-attempt-score{color:#4f46e5;font-size:18px}.student-attempt-link{color:#4f46e5;flex-shrink:0;align-items:center;gap:6px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.student-attempt-link:hover{color:#3730a3}@media (width<=900px){.student-test-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=580px){.student-test-hero{flex-direction:column;padding:20px}.student-test-hero h1{font-size:23px}.student-test-stats{gap:10px}.student-test-stat,.student-test-panel{padding:18px}.student-attempt-row{flex-wrap:wrap}.student-attempt-link{margin-left:auto}}.student-attempt-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;display:flex}.student-attempt-link--review{color:#4f46e5;font-weight:650}@media (width<=600px){.student-attempt-actions{justify-content:flex-start;width:100%;margin-left:0}}.test-result-page{padding-bottom:60px}.test-result-card{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;max-width:840px;margin:0 auto;padding:44px}.test-result-icon{color:#4f46e5;background:#eef2ff;border-radius:20px;place-items:center;width:68px;height:68px;margin:0 auto 18px;display:grid}.test-result-eyebrow{color:#16a34a;align-items:center;gap:7px;margin-bottom:14px;font-size:13px;font-weight:700;display:inline-flex}.test-result-card h1{color:#111827;margin:0 0 10px;font-size:30px}.test-result-description{color:#6b7280;margin:0;font-size:15px}.test-result-score-circle{background:#f8faff;border:12px solid #c7d2fe;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:210px;height:210px;margin:32px auto;display:flex}.test-result-score-circle strong{color:#4f46e5;font-size:43px;font-weight:750}.test-result-score-circle span{color:#6b7280;font-size:13px}.test-result-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:30px 0;display:grid}.test-result-summary>div{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:22px 16px;display:flex}.test-result-summary svg{color:#6366f1}.test-result-summary span{color:#6b7280;font-size:13px}.test-result-summary strong{color:#111827;font-size:16px}.test-result-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px;display:flex}.test-result-primary,.test-result-secondary{border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:11px 18px;font-size:14px;font-weight:650;text-decoration:none;display:inline-flex}.test-result-primary{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.test-result-primary:hover{background:#4338ca}.test-result-secondary{color:#374151;background:#fff;border:1px solid #d1d5db}.test-result-secondary:hover{color:#4f46e5;border-color:#818cf8}.test-result-note{text-align:center;color:#9ca3af;max-width:700px;margin:20px auto 0;font-size:12px;line-height:1.6}@media (width<=600px){.test-result-card{padding:24px 18px}.test-result-card h1{font-size:25px}.test-result-score-circle{width:180px;height:180px}.test-result-score-circle strong{font-size:36px}.test-result-summary{grid-template-columns:1fr}.test-result-primary,.test-result-secondary{width:100%}}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.kg-page{max-width:1480px}.kg-back-link{align-items:center;gap:8px;margin-bottom:26px;display:inline-flex}.kg-page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:26px;display:flex}.kg-eyebrow{color:#4f46e5;align-items:center;gap:7px;margin-bottom:10px;font-size:13px;font-weight:600;display:inline-flex}.kg-page-header h1{color:#111827;margin:0 0 9px;font-size:30px;font-weight:700}.kg-page-header p{color:#6b7280;max-width:700px;margin:0;font-size:14px;line-height:1.6}.kg-button-with-icon{white-space:nowrap;justify-content:center;align-items:center;gap:9px;font-size:13px;display:inline-flex}.kg-page button:disabled{cursor:not-allowed;opacity:.6}.kg-generation-banner{background:#f5f6ff;border:1px solid #c7d2fe;border-radius:14px;align-items:center;gap:18px;margin-bottom:22px;padding:21px 24px;display:flex}.kg-generation-banner-icon{color:#4f46e5;background:#fff;border:1px solid #e0e7ff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.kg-generation-banner-text{min-width:0}.kg-generation-banner-text strong{color:#312e81;margin-bottom:6px;font-size:15px;font-weight:700;display:block}.kg-generation-banner-text p{color:#6366f1;margin:0;font-size:13px;line-height:1.65}.kg-generation-banner-text span{color:#818cf8;margin-top:8px;font-size:12px;display:block}.kg-generation-banner--initial{text-align:center;flex-direction:column;justify-content:center;min-height:320px;padding:48px 26px}.kg-generation-banner--initial .kg-generation-banner-icon{border-radius:18px;width:68px;height:68px}.kg-generation-banner--initial .kg-generation-banner-text{max-width:440px}.kg-generation-banner--initial .kg-generation-banner-text strong{margin-bottom:10px;font-size:19px}@media (width<=600px){.kg-generation-banner:not(.kg-generation-banner--initial){align-items:flex-start;gap:13px;padding:17px}.kg-generation-banner-icon{width:44px;height:44px}}.kg-loading,.kg-empty-graph{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:400px;padding:48px 24px;display:flex}.kg-loading{color:#4f46e5;gap:15px}.kg-loading p{color:#6b7280;margin:0;font-size:14px}.kg-spin{animation:1.1s linear infinite kg-spin}@keyframes kg-spin{to{transform:rotate(360deg)}}.kg-empty-graph-icon{color:#4f46e5;background:#eef2ff;border-radius:20px;justify-content:center;align-items:center;width:76px;height:76px;margin-bottom:22px;display:flex}.kg-empty-graph h2{color:#111827;margin:0 0 12px;font-size:22px}.kg-empty-graph p{color:#6b7280;max-width:480px;margin:0 0 24px;font-size:14px;line-height:1.7}.kg-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.kg-status-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;align-items:flex-start;gap:13px;padding:18px 20px;display:flex}.kg-status-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.kg-status-card--success .kg-status-icon{color:#059669;background:#ecfdf5}.kg-status-card--warning .kg-status-icon{color:#d97706;background:#fffbeb}.kg-status-card strong{color:#111827;margin:1px 0 5px;font-size:14px;font-weight:600;display:block}.kg-status-card p{color:#6b7280;margin:0;font-size:12px;line-height:1.5}.kg-status-card .kg-status-additional{color:#b45309;margin-top:8px}.kg-statistics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.kg-statistics>div{background:#fff;border:1px solid #e5e7eb;border-radius:13px;flex-direction:column;gap:8px;padding:17px 20px;display:flex}.kg-statistics span{color:#6b7280;font-size:12px}.kg-statistics strong{color:#111827;font-size:25px;font-weight:700}.kg-workspace{background:#fff;border:1px solid #e5e7eb;border-radius:16px}.kg-workspace-header{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.kg-mode-switch{background:#f3f4f6;border-radius:10px;align-items:center;gap:4px;padding:4px;display:inline-flex}.kg-mode-switch button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:13px;font-weight:600;display:inline-flex}.kg-mode-switch button:hover{color:#4f46e5}.kg-mode-switch button.active{color:#4f46e5;background:#fff;box-shadow:0 1px 4px #11182714}.kg-workspace-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.kg-toolbar{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 22px;display:flex}.kg-search-wrapper{width:min(350px,100%);position:relative}.kg-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:10px;width:100%;height:40px;padding:0 13px;display:flex}.kg-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-search input{color:#111827;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:13px}.kg-search input::placeholder{color:#9ca3af}.kg-search-results{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-height:260px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 30px #1118271f}.kg-search-results button{color:#374151;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;width:100%;padding:11px 12px;font-size:13px;display:block}.kg-search-results button:hover{color:#4f46e5;background:#eef2ff}.kg-search-results p{color:#9ca3af;margin:0;padding:10px;font-size:13px}.kg-relation-filter{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;min-width:200px;height:40px;padding:0 12px;font-family:inherit;font-size:13px}.kg-relation-filter:focus{border-color:#6366f1;outline:none}.kg-workspace-content{grid-template-columns:minmax(0,1fr) 330px;min-height:650px;display:grid}.kg-canvas{background:#fafbff;border-right:1px solid #e5e7eb;width:100%;min-width:0;height:650px;position:relative}.kg-canvas .react-flow{width:100%;height:100%}.kg-canvas .react-flow__controls{border:1px solid #e5e7eb;border-radius:9px;overflow:hidden;box-shadow:0 2px 8px #1118270f}.kg-canvas .react-flow__minimap{background:#fff;border:1px solid #e5e7eb;border-radius:9px;overflow:hidden;box-shadow:0 2px 8px #1118270f}.kg-canvas .react-flow__node-knowledge{background:0 0;border:none;padding:0}.kg-canvas .react-flow__edge.selected path{stroke-width:3px}.kg-canvas-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:500px;padding:30px;display:flex}.kg-canvas-empty h3{margin:0;font-size:17px}.kg-canvas-empty p{color:#6b7280;max-width:330px;margin:0;font-size:13px;line-height:1.6}.kg-node{background:#fff;border:1.5px solid #d1d5db;border-radius:12px;flex-direction:column;justify-content:center;gap:5px;width:252px;height:114px;padding:14px 16px;transition:border-color .15s,box-shadow .15s,opacity .15s;display:flex;position:relative;box-shadow:0 3px 12px #1118270e}.kg-node:hover{border-color:#a5b4fc;box-shadow:0 5px 17px #4f46e51f}.kg-node--topic{background:#eef2ff;border-color:#a5b4fc;width:280px;height:132px}.kg-node--selected{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f,0 6px 16px #4f46e51a}.kg-node--dimmed:not(.kg-node--selected){opacity:.28}.kg-node-kind{color:#9ca3af;letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.kg-node--topic .kg-node-kind{color:#6366f1}.kg-node-title{-webkit-line-clamp:3;overflow-wrap:anywhere;color:#1f2937;-webkit-box-orient:vertical;min-width:0;font-size:13px;font-weight:700;line-height:1.4;display:-webkit-box;overflow:hidden}.kg-node-subtitle{white-space:nowrap;text-overflow:ellipsis;color:#9ca3af;font-size:10px;overflow:hidden}.kg-node--topic .kg-node-subtitle{color:#6366f1}.kg-node-handle{opacity:0;pointer-events:none;border:none!important;width:6px!important;height:6px!important}.kg-details-panel{background:#fff;flex-direction:column;min-width:0;height:650px;display:flex;overflow:hidden}.kg-details-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:15px;padding:22px;display:flex}.kg-details-category{color:#4f46e5;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.kg-details-header h3{color:#111827;margin:0;font-size:17px;line-height:1.4}.kg-icon-button{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex}.kg-icon-button:hover{color:#374151;background:#f3f4f6}.kg-details-body{flex:1;min-height:0;padding:22px;overflow-y:auto}.kg-details-section{margin-bottom:26px}.kg-details-section h4{color:#111827;align-items:center;gap:7px;margin:0 0 12px;font-size:13px;font-weight:700;display:flex}.kg-details-section p{color:#4b5563;white-space:pre-line;margin:0;font-size:13px;line-height:1.7}.kg-details-section .kg-details-muted{color:#9ca3af;font-size:12px}.kg-details-placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:28px;display:flex}.kg-details-placeholder-icon{color:#9ca3af;background:#f3f4f6;border-radius:16px;justify-content:center;align-items:center;width:58px;height:58px;margin-bottom:17px;display:flex}.kg-details-placeholder h3{margin:0 0 9px;font-size:16px}.kg-details-placeholder p{color:#9ca3af;margin:0;font-size:13px;line-height:1.7}.kg-detail-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;display:flex}.kg-detail-row span{color:#6b7280}.kg-detail-row strong{color:#111827;font-weight:600}.kg-manual-label{color:#6b7280;background:#f3f4f6;border-radius:7px;align-items:center;margin-bottom:22px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.kg-details-tags{flex-wrap:wrap;gap:7px;display:flex}.kg-topic-tag{color:#4f46e5;text-align:left;cursor:pointer;background:#eef2ff;border:1px solid #e0e7ff;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:600}.kg-topic-tag:hover{background:#e0e7ff}.kg-topic-concepts{flex-direction:column;gap:7px;display:flex}.kg-topic-concepts button{color:#374151;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;font-size:12px}.kg-topic-concepts button:hover{color:#4f46e5;background:#f8faff;border-color:#c7d2fe}.kg-relation-direction{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.kg-relation-direction button{color:#4f46e5;cursor:pointer;background:#eef2ff;border:1px solid #e0e7ff;border-radius:7px;padding:8px 10px;font-size:12px;font-weight:600}.kg-relation-direction button:hover{background:#e0e7ff}.kg-relation-direction>span{color:#6b7280;font-size:17px;font-weight:700}.kg-evidence-list{flex-direction:column;gap:12px;display:flex}.kg-evidence-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:14px}.kg-evidence-source{color:#4f46e5;overflow-wrap:anywhere;align-items:flex-start;gap:7px;margin-bottom:10px;font-size:11px;font-weight:700;display:flex}.kg-evidence-source svg{flex-shrink:0}.kg-evidence-card blockquote{color:#4b5563;white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid #c7d2fe;margin:0;padding-left:11px;font-size:12px;line-height:1.7}.kg-evidence-role{color:#6b7280;margin-bottom:9px;font-size:10px;font-weight:600;display:block}.kg-evidence-chunk{color:#9ca3af;margin-top:10px;font-size:10px;display:block}.kg-topics-unavailable{text-align:center;color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;min-height:460px;padding:40px 24px;display:flex}.kg-topics-unavailable h3{color:#111827;margin:18px 0 10px;font-size:18px}.kg-topics-unavailable p{color:#6b7280;max-width:450px;margin:0 0 22px;font-size:13px;line-height:1.7}.kg-workspace-footer{color:#9ca3af;border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:13px 22px;font-size:11px;display:flex}.kg-generation-dialog{max-width:600px}.kg-confirm-dialog{max-width:480px}.kg-modal-body{padding:24px 28px 28px}.kg-modal-body>p{color:#4b5563;font-size:13px;line-height:1.7}.kg-material-selection-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.kg-material-selection-header strong{color:#111827;font-size:14px}.kg-material-selection-header span{color:#6b7280;font-size:12px}.kg-material-options{flex-direction:column;gap:9px;max-height:340px;display:flex;overflow-y:auto}.kg-material-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:13px;padding:13px 14px;display:flex}.kg-material-option:hover{background:#fafbff;border-color:#c7d2fe}.kg-material-option--selected{background:#f5f6ff;border-color:#a5b4fc}.kg-material-option--disabled{opacity:.45;cursor:not-allowed}.kg-material-option input{accent-color:#4f46e5;cursor:pointer;flex-shrink:0}.kg-material-option-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:37px;height:37px;display:flex}.kg-material-option-text{flex-direction:column;gap:4px;min-width:0;display:flex}.kg-material-option-text strong{color:#111827;overflow-wrap:anywhere;font-size:13px;font-weight:600}.kg-material-option-text small{color:#9ca3af;font-size:11px}.kg-generation-note{color:#6b7280;margin:15px 0 0;font-size:12px;line-height:1.6}.kg-modal-empty{text-align:center;color:#9ca3af;padding:30px 16px}.kg-modal-empty h3{color:#111827;margin:10px 0 5px;font-size:15px}.kg-modal-empty p{color:#6b7280;margin:0;font-size:12px}.kg-modal-body .modal-actions{margin-top:24px}@media (width<=1100px){.kg-workspace-content{grid-template-columns:minmax(0,1fr)}.kg-canvas{border-bottom:1px solid #e5e7eb;border-right:none;height:560px}.kg-details-panel{height:auto;min-height:230px;max-height:500px}.kg-details-placeholder{min-height:230px}}@media (width<=768px){.kg-page-header{flex-direction:column;align-items:stretch;gap:18px}.kg-page-header h1{font-size:26px}.kg-status-grid{grid-template-columns:1fr}.kg-statistics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kg-statistics>div{padding:15px}.kg-statistics strong{font-size:22px}.kg-workspace-header{padding:15px}.kg-toolbar{padding:13px 15px}.kg-search-wrapper,.kg-relation-filter{width:100%}.kg-canvas{height:480px}.kg-workspace-footer{padding:13px 15px}}@media (width<=480px){.kg-mode-switch{width:100%}.kg-mode-switch button{flex:1;padding:10px 8px;font-size:11px}.kg-workspace-actions,.kg-workspace-actions button{width:100%}.kg-canvas{height:430px}.kg-details-header,.kg-details-body{padding:17px}.kg-modal-body{padding:20px}}.kg-node-kind,.kg-node-subtitle{flex-shrink:0}.kg-topic-concepts-description{line-height:1.5;margin-bottom:13px!important}.kg-details-actions{background:#fafbff;border-bottom:1px solid #e5e7eb;align-items:center;gap:9px;padding:12px 22px;display:flex}.kg-details-edit-button{flex:1;justify-content:center;align-items:center;gap:8px;min-height:38px;font-size:12px;display:inline-flex}.kg-details-delete-button{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;padding:0;display:inline-flex}.kg-details-delete-button:hover:not(:disabled){color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.kg-concept-dialog{max-width:620px}.kg-concept-form{flex-direction:column;gap:23px;padding:26px 28px 28px;display:flex}.kg-concept-form .form-group{gap:8px}.kg-concept-form .form-group label{color:#374151;font-size:13px;font-weight:600}.kg-required{color:#dc2626;margin-left:4px}.kg-concept-form input[type=text],.kg-concept-form textarea{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:12px 14px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.kg-concept-form textarea{resize:vertical;min-height:105px}.kg-concept-form input[type=text]:focus,.kg-concept-form textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-concept-form input:disabled,.kg-concept-form textarea:disabled{cursor:not-allowed;background:#f9fafb}.kg-field-footer{color:#9ca3af;justify-content:space-between;align-items:flex-start;gap:12px;font-size:11px;line-height:1.5;display:flex}.kg-field-footer span:last-child{flex-shrink:0}.kg-field-error{color:#dc2626;margin:0;font-size:12px;line-height:1.5}.kg-concept-topics-field{flex-direction:column;gap:12px;display:flex}.kg-form-section-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.kg-form-section-header h3{color:#111827;margin:0 0 6px;font-size:14px;font-weight:700}.kg-form-section-header p{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.kg-selection-counter{color:#4f46e5;background:#eef2ff;border-radius:7px;flex-shrink:0;padding:5px 9px;font-size:11px;font-weight:600}.kg-concept-topic-list{flex-direction:column;gap:8px;max-height:250px;padding:2px;display:flex;overflow-y:auto}.kg-concept-topic-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:flex-start;gap:12px;padding:13px 14px;transition:border-color .15s,background .15s;display:flex}.kg-concept-topic-option:hover{background:#fafbff;border-color:#c7d2fe}.kg-concept-topic-option--checked{background:#f5f6ff;border-color:#a5b4fc}.kg-concept-topic-option input{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin:2px 0 0}.kg-concept-topic-info{flex-direction:column;gap:5px;min-width:0;display:flex}.kg-concept-topic-info strong{color:#1f2937;font-size:12px;font-weight:600;line-height:1.4}.kg-concept-topic-info small{-webkit-line-clamp:2;color:#9ca3af;-webkit-box-orient:vertical;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.kg-concept-no-topics,.kg-concept-edit-note{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;align-items:flex-start;gap:11px;padding:14px 15px;display:flex}.kg-concept-no-topics svg,.kg-concept-edit-note svg{color:#6366f1;flex-shrink:0;margin-top:1px}.kg-concept-no-topics p,.kg-concept-edit-note p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.kg-delete-dialog{max-width:460px}.kg-delete-dialog-header{justify-content:space-between;align-items:flex-start;padding:25px 26px 0;display:flex}.kg-delete-warning-icon{color:#dc2626;background:#fef2f2;border-radius:13px;justify-content:center;align-items:center;width:50px;height:50px;display:flex}.kg-delete-dialog-content{padding:18px 26px 26px}.kg-delete-dialog-content h2{color:#111827;margin:0 0 11px;font-size:20px;font-weight:700}.kg-delete-dialog-content>p{color:#6b7280;margin:0;font-size:13px;line-height:1.75}.kg-delete-dialog-content .modal-actions{margin-top:28px}.kg-danger-button{color:#fff;cursor:pointer;background:#dc2626;border:1px solid #dc2626;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.kg-danger-button:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.kg-danger-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=600px){.kg-concept-form{gap:20px;padding:20px}.kg-details-actions{padding:12px 17px}.kg-delete-dialog-header{padding:20px 20px 0}.kg-delete-dialog-content{padding:18px 20px 22px}.kg-form-section-header{flex-direction:column;gap:9px}}.kg-relation-dialog{max-width:620px}.kg-relation-form{flex-direction:column;gap:20px;padding:25px 28px 28px;display:flex}.kg-relation-form .form-group{gap:8px}.kg-relation-form .form-group label{color:#374151;font-size:13px;font-weight:600}.kg-relation-form select{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;min-width:0;min-height:44px;padding:10px 13px;font-family:inherit;font-size:13px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.kg-relation-form select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-relation-form select:disabled{color:#9ca3af;cursor:not-allowed;background:#f9fafb}.kg-relation-swap-row{justify-content:center;align-items:center;margin:-7px 0;display:flex}.kg-relation-swap-button{color:#4f46e5;cursor:pointer;background:#f5f6ff;border:1px solid #e0e7ff;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-size:12px;font-weight:600;display:inline-flex}.kg-relation-swap-button:hover:not(:disabled){background:#eef2ff;border-color:#c7d2fe}.kg-relation-explanation{background:#f8faff;border:1px solid #e0e7ff;border-radius:11px;padding:16px 17px}.kg-relation-explanation-heading{align-items:center;gap:9px;margin-bottom:9px;display:flex}.kg-relation-explanation-heading strong{color:#312e81;font-size:13px;font-weight:700}.kg-relation-explanation>p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.kg-relation-preview{background:#fff;border:1px solid #e5e7eb;border-radius:9px;flex-wrap:wrap;justify-content:center;align-items:center;gap:11px;margin-top:16px;padding:13px;display:flex}.kg-relation-preview span{color:#4338ca;text-align:center;overflow-wrap:anywhere;background:#eef2ff;border-radius:7px;min-width:0;max-width:190px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.45}.kg-relation-preview>strong{color:#6366f1;flex-shrink:0;font-size:21px;font-weight:600}.kg-relation-validation{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 14px;display:flex}.kg-relation-validation svg{color:#d97706;flex-shrink:0;margin-top:1px}.kg-relation-validation p{color:#92400e;margin:0;font-size:12px;line-height:1.65}.kg-relation-edit-note{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 14px;display:flex}.kg-relation-edit-note svg{color:#6366f1;flex-shrink:0;margin-top:1px}.kg-relation-edit-note p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}@media (width<=600px){.kg-relation-form{gap:18px;padding:20px}.kg-relation-preview{gap:8px;padding:11px}.kg-relation-preview span{max-width:100%;font-size:11px}.kg-relation-explanation{padding:14px}}.kg-topic-dialog{max-width:690px}.kg-topic-form{flex-direction:column;gap:23px;padding:26px 28px 28px;display:flex}.kg-topic-form .form-group{gap:8px}.kg-topic-form .form-group label{color:#374151;font-size:13px;font-weight:600}.kg-topic-form input[type=text],.kg-topic-form textarea,.kg-topic-form select{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;min-width:0;padding:12px 14px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.kg-topic-form textarea{resize:vertical;min-height:96px}.kg-topic-form select{cursor:pointer}.kg-topic-form input[type=text]:focus,.kg-topic-form textarea:focus,.kg-topic-form select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-topic-form input:disabled,.kg-topic-form textarea:disabled,.kg-topic-form select:disabled{cursor:not-allowed;background:#f9fafb}.kg-topic-field-hint{color:#9ca3af;margin:0;font-size:11px;line-height:1.6}.kg-topic-concept-section{border-top:1px solid #e5e7eb;flex-direction:column;gap:13px;padding-top:21px;display:flex}.kg-topic-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:10px;height:42px;padding:0 13px;display:flex}.kg-topic-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-topic-search input{color:#111827;background:0 0;border:none;outline:none;flex:1;min-width:0;height:100%;padding:0;font-family:inherit;font-size:13px}.kg-topic-search input::placeholder{color:#9ca3af}.kg-topic-concept-list{flex-direction:column;gap:8px;max-height:290px;padding:2px;display:flex;overflow-y:auto}.kg-topic-concept-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:flex-start;gap:12px;padding:13px 14px;transition:border-color .15s,background .15s;display:flex}.kg-topic-concept-option:hover{background:#fafbff;border-color:#c7d2fe}.kg-topic-concept-option--checked{background:#f5f6ff;border-color:#a5b4fc}.kg-topic-concept-option input[type=checkbox]{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin:2px 0 0}.kg-topic-concept-option input[type=checkbox]:disabled{cursor:not-allowed;opacity:.7}.kg-topic-concept-info{flex-direction:column;gap:5px;min-width:0;display:flex}.kg-topic-concept-info strong{color:#1f2937;overflow-wrap:anywhere;font-size:13px;font-weight:600;line-height:1.45}.kg-topic-concept-info small{-webkit-line-clamp:2;color:#9ca3af;-webkit-box-orient:vertical;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.kg-topic-concept-info .kg-topic-required-label{color:#6366f1;font-weight:600}.kg-topic-no-results{color:#9ca3af;text-align:center;border:1px dashed #d1d5db;border-radius:10px;padding:26px 14px;font-size:13px}.kg-topic-coverage-note{background:#f5f6ff;border:1px solid #e0e7ff;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 14px;display:flex}.kg-topic-coverage-note svg{color:#6366f1;flex-shrink:0;margin-top:2px}.kg-topic-coverage-note p{color:#6366f1;margin:0;font-size:12px;line-height:1.65}.kg-topic-delete-info,.kg-topic-transfer-warning{background:#f5f6ff;border:1px solid #e0e7ff;border-radius:10px;align-items:flex-start;gap:11px;margin-top:19px;padding:13px 14px;display:flex}.kg-topic-delete-info svg,.kg-topic-transfer-warning svg{color:#6366f1;flex-shrink:0;margin-top:2px}.kg-topic-delete-info p,.kg-topic-transfer-warning p{color:#4b5563;margin:0;font-size:12px;line-height:1.65}.kg-topic-transfer{flex-direction:column;gap:18px;margin-top:4px;display:flex}.kg-topic-transfer-concepts{flex-direction:column;gap:11px;display:flex}.kg-topic-transfer-concepts>strong{color:#374151;font-size:13px;font-weight:600}.kg-topic-transfer-concepts>div{flex-wrap:wrap;gap:7px;max-height:140px;display:flex;overflow-y:auto}.kg-topic-transfer-concepts span{color:#4b5563;overflow-wrap:anywhere;background:#f3f4f6;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:500}.kg-topic-transfer .form-group{gap:9px}.kg-topic-transfer .form-group label{color:#374151;font-size:13px;font-weight:600}.kg-topic-transfer select{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;min-height:44px;padding:10px 13px;font-family:inherit;font-size:13px}.kg-topic-transfer select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}@media (width<=600px){.kg-topic-form{gap:19px;padding:20px}.kg-topic-concept-section{padding-top:18px}.kg-topic-concept-list{max-height:250px}.kg-topic-concept-option{padding:11px 12px}.kg-topic-transfer{gap:15px}.kg-topic-transfer-concepts>div{max-height:110px}}.kg-topics-nav{z-index:20;width:min(320px,100% - 32px);position:absolute;top:16px;left:16px}.kg-topics-nav-trigger{color:#374151;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:11px;align-items:center;gap:11px;width:100%;max-width:265px;min-height:58px;padding:10px 13px;display:flex;box-shadow:0 3px 14px #11182714}.kg-topics-nav-trigger:hover,.kg-topics-nav-trigger--active{border-color:#a5b4fc;box-shadow:0 4px 16px #4f46e51f}.kg-topics-nav-trigger-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.kg-topics-nav-trigger-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.kg-topics-nav-trigger-text strong{color:#1f2937;font-size:12px;font-weight:700}.kg-topics-nav-trigger-text small{color:#9ca3af;font-size:10px}.kg-topics-nav-chevron{color:#9ca3af;flex-shrink:0;transition:transform .2s}.kg-topics-nav-chevron--open{transform:rotate(180deg)}.kg-topics-nav-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;width:100%;margin-top:9px;display:flex;overflow:hidden;box-shadow:0 12px 35px #11182724}.kg-topics-nav-search{color:#9ca3af;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:9px;height:40px;margin:12px;padding:0 11px;display:flex}.kg-topics-nav-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-topics-nav-search input{color:#1f2937;background:0 0;border:none;outline:none;flex:1;width:100%;min-width:0;font-family:inherit;font-size:12px}.kg-topics-nav-search input::placeholder{color:#9ca3af}.kg-topics-nav-list{flex-direction:column;gap:3px;max-height:310px;padding:0 8px 8px;display:flex;overflow-y:auto}.kg-topics-nav-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:flex-start;gap:11px;width:100%;padding:11px 10px;display:flex}.kg-topics-nav-item:hover{background:#f5f6ff}.kg-topics-nav-item--active{background:#eef2ff;border-color:#c7d2fe}.kg-topics-nav-number{color:#6b7280;background:#f3f4f6;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;min-width:29px;height:29px;padding:0 5px;font-size:11px;font-weight:700;display:flex}.kg-topics-nav-item--active .kg-topics-nav-number{color:#4f46e5;background:#e0e7ff}.kg-topics-nav-item-info{flex-direction:column;gap:5px;min-width:0;display:flex}.kg-topics-nav-item-info strong{color:#374151;overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.45}.kg-topics-nav-item--active .kg-topics-nav-item-info strong{color:#4338ca}.kg-topics-nav-item-info small{color:#9ca3af;font-size:10px}.kg-topics-nav-empty{color:#9ca3af;text-align:center;padding:25px 13px;font-size:12px}.kg-topics-nav-footer{color:#9ca3af;text-align:center;border-top:1px solid #f3f4f6;padding:11px 14px;font-size:10px}@media (width<=600px){.kg-topics-nav{width:min(300px,100% - 24px);top:12px;left:12px}.kg-topics-nav-trigger{max-width:245px}.kg-topics-nav-list{max-height:230px}}.kg-node--focus-center{background:#eef2ff;border-color:#4f46e5;box-shadow:0 0 0 4px #4f46e524,0 6px 20px #4f46e51f}.kg-node--focus-neighbor{background:#fafaff;border-color:#a5b4fc;box-shadow:0 0 0 2px #a5b4fc26,0 3px 12px #1118270a}.kg-node--focus-muted{opacity:.16;filter:grayscale(.4);box-shadow:none}.kg-canvas .react-flow__edge.kg-edge--focus-active{opacity:1}.kg-canvas .react-flow__edge.kg-edge--focus-muted{opacity:.1}.kg-canvas .react-flow__edge{transition:opacity .2s}.kg-focus-actions{background:#fafbff;border-bottom:1px solid #e5e7eb;flex-direction:column;gap:9px;padding:13px 22px;display:flex}.kg-focus-toggle{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:9px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:40px;padding:10px 14px;font-family:inherit;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.kg-focus-toggle:hover{background:#eef2ff;border-color:#a5b4fc}.kg-focus-toggle--active{color:#fff;background:#4f46e5;border-color:#4f46e5}.kg-focus-toggle--active:hover{background:#4338ca;border-color:#4338ca}.kg-focus-hint{color:#6b7280;text-align:center;margin:0;font-size:11px;line-height:1.6}@media (width<=600px){.kg-focus-actions{padding:12px 17px}}.kg-page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.kg-graph-actions{position:relative}.kg-more-button{white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:43px;padding:10px 14px;font-size:13px;display:inline-flex}.kg-graph-actions-menu{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:11px;width:235px;padding:7px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #1118271f}.kg-graph-actions-danger{color:#dc2626;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:10px;width:100%;padding:11px 12px;font-family:inherit;font-size:13px;font-weight:600;display:flex}.kg-graph-actions-danger:hover{color:#b91c1c;background:#fef2f2}.kg-graph-delete-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:20px;display:grid}.kg-graph-delete-summary>div{background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;gap:7px;min-width:0;padding:13px;display:flex}.kg-graph-delete-summary span{color:#6b7280;font-size:11px}.kg-graph-delete-summary strong{color:#111827;font-size:22px;font-weight:700}.kg-graph-delete-warning{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:18px;padding:14px 15px}.kg-graph-delete-warning strong{color:#92400e;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.kg-graph-delete-warning p{color:#92400e;margin:0;font-size:12px;line-height:1.65}.kg-graph-delete-confirmation{flex-direction:column;gap:10px;margin-top:22px;display:flex}.kg-graph-delete-confirmation label{color:#374151;font-size:13px;line-height:1.6}.kg-graph-delete-confirmation label strong{color:#dc2626;font-weight:700}.kg-graph-delete-confirmation input{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:9px;outline:none;width:100%;min-height:44px;padding:11px 13px;font-family:inherit;font-size:14px}.kg-graph-delete-confirmation input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.kg-graph-delete-confirmation input:disabled{color:#9ca3af;cursor:not-allowed;background:#f9fafb}@media (width<=768px){.kg-page-actions{justify-content:flex-start;width:100%}}@media (width<=480px){.kg-page-actions{align-items:stretch}.kg-page-actions>.primary-button{flex:1}.kg-graph-delete-summary{gap:6px}.kg-graph-delete-summary>div{padding:10px}.kg-graph-delete-summary strong{font-size:19px}}.kg-generation-error{background:snow;border:1px solid #fecaca;border-radius:12px;align-items:flex-start;gap:13px;margin-bottom:20px;padding:17px 19px;display:flex}.kg-generation-error>svg{color:#dc2626;flex-shrink:0;margin-top:2px}.kg-generation-error-content{flex:1;min-width:0}.kg-generation-error-content strong{color:#991b1b;margin-bottom:6px;font-size:13px;font-weight:700;display:block}.kg-generation-error-content p{color:#7f1d1d;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.65}.kg-generation-error>button{flex-shrink:0;justify-content:center;align-items:center;gap:8px;font-size:12px;display:inline-flex}@media (width<=600px){.kg-generation-error{flex-wrap:wrap;padding:15px}.kg-generation-error>button{width:100%}}.kg-limits-notice{background:#fffbeb;border-bottom:1px solid #fde68a;align-items:flex-start;gap:11px;padding:13px 22px;display:flex}.kg-limits-notice svg{color:#d97706;flex-shrink:0;margin-top:1px}.kg-limits-notice p{color:#92400e;margin:0;font-size:12px;line-height:1.65}@media (width<=600px){.kg-limits-notice{padding:13px 15px}}.kg-mastery-controls{background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:10px;padding:13px 22px;display:flex}.kg-mastery-toggle,.kg-mastery-refresh{color:#374151;min-height:39px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-size:12px;font-weight:600;display:inline-flex}.kg-mastery-toggle:hover,.kg-mastery-refresh:hover:not(:disabled){color:#4f46e5;border-color:#a5b4fc}.kg-mastery-toggle--active{color:#4338ca;background:#eef2ff;border-color:#a5b4fc}.kg-mastery-info{background:#fafbff;border-bottom:1px solid #e5e7eb;flex-direction:column;gap:11px;padding:14px 22px;display:flex}.kg-mastery-info p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.kg-mastery-info .kg-mastery-error{color:#b91c1c}.kg-mastery-info .kg-mastery-caution{color:#92400e}.kg-mastery-legend{flex-wrap:wrap;align-items:center;gap:12px 19px;display:flex}.kg-mastery-legend span{color:#374151;align-items:center;gap:7px;font-size:11px;font-weight:600;display:inline-flex}.kg-mastery-dot,.kg-mastery-detail-indicator{background:#94a3b8;border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block}.kg-mastery-dot--high,.kg-mastery-detail-indicator--high{background:#22c55e}.kg-mastery-dot--medium,.kg-mastery-detail-indicator--medium{background:#f59e0b}.kg-mastery-dot--low,.kg-mastery-detail-indicator--low{background:#ef4444}.kg-mastery-dot--none,.kg-mastery-detail-indicator--none{background:#94a3b8}.kg-mastery-warnings{color:#6b7280;font-size:12px}.kg-mastery-warnings summary{cursor:pointer;font-weight:600}.kg-mastery-warnings p{margin-top:9px}.kg-node--mastery-high{background:#f0fdf4;border-color:#86efac}.kg-node--mastery-medium{background:#fffbeb;border-color:#fcd34d}.kg-node--mastery-low{background:#fef2f2;border-color:#fca5a5}.kg-node--mastery-none{background:#f8fafc;border-color:#cbd5e1}.kg-node--mastery-limited{border-style:dashed}.kg-node-mastery{white-space:nowrap;text-overflow:ellipsis;color:#64748b;flex-shrink:0;max-width:100%;font-size:11px;font-weight:700;line-height:1.5;display:block;overflow:hidden}.kg-node--mastery-high .kg-node-mastery{color:#15803d}.kg-node--mastery-medium .kg-node-mastery{color:#b45309}.kg-node--mastery-low .kg-node-mastery{color:#b91c1c}.kg-node--mastery-none .kg-node-mastery{color:#64748b}.kg-node--mastery-high.kg-node--selected,.kg-node--mastery-medium.kg-node--selected,.kg-node--mastery-low.kg-node--selected,.kg-node--mastery-none.kg-node--selected,.kg-node--mastery-high.kg-node--focus-center,.kg-node--mastery-medium.kg-node--focus-center,.kg-node--mastery-low.kg-node--focus-center,.kg-node--mastery-none.kg-node--focus-center{border-color:#4f46e5;box-shadow:0 0 0 4px #4f46e529}.kg-node--mastery-high.kg-node--focus-neighbor,.kg-node--mastery-medium.kg-node--focus-neighbor,.kg-node--mastery-low.kg-node--focus-neighbor,.kg-node--mastery-none.kg-node--focus-neighbor{box-shadow:0 0 0 2px #a5b4fc33}.kg-details-slot{min-width:0}.kg-mastery-side{background:#fff;flex-direction:column;min-width:0;height:650px;display:flex;overflow:hidden}.kg-mastery-side>.kg-details-panel{flex:1;height:auto;min-height:0;overflow:hidden}.kg-mastery-side .kg-details-body{flex:1;min-height:0;overflow-y:auto}.kg-mastery-details{background:#fafbff;border-bottom:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;gap:10px;padding:18px 21px;display:flex}.kg-mastery-details>strong,.kg-mastery-details-heading>strong{color:#374151;font-size:13px;font-weight:700}.kg-mastery-details-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.kg-mastery-details-result{color:#111827;font-variant-numeric:tabular-nums;font-size:23px;font-weight:750}.kg-mastery-details p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.kg-mastery-details .kg-mastery-preliminary{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px}.kg-mastery-details-link{color:#4f46e5;align-self:flex-start;margin-top:3px;font-size:12px;font-weight:600;text-decoration:none}.kg-mastery-details-link:hover{text-decoration:underline}@media (width<=1100px){.kg-mastery-side{height:auto;overflow:visible}.kg-mastery-side>.kg-details-panel{height:auto;min-height:230px;max-height:500px}}@media (width<=600px){.kg-mastery-controls,.kg-mastery-info{padding:12px 15px}.kg-mastery-controls>button{flex:auto}.kg-mastery-details{padding:16px}}.kg-mastery-side>.kg-mastery-details{max-height:58%;overflow-y:auto}.kg-mastery-personal{border-top:1px solid #e5e7eb;flex-direction:column;gap:15px;margin-top:8px;padding-top:16px;display:flex}.kg-mastery-personal-heading{color:#4f46e5;align-items:center;gap:9px;display:flex}.kg-mastery-personal-heading h4{color:#1f2937;margin:0;font-size:13px;font-weight:700}.kg-mastery-recommendation{background:#f8faff;border:1px solid #e0e7ff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;padding:13px;display:flex}.kg-mastery-recommendation p,.kg-mastery-no-recommendation{color:#4b5563;margin:0;font-size:12px;line-height:1.7}.kg-mastery-priority{color:#6b7280;background:#f3f4f6;border-radius:6px;padding:5px 9px;font-size:10px;font-weight:650;display:inline-flex}.kg-mastery-priority--preliminary{color:#92400e;background:#fffbeb}.kg-mastery-priority--high{color:#b91c1c;background:#fef2f2}.kg-mastery-priority--medium{color:#c2410c;background:#fff7ed}.kg-mastery-priority--low{color:#15803d;background:#f0fdf4}.kg-mastery-prerequisite-risk{background:#fff7ed;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.kg-mastery-prerequisite-risk span{color:#9a3412;font-size:11px;line-height:1.5}.kg-mastery-prerequisite-risk strong{color:#9a3412;font-variant-numeric:tabular-nums;font-size:13px}.kg-mastery-personal-section{border-top:1px solid #e5e7eb;flex-direction:column;gap:10px;padding-top:14px;display:flex}.kg-mastery-personal-section h5{color:#374151;margin:0;font-size:12px;font-weight:700}.kg-mastery-personal-section>p{color:#6b7280;margin:0;font-size:11px;line-height:1.6}.kg-mastery-prerequisite-list,.kg-mastery-materials{flex-direction:column;gap:8px;display:flex}.kg-mastery-prerequisite-button{color:#4338ca;width:100%;min-height:37px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e0e7ff;border-radius:8px;justify-content:space-between;align-items:center;gap:9px;padding:9px 11px;font-size:12px;font-weight:600;display:flex}.kg-mastery-prerequisite-button:hover:not(:disabled){background:#eef2ff;border-color:#c7d2fe}.kg-mastery-prerequisite-button:disabled{opacity:.55;cursor:not-allowed}.kg-mastery-prerequisite-button span{overflow-wrap:anywhere;min-width:0}.kg-mastery-prerequisite-button svg{flex-shrink:0}.kg-mastery-material-card{background:#fff;border:1px solid #e5e7eb;border-radius:9px;min-width:0;padding:12px}.kg-mastery-material-link{color:#4f46e5;align-items:flex-start;gap:8px;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;display:flex}.kg-mastery-material-link span{overflow-wrap:anywhere;flex:1;min-width:0}.kg-mastery-material-link svg{flex-shrink:0;margin-top:1px}.kg-mastery-material-link:hover{color:#4338ca;text-decoration:underline}.kg-mastery-material-card blockquote{color:#6b7280;overflow-wrap:anywhere;border-left:2px solid #c7d2fe;margin:10px 0 0;padding-left:10px;font-size:11px;line-height:1.65}.kg-mastery-topic-hint{border-top:1px solid #e5e7eb;padding-top:12px}@media (width<=1100px){.kg-mastery-side>.kg-mastery-details{max-height:none;overflow:visible}}.kg-mastery-details .kg-mastery-coverage-warning{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:12px 13px;font-size:12px;line-height:1.7}.ka-page{max-width:1500px;margin:0 auto}.ka-back-link{color:#6b7280;align-items:center;gap:8px;margin-bottom:23px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.ka-back-link:hover{color:#4f46e5}.ka-page-header{justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:26px;display:flex}.ka-eyebrow{color:#6366f1;letter-spacing:.07em;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.ka-page-header h1{color:#111827;margin:0 0 9px;font-size:29px;font-weight:750}.ka-page-header p{color:#6b7280;max-width:680px;margin:0;font-size:14px;line-height:1.65}.ka-refresh-button{color:#374151;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:600;display:inline-flex}.ka-refresh-button:hover{color:#4f46e5;border-color:#a5b4fc}.ka-state,.ka-empty{color:#6b7280;text-align:center;background:#fafafa;border:1px dashed #d1d5db;border-radius:11px;padding:28px;font-size:13px;line-height:1.7}.ka-state--error{color:#991b1b;background:#fff7f7;border-color:#fecaca}.ka-state--error p{margin:0 0 15px}.ka-warnings,.ka-data-note{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;align-items:flex-start;gap:11px;margin-bottom:18px;padding:14px 17px;display:flex}.ka-warnings>svg,.ka-data-note>svg{color:#d97706;flex-shrink:0;margin-top:2px}.ka-warnings strong{color:#92400e;margin-bottom:5px;font-size:12px;display:block}.ka-warnings p,.ka-data-note p{color:#92400e;margin:0;font-size:12px;line-height:1.65}.ka-warnings p+p{margin-top:6px}.ka-data-note{background:#f8faff;border-color:#e0e7ff;margin-bottom:22px}.ka-data-note>svg,.ka-data-note p{color:#4f46e5}.ka-section{background:#fff;border:1px solid #e5e7eb;border-radius:14px;min-width:0;margin-bottom:22px;padding:25px}.ka-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:23px;display:flex}.ka-section-heading h2{color:#111827;margin:0 0 6px;font-size:19px;font-weight:700}.ka-section-heading p{color:#6b7280;margin:0;font-size:13px;line-height:1.6}.ka-muted{color:#9ca3af;margin:10px 0 0;font-size:11px;line-height:1.6}.ka-topic-list{flex-direction:column;gap:0;display:flex}.ka-topic-item{border-bottom:1px solid #f3f4f6;padding:18px 0}.ka-topic-item:first-child{padding-top:0}.ka-topic-item:last-child{border-bottom:none;padding-bottom:0}.ka-topic-top{justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:12px;display:flex}.ka-topic-top h3{color:#374151;margin:0;font-size:13px;font-weight:600}.ka-topic-top strong{color:#111827;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:14px;font-weight:700}.ka-progress-track{background:#eef0f3;border-radius:999px;height:9px;overflow:hidden}.ka-progress-fill{border-radius:inherit;height:100%;transition:width .2s}.ka-progress--limited{outline-offset:2px;outline:1px dashed #94a3b8}.ka-topic-meta{color:#6b7280;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;font-size:11px;display:flex}.ka-topic-explanation{color:#9ca3af;margin-top:6px;font-size:10px;display:block}.ka-concept-chart{background:#fafbff;border:1px solid #e0e7ff;border-radius:12px;flex-direction:column;gap:17px;margin-bottom:26px;padding:21px;display:flex}.ka-concept-chart h3{color:#374151;margin:0;font-size:14px;font-weight:700}.ka-concept-chart-row{grid-template-columns:minmax(135px,210px) minmax(80px,1fr) 70px 85px;align-items:center;gap:13px;display:grid}.ka-concept-chart-name{color:#374151;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:600;line-height:1.45}.ka-concept-chart-name:hover{color:#4f46e5}.ka-concept-chart-row>strong{color:#111827;font-variant-numeric:tabular-nums;font-size:12px}.ka-chart-limited{color:#9ca3af;font-size:10px}.ka-concept-chart>.ka-muted{margin-top:0}.ka-table-tools{align-items:center;gap:12px;margin-bottom:15px;display:flex}.ka-search{color:#9ca3af;background:#fff;border:1px solid #d1d5db;border-radius:9px;flex:1;align-items:center;gap:10px;min-width:160px;max-width:440px;min-height:42px;padding:0 12px;display:flex}.ka-search:focus-within{border-color:#6366f1}.ka-search input{color:#111827;width:100%;min-width:0;font:inherit;background:0 0;border:none;outline:none;padding:0;font-size:13px}.ka-select{color:#374151;max-width:100%;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:0 12px;font-size:12px}.ka-table-scroll{min-width:0;overflow-x:auto}.ka-table{border-collapse:collapse;text-align:left;width:100%;min-width:610px}.ka-table th{color:#6b7280;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 12px;font-size:11px;font-weight:700}.ka-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f3f4f6;padding:14px 12px;font-size:12px;line-height:1.5}.ka-table tr:last-child td{border-bottom:none}.ka-table tbody tr:hover{background:#fafbff}.ka-table-concept-button{color:#374151;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;padding:0;font-size:12px;font-weight:600;display:inline-flex}.ka-table-concept-button:hover,.ka-table-link:hover{color:#4f46e5}.ka-table-link{color:#4f46e5;white-space:nowrap;font-size:12px;font-weight:600;text-decoration:none}.ka-status,.ka-priority{white-space:nowrap;border-radius:7px;align-items:center;padding:6px 9px;font-size:10px;font-weight:650;display:inline-flex}.ka-status--nodata{color:#6b7280;background:#f3f4f6}.ka-status--limited{color:#92400e;background:#fffbeb}.ka-status--sufficient{color:#15803d;background:#f0fdf4}.ka-concepts-layout{min-width:0}.ka-concepts-layout--detail{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:16px;display:grid}.ka-concept-detail{background:#f9fafb;border:1px solid #e5e7eb;border-radius:11px;min-width:0;padding:19px;position:sticky;top:16px}.ka-detail-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px;display:flex}.ka-detail-heading h3{color:#111827;margin:0;font-size:16px;line-height:1.4}.ka-detail-heading>button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:7px;flex-shrink:0;place-items:center;width:30px;height:30px;padding:0;display:grid}.ka-detail-heading>button:hover{background:#e5e7eb}.ka-concept-detail>p{color:#6b7280;margin:0 0 17px;font-size:12px;line-height:1.65}.ka-detail-result{background:#fff;border:1px solid #e5e7eb;border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:15px;padding:14px;display:flex}.ka-detail-result strong{color:#111827;font-size:20px}.ka-detail-result span{color:#6b7280;font-size:11px}.ka-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px;display:grid}.ka-detail-stats>div{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:6px;padding:12px;display:flex}.ka-detail-stats span{color:#9ca3af;font-size:10px}.ka-detail-stats strong{color:#374151;font-size:17px}.ka-detail-block{border-top:1px solid #e5e7eb;margin-top:18px;padding-top:17px}.ka-detail-block h4{color:#374151;margin:0 0 10px;font-size:12px}.ka-detail-block>p,.ka-prerequisites{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.ka-prerequisites{flex-direction:column;gap:7px;margin-top:12px;display:flex}.ka-prerequisites>span{color:#4338ca;background:#eef2ff;border-radius:7px;padding:7px 10px}.ka-material-list{flex-direction:column;gap:10px;display:flex}.ka-material-reference{background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:11px}.ka-material-link{color:#4f46e5;align-items:center;gap:7px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.ka-material-link:hover{text-decoration:underline}.ka-material-reference blockquote{color:#6b7280;overflow-wrap:anywhere;border-left:2px solid #c7d2fe;margin:10px 0 0;padding-left:10px;font-size:11px;line-height:1.6}.ka-recommendations{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px;display:grid}.ka-recommendation{border:1px solid #e5e7eb;border-radius:11px;min-width:0;padding:19px}.ka-recommendation-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px;display:flex}.ka-recommendation h3{color:#111827;margin:0;font-size:15px;line-height:1.5}.ka-recommendation>p{color:#6b7280;margin:0 0 15px;font-size:12px;line-height:1.7}.ka-priority--preliminary{color:#92400e;background:#fffbeb}.ka-priority--high{color:#b91c1c;background:#fef2f2}.ka-priority--medium{color:#c2410c;background:#fff7ed}.ka-priority--low{color:#15803d;background:#f0fdf4}.ka-recommendation-score{background:#f9fafb;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:19px;padding:11px 13px;display:flex}.ka-recommendation-score span{color:#6b7280;font-size:11px}.ka-recommendation-score strong{color:#111827;font-size:15px}.ka-recommendation h4{color:#374151;margin:0 0 10px;font-size:12px}.ka-history-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.ka-history-controls label{color:#374151;font-size:12px;font-weight:600}.ka-history-controls select{width:min(100%,410px)}.ka-history-chart{background:#fafbff;border:1px solid #e0e7ff;border-radius:11px;margin-bottom:24px;padding:17px}.ka-history-chart svg{width:100%;height:auto;display:block}.ka-history-chart .ka-muted{text-align:center;margin-top:8px}.ka-calculated-at{color:#9ca3af;text-align:right;margin:5px 0 20px;font-size:11px}@media (width<=1100px){.ka-concepts-layout--detail{grid-template-columns:1fr}.ka-concept-detail{position:static}}@media (width<=900px){.ka-concept-chart-row{grid-template-columns:minmax(130px,190px) minmax(70px,1fr) 65px}.ka-chart-limited{grid-column:2/-1;margin-top:-8px}}@media (width<=600px){.ka-page-header{flex-direction:column}.ka-page-header h1{font-size:24px}.ka-section{padding:17px}.ka-section-heading h2{font-size:17px}.ka-topic-top,.ka-topic-meta{flex-wrap:wrap;align-items:flex-start}.ka-concept-chart{padding:13px}.ka-concept-chart-row{grid-template-columns:1fr 65px;gap:7px 10px}.ka-concept-chart-name{grid-column:1}.ka-concept-chart-row .ka-progress-track{grid-area:2/1/auto/-1}.ka-chart-limited{grid-area:3/1/auto/-1;margin-top:0}.ka-table-tools{flex-direction:column;align-items:stretch}.ka-search{max-width:none}.ka-recommendations{grid-template-columns:1fr}.ka-warnings,.ka-data-note{padding:12px}}@media (prefers-reduced-motion:reduce){.ka-progress-fill{transition:none}}.ka-overview{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:22px;padding:25px}.ka-overview-heading{margin-bottom:24px}.ka-overview-heading h2{color:#111827;margin:0 0 6px;font-size:19px;font-weight:700}.ka-overview-heading p{color:#6b7280;margin:0;font-size:13px}.ka-overview-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch;gap:28px;display:grid}.ka-overview-main{background:#fafbff;border:1px solid #e0e7ff;border-radius:12px;align-items:center;gap:25px;min-width:0;padding:22px;display:flex}.ka-overview-ring{border-radius:50%;flex-shrink:0;place-items:center;width:164px;height:164px;padding:14px;display:grid}.ka-overview-ring-inner{text-align:center;background:#fafbff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;height:100%;padding:12px;display:flex}.ka-overview-ring-inner strong{color:#111827;font-variant-numeric:tabular-nums;font-size:27px;font-weight:750}.ka-overview-ring-inner span{color:#6b7280;font-size:10px;line-height:1.45}.ka-overview-progress-info{min-width:0}.ka-overview-progress-info h3{color:#374151;margin:0 0 9px;font-size:15px;font-weight:700}.ka-overview-progress-count{color:#4f46e5;margin:0 0 9px;font-size:14px;font-weight:700}.ka-overview-progress-description{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.ka-overview-metrics{flex-direction:column;justify-content:center;gap:17px;display:flex}.ka-overview-metric{align-items:center;gap:13px;display:flex}.ka-overview-metric-icon{color:#6366f1;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.ka-overview-metric>div{flex-direction:column;gap:3px;display:flex}.ka-overview-metric strong{color:#111827;font-size:20px;font-weight:700;line-height:1.1}.ka-overview-metric span:not(.ka-overview-metric-icon){color:#374151;font-size:12px;font-weight:600}.ka-overview-metric small{color:#9ca3af;font-size:11px}.ka-overview-note{color:#6b7280;border-top:1px solid #f3f4f6;margin:20px 0 0;padding-top:15px;font-size:12px;line-height:1.65}.ka-section--collapsible{padding:0;overflow:hidden}.ka-collapsible-header{padding:20px 24px}.ka-collapsible-header h2{margin:0}.ka-collapsible-trigger{text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:0;display:flex}.ka-collapsible-trigger:focus-visible{outline-offset:6px;border-radius:4px;outline:2px solid #6366f1}.ka-collapsible-title{color:#111827;font-size:18px;font-weight:700;line-height:1.4}.ka-collapsible-trigger:hover .ka-collapsible-title{color:#4f46e5}.ka-collapsible-right{flex-shrink:0;align-items:center;gap:15px;display:flex}.ka-collapsible-count{color:#6b7280;white-space:nowrap;background:#f3f4f6;border-radius:7px;padding:6px 10px;font-size:11px;font-weight:600}.ka-collapsible-chevron{color:#6b7280;transition:transform .2s}.ka-collapsible-chevron--open{color:#4f46e5;transform:rotate(180deg)}.ka-collapsible-description{color:#9ca3af;margin:8px 40px 0 0;font-size:12px;line-height:1.5}.ka-collapsible-content{border-top:1px solid #f3f4f6;padding:24px}.ka-collapsible-content[hidden]{display:none}.ka-collapsible-content>.ka-topic-list,.ka-collapsible-content>.ka-concept-chart{margin-top:0}@media (width<=1100px){.ka-overview-grid{grid-template-columns:1fr;gap:20px}.ka-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ka-overview-metric{align-items:flex-start}}@media (width<=700px){.ka-overview{padding:18px}.ka-overview-main{gap:17px;padding:16px}.ka-overview-ring{width:130px;height:130px;padding:12px}.ka-overview-ring-inner strong{font-size:22px}.ka-overview-metrics{grid-template-columns:1fr}.ka-collapsible-header,.ka-collapsible-content{padding:17px}.ka-collapsible-title{font-size:16px}}@media (width<=420px){.ka-overview-main{text-align:center;flex-direction:column}.ka-collapsible-count{display:none}.ka-collapsible-description{margin-right:0}}@media (prefers-reduced-motion:reduce){.ka-collapsible-chevron{transition:none}}.ka-overview-legend{flex-wrap:wrap;gap:10px 15px;margin:12px 0;display:flex}.ka-overview-legend>span{color:#6b7280;align-items:center;gap:6px;font-size:11px;display:inline-flex}.ka-overview-legend-dot{background:#e5e7eb;border-radius:50%;flex-shrink:0;width:9px;height:9px;display:inline-block}.ka-overview-legend-dot--done{background:#6366f1}.tka-dashboard{min-width:0}.tka-tabs{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:5px;margin-bottom:22px;padding:6px;display:flex;overflow-x:auto}.tka-tab{color:#6b7280;min-height:45px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1 0 auto;justify-content:center;align-items:center;gap:9px;padding:11px 17px;font-size:13px;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.tka-tab:hover{color:#374151;background:#f9fafb}.tka-tab--active,.tka-tab--active:hover{color:#4338ca;background:#eef2ff}.tka-tab:focus-visible{outline-offset:-3px;outline:2px solid #6366f1}.tka-tab-panel{min-width:0}.tka-overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:stretch;gap:16px;margin-bottom:20px;display:grid}.tka-participation,.tka-mini-stats{background:#fff;border:1px solid #e5e7eb;border-radius:13px;min-width:0;padding:23px}.tka-participation{align-items:center;gap:25px;display:flex}.tka-donut{border-radius:50%;flex-shrink:0;place-items:center;width:158px;height:158px;padding:14px;display:grid}.tka-donut-inner{text-align:center;background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;height:100%;padding:12px;display:flex}.tka-donut-inner strong{color:#111827;font-variant-numeric:tabular-nums;font-size:25px;font-weight:750}.tka-donut-inner span{color:#6b7280;font-size:11px}.tka-participation h2{color:#111827;margin:0 0 11px;font-size:18px}.tka-lead{color:#374151;margin:0 0 9px;font-size:13px;font-weight:600;line-height:1.65}.tka-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.tka-mini-stats>div{background:#f9fafb;border-radius:9px;flex-direction:column;justify-content:center;gap:9px;min-width:0;padding:13px;display:flex}.tka-mini-stats span{color:#6b7280;font-size:11px;line-height:1.5}.tka-mini-stats strong{color:#111827;font-variant-numeric:tabular-nums;font-size:22px;font-weight:700}.tka-context-note{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin:0 0 20px;padding:13px 16px;font-size:12px;line-height:1.7}.tka-finding-group+.tka-finding-group{margin-top:24px}.tka-finding-group h3{color:#374151;margin:0 0 13px;font-size:14px}.tka-findings{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:13px;display:grid}.tka-finding{background:#fff;border:1px solid #e5e7eb;border-radius:11px;flex-direction:column;align-items:flex-start;gap:12px;padding:18px;display:flex}.tka-finding-top{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.tka-finding h4{color:#1f2937;margin:0;font-size:14px;line-height:1.5}.tka-finding p{color:#6b7280;margin:0;font-size:12px;line-height:1.7}.tka-finding .tka-action{color:#374151;background:#f8faff;border-radius:8px;padding:11px 13px}.tka-finding a,.tka-text-button{color:#4f46e5;font:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:650;text-decoration:none}.tka-finding a:hover,.tka-text-button:hover{text-decoration:underline}.tka-evidence{color:#15803d;background:#f0fdf4;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:600;display:inline-flex}.tka-evidence--limited{color:#92400e;background:#fffbeb}.tka-bar-list{flex-direction:column;gap:0;display:flex}.tka-bar-item{border-bottom:1px solid #f3f4f6;padding:16px 0}.tka-bar-item:first-child{padding-top:0}.tka-bar-item:last-child{border-bottom:none}.tka-bar-title{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px;display:flex}.tka-bar-title strong{color:#374151;font-size:13px;font-weight:600;line-height:1.5}.tka-bar-title>span{color:#111827;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:13px;font-weight:700}.tka-bar-item>small{color:#9ca3af;margin-top:10px;font-size:11px;line-height:1.5;display:block}.tka-text-button{margin-top:19px;display:inline-flex}.tka-table-and-detail{min-width:0}.tka-table-and-detail--selected{grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr);align-items:start;gap:16px;display:grid}.tka-detail{background:#fafbff;border:1px solid #e0e7ff;border-radius:11px;flex-direction:column;gap:13px;min-width:0;padding:18px;display:flex}.tka-detail-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.tka-detail-head h3{color:#111827;margin:0;font-size:15px;line-height:1.5}.tka-detail-head button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:7px;flex-shrink:0;place-items:center;width:30px;height:30px;padding:0;display:grid}.tka-detail-head button:hover{background:#e5e7eb}.tka-detail>p{color:#6b7280;margin:0;font-size:12px;line-height:1.65}.tka-detail-value{color:#111827;font-variant-numeric:tabular-nums;font-size:24px;font-weight:750}.tka-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:4px 0 7px;display:grid}.tka-detail dl>div{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:7px;padding:12px;display:flex}.tka-detail dt{color:#6b7280;font-size:10px;line-height:1.5}.tka-detail dd{color:#374151;margin:0;font-size:16px;font-weight:700}.tka-detail h4{color:#374151;margin:10px 0 0;font-size:12px}.tka-question-filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:13px;display:flex}.tka-question-filters .ka-search{flex:280px;max-width:none}.tka-question-filters .ka-select{flex:0 auto}.tka-table-caption{color:#9ca3af;margin:0 0 15px;font-size:11px;line-height:1.6}.tka-question-link{white-space:normal;max-width:380px;line-height:1.55}.tka-question-full{overflow-wrap:anywhere;font-weight:600;color:#374151!important}.tka-wrong-options{flex-direction:column;gap:8px;display:flex}.tka-wrong-options>div{background:#fff;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;gap:8px;padding:12px;display:flex}.tka-wrong-options p{color:#374151;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.tka-wrong-options strong{color:#b45309;font-size:11px}.tka-concept-tags{flex-wrap:wrap;gap:7px;display:flex}.tka-concept-tags span{color:#4338ca;background:#eef2ff;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:600}.tka-load-more{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;margin:16px auto;padding:10px 16px;font-size:12px;font-weight:600;display:block}.tka-load-more:hover{color:#4f46e5;border-color:#a5b4fc}@media (width<=1100px){.tka-overview-grid,.tka-table-and-detail--selected{grid-template-columns:1fr}.tka-detail{position:static}}@media (width<=700px){.tka-tabs{justify-content:flex-start;gap:3px}.tka-tab{flex:none;padding:10px 13px;font-size:12px}.tka-participation{flex-direction:column;align-items:flex-start;gap:18px}.tka-donut{align-self:center;width:140px;height:140px}.tka-mini-stats{gap:9px;padding:14px}.tka-mini-stats strong{font-size:19px}.tka-question-filters{flex-direction:column;align-items:stretch}.tka-question-filters .ka-search{flex:auto;width:100%;min-height:42px}.tka-question-filters .ka-select{width:100%}.tka-bar-title{flex-wrap:wrap}.tka-detail dl{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){.tka-tab{transition:none}}.teacher-results-page{padding-bottom:70px}.teacher-results-back,.teacher-attempt-back{color:#6b7280;align-items:center;gap:8px;margin-bottom:24px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.teacher-results-back:hover,.teacher-attempt-back:hover{color:#4f46e5}.teacher-results-loading,.teacher-attempt-loading{color:#6b7280;padding:26px 0;font-size:14px}.teacher-results-error,.teacher-attempt-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:20px;padding:16px 18px;font-size:14px}.teacher-results-heading{align-items:center;gap:20px;margin-bottom:28px;display:flex}.teacher-results-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:15px;flex-shrink:0;place-items:center;width:58px;height:58px;display:grid}.teacher-results-heading-text{flex:1;min-width:0}.teacher-results-heading-text>span{color:#6366f1;font-size:12px;font-weight:700}.teacher-results-heading-text h1{color:#111827;margin:5px 0 7px;font-size:27px;line-height:1.3}.teacher-results-heading-text p{color:#6b7280;margin:0;font-size:14px}.teacher-results-refresh{color:#374151;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:650;display:inline-flex}.teacher-results-refresh:hover:not(:disabled){color:#4f46e5;border-color:#818cf8}.teacher-results-refresh:disabled{opacity:.5;cursor:not-allowed}.teacher-results-refresh .is-spinning{animation:1s linear infinite teacher-results-spin}.teacher-results-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px;display:grid}.teacher-results-stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:22px;display:flex}.teacher-results-stat-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.teacher-results-stat>span{color:#6b7280;font-size:13px}.teacher-results-stat>strong{color:#111827;font-size:29px;line-height:1}.teacher-results-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:27px}.teacher-results-panel-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.teacher-results-panel-header h2{color:#111827;margin:0 0 6px;font-size:20px}.teacher-results-panel-header p{color:#6b7280;margin:0;font-size:13px;line-height:1.5}.teacher-results-search{color:#9ca3af;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:10px;width:min(300px,100%);min-width:200px;padding:0 13px;display:flex}.teacher-results-search:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.teacher-results-search input{color:#111827;width:100%;min-width:0;height:43px;font:inherit;background:0 0;border:none;outline:none;padding:0;font-size:13px}.teacher-results-search input::placeholder{color:#9ca3af}.teacher-results-empty{text-align:center;color:#9ca3af;background:#fafafa;border:1px dashed #d1d5db;border-radius:12px;flex-direction:column;align-items:center;gap:12px;padding:48px 20px;display:flex}.teacher-results-empty h3{color:#374151;margin:0;font-size:16px}.teacher-results-empty p{color:#6b7280;margin:0;font-size:13px}.teacher-results-students{flex-direction:column;gap:12px;display:flex}.teacher-student-row{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.teacher-student-main{align-items:center;gap:15px;padding:17px;display:flex}.teacher-student-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-size:13px;font-weight:700;display:grid}.teacher-student-identity{flex-direction:column;flex:220px;gap:5px;min-width:0;display:flex}.teacher-student-identity strong{color:#111827;font-size:14px;font-weight:650}.teacher-student-identity span{color:#6b7280;overflow-wrap:anywhere;font-size:12px}.teacher-student-metric{flex-direction:column;gap:5px;min-width:100px;display:flex}.teacher-student-metric span,.teacher-student-metric small{color:#6b7280;font-size:12px}.teacher-student-metric strong{color:#111827;font-size:17px}.teacher-student-expand{color:#6b7280;cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.teacher-student-expand:hover{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.teacher-student-attempts{background:#fafbff;border-top:1px solid #e5e7eb;padding:20px}.teacher-student-attempts-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.teacher-student-attempts-heading h4{color:#111827;margin:0;font-size:14px}.teacher-student-attempts-heading span{color:#6b7280;font-size:12px}.teacher-attempt-table-wrap{overflow-x:auto}.teacher-attempt-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.teacher-attempt-table th{color:#6b7280;background:#f3f4f6;padding:12px;font-size:12px;font-weight:650}.teacher-attempt-table td{color:#374151;background:#fff;border-bottom:1px solid #e5e7eb;padding:14px 12px;font-size:13px}.teacher-attempt-table tr:last-child td{border-bottom:none}.teacher-attempt-status{border-radius:6px;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.teacher-attempt-status--completed{color:#15803d;background:#f0fdf4}.teacher-attempt-status--active{color:#a16207;background:#fefce8}.teacher-attempt-detail-link{color:#4f46e5;align-items:center;gap:5px;font-weight:650;text-decoration:none;display:inline-flex}.teacher-attempt-detail-link:hover{color:#3730a3}@media (width<=980px){.teacher-results-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-student-main{flex-wrap:wrap}}@media (width<=640px){.teacher-results-heading{flex-wrap:wrap;align-items:flex-start}.teacher-results-heading-text h1{font-size:23px}.teacher-results-refresh{margin-left:auto}.teacher-results-panel{padding:17px}.teacher-results-panel-header{flex-direction:column;align-items:stretch}.teacher-results-search{width:100%}.teacher-student-main{gap:12px}.teacher-student-identity{flex-basis:calc(100% - 110px)}.teacher-student-metric{flex:1}.teacher-student-attempts{padding:14px}.teacher-student-attempts-heading{flex-direction:column;align-items:flex-start}}
