.rdv-viewer{--rdv-border-radius:8px;--rdv-background:#525659;--rdv-min-height:400px;--rdv-height:80vh;--rdv-max-height:90vh;--rdv-shadow:0 4px 20px #00000026;--rdv-stable-width:auto;--rdv-stable-height:auto;--rdv-toolbar-bg:#323639;--rdv-toolbar-border:#1a1a1a;--rdv-toolbar-height:auto;--rdv-toolbar-padding:.5rem 1rem;--rdv-btn-bg:#474c50;--rdv-btn-bg-hover:#5a6066;--rdv-btn-color:#d4d4d4;--rdv-btn-radius:4px;--rdv-btn-disabled-opacity:.4;--rdv-input-bg:#474c50;--rdv-input-color:#d4d4d4;--rdv-input-muted:#9ca3af;--rdv-separator-color:#555;--rdv-message-color:#9ca3af;--rdv-error-color:#ef4444;--rdv-highlight-color:#fef08a;--rdv-modal-overlay:#0009;--rdv-modal-bg:#fff;--rdv-modal-radius:12px;--rdv-modal-shadow:0 20px 60px #0000004d;--rdv-modal-border:#e5e7eb;--rdv-modal-title-color:#1f2937;--rdv-modal-text-color:#4b5563;--rdv-modal-muted-color:#6b7280;--rdv-modal-section-bg:#f3f4f6;--rdv-modal-section-bg-hover:#e5e7eb;--rdv-modal-advanced-bg:#f9fafb;--rdv-modal-input-border:#d1d5db;--rdv-modal-input-focus:#3b82f6;--rdv-modal-btn-bg:#3b82f6;--rdv-modal-btn-bg-hover:#2563eb;height:var(--rdv-height);min-height:var(--rdv-min-height);max-height:var(--rdv-max-height);border-radius:var(--rdv-border-radius);background:var(--rdv-background);box-shadow:var(--rdv-shadow);flex-direction:column;display:flex;overflow:hidden}.rdv-viewer [data-move-source=true],.rdv-viewer [data-revision-type=deleted],.rdv-viewer del{-webkit-user-select:none;-moz-user-select:none;user-select:none}.rdv-toolbar{padding:var(--rdv-toolbar-padding);background:var(--rdv-toolbar-bg);border-bottom:1px solid var(--rdv-toolbar-border);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.rdv-toolbar-left,.rdv-toolbar-right{align-items:center;gap:.375rem;display:flex}.rdv-toolbar-btn{background:var(--rdv-btn-bg);color:var(--rdv-btn-color);border-radius:var(--rdv-btn-radius);cursor:pointer;border:none;min-width:32px;padding:.4rem .7rem;font-size:.9rem;font-weight:700;transition:background .2s,color .2s}.rdv-toolbar-btn:hover:not(:disabled){background:var(--rdv-btn-bg-hover)}.rdv-toolbar-btn:disabled{opacity:var(--rdv-btn-disabled-opacity);cursor:not-allowed}.rdv-toolbar-icon-btn{justify-content:center;align-items:center;width:32px;min-width:32px;height:32px;padding:0;line-height:1;display:inline-flex}.rdv-toolbar-icon-btn svg{display:block}.rdv-toolbar-icon-btn--primary{background:var(--rdv-btn-primary-bg,#3b82f6);color:var(--rdv-btn-primary-color,#fff)}.rdv-toolbar-icon-btn--primary:hover:not(:disabled){background:var(--rdv-btn-primary-bg-hover,#2563eb)}.rdv-toolbar-open-btn{cursor:pointer}.rdv-toolbar-filename{color:var(--rdv-btn-color);text-overflow:ellipsis;white-space:nowrap;opacity:.85;max-width:180px;font-size:.8rem;overflow:hidden}.rdv-toolbar-clear{font-size:1.15rem}.rdv-toolbar-settings{font-size:1.05rem}.rdv-page-input-group{background:var(--rdv-input-bg);border-radius:var(--rdv-btn-radius);align-items:center;gap:.25rem;padding:0 .5rem;display:flex}.rdv-page-input{width:50px;color:var(--rdv-input-color);text-align:center;-moz-appearance:textfield;background:0 0;border:none;padding:.4rem 0;font-size:.9rem}.rdv-page-input::-webkit-inner-spin-button,.rdv-page-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rdv-page-input:focus{outline:none}.rdv-page-total{color:var(--rdv-input-muted);font-size:.9rem}.rdv-toolbar-separator{background:var(--rdv-separator-color);width:1px;height:24px;margin:0 .25rem}.rdv-zoom-group{background:var(--rdv-btn-bg);border-radius:var(--rdv-btn-radius);align-items:center;display:flex;overflow:hidden}.rdv-zoom-group .rdv-zoom-btn{background:0 0;border-radius:0;width:28px;min-width:28px;height:30px}.rdv-zoom-group .rdv-zoom-btn:hover:not(:disabled){background:var(--rdv-btn-bg-hover)}.rdv-zoom-select{color:var(--rdv-btn-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;-moz-text-align-last:center;text-align-last:center;background:0 0;border:none;border-radius:0;padding:.3rem .5rem .3rem .35rem;font-size:.85rem}.rdv-zoom-select:focus{outline:none}.rdv-zoom-select:hover{background:var(--rdv-btn-bg-hover)}.rdv-file-input{display:none}.rdv-content{contain:strict;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.rdv-pages{scroll-behavior:smooth;contain:layout style;min-height:0;width:var(--rdv-stable-width,100%);flex:1;max-width:100%;overflow:auto}.rdv-pages__stable-wrapper{flex-direction:column;align-items:center;min-height:100%;display:flex}.rdv-paginated-document{color:#000;-webkit-text-fill-color:initial;min-height:100%}.rdv-paginated-document *{-webkit-text-fill-color:inherit}.rdv-message{height:100%;min-height:300px;color:var(--rdv-message-color);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:2rem;display:flex}.rdv-message--error{color:var(--rdv-error-color)}.rdv-message__icon{opacity:.5;margin-bottom:1rem;font-size:4rem}.rdv-message p{margin:.5rem 0;font-size:1rem}.rdv-spinner{border:4px solid #fff3;border-top:4px solid var(--rdv-btn-color);border-radius:50%;width:40px;height:40px;animation:rdv-spin 1s linear infinite}@keyframes rdv-spin{to{transform:rotate(1turn)}}.rdv-footnote-highlight{animation:rdv-highlight-pulse 2s ease-out}@keyframes rdv-highlight-pulse{0%{background-color:var(--rdv-highlight-color);box-shadow:0 0 10px var(--rdv-highlight-color)}to{box-shadow:none;background-color:#0000}}.rdv-settings-overlay{background:var(--rdv-modal-overlay);z-index:1000;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.rdv-settings-modal{background:var(--rdv-modal-bg);border-radius:var(--rdv-modal-radius);width:100%;max-width:500px;max-height:80vh;box-shadow:var(--rdv-modal-shadow);flex-direction:column;display:flex}.rdv-settings-header{border-bottom:1px solid var(--rdv-modal-border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.rdv-settings-header h3{color:var(--rdv-modal-title-color);margin:0;font-size:1.25rem}.rdv-settings-close{color:var(--rdv-modal-muted-color);cursor:pointer;background:0 0;border:none;padding:0;font-size:1.5rem;line-height:1}.rdv-settings-close:hover{color:var(--rdv-modal-title-color)}.rdv-settings-body{flex:1;padding:1rem 1.5rem;overflow-y:auto}.rdv-settings-section{margin-bottom:1.5rem}.rdv-settings-section:last-child{margin-bottom:0}.rdv-settings-section h4{color:#374151;text-transform:uppercase;letter-spacing:.5px;margin:0 0 .75rem;font-size:.9rem;font-weight:600}.rdv-settings-checkbox{cursor:pointer;align-items:center;gap:.75rem;padding:.5rem 0;display:flex}.rdv-settings-checkbox input{cursor:pointer;width:18px;height:18px}.rdv-settings-checkbox span{color:var(--rdv-modal-text-color);font-size:.95rem}.rdv-settings-radio-group{flex-wrap:wrap;gap:.5rem;display:flex}.rdv-settings-radio{background:var(--rdv-modal-section-bg);cursor:pointer;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem .75rem;transition:background .2s;display:flex}.rdv-settings-radio:hover{background:var(--rdv-modal-section-bg-hover)}.rdv-settings-radio input{cursor:pointer}.rdv-settings-radio span{color:var(--rdv-modal-text-color);font-size:.9rem}.rdv-settings-subsection{border-left:2px solid var(--rdv-modal-border);margin-left:1.5rem;padding-left:1rem}.rdv-settings-hint{color:var(--rdv-modal-muted-color);margin:.25rem 0 .75rem;padding-left:1.75rem;font-size:.8rem;line-height:1.4}.rdv-settings-input-label{flex-direction:column;gap:.35rem;margin-top:.75rem;display:flex}.rdv-settings-input-label span,.rdv-settings-text-input{color:var(--rdv-modal-text-color);font-size:.9rem}.rdv-settings-text-input{border:1px solid var(--rdv-modal-input-border);background:var(--rdv-modal-section-bg);border-radius:6px;padding:.5rem .75rem}.rdv-settings-text-input:focus{border-color:var(--rdv-modal-input-focus);outline:none;box-shadow:0 0 0 2px #3b82f633}.rdv-settings-text-input::-moz-placeholder{color:var(--rdv-modal-muted-color)}.rdv-settings-text-input::placeholder{color:var(--rdv-modal-muted-color)}.rdv-settings-toggle-advanced{color:var(--rdv-modal-muted-color);cursor:pointer;background:0 0;border:none;align-items:center;gap:.5rem;padding:.5rem 0;font-size:.9rem;display:flex}.rdv-settings-toggle-advanced:hover{color:#374151}.rdv-settings-advanced{background:var(--rdv-modal-advanced-bg);border-radius:8px;margin-top:1rem;padding:1rem}.rdv-settings-field{margin-bottom:1rem}.rdv-settings-field:last-child{margin-bottom:0}.rdv-settings-field label{color:var(--rdv-modal-muted-color);margin-bottom:.25rem;font-size:.85rem;display:block}.rdv-settings-field input,.rdv-settings-field textarea{border:1px solid var(--rdv-modal-input-border);border-radius:6px;width:100%;padding:.5rem;font-size:.9rem}.rdv-settings-field input:focus,.rdv-settings-field textarea:focus{border-color:var(--rdv-modal-input-focus);outline:none;box-shadow:0 0 0 2px #3b82f633}.rdv-settings-footer{border-top:1px solid var(--rdv-modal-border);justify-content:flex-end;padding:1rem 1.5rem;display:flex}.rdv-settings-apply{background:var(--rdv-modal-btn-bg);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:500;transition:background .2s}.rdv-settings-apply:hover{background:var(--rdv-modal-btn-bg-hover)}.rdv-view-tabs{border-radius:var(--rdv-btn-radius);background:#0003;gap:2px;padding:2px;display:flex}.rdv-view-tab{color:var(--rdv-btn-color);border-radius:calc(var(--rdv-btn-radius) - 2px);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:.35rem .75rem;font-size:.8rem;font-weight:500;transition:background .2s,color .2s}.rdv-view-tab:hover{background:#ffffff1a}.rdv-view-tab--active{background:var(--rdv-btn-bg);color:var(--rdv-btn-color)}.rdv-view-tab--active:hover{background:var(--rdv-btn-bg-hover)}.rdv-extracting-indicator{color:var(--rdv-input-muted);font-size:.8rem;animation:rdv-pulse 1.5s ease-in-out infinite}@keyframes rdv-pulse{0%,to{opacity:.4}50%{opacity:1}}.rdv-revision-panel{background:var(--rdv-background);flex-direction:column;flex:1;min-height:0;display:flex}.rdv-revision-header{background:var(--rdv-toolbar-bg);border-bottom:1px solid var(--rdv-toolbar-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.rdv-revision-stats{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.rdv-revision-stat{border-radius:4px;padding:.2rem .5rem;font-size:.8rem;font-weight:500}.rdv-revision-stat--total{color:var(--rdv-btn-color);background:#ffffff1a}.rdv-revision-stat--insertion{color:#22c55e;background:#22c55e26}.rdv-revision-stat--deletion{color:#ef4444;background:#ef444426}.rdv-revision-stat--move{color:#3b82f6;background:#3b82f626}.rdv-revision-stat--format{color:#a855f7;background:#a855f726}.rdv-revision-filter{background:var(--rdv-btn-bg);color:var(--rdv-btn-color);border-radius:var(--rdv-btn-radius);cursor:pointer;border:none;padding:.4rem .75rem;font-size:.85rem}.rdv-revision-filter:focus{outline:none}.rdv-revision-list{scroll-behavior:smooth;flex-direction:column;flex:1;gap:.5rem;min-height:0;padding:.75rem;display:flex;overflow-y:auto}.rdv-revision-item{background:#f8fafc;border-left:3px solid #94a3b8;border-radius:8px;padding:.75rem}.rdv-revision-item.rdv-revision--insertion{background:linear-gradient(90deg,#22c55e14,#f8fafc 50%);border-left-color:#22c55e}.rdv-revision-item.rdv-revision--deletion{background:linear-gradient(90deg,#ef444414,#f8fafc 50%);border-left-color:#ef4444}.rdv-revision-item.rdv-revision--move{background:linear-gradient(90deg,#3b82f614,#f8fafc 50%);border-left-color:#3b82f6}.rdv-revision-item.rdv-revision--format{background:linear-gradient(90deg,#a855f714,#f8fafc 50%);border-left-color:#a855f7}.rdv-revision-item__header{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.rdv-revision-type{text-transform:uppercase;letter-spacing:.3px;color:#475569;background:#0000000f;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;font-weight:600}.rdv-revision--insertion .rdv-revision-type{color:#15803d;background:#22c55e26}.rdv-revision--deletion .rdv-revision-type{color:#dc2626;background:#ef444426}.rdv-revision--move .rdv-revision-type{color:#2563eb;background:#3b82f626}.rdv-revision--format .rdv-revision-type{color:#9333ea;background:#a855f726}.rdv-revision-author{color:#334155;font-size:.85rem;font-weight:500}.rdv-revision-date{color:#64748b;margin-left:auto;font-size:.75rem}.rdv-revision-item__content{flex-direction:column;gap:.25rem;display:flex}.rdv-revision-text{color:#1e293b;word-break:break-word;font-size:.9rem;line-height:1.5}.rdv-revision--deletion .rdv-revision-text{color:#94a3b8;text-decoration:line-through}.rdv-revision-expand{color:#3b82f6;cursor:pointer;background:0 0;border:none;align-self:flex-start;margin-top:.25rem;padding:0;font-size:.8rem}.rdv-revision-expand:hover{text-decoration:underline}.rdv-revision-item__format-details{border-top:1px dashed #e2e8f0;flex-direction:column;gap:.375rem;margin-top:.625rem;padding-top:.625rem;display:flex}.rdv-format-change{align-items:center;gap:.5rem;font-size:.8rem;display:flex}.rdv-format-change__property{color:#64748b;min-width:80px;font-weight:500}.rdv-format-change__values{align-items:center;gap:.375rem;display:flex}.rdv-format-change__old{color:#ef4444;background:#ef44441a;border-radius:3px;padding:.1rem .4rem;text-decoration:line-through}.rdv-format-change__arrow{color:#94a3b8;font-size:.75rem}.rdv-format-change__new{color:#22c55e;background:#22c55e1a;border-radius:3px;padding:.1rem .4rem}.rdv-format-change__added,.rdv-format-change__removed{color:#94a3b8;font-size:.7rem;font-style:italic}.rdv-revision-move-id{color:#3b82f6;background:#3b82f61a;border-radius:3px;padding:.1rem .35rem;font-family:monospace;font-size:.7rem}.rdv-revision-empty{height:100%;min-height:300px;color:var(--rdv-message-color);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:2rem;display:flex}.rdv-revision-empty__icon{opacity:.5;margin-bottom:1rem;font-size:4rem}.rdv-revision-empty p{color:#64748b;margin:.5rem 0;font-size:1rem}@media (width<=768px){.rdv-toolbar{flex-wrap:wrap;gap:.5rem}.rdv-toolbar-right{flex-wrap:wrap;row-gap:.5rem}.rdv-toolbar-filename{display:none}.rdv-zoom-select{flex-shrink:1;min-width:0}.rdv-revision-header{flex-direction:column;align-items:flex-start}.rdv-revision-filter{width:100%}}.rdv-pages--loading{scroll-behavior:smooth;flex:1;min-height:0;overflow:auto}.rdv-page-placeholders{flex-direction:column;align-items:center;min-height:100%;padding:20px;display:flex}.rdv-page-placeholder{margin-bottom:var(--rdv-page-gap);background:#fff;border-radius:2px;position:relative;overflow:hidden;box-shadow:0 2px 8px #00000026}.rdv-page-placeholder:last-child{margin-bottom:0}.rdv-page-placeholder__shimmer{background:linear-gradient(90deg,#fff0,#fff6 50%,#fff0) 0 0/200% 100%;animation:rdv-shimmer 1.5s ease-in-out infinite;position:absolute;inset:0}@keyframes rdv-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.rdv-page-placeholder__info{color:#64748b;text-align:center;background:#fffffff2;border-radius:8px;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 2rem;font-size:.9rem;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0000001a}.rdv-page-placeholder__count{color:#94a3b8;font-size:.8rem}.rdv-page-placeholder__number{color:#94a3b8;background:#ffffffe6;border-radius:4px;padding:2px 8px;font-size:.75rem;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.rdv-spinner--small{border-width:3px;width:24px;height:24px}.rdv-viewer{--rdv-background:var(--surface-sunken);--rdv-toolbar-bg:var(--surface-base);--rdv-separator-color:var(--line-subtle);--rdv-shadow:var(--cs-preview-shadow,0 1px 3px rgba(0,0,0,.08));--rdv-page-gap:20px;--rdv-btn-bg:var(--surface-subtle);--rdv-btn-bg-hover:var(--surface-hover);--rdv-btn-color:var(--text-default);--rdv-btn-radius:var(--radius-sm,8px);--rdv-btn-primary-bg:var(--brand-accent);--rdv-btn-primary-bg-hover:var(--brand-accent-hover);--rdv-btn-primary-color:#fff;--rdv-input-bg:var(--surface-base);--rdv-input-color:var(--text-default);--rdv-input-muted:var(--text-muted);--rdv-modal-bg:var(--surface-base);--rdv-modal-border:var(--line-subtle);--rdv-modal-text-color:var(--text-default);--rdv-modal-title-color:var(--text-strong);--rdv-modal-muted-color:var(--text-muted);--rdv-modal-radius:var(--radius-md,12px);--rdv-highlight-color:var(--brand-warm);--rdv-error-color:#b4482f}