.navbar{display:flex;align-items:center;justify-content:space-between;height:72px;width:100%;max-width:100vw;background:linear-gradient(135deg,#fffffffa,#f8fafcf2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,122,255,.08);padding:0 40px;box-sizing:border-box;position:sticky;top:0;z-index:1000;box-shadow:0 4px 24px #007aff0a;transition:all .3s ease;overflow-x:hidden}.navbar-logo-container{display:flex;align-items:center;gap:12px;transition:all .2s ease;cursor:pointer;text-decoration:none;border-radius:14px;padding:6px;margin:-6px}.navbar-logo-container:hover{transform:scale(1.02);background:#007aff0d}.navbar-logo-icon{width:44px;height:44px;padding:4px;background:linear-gradient(135deg,#007aff1a,#4a9eff0d);border-radius:12px;box-shadow:0 2px 8px #007aff26;border:1px solid rgba(0,122,255,.1)}.navbar-logo-icon img{width:100%;height:100%;object-fit:contain}.navbar-logo-title{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:24px;font-weight:700;font-style:italic;background:linear-gradient(135deg,#1a1a1a,#007aff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.5px;padding-right:4px}.navbar-nav{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.navbar-nav-link{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:500;color:#4b5563;text-decoration:none;padding:12px 20px;border-radius:12px;transition:all .2s ease;position:relative;background:transparent;border:none;cursor:pointer}.navbar-nav-link:hover{color:#1f2937;background:#007aff14;transform:translateY(-1px);text-decoration:none}.navbar-nav-link.active{color:#007aff;background:#007aff1a;font-weight:600;box-shadow:0 2px 8px #007aff33}.navbar-nav-link.sign-out{color:#ef4444;margin-left:12px;padding:10px 18px;border:1px solid rgba(239,68,68,.2);background:#ef44440d}.navbar-nav-link.sign-out:hover{color:#dc2626;background:#ef44441a;border-color:#ef44444d;transform:translateY(-1px);box-shadow:0 2px 8px #ef444433;text-decoration:none}@media (max-width: 768px){.navbar{padding:0 20px;height:64px}.navbar-logo-title{font-size:20px;display:none}.navbar-nav{gap:4px}.navbar-nav-link{padding:8px 12px;font-size:14px}.navbar-nav-link.sign-out{padding:6px 12px;margin-left:8px}}@media (max-width: 480px){.navbar-logo-icon{width:36px;height:36px}.navbar-nav-link{padding:6px 8px;font-size:13px}}.book-tile{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;position:relative;width:240px;height:380px;border:1px solid rgba(0,0,0,.08);display:flex;flex-direction:column}.book-tile:hover{transform:translateY(-8px);box-shadow:0 16px 48px #0000002e;border-color:#007aff33}.book-tile:hover:before{opacity:1}.book-tile:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#007aff,#4a9eff);opacity:0;transition:opacity .3s ease}.book-cover-container{padding:20px 20px 12px;display:flex;justify-content:center;align-items:center;flex:1;min-height:200px}.book-cover{width:120px;height:160px;border-radius:8px;box-shadow:0 4px 16px #00000026;background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#f8f9fa;transition:transform .3s ease;border:1px solid rgba(0,0,0,.1)}.book-tile:hover .book-cover{transform:scale(1.05)}.book-info{padding:16px 24px 24px;text-align:center;background:linear-gradient(to bottom,transparent,rgba(247,250,252,.5))}.book-title{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:700;line-height:1.4;color:#1a1a1a;margin:0 0 8px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:50px}.book-author{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:500;color:#6b7280;margin:0 0 20px;line-height:1.3}.book-author:before{content:"by ";font-weight:400;color:#9ca3af}.open-pdf-button{background:linear-gradient(135deg,#007aff,#4a9eff);color:#fff;border:none;border-radius:12px;padding:12px 24px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;cursor:pointer;box-shadow:0 2px 8px #007aff40;position:relative;overflow:hidden}.open-pdf-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.open-pdf-button:hover{transform:translateY(-2px);box-shadow:0 4px 16px #007aff59;background:linear-gradient(135deg,#0056b3,#3d8bff)}.open-pdf-button:hover:before{left:100%}.open-pdf-button:active{transform:translateY(0);box-shadow:0 2px 8px #007aff40}.open-pdf-button:after{content:"→";margin-left:4px;transition:transform .2s ease}.open-pdf-button:hover:after{transform:translate(2px)}@media (max-width: 768px){.book-tile{width:280px;height:380px}.book-cover{width:140px;height:180px}.book-title{font-size:16px}.book-author{font-size:13px}}.book-tile.loading{pointer-events:none}.book-tile.loading .book-cover{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.login-screen,.signup-screen,.password-reset-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;width:100vw;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:20px;box-sizing:border-box;gap:20px}.login-content,.signup-content,.password-reset-content{width:clamp(420px,90vw,540px);max-width:540px;background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);display:flex;flex-direction:column;justify-content:flex-start;padding:clamp(32px,3vw,48px);box-sizing:border-box;border-radius:24px;border:1px solid rgba(0,122,255,.1);box-shadow:0 8px 48px #007aff1f;overflow:visible;margin-top:40px}.login-container,.signup-container,.password-reset-container{display:flex;flex-direction:column;width:100%;gap:clamp(24px,3.5vh,32px)}.onboarding-main-content{display:flex;flex-direction:column;width:100%}.login-header,.signup-header,.password-reset-header,.onboarding-header{display:flex;align-items:center;justify-content:flex-start;width:100%;margin-bottom:16px;padding-top:8px}.logo-container{display:flex;align-items:center;gap:12px;height:52px;position:relative}.logo-icon{width:52px;height:52px;padding:6px;background:linear-gradient(135deg,#007aff1a,#4a9eff0d);border-radius:16px;box-shadow:0 4px 16px #007aff26;border:1px solid rgba(0,122,255,.1)}.logo-icon img{width:100%;height:100%;object-fit:contain}.logo-text{display:flex;align-items:center}.logo-title{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:28px;font-weight:700;font-style:italic;background:linear-gradient(135deg,#1a1a1a,#007aff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.5px;padding-right:4px}.login-forms,.signup-forms,.password-reset-forms{display:flex;flex-direction:column;align-items:center;width:100%;flex:1;justify-content:flex-start;min-height:0}.login-form-container,.signup-form-container,.password-reset-form-container{display:flex;flex-direction:column;width:100%;background:#fffc;border-radius:20px;padding:32px;box-shadow:0 8px 32px #007aff14;border:1px solid rgba(0,122,255,.1);gap:24px}.login-title,.signup-title,.password-reset-title{margin-bottom:0;text-align:center}.login-title h1,.signup-title h1,.password-reset-title h1{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:32px;font-weight:700;color:#1a1a1a;margin:0;letter-spacing:-.5px}.password-reset-title h1{margin:0 0 16px}.password-reset-subtitle{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400;line-height:1.6;color:#6b7280;margin:16px 0 0}.auth-mode-toggle{display:flex;background:#007aff14;border-radius:12px;padding:4px;margin-bottom:32px;border:1px solid rgba(0,122,255,.1)}.mode-tab{flex:1;padding:12px 20px;background:none;border:none;border-radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease;text-align:center}.mode-tab.active{background:#007aff;color:#fff;box-shadow:0 2px 8px #007aff40}.mode-tab:hover:not(.active){color:#007aff;background:#007aff0d}.login-form-wrapper,.signup-form-wrapper,.password-reset-form-wrapper{width:100%;display:flex;flex-direction:column}.password-reset-form-wrapper{gap:24px}.login-form,.signup-form,.password-reset-form{display:flex;flex-direction:column;width:100%}.form-fields{display:flex;flex-direction:column;gap:16px}.login-form .form-fields{margin-bottom:24px}.signup-form .form-fields{margin-bottom:32px}.password-reset-form .form-fields{margin-bottom:24px}.input-group{display:flex;flex-direction:column;gap:8px;width:100%}.input-label{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:600;color:#374151;margin:0 0 8px}.input-container{position:relative;width:100%}.form-input{width:100%;height:56px;background:#ffffffe6;border:2px solid #e5e7eb;border-radius:16px;padding:16px 20px;box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400;color:#1f2937;transition:all .2s ease;box-shadow:0 2px 8px #007aff0a}.form-input::placeholder{color:#9ca3af}.form-input:focus{outline:none;border-color:#007aff;background:#fff;box-shadow:0 0 0 3px #007aff1a,0 4px 16px #007aff1a;transform:translateY(-1px)}.form-spacer{height:16px}.forgot-password-container{display:flex;justify-content:flex-end;width:100%}.forgot-password-link{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:500;color:#007aff;text-decoration:none;background:none;border:none;cursor:pointer;padding:4px 8px;border-radius:8px;transition:all .2s ease}.forgot-password-link:hover{background:#007aff1a;text-decoration:none}.sign-in-button,.create-account-button,.reset-button{width:100%;height:56px;background:linear-gradient(135deg,#007aff,#4a9eff);border:none;border-radius:16px;padding:16px 24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:600;color:#fff;text-align:center;transition:all .2s ease;box-shadow:0 4px 16px #007aff4d;position:relative;overflow:hidden}.sign-in-button:before,.create-account-button:before,.reset-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.sign-in-button:hover,.create-account-button:hover:not(:disabled),.reset-button:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#3d8bff);transform:translateY(-2px);box-shadow:0 8px 24px #007aff66}.sign-in-button:hover:before,.create-account-button:hover:not(:disabled):before,.reset-button:hover:not(:disabled):before{left:100%}.create-account-button:disabled,.reset-button:disabled{background:#d1d5db;cursor:not-allowed;transform:none;box-shadow:none}.create-account-button:disabled:before,.reset-button:disabled:before{display:none}.divider{width:100%;height:1px;background:linear-gradient(90deg,transparent,#e5e7eb,transparent);position:relative;margin:8px 0;flex-shrink:0}.divider:after{content:"or";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fffc;padding:0 16px;font-size:14px;color:#6b7280;font-weight:500}.google-signin-button{width:100%;height:56px;background:#ffffffe6;border:2px solid #e5e7eb;border-radius:16px;padding:16px;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:500;color:#374151;text-align:center;transition:all .2s ease;box-shadow:0 2px 8px #0000000a}.google-signin-button:hover{background:#fff;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 4px 16px #00000014}.google-icon{width:24px;height:24px}.signup-offer,.login-offer{display:none}.back-to-login{display:flex;justify-content:center;width:100%}.back-link{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:500;color:#007aff;text-decoration:none;background:#007aff1a;border:1px solid rgba(0,122,255,.2);padding:12px 24px;border-radius:12px;cursor:pointer;transition:all .2s ease}.back-link:hover{background:#007aff26;border-color:#007aff4d;transform:translateY(-1px);text-decoration:none}.password-reset-success{display:flex;flex-direction:column;gap:32px;width:100%;text-align:center;background:#fffc;border-radius:20px;padding:32px;box-shadow:0 8px 32px #007aff14;border:1px solid rgba(0,122,255,.1)}.success-message h2{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:28px;font-weight:700;color:#1a1a1a;letter-spacing:-.5px}.success-message h2:before{content:none}.success-message p{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400;line-height:1.6;color:#6b7280;margin:0}.error-message{color:#ef4444;font-size:14px;font-weight:500;margin-bottom:16px;text-align:center;padding:12px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px}.error-message:before{content:"❌";font-size:16px}@media (max-width: 1200px){.login-content,.signup-content,.password-reset-content{width:clamp(380px,85vw,480px);padding:clamp(28px,3vw,40px)}.login-container,.signup-container,.password-reset-container{gap:clamp(24px,3vh,32px)}}@media (max-width: 900px){.login-content,.signup-content,.password-reset-content{width:clamp(360px,85vw,420px);padding:clamp(24px,2.5vw,32px)}.login-container,.signup-container,.password-reset-container{gap:clamp(20px,2.5vh,28px)}.logo-title{font-size:clamp(24px,2.5vw,28px)}}@media (max-width: 768px){.login-content,.signup-content,.password-reset-content{width:clamp(320px,90vw,380px);padding:24px;border-radius:16px}.login-container,.signup-container,.password-reset-container{gap:24px}}.onboarding-footer{display:flex;justify-content:center;align-items:center;padding:20px;margin-top:auto}.footer-text{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#9ca3af;text-align:center;line-height:1.5}.book-card-grid{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .3s ease;display:flex;flex-direction:column;height:100%}.book-card-grid:hover{transform:translateY(-4px);box-shadow:0 10px 20px #0000001a,0 4px 8px #0000000f}.book-card-cover-link{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;text-decoration:none}.book-card-cover{width:100%;height:100%;position:relative}.book-card-cover img{width:100%;height:100%;object-fit:cover}.book-card-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;opacity:0;transition:opacity .3s ease;color:#fff;font-size:14px;font-weight:600}.book-card-cover-link:hover .book-card-overlay{opacity:1}.book-card-overlay-icon{width:32px;height:32px}.book-card-content{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}.book-card-subject-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:11px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.5px;width:fit-content}.book-card-title{font-size:18px;font-weight:700;color:#1a1a1a;margin:0;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-card-author{font-size:14px;color:#6b7280;margin:0}.book-card-year{color:#9ca3af;font-size:13px}.book-card-description{font-size:13px;color:#4b5563;line-height:1.5;margin:0}.book-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px}.book-card-meta{display:flex;align-items:center;gap:6px;font-size:13px;color:#6b7280}.book-card-icon{width:16px;height:16px;color:#9ca3af;flex-shrink:0}.book-card-source-link{display:flex;align-items:center;gap:6px;color:#667eea!important;text-decoration:none;transition:all .2s ease;font-weight:500;font-size:13px}.book-card-source-link:hover{color:#764ba2!important}.book-card-source-link:hover .book-card-icon{color:#764ba2}.book-card-list{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a;transition:all .3s ease;display:flex;gap:24px;padding:20px}.book-card-list:hover{box-shadow:0 4px 12px #00000026}.book-card-list-cover{width:120px;flex-shrink:0}.book-card-list-cover img{width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px #00000026}.book-card-list-content{flex:1;display:flex;flex-direction:column;gap:12px}.book-card-list-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.book-card-list-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px;border-top:1px solid #e5e7eb}.book-card-list-footer .book-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.book-card-list-footer .book-card-meta-item{display:flex;align-items:center;gap:6px;font-size:14px;color:#6b7280}.book-card-button{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;border-radius:8px;font-size:14px;font-weight:600;transition:all .3s ease;box-shadow:0 2px 4px #667eea33}.book-card-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.book-card-button-icon{width:18px;height:18px}@media (max-width: 768px){.book-card-list{flex-direction:column;gap:16px}.book-card-list-cover{width:100%;max-width:200px;margin:0 auto}.book-card-list-footer{flex-direction:column;gap:12px;align-items:stretch}.book-card-button{justify-content:center}}.library-container{display:flex;flex-direction:column;position:relative;width:100%;min-height:100vh;padding:40px 60px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);animation:fadeIn .5s ease-in}.library-header{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:32px}.library-header-content{flex-shrink:0}.library-header-content h1{font-family:var(--font-family-inter);font-size:42px;font-weight:800;line-height:1.2;color:#1a1a1a;margin:0 0 8px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.library-subtitle{font-size:16px;color:#6b7280;margin:0}.library-controls{display:flex;flex-direction:column;gap:12px;align-items:flex-end;max-width:500px}.library-search{position:relative;width:100%;min-width:300px}.library-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#9ca3af;pointer-events:none}.library-search-input{width:100%;padding:14px 48px;border:2px solid #e5e7eb;border-radius:12px;font-size:15px;font-family:var(--font-family-inter);transition:all .3s ease;background:#fff}.library-search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.library-search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:28px;height:28px;padding:6px;border:none;background:#f3f4f6;border-radius:50%;cursor:pointer;transition:all .2s ease;color:#6b7280}.library-search-clear:hover{background:#e5e7eb;color:#1a1a1a}.library-controls-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.library-filter{display:flex;align-items:center;gap:8px}.library-filter-label{font-size:14px;font-weight:600;color:#4b5563;white-space:nowrap}.library-select{padding:10px 36px 10px 14px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:var(--font-family-inter);background:#fff;cursor:pointer;transition:all .3s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:20px}.library-select:hover{border-color:#d1d5db}.library-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.library-view-toggle{display:flex;gap:4px;background:#fff;border-radius:8px;padding:4px;border:2px solid #e5e7eb}.library-view-button{padding:8px 12px;border:none;background:transparent;border-radius:6px;cursor:pointer;transition:all .2s ease;color:#6b7280;display:flex;align-items:center;justify-content:center}.library-view-button svg{width:20px;height:20px}.library-view-button:hover{background:#f3f4f6;color:#1a1a1a}.library-view-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.library-results-count{font-size:14px;color:#6b7280;margin-bottom:16px}.library-books-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;width:100%;animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.library-books-list{display:flex;flex-direction:column;gap:20px;width:100%;animation:slideUp .5s ease-out}.library-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.library-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}.library-loading p{font-size:16px;color:#6b7280}.library-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px;text-align:center}.library-error-icon{width:64px;height:64px;color:#ef4444}.library-error h2{font-size:24px;font-weight:700;color:#1a1a1a;margin:0}.library-error p{font-size:16px;color:#6b7280;margin:0}.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:16px;text-align:center;background:#fff;border-radius:12px;padding:60px 40px;box-shadow:0 1px 3px #0000001a}.library-empty-icon{width:64px;height:64px;color:#d1d5db}.library-empty h3{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.library-empty p{font-size:15px;color:#6b7280;margin:0}@media (max-width: 1200px){.library-container{padding:32px 40px}.library-header-content h1{font-size:36px}.library-books-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}}@media (max-width: 992px){.library-header{flex-direction:column;gap:24px}.library-controls{max-width:100%;width:100%}.library-books-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}@media (max-width: 768px){.library-container{padding:24px 20px}.library-header{flex-direction:column;gap:20px}.library-header-content h1{font-size:32px}.library-controls{align-items:stretch}.library-search{min-width:0}.library-controls-row,.library-filter{flex-direction:column;align-items:stretch}.library-books-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}}@media (max-width: 480px){.library-header-content h1{font-size:28px}.library-books-grid{grid-template-columns:1fr}}:root{--rpv-core__annotation--link-hover-background-color: rgba(255, 255, 0, .2);--rpv-core__annotation-popup-wrapper-background-color: #faf089;--rpv-core__annotation-popup-wrapper-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--rpv-core__annotation-popup-content-border-top-color: #1a202c;--rpv-core__arrow-border-color: rgba(0, 0, 0, .3);--rpv-core__asking-password-color: #000;--rpv-core__asking-password-wrapper-background-color: #fff;--rpv-core__asking-password-wrapper-border-color: rgba(0, 0, 0, .3);--rpv-core__button-background-color: rgba(0, 0, 0, .3);--rpv-core__button-color: #000;--rpv-core__doc-error-background-color: #fff;--rpv-core__doc-error-text-background-color: #c02424;--rpv-core__doc-error-text-color: #fff;--rpv-core__doc-loading-background-color: #fff;--rpv-core__full-screen-target-background-color: #fff;--rpv-core__inner-page-background-color: #fff;--rpv-core__menu-divider-border-bottom-color: rgba(0, 0, 0, .3);--rpv-core__menu-item-color: #000;--rpv-core__menu-item--hover-background-color: rgba(0, 0, 0, .1);--rpv-core__menu-item--disabled-color: rgba(0, 0, 0, .3);--rpv-core__minimal-button-color: #000;--rpv-core__minimal-button--hover-background-color: rgba(0, 0, 0, .1);--rpv-core__minimal-button--disabled-color: rgba(0, 0, 0, .3);--rpv-core__minimal-button--selected-background-color: rgba(0, 0, 0, .1);--rpv-core__modal-body-background-color: #fff;--rpv-core__modal-body-border-color: rgba(0, 0, 0, .3);--rpv-core__modal-overlay-background-color: rgba(0, 0, 0, .5);--rpv-core__page-layer-box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);--rpv-core__popover-body-background-color: #fff;--rpv-core__popover-body-border-color: rgba(0, 0, 0, .3);--rpv-core__popover-body-color: #000;--rpv-core__primary-button-background-color: #2566e8;--rpv-core__primary-button-color: #fff;--rpv-core__progress-bar-background-color: rgba(0, 0, 0, .1);--rpv-core__progress-bar-progress-background-color: #2566e8;--rpv-core__progress-bar-progress-color: #fff;--rpv-core__separator-border-bottom-color: rgba(0, 0, 0, .3);--rpv-core__spinner-border-color: rgba(0, 0, 0, .4);--rpv-core__spinner-border-transparent-color: transparent;--rpv-core__splitter-background-color: transparent;--rpv-core__splitter--hover-background-color: rgba(0, 0, 0, .2);--rpv-core__text-layer-text--selection-background-color: rgb(0, 0, 255, 1);--rpv-core__text-layer-text--selection-color: transparent;--rpv-core__textbox-background-color: #fff;--rpv-core__textbox-border-color: rgba(0, 0, 0, .2);--rpv-core__textbox-color: #000;--rpv-core__tooltip-body-background-color: #000;--rpv-core__tooltip-body-color: #fff}.rpv-core__viewer--dark{--rpv-core__asking-password-background-color: #363636;--rpv-core__asking-password-color: #fff;--rpv-core__asking-password-wrapper-border-color: #191919;--rpv-core__asking-password-wrapper-background-color: #191919;--rpv-core__button-background-color: #171717;--rpv-core__button-color: #fff;--rpv-core__doc-error-background-color: #191919;--rpv-core__doc-error-text-background-color: #c02323;--rpv-core__doc-error-text-color: #fff;--rpv-core__doc-loading-background-color: #191919;--rpv-core__full-screen-target-background-color: #1a1a1a;--rpv-core__inner-page-background-color: #1a1a1a;--rpv-core__menu-divider-border-bottom-color: #000;--rpv-core__menu-item-color: #fff;--rpv-core__menu-item--hover-background-color: #2566e8;--rpv-core__menu-item--disabled-color: #5e5e5e;--rpv-core__minimal-button-color: #fff;--rpv-core__minimal-button--disabled-color: #5e5e5e;--rpv-core__minimal-button--hover-background-color: #191919;--rpv-core__minimal-button--selected-background-color: #1657bb;--rpv-core__modal-body-background-color: #363636;--rpv-core__primary-button-background-color: #2566e8;--rpv-core__popover-body-background-color: #363636;--rpv-core__popover-body-color: #fff;--rpv-core__progress-bar-background-color: #000;--rpv-core__separator-border-bottom-color: #000;--rpv-core__spinner-border-color: #fff;--rpv-core__splitter-background-color: #1a1a1a;--rpv-core__splitter--hover-background-color: #2566e8;--rpv-core__textbox-background-color: #121212;--rpv-core__textbox-border-color: #121212;--rpv-core__textbox-color: #fff;--rpv-core__tooltip-body-background-color: #414141;--rpv-core__tooltip-body-color: #fff}.rpv-core__annotation{position:absolute}.rpv-core__annotation-layer{z-index:1}.rpv-core__arrow{border-bottom:1px solid var(--rpv-core__arrow-border-color);border-left-color:var(--rpv-core__arrow-border-color);border-right:1px solid var(--rpv-core__arrow-border-color);border-top-color:var(--rpv-core__arrow-border-color);height:10px;position:absolute;width:10px;z-index:0}.rpv-core__arrow--tl{bottom:0;left:0;transform:translate(50%,50%) rotate(45deg)}.rpv-core__arrow--tc{bottom:0;left:50%;transform:translate(-50%,50%) rotate(45deg)}.rpv-core__arrow--tr{bottom:0;right:0;transform:translate(-50%,50%) rotate(45deg)}.rpv-core__arrow--rt{left:0;top:0;transform:translate(-50%,50%) rotate(135deg)}.rpv-core__arrow--rc{left:0;top:50%;transform:translate(-50%,-50%) rotate(135deg)}.rpv-core__arrow--rb{bottom:0;left:0;transform:translate(-50%,-50%) rotate(135deg)}.rpv-core__arrow--bl{left:0;top:0;transform:translate(50%,-50%) rotate(225deg)}.rpv-core__arrow--bc{left:50%;top:0;transform:translate(-50%,-50%) rotate(225deg)}.rpv-core__arrow--br{right:0;top:0;transform:translate(-50%,-50%) rotate(225deg)}.rpv-core__arrow--lt{right:0;top:0;transform:translate(50%,50%) rotate(315deg)}.rpv-core__arrow--lc{right:0;top:50%;transform:translate(50%,-50%) rotate(315deg)}.rpv-core__arrow--lb{bottom:0;right:0;transform:translate(50%,-50%) rotate(315deg)}.rpv-core__asking-password{background-color:var(--rpv-core__asking-password-background-color);border-radius:.25rem;color:var(--rpv-core__asking-password-color);padding:2rem}.rpv-core__asking-password--rtl{direction:rtl}.rpv-core__asking-password-wrapper{align-items:center;background-color:var(--rpv-core__asking-password-wrapper-background-color);border:1px solid var(--rpv-core__asking-password-wrapper-border-color);display:flex;height:100%;justify-content:center;width:100%}.rpv-core__asking-password-message{margin:.5rem 0}.rpv-core__asking-password-body{align-items:center;display:flex;justify-content:center}.rpv-core__asking-password-input{width:15rem}.rpv-core__asking-password-input--ltr{margin-right:.5rem}.rpv-core__asking-password-input--rtl{margin-left:.5rem}.rpv-core__button{background-color:var(--rpv-core__button-background-color);border:none;border-radius:.25rem;color:var(--rpv-core__button-color);cursor:pointer;height:2rem;padding:0 1rem}.rpv-core__button--rtl{direction:rtl}.rpv-core__canvas-layer{direction:ltr;left:0;position:absolute;overflow:hidden;top:0}.rpv-core__doc-error{align-items:center;background-color:var(--rpv-core__doc-error-background-color);display:flex;justify-content:center;height:100%}.rpv-core__doc-error--rtl{direction:rtl}.rpv-core__doc-error-text{background-color:var(--rpv-core__doc-error-text-background-color);border-radius:.25rem;color:var(--rpv-core__doc-error-text-color);line-height:1.5;max-width:50%;padding:.5rem}.rpv-core__doc-loading{background-color:var(--rpv-core__doc-loading-background-color);align-items:center;display:flex;justify-content:center;height:100%;width:100%;min-height:inherit}.rpv-core__doc-loading--rtl{direction:rtl}.rpv-core__icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1;text-align:center}.rpv-core__icon--rtl{transform:scaleX(-1)}.rpv-core__inner-container{min-height:inherit}.rpv-core__inner-pages{overflow:auto}.rpv-core__inner-pages--rtl{direction:rtl}.rpv-core__inner-pages--single{overflow:hidden}.rpv-core__inner-page-container--single{overflow:auto}.rpv-core__inner-page{background-color:var(--rpv-core__inner-page-background-color)}.rpv-core__inner-page--single{display:flex;align-items:center;justify-content:center}.rpv-core__inner-page--dual-even{display:flex;align-items:center;justify-content:flex-end}.rpv-core__inner-page--dual-odd{display:flex;align-items:center;justify-content:flex-start}.rpv-core__inner-page--dual-cover{display:flex;align-items:center;justify-content:center}.rpv-core__inner-page--dual-cover-odd{display:flex;align-items:center;justify-content:flex-end}.rpv-core__inner-page--dual-cover-even{display:flex;align-items:center;justify-content:flex-start}.rpv-core__annotation--link a{height:100%;left:0;position:absolute;top:0;width:100%}.rpv-core__annotation--link a:hover{background-color:var(--rpv-core__annotation--link-hover-background-color)}.rpv-core__menu{display:flex;flex-direction:column}.rpv-core__menu--rtl{direction:rtl;text-align:right}.rpv-core__menu-divider{border-bottom:1px solid var(--rpv-core__menu-divider-border-bottom-color);margin:.25rem 0}.rpv-core__menu-item{align-items:center;background-color:#0000;color:var(--rpv-core__menu-item-color);border:none;cursor:pointer;display:flex;justify-content:center;padding:.25rem 0;width:100%}.rpv-core__menu-item:focus{background-color:var(--rpv-core__menu-item--hover-background-color);outline:0}.rpv-core__menu-item:hover{background-color:var(--rpv-core__menu-item--hover-background-color)}.rpv-core__menu-item-icon{align-items:center;display:flex}.rpv-core__menu-item-icon--ltr{padding-left:1rem;padding-right:.5rem}.rpv-core__menu-item-icon--rtl{padding-left:.5rem;padding-right:1rem}.rpv-core__menu-item-label{flex-grow:1;flex-shrink:1;white-space:nowrap}.rpv-core__menu-item-label--ltr{padding-right:2rem}.rpv-core__menu-item-label--rtl{padding-left:2rem}.rpv-core__menu-item-check--ltr{padding-right:1rem}.rpv-core__menu-item-check--rtl{padding-left:1rem}.rpv-core__menu-item--disabled{color:var(--rpv-core__menu-item--disabled-color)}.rpv-core__menu-item--disabled:hover{background-color:#0000}.rpv-core__menu-item--ltr{text-align:left}.rpv-core__menu-item--rtl{direction:rtl;text-align:right}.rpv-core__minimal-button{background-color:#0000;border:none;border-radius:.25rem;color:var(--rpv-core__minimal-button-color);cursor:pointer;height:2rem;padding:0 .5rem}.rpv-core__minimal-button:hover{background-color:var(--rpv-core__minimal-button--hover-background-color)}.rpv-core__minimal-button--disabled{color:var(--rpv-core__minimal-button--disabled-color)}.rpv-core__minimal-button--rtl{direction:rtl}.rpv-core__minimal-button--selected{background-color:var(--rpv-core__minimal-button--selected-background-color)}.rpv-core__modal-body{background-color:var(--rpv-core__modal-body-background-color);border:1px solid var(--rpv-core__modal-body-border-color);border-radius:.25rem;margin:1rem;max-width:32rem;overflow:auto}.rpv-core__modal-body--rtl{direction:rtl}.rpv-core__modal-overlay{background-color:var(--rpv-core__modal-overlay-background-color);bottom:0;left:0;position:fixed;right:0;top:0;z-index:9999;align-items:center;display:flex;justify-content:center}.rpv-core__page-layer{align-items:center;display:flex;justify-content:center;overflow:visible;position:relative}.rpv-core__page-layer:after{content:"";position:absolute;bottom:.25rem;left:.25rem;right:.25rem;top:.25rem;box-shadow:var(--rpv-core__page-layer-box-shadow)}.rpv-core__page-layer--single{margin:0 auto}.rpv-core__page-size-calculator{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.rpv-core__popover-body{background-color:var(--rpv-core__popover-body-background-color);border:1px solid var(--rpv-core__popover-body-border-color);border-radius:.25rem;color:var(--rpv-core__popover-body-color);left:0;padding:.5rem 0;position:absolute;top:-9999px;z-index:9999}.rpv-core__popover-body-arrow{background-color:var(--rpv-core__popover-body-background-color)}.rpv-core__popover-body--rtl{direction:rtl}.rpv-core__popover-overlay{bottom:0;left:0;position:fixed;right:0;top:0}.rpv-core__annotation-popup-wrapper{background-color:var(--rpv-core__annotation-popup-wrapper-background-color);box-shadow:var(--rpv-core__annotation-popup-wrapper-box-shadow);font-size:.75rem;padding:.25rem;word-break:break-word}.rpv-core__annotation-popup-wrapper--rtl{direction:rtl}.rpv-core__annotation-popup-title{font-weight:600;margin-bottom:.25rem}.rpv-core__annotation-popup-date{font-size:.5rem}.rpv-core__annotation-popup-content{border-top:1px solid var(--rpv-core__annotation-popup-content-border-top-color);padding:.25rem;max-height:16rem;overflow:auto}.rpv-core__primary-button{background-color:var(--rpv-core__primary-button-background-color);border:none;border-radius:.25rem;color:var(--rpv-core__primary-button-color);cursor:pointer;height:2rem;padding:0 1rem}.rpv-core__primary-button--rtl{direction:rtl}.rpv-core__progress-bar{background-color:var(--rpv-core__progress-bar-background-color);border-radius:9999px;padding:.125rem}.rpv-core__progress-bar--rtl{direction:rtl}.rpv-core__progress-bar-progress{align-items:center;background-color:var(--rpv-core__progress-bar-progress-background-color);border-radius:9999px;color:var(--rpv-core__progress-bar-progress-color);display:flex;font-size:.75rem;justify-content:center;height:.75rem}.rpv-core__separator{border-bottom:1px solid var(--rpv-core__separator-border-bottom-color)}.rpv-core__spinner{border-bottom:2px solid var(--rpv-core__spinner-border-transparent-color);border-left:2px solid var(--rpv-core__spinner-border-transparent-color);border-right:2px solid var(--rpv-core__spinner-border-color);border-top:2px solid var(--rpv-core__spinner-border-color);border-radius:9999px}.rpv-core__spinner--animating{animation-duration:.4s;animation-name:rpv-core__spinner-transform;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes rpv-core__spinner-transform{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.rpv-core__splitter{background-color:var(--rpv-core__splitter-background-color);cursor:ew-resize;height:100%;width:.25rem}.rpv-core__splitter:hover,.rpv-core__splitter--resizing{cursor:col-resize;background-color:var(--rpv-core__splitter--hover-background-color)}.rpv-core__splitter-body--resizing{cursor:col-resize}.rpv-core__splitter-sibling--resizing{pointer-events:none;-webkit-user-select:none;user-select:none}.rpv-core__textbox{background-color:var(--rpv-core__textbox-background-color);border:1px solid var(--rpv-core__textbox-border-color);box-sizing:border-box;border-radius:.25rem;color:var(--rpv-core__textbox-color);padding:0 .5rem;height:2rem;width:100%}.rpv-core__textbox--rtl{direction:rtl}.rpv-core__text-layer{left:0;position:absolute;top:0;height:100%;width:100%;opacity:.2;line-height:1;z-index:1}.rpv-core__text-layer span::selection{background-color:var(--rpv-core__text-layer-text--selection-background-color);color:var(--rpv-core__text-layer-text--selection-color)}.rpv-core__text-layer br::selection{color:#0000}.rpv-core__text-layer-text{color:#0000;cursor:text;position:absolute;transform-origin:0% 0%;white-space:pre}.rpv-core__tooltip-body{background-color:var(--rpv-core__tooltip-body-background-color);border-radius:.25rem;color:var(--rpv-core__tooltip-body-color);left:0;max-width:20rem;position:absolute;text-align:center;top:-9999px;z-index:9999}.rpv-core__tooltip-body--rtl{direction:rtl}.rpv-core__tooltip-body-arrow{background-color:var(--rpv-core__tooltip-body-background-color)}.rpv-core__tooltip-body-content{padding:.5rem}.rpv-core__display--block{display:block}.rpv-core__display--hidden{display:none}@media (min-width: 640px){.rpv-core__display--hidden-small{display:none}.rpv-core__display--block-small{display:block}}@media (min-width: 768px){.rpv-core__display--hidden-medium{display:none}.rpv-core__display--block-medium{display:block}}@media (min-width: 1024px){.rpv-core__display--hidden-large{display:none}.rpv-core__display--block-large{display:block}}.rpv-core__viewer{min-height:inherit}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}.table-of-contents{display:flex;flex-direction:column;height:100%;background-color:var(--color-background-secondary, #f9f9f9);border-right:1px solid var(--color-border, #e0e0e0);overflow:hidden}.toc-title{padding:1rem 1.25rem;margin:0;font-size:1.125rem;font-weight:600;color:var(--color-text-primary, #1a1a1a);border-bottom:2px solid var(--color-border, #d0d0d0);background-color:var(--color-background-secondary, #f9f9f9)}.toc-scroll-container{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.toc-list{list-style:none;padding:0;margin:0}.toc-item{margin:0}.toc-chapter-header{display:flex;align-items:stretch;gap:0}.toc-expand-button{width:24px;flex-shrink:0;border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary, #666666);transition:background-color .15s ease;padding:0;margin-right:-4px}.toc-expand-button:hover{background-color:var(--color-background-hover, #f0f0f0)}.toc-expand-icon{width:16px;height:16px;display:block;transition:opacity .2s ease}.toc-button{flex:1;padding:.75rem 1.25rem;border:none;background:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.5rem;transition:background-color .15s ease;color:var(--color-text-primary, #1a1a1a);font-size:.9375rem;line-height:1.4}.toc-button.no-children{padding-left:2.25rem}.toc-button:active:not(:disabled){background-color:var(--color-background-active, #e8e8e8)}.toc-button:disabled{cursor:not-allowed;opacity:.5}.toc-title-text{flex:1;overflow-wrap:break-word;word-wrap:break-word;line-height:1.4}.toc-number{font-weight:600;color:var(--color-primary, #1976d2)}.toc-page-number{flex-shrink:0;font-size:.875rem;color:var(--color-text-secondary, #666666);font-weight:400}.toc-button.active .toc-page-number{color:var(--color-primary, #1976d2)}.toc-chapter-button{font-weight:600;padding-top:1rem;padding-bottom:1rem}.toc-section-list{background-color:var(--color-background-tertiary, #f5f5f5)}.toc-section-button{padding-left:2.5rem;font-weight:400;font-size:.875rem}.toc-scroll-container{scrollbar-width:thin;scrollbar-color:#999999 #f0f0f0}.toc-scroll-container::-webkit-scrollbar{width:8px}.toc-scroll-container::-webkit-scrollbar-track{background:#f0f0f0;border-radius:4px}.toc-scroll-container::-webkit-scrollbar-thumb{background:#999;border-radius:4px}.toc-scroll-container::-webkit-scrollbar-thumb:hover{background:#666}.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background-color:var(--color-background-primary, #ffffff);border-bottom:1px solid var(--color-border, #e0e0e0);height:70px;box-shadow:0 1px 3px #0000000d;position:relative;z-index:100;flex-shrink:0}.toolbar-section{display:flex;align-items:center;gap:.5rem}.toolbar-left,.toolbar-right{flex:0 0 200px}.toolbar-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem}.toolbar-book-title{margin:0;font-size:1rem;font-weight:600;color:var(--color-text-primary, #1a1a1a);text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:400px}.toolbar-button{padding:.5rem .75rem;border:1px solid var(--color-border, #e0e0e0);background-color:var(--color-background-primary, #ffffff);color:var(--color-text-primary, #1a1a1a);border-radius:4px;cursor:pointer;transition:all .15s ease;font-size:.9375rem;display:flex;align-items:center;justify-content:center}.toolbar-button:hover:not(:disabled){background-color:var(--color-background-hover, #f0f0f0);border-color:var(--color-border-hover, #cccccc)}.toolbar-button:active:not(:disabled){background-color:var(--color-background-active, #e8e8e8)}.toolbar-button:disabled{opacity:.4;cursor:not-allowed}.toolbar-icon-button{width:36px;height:36px;padding:0}.toolbar-text-button{min-width:50px;font-weight:500}.toolbar-icon{width:20px;height:20px;display:block}.page-navigation{display:flex;align-items:center;gap:.5rem}.page-input-form{display:flex;align-items:center;gap:.25rem}.page-input{width:50px;padding:.5rem;border:1px solid var(--color-border, #e0e0e0);border-radius:4px;text-align:center;font-size:.9375rem;color:var(--color-text-primary, #1a1a1a)}.page-input:focus{outline:none;border-color:var(--color-primary, #1976d2);box-shadow:0 0 0 2px #1976d21a}.page-separator,.page-total{font-size:.9375rem;color:var(--color-text-secondary, #666666)}.toolbar-right{justify-content:flex-end}.zoom-input-form{display:flex;align-items:center;gap:.125rem}.zoom-input{width:50px;padding:.5rem;border:1px solid var(--color-border, #e0e0e0);border-radius:4px;text-align:center;font-size:.9375rem;color:var(--color-text-primary, #1a1a1a)}.zoom-input:focus{outline:none;border-color:var(--color-primary, #1976d2);box-shadow:0 0 0 2px #1976d21a}.zoom-percent{font-size:.9375rem;color:var(--color-text-secondary, #666666)}@media (max-width: 768px){.toolbar-book-title{font-size:.875rem;max-width:200px}.toolbar-left,.toolbar-right{flex:0 0 auto}}.related-paragraphs-panel{display:flex;flex-direction:column;height:100%;background-color:var(--color-background-secondary, #f9f9f9);border-left:1px solid var(--color-border, #e0e0e0);overflow:hidden}.panel-title-container{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:2px solid var(--color-border, #d0d0d0)}.panel-title{margin:0;font-size:1.125rem;font-weight:600;background:linear-gradient(160deg,#35f,#f03);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.panel-clear-btn{background:none;border:none;padding:.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease,transform .15s ease,opacity .2s ease;opacity:.7}.panel-clear-btn:hover:not(:disabled){background-color:#0000000d;opacity:1;transform:scale(1.05)}.panel-clear-btn:active:not(:disabled){transform:scale(.95)}.panel-clear-btn:disabled{opacity:.3;cursor:not-allowed}.panel-clear-btn img{width:24px;height:24px;display:block}.panel-subtitle{margin:0 0 1.25rem;padding:1rem;background:#fff;border:2px solid #10b981;border-radius:8px;box-shadow:0 2px 4px #10b9811a}.panel-subtitle-content{display:flex;flex-direction:column;gap:.5rem}.panel-subtitle-paragraph{font-size:1rem;font-weight:700;color:#10b981;cursor:pointer;transition:all .2s ease;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:2px;width:fit-content}.panel-subtitle-paragraph:hover{color:#059669;text-decoration-color:#059669;transform:translate(2px)}.panel-subtitle-paragraph:active{color:#047857;transform:translate(0)}.panel-subtitle-count{font-size:.875rem;color:#64748b;font-weight:500}.panel-content{flex:1;padding:1.25rem;overflow-y:auto}.panel-placeholder{color:var(--color-text-secondary, #666666);font-size:.9375rem;text-align:center;margin-top:2rem}.panel-loading,.panel-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;color:var(--color-text-secondary, #666666)}.loading-spinner-small{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#4a90e2;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:1rem}.relationship-group{margin-bottom:1.5rem}.relationship-group:last-child{margin-bottom:0}.relationship-group-title{font-size:.9375rem;font-weight:600;color:#2c3e50;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.relationship-group-count{font-size:.8125rem;font-weight:400;color:#888}.relationship-group-items{display:flex;flex-direction:column;gap:1rem}.related-paragraph-item{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1rem;transition:box-shadow .2s ease,transform .2s ease,background .2s ease,border .2s ease}.related-paragraph-item:hover{box-shadow:0 2px 8px #00000014}.related-paragraph-item.selected{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #f59e0b}.related-paragraph-item.selected:hover{box-shadow:0 3px 10px #f59e0b33;transform:translateY(-1px)}.related-paragraph-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.related-paragraph-id{font-size:.8125rem;font-weight:600;color:#4a90e2}.related-paragraph-id-clickable{cursor:pointer;transition:color .2s ease,text-decoration .2s ease;text-decoration:underline;text-decoration-color:transparent}.related-paragraph-id-clickable:hover{color:#2563eb;text-decoration-color:#2563eb}.related-paragraph-id-clickable:active{color:#1e40af}.related-paragraph-item.selected .related-paragraph-id{color:#d97706}.related-paragraph-item.selected .related-paragraph-id-clickable:hover{color:#b45309;text-decoration-color:#b45309}.related-paragraph-item.selected .related-paragraph-id-clickable:active{color:#92400e}.related-paragraph-location{font-size:.75rem;color:#888}.related-paragraph-text{font-size:.875rem;line-height:1.5;color:#333;margin-bottom:.75rem}.related-paragraph-actions{display:flex;flex-wrap:wrap;gap:.5rem}.related-paragraph-action-btn{font-size:.8125rem;padding:.375rem .75rem;border:1px solid #d0d0d0;border-radius:4px;background:#fff;color:#555;cursor:pointer;transition:all .2s ease;font-family:inherit;white-space:nowrap}.related-paragraph-action-btn:hover:not(:disabled){background:#f5f5f5;border-color:#b0b0b0}.related-paragraph-action-btn:active:not(:disabled){transform:scale(.98)}.related-paragraph-action-btn:disabled{opacity:.5;cursor:not-allowed}.related-paragraph-toggle-btn{color:#4a90e2;border-color:#4a90e2}.related-paragraph-toggle-btn:hover:not(:disabled){background:#e8f2ff}.related-paragraph-jump-btn{background:linear-gradient(135deg,gold,orange);color:#333;font-weight:500;border:none;box-shadow:0 1px 3px #ffd7004d}.related-paragraph-jump-btn:hover:not(:disabled){background:linear-gradient(135deg,orange,#ff8c00);color:#000;transform:translateY(-1px);box-shadow:0 2px 6px #ffa50066}.related-paragraph-jump-btn:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 2px #ffa5004d}.related-paragraph-ai-btn{background:linear-gradient(135deg,#667eea,#cc35d1);color:#fff;border:none;font-weight:500;display:flex;align-items:center;gap:.375rem}.related-paragraph-ai-btn:hover:not(:disabled){background:linear-gradient(160deg,#35f,#f03);box-shadow:0 2px 8px #667eea4d}.related-paragraph-ai-btn:disabled{background:linear-gradient(160deg,#35f,#f03);box-shadow:0 2px 8px #667eea4d;opacity:.6}.related-paragraph-ai-btn.active{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.related-paragraph-ai-btn.active:hover:not(:disabled){background:linear-gradient(135deg,#ff5252,#e53e5a)}.ai-icon{font-size:1rem;line-height:1}.related-paragraph-summary{margin-top:.75rem;padding:.875rem;background:linear-gradient(135deg,#f8f9ff,#fff8fb);border:1px solid #e0e7ff;border-radius:6px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.summary-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.625rem;font-weight:600;font-size:.8125rem;color:#5a67d8}.summary-icon{font-size:1rem;line-height:1}.summary-title{text-transform:uppercase;letter-spacing:.5px}.summary-content{font-size:.875rem;line-height:1.6;color:#2d3748;white-space:pre-wrap}.related-paragraph-summary-error{margin-top:.75rem;padding:.75rem;background:#fff5f5;border:1px solid #feb2b2;border-radius:6px;color:#c53030;font-size:.8125rem;display:flex;align-items:center;gap:.5rem;animation:fadeIn .3s ease-in}.error-icon{font-size:1rem;line-height:1}.resize-handle{width:8px;flex-shrink:0;cursor:col-resize;position:relative;background-color:transparent;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;z-index:10}.resize-handle:hover{background-color:#1976d21a}.resize-handle.resizing{background-color:#1976d233}.resize-handle-line{width:2px;height:100%;background-color:var(--color-border, #e0e0e0);transition:background-color .2s ease}.resize-handle:hover .resize-handle-line,.resize-handle.resizing .resize-handle-line{background-color:var(--color-primary, #1976d2)}.resize-handle:active{-webkit-user-select:none;user-select:none}.paragraph-anchor{position:absolute;cursor:pointer;z-index:10}.paragraph-anchor-marker{width:14px!important;height:18px!important;min-height:18px!important;background:linear-gradient(160deg,#35f 20%,#f03 90%);border-radius:2px;opacity:.4;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.paragraph-anchor:hover .paragraph-anchor-marker{opacity:.8;width:13px!important;height:17px!important;box-shadow:0 2px 6px #4a90e24d}.paragraph-anchor:active .paragraph-anchor-marker{opacity:1;transform:scale(.95)}.paragraph-anchor-tooltip{position:absolute;min-width:250px;max-width:350px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 16px #0003;padding:12px;font-size:13px;line-height:1.4;z-index:9999;pointer-events:auto;animation:tooltipFadeIn .2s ease;max-height:300px!important;overflow-y:auto!important;overflow-x:hidden}.paragraph-anchor-tooltip::-webkit-scrollbar{width:6px}.paragraph-anchor-tooltip::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.paragraph-anchor-tooltip::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.paragraph-anchor-tooltip::-webkit-scrollbar-thumb:hover{background:#555}.paragraph-anchor-tooltip--bottom{top:100%!important;bottom:auto!important;left:12px;margin-top:4px}.paragraph-anchor-tooltip--top{bottom:100%!important;top:auto!important;left:12px;margin-bottom:4px}.paragraph-anchor-tooltip-relationship:hover{background:#e8eef5;transform:translate(2px);box-shadow:0 2px 4px #0000001a}.paragraph-anchor-tooltip-relationship:active{transform:translate(1px)}.relationship-type-background{border-left-color:#9333ea!important}.relationship-type-elaboration{border-left-color:#dc2626!important}.paragraph-anchor-tooltip-relationship:not(.relationship-type-background):not(.relationship-type-elaboration){border-left-color:#4a90e2}.relationship-type-badge-background{background:linear-gradient(135deg,#a855f7,#7c3aed)!important}.relationship-type-badge-elaboration{background:linear-gradient(135deg,#ef4444,#dc2626)!important}.relationship-type-badge:not(.relationship-type-badge-background):not(.relationship-type-badge-elaboration){background:linear-gradient(135deg,#4a90e2,#357abd)}.paragraph-anchor:focus{outline:2px solid #4a90e2;outline-offset:2px;border-radius:2px}.paragraph-anchor:focus:not(:focus-visible){outline:none}.paragraph-selected-indicator{position:absolute;width:4px;height:60px;background:linear-gradient(135deg,#10b981,#059669);border-radius:2px;pointer-events:none;z-index:145;box-shadow:0 0 8px #10b98180;animation:highlightPulse 3s ease-in-out}@keyframes highlightPulse{0%{opacity:0;transform:scaleY(.5)}10%{opacity:1;transform:scaleY(1)}70%{opacity:1;transform:scaleY(1)}to{opacity:1;transform:scaleY(1)}}.paragraph-anchors-layer{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:5}.paragraph-anchor-wrapper{position:absolute;pointer-events:auto}.paragraph-highlight{position:absolute;width:4px;height:60px;background:linear-gradient(135deg,gold,orange);border-radius:2px;pointer-events:none;z-index:146;box-shadow:0 0 8px #ffd70080;animation:highlightPulse 3s ease-in-out}@keyframes highlightPulse{0%{opacity:0;transform:scaleY(.5)}10%{opacity:1;transform:scaleY(1)}}.paragraph-jump-indicator{position:absolute;pointer-events:none;z-index:100;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.jump-indicator-arrow{position:relative;z-index:2}.paragraph-jump-indicator.target .jump-indicator-arrow{color:#f59e0b;filter:drop-shadow(0 2px 4px rgba(245,158,11,.4))}.paragraph-jump-indicator.source .jump-indicator-arrow{color:#10b981;filter:drop-shadow(0 2px 4px rgba(16,185,129,.4))}.paragraph-jump-indicator.animating .jump-indicator-arrow{animation:arrowBounce .6s ease-in-out infinite}.paragraph-jump-indicator.fading .jump-indicator-arrow{animation:fadeOut .5s ease-out forwards}.jump-indicator-pulse{position:absolute;width:70px;height:70px;border-radius:50%;z-index:1}.paragraph-jump-indicator.target .jump-indicator-pulse{background:radial-gradient(circle,#f59e0b66,#f59e0b00 70%)}.paragraph-jump-indicator.source .jump-indicator-pulse{background:radial-gradient(circle,#10b98166,#10b98100 70%)}.paragraph-jump-indicator.animating .jump-indicator-pulse{animation:pulse 1.5s ease-out infinite}.paragraph-jump-indicator.fading .jump-indicator-pulse{animation:fadeOut .5s ease-out forwards}@keyframes arrowBounce{0%,to{transform:translate(0)}50%{transform:translate(8px)}}@keyframes pulse{0%{transform:scale(.8);opacity:1}to{transform:scale(2);opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.pdf-reader-layout{display:flex;flex-direction:column;height:calc(100vh - 72px);width:100vw;overflow:hidden;background-color:var(--color-background-primary, #ffffff)}.pdf-reader-layout.fullscreen{height:100vh}.pdf-reader-content{display:flex;flex:1;overflow:hidden;min-width:0}.pdf-reader-column{display:flex;flex-direction:column;overflow:hidden;min-width:0}.pdf-reader-left{flex-shrink:0;overflow:hidden}.pdf-reader-center{flex:1;background-color:#525659;position:relative;overflow:hidden;min-width:0}.pdf-reader-right{flex-shrink:0;overflow:hidden}.pdf-viewer-container{height:100%;width:100%;overflow:auto;position:relative;min-width:0}.rpv-core__viewer{background-color:#525659}.rpv-core__inner-page{background-color:#fff;box-shadow:0 2px 8px #0003}.rpv-core__toolbar{display:none}@media (max-width: 768px){.pdf-reader-layout{height:calc(100vh - 64px)}.pdf-reader-content{flex-direction:column}.pdf-reader-left,.pdf-reader-right{width:100%!important;height:200px}.pdf-reader-center{flex:1}.resize-handle{display:none}}.pdf-viewer-loading,.pdf-viewer-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;width:100vw;background-color:var(--color-background-primary, #ffffff)}.pdf-viewer-loading p,.pdf-viewer-error p{margin-top:1rem;font-size:1rem;color:var(--color-text-secondary, #666666)}.pdf-viewer-error h2{margin:0 0 .5rem;font-size:1.5rem;color:var(--color-text-primary, #1a1a1a)}.loading-spinner{width:48px;height:48px;border:4px solid var(--color-border, #e0e0e0);border-top-color:var(--color-primary, #1976d2);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.account-screen{background:linear-gradient(135deg,#f8fafc,#f1f5f9);width:100%;min-height:100vh;padding:40px 60px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;animation:fadeIn .5s ease-in}.account-screen h1{font-family:Inter,sans-serif;font-size:42px;font-weight:800;line-height:1.2;color:#1a1a1a;margin:0 0 8px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-align:center}.profile-subtitle{color:#6b7280;font-size:16px;margin-bottom:32px;font-weight:400;text-align:center}.account-section{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-section .profile-card:first-child{grid-column:1 / -1}.profile-card{background:#fff;border-radius:12px;padding:28px;box-shadow:0 1px 3px #0000001a;transition:all .3s ease;position:relative;overflow:hidden}.profile-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);opacity:0;transition:opacity .3s ease}.profile-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.profile-card:hover:before{opacity:1}.email-section{margin-bottom:0}.email-title{font-family:Inter,sans-serif;font-size:18px;font-weight:700;color:#1a1a1a;margin:0 0 16px;display:flex;align-items:center;gap:10px}.email-title:before{content:"";display:inline-block;width:20px;height:20px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z'/%3E%3Cpath d='M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z'/%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z'/%3E%3Cpath d='M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z'/%3E%3C/svg%3E") no-repeat center}.email-container{display:flex;align-items:center;gap:12px}.email-address{font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:16px;font-weight:500;color:#374151;margin:0;padding:14px 18px;background:linear-gradient(135deg,#f8f9ff,#f3f4f6);border-radius:8px;border:2px solid #e5e7eb;flex:1;transition:all .3s ease}.email-address:hover{border-color:#667eea;background:#fff}.copy-email-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;padding:12px;cursor:pointer;font-size:16px;transition:all .3s ease;width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 2px 4px #667eea33}.copy-email-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.copy-email-button:active{transform:translateY(0)}.password-section{margin-bottom:0}.password-header{margin-bottom:20px}.password-title{font-family:Inter,sans-serif;font-size:18px;font-weight:700;color:#1a1a1a;margin:0 0 4px;display:flex;align-items:center;gap:10px}.password-title:before{content:"";display:inline-block;width:20px;height:20px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-mask:url("data:image/svg+xml,%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%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%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%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") no-repeat center}.password-subtitle{font-family:Inter,sans-serif;font-size:14px;font-weight:400;color:#6b7280;margin:0}.password-form{display:flex;flex-direction:column;gap:20px}.password-input{width:100%;max-width:400px;height:52px;padding:0 16px;background-color:#fff;border:2px solid #e5e7eb;border-radius:12px;font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#1f2937;box-sizing:border-box;transition:all .2s ease}.password-input::placeholder{color:#9ca3af}.password-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;background-color:#fefeff}.password-input:disabled{opacity:.6;cursor:not-allowed;background-color:#f9fafb}.password-submit{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-family:Inter,sans-serif;font-size:14px;font-weight:600;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;width:fit-content;transition:all .3s ease;box-shadow:0 2px 4px #667eea33}.password-submit:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.password-submit:disabled{background:#d1d5db;cursor:not-allowed;transform:none;box-shadow:none}.deletion-section{margin-bottom:0}.deletion-header{margin-bottom:20px}.deletion-title{font-family:Inter,sans-serif;font-size:18px;font-weight:700;color:#1a1a1a;margin:0 0 4px;display:flex;align-items:center;gap:10px}.deletion-title:before{content:"";display:inline-block;width:20px;height:20px;background:#ef4444;-webkit-mask:url("data:image/svg+xml,%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='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%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='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E") no-repeat center}.deletion-subtitle{font-family:Inter,sans-serif;font-size:14px;font-weight:400;color:#6b7280;margin:0}.deletion-button{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-family:Inter,sans-serif;font-size:14px;font-weight:600;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;width:fit-content;transition:all .3s ease;box-shadow:0 2px 4px #ef444433}.deletion-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ef44444d}.deletion-button:disabled{background:#d1d5db;cursor:not-allowed;transform:none;box-shadow:none}.google-managed-container{max-width:400px}.google-managed-message{display:flex;align-items:center;gap:12px;padding:16px 20px;background:linear-gradient(135deg,#f8f9ff,#eef2ff);border:2px solid rgba(74,144,226,.2);border-radius:12px;margin-bottom:16px}.google-managed-icon{width:24px;height:24px;flex-shrink:0}.google-managed-text{font-family:Inter,sans-serif;font-size:16px;font-weight:600;color:#1e40af;margin:0}.google-managed-description{font-family:Inter,sans-serif;font-size:14px;font-weight:400;color:#6b7280;line-height:1.6;margin:0;text-align:left}.error-message{font-family:Inter,sans-serif;font-size:14px;font-weight:500;color:#ef4444;margin:0;padding:12px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:8px;display:flex;align-items:center;gap:8px}.error-message:before{content:"❌";font-size:14px}.success-message{font-family:Inter,sans-serif;font-size:16px;font-weight:500;color:#10b981;margin:0;padding:12px 16px;background:#10b9811a;border:1px solid rgba(16,185,129,.2);border-radius:8px;display:flex;flex-direction:column;align-items:center}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.modal-content{background-color:#fff;border-radius:20px;padding:32px;max-width:480px;width:100%;margin:16px;box-shadow:0 20px 50px #00000026;border:1px solid rgba(255,255,255,.2);animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-title{font-family:Inter,sans-serif;font-size:24px;font-weight:700;color:#1a1a1a;margin:0 0 12px;display:flex;align-items:center;gap:12px}.modal-title:before{content:"⚠️";font-size:24px}.modal-message{font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#4b5563;margin:0 0 32px;line-height:1.6}.modal-buttons{display:flex;gap:16px;justify-content:flex-end}.modal-button-cancel{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;font-family:Inter,sans-serif;font-size:14px;font-weight:600;padding:12px 20px;cursor:pointer;border-radius:12px;transition:all .2s ease}.modal-button-cancel:hover{background:#e5e7eb;transform:translateY(-1px)}.modal-button-confirm{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-family:Inter,sans-serif;font-size:14px;font-weight:600;padding:12px 24px;border:none;border-radius:12px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #ef444440}.modal-button-confirm:hover{transform:translateY(-1px);box-shadow:0 4px 16px #ef444459;background:linear-gradient(135deg,#dc2626,#b91c1c)}@media (max-width: 1200px){.account-screen{padding:32px 40px}.account-screen h1{font-size:36px}}@media (max-width: 992px){.account-section{grid-template-columns:1fr}.account-section .profile-card:first-child{grid-column:1}}@media (max-width: 768px){.account-screen{padding:24px 20px}.account-screen h1{font-size:32px}.account-section{gap:20px}.profile-card{padding:20px}.modal-content{padding:24px}.modal-buttons{flex-direction:column-reverse}.modal-button-cancel,.modal-button-confirm{width:100%;justify-content:center}}@media (max-width: 480px){.account-screen h1{font-size:28px}}.about-screen{background:linear-gradient(135deg,#f8fafc,#f1f5f9);width:100%;min-height:100vh;padding:40px 60px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;animation:fadeIn .5s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.about-screen h1{font-family:Inter,sans-serif;font-size:42px;font-weight:800;line-height:1.2;color:#1a1a1a;margin:0 0 8px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-align:center}.about-subtitle{color:#6b7280;font-size:16px;margin-bottom:32px;font-weight:400;text-align:center}.about-container{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:32px}.about-section{background:#fff;border-radius:12px;padding:36px;box-shadow:0 1px 3px #0000001a;transition:all .3s ease}.about-section:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.about-text{font-family:Inter,sans-serif;font-size:17px;font-weight:400;line-height:1.8;color:#374151;margin:0 0 32px;text-align:left}.team-section{background:linear-gradient(135deg,#f8f9ff,#eef2ff);border-radius:12px;padding:28px;margin-top:32px;border:2px solid rgba(102,126,234,.2);box-shadow:0 2px 8px #667eea1a}.team-section-title{font-family:Inter,sans-serif;font-size:18px;font-weight:700;color:#1a1a1a;margin:0 0 16px;display:flex;align-items:center;gap:10px}.team-section-title:before{content:"";display:inline-block;width:20px;height:20px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M9 6a3 3 0 11-6 0 3 3 0 016 0zM17 6a3 3 0 11-6 0 3 3 0 016 0zM12.93 17c.046-.327.07-.66.07-1a6.97 6.97 0 00-1.5-4.33A5 5 0 0119 16v1h-6.07zM6 11a5 5 0 015 5v1H1v-1a5 5 0 015-5z'/%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M9 6a3 3 0 11-6 0 3 3 0 016 0zM17 6a3 3 0 11-6 0 3 3 0 016 0zM12.93 17c.046-.327.07-.66.07-1a6.97 6.97 0 00-1.5-4.33A5 5 0 0119 16v1h-6.07zM6 11a5 5 0 015 5v1H1v-1a5 5 0 015-5z'/%3E%3C/svg%3E") no-repeat center}.team-info{font-family:Inter,sans-serif;font-size:16px;font-weight:400;color:#4b5563;margin:0 0 16px;display:flex;align-items:flex-start;gap:12px;padding:12px;background:#fff;border-radius:8px;transition:all .3s ease}.team-info:hover{box-shadow:0 2px 8px #667eea1a}.team-info:last-child{margin-bottom:0}.team-label{font-weight:700;color:#667eea;min-width:80px;flex-shrink:0}.team-members{color:#374151;font-weight:400;flex:1}.team-link{color:#667eea;text-decoration:none;font-weight:500;transition:all .2s ease;border-bottom:1px solid transparent}.team-link:hover{color:#764ba2;border-bottom-color:#764ba2;text-decoration:none}.team-link:active{color:#5a3a7d}.mentor-name{color:#667eea;font-weight:500}.mentor-link{color:#667eea;text-decoration:none;font-weight:500;transition:all .2s ease;border-bottom:1px solid transparent}.mentor-link:hover{color:#764ba2;border-bottom-color:#764ba2;text-decoration:none}.mentor-link:active{color:#5a3a7d}.bold-text{font-weight:600;color:#667eea;padding:2px 6px;background:#667eea1a;border-radius:4px}.how-to-section{margin-top:32px}.how-to-title{font-family:Inter,sans-serif;font-size:22px;font-weight:700;color:#1a1a1a;margin:0 0 20px;display:flex;align-items:center;gap:10px}.how-to-title:before{content:"";display:inline-block;width:22px;height:22px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-mask:url("data:image/svg+xml,%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%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") no-repeat center;mask:url("data:image/svg+xml,%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%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") no-repeat center}.simple-how-to-list{list-style-type:disc;list-style-position:outside;margin:0;padding-left:28px}.simple-how-to-item{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1.6;color:#374151;margin-bottom:16px;padding-left:8px}.simple-how-to-item::marker{color:#667eea;font-size:1.2em}.simple-how-to-item:last-child{margin-bottom:0}.how-to-content{display:flex;flex-direction:column;gap:8px}.how-to-text{color:#1f2937;font-weight:500}.how-to-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.how-to-icons{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.icon-badge{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,#f8f9ff,#eef2ff);border-radius:6px;border:1px solid rgba(102,126,234,.2);box-shadow:0 1px #fff inset,0 2px 4px #0000001a,0 1px 2px #0000000f}.toolbar-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;filter:grayscale(0%) brightness(.4)}.how-to-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 12px;min-width:40px;min-height:36px;background:linear-gradient(180deg,#fff,#f3f4f6);color:#1f2937;border-radius:6px;border:1px solid #d1d5db;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:16px;font-weight:600;box-shadow:0 1px #fff inset,0 2px 4px #0000001a,0 1px 2px #0000000f}.anchor-example{margin-top:16px;padding:28px;background:linear-gradient(135deg,#f8f9ff,#eef2ff);border-radius:12px;border:2px solid rgba(102,126,234,.2);box-shadow:0 2px 8px #667eea1a;position:relative}.example-caption{font-family:Inter,sans-serif;font-size:13px;font-weight:600;color:#667eea;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(102,126,234,.15);font-style:italic;letter-spacing:.2px}.paragraph-with-anchor{position:relative;margin-bottom:12px}.anchor-paragraph{font-family:Inter,sans-serif;font-size:15px;line-height:1.6;color:#374151;margin:0;padding-left:24px}.paragraph-anchor{position:absolute;top:4px;left:4px;cursor:pointer;z-index:10}.paragraph-anchor-marker{width:14px;height:18px;background:linear-gradient(160deg,#35f 20%,#f03 90%);border-radius:2px;opacity:.4;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.paragraph-anchor:hover .paragraph-anchor-marker{opacity:.8;width:13px;height:17px;box-shadow:0 2px 6px #4a90e24d}.paragraph-anchor:hover .paragraph-anchor-tooltip{opacity:1;visibility:visible}.paragraph-anchor-tooltip:hover{opacity:1!important;visibility:visible!important}.paragraph-anchor .paragraph-anchor-marker,.inline-paragraph-anchor .paragraph-anchor-marker{transition:all .2s ease}.inline-paragraph-anchor{position:relative;display:inline-block;margin:0 4px;vertical-align:baseline}.paragraph-anchor-tooltip{position:absolute;top:-8px;left:20px;min-width:280px;max-width:350px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 16px #0003;padding:12px;font-size:13px;line-height:1.4;z-index:9999;opacity:0;visibility:hidden;pointer-events:auto;transition:all .2s ease;animation:tooltipFadeIn .2s ease}.paragraph-anchor:hover .paragraph-anchor-tooltip,.inline-paragraph-anchor:hover .paragraph-anchor-tooltip{opacity:1;visibility:visible}@keyframes tooltipFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.paragraph-anchor-tooltip-header{color:#2c3e50;margin-bottom:8px;font-size:13px;padding-bottom:8px;border-bottom:1px solid #e8e8e8}.paragraph-anchor-tooltip-header strong{font-weight:600}.paragraph-anchor-tooltip-relationships{display:flex;flex-direction:column;gap:10px}.paragraph-anchor-tooltip-relationship{background:#f8f9fa;padding:8px 10px;border-radius:6px;border-left:3px solid #4a90e2;cursor:pointer;transition:all .2s ease}.relationship-type-background{border-left-color:#9333ea}.relationship-type-badge{display:inline-block;background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.relationship-type-badge-background{background:linear-gradient(135deg,#a855f7,#7c3aed)}.relationship-target{color:#2c3e50;font-weight:500;font-size:11px;margin-bottom:4px}.relationship-justification{color:#666;font-size:11px;line-height:1.4;font-style:italic}.anchor-screenshot-container{display:flex;justify-content:center;margin-top:16px;padding:12px;background:#ffffff80;border-radius:8px;border:1px solid rgba(102,126,234,.1)}.anchor-image{max-width:300px;max-height:200px;width:auto;height:auto;border-radius:4px;box-shadow:0 4px 12px #00000026;border:1px solid #e5e7eb}@media (max-width: 1200px){.about-screen{padding:32px 40px}.about-screen h1{font-size:36px}}@media (max-width: 768px){.about-screen{padding:24px 20px}.about-screen h1{font-size:32px}.about-container{gap:24px}.about-section{padding:24px}.simple-how-to-item{font-size:15px}.team-section{padding:20px}}@media (max-width: 480px){.about-screen h1{font-size:28px}}@font-face{font-family:Inter;src:url(/assets/fonts/Inter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(/assets/fonts/Inter-Bold.ttf) format("truetype");font-weight:700;font-style:normal}:root{--color-black: #000000;--color-white: #ffffff;--color-black-900: #1a1a1a;--color-black-800: #333333;--color-black-700: #4d4d4d;--color-black-600: #666666;--color-black-500: #808080;--color-black-100: #e5e5e5;--color-black-50: #f2f2f2;--color-system-blue: #007aff;--color-hyperlink: #1485e1;--color-border-primary: #d3d3d3;--color-primary: #007aff;--font-family-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-family-roboto: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-size-sm: 16px;--font-size-md: 18px;--font-size-xl: 24px;--font-size-2xl: 32px;--font-size-micro: 12px;--line-height-sm: 24px;--line-height-md: 32px;--line-height-lg: 40px;--line-height-micro: 20px;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-bold: 700;--spacing-1: 4px;--spacing-2: 8px;--spacing-3: 12px;--spacing-4: 16px;--spacing-6: 24px;--spacing-8: 32px;--spacing-12: 48px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{font-family:var(--font-family-inter);line-height:1.6;color:#333;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-header{flex-shrink:0}.app-main{flex:1}.library-screen,.pdf-viewer-screen,.profile-screen{padding:var(--spacing-lg)}.signup-screen,.login-screen,.password-reset-screen{padding:0}button{font-family:inherit;cursor:pointer}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}.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}
