.navbar{background-color:var(--bg-dark);padding:1rem 2%;position:fixed;width:100%;top:0;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:none}.navbar-container{max-width:100%;margin:0;display:flex;justify-content:space-between;align-items:center;padding-left:10rem;padding-right:15rem}.clara-logo{height:95px;width:auto}.logo{font-size:2.25rem;font-weight:700;color:#fff;text-decoration:none}.nav-links{display:flex;list-style:none;gap:2rem;align-items:center}.nav-links a{display:inline-flex;align-items:center;justify-content:center;width:120px;box-sizing:border-box;color:#fff;text-decoration:none;font-size:1.15rem;border-radius:12px;padding:10px;border:2px solid rgba(20,184,165,.234);transition:all .3s ease;border-color:var(--text-secondary);text-align:center}.nav-links a:hover{border-color:var(--teal);transform:translateY(-8px)}.nav-links .cta-button{color:#fff;border:2px solid var(--text-secondary)}.nav-links .cta-button:hover{color:#fff}.cta-button{background-color:var(--teal);color:#fff;padding:.6rem 1.5rem;border-radius:6px;font-weight:600;font-size:.95rem;transition:all .3s ease}.cta-button:hover{background-color:var(--teal-dark);transform:translateY(-1px);box-shadow:0 8px 20px #14b8a64d}@media (max-width: 768px){.nav-links{gap:1rem}.nav-links li:not(:last-child){display:none}}.demo-visual{margin-top:4rem;padding:2rem;background-color:#10b9a20d;border-radius:12px;border:1px solid rgba(16,182,185,.2);max-width:1000px;margin-left:auto;margin-right:auto;display:flex;justify-content:center;align-items:center;box-shadow:var(--glow-sm)}.prototype{width:100%;max-width:100%;height:auto;border-radius:8px;box-shadow:0 10px 40px #0000004d,var(--glow-sm);border:1px solid rgba(16,185,165,.3);display:block;transition:transform .3s ease,box-shadow .3s ease}.prototype:hover{transform:scale(1.02);box-shadow:0 15px 50px #0006,var(--glow-md)}.hero{margin-top:80px;padding:4rem 5% 3rem;background:var (--bg-dark);text-align:center}.hero-content{max-width:800px;margin:0 auto}.hero h1{font-size:3rem;margin-bottom:1.5rem;color:#fff;line-height:1.2}.hero h1 .typed-text{color:#fff;font-weight:700}.hero h1 .cursor{color:var(--teal);font-weight:400;animation:blink 1s infinite;margin-left:2px}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.hero p{font-size:1.45rem;margin-bottom:2.5rem;color:#dddcdc;padding:2rem;border-radius:12px}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-primary{background-color:var(--teal);color:#fff;padding:.85rem 2rem;border:none;border-radius:12px;font-size:1.25rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-decoration:none}.btn-primary:hover{background-color:var(--teal-dark);transform:translateY(-8px);box-shadow:0 12px 30px #14b8a666}.btn-secondary{background-color:transparent;color:#dddcdc;padding:.85rem 2rem;border:2px solid var(--teal);border-radius:12px;font-size:1.25rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-secondary:hover{background-color:#14b8a61a;border-color:var(--teal-dark);box-shadow:0 8px 20px #14b8a633;transform:translateY(-8px)}@media (max-width: 768px){.hero h1{font-size:2rem}.hero p{font-size:1rem}}.features{padding:4rem 5%;background-color:var(--bg-dark)}.features h2{text-align:center;font-size:2rem;margin-bottom:3rem;color:#fff}.features-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.feature-card{background:var(--bg-dark);padding:2rem;border-radius:12px;border:2px solid rgba(20,184,165,.234);transition:all .3s ease;border-color:var(--teal)}.feature-card:hover{transform:translateY(-8px);box-shadow:0 12px 30px #14b8a633;border-color:var(--teal);background:#14b8a60d}.feature-icon{font-size:2.5rem;margin-bottom:1rem;display:none}.feature-card h3{font-size:1.5rem;margin-bottom:1rem;color:var(--teal)}.feature-card p{color:#dddcdc;font-size:1.25rem}.how-it-works{padding:5rem 5%;background:var(--bg-dark)}.how-it-works h2{text-align:center;font-size:2.5rem;margin-bottom:4rem;color:#fff}.diagram{display:block;margin:0 auto 1rem;width:65%;height:65%}.steps{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.step{background:#fff;padding:3rem;border-radius:16px;box-shadow:0 4px 20px #00000014;transition:all .3s ease;border:2px solid #f3f4f6}.step:hover{transform:translateY(-8px);box-shadow:0 12px 40px #0000001f;border-color:var(--teal)}.step-number{width:70px;height:70px;background:var(--teal);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin-bottom:1.5rem}.step-content h3{font-size:1.75rem;margin-bottom:1rem;color:var(--text-dark);font-weight:700}.step-content p{color:var(--text-light);font-size:1.35rem;line-height:1.65}@media (max-width: 768px){.steps{grid-template-columns:1fr}.step-number{width:50px;height:50px;font-size:1.5rem}}.cta-section{padding:5rem 5%;background-color:var(--bg-dark);text-align:center}.cta-section h2{font-size:2.5rem;margin-bottom:1rem;color:#fff}.cta-section p{font-size:1.25rem;margin-bottom:2rem;color:#dddcdc;opacity:.9}.cta-section .btn-primary{text-decoration:none;border-radius:12px;padding:1rem 2rem;display:inline-flex;align-items:center;justify-content:center;background-color:var(--teal);color:#fff;font-weight:600;transition:transform .25s ease,box-shadow .25s ease}.cta-section .btn-primary:hover{transform:translateY(-8px);box-shadow:0 12px 40px #0000001f;border-color:var(--teal)}.footer{background:var(--bg-dark);padding:2rem 5%;text-align:center;color:#dddcdc;border-top:1px solid rgba(20,184,166,.1);font-size:.9rem}.footer-links{margin-top:1rem}.footer a{color:var(--teal);text-decoration:none}.footer a:hover{color:var(--teal-dark)}.founder-content{text-align:center;background-color:var(--bg-dark)}h1{color:#fff}.uiuc{font-size:1.25rem;margin-bottom:2rem}.founders-container{display:flex;justify-content:center;gap:3rem;margin-top:2rem;flex-wrap:wrap;align-items:stretch}.founder-card{display:flex;flex-direction:column;align-items:center;max-width:500px}.profile-photo{border-radius:200px;width:300px;height:320px;margin-bottom:1.5rem;object-fit:cover}.founder-major{font-size:1.3rem;font-weight:600;color:#dddcdc;margin-bottom:1.5rem}.founder-why{font-size:1.25rem;color:#dddcdc;background-color:#14b8a60d;padding:2rem;border-radius:12px;border:2px solid rgba(20,184,165,.234);transition:all .3s ease;border-color:var(--teal);text-align:left;line-height:1.6;flex:1;display:flex;align-items:center}.sidebar{width:280px;min-width:200px;max-width:500px;background-color:var(--bg);border-right:1px solid var(--border);height:100vh;display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:100;font-size:1.05rem;transition:transform .25s ease,opacity .25s ease,box-shadow .25s ease}.sidebar-resize-handle{position:absolute;top:0;right:-9px;width:6px;height:100%;cursor:col-resize;background-color:#cfcfcf;border-right:1px solid #f0f0f0;transition:background .15s ease}.sidebar-resize-handle:hover,.sidebar-resize-handle.resizing{background:var(--teal);opacity:.5}.sidebar.collapsed{transform:translate(-100%);opacity:0;pointer-events:none}.sidebar.visible{transform:translate(0);opacity:1;pointer-events:auto;box-shadow:4px 0 24px #0006,var(--glow-sm)}.sidebar.pinned{box-shadow:none}.sidebar-header{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.sidebar-header-top{display:flex;align-items:center;justify-content:space-between}.sidebar-header h2{margin:0;color:var(--text-primary);font-size:1.5rem}.sidebar-pin-btn{background:transparent;border:1px solid var(--border-strong);border-radius:6px;padding:.4rem;cursor:pointer;color:var(--text-secondary);transition:all .2s ease;display:flex;align-items:center;justify-content:center}.sidebar-pin-btn:hover{background:var(--surface-2);color:var(--teal);border-color:var(--teal)}.sidebar-pin-btn.pinned{background:#10b98126;color:var(--teal);border-color:var(--teal);box-shadow:var(--glow-sm)}.sidebar-header-actions{display:flex;gap:.5rem}.new-folder-btn,.new-note-btn{flex:1;background-color:var(--teal);color:#fff;border:none;padding:.75rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:var(--glow-sm)}.new-folder-btn:hover,.new-note-btn:hover{background-color:var(--teal-dark);transform:translateY(-2px);box-shadow:var(--glow-lg)}.notes-list{flex:1;overflow-y:auto;padding:.5rem}.note-item{padding:1rem;margin-bottom:.5rem;background-color:var(--surface-2);border-radius:8px;cursor:pointer;transition:all .2s ease;border:1px solid transparent;position:relative}.note-item.dragging{opacity:.55;cursor:grabbing}.note-item:hover{border-color:var(--teal);box-shadow:0 2px 8px #00000026}.note-item.active{background-color:#10b98126;border-color:var(--teal);box-shadow:var(--glow-sm)}.note-item h3{margin:0 0 .5rem;font-size:1.1rem;color:var(--text-primary);font-weight:600;padding-right:20px}.note-item p{margin:0 0 .5rem;font-size:.95rem;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-date{font-size:.85rem;color:var(--text-secondary)}.note-delete-btn{position:absolute;bottom:10px;right:10px;background-color:transparent;border:none;color:var(--text-secondary);cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.note-delete-btn:hover{background-color:#ef444426;color:#ef4444}.folder-section{margin-bottom:.75rem}.folder-header{display:flex;align-items:center;gap:.5rem;padding:.75rem;background-color:var(--surface-2);border-radius:8px;margin-bottom:.5rem;border:1px solid var(--border-strong);transition:all .2s ease}.folder-header.drop-over{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-glow),var(--glow-sm);background-color:#10b9811a}.folder-header:hover{border-color:var(--teal);box-shadow:0 2px 8px #00000026}.folder-expand-btn{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:color .2s ease}.folder-expand-btn:hover{color:var(--teal)}.folder-chevron{transition:transform .2s ease}.folder-chevron.expanded{transform:rotate(90deg)}.folder-name{flex:1;font-weight:600;color:var(--text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:.5rem}.folder-count{font-size:.85rem;background-color:var(--surface-3);color:var(--text-secondary);padding:.15rem .5rem;border-radius:12px;font-weight:500}.folder-name-input{flex:1;border:1px solid var(--teal);border-radius:4px;padding:.25rem .5rem;font-size:1.05rem;font-weight:600;outline:none;background-color:var(--surface-2);color:var(--text-primary);caret-color:var(--text-primary)}.folder-actions{display:flex;gap:.25rem;align-items:center}.folder-add-note-btn,.folder-delete-btn{background:none;border:none;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;color:var(--text-secondary)}.folder-add-note-btn:hover{background-color:#10b98126;color:var(--teal);box-shadow:var(--glow-sm)}.folder-delete-btn:hover{background-color:#ef444426;color:#ef4444}.folder-notes{margin-left:1.5rem}.folder-notes .note-item{margin-bottom:.5rem}.unfiled-section{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-strong)}.unfiled-header{padding:.5rem .75rem;font-weight:600;color:var(--text-secondary);font-size:.95rem;text-transform:uppercase;letter-spacing:.05em}.unfiled-header.drop-over{border-radius:8px;background-color:#10b9811a;box-shadow:0 0 0 3px var(--teal-glow),var(--glow-sm);color:var(--text-primary)}.sidebar-hover-zone{position:fixed;left:0;top:0;width:12px;height:100vh;z-index:99;background:transparent}.sidebar-hover-zone:hover{background:linear-gradient(to right,rgba(16,185,129,.1),transparent)}@media (max-width: 768px){.sidebar{width:100%;position:relative;height:auto}.sidebar:after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background:#0000000f;pointer-events:none}.sidebar.collapsed{transform:translateY(-100%)}.sidebar-hover-zone{display:none}}.notes-editor{flex:1;display:flex;flex-direction:column;height:100vh;background-color:var(--bg);position:relative}.editor-header{padding:1.5rem 3rem .5rem;background-color:var(--bg)}.note-title-input{width:100%;border:none;font-size:2rem;font-weight:700;color:var(--text-primary);outline:none;padding:.5rem 0;background-color:var(--bg)}.note-title-input::placeholder{color:var(--text-secondary)}.editor-topbar{position:absolute;top:.5rem;right:1.5rem;display:flex;align-items:center;gap:.5rem;z-index:20;flex-wrap:wrap;background:#252d3a;padding:.5rem .75rem;border-radius:12px;border:1px solid var(--border);box-shadow:0 4px 12px #0003}.toolbar-group{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}.toolbar-separator{width:1px;height:28px;background:var(--border-strong);align-self:center;margin:0 .25rem}.format-button{padding:.5rem .75rem;background-color:var(--surface-2);color:var(--text-primary);border:1px solid var(--border-strong);border-radius:8px;font-weight:700;font-size:.875rem;cursor:pointer;transition:all .2s ease;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:36px}.format-button:hover{background-color:var(--surface-3)}.format-button.active{background-color:#10b98129;border-color:#10b9818c;color:var(--text-primary);box-shadow:0 0 0 3px var(--teal-glow),var(--glow-sm)}.format-button.active:hover{background-color:#10b98138;box-shadow:0 0 0 3px var(--teal-glow),var(--glow-md)}.format-button:active{transform:translateY(1px)}.format-icon{width:18px;height:18px;display:block}.mode-toggle{display:inline-flex;background-color:var(--surface-2);border-radius:8px;padding:4px;margin-right:auto;gap:0}.mode-button{padding:.5rem 1.25rem;background-color:transparent;color:var(--text-secondary);border:none;border-radius:6px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .25s ease;position:relative;white-space:nowrap}.mode-button:hover:not(.active){color:var(--text-primary)}.mode-button.active{background-color:var(--surface-3);color:var(--teal);box-shadow:0 1px 3px #0000004d,0 1px 2px #0003;transform:scale(1.02)}.mode-button.active:hover{color:var(--teal-dark)}.record-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background-color:var(--teal);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;box-shadow:var(--glow-sm)}.record-button:hover{background-color:var(--teal-dark);transform:translateY(-2px);box-shadow:var(--glow-lg)}.record-icon{width:12px;height:12px;border-radius:50%;background-color:#fff;transition:all .3s ease}.record-button.recording{background-color:#ef4444;animation:pulse 1.5s ease-in-out infinite}.record-button.recording:hover{background-color:#dc2626;box-shadow:0 4px 12px #ef444466}.record-button.recording .record-icon{animation:pulse-icon 1.5s ease-in-out infinite}@keyframes pulse{0%,to{box-shadow:0 0 #ef4444b3}50%{box-shadow:0 0 0 8px #ef444400}}@keyframes pulse-icon{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.editor-content{flex:1;padding:1rem 3rem 2rem;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem;position:relative}.editor-with-annotations{display:flex;gap:1rem;align-items:flex-start;position:relative}.note-annotations{flex:0 0 320px;width:320px;position:relative;min-height:360px}.note-annotations-toast{border:1px solid rgba(16,185,129,.35);background:#10b9811a;border-radius:12px;padding:.75rem .9rem;color:var(--teal);font-weight:800;margin-bottom:.75rem;box-shadow:var(--glow-sm)}.note-annotations-error{border:1px solid rgba(239,68,68,.35);background:#ef444414;border-radius:12px;padding:.85rem 1rem;color:#fca5a5;margin-bottom:.75rem;white-space:pre-wrap}.note-annotations-empty{border:1px dashed var(--border-strong);border-radius:12px;padding:.85rem 1rem;color:var(--text-secondary)}.note-annotation{position:absolute;right:0;left:0;border:1px solid var(--border-strong);background:var(--surface);border-radius:14px;padding:.85rem .95rem;box-shadow:0 12px 28px #00000040;cursor:pointer;outline:none}.note-annotation:focus-visible{box-shadow:0 0 0 4px var(--teal-glow),var(--glow-md),0 12px 28px #00000040}.note-annotation--active{box-shadow:0 0 0 4px #3b82f624,0 12px 28px #00000040}.note-annotation--missing{border-color:#f59e0b73}.note-annotation--inaccurate{border-color:#ef444473}.note-annotation--specificity{border-color:#3b82f673}.note-annotation-title{font-weight:900;color:var(--text-primary);margin-bottom:.35rem}.note-annotation-quote{font-weight:800;color:var(--text-secondary);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:10px;padding:.55rem .65rem;margin-bottom:.5rem}.note-annotation-issue{color:var(--text-primary);font-weight:700;margin-bottom:.6rem}.note-annotation-suggestion{margin-bottom:.7rem;border-top:1px solid var(--border-strong);padding-top:.6rem}.note-annotation-suggestion-label{font-weight:900;color:var(--text-secondary);font-size:.9rem;margin-bottom:.35rem}.note-annotation-suggestion-text{color:var(--text-primary);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:12px;padding:.6rem .7rem;white-space:pre-wrap}.note-annotation-fixbox{border:1px solid var(--border-strong);background:var(--surface);border-radius:14px;padding:.75rem .85rem;margin-bottom:.75rem}.note-annotation-fixbox-loading{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:12px;padding:.6rem .75rem;color:var(--text-secondary);font-weight:800;margin-bottom:.65rem}.note-annotation-fixbox-label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:var(--text-secondary);margin-bottom:.6rem;font-weight:800}.note-annotation-fixbox-select{border:1px solid var(--border-strong);border-radius:10px;padding:.55rem .65rem;background:var(--surface-2);color:var(--text-primary);outline:none}.note-annotation-fixbox-select:focus{border-color:#14b8a699;box-shadow:0 0 0 4px #14b8a626}.note-annotation-fixbox-textarea{border:1px solid var(--border-strong);border-radius:12px;padding:.65rem .75rem;background:var(--surface-2);color:var(--text-primary);outline:none;resize:vertical;min-height:84px}.note-annotation-fixbox-textarea:focus{border-color:#14b8a699;box-shadow:0 0 0 4px #14b8a626}.note-annotation-actions{display:flex;flex-wrap:wrap;gap:.5rem}.note-annotation-action{border:1px solid transparent;border-radius:10px;padding:.55rem .75rem;font-weight:800;cursor:pointer;transition:all .2s ease}.note-annotation-action.primary{background:var(--teal);color:#fff;box-shadow:var(--glow-sm)}.note-annotation-action.primary:hover{background:var(--teal-dark);box-shadow:var(--glow-md)}.note-annotation-action.secondary{background:var(--surface-2);color:var(--text-primary);border-color:var(--border-strong)}.note-annotation-action.secondary:hover{background:var(--surface-3)}.note-annotation-action.subtle{background:transparent;color:var(--text-secondary);border-color:var(--border-strong)}.note-annotation-action.subtle:hover{background:var(--surface-2)}.note-feedback-highlight{border-radius:6px;padding:.05em .08em;color:#ef4444f2}.note-feedback-highlight--missing,.note-feedback-highlight--inaccurate,.note-feedback-highlight--specificity{background:#ef44441f;box-shadow:0 0 0 2px #ef44441a}.wysiwyg-editor-container{flex:1;min-height:0;margin-top:4rem}.wysiwyg-editor{height:100%;min-height:360px;border:none;border-radius:0;padding:0;background:transparent;outline:none;color:var(--text-primary);line-height:1.7;font-size:1.15rem;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.wysiwyg-editor:focus{box-shadow:none}.wysiwyg-editor p{margin:.5rem 0}.wysiwyg-editor h1{font-size:1.9rem;line-height:1.25;margin:.75rem 0 .5rem;font-weight:900}.wysiwyg-editor h2{font-size:1.45rem;line-height:1.3;margin:.75rem 0 .5rem;font-weight:900}.wysiwyg-editor h3{font-size:1.2rem;line-height:1.35;margin:.75rem 0 .5rem;font-weight:800}.wysiwyg-editor ul,.wysiwyg-editor ol{padding-left:1.5rem;margin:.5rem 0}.wysiwyg-editor a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}.wysiwyg-editor img{max-width:100%;height:auto;display:block;margin:.75rem 0;border-radius:12px}.wysiwyg-editor blockquote{border-left:4px solid var(--border-strong);padding-left:1rem;margin:.75rem 0;color:var(--text-secondary);background:var(--surface-2);border-radius:8px}.wysiwyg-editor code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.95em;background:var(--surface-2);padding:.1em .25em;border-radius:6px}.wysiwyg-editor pre{background:#0b1020;color:#e5e7eb;padding:.9rem 1rem;border-radius:12px;overflow:auto}.wysiwyg-editor pre code{background:transparent;padding:0;color:inherit;font-size:.92em}.format-button:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:50}.modal-card{width:100%;max-width:520px;background:var(--surface);border-radius:16px;border:1px solid var(--border-strong);box-shadow:0 24px 60px #00000080;padding:1.25rem}.modal-title{font-weight:800;font-size:1.1rem;color:var(--text-primary);margin-bottom:.75rem}.modal-label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:var(--text-secondary);margin-top:.75rem}.modal-input{width:100%;border:1px solid var(--border-strong);border-radius:10px;padding:.65rem .75rem;font-size:.95rem;outline:none;background:var(--surface-2);color:var(--text-primary)}.modal-input:focus{border-color:#14b8a699;box-shadow:0 0 0 4px #14b8a626}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.25rem}.modal-button{border:1px solid transparent;border-radius:10px;padding:.6rem .9rem;font-weight:700;cursor:pointer;transition:all .2s ease}.modal-button.primary{background:var(--teal);color:#fff;box-shadow:var(--glow-sm)}.modal-button.primary:hover:enabled{background:var(--teal-dark);box-shadow:var(--glow-md)}.modal-button.primary:disabled{opacity:.5;cursor:not-allowed}.modal-button.secondary{background:var(--surface-2);color:var(--text-primary);border-color:var(--border-strong)}.modal-button.secondary:hover{background:var(--surface-3)}.suggestion-bar{display:flex;align-items:baseline;gap:.5rem;padding:.75rem 1rem;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface-2)}.suggestion-bar.floating{position:absolute;top:3.5rem;right:1.5rem;z-index:19;max-width:400px;box-shadow:0 4px 12px #0003}.suggestion-muted{color:var(--text-secondary);font-size:.9rem;white-space:nowrap}.suggestion-text-inline{color:var(--text-primary);font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transcript-text{color:var(--text-secondary)}.suggestion-text{color:var(--text-secondary);pointer-events:none;-webkit-user-select:none;user-select:none}.ghost-text{color:var(--text-secondary);pointer-events:none;display:inline}.audio-waveform-bubble{position:absolute;top:.5rem;left:1.5rem;right:auto;z-index:19;width:calc(100% - 440px);max-width:none;height:50px;display:flex;align-items:center;gap:.75rem;background:#252d3a;border:1px solid var(--border);border-radius:12px;padding:.5rem .75rem;box-shadow:0 4px 12px #0003}.audio-waveform-bubble.is-recording{border-color:#ef444480;box-shadow:0 4px 12px #ef444426,0 0 0 1px #ef444433;animation:waveformBubbleIn .25s ease-out}@keyframes waveformBubbleIn{0%{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.waveform-header{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;flex-shrink:0}.waveform-indicator{display:flex;align-items:center;gap:.45rem;font-size:.72rem;font-weight:700;color:#ef4444;text-transform:uppercase;letter-spacing:.08em}.waveform-saved-indicator{display:flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:600;color:#4ade80;text-transform:uppercase;letter-spacing:.05em}.waveform-check-icon{width:14px;height:14px;color:#4ade80}.audio-waveform-bubble.has-recordings{border-color:#4ade804d}.audio-waveform-bubble.has-recordings.is-recording{border-color:#ef444480}.waveform-dot{width:7px;height:7px;border-radius:50%;background:#ef4444;animation:waveformPulse 1.2s ease-in-out infinite;box-shadow:0 0 10px #ef4444b3}@keyframes waveformPulse{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 10px #ef4444b3}50%{opacity:.6;transform:scale(.8);box-shadow:0 0 4px #ef444466}}.waveform-time{font-size:.8rem;font-weight:600;color:#ffffff80;font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.waveform-canvas-container{flex:1;height:40px;background:#00000059;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center}.waveform-canvas{width:100%;height:100%;display:block}.waveform-mic-icon{width:20px;height:20px;color:var(--text-muted);opacity:.5;flex-shrink:0}.waveform-idle-track{flex:1;display:flex;align-items:center;justify-content:space-between;position:relative;height:20px;padding:0 8px}.waveform-idle-line{position:absolute;left:8px;right:8px;top:50%;height:2px;background:var(--border-strong);border-radius:1px}.waveform-idle-dot{width:8px;height:8px;border-radius:50%;background:var(--border-strong);position:relative;z-index:1}.waveform-idle-dot:first-child{background:var(--text-muted)}.waveform-idle-time{font-size:.75rem;font-weight:600;color:var(--text-muted);opacity:.6;font-variant-numeric:tabular-nums;flex-shrink:0}.bubble-menu{z-index:55}.bubble-menu-inner{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;box-shadow:0 14px 32px #00000059;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.bubble-menu-inner .format-button{height:32px;min-width:34px;padding:.4rem .55rem;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--text-dark)}.bubble-menu-inner .format-button:hover:enabled{background:var(--surface-2)}.bubble-menu-inner .format-button.active{background:#10b98138;border-color:#10b98159;box-shadow:var(--glow-sm);color:var(--text-dark)}.bubble-menu-inner .format-icon{width:18px;height:18px}.bubble-separator{width:1px;height:22px;background:var(--border-strong);margin:0 .15rem}@media (max-width: 768px){.editor-header{padding:1rem 1.5rem .5rem}.editor-topbar{top:.75rem;right:1rem}.editor-content{padding:.75rem 1.5rem 1.5rem}.editor-with-annotations{flex-direction:column}.note-annotations{width:100%;flex:0 0 auto;min-height:0}.note-annotation{position:relative;top:auto!important;margin-bottom:.75rem}.note-title-input{font-size:1.5rem}.audio-waveform-bubble{position:relative;top:auto;left:auto;right:auto;width:100%;max-width:none;height:44px;margin-bottom:.5rem}}.notes-page{display:flex;width:100%;height:100vh;overflow:hidden;font-size:1.05rem}.notes-main{flex:1;height:100vh;display:flex;flex-direction:column;overflow:hidden;transition:margin-left .25s ease}.notes-main.sidebar-pinned{transition:margin-left .15s ease}.notes-main.sidebar-unpinned{margin-left:0}.notes-content{display:flex;flex:1;min-height:0;overflow:hidden}.editor-pane{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}.notes-main .notes-editor{flex:1;min-height:0}.floating-buttons{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:12px;z-index:100;transition:right .25s ease}.floating-buttons.rag-open{right:404px}.ask-clara-button{display:flex;align-items:center;gap:8px;padding:12px 20px;background:var(--teal);color:#fff;border:none;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:var(--glow-md),0 4px 20px #0000004d;transition:all .2s ease}.ask-clara-button:hover{background:var(--teal-dark);transform:translateY(-2px);box-shadow:var(--glow-lg),0 6px 24px #0006}.ask-clara-button:active{transform:translateY(0)}.ask-clara-button svg{flex-shrink:0}.note-feedback-button{display:flex;align-items:center;gap:8px;padding:12px 20px;background:var(--teal);color:#fff;border:none;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:var(--glow-md),0 4px 20px #0000004d;transition:all .2s ease}.note-feedback-button:hover:not(:disabled){background:var(--teal-dark);transform:translateY(-2px);box-shadow:var(--glow-lg),0 6px 24px #0006}.note-feedback-button:active:not(:disabled){transform:translateY(0)}.note-feedback-button:disabled{opacity:.6;cursor:not-allowed}.note-feedback-button svg{flex-shrink:0}.rag-sidebar{height:100vh;width:0;background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;transition:width .25s ease}.rag-sidebar.open{width:380px}.rag-sidebar.closed{width:0;border-left:none}.rag-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border);flex-shrink:0}.rag-sidebar-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--text-secondary);border-radius:8px;cursor:pointer;transition:all .15s ease}.rag-sidebar-close:hover{background:var(--surface-2);color:var(--text-primary)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.rag-header-actions{display:flex;align-items:center;gap:.5rem}.rag-title{font-weight:700;color:var(--text-primary)}.rag-status{font-size:.85rem;color:var(--text-secondary)}.rag-actions{display:flex;gap:.5rem}.rag-conversation{flex:1;overflow-y:auto;padding:1rem 1.25rem;min-height:0}.rag-empty-state{display:flex;align-items:center;justify-content:center;height:100%;text-align:center;padding:1.5rem}.rag-empty-state p{color:var(--text-secondary);font-size:1.05rem;line-height:1.5;margin:0}.rag-message{padding:.75rem 1rem;border-radius:12px;margin-bottom:.75rem}.rag-message--user{background:var(--teal);color:#fff;margin-left:1.5rem}.rag-message--assistant{background:var(--surface-2);color:var(--text-primary);margin-right:1.5rem}.rag-message-role{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.025em;margin-bottom:.35rem;opacity:.8}.rag-message--user .rag-message-role{color:#ffffffd9}.rag-message--assistant .rag-message-role{color:var(--text-secondary)}.rag-message-content{white-space:pre-wrap;line-height:1.5;font-size:1.05rem}.rag-message--loading .rag-message-content{min-height:24px;display:flex;align-items:center}.rag-typing-indicator{display:inline-flex;gap:4px;align-items:center}.rag-typing-indicator span{width:8px;height:8px;border-radius:50%;background:var(--text-secondary);animation:rag-typing 1.4s infinite ease-in-out both}.rag-typing-indicator span:nth-child(1){animation-delay:-.32s}.rag-typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes rag-typing{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.rag-message .rag-citations{margin-top:.75rem;padding-top:.5rem;border-top:1px dashed rgba(255,255,255,.15)}.rag-message--assistant .rag-citations-title{font-size:.8rem;color:var(--text-secondary)}.rag-input-row{display:flex;gap:.75rem;align-items:center;flex-shrink:0;padding:1rem 1.25rem;border-top:1px solid var(--border)}.rag-input{flex:1;border:1px solid var(--border-strong);border-radius:10px;padding:.75rem .9rem;outline:none;font-size:1.05rem;background:var(--surface-2);color:var(--text-primary)}.rag-input::placeholder{color:var(--text-secondary)}.rag-input:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-glow),var(--glow-sm)}.rag-button{border:1px solid transparent;border-radius:10px;padding:.7rem .9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.rag-button.primary{background:var(--teal);color:#fff;box-shadow:var(--glow-sm)}.rag-button.primary:hover:not(:disabled){background:var(--teal-dark);box-shadow:var(--glow-md)}.rag-button.secondary{background:var(--surface-2);border-color:var(--border-strong);color:var(--text-secondary)}.rag-button.secondary:hover:not(:disabled){border-color:var(--teal);background:var(--surface)}.rag-button.small{padding:.4rem .6rem;font-size:.9rem}.rag-button:disabled{opacity:.6;cursor:not-allowed}.rag-error{padding:.75rem 1.25rem;color:#fca5a5;font-size:.9rem;border-top:1px solid var(--border)}.rag-output{margin-top:.75rem;padding-top:.75rem;border-top:1px dashed var(--border-strong)}.rag-answer{white-space:pre-wrap;color:var(--text-primary);line-height:1.5}.rag-citations{margin-top:.75rem}.rag-citations-title{font-weight:700;color:var(--text-secondary);margin-bottom:.25rem}.rag-citations ul{margin:0;padding-left:1.1rem}.rag-citation-button{display:inline;padding:0;margin:0;border:none;background:transparent;color:inherit;cursor:pointer;text-align:left}.rag-citation-button:hover .rag-citation-note{text-decoration:underline}.rag-citation-note{font-weight:600}.rag-citation-quote{color:var(--text-secondary)}.citation-jump{padding:.75rem 1.25rem;border-bottom:1px solid var(--border);background:var(--surface-2);display:flex;gap:.75rem;align-items:center}.citation-jump-label{font-weight:700;color:var(--text-secondary);white-space:nowrap}.citation-jump-quote{color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.citation-jump-clear{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;padding:.45rem .7rem;font-weight:600;cursor:pointer;color:var(--text-primary)}.citation-jump-clear:hover{border-color:var(--teal)}@media (max-width: 768px){.notes-page{flex-direction:column}.notes-main{margin-left:0;height:auto}.floating-buttons{bottom:16px;right:16px}.floating-buttons.rag-open{right:16px;bottom:auto;top:16px}.ask-clara-button,.note-feedback-button{padding:10px 16px;font-size:.9rem}.rag-sidebar.open{width:100%;position:fixed;top:0;right:0;z-index:200}}.app{min-height:100vh;background-color:var(--bg-dark)}*{margin:0;padding:0;box-sizing:border-box}:root{--white: #ffffff;--teal: #14B8A6;--teal-dark: #0D9488;--text-dark: #1F2937;--text-light: #6B7280;--text-primary: #F3F4F6;--text-secondary: #D1D5DB;--bg-dark: #000000;--bg: #1F2937;--font-paragraph: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}html{font-size:13px}body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-dark);color:var(--text-primary);line-height:1.55;font-size:1rem}button{font-family:inherit}
