:root{--background-color: #1e293b;--text-color: #f8fafc;--error-color: #ef4444}html,body{height:100%;height:100dvh;overflow:hidden;-webkit-overflow-scrolling:touch}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background-color:var(--background-color);color:var(--text-color)}#app{height:100%;height:100dvh;overflow:hidden}.viewer-app{width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}html.document-scroll,html.document-scroll body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}html.document-scroll #app,html.document-scroll .viewer-app.is-document{height:auto;min-height:100vh;min-height:100dvh;overflow:visible}.redirect-splash{display:flex;align-items:center;justify-content:center;height:100%;padding:2rem;background:linear-gradient(135deg,#0f172a,#1e293b 60%,#0f172a)}.redirect-card{text-align:center;max-width:460px;width:100%;padding:3rem 2.5rem;background:#1e293bb3;border:1px solid rgba(148,163,184,.15);border-radius:20px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 12px 40px #0006}.redirect-logo{height:40px;margin-bottom:2rem;object-fit:contain;filter:brightness(0) invert(1);opacity:.9}.redirect-title{font-size:1.6rem;font-weight:700;color:#f8fafc;margin-bottom:.75rem;letter-spacing:-.03em;line-height:1.2}.redirect-subtitle{color:#94a3b8;font-size:1rem;line-height:1.6;margin-bottom:2rem}.redirect-actions{display:flex;flex-direction:column;gap:.75rem;align-items:center}.btn-primary{display:inline-block;width:100%;padding:.875rem 2rem;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;text-decoration:none;border-radius:10px;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 16px #6366f159}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f173}.btn-secondary{display:inline-block;padding:.625rem 1.5rem;color:#94a3b8;text-decoration:none;border-radius:8px;font-size:.9rem;font-weight:500;transition:color .2s}.btn-secondary:hover{color:#e2e8f0}:root{--primary-color: #2563eb;--secondary-color: #475569;--accent-color: #3b82f6;--background-color: #f8fafc;--text-color: #1e293b;--error-color: #ef4444;--success-color: #22c55e;--warning-color: #f59e0b}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:16px;line-height:1.5;color:var(--text-color);background-color:var(--background-color)}#app{width:100%;height:100%}
