:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error)}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:320px;width:var(--toastify-toast-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;transform:translateX(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px 0 #0000001a,0 2px 15px 0 #0000000d;box-sizing:border-box;cursor:default;direction:ltr;display:flex;font-family:sans-serif;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1 1;word-break:break-word}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.7s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74c3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74c3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:9999;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;transform-origin:right}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px) rotateX(-20deg)}to{opacity:0;transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.MuiButton-contained,.MuiButton-root.MuiButton-contained{background-color:#1976d2!important;box-shadow:none!important;color:#fff!important}.MuiButton-contained:hover,.MuiButton-root.MuiButton-contained:hover{background-color:#1565c0!important;box-shadow:none!important}.MuiButton-contained:disabled,.MuiButton-root.MuiButton-contained:disabled{background-color:#ccc!important;color:#666!important}.MuiButton-containedPrimary{background-color:#1976d2!important;color:#fff!important}.MuiButton-containedPrimary:hover{background-color:#1565c0!important}.MuiButton-containedSecondary{background-color:#dc004e!important;color:#fff!important}.MuiButton-containedSecondary:hover{background-color:#9a0036!important}.MuiButton-containedSuccess{background-color:#4caf50!important;color:#fff!important}.MuiButton-containedSuccess:hover{background-color:#388e3c!important}.MuiButton-containedError{background-color:#f44336!important;color:#fff!important}.MuiButton-containedError:hover{background-color:#d32f2f!important}.MuiButton-containedInfo{background-color:#2196f3!important;color:#fff!important}.MuiButton-containedInfo:hover{background-color:#1976d2!important}.MuiButton-containedWarning{background-color:#ff9800!important;color:#000!important}.MuiButton-containedWarning:hover{background-color:#f57c00!important}.MuiChip-colorPrimary,.MuiChip-root.MuiChip-colorPrimary{background-color:#1976d2!important;color:#fff!important}.MuiChip-colorSecondary,.MuiChip-root.MuiChip-colorSecondary{background-color:#dc004e!important;color:#fff!important}.MuiChip-colorSuccess,.MuiChip-root.MuiChip-colorSuccess{background-color:#4caf50!important;color:#fff!important}.MuiChip-colorError,.MuiChip-root.MuiChip-colorError{background-color:#f44336!important;color:#fff!important}.MuiChip-colorInfo,.MuiChip-root.MuiChip-colorInfo{background-color:#2196f3!important;color:#fff!important}.MuiChip-colorWarning,.MuiChip-root.MuiChip-colorWarning{background-color:#ff9800!important;color:#000!important}.MuiIconButton-colorPrimary{color:#1976d2!important}.MuiIconButton-colorSecondary{color:#dc004e!important}.MuiIconButton-colorSuccess{color:#4caf50!important}.MuiIconButton-colorError{color:#f44336!important}.MuiIconButton-colorInfo{color:#2196f3!important}.MuiIconButton-colorWarning{color:#ff9800!important}.MuiButton-root{border-radius:4px!important;font-weight:500!important;text-transform:none!important}@media print{.no-print{display:none!important}.print-break{page-break-before:always}.print-avoid-break{page-break-inside:avoid}.structured-notes-viewer{font-size:12pt;line-height:1.4}.structured-notes-viewer .MuiAccordion-root{border:1px solid #ddd!important;box-shadow:none!important}.structured-notes-viewer .MuiAccordionSummary-root{background-color:#f5f5f5!important}}.structured-notes-viewer{background-color:#f5f5f5;position:relative}.structured-notes-viewer .MuiCard-root{border-radius:12px!important;box-shadow:0 2px 12px #00000014!important}.structured-notes-viewer .MuiAccordion-root{border-radius:12px!important;box-shadow:0 2px 8px #0000001a!important;margin-bottom:16px!important}.structured-notes-viewer .MuiAccordionSummary-root{min-height:64px!important;padding:16px 24px!important}.structured-notes-viewer .MuiAccordionDetails-root{padding:16px 24px!important}.structured-notes-viewer .MuiTypography-h4{font-weight:600!important;line-height:1.3!important}.structured-notes-viewer .MuiTypography-h5,.structured-notes-viewer .MuiTypography-h6{font-weight:600!important;line-height:1.4!important}.structured-notes-viewer .MuiTypography-body1{line-height:1.7!important}.structured-notes-viewer .search-highlight{background-color:#ffeb3b;border-radius:3px;padding:2px 4px}.structured-notes-viewer .section-starred{border-left:4px solid #ff9800}.structured-notes-viewer .section-read{opacity:.8}.structured-notes-viewer .user-notes{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-radius:8px;margin:8px 0;padding:12px}.structured-notes-viewer .key-points-only{background-color:#f3e5f5}.structured-notes-viewer .progress-indicator{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.speed-dial-fab{transition:all .3s cubic-bezier(.4,0,.2,1)}.speed-dial-fab:hover{transform:scale(1.1)}.structured-notes-viewer{scroll-behavior:smooth}.structured-notes-viewer::-webkit-scrollbar{width:8px}.structured-notes-viewer::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.structured-notes-viewer::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.structured-notes-viewer::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.material-view-container{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);min-height:100vh;position:relative}@keyframes voicePulse{0%{box-shadow:0 0 0 0 #4caf50b3;transform:scale(1)}70%{box-shadow:0 0 0 10px #4caf5000;transform:scale(1.05)}to{box-shadow:0 0 0 0 #4caf5000;transform:scale(1)}}.ai-assistant-badge,.ai-assistant-fab{position:fixed!important;z-index:10000!important}:-moz-full-screen .ai-assistant-badge,:-webkit-full-screen .ai-assistant-badge,:fullscreen .ai-assistant-badge{display:block!important;position:fixed!important;z-index:10000!important}.voice-active{animation:voicePulse 2s infinite}.voice-commands-display{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;border:1px solid #ffffff1a;border-radius:12px;box-shadow:0 8px 32px #0000004d;color:#fff;max-width:300px;padding:16px;position:fixed;right:16px;top:80px;z-index:1000}.voice-panel{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.voice-panel .MuiDrawer-paper{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-left:3px solid #667eea}.material-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #ffffff1a;box-shadow:0 4px 20px #0000001a}.voice-button{border-radius:12px;overflow:hidden;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.voice-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.voice-button:hover:before{left:100%}.voice-button.active{background:linear-gradient(135deg,#4caf50,#45a049);box-shadow:0 4px 15px #4caf5066;color:#fff}.reading-indicator{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;border-radius:12px;color:#fff;display:flex;gap:12px;left:50%;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:2000}.react-pdf__Document{align-items:center;display:flex;flex-direction:column}.react-pdf__Document,.react-pdf__Page{transform:translateZ(0);will-change:transform}.react-pdf__Page{-webkit-backface-visibility:hidden;backface-visibility:hidden;border-radius:8px;box-shadow:0 4px 8px #0000001a;height:auto;margin-bottom:16px;max-width:100%;overflow:hidden}.react-pdf__Page__canvas{height:auto!important;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;max-width:100%}.react-pdf__Page__annotations,.react-pdf__Page__textContent{display:none}.pdf-loading{background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border-radius:12px;box-shadow:inset 0 2px 4px #0000001a;will-change:opacity}.pdf-error,.pdf-loading{align-items:center;display:flex;height:200px;justify-content:center}.pdf-error{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffeaa7;border-radius:12px;box-shadow:0 4px 12px #ffc10733;flex-direction:column;padding:20px}.pdf-navigation{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;border:1px solid #ffffff1a;border-radius:12px;bottom:16px;display:flex;gap:8px;left:50%;padding:12px 16px;position:absolute;transform:translateX(-50%);z-index:10}.pdf-navigation button{background:none;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:8px;transition:all .2s ease}.pdf-navigation button:hover{background-color:#ffffff1a;transform:translateY(-1px)}.pdf-navigation button:disabled{cursor:not-allowed;opacity:.5;transform:none}.pdf-navigation span{color:#fff;font-size:14px;font-weight:500;margin:0 12px}.material-card{background:#fff;border:1px solid #0000000d;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.material-card:hover{box-shadow:0 8px 30px #0000001f;transform:translateY(-2px)}.translation-panel{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #0000000d;border-radius:12px;margin:16px 0;padding:20px}.translation-text{background:#fff;border-left:4px solid #667eea;border-radius:8px;box-shadow:0 2px 8px #0000000d;margin:12px 0;padding:16px}@media (max-width:768px){.voice-commands-display{left:8px;max-width:none;right:8px;top:60px}.pdf-navigation{bottom:8px;justify-content:center;left:8px;right:8px;transform:none}.material-card{border-radius:12px;margin:8px}}.voice-button:focus{outline:2px solid #4caf50;outline-offset:2px}.voice-button:focus-visible{outline:2px solid #4caf50;outline-offset:2px}.fade-in{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.voice-command-highlight{animation:pulse 1.5s infinite;background:linear-gradient(135deg,#4caf50,#45a049);border-radius:6px;color:#fff;display:inline-block;font-size:.875rem;font-weight:500;margin:2px;padding:4px 8px}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}