.status-toast-container{position:fixed;top:80px;right:24px;z-index:1100;display:flex;flex-direction:column;gap:12px;max-width:400px;pointer-events:none}.status-toast{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:12px;background:var(--panel);border:1px solid var(--border);box-shadow:0 8px 24px #0003;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;animation:toast-slide-in .3s ease-out;transition:all .2s ease;min-width:320px}.status-toast:hover{transform:translateY(-2px);box-shadow:0 12px 32px #0000004d}.status-toast-success{border-left:4px solid var(--success-color)}.status-toast-success .status-toast-icon{color:var(--success-color)}.status-toast-error{border-left:4px solid var(--accent)}.status-toast-error .status-toast-icon{color:var(--accent)}.status-toast-info{border-left:4px solid #007aff}.status-toast-info .status-toast-icon{color:#007aff}.status-toast-icon{flex-shrink:0}.status-toast-content{flex:1;min-width:0}.status-toast-title{font-weight:600;font-size:14px;color:var(--fg);margin-bottom:4px;line-height:1.4}.status-toast-message{font-size:13px;color:var(--muted);line-height:1.4;word-wrap:break-word}.status-toast-close{flex-shrink:0;background:none;border:none;color:var(--muted);cursor:pointer;padding:2px;border-radius:4px;transition:all .2s ease}.status-toast-close:hover{background:var(--border);color:var(--fg)}@keyframes toast-slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.status-toast.removing{animation:toast-slide-out .3s ease-in forwards}@keyframes toast-slide-out{to{transform:translate(100%);opacity:0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:var(--panel);border:1px solid var(--border);border-radius:12px;max-width:700px;width:90%;max-height:95vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 10px 30px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-title{font-size:18px;font-weight:600;margin:0;color:var(--fg)}.modal-close{background:none;border:none;font-size:24px;color:var(--muted);cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:6px}.modal-close:hover{background:var(--border);color:var(--fg)}.quick-capture-modal{max-width:400px;text-align:center}.edit-bit-modal{max-width:600px;max-height:90vh}.edit-bit-modal .modal-content{max-height:90vh}.edit-bit-modal .modal-form-group{margin-bottom:20px}.edit-bit-modal textarea{min-height:200px;resize:vertical}.edit-bit-content{max-height:80vh;overflow-y:auto}.edit-bit-form .modal-form-group{margin-bottom:20px}.edit-bit-form .modal-form-group:last-child{margin-bottom:0}.edit-bit-form textarea{min-height:200px;resize:vertical}.edit-bit-form .modal-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.create-bit-content{max-height:70vh;overflow-y:auto}.create-bit-form .modal-form-group{margin-bottom:16px}.create-bit-form .modal-form-group:last-child{margin-bottom:0}.create-bit-form textarea{min-height:150px;resize:vertical}.create-bit-form .modal-actions{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.quick-capture-content{padding:32px 24px}.quick-capture-icon{color:var(--accent);margin-bottom:16px}.quick-capture-content h3{margin:16px 0 8px;font-size:24px;font-weight:700}.quick-capture-content p{color:var(--muted);margin-bottom:32px;font-size:16px}.btn-large{padding:16px 32px;font-size:16px;font-weight:600;gap:12px}.recording-indicator{color:var(--accent);margin-bottom:16px;display:flex;justify-content:center;animation:pulse 2s infinite}.recording-timer{font-size:32px;font-weight:700;font-family:monospace;color:var(--accent);margin:16px 0}.processing-spinner{color:var(--accent);margin-bottom:16px}.spin{animation:spin 1s linear infinite}.success-icon{color:var(--success-color);margin-bottom:16px}.recording-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.btn-outline{background:transparent;border:2px solid var(--border);color:var(--muted)}.btn-outline:hover{border-color:var(--accent);color:var(--accent);background:transparent}.modal-body{padding:20px;flex:1;overflow-y:auto;display:flex;flex-direction:column}.modal-form-group{margin-bottom:16px}.modal-form-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--fg)}.modal-form-group .input,.modal-form-group .select,.modal-form-group textarea{width:100%}.modal-form-group textarea{min-height:150px;resize:vertical}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}.star-rating{display:flex;align-items:center;gap:4px}.star{transition:color .2s ease;display:flex;align-items:center;justify-content:center;line-height:1}.star:hover{color:gold!important}.star.filled{color:gold}.clear-rating{display:flex;align-items:center;justify-content:center;height:24px;padding:0;margin:0;line-height:1;vertical-align:middle}:root{--bg: #0f0f10;--fg: #e9e9ea;--muted: #8e8e93;--accent: #ff3b30;--accent-hover: #ff1f0a;--accent-bg: rgba(255, 59, 48, .1);--accent-rgb: 255, 59, 48;--panel: #1c1c1e;--panel-hover: #2c2c2e;--border: #38383a;--border-light: #4a4a4c;--bg-subtle: #1a1a1c;--bg-secondary: #1a1a1c;--bg-elevated: #2c2c2e;--text-muted: #8e8e93;--success-color: #32d74b;--warning-color: #ff9f0a;--error-color: #ff3b30;--error-bg: rgba(255, 59, 48, .1);--shadow: rgba(0, 0, 0, .3);--shadow-accent: rgba(255, 59, 48, .3)}[data-theme=light]{--bg: #ffffff;--fg: #1d1d1f;--muted: #6e6e73;--accent: #000000;--accent-hover: #666666;--accent-bg: rgba(0, 0, 0, .05);--accent-rgb: 0, 0, 0;--panel: #f2f2f7;--panel-hover: #e5e5ea;--border: #d1d1d6;--border-light: #e5e5ea;--bg-subtle: #f9f9f9;--bg-secondary: #f9f9f9;--bg-elevated: #ffffff;--text-muted: #6e6e73;--success-color: #30d158;--warning-color: #ff9500;--error-color: #ff3b30;--shadow: rgba(0, 0, 0, .1);--shadow-accent: rgba(0, 0, 0, .15)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;background:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5}.app-root{display:flex;flex-direction:column;height:100vh;background:var(--bg);color:var(--fg)}.app-header{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;padding:16px 24px;background:var(--bg);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:100;gap:24px}.header-left{display:flex;align-items:center;gap:24px}.header-brand{font-size:20px;font-weight:700;color:var(--fg)}.header-page-title{font-size:16px;font-weight:600;color:var(--muted);padding-left:24px;border-left:1px solid var(--border)}.header-center{display:flex;justify-content:center}.header-search{width:100%;max-width:500px}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-input-wrapper svg{position:absolute;left:12px;color:var(--muted);z-index:1}.search-input{width:100%;padding:12px 16px 12px 40px;background:var(--panel);border:1px solid var(--border);border-radius:24px;color:var(--fg);font-size:14px;transition:all .2s ease}.search-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #ff453a1a}[data-theme=light] .search-input:focus{box-shadow:0 0 0 3px #0000001a}[data-theme=light] .input:focus,[data-theme=light] textarea:focus,[data-theme=light] .select:focus{box-shadow:0 0 0 3px #0000001a}.search-input::placeholder{color:var(--muted)}.search-spinner{position:absolute;right:12px;color:var(--accent)}.header-right{display:flex;align-items:center;gap:12px;justify-content:flex-end}.header-quick-capture{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.main-content{display:flex;flex:1;overflow:hidden}.sidebar{width:280px;background:var(--panel);border-right:1px solid var(--border);padding:24px 20px;overflow-y:auto}.sidebar ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}.sidebar a{color:var(--muted);text-decoration:none;display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;font-weight:600;font-size:15px;transition:all .2s ease}:root .sidebar li.active a{box-shadow:0 4px 12px #ff453a4d}[data-theme=light] .sidebar li.active a{box-shadow:none;border:1px solid var(--accent)}.sidebar a:hover:not(.active){background:var(--panel-hover);color:var(--fg)}.sidebar li.active a:hover{background:var(--accent);color:#fff;transform:none;box-shadow:inherit}.sidebar li.active a{background:var(--accent);color:#fff}.content{flex:1;padding:32px 40px;overflow-y:auto;background:var(--bg);min-width:0}.h1{font-size:28px;font-weight:700;margin-bottom:24px;color:var(--fg);display:flex;align-items:center;gap:12px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 8px 32px var(--shadow);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.btn{background:var(--accent);color:#fff;border:none;border-radius:12px;padding:12px 20px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px;min-height:44px}.btn:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 8px 25px #ff453a66}[data-theme=light] .btn:hover{box-shadow:0 8px 25px #00000026}.btn.secondary,.btn-secondary{background:var(--panel-hover);color:var(--fg);border:1px solid var(--border)}.btn.secondary:hover,.btn-secondary:hover{background:var(--border);transform:translateY(-1px);box-shadow:0 4px 20px var(--shadow)}.btn.secondary:disabled,.btn-secondary:disabled{background:var(--muted);border-color:var(--muted);color:var(--bg);cursor:not-allowed;transform:none;box-shadow:none}.btn.secondary:disabled:hover,.btn-secondary:disabled:hover{background:var(--muted);border-color:var(--muted);transform:none;box-shadow:none}.btn.small{padding:6px 10px;min-height:32px;font-size:12px;border-radius:8px}.btn.secondary.playing,.btn-secondary.playing{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.secondary.playing:hover,.btn-secondary.playing:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.input,.select,textarea{background:var(--bg);border:1px solid var(--border);color:var(--fg);border-radius:8px;padding:12px 16px;font-size:14px;transition:all .2s ease;min-height:50px;width:100%;box-sizing:border-box}.input:focus,.select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #ff453a1a}.select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px}.tag-input{display:flex;flex-direction:column;gap:8px}.tags-container{display:flex;flex-wrap:wrap;gap:6px;min-height:40px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--bg)}.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;background:var(--accent);color:#fff;border-radius:16px;font-size:12px;font-weight:500;white-space:nowrap;-webkit-user-select:none;user-select:none}.tag-remove{background:none;border:none;color:inherit;cursor:pointer;padding:0;margin:0;font-size:14px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;transition:background-color .2s ease}.tag-remove:hover{background:#fff3}.tag-input-field{width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--fg);font-size:14px;transition:border-color .2s ease}.tag-input-field:focus{outline:none;border-color:var(--accent)}.tag-input-field::placeholder{color:var(--muted)}.table{width:100%;border-collapse:collapse;border-spacing:0;border-radius:16px;overflow:hidden}.recordings-performance-table,.recordings-segments-table{table-layout:fixed!important}.table th,.table td{border-bottom:1px solid var(--border);padding:16px 12px;text-align:left;vertical-align:middle}.table th{background:var(--panel-hover);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}.table th:first-child{border-top-left-radius:16px}.table th:last-child{border-top-right-radius:16px}.table tbody tr:hover{background:var(--panel-hover)}.table tbody tr:last-child td:first-child{border-bottom-left-radius:16px}.table tbody tr:last-child td:last-child{border-bottom-right-radius:16px}.bits-table th:nth-child(1),.bits-table td:nth-child(1){width:15%!important;min-width:120px!important}.bits-table th:nth-child(2),.bits-table td:nth-child(2){width:12%!important;min-width:100px!important}.bits-table th:nth-child(3),.bits-table td:nth-child(3){width:50%!important;min-width:300px!important}.bits-table th:nth-child(4),.bits-table td:nth-child(4){width:5%!important;min-width:80px!important}.bits-table th:nth-child(5),.bits-table td:nth-child(5){width:12%!important;min-width:100px!important}.bits-table th:nth-child(6),.bits-table td:nth-child(6){width:10%!important;min-width:100px!important}.bits-table th:nth-child(7),.bits-table td:nth-child(7){width:6%!important;min-width:80px!important}.recordings-performance-table th:nth-child(1),.recordings-performance-table td:nth-child(1){width:36%!important;min-width:280px!important;max-width:none!important}.recordings-performance-table th:nth-child(2),.recordings-performance-table td:nth-child(2){width:6%!important;min-width:60px!important}.recordings-performance-table th:nth-child(3),.recordings-performance-table td:nth-child(3){width:8%!important;min-width:80px!important}.recordings-performance-table th:nth-child(4),.recordings-performance-table td:nth-child(4){width:12%!important;min-width:100px!important}.recordings-performance-table th:nth-child(5),.recordings-performance-table td:nth-child(5){width:6%!important;min-width:70px!important}.recordings-performance-table th:nth-child(6),.recordings-performance-table td:nth-child(6){width:12%!important;min-width:100px!important}.recordings-performance-table th:nth-child(7),.recordings-performance-table td:nth-child(7){width:8%!important;min-width:70px!important}.recordings-performance-table th:nth-child(8),.recordings-performance-table td:nth-child(8){width:8%!important;min-width:80px!important}.recordings-performance-table th:nth-child(9),.recordings-performance-table td:nth-child(9){width:10%!important;min-width:90px!important}.recordings-segments-table th:nth-child(1),.recordings-segments-table td:nth-child(1){width:60px!important;min-width:60px!important;max-width:60px!important}.recordings-segments-table th:nth-child(2),.recordings-segments-table td:nth-child(2){width:25%!important;min-width:150px!important}.recordings-segments-table th:nth-child(3),.recordings-segments-table td:nth-child(3){width:15%!important;min-width:100px!important}.recordings-segments-table th:nth-child(4),.recordings-segments-table td:nth-child(4){width:10%!important;min-width:70px!important}.recordings-segments-table th:nth-child(5),.recordings-segments-table td:nth-child(5){width:35%!important;min-width:200px!important}.recordings-segments-table th:nth-child(6),.recordings-segments-table td:nth-child(6){width:15%!important;min-width:100px!important}.table[style*="table-layout: fixed"] th:nth-child(1),.table[style*="table-layout: fixed"] td:nth-child(1){width:50px}.table[style*="table-layout: fixed"] th:nth-child(2),.table[style*="table-layout: fixed"] td:nth-child(2){width:50%;min-width:300px}.table[style*="table-layout: fixed"] th:nth-child(3),.table[style*="table-layout: fixed"] td:nth-child(3){width:80px}.table[style*="table-layout: fixed"] th:nth-child(4),.table[style*="table-layout: fixed"] td:nth-child(4){width:80px}.table[style*="table-layout: fixed"] th:nth-child(5),.table[style*="table-layout: fixed"] td:nth-child(5){width:80px}.table[style*="table-layout: fixed"] th:nth-child(6),.table[style*="table-layout: fixed"] td:nth-child(6){width:120px}.table[style*="table-layout: fixed"] th:nth-child(7),.table[style*="table-layout: fixed"] td:nth-child(7){width:10%;min-width:150px}.clickable-row:hover{background:var(--panel-hover)!important}.view-toggle{display:flex;background:var(--panel);border:1px solid var(--border);border-radius:8px;overflow:hidden}.toggle-btn{background:transparent;border:none;padding:12px 16px;color:var(--muted);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border-right:1px solid var(--border)}.toggle-btn:last-child{border-right:none}.toggle-btn:hover{background:var(--panel-hover);color:var(--fg)}.toggle-btn.active{background:var(--accent);color:#fff}.theme-toggle{background:transparent;border:1px solid var(--border);border-radius:8px;padding:8px;color:var(--muted);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.theme-toggle:hover{background:var(--panel-hover);border-color:var(--accent);color:var(--accent)}.muted{color:var(--muted)}.set-builder{border-radius:16px;background:var(--bg);border:1px solid var(--border);overflow:hidden}.set-builder-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:var(--panel);border-bottom:1px solid var(--border)}.set-builder-header h3{margin:0;font-size:18px;font-weight:600;color:var(--fg)}.search-wrapper{position:relative;display:flex;align-items:center}.search-wrapper svg{position:absolute;left:12px;color:var(--muted);z-index:1}.search-input-inline{background:var(--bg);border:1px solid var(--border);border-radius:24px;padding:8px 16px 8px 36px;font-size:14px;color:var(--fg);width:240px;transition:all .2s ease}.search-input-inline:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #ff453a1a}.set-builder-content{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:1fr;gap:0;min-height:400px}.bits-library{padding:20px;background:var(--bg);border-right:1px solid var(--border)}.library-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-weight:600;color:var(--fg)}.count{background:var(--panel);color:var(--muted);padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.bits-grid{display:flex;flex-direction:column;gap:8px;max-height:350px;overflow-y:auto;padding-right:8px;transition:all .2s ease;border-radius:8px;position:relative}.bits-grid::-webkit-scrollbar{width:6px}.bits-grid::-webkit-scrollbar-track{background:transparent}.bits-grid::-webkit-scrollbar-thumb{background:var(--border-light);border-radius:3px}.bits-grid::-webkit-scrollbar-thumb:hover{background:var(--muted)}.bits-grid.drop-target{border:2px dashed var(--border-light);border-radius:12px;padding:16px;background:var(--bg-subtle);position:relative;min-height:120px}.bits-grid.drop-target.drag-over{border-color:var(--accent);background:var(--accent-bg);transform:scale(1.01)}.grid-drop-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(var(--accent-rgb),.02);border-radius:12px;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:5}.bits-grid.drag-over .grid-drop-overlay{background:rgba(var(--accent-rgb),.08)}.drop-message{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--text-muted);font-size:14px;font-weight:500;text-align:center}.bits-grid.drag-over .drop-message{color:var(--accent)}.drop-message svg{opacity:.6}.bits-grid.drag-over .drop-message svg{opacity:1;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.bit-card{display:flex;align-items:center;justify-content:space-between;padding:12px;background:var(--panel);border:1px solid var(--border);border-radius:12px;cursor:grab;transition:all .2s ease}.bit-card:hover{background:var(--panel-hover);transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.bit-card:active{cursor:grabbing}.bit-card.dragging{opacity:.8;transform:scale(1.05);box-shadow:0 8px 25px var(--shadow-accent);border-color:var(--accent);z-index:1000}.bit-card-content{flex:1;min-width:0}.bit-title{font-weight:600;color:var(--fg);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bit-meta{display:flex;align-items:center;gap:8px;font-size:12px}.bit-duration{color:var(--accent);font-weight:500}.bit-topics{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.add-btn{background:var(--accent);color:#fff;border:none;border-radius:8px;padding:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.add-btn:hover{background:var(--accent-hover);transform:scale(1.1)}.set-builder-divider{display:flex;align-items:center;justify-content:center;padding:20px 12px;background:var(--panel);color:var(--muted)}.set-composition{padding:20px;background:var(--bg);border-left:1px solid var(--border)}.composition-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-weight:600;color:var(--fg)}.set-stats{display:flex;align-items:center;gap:12px;font-size:12px}.duration{color:var(--accent);font-weight:600}.set-drop-zone{min-height:350px;border:2px dashed var(--border);border-radius:12px;transition:all .2s ease;position:relative}.set-drop-zone.empty{display:flex;align-items:center;justify-content:center}.set-drop-zone.drag-over{border-color:var(--accent);background:#ff453a0d}.empty-state{text-align:center;color:var(--muted);padding:40px 20px}.empty-state svg{margin-bottom:16px;opacity:.5}.empty-state p{margin:0 0 8px;font-weight:500;color:var(--fg)}.empty-state span{font-size:12px}.set-sequence{padding:12px;display:flex;flex-direction:column;gap:8px;max-height:326px;overflow-y:auto}.set-bit-card{display:flex;align-items:center;gap:12px;padding:12px;background:var(--panel);border:1px solid var(--border);border-radius:8px;cursor:grab;transition:all .2s ease}.set-bit-card:hover{background:var(--panel-hover);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.set-bit-card:active{cursor:grabbing}.set-bit-card.dragging{opacity:.7;transform:scale(1.02);box-shadow:0 4px 16px #ff453a4d;border-color:var(--accent)}.set-bit-order{background:var(--accent);color:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.set-bit-content{flex:1;min-width:0}.set-bit-title{font-weight:600;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px;max-width:100%}.set-bit-duration{font-size:12px;color:var(--accent);font-weight:500}.remove-btn{background:transparent;color:var(--muted);border:none;border-radius:6px;padding:4px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.remove-btn:hover{background:var(--panel-hover);color:var(--accent);transform:scale(1.1)}.select-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.select-column{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:8px;display:flex;flex-direction:column;min-height:260px}.select-column-header{font-weight:600;color:var(--muted);padding:4px 6px 8px}.select-list{overflow-y:auto;max-height:300px;display:flex;flex-direction:column;gap:6px;position:relative}.select-list.drag-over{background:#ff453a1a;border-radius:8px}.select-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;background:var(--panel-hover);border:1px solid var(--border);border-radius:8px;cursor:grab;transition:all .2s ease;position:relative}.select-item:hover{background:var(--border);transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.select-item:active{cursor:grabbing}.select-item.dragging{opacity:.8;border-color:var(--accent);background:var(--accent);color:#fff;transform:scale(1.05) rotate(2deg);box-shadow:0 8px 25px #ff453a66;z-index:1000}.select-item-main{display:flex;flex-direction:column;min-width:0}.select-item-title{font-weight:600}.select-item-meta{font-size:12px}.bit-picker{border:1px solid var(--border);border-radius:12px;background:var(--panel)}.bit-picker-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--border)}.bit-picker-title{font-weight:700}.bit-picker-tools{min-width:280px;width:50%}.dnd-list{display:flex;flex-direction:column;gap:6px;overflow-y:auto;max-height:300px;position:relative}.dnd-list.drag-over{background:#ff453a1a;border-radius:8px}.dnd-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px;background:var(--panel-hover);border:1px solid var(--border);border-radius:8px;transition:all .2s ease;position:relative}.dnd-item:hover{background:var(--border);transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.dnd-item.dragging{opacity:.8;border-color:var(--accent);background:var(--accent);color:#fff;transform:scale(1.05) rotate(2deg);box-shadow:0 8px 25px #ff453a66;z-index:1000}.dnd-handle{cursor:grab;padding:0 6px;-webkit-user-select:none;user-select:none;color:var(--muted)}.sort-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;font-size:14px;width:100%;min-width:fit-content}.sort-indicator{font-family:monospace;font-size:12px;width:12px;text-align:center;opacity:.7;flex-shrink:0}.sort-btn:hover .sort-indicator{opacity:1}.success{color:var(--success-color)}.warning{color:var(--warning-color)}audio{width:100%;height:54px;border-radius:8px;background:var(--panel)}.star-rating{display:inline-flex;align-items:center;gap:2px}.star-rating .star{transition:color .2s ease;cursor:default}.star-rating .star.filled{color:gold}.star-rating .rating-text{font-size:12px;color:var(--muted);margin-left:8px;font-weight:500}.table .star-rating{justify-content:center}.table .star-rating .rating-text{display:none}.set-bits-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.set-bits-count{display:flex;flex-direction:column;gap:4px}.set-bits-count span:first-child{font-weight:500;color:var(--fg)}.set-bits-preview{border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--bg-subtle);max-height:200px;overflow-y:auto}.set-bit-preview{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-light)}.set-bit-preview:last-child{border-bottom:none}.set-bit-preview .bit-order{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--accent);color:#fff;border-radius:50%;font-size:12px;font-weight:600;flex-shrink:0}.set-bit-preview .bit-title{flex:1;font-weight:500;color:var(--fg)}.set-bit-preview .bit-duration{font-size:12px;color:var(--muted);flex-shrink:0}.set-bits-list{display:flex;flex-direction:column;gap:4px;max-height:120px;overflow-y:auto}.set-bit-item{display:flex;align-items:center;gap:8px;padding:4px 8px;background:var(--bg-subtle);border-radius:4px;border:1px solid var(--border-light);font-size:12px}.set-bit-item .bit-order{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:var(--accent);color:#fff;border-radius:50%;font-size:10px;font-weight:600;flex-shrink:0}.set-bit-item .bit-title{flex:1;color:var(--fg);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.set-bits-compact{display:flex;flex-direction:column;gap:2px;max-height:100px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.set-bits-compact::-webkit-scrollbar{display:none}.set-bit-compact{display:flex;align-items:center;gap:6px;padding:2px 6px;background:transparent;border-radius:3px;font-size:11px;transition:background-color .15s ease}.set-bit-compact:hover{background:var(--bg-subtle)}.set-bit-compact .bit-order-compact{display:flex;align-items:center;justify-content:center;width:16px;height:16px;background:var(--accent);color:#fff;border-radius:50%;font-size:9px;font-weight:600;flex-shrink:0}.set-bit-compact .bit-title-compact{flex:1;color:var(--fg);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.set-bit-compact.clickable{cursor:pointer;transition:all .15s ease}.set-bit-compact.clickable:hover{background:var(--bg-subtle);transform:translate(2px)}.set-bit-compact.clickable:active{transform:translate(1px)}.table .action-btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;padding:0!important;font-size:12px;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center}.table .action-btn.btn,.table .action-btn.btn-secondary{box-sizing:border-box;line-height:1}.table .action-btn svg{width:16px!important;height:16px!important;display:block;flex-shrink:0}.practice-mode-modal{width:90%;max-width:700px;max-height:90vh;background:var(--bg-primary);border:1px solid var(--border-color)}.practice-preparing{text-align:center;padding:2rem}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.practice-recording{padding:1rem}.set-info{text-align:center;margin-bottom:2rem;padding:1rem;background:var(--bg-secondary);border-radius:8px}.set-info h3{margin:0 0 .5rem;color:var(--primary-color)}.set-info p{margin:0;color:var(--text-secondary)}.bits-list{margin-bottom:2rem}.bits-list h4{margin:0 0 1rem;color:var(--text-primary)}.bit-card{display:flex;align-items:center;padding:.75rem;background:var(--bg-secondary);border-radius:6px;border:1px solid var(--border-color)}.bit-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--primary-color);color:#fff;border-radius:50%;font-size:.8rem;font-weight:600;margin-right:.75rem;flex-shrink:0}.bit-info{flex:1;min-width:0}.bit-title{font-weight:500;color:var(--text-primary);margin-bottom:.25rem}.bit-duration{font-size:.8rem;color:var(--text-secondary);margin-bottom:.25rem}.bit-topics{font-size:.8rem;color:var(--text-secondary);opacity:.8}.recording-controls{text-align:center;padding:2rem 0rem;border-top:1px solid var(--border-color)}.recording-btn{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 2rem;font-size:1.1rem}.record-icon{font-size:1.5rem}.recording-indicator{display:flex;align-items:center;gap:.5rem;color:#dc3545;font-weight:600}.record-dot{width:12px;height:12px;background:#dc3545;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%{transform:scale(.95);opacity:1}70%{transform:scale(1);opacity:.7}to{transform:scale(.95);opacity:1}}.timer{font-size:2rem;font-weight:600;color:var(--primary-color);font-family:Monaco,Consolas,monospace}.practice-uploading{padding:2rem;text-align:center}.upload-progress{margin:1rem 0}.progress-bar{width:100%;height:8px;background:var(--bg-secondary);border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:var(--primary-color);transition:width .3s ease}.practice-completed{padding:2rem;text-align:center}.practice-completed .success-icon{font-size:3rem;margin-bottom:1rem}.practice-completed h3{margin:0 0 1rem;color:var(--success-color)}.practice-completed p{margin:.5rem 0;color:var(--text-secondary)}.practice-error{padding:2rem;text-align:center}.practice-error .error-icon{font-size:3rem;margin-bottom:1rem}.practice-error h3{margin:0 0 1rem;color:var(--error-color)}.practice-error p{margin:0 0 1.5rem;color:var(--text-secondary)}.practice-mode-selection{margin:1.5rem 0;padding:1.5rem;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color)}.practice-mode-selection h4{margin:0 0 1.5rem;text-align:center;color:var(--text-primary)}.mode-buttons{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mode-btn{display:flex;align-items:center;gap:1rem;padding:1.5rem;text-align:left;border-radius:8px;transition:all .2s ease;border:2px solid transparent}.mode-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.mode-btn.primary,.mode-btn.secondary:hover{border-color:var(--primary-color)}.mode-icon{width:24px;height:24px;flex-shrink:0;color:currentColor}.mode-text{flex:1}.mode-title{font-weight:600;font-size:1.1rem;margin-bottom:.25rem;color:var(--text-primary)}.mode-subtitle{font-size:.9rem;color:var(--text-secondary);line-height:1.4}.practice-upload{padding:1rem}.upload-form{margin-top:2rem;padding:1.5rem;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color)}.upload-form h4{margin:0 0 1.5rem;color:var(--text-primary)}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-primary)}.form-input{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:4px;background:var(--bg-primary);color:var(--text-primary);font-size:1rem}.form-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #3b82f61a}.file-upload{position:relative}.file-input{opacity:0;position:absolute;width:100%;height:100%;cursor:pointer}.file-upload-label{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border:2px dashed var(--border);border-radius:8px;background:var(--bg);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;min-height:60px}.file-upload-label:hover{border-color:var(--accent);background:var(--panel-hover);color:var(--text-primary)}.file-upload:has(.file-input:focus) .file-upload-label{border-color:var(--accent);box-shadow:0 0 0 3px #ff453a1a}.upload-icon{color:var(--accent);flex-shrink:0}.upload-content{flex:1;text-align:left}.upload-text{font-weight:500;color:var(--text-primary);font-size:14px;margin-bottom:2px}.upload-hint{font-size:12px;color:var(--text-secondary)}.file-info{margin-top:8px}.file-details{display:flex;gap:16px;font-size:12px;color:var(--text-secondary)}.file-size{font-weight:500}.file-type{opacity:.8}.upload-actions{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem}@media (max-width: 768px){.mode-buttons{grid-template-columns:1fr}.mode-btn{padding:1rem}.upload-actions{flex-direction:column}}.bits-preview{margin-top:1.5rem;padding:1rem;background:var(--bg-secondary);border-radius:6px;border:1px solid var(--border-color)}.bits-preview h4{margin:0 0 1rem;color:var(--text-primary);font-size:.9rem;font-weight:600}.bits-summary{display:flex;flex-direction:column;gap:.5rem}.bit-preview-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:var(--bg-primary);border-radius:4px;font-size:.85rem}.bit-preview-item .bit-number{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:var(--primary-color);color:#fff;border-radius:50%;font-size:.75rem;font-weight:700;flex-shrink:0}[data-theme=light] .bit-preview-item .bit-number,[data-theme=light] .bit-number{color:var(--fg)}.error-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--error-color, #dc3545);color:#fff;border-radius:50%;font-size:24px;margin:0 auto 16px;box-shadow:0 4px 12px #dc35454d}[data-theme=light] .error-icon{background:#dc3545;box-shadow:0 4px 12px #dc354533}.success-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 16px;color:var(--success-color, #32d74b)}.bit-preview-item .bit-name{flex:1;color:var(--text-primary);font-weight:500}.bit-preview-item .bit-duration{color:var(--text-secondary);font-size:.8rem}.bits-more{padding:.5rem;text-align:center;color:var(--text-secondary);font-style:italic;font-size:.85rem}.practice-recording-active{padding:1rem}.practice-recording-active .set-info h3{margin:0 0 .5rem}.practice-recording-active .set-info p{margin:0 0 1.5rem;color:var(--text-secondary)}.smart-link-modal{width:90%;max-width:800px;max-height:85vh}.smart-link-set-selection{padding:1rem}.smart-link-set-selection .form-group{margin:1.5rem 0}.smart-link-set-selection label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-primary)}.smart-link-set-selection .form-control{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:4px;background:var(--bg-primary);color:var(--text-primary)}.smart-link-preview{padding:1rem;max-height:60vh;overflow-y:auto}.preview-summary{margin-bottom:1.5rem;padding:1rem;background:var(--bg-secondary);border-radius:6px}.preview-summary h3{margin:0 0 .5rem;color:var(--primary-color)}.preview-summary p{margin:0;color:var(--text-secondary)}.conflicts-warning{margin-bottom:1.5rem;padding:1rem;background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;color:#856404}.conflicts-warning h4{margin:0 0 .5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;cursor:pointer}.checkbox-label input[type=checkbox]{margin:0}.preview-matches{margin-bottom:1.5rem}.preview-matches h4{margin:0 0 1rem;color:var(--text-primary)}.matches-list{display:flex;flex-direction:column;gap:1rem}.match-item{padding:1rem;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-secondary)}.match-item.will-apply{border-color:var(--success-color);background:#22c55e0d}.match-item.will-skip{border-color:var(--text-secondary);background:#9ca3af0d}.match-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.segment-info{display:flex;flex-direction:column;gap:.25rem}.segment-info strong{color:var(--text-primary)}.time-range{font-size:.85rem;color:var(--text-secondary)}.confidence-badge{display:flex;align-items:center}.confidence-score{font-weight:600;font-size:.9rem}.match-content{display:flex;flex-direction:column;gap:.75rem}.segment-text{padding:.5rem;background:var(--bg-primary);border-radius:4px;font-size:.9rem;color:var(--text-secondary);font-style:italic}.proposed-match{display:flex;align-items:flex-start;gap:.75rem}.no-match{display:flex;align-items:center;gap:.75rem}.match-arrow{color:var(--primary-color);font-weight:700;font-size:1.2rem;flex-shrink:0}.bit-info{display:flex;flex-direction:column;gap:.25rem}.bit-info strong{color:var(--primary-color)}.reasoning{font-size:.85rem;color:var(--text-secondary)}.no-match-text{color:var(--text-secondary);font-style:italic}.existing-association{padding:.5rem;background:#3b82f61a;border-left:3px solid #3b82f6;font-size:.85rem;color:var(--text-secondary)}.smart-link-processing,.smart-link-result{padding:2rem;text-align:center}.success-result .success-icon,.error-result .error-icon{font-size:3rem;margin-bottom:1rem}.success-result h3{margin:0 0 1rem;color:var(--success-color)}.error-result h3{margin:0 0 1rem;color:var(--error-color)}.result-stats{display:flex;flex-direction:column;gap:.5rem;margin:1rem 0;padding:1rem;background:var(--bg-secondary);border-radius:6px}.result-stats div{color:var(--text-secondary)}.error-message{padding:1rem;text-align:center;color:var(--error-color)}.error-message .error-icon{font-size:2rem;margin-bottom:.5rem}.performance-feedback{padding:1rem;max-height:70vh;overflow-y:auto}.feedback-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.feedback-header h3{margin:0;color:var(--primary-color)}.performance-score{text-align:right;color:var(--text-secondary)}.feedback-summary{margin-bottom:1.5rem;padding:1rem;background:var(--bg-secondary);border-radius:6px}.feedback-summary h4{margin:0 0 .75rem;color:var(--text-primary)}.feedback-summary p{margin:0;line-height:1.6}.performance-stats{margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem}.stat-item{text-align:center;padding:1rem;background:var(--bg-secondary);border-radius:6px}.stat-number{font-size:2rem;font-weight:700;color:var(--primary-color);margin-bottom:.25rem}.stat-label{font-size:.85rem;color:var(--text-secondary)}.performed-bits,.unperformed-bits{margin-bottom:1.5rem}.performed-bits h4,.unperformed-bits h4{margin:0 0 1rem;color:var(--text-primary)}.bit-performance,.bit-missed{padding:.75rem;margin-bottom:.75rem;background:var(--bg-secondary);border-radius:6px;border-left:3px solid var(--success-color)}.bit-missed{border-left-color:var(--warning-color)}.bit-performance strong,.bit-missed strong{display:block;margin-bottom:.25rem;color:var(--text-primary)}.bit-performance div,.bit-missed div{font-size:.9rem;color:var(--text-secondary);margin-bottom:.1rem}.detailed-feedback{margin-top:2rem}.detailed-feedback h4{margin:0 0 1.5rem;color:var(--text-primary);font-size:1.2rem}.feedback-section{margin-bottom:1.5rem;padding:1rem;background:var(--bg-secondary);border-radius:6px}.feedback-section h5{margin:0 0 .75rem;color:var(--primary-color);font-size:1rem}.feedback-section p{margin:0;line-height:1.6}.feedback-section ul{margin:0;padding-left:1.5rem}.feedback-section li{margin-bottom:.5rem;line-height:1.5}.bit-feedback{margin-bottom:1rem;padding:.75rem;background:var(--bg-primary);border-radius:4px;border:1px solid var(--border-color)}.bit-feedback-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.bit-feedback-header strong{color:var(--text-primary)}.bit-score{padding:.25rem .5rem;background:var(--primary-color);color:#fff;border-radius:4px;font-size:.85rem;font-weight:600}.bit-feedback p{margin:0;line-height:1.5;color:var(--text-secondary)}.ml-citation-wrapper{position:relative;display:inline}.ml-citation-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:14px;box-shadow:0 8px 24px #0003;z-index:1000;width:380px;max-width:90vw;font-size:13px;line-height:1.5;margin-bottom:8px}.ml-citation-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:var(--panel)}.ml-citation-content{color:var(--text)}.citation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--border)}.citation-header strong{color:var(--accent);font-size:14px}.citation-score{background:var(--success-color);color:#fff;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600}.citation-count{background:var(--panel);color:var(--fg);border:1px solid var(--border);padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600}.citation-trend{background:var(--warning-color);color:#fff;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600;text-transform:capitalize}.citation-energy{padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600;text-transform:capitalize}.citation-energy-increase{background:var(--success-color);color:#fff}.citation-energy-decrease{background:var(--error-color);color:#fff}.citation-energy-stable{background:var(--muted);color:var(--text)}.citation-reasoning{margin-bottom:8px;font-style:italic;color:var(--text-secondary)}.citation-details{font-size:12px;color:var(--text-secondary)}.citation-details>div{margin-bottom:3px}.citation-details strong{color:var(--text);font-weight:600}.ml-citation-link{color:var(--accent);cursor:pointer;text-decoration:none;font-size:.8em;margin-left:2px;opacity:.7;transition:opacity .2s ease}.ml-citation-link:hover{opacity:1}.ml-citation-source{background:#3b82f626;color:#3b82f6;padding:2px 6px;border-radius:4px;font-size:11px;font-weight:600;text-decoration:none;cursor:pointer;border:1px solid rgba(59,130,246,.3);margin:0 2px;display:inline-block;transition:all .2s ease}.ml-citation-source:hover{background:#3b82f640;border-color:#3b82f680;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.highlighted-words{background:var(--warning-color);color:#fff;padding:2px 4px;border-radius:3px;font-weight:600}.word-context{margin:8px 0;padding:8px;background:var(--bg-secondary);border-radius:4px;border-left:3px solid var(--accent)}.technique-tooltip-wrapper{position:relative;display:inline;cursor:help;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.technique-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:10px;box-shadow:0 4px 12px #00000026;z-index:1001;width:280px;max-width:90vw;font-size:13px;line-height:1.4;margin-bottom:5px}.technique-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:var(--panel)}.technique-tooltip-content{color:var(--text)}.technique-name{font-weight:600;color:var(--accent);margin-bottom:4px;text-transform:capitalize}.technique-definition{color:var(--text-secondary);font-size:12px}.context-words{margin:4px 0;font-size:11px;color:var(--text-secondary)}.word-classifications{margin-top:8px;padding:0;background:none;border:none}.word-classification{display:flex;align-items:center;gap:6px;margin:3px 0;font-size:12px}.word-name{font-weight:500;color:var(--fg);font-size:11px}.prediction{font-weight:500;padding:1px 4px;border-radius:3px}.prediction.laughter{background:#3b82f61a;color:#3b82f6}.prediction.no-laughter{background:#8e8e931a;color:var(--muted)}.confidence{font-size:10px;color:var(--text-muted);font-style:italic}.laughter-percentage{font-size:11px;font-weight:600;color:#3b82f6}.context-text{margin-top:6px;font-style:italic;color:var(--text-secondary);font-size:12px;line-height:1.4;padding:6px 8px;background:var(--bg-subtle);border-radius:4px;border-left:2px solid var(--accent)}.laughter-words{color:var(--success-color);font-weight:600}.no-laughter-words{color:var(--muted);font-weight:600}.demo-page{padding:20px;max-width:1200px;margin:0 auto}.demo-header{text-align:center;margin-bottom:30px}.demo-header h1{color:var(--fg);margin-bottom:10px}.demo-header p{color:var(--muted);font-size:16px}.capability-status{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:20px;margin-bottom:30px}.capability-status h3{margin:0 0 15px;color:var(--fg)}.capability-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:15px}.capability-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;border:1px solid var(--border)}.capability-item.available{background:#32d74b1a;border-color:var(--success-color)}.capability-item.unavailable{background:#ff3b301a;border-color:var(--error-color)}.capability-icon{flex-shrink:0}.capability-item.available .capability-icon{color:var(--success-color)}.capability-item.unavailable .capability-icon{color:var(--error-color)}.capability-text{display:flex;flex-direction:column;gap:2px}.capability-text strong{color:var(--fg);font-size:14px}.capability-text span{color:var(--muted);font-size:12px}.capability-warning{display:flex;align-items:center;gap:8px;padding:10px;background:#ff9f0a1a;border:1px solid var(--warning-color);border-radius:6px;color:var(--warning-color);font-size:14px}.demo-content{display:flex;flex-direction:column;gap:0}.recording-section{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:25px}.recording-section h2{margin:0 0 15px;color:var(--fg)}.recording-instructions{background:var(--bg-subtle);border:1px solid var(--border);border-radius:6px;padding:15px;margin-bottom:20px}.recording-instructions p{margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.5}.recording-instructions p:last-child{margin-bottom:0}.recording-instructions strong{color:var(--fg);font-weight:600}.input-options{display:flex;flex-direction:column;align-items:center;gap:15px}.upload-section{display:flex;flex-direction:column;align-items:center;gap:10px}.record-btn{background:var(--accent);color:#fff;border:none;padding:15px 30px;border-radius:50px;font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px;cursor:pointer;transition:all .2s ease}.record-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.stop-btn{background:var(--error-color);color:#fff;border:none;padding:15px 30px;border-radius:8px;font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px;cursor:pointer;transition:all .2s ease}.stop-btn:hover{background:#c00}.upload-btn{background:var(--accent);color:#fff;border:none;padding:15px 30px;border-radius:50px;font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px;cursor:pointer;transition:all .2s ease}.upload-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.upload-btn:disabled{background:var(--muted);cursor:not-allowed;transform:none}.recording-timer{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;color:var(--error-color)}.recording-indicator{width:12px;height:12px;background:var(--error-color);border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.recording-actions{display:flex;flex-wrap:wrap;gap:15px;justify-content:center}.play-btn{background:var(--success-color);color:#fff}.play-btn:hover{background:#28a745}.analyze-btn{background:var(--accent);color:#fff;font-weight:600}.analyze-btn:hover:not(:disabled){background:var(--accent-hover)}.reset-btn{background:var(--muted);color:#fff}.reset-btn:hover:not(:disabled){background:#666}.auto-analysis-message{margin-top:20px;padding:15px;background:#0066cc1a;border:1px solid var(--accent);border-radius:8px;text-align:center}.auto-analysis-message .message-content{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--accent);font-weight:500}.analysis-progress{margin-top:20px;padding:20px;background:var(--bg-subtle);border-radius:8px;border:1px solid var(--border)}.progress-steps{display:flex;flex-direction:column;gap:10px}.progress-step{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.spinning{animation:spin 1s linear infinite}.results-section{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:25px}.results-section h2{margin:0 0 25px;color:var(--fg)}.result-panel{background:var(--bg-subtle);border:1px solid var(--border);border-radius:8px;padding:20px;margin-bottom:20px}.result-panel:last-child{margin-bottom:0}.result-panel h3{margin:0 0 15px;color:var(--fg);font-size:18px}.result-panel h4{margin:0 0 10px;color:var(--fg);font-size:16px}.transcript-text{background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:15px;color:var(--fg);line-height:1.6;font-size:15px}.ml-score{margin-bottom:20px}.score-display{display:flex;align-items:center;gap:15px;margin-top:10px}.score-value{font-size:32px;font-weight:700;color:var(--accent)}.score-label{color:var(--muted);font-size:14px}.word-classifications{margin-top:20px}.word-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.word-tag{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;border:1px solid rgba(34,197,94,.3)}.ml-unavailable{display:flex;align-items:center;gap:8px;padding:10px;background:#ff9f0a1a;border:1px solid var(--warning-color);border-radius:6px;color:var(--warning-color);font-size:14px}.llm-feedback{color:var(--fg);line-height:1.6}.llm-feedback p{margin:0 0 15px}.llm-feedback p:last-child{margin-bottom:0}.llm-feedback strong{color:var(--accent);font-weight:600}.llm-feedback h4{margin:15px 0 8px;color:var(--accent);font-size:16px;font-weight:600}.llm-feedback h4:first-child{margin-top:0}.llm-feedback.not-comedy{background:#ff9f0a1a;border:1px solid var(--warning-color);border-radius:6px;padding:15px;color:var(--warning-color);font-weight:500}.llm-feedback.not-comedy h4{color:var(--warning-color)}.llm-feedback.not-comedy p{color:var(--warning-color);margin:0}.llm-feedback h1,.llm-feedback h2,.llm-feedback h3,.llm-feedback h4,.llm-feedback h5,.llm-feedback h6{margin:16px 0 8px;color:var(--accent);font-weight:600;line-height:1.3}.llm-feedback h1:first-child,.llm-feedback h2:first-child,.llm-feedback h3:first-child,.llm-feedback h4:first-child,.llm-feedback h5:first-child,.llm-feedback h6:first-child{margin-top:0}.llm-feedback ul,.llm-feedback ol{margin:8px 0 12px;padding-left:20px}.llm-feedback li{margin:4px 0;line-height:1.5}.llm-feedback blockquote{margin:12px 0;padding:8px 12px;border-left:3px solid var(--accent);background:var(--bg-subtle);font-style:italic}.llm-feedback code{background:var(--bg-subtle);padding:2px 4px;border-radius:3px;font-family:Courier New,monospace;font-size:.9em}.llm-feedback pre{background:var(--bg-subtle);padding:12px;border-radius:6px;overflow-x:auto;margin:12px 0}.llm-feedback pre code{background:none;padding:0}@media (max-width: 768px){.demo-page{padding:15px}.capability-grid{grid-template-columns:1fr}.recording-actions{flex-direction:column;align-items:stretch}.recording-actions .btn{justify-content:center}.score-display{flex-direction:column;align-items:flex-start;gap:5px}}.persona-avatar{transition:all .2s ease;box-shadow:0 2px 8px #0000001a}.persona-avatar:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.persona-info{display:flex;align-items:center;gap:12px}.standalone-demo .persona-feedback{display:flex;gap:12px;align-items:flex-start;padding:1rem;border-radius:8px;margin-bottom:2rem;background:#f8fafc;border-left:4px solid #3b82f6}.standalone-demo .persona-feedback>div:last-child>div:last-child{margin:0;font-size:.9rem;line-height:1.5;color:#374151}.standalone-demo .persona-feedback .persona-avatar{flex-shrink:0;width:40px!important;height:40px!important}.persona-avatar svg{display:flex;align-items:center;justify-content:center;width:60%;height:60%}.multi-personal-feedback{display:flex;flex-direction:column;gap:8px}.standalone-demo{min-height:100vh;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:0;margin:0;line-height:1.6;position:relative}.standalone-demo:before{display:none}body.standalone-demo-page,body.standalone-demo-page #root{background:#fff!important;margin:0!important;padding:0!important}body.standalone-demo-page{--panel: #ffffff !important;--border: #e5e7eb !important;--text-primary: #1a1a1a !important;--text-secondary: #6b7280 !important;--bg-primary: #fafbfc !important;--bg-secondary: #ffffff !important}.standalone-demo *{box-sizing:border-box}.standalone-demo .demo-header{text-align:center;padding:4rem 2rem 2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);color:#fff;margin-bottom:0;overflow:hidden;transition:transform .2s ease;position:relative}.standalone-demo .demo-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#0b0b0b,#891a04,#0b0b0b);pointer-events:none}.standalone-demo .demo-header:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,59,48,.3) 0%,rgba(255,59,48,.1) 20%,transparent 40%),radial-gradient(circle at 20% 20%,rgba(255,255,255,.05) 0%,transparent 30%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.03) 0%,transparent 25%);pointer-events:none}.standalone-demo .demo-header h1{font-size:2.5rem;font-weight:800;margin:0 0 1rem;letter-spacing:-.02em;position:relative;z-index:3;color:#fff;display:flex;align-items:center;justify-content:center;gap:.5rem;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}.standalone-demo .demo-header h1 svg{transform:translateY(4px);width:1em;height:1em}.standalone-demo .demo-header p{font-size:1.1rem;font-weight:600;color:#fff;max-width:600px;margin:0 auto;position:relative;z-index:3;letter-spacing:.025em;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.3)}.standalone-demo .demo-content{max-width:1040px;margin:0 auto;padding:2em;position:relative;z-index:1}.standalone-demo .recording-section{margin-bottom:0;background:transparent;border:none;border-radius:0;padding:0}.standalone-demo .recording-section .recording-card{margin:0;width:100%}.standalone-demo .recording-card,.standalone-demo .result-card,.standalone-demo .email-signup-card{background:transparent;border-radius:0;padding:0;margin-bottom:0;box-shadow:none;border:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:all .3s ease}.standalone-demo .recording-card:hover,.standalone-demo .result-card:hover,.standalone-demo .email-signup-card:hover{transform:none;box-shadow:none}.standalone-demo .recording-card h2,.standalone-demo .result-card h3,.standalone-demo .email-signup-card h3{font-size:1.5rem;font-weight:600;margin:0 0 1rem;color:#1a1a1a}.standalone-demo .material-description{text-align:left;color:#6b7280;margin-bottom:.5rem;font-size:1rem;line-height:1.6}.standalone-demo .material-description.modified-date{margin-top:0;margin-bottom:0;font-size:.9rem}.standalone-demo .material-info{display:flex;align-items:center;gap:6px}.standalone-demo .btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;min-height:40px}.standalone-demo .btn:disabled{opacity:.5;cursor:not-allowed}.standalone-demo .btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #3b82f6;box-shadow:0 4px 14px #3b82f663;position:relative;overflow:hidden}.standalone-demo .btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s}.standalone-demo .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #3b82f680}.standalone-demo .btn-primary:hover:not(:disabled):before{left:100%}.standalone-demo .btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db}.standalone-demo .btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af;transform:none;box-shadow:none}.standalone-demo .btn-danger{background:#ef4444;color:#fff;border:1px solid #ef4444}.standalone-demo .btn-danger:hover:not(:disabled){background:#dc2626;border-color:#dc2626;transform:none;box-shadow:none}.standalone-demo .btn-outline{background:transparent;color:#3b82f6;border:1px solid #3b82f6;box-shadow:none}.standalone-demo .btn-outline:hover:not(:disabled){background:#3b82f6;color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.standalone-demo .recording-title-section{margin-bottom:1rem}.standalone-demo .title-display-container{display:flex;align-items:flex-start;gap:.5rem;flex-wrap:wrap}.standalone-demo .title-display-container h2{margin:0;flex:1 1 auto;min-width:0;white-space:normal;word-break:break-word;line-height:1.3}.standalone-demo .title-edit-container{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.standalone-demo .title-edit-input{flex:1;min-width:200px;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;font-size:1.5rem;font-weight:600;transition:all .2s ease}.standalone-demo .title-edit-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.standalone-demo .title-edit-input:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.standalone-demo .title-edit-buttons{display:flex;gap:.5rem;align-items:center}.standalone-demo .btn-sm{padding:.5rem;min-width:auto;height:auto;border-radius:6px;font-size:.875rem;min-height:36px}.standalone-demo .btn-sm:disabled{opacity:.5;cursor:not-allowed}.standalone-demo .recording-controls{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}.standalone-demo .input-options{display:flex;gap:.75rem;flex-wrap:nowrap;justify-content:center;width:100%;flex-direction:row}.standalone-demo .input-options .btn{flex:1 1 auto;min-width:180px;max-width:180px;width:180px;justify-content:center}.recording-active{display:flex;flex-direction:column;align-items:center;gap:1rem}.recording-timer{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:600;font-family:Courier New,monospace;color:#1a1a1a}.recording-indicator{width:10px;height:10px;background:#ef4444;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.recording-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;width:100%}.recording-actions .btn{flex:1 1 auto;min-width:140px;max-width:200px;justify-content:center;white-space:nowrap}.standalone-demo .transcript-text{background:#f9fafb;padding:1.5rem;border-radius:8px;line-height:1.6;font-size:.875rem;color:#374151;border-left:3px solid #3b82f6;margin-bottom:1.5rem}.humor-score{margin-bottom:2rem;text-align:center}.score-display{display:flex;flex-direction:column;align-items:center;gap:.5rem}.score-value{font-size:2.5rem;font-weight:700;color:#3b82f6}.score-label{font-size:.875rem;color:#6b7280}.standalone-demo .word-bubbles-container{margin-top:2rem}.standalone-demo .word-bubbles-container h4{font-size:1.25rem;margin:0 0 1.5rem;text-align:center;color:#1a1a1a;font-weight:600}.standalone-demo .word-bubbles{position:relative;height:300px;background:#f9fafb;border-radius:8px;overflow:hidden;border:none}.standalone-demo .word-bubble{position:absolute;width:var(--size);height:var(--size);background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;animation:float 6s ease-in-out infinite;animation-delay:var(--delay);left:var(--x);top:var(--y);opacity:var(--opacity);box-shadow:0 4px 12px #1a1a1a4d;min-width:50px;min-height:50px}.standalone-demo .word-bubble:hover{transform:scale(1.1);box-shadow:0 6px 16px #1a1a1a66}.standalone-demo .word-text{font-size:clamp(.6rem,2vw,.875rem);font-weight:600;color:#fff;text-align:center;line-height:1.2;margin-bottom:.1rem;max-width:90%;word-wrap:break-word}.standalone-demo .word-probability{font-size:clamp(.5rem,1.5vw,.75rem);color:#ffffffe6;font-weight:600}@keyframes float{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-10px) rotate(1deg)}50%{transform:translateY(-5px) rotate(-1deg)}75%{transform:translateY(-15px) rotate(.5deg)}}.standalone-demo .feedback-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:.75rem}.standalone-demo .feedback-voting{display:flex;gap:.5rem}.standalone-demo .vote-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #d1d5db;background:#fff;border-radius:50%;color:#6b7280;cursor:pointer;transition:all .2s ease}.standalone-demo .vote-btn:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.standalone-demo .vote-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.standalone-demo .vote-btn:disabled{opacity:.5;cursor:not-allowed}.standalone-demo .llm-feedback{background:#f9fafb;padding:1.5rem;border-radius:8px;line-height:1.6;font-size:.875rem;color:#374151;border-left:3px solid #3b82f6}.standalone-demo .llm-feedback h1,.standalone-demo .llm-feedback h2,.standalone-demo .llm-feedback h3,.standalone-demo .llm-feedback h4,.standalone-demo .llm-feedback h5,.standalone-demo .llm-feedback h6{color:#3b82f6;margin-top:1.25rem;margin-bottom:.5rem;font-weight:600;font-size:1rem}.standalone-demo .llm-feedback h1:first-child,.standalone-demo .llm-feedback h2:first-child,.standalone-demo .llm-feedback h3:first-child{margin-top:0}.standalone-demo .llm-feedback ul,.standalone-demo .llm-feedback ol{padding-left:1.25rem}.standalone-demo .llm-feedback li{margin-bottom:.5rem}.standalone-demo .llm-feedback strong{color:#3b82f6;font-weight:600}.standalone-demo .analysis-progress{margin-top:2rem;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.standalone-demo .progress-steps{display:flex;flex-direction:column;gap:1rem}.standalone-demo .progress-step{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border-left:4px solid #1a1a1a}.standalone-demo .progress-step span{color:#374151;font-weight:600;font-size:.875rem}.standalone-demo .auto-analysis-message{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding:1rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;color:#0369a1;font-size:.875rem;font-weight:600}.standalone-demo .results-section{margin-top:0;background:transparent;border:none;border-radius:0;padding:0;display:flex;flex-direction:column;gap:0}.standalone-demo .results-section .result-card{margin:0;width:100%}.standalone-demo .email-signup-section{margin-top:0;background:transparent;border:none;border-radius:0;padding:0}.standalone-demo .email-signup-section .email-signup-card{margin:0;width:100%}.standalone-demo .email-signup-card{text-align:center}.standalone-demo .email-signup-card h3{font-size:1.25rem;margin-bottom:.5rem}.standalone-demo .email-signup-card p{color:#6b7280;margin-bottom:1.5rem;font-size:.875rem}.standalone-demo .email-form{display:flex;gap:.75rem;max-width:400px;margin:0 auto}.standalone-demo .email-form input{flex:1;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;font-size:.875rem;transition:all .2s ease}.standalone-demo .email-form input::placeholder{color:#9ca3af}.standalone-demo .email-form input:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 3px #1a1a1a1a}.standalone-demo .email-signup-success{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#166534;font-weight:600;font-size:.875rem}.standalone-demo .loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);position:relative;overflow:hidden}.standalone-demo .loading-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,59,48,.3) 0%,rgba(255,59,48,.1) 20%,transparent 40%),radial-gradient(circle at 20% 20%,rgba(255,255,255,.05) 0%,transparent 30%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.03) 0%,transparent 25%);pointer-events:none}.standalone-demo .spinning{animation:spin 1s linear infinite;position:relative;z-index:3}.standalone-demo .loading-container p{margin-top:1rem;color:#fff;font-size:1.1rem;position:relative;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.3)}.notification{position:fixed;top:20px;right:20px;z-index:1000;max-width:400px;border-radius:8px;padding:1rem 1.5rem;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease-out}.notification-content{display:flex;align-items:center;gap:8px}@media (max-width: 768px){.standalone-demo .demo-header{padding:3rem 1.5rem 2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);position:relative}.standalone-demo .demo-header h1{font-size:1.75rem;margin-bottom:.75rem;line-height:1.2;text-align:center;max-width:calc(100% - 3rem);margin-left:auto;margin-right:auto}.standalone-demo .demo-header p{font-size:.9rem;font-weight:600;line-height:1.3;text-align:center;max-width:calc(100% - 3rem);margin-left:auto;margin-right:auto}.standalone-demo .demo-content{padding:2em}.standalone-demo .result-card,.standalone-demo .email-signup-card{padding:0}.standalone-demo .results-header{flex-direction:column;gap:1rem;align-items:stretch}.standalone-demo .email-form{flex-direction:column}.standalone-demo .word-bubbles{height:250px}.standalone-demo .input-options{flex-direction:column;align-items:stretch;width:100%;flex-wrap:wrap}.standalone-demo .input-options .btn{width:100%;max-width:none}.standalone-demo .recording-actions{flex-direction:column;align-items:stretch}.standalone-demo .recording-actions .btn{width:100%;max-width:none;min-width:0}}@media (max-width: 600px){.standalone-demo .title-edit-container{flex-direction:column;align-items:stretch;gap:.5rem}.standalone-demo .title-edit-input{min-width:auto;font-size:1.25rem}.standalone-demo .title-edit-buttons{justify-content:flex-end}.standalone-demo .title-display-container{flex-direction:column;align-items:flex-start}.standalone-demo .title-display-container h2{white-space:normal;word-break:break-word;margin-bottom:.5rem}}@media (max-width: 480px){.standalone-demo .demo-header{padding:3.5rem 1.5rem 2.5rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);position:relative}.standalone-demo .demo-header h1{font-size:1.5rem;margin-bottom:.75rem;line-height:1.1;text-align:center;max-width:calc(100% - 4rem);margin-left:auto;margin-right:auto}.standalone-demo .demo-header p{font-size:.85rem;font-weight:600;line-height:1.2;text-align:center;max-width:calc(100% - 4rem);margin-left:auto;margin-right:auto}.standalone-demo .result-card,.standalone-demo .email-signup-card{padding:0}}@media (max-width: 430px){.standalone-demo .demo-header{padding:4rem 2rem 3rem}.standalone-demo .demo-header h1{font-size:1.4rem;margin-bottom:1rem;max-width:calc(100% - 5rem);margin-left:auto;margin-right:auto}.standalone-demo .demo-header p{font-size:.8rem;line-height:1.3;max-width:calc(100% - 5rem);margin-left:auto;margin-right:auto}.standalone-demo .word-bubbles{height:200px}.standalone-demo .feedback-header{flex-direction:column;align-items:flex-start}.standalone-demo .feedback-header h3{width:100%}}.standalone-demo .word-list-container{margin-bottom:2rem}.standalone-demo .word-list-container h4{font-size:1.125rem;font-weight:600;margin:0 0 1rem;color:#1a1a1a;text-align:center}.standalone-demo .word-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.standalone-demo .word-item{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#fff;border-radius:20px;border:1px solid #e5e7eb;transition:all .2s ease;font-size:.875rem}.standalone-demo .word-item:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a;border-color:#3b82f6}.standalone-demo .word-rank{font-size:.75rem;font-weight:600;color:#6b7280}.standalone-demo .word-text{font-weight:600;color:#1a1a1a}.standalone-demo .word-probability{font-size:.75rem;font-weight:600;color:#3b82f6;background:#3b82f61a;padding:.125rem .375rem;border-radius:12px}.standalone-demo .cognitive-attribute-diagram{width:100%;max-width:none;margin:0;padding:0}.standalone-demo .diagram-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb;flex-wrap:wrap;gap:1rem}.standalone-demo .score-details{display:flex;gap:2rem;align-items:center}.standalone-demo .score-band,.standalone-demo .score-confidence{display:flex;flex-direction:column;align-items:center;gap:.25rem}.standalone-demo .band-label,.standalone-demo .confidence-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.standalone-demo .band-value{font-size:1rem;font-weight:700;color:#059669}.standalone-demo .confidence-value{font-size:1rem;font-weight:700;color:#7c3aed}.standalone-demo .joke-summary{margin-bottom:2rem;padding:1rem;background:#f8fafc;border-radius:8px;border-left:4px solid #3b82f6}.standalone-demo .joke-summary p{margin:0;font-size:.9rem;line-height:1.5;color:#374151;font-style:italic}.standalone-demo .single-attribute-diagram{margin-bottom:3rem}.standalone-demo .diagram-title{text-align:center;font-size:1.125rem;font-weight:600;margin:0 0 1.5rem;color:#1f2937;padding:.5rem 1rem;background:#f3f4f6;border-radius:8px;border:1px solid #e5e7eb}.standalone-demo .loading-message{text-align:center;padding:2rem;color:#6b7280;font-style:italic}.standalone-demo .diagram-header h4{font-size:1.25rem;font-weight:600;margin:0;color:#1a1a1a}.standalone-demo .overall-score{display:flex;flex-direction:column;align-items:center;gap:.25rem}.standalone-demo .overall-score .score-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.standalone-demo .score-value-container{position:relative;display:inline-block}.standalone-demo .overall-score .score-value{font-size:1.5rem;font-weight:700;color:#3b82f6;cursor:help;transition:all .2s ease}.standalone-demo .overall-score .score-value:hover{color:#2563eb;transform:scale(1.05)}.standalone-demo .diagram-container{position:relative;display:flex;justify-content:center;align-items:center;margin:0 auto 1.5rem;width:100%;max-width:500px}.standalone-demo .attribute-svg{filter:drop-shadow(0 4px 6px rgba(0,0,0,.07));width:100%;height:auto;max-width:400px}.standalone-demo .attribute-point{cursor:help;transition:all .2s ease}.standalone-demo .attribute-point:hover{r:6;fill:#2563eb;filter:drop-shadow(0 2px 4px rgba(37,99,235,.4))}.standalone-demo .attribute-label-container{z-index:10}.standalone-demo .attribute-label-container:hover{z-index:10000}.standalone-demo .attribute-label{position:relative;display:flex;flex-direction:column;align-items:center;gap:.25rem;cursor:help;transition:all .3s ease;-webkit-user-select:none;user-select:none;padding:clamp(.25rem,1vw,.5rem);border-radius:8px;background:#ffffffe6;border:1px solid rgba(0,0,0,.1);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 2px 8px #0000001a;min-width:50px;max-width:90px}.standalone-demo .attribute-label:hover{background:#fffffff2;transform:scale(1.05);box-shadow:0 4px 16px #00000026;border-color:#3b82f6}.standalone-demo .attribute-name{font-size:clamp(9px,2vw,11px);font-weight:600;color:#374151;text-align:center;line-height:1.2;white-space:pre-line}.standalone-demo .score-badge{background:linear-gradient(135deg,#3b82f61a,#3b82f633);color:#3b82f6;font-size:clamp(8px,1.5vw,9px);font-weight:700;padding:.125rem .375rem;border-radius:12px;border:1px solid rgba(59,130,246,.3);box-shadow:0 1px 3px #3b82f633}.standalone-demo .tooltip-content{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;padding:.75rem 1rem;background:#1f2937;color:#fff;border-radius:8px;font-size:12px;line-height:1.5;white-space:normal;min-width:280px;max-width:320px;text-align:left;opacity:0;visibility:hidden;transition:all .3s ease;pointer-events:none;z-index:9999;box-shadow:0 4px 12px #0000004d}.standalone-demo .tooltip-content:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#1f2937}.standalone-demo .attribute-label:hover .tooltip-content{opacity:1;visibility:visible;transform:translate(-50%) translateY(-4px)}.standalone-demo .tooltip-content.tooltip-bottom{bottom:auto;top:100%;margin-bottom:0;margin-top:8px}.standalone-demo .tooltip-content.tooltip-bottom:after{display:none}.standalone-demo .tooltip-content.tooltip-left{left:auto;right:0;transform:translate(0)}.standalone-demo .tooltip-content.tooltip-left:after{display:none}.standalone-demo .tooltip-content.tooltip-right{left:0;transform:translate(0)}.standalone-demo .tooltip-content.tooltip-right:after{display:none}.standalone-demo .attribute-label:hover .tooltip-content.tooltip-bottom{transform:translate(-50%) translateY(4px)}.standalone-demo .attribute-label:hover .tooltip-content.tooltip-left,.standalone-demo .attribute-label:hover .tooltip-content.tooltip-right{transform:translate(0) translateY(-4px)}.standalone-demo .overall-tooltip{bottom:auto;top:100%;margin-bottom:0;margin-top:8px}.standalone-demo .overall-tooltip:after{top:-6px;border-top-color:transparent;border-bottom-color:#1f2937}.standalone-demo .score-value-container:hover .overall-tooltip{opacity:1;visibility:visible;transform:translate(-50%) translateY(4px)}.standalone-demo .diagram-legend{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.standalone-demo .legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#374151}.standalone-demo .legend-color{width:16px;height:16px;border-radius:4px;border:1px solid rgba(59,130,246,.3)}.standalone-demo .legend-note{font-size:.75rem;color:#6b7280;font-style:italic;text-align:center;padding-top:.5rem;border-top:1px solid #e5e7eb}@media (max-width: 768px){.standalone-demo .diagram-header{flex-direction:column;gap:1.5rem;align-items:center;text-align:center}.standalone-demo .score-details{gap:1rem}.standalone-demo .diagram-container,.standalone-demo .attribute-svg{max-width:400px}.standalone-demo .tooltip-content{font-size:11px;min-width:200px;max-width:250px}}@media (max-width: 480px){.standalone-demo .cognitive-attribute-diagram{padding:0 .5rem}.standalone-demo .diagram-container,.standalone-demo .attribute-svg{max-width:350px}.standalone-demo .overall-score .score-value{font-size:1.25rem}.standalone-demo .attribute-label{min-width:45px;max-width:80px}.standalone-demo .tooltip-content{font-size:10px;min-width:180px;max-width:220px;padding:.5rem .75rem}.standalone-demo .tooltip-content:after{border-width:4px}}@media (max-width: 390px){.standalone-demo .diagram-container,.standalone-demo .attribute-svg{max-width:300px}.standalone-demo .attribute-label{min-width:40px;max-width:70px;gap:.15rem}.standalone-demo .tooltip-content{min-width:160px;max-width:200px}}.text-input-section{width:100%;margin:0}.text-input-container{background:transparent;border:none;border-radius:0;padding:0;box-shadow:none;transition:all .3s ease}.text-input-container:hover{transform:none;box-shadow:none}.text-input{width:100%;min-height:120px;padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;color:#374151;font-size:.9rem;line-height:1.5;resize:vertical;font-family:inherit;transition:all .2s ease}.text-input.auto-expanding{resize:none;overflow:hidden;min-height:120px;max-height:400px;field-sizing:content}@media screen and (max-width: 768px){.text-input,.text-input.auto-expanding{font-size:.9rem!important}}.text-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.text-input::placeholder{color:#6b7280}.text-input-actions{display:flex;gap:12px;margin-top:16px;justify-content:flex-end}.text-input-actions .btn{padding:12px 24px;font-size:.875rem;font-weight:500;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;gap:8px;border:1px solid transparent}.text-input-actions .btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #3b82f6;box-shadow:0 4px 14px #3b82f663;position:relative;overflow:hidden}.text-input-actions .btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s}.text-input-actions .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #3b82f680}.text-input-actions .btn-primary:hover:not(:disabled):before{left:100%}.text-input-actions .btn-outline{background:transparent;color:#3b82f6;border:1px solid #3b82f6;box-shadow:none}.text-input-actions .btn-outline:hover:not(:disabled){background:#3b82f6;color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}@media (max-width: 768px){.text-input-section{max-width:100%}.text-input-container{padding:0}.text-input-actions{flex-direction:column;gap:8px}.text-input-actions .btn{width:100%;justify-content:center}}.text-bit-analysis-card{width:100%;margin:0;max-width:100%;box-sizing:border-box;align-self:stretch}.text-bit-analysis-card .text-input-container{background:transparent;border:none;border-radius:0;padding:0;box-shadow:none;transition:all .3s ease;max-width:100%;margin:0}.text-bit-analysis-card .text-input-container:hover{transform:none;box-shadow:none}.text-bit-analysis-card .text-input{width:100%;min-height:120px;padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;color:#374151;font-size:.9rem;line-height:1.5;resize:vertical;font-family:inherit;transition:all .2s ease;max-width:100%;box-sizing:border-box}.text-bit-analysis-card .text-input.auto-expanding{resize:none;overflow:hidden;min-height:120px;max-height:400px;field-sizing:content}.text-bit-analysis-card .text-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.text-bit-analysis-card .text-input::placeholder{color:#6b7280}.text-bit-analysis-card .text-input-actions{display:flex;gap:12px;margin-top:16px;justify-content:flex-end;width:100%;max-width:100%}.text-bit-analysis-card .text-input-actions .btn{padding:12px 24px;font-size:.875rem;font-weight:500;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;gap:8px;border:1px solid transparent}.text-bit-analysis-card .text-input-actions .btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #3b82f6;box-shadow:0 4px 14px #3b82f663;position:relative;overflow:hidden}.text-bit-analysis-card .text-input-actions .btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s}.text-bit-analysis-card .text-input-actions .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #3b82f680}.text-bit-analysis-card .text-input-actions .btn-primary:hover:not(:disabled):before{left:100%}.text-bit-analysis-card .text-input-actions .btn-outline{background:transparent;color:#3b82f6;border:1px solid #3b82f6;box-shadow:none}.text-bit-analysis-card .text-input-actions .btn-outline:hover:not(:disabled){background:#3b82f6;color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}@media (max-width: 768px){.text-bit-analysis-card .text-input-container{padding:0}.text-bit-analysis-card .text-input-actions{flex-direction:column;gap:8px}.text-bit-analysis-card .text-input-actions .btn{width:100%;justify-content:center}.text-bit-analysis-card .text-input,.text-bit-analysis-card .text-input.auto-expanding{font-size:.9rem!important}}.bit-content-outer{width:100%;margin:2rem 0;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:2rem}.bit-content-section{width:100%;max-width:none}.bit-content-textarea{width:100%!important;max-width:none!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;font-size:.9rem!important;line-height:1.5!important;padding:1rem!important;border:1px solid #d1d5db!important;border-radius:.5rem!important;background-color:#fff!important;color:#374151!important;resize:vertical!important;min-height:150px!important;box-sizing:border-box!important}.bit-content-textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}body.my-materials-page,body.my-materials-page #root{background:#fff!important;margin:0!important;padding:0!important}.my-materials-page{min-height:100vh;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:0;margin:0;line-height:1.6;position:relative}.my-materials-page:before{display:none}.my-materials-header{text-align:center;padding:4rem 2rem 2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);color:#fff;margin-bottom:0;overflow:hidden;transition:transform .2s ease;width:100%;position:relative}.my-materials-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#0b0b0b,#891a04,#0b0b0b);pointer-events:none}.my-materials-header:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,59,48,.3) 0%,rgba(255,59,48,.1) 20%,transparent 40%),radial-gradient(circle at 20% 20%,rgba(255,255,255,.05) 0%,transparent 30%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.03) 0%,transparent 25%);pointer-events:none}.my-materials-header h1{font-size:2.5rem;font-weight:800;margin:0 0 1rem;letter-spacing:-.02em;position:relative;z-index:3;color:#fff;display:flex;align-items:center;justify-content:center;gap:.5rem;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}.my-materials-header p{font-size:1.1rem;font-weight:600;color:#fff;max-width:600px;margin:0 auto;position:relative;z-index:3;letter-spacing:.025em;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.3)}.my-materials-content{max-width:1200px;margin:0 auto;padding:.5rem 4rem 2rem;position:relative;z-index:1}.back-button{position:absolute;top:1rem;left:1rem;z-index:2;padding:.75rem 1.5rem;font-size:1rem;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:.5rem;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}.back-button:hover{background:#ffffff4d;transform:translateY(-1px)}.filter-container{display:flex;justify-content:center;margin:2rem 0 2.5rem}.filter-toggle{display:inline-flex;background:#fff;border-radius:8px;padding:4px;box-shadow:0 2px 4px #0000001a;border:1px solid #e5e7eb}.filter-toggle .toggle-btn{padding:1.5rem;border:none;background:transparent;border-radius:6px;cursor:pointer;transition:all .2s;color:#374151;font-weight:500}.filter-toggle .toggle-btn:hover{background:#f9fafb}.filter-toggle .toggle-btn.active{background:#3b82f6;color:#fff;box-shadow:0 1px 2px #0000001a}.empty-state{background:#fff;border-radius:16px;padding:3rem;text-align:center;color:#374151;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid rgba(0,0,0,.05)}.empty-state h3{font-size:1.5rem;font-weight:600;margin:0 0 1rem;color:#1a1a1a}.empty-state p{margin:0 0 1.5rem;color:#6b7280;font-size:1rem}.empty-state .btn{margin-top:1.5rem;padding:.75rem 1.5rem;font-size:1rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #3b82f6;border-radius:.5rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem;transition:all .2s ease;box-shadow:0 4px 14px #3b82f663}.empty-state .btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 25px #3b82f680}.materials-grid{display:flex;flex-direction:column;gap:0}.material-card{background:transparent;border-radius:0;padding:1.5rem 0;border:none;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:all .3s ease;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;min-height:auto;max-height:none}.material-card:last-child{border-bottom:none}.material-card:hover{transform:none;box-shadow:none;background:#f9fafb}.material-card h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;color:#1a1a1a;white-space:normal;word-break:break-word;line-height:1.3}.material-card .meta-info{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.875rem;color:#6b7280}.material-card .duration-info{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.material-card .card-actions{display:flex;gap:.5rem;margin-top:1rem}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;min-height:40px;justify-content:center}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #3b82f6;box-shadow:0 4px 14px #3b82f663;position:relative;overflow:hidden}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #3b82f680}.btn-primary:hover:not(:disabled):before{left:100%}.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.btn-danger{background:#ef4444;color:#fff;border:1px solid #ef4444}.btn-danger:hover:not(:disabled){background:#dc2626;border-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 8px #ef44444d}.btn-outline{background:transparent;color:#3b82f6;border:1px solid #3b82f6;box-shadow:none}.btn-outline:hover:not(:disabled){background:#3b82f6;color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.btn-playing{background:#ef4444!important;border-color:#ef4444!important}.btn-playing:hover:not(:disabled){background:#dc2626!important;border-color:#dc2626!important}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.card-header h3{color:#1a1a1a;font-size:1.25rem;font-weight:600;margin:0;flex:1}.card-actions{display:flex;gap:.5rem;align-items:center;margin-top:1rem}.rating{display:flex;align-items:center;gap:.25rem;color:#fbbf24;font-size:.875rem}.card-content{color:#6b7280;font-size:.875rem;line-height:1.5;margin:.75rem 0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#1a1a1a99}.notification{position:fixed;top:80px;right:20px;z-index:1000;max-width:400px;border-radius:8px;padding:1rem 1.5rem;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease-out}.notification-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.notification-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);position:relative;overflow:hidden}.loading-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,59,48,.3) 0%,rgba(255,59,48,.1) 20%,transparent 40%),radial-gradient(circle at 20% 20%,rgba(255,255,255,.05) 0%,transparent 30%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.03) 0%,transparent 25%);pointer-events:none}.loading-container .spinning{animation:spin 1s linear infinite;position:relative;z-index:3}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{margin-top:1rem;color:#fff;position:relative;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.3)}.sign-in-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;text-align:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);color:#fff;position:relative;overflow:hidden}.sign-in-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,59,48,.3) 0%,rgba(255,59,48,.1) 20%,transparent 40%),radial-gradient(circle at 20% 20%,rgba(255,255,255,.05) 0%,transparent 30%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.03) 0%,transparent 25%);pointer-events:none}.sign-in-container h1{margin-bottom:1rem;position:relative;z-index:3;text-shadow:0 2px 4px rgba(0,0,0,.3)}.sign-in-container p{margin-bottom:2rem;opacity:.9;position:relative;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.3)}.sign-in-container .btn{padding:.75rem 2rem;font-size:1rem;background:#6366f1;color:#fff;border:none;border-radius:.5rem;cursor:pointer}.user-button{position:absolute;top:1rem;right:1rem;z-index:1000}@media (max-width: 768px){.my-materials-header{padding:3rem 1.5rem 2rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a)}.my-materials-header h1{font-size:2rem;margin-bottom:.75rem;text-align:center}.my-materials-header p{font-size:1rem;font-weight:600;text-align:center}.my-materials-content{padding:1rem 2rem}.materials-grid{grid-template-columns:1fr}.filter-container{flex-direction:column;align-items:stretch}.filter-toggle{width:100%;text-align:center}.filter-toggle .toggle-btn{text-align:center!important;display:flex;align-items:center;justify-content:center;width:100%}.material-card{padding:1.25rem}.card-actions{flex-direction:column;gap:.5rem}.card-actions .btn{width:100%;justify-content:center}}@media (max-width: 480px){.my-materials-header{padding:3.5rem 1.5rem 2.5rem;background:linear-gradient(135deg,#1a1a1a,#2d2d2d,#1a1a1a);position:relative}.my-materials-header h1{font-size:1.75rem;margin-bottom:.75rem;text-align:center;max-width:calc(100% - 3rem);margin-left:auto;margin-right:auto}.my-materials-header p{font-size:.9375rem;font-weight:600;text-align:center;max-width:calc(100% - 3rem);margin-left:auto;margin-right:auto}}@media (max-width: 430px){.my-materials-header{padding:4rem 2rem 3rem;position:relative}.my-materials-header h1{font-size:1.5rem;margin-bottom:1rem;max-width:calc(100% - 4rem);margin-left:auto;margin-right:auto}.my-materials-header p{font-size:.875rem;line-height:1.4;max-width:calc(100% - 4rem);margin-left:auto;margin-right:auto}.material-card{padding:1.25rem}}
