@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap);body{-moz-osx-font-smoothing:grayscale;padding:0}#root{height:100vh;isolation:isolate}:root{--font-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-mono:"IBM Plex Mono",monospace;--bg-app:#f5f5f7;--bg-surface:#fff;--bg-panel:#fbfbfd;--border-subtle:#0000000f;--border-focus:#0000001f;--text-primary:#1d1d1f;--text-secondary:#86868b;--text-tertiary:#a1a1a6;--accent-color:#0071e3;--accent-hover:#0077ed;--accent-subtle:#0071e31a;--shadow-sm:0 1px 2px #0000000a;--shadow-md:0 4px 12px #00000014;--shadow-lg:0 12px 24px #0000001f;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--header-height:60px}.reader-app.theme-sepia{--bg-app:#f4ecd8;--bg-surface:#f8f1e3;--bg-panel:#fdf8eb;--border-subtle:#5c452d14;--text-primary:#433422;--text-secondary:#7e6a55;--accent-color:#a07d5a;--accent-subtle:#a07d5a26}.reader-app.theme-dark{--bg-app:#1c1c1e;--bg-surface:#2c2c2e;--bg-panel:#242426;--border-subtle:#ffffff1a;--border-focus:#fff3;--text-primary:#f5f5f7;--text-secondary:#a1a1a6;--text-tertiary:#6e6e73;--accent-color:#2997ff;--accent-subtle:#2997ff26;--shadow-sm:0 1px 2px #0000004d;--shadow-md:0 4px 12px #0006}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-sans);margin:0}.reader-app{background:#f5f5f7;background:var(--bg-app);color:#1d1d1f;color:var(--text-primary);display:flex;flex-direction:column;height:100vh;transition:background .3s ease,color .3s ease}.reader-toolbar{align-items:center;background:#fff;background:var(--bg-surface);border-bottom:1px solid #0000000f;border-bottom:1px solid var(--border-subtle);box-shadow:0 1px 2px #0000000a;box-shadow:var(--shadow-sm);display:flex;height:60px;height:var(--header-height);justify-content:space-between;padding:0 24px;z-index:20}.brand{align-items:baseline;display:flex;gap:8px}.brand-title{font-size:18px;font-weight:600;letter-spacing:-.02em}.brand-subtitle{color:#86868b;color:var(--text-secondary);font-size:12px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.toolbar-actions{align-items:center;display:flex;gap:16px}.control-group{align-items:center;background:#fbfbfd;background:var(--bg-panel);border:1px solid #0000000f;border:1px solid var(--border-subtle);border-radius:8px;border-radius:var(--radius-sm);color:#86868b;color:var(--text-secondary);display:flex;font-size:13px;gap:12px;height:36px;padding:0 12px}.control-group span{white-space:nowrap}.control-group input,.control-group select{background:#0000;border:none;color:#1d1d1f;color:var(--text-primary);cursor:pointer;font-family:inherit;font-size:13px;outline:none}.file-picker{align-items:center;background:#0071e3;background:var(--accent-color);border-radius:99px;color:#fff;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;padding:8px 16px;transition:opacity .2s}.file-picker:hover{opacity:.9}.file-picker input{display:none}.reader-body{display:flex;flex:1 1;overflow:hidden;position:relative}.toc-panel{background:#fbfbfd;background:var(--bg-panel);border-right:1px solid #0000000f;border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;flex-shrink:0;transition:transform .3s ease;width:280px}.toc-header{border-bottom:1px solid #0000000f;border-bottom:1px solid var(--border-subtle);color:#86868b;color:var(--text-secondary);display:flex;font-size:13px;font-weight:600;justify-content:space-between;letter-spacing:.05em;padding:16px 20px;text-transform:uppercase}.toc-scroll{flex:1 1;overflow-y:auto;padding:12px}.toc-list{display:flex;flex-direction:column;gap:2px}.toc-item{align-items:baseline;background:#0000;border:none;border-radius:6px;color:#86868b;color:var(--text-secondary);cursor:pointer;display:flex;font-size:14px;gap:8px;line-height:1.4;padding:8px 12px;text-align:left;transition:all .15s ease;width:100%}.toc-item:hover{background:#0000000f;background:var(--border-subtle);color:#1d1d1f;color:var(--text-primary)}.toc-item.is-active{background:#0071e31a;background:var(--accent-subtle);color:#0071e3;color:var(--accent-color);font-weight:500}.toc-item .toc-index{flex-shrink:0;font-family:IBM Plex Mono,monospace;font-family:var(--font-mono);font-size:11px;opacity:.6;text-align:right;width:20px}.toc-item .toc-text{display:flex;flex:1 1;flex-direction:column}.toc-meta{font-size:11px;margin-top:2px;opacity:.6}.reader-panel{background:#f5f5f7;background:var(--bg-app);display:flex;flex:1 1;flex-direction:column;overflow:hidden;position:relative}.reader-status{border-bottom:1px solid #0000;color:#a1a1a6;color:var(--text-tertiary);font-size:13px;justify-content:space-between;padding:12px 32px}.reader-status,.status-row{align-items:center;display:flex}.status-row{gap:16px}.file-name{color:#86868b;color:var(--text-secondary);font-weight:500;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-control{align-items:center;display:flex;gap:12px}.progress-control input[type=range]{-webkit-appearance:none;appearance:none;background:#0000001f;background:var(--border-focus);border-radius:2px;height:4px;width:200px}.progress-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#86868b;background:var(--text-secondary);border-radius:50%;cursor:pointer;height:12px;-webkit-transition:transform .1s;transition:transform .1s;width:12px}.progress-control input[type=range]::-webkit-slider-thumb:hover{background:#0071e3;background:var(--accent-color);transform:scale(1.2)}.viewer-surface{background:#fff;background:var(--bg-surface);box-shadow:0 12px 24px #0000001f;box-shadow:var(--shadow-lg);display:flex;flex:1 1;flex-direction:column;height:100%;margin:0 auto;max-width:1000px;position:relative;width:100%}.viewer-surface iframe{border:none;flex:1 1;height:100%!important;width:100%!important}.empty-state{align-items:center;color:#a1a1a6;color:var(--text-tertiary);flex-direction:column;inset:0;justify-content:center}.empty-state,.reader-controls{display:flex;gap:12px;position:absolute}.reader-controls{bottom:24px;left:50%;opacity:0;transform:translateX(-50%);transition:opacity .3s;z-index:10}.reader-panel:hover .reader-controls{opacity:1}.reader-controls button{background:#fff;background:var(--bg-surface);border:1px solid #0000001f;border:1px solid var(--border-focus);border-radius:99px;box-shadow:0 4px 12px #00000014;box-shadow:var(--shadow-md);color:#1d1d1f;color:var(--text-primary);cursor:pointer;font-size:14px;font-weight:500;padding:8px 20px;transition:all .2s}.reader-controls button:hover:not(:disabled){box-shadow:0 12px 24px #0000001f;box-shadow:var(--shadow-lg);color:#0071e3;color:var(--accent-color);transform:translateY(-2px)}.reader-controls button:disabled{cursor:default;opacity:.5}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#0000}::-webkit-scrollbar-thumb{background:#0000001f;background:var(--border-focus);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a1a1a6;background:var(--text-tertiary)}@media (max-width:900px){.toc-panel{display:none}.viewer-surface{box-shadow:none;max-width:100%}}@media (max-width:600px){.reader-toolbar{flex-direction:column;gap:12px;height:auto;padding:12px}.toolbar-actions{overflow-x:auto;padding-bottom:4px;width:100%}.reader-status{display:none}}
/*# sourceMappingURL=main.046b9b9e.css.map*/