.live-captions{z-index:800;cursor:move;align-items:flex-start;gap:12px;max-width:90%;display:flex;position:fixed;top:24px;left:50%;transform:translate(-50%)}.live-captions.active{display:flex}.caption-text{-webkit-backdrop-filter:none;box-shadow:none;text-align:center;background:0 0;border-radius:0;min-width:300px;max-width:800px;padding:16px 24px;transition:background .2s,box-shadow .2s;position:relative}.translated-text{color:#1d1d1f;text-shadow:none;word-wrap:break-word;overflow-wrap:break-word;margin-bottom:0;font-size:24px;font-weight:600;line-height:1.4;transition:all .2s}.original-text{color:#1d1d1f99;margin-top:8px;font-size:16px;font-weight:400;line-height:1.3;transition:all .2s;display:none}.original-text.visible{display:block}.caption-settings-trigger{-webkit-backdrop-filter:blur(20px);cursor:pointer;background:#fffffff2;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;box-shadow:0 2px 8px #00000026}.caption-settings-trigger:hover{background:#fff;transform:scale(1.05);box-shadow:0 4px 12px #0003}.caption-settings-trigger svg{color:#007aff;width:20px;height:20px}.translator-window{-webkit-backdrop-filter:blur(20px);z-index:1100;background:#fffffff2;border-radius:16px;flex-direction:column;width:1400px;max-width:95vw;max-height:85vh;display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 60px #0003}.translator-window.active{display:flex}.translator-header{border-bottom:1px solid #0000001a;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.translator-header h3{color:#1d1d1f;margin:0;font-size:20px;font-weight:600}.header-actions{align-items:center;gap:12px;display:flex}.listening-btn{cursor:pointer;color:#fff;background:#007aff;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.listening-btn:hover{background:#0056b3}.listening-btn.active{color:#1d1d1f;background:#0000000d}.listening-btn.active:hover{background:#0000001a}.listening-btn svg{width:18px;height:18px}.close-button{cursor:pointer;background:#0000000d;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.close-button:hover{background:#0000001a}.close-button svg{color:#1d1d1f;width:16px;height:16px}.translator-live-display{background:linear-gradient(#007aff0d,#007aff03);border-bottom:1px solid #0000001a;padding:28px 32px}.live-display-label{text-transform:uppercase;letter-spacing:.8px;color:#6e6e73;opacity:.7;margin-bottom:16px;font-size:11px;font-weight:600}.live-display-text{flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:80px;display:flex}.live-display-translated{color:#1d1d1f;text-align:center;font-size:28px;font-weight:600;line-height:1.4}.live-display-original{color:#6e6e73;text-align:center;opacity:.8;font-size:14px;font-style:italic;font-weight:400;line-height:1.3}.translator-content{flex-direction:column;flex:1;gap:20px;padding:20px 24px;display:flex;overflow-y:auto}.translator-section{flex-direction:column;gap:12px;display:flex}.translator-section h4{color:#1d1d1f;margin:0;font-size:15px;font-weight:600}.compact-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.full-width{grid-column:1/-1}.language-selector{align-items:center;gap:16px;display:flex}.language-input,.language-output{flex-direction:column;flex:1;gap:8px;display:flex}.language-input label,.language-output label{color:#6e6e73;font-size:13px;font-weight:500}.language-input select,.language-output select{color:#1d1d1f;cursor:pointer;background:#fff;border:1px solid #0000001a;border-radius:8px;padding:12px 16px;font-family:inherit;font-size:15px;transition:all .2s}.language-input select:focus,.language-output select:focus{border-color:#007aff;outline:none}.language-arrow{justify-content:center;align-items:center;width:24px;height:24px;margin-top:20px;display:flex}.language-arrow svg{stroke:#6e6e73;width:20px;height:20px}.feature-toggle{background:#fff;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;display:flex;box-shadow:0 1px 3px #0000001a}.toggle-info{flex-direction:column;flex:1;gap:8px;display:flex}.toggle-label{color:#1d1d1f;align-items:center;gap:8px;font-size:15px;font-weight:500;display:flex}.toggle-label svg{stroke:#1d1d1f;width:20px;height:20px}.feature-toggle.compact{align-items:center;gap:12px;padding:10px 12px}.feature-toggle.compact .toggle-info{gap:0}.feature-toggle.compact .toggle-label{font-size:14px}.feature-toggle.compact .toggle-label svg{width:18px;height:18px}.beta-badge{color:#fff;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.record-voice-btn{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:6px;align-items:center;gap:8px;margin-top:8px;padding:10px 16px;font-size:13px;font-weight:500;transition:all .2s;display:flex}.record-voice-btn svg{stroke:#fff;width:16px;height:16px}.record-voice-btn:active{transform:scale(.98)}.record-voice-btn:disabled{opacity:.5;cursor:not-allowed}.record-voice-btn.compact{margin-top:4px;padding:6px 12px;font-size:12px}.record-voice-btn.compact svg{width:14px;height:14px}.toggle-switch{flex-shrink:0;width:51px;height:31px;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{cursor:pointer;background-color:#d1d1d6;border-radius:31px;transition:all .3s;position:absolute;inset:0}.toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:27px;height:27px;transition:all .3s;position:absolute;bottom:2px;left:2px;box-shadow:0 2px 4px #0003}input:checked+.toggle-slider{background-color:#007aff}input:checked+.toggle-slider:before{transform:translate(20px)}input:disabled+.toggle-slider{opacity:.5;cursor:not-allowed}.slider-control{flex-direction:column;gap:8px;display:flex}.slider-control label{color:#1d1d1f;font-size:14px;font-weight:500}.slider-wrapper{align-items:center;gap:12px;display:flex}.slider-label{color:#6e6e73;min-width:60px;font-size:13px}.slider-value{color:#007aff;text-align:right;min-width:50px;font-size:13px;font-weight:500}.slider-wrapper input[type=range]{-webkit-appearance:none;background:#d1d1d6;border-radius:3px;outline:none;flex:1;height:6px}.slider-wrapper input[type=range]::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#fff;border:2px solid #007aff;border-radius:50%;width:20px;height:20px;box-shadow:0 2px 8px #00000026}.slider-wrapper input[type=range]::-moz-range-thumb{cursor:pointer;background:#fff;border:2px solid #007aff;border-radius:50%;width:20px;height:20px;box-shadow:0 2px 8px #00000026}.presets-section{flex-direction:column;gap:12px;display:flex}.presets-label{color:#6e6e73;font-size:13px;font-weight:500}.preset-buttons{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.preset-btn{cursor:pointer;background:#fff;border:2px solid #0000001a;border-radius:8px;flex-direction:column;align-items:center;gap:8px;padding:12px;transition:all .2s;display:flex}.preset-btn:hover{border-color:#007aff;box-shadow:0 2px 8px #007aff33}.preset-btn.active{background:#007aff0d;border-color:#007aff}.preset-name{color:#1d1d1f;font-size:12px;font-weight:500}.preset-sample{text-align:center;border-radius:6px;min-width:60px;padding:8px 16px;font-size:20px;font-weight:600}.advanced-styling{margin-top:24px}.tab-navigation{border-bottom:2px solid #0000001a;gap:8px;margin-bottom:16px;display:flex}.tab-button{cursor:pointer;color:#6e6e73;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;margin-bottom:-2px;padding:10px 16px;font-size:13px;font-weight:500;transition:all .2s}.tab-button:hover{color:#1d1d1f;background:#00000005}.tab-button.active{color:#007aff;background:#007aff0d;border-bottom-color:#007aff}.tab-content{padding:16px 0}.tab-panel{animation:.2s fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.collapsible-section{background:#fff;border:1px solid #0000001a;border-radius:8px;margin-bottom:12px;transition:all .2s;overflow:hidden}.collapsible-section:hover{border-color:#0003}.section-header{cursor:pointer;color:#1d1d1f;background:#00000005;border:none;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.section-header:hover{background:#0000000a}.section-header.expanded{background:#007aff0d;border-bottom:1px solid #0000001a}.section-title{color:#1d1d1f;font-weight:500}.chevron{color:#6e6e73;width:18px;height:18px;transition:transform .2s}.section-header.expanded .chevron{transform:rotate(180deg)}.section-content{background:#fff;padding:16px}.color-picker-wrapper{flex-direction:column;gap:12px;display:flex}.color-picker-wrapper label{color:#1d1d1f;cursor:pointer;align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.color-picker-wrapper input[type=checkbox]{cursor:pointer;width:18px;height:18px}.color-picker-wrapper input[type=color]{cursor:pointer;border:1px solid #0000001a;border-radius:8px;width:100%;height:48px;padding:4px}.color-swatches{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.color-swatch{cursor:pointer;border:2px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:relative}.color-swatch.transparent{background-color:#0000;background-image:linear-gradient(135deg,#f0f0f0 25%,#0000 25% 75%,#f0f0f0 75%,#f0f0f0),linear-gradient(135deg,#f0f0f0 25%,#fff 25% 75%,#f0f0f0 75%,#f0f0f0);background-position:0 0,4px 4px;background-repeat:repeat,repeat;background-size:8px 8px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.color-swatch.transparent svg{stroke:#ff3b30;width:20px;height:20px}.color-swatch:hover{transform:scale(1.1)}.color-swatch.active{border-color:#007aff;box-shadow:0 0 0 2px #007aff33}.color-picker-wrapper input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-picker-wrapper input[type=color]::-webkit-color-swatch{border:none;border-radius:6px}.slider-wrapper{flex-direction:column;gap:8px;display:flex}.slider-wrapper .slider-label{color:#6e6e73;justify-content:space-between;align-items:center;font-size:13px;font-weight:500;display:flex}.slider-wrapper .slider-value{color:#007aff;font-size:13px;font-weight:600}.slider-wrapper input[type=range]{-webkit-appearance:none;background:#0000001a;border-radius:3px;outline:none;width:100%;height:6px}.slider-wrapper input[type=range]::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#007aff;border-radius:50%;width:18px;height:18px;transition:all .2s}.slider-wrapper input[type=range]::-webkit-slider-thumb:hover{background:#0056b3;transform:scale(1.1)}.slider-wrapper input[type=range]::-moz-range-thumb{cursor:pointer;background:#007aff;border:none;border-radius:50%;width:18px;height:18px;transition:all .2s}.slider-wrapper input[type=range]::-moz-range-thumb:hover{background:#0056b3;transform:scale(1.1)}.control-buttons{border-top:1px solid #0000001a;justify-content:flex-end;gap:12px;padding-top:12px;display:flex}.control-btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.control-btn.primary{color:#fff;background:#007aff}.control-btn.primary:hover{background:#0056b3}.control-btn.secondary{color:#1d1d1f;background:#0000000d}.control-btn.secondary:hover{background:#0000001a}.control-btn svg{width:18px;height:18px}
.activityStoreOverlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;background:#0009;justify-content:center;align-items:center;padding:20px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.activityStoreModal{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:1400px;max-height:90vh;animation:.3s slideUp;display:flex;overflow:hidden;box-shadow:0 20px 60px #0000004d}.activityStoreModal.fullscreen{border-radius:0;width:100vw;max-width:100%;height:100vh;max-height:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.storeHeader{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:space-between;align-items:center;padding:24px 32px;display:flex}.storeHeader.compact{padding:12px 20px}.storeHeader h1{margin:0;font-size:28px;font-weight:600}.storeHeader.compact h1{font-size:18px}.closeBtn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;transition:background .2s;display:flex}.closeBtn:hover{background:#ffffff4d}.fullscreenBtn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;transition:background .2s;display:flex}.fullscreenBtn:hover{background:#ffffff4d}.exitFullscreenBtn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;cursor:pointer;z-index:100;background:#00000080;border:none;border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;transition:background .2s;display:flex;position:absolute;top:16px;right:16px}.exitFullscreenBtn:hover{background:#000000b3}.searchBar{border-bottom:1px solid #e0e0e0;padding:20px 32px;position:relative}.searchInput{border:2px solid #e0e0e0;border-radius:8px;width:100%;padding:12px 40px 12px 16px;font-size:16px;transition:border-color .2s}.searchInput:focus{border-color:#667eea;outline:none}.clearSearchBtn{color:#999;cursor:pointer;background:0 0;border:none;padding:8px;font-size:20px;line-height:1;position:absolute;top:50%;right:42px;transform:translateY(-50%)}.clearSearchBtn:hover{color:#333}.storeContent{flex:1;grid-template-columns:250px 1fr;display:grid;overflow:hidden}.filtersSidebar{background:#f8f9fa;border-right:1px solid #e0e0e0;padding:24px;overflow-y:auto}.filterSection{margin-bottom:30px}.filterSection h3{text-transform:uppercase;color:#666;letter-spacing:.5px;margin-bottom:12px;font-size:14px;font-weight:600}.filterCheckbox{cursor:pointer;color:#333;align-items:center;gap:10px;padding:8px 0;font-size:15px;transition:color .2s;display:flex}.filterCheckbox:hover{color:#667eea}.filterCheckbox input[type=checkbox]{cursor:pointer;accent-color:#667eea;width:18px;height:18px}.clearFiltersBtn{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:6px;width:100%;margin-top:10px;padding:10px;font-size:14px;font-weight:500;transition:background .2s}.clearFiltersBtn:hover{background:#5568d3}.activitiesGrid{padding:32px;overflow-y:auto}.featuredSection{margin-bottom:40px}.featuredSection h2,.activitiesGrid>section>h2{color:#333;margin-bottom:20px;font-size:24px;font-weight:600}.activityCards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;display:grid}.activityCard{cursor:pointer;background:#fff;border:2px solid #e0e0e0;border-radius:12px;transition:all .3s;overflow:hidden}.activityCard:hover{border-color:#667eea;transform:translateY(-4px);box-shadow:0 8px 24px #667eea33}.cardThumbnail{aspect-ratio:16/9;background:#f0f0f0;width:100%;position:relative;overflow:hidden}.cardThumbnail img{object-fit:cover;width:100%;height:100%}.featuredBadge{color:#fff;background:#ffc107f2;border-radius:20px;padding:6px 12px;font-size:14px;font-weight:600;position:absolute;top:12px;right:12px;box-shadow:0 2px 8px #0003}.cardContent{padding:20px}.cardHeader{justify-content:space-between;align-items:start;margin-bottom:12px;display:flex}.cardHeader h3{color:#333;flex:1;margin:0;font-size:18px;font-weight:600;line-height:1.3}.categoryBadge{flex-shrink:0;margin-left:8px;font-size:24px}.cardDescription{color:#666;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:16px;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.cardFooter{justify-content:space-between;align-items:center;display:flex}.cardTags{flex-wrap:wrap;flex:1;gap:6px;display:flex}.tag{color:#667eea;background:#e8eaf6;border-radius:12px;padding:4px 10px;font-size:12px;font-weight:500}.requiresBadge{opacity:.7;flex-shrink:0;font-size:20px}.loadingState,.emptyState{text-align:center;color:#666;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.loadingState .spinner{border:6px solid #f3f3f3;border-top-color:#667eea;border-radius:50%;width:60px;height:60px;margin-bottom:20px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loadingState p,.emptyState p{margin:0 0 20px;font-size:18px}.emptyState .clearFiltersBtn{max-width:200px}@media (max-width:1024px){.storeContent{grid-template-columns:200px 1fr}.activityCards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}}@media (max-width:768px){.activityStoreModal{max-height:95vh}.storeHeader{padding:20px}.storeHeader h1{font-size:22px}.searchBar{padding:16px 20px}.storeContent{grid-template-columns:1fr}.filtersSidebar{border-bottom:1px solid #e0e0e0;border-right:none;max-height:200px;padding:20px}.filterSection{margin-bottom:20px}.activitiesGrid{padding:20px}.activityCards{grid-template-columns:1fr;gap:16px}}
.grading-jobs-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.grading-jobs-modal{background:#fff;border-radius:16px;flex-direction:column;width:90%;max-width:700px;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.grading-jobs-header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.grading-jobs-header h2{align-items:center;gap:10px;margin:0;font-size:20px;font-weight:600;display:flex}.grading-jobs-header h2 svg{opacity:.9}.close-button{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:background .2s;display:flex}.close-button:hover{background:#ffffff4d}.grading-jobs-content{flex:1;padding:16px;overflow-y:auto}.loading-state{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.spinner{border:3px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;width:40px;height:40px;margin-bottom:16px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-state{color:#ef4444;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.error-state svg{opacity:.7;margin-bottom:16px}.error-state button{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:8px;margin-top:16px;padding:10px 20px;font-weight:500}.error-state button:hover{background:#dc2626}.empty-state{color:#6b7280;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.empty-state svg{opacity:.5;margin-bottom:16px}.empty-state h3{color:#374151;margin:0 0 8px}.empty-state p{max-width:300px;margin:0}.jobs-list{flex-direction:column;gap:12px;display:flex}.job-card{cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:16px;transition:all .2s}.job-card:hover{background:#f3f4f6;border-color:#d1d5db}.job-card.selected{background:#f5f3ff;border-color:#667eea}.job-header{align-items:center;gap:12px;display:flex}.job-status{color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:16px;font-weight:700;display:flex}.job-info{flex:1;min-width:0}.job-info h3{color:#1f2937;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:15px;font-weight:600;overflow:hidden}.job-meta{color:#6b7280;margin:4px 0 0;font-size:13px}.job-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.status-badge{text-transform:uppercase;border-radius:12px;padding:4px 10px;font-size:11px;font-weight:600}.view-results-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500;transition:transform .2s,box-shadow .2s}.view-results-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.job-progress{margin-top:12px}.progress-bar{background:#e5e7eb;border-radius:3px;height:6px;overflow:hidden}.progress-fill{border-radius:3px;height:100%;transition:width .5s}.progress-stats{color:#6b7280;justify-content:space-between;margin-top:8px;font-size:12px;display:flex}.avg-score{color:#22c55e;font-weight:600}.job-details{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}.loading-details{color:#6b7280;justify-content:center;align-items:center;gap:10px;padding:20px;display:flex}.spinner.small{border-width:2px;width:20px;height:20px}.no-papers{text-align:center;color:#6b7280;padding:20px}.papers-table{border-collapse:collapse;width:100%;font-size:13px}.papers-table th,.papers-table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:8px 12px}.papers-table th{color:#374151;background:#f3f4f6;font-weight:600}.papers-table tr:last-child td{border-bottom:none}.papers-table tr:hover td{background:#f9fafb}.percentage{font-weight:600}.paper-status{text-transform:uppercase;font-size:11px;font-weight:500}.grading-jobs-footer{border-top:1px solid #e5e7eb;justify-content:flex-end;padding:16px 24px;display:flex}.refresh-btn{color:#374151;cursor:pointer;background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.refresh-btn:hover:not(:disabled){background:#e5e7eb}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}@media (max-width:600px){.grading-jobs-modal{border-radius:0;width:100%;max-width:100%;height:100%;max-height:100%}.job-header{flex-wrap:wrap}.view-results-btn{justify-content:center;width:100%;margin-top:12px}.papers-table{font-size:12px}.papers-table th,.papers-table td{padding:6px 8px}}
.left-nav-toolbar{z-index:10000;align-items:center;display:flex;position:fixed;bottom:24px;left:24px}.nav-main-button{cursor:pointer;z-index:2;background:#0070f3;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;transition:all .3s;display:flex;position:relative;box-shadow:0 10px 30px #0070f34d}.nav-main-button:hover{background:#0051cc;transform:scale(1.05)}.nav-main-button:active{transform:scale(.95)}.nav-icon{stroke:#fff;width:28px;height:28px;transition:transform .3s}.nav-main-button.active .nav-icon{transform:rotate(45deg)}.sub-apps-container{pointer-events:none;flex-direction:column;gap:12px;padding-bottom:78px;display:flex;position:absolute;bottom:0;left:0}.sub-apps-container.expanded{pointer-events:all}.sub-app-button{cursor:pointer;opacity:0;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;transition:all .3s;display:flex;position:relative;transform:scale(.8)translateY(0);box-shadow:0 4px 12px #0000001a}.sub-app-button svg{stroke:#333;width:24px;height:24px}.sub-app-button:hover{background:#fff;transform:scale(1.05);box-shadow:0 6px 16px #00000026}.sub-app-button:active{transform:scale(.95)}.sub-app-button.visible{opacity:1;transform:scale(1)translateY(0)}.sub-app-button.active{background:#0070f3}.sub-app-button.active svg{stroke:#fff}.sub-app-button.active:hover{background:#0051cc}.sub-app-label{white-space:nowrap;-webkit-backdrop-filter:blur(20px);color:#333;opacity:0;pointer-events:none;background:#fffffff2;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:500;transition:opacity .2s;position:absolute;left:calc(100% + 12px);box-shadow:0 2px 8px #0000001a}.sub-app-button:hover .sub-app-label{opacity:1}.sub-app-button.recording{background:#ff3b30;animation:1.5s ease-in-out infinite flash-recording}.sub-app-button.recording svg{stroke:#fff}.sub-app-button.recording:hover{background:#ff3b30}.sub-app-button.paused{background:#ff9500;animation:none}.sub-app-button.paused svg{stroke:#fff}@keyframes flash-recording{0%,to{opacity:1}50%{opacity:.6}}.recording-timer{font-variant-numeric:tabular-nums;color:#ff3b30;white-space:nowrap;background:#fffffff2;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600;position:absolute;bottom:-22px;left:50%;transform:translate(-50%);box-shadow:0 2px 4px #0000001a}.sub-app-button.paused .recording-timer{color:#ff9500}@media (max-width:768px){.left-nav-toolbar{bottom:16px;left:16px}.nav-main-button,.sub-app-button{width:48px;height:48px}.sub-apps-container{padding-bottom:60px}}
.recording-toolbar{z-index:9999;-webkit-backdrop-filter:blur(20px);background:#fffffff2;border-radius:30px;flex-direction:row;align-items:center;gap:8px;padding:8px 12px;animation:.2s slideInLeft;display:flex;position:fixed;bottom:90px;left:92px;box-shadow:0 4px 24px #00000026}@keyframes slideInLeft{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.recording-btn{-webkit-backdrop-filter:blur(20px);cursor:pointer;background:#ffffffe6;border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:48px;height:48px;transition:all .3s;display:flex;position:relative;box-shadow:0 2px 12px #00000026}.recording-btn:disabled{opacity:.5;cursor:not-allowed}.recording-btn svg{stroke:#1d1d1f;width:20px;height:20px;transition:all .2s}.recording-btn-label{color:#86868b;white-space:nowrap;opacity:0;pointer-events:none;font-size:9px;font-weight:500;transition:opacity .2s;position:absolute;bottom:-20px}.recording-btn:hover .recording-btn-label{opacity:.9}.recording-btn:hover{background:#fff;transform:translateY(-2px);box-shadow:0 4px 16px #0003}.recording-btn:active{transform:translateY(0)scale(.95)}.record-btn .record-icon-active{display:none}.record-btn{background:#ff3b301a}.record-btn:hover{background:#ff3b3026}.recording-toolbar.recording .record-btn{background:#ff3b30;animation:1.5s ease-in-out infinite flash-record}.recording-toolbar.recording .record-btn .record-icon-idle{display:none}.recording-toolbar.recording .record-btn .record-icon-active{fill:#fff;stroke:none;display:block}@keyframes flash-record{0%,to{opacity:1}50%{opacity:.7}}.pause-btn .play-icon,.pause-btn .resume-label,.recording-toolbar.paused .pause-btn .pause-icon,.recording-toolbar.paused .pause-btn .pause-label{display:none}.recording-toolbar.paused .pause-btn .play-icon,.recording-toolbar.paused .pause-btn .resume-label{display:block}.pause-btn svg{fill:#ff9500;stroke:none}.pause-btn{background:#ff95001a}.pause-btn:hover{background:#ff950026}.stop-btn svg{fill:#8e8e93;stroke:none}.stop-btn{background:#8e8e931a}.stop-btn:hover{background:#8e8e9326}.save-btn svg{stroke:#34c759}.save-btn{background:#34c7591a}.save-btn:hover{background:#34c75926}.summarize-btn svg{stroke:#007aff}.summarize-btn{background:#007aff1a}.summarize-btn:hover{background:#007aff26}.new-btn svg{stroke:#5856d6}.new-btn{background:#5856d61a}.new-btn:hover{background:#5856d626}.close-btn svg{stroke:#8e8e93}.close-btn{background:#8e8e9314}.close-btn:hover{background:#8e8e9326}.recording-status{background:#f8f8f8cc;border-radius:20px;flex-shrink:0;align-items:center;gap:10px;margin-left:4px;padding:6px 12px;display:flex}.recording-indicator{align-items:center;gap:8px;display:flex}.recording-dot{background:#ff3b30;border-radius:50%;width:10px;height:10px;animation:1.5s ease-in-out infinite pulse-dot}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.9)}}.recording-toolbar.paused .recording-dot{background:#ff9500;animation:none}.recording-label{color:#ff3b30;letter-spacing:.5px;font-size:11px;font-weight:600}.recording-toolbar.paused .recording-label{color:#ff9500}.recording-time{font-variant-numeric:tabular-nums;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,SF Mono,Segoe UI Mono,monospace;font-size:16px;font-weight:600}.recording-error-notification{-webkit-backdrop-filter:blur(20px);color:#d70015;z-index:10001;background:#fffffff2;border-left:4px solid #ff3b30;border-radius:8px;align-items:center;gap:12px;max-width:350px;padding:12px 16px;font-size:14px;animation:.3s slideInLeft;display:flex;position:fixed;bottom:90px;left:240px;box-shadow:0 4px 16px #0003}.recording-error-notification svg{stroke:#ff3b30;flex-shrink:0;width:20px;height:20px}.recording-summary-panel{z-index:10002;background:#fff;flex-direction:column;width:400px;max-width:90vw;height:100vh;animation:.3s slideInRight;display:flex;position:fixed;top:0;right:0;box-shadow:-4px 0 24px #00000026}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.summary-panel-header{border-bottom:1px solid #e5e5ea;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.summary-panel-title{align-items:center;gap:12px;display:flex}.summary-panel-title svg{stroke:#007aff;width:24px;height:24px}.summary-panel-title h4{color:#1d1d1f;margin:0;font-size:18px;font-weight:600}.summary-panel-close{cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:8px;transition:background .2s;display:flex}.summary-panel-close:hover{background:#f5f5f7}.summary-panel-close svg{stroke:#86868b;width:20px;height:20px}.summary-panel-content{flex:1;padding:24px;overflow-y:auto}.summary-panel-content p{color:#3a3a3c;white-space:pre-wrap;margin:0;font-size:15px;line-height:1.6}.summary-error{color:#d70015;background:#ffe5e5;border-left:4px solid #ff3b30;border-radius:8px;align-items:center;gap:12px;padding:16px;font-size:14px;display:flex}.summary-error svg{stroke:#ff3b30;flex-shrink:0;width:20px;height:20px}.library-empty{text-align:center;color:#86868b;padding:40px 20px;font-size:14px}.recordings-list{flex-direction:column;gap:16px;display:flex}.recording-item{background:#f8f8f899;border:1px solid #0000000f;border-radius:12px;padding:16px;transition:all .2s}.recording-item:hover{background:#f8f8f8e6;border-color:#007aff33;box-shadow:0 2px 8px #00000014}.recording-item-header{align-items:flex-start;gap:12px;display:flex}.recording-item-icon{background:#007aff1a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.recording-item-icon svg{stroke:#007aff;width:18px;height:18px}.recording-item-info{flex:1;min-width:0}.recording-item-name{color:#1d1d1f;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:14px;font-weight:600;overflow:hidden}.recording-item-meta{color:#86868b;font-size:12px}.recording-item-summary{border-top:1px solid #0000000f;margin-top:12px;padding-top:12px}.recording-item-summary-label{color:#007aff;align-items:center;gap:6px;margin-bottom:8px;font-size:12px;font-weight:600;display:flex}.recording-item-summary-label svg{stroke:#007aff;width:14px;height:14px}.recording-item-summary p{color:#1d1d1f;margin:0;font-size:13px;line-height:1.6}.recording-item-delete{cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-left:auto;transition:all .2s;display:flex}.recording-item-delete svg{stroke:#86868b;width:18px;height:18px;transition:stroke .2s}.recording-item-delete:hover{background:#ff3b301a}.recording-item-delete:hover svg{stroke:#ff3b30}.recording-item-delete:active{transform:scale(.95)}.recording-item-play{cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-left:8px;transition:all .2s;display:flex}.recording-item-play svg{fill:#007aff;width:16px;height:16px;transition:fill .2s}.recording-item-play:hover{background:#007aff1a}.recording-item-play:hover svg{fill:#0051cc}.recording-item-play:active{transform:scale(.95)}.recording-item-play:disabled{opacity:.3;cursor:not-allowed}.recording-item-play:disabled:hover{background:0 0}.video-player-modal{-webkit-backdrop-filter:blur(10px);z-index:10000;background:#000c;justify-content:center;align-items:center;padding:20px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.video-player-content{-webkit-user-select:none;user-select:none;background:#fff;border-radius:16px;flex-direction:column;margin-top:-300px;margin-left:-400px;display:flex;position:absolute;top:50%;left:50%;overflow:hidden;box-shadow:0 20px 60px #0000004d}.video-player-header{background:#f8f8f8f2;border-bottom:1px solid #0000000f;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.video-player-header h4{color:#1d1d1f;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;margin:0;font-size:16px;font-weight:600;overflow:hidden}.video-player-close{cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-left:12px;transition:all .2s;display:flex}.video-player-close svg{stroke:#86868b;width:20px;height:20px;transition:stroke .2s}.video-player-close:hover{background:#0000000f}.video-player-close:hover svg{stroke:#1d1d1f}.video-player-video{object-fit:contain;background:#000;flex:1;width:100%;display:block}.video-player-resize-handle{cursor:nwse-resize;background:linear-gradient(135deg,#0000 0% 50%,#0003 50% 100%);border-bottom-right-radius:16px;width:20px;height:20px;position:absolute;bottom:0;right:0}.video-player-resize-handle:hover{background:linear-gradient(135deg,#0000 0% 50%,#007aff66 50% 100%)}.library-btn svg{stroke:#af52de}.library-btn{background:#af52de1a}.library-btn:hover{background:#af52de26}@media (max-width:768px){.recording-toolbar{bottom:70px;left:70px}.recording-btn{width:44px;height:44px}.recording-error-notification{max-width:none;bottom:70px;left:200px;right:16px}.recording-summary-panel{width:100%;max-width:100%}}@media (max-width:480px){.recording-toolbar{gap:8px;padding:8px;bottom:60px;left:60px}.recording-btn{width:40px;height:40px}.recording-btn svg{width:18px;height:18px}.recording-status{padding:6px 12px}.recording-time{font-size:14px}}
