:root{--background:#fff;--foreground:#171717}@media (prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#ededed}}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;font-family:Arial,Helvetica,sans-serif;display:flex}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}@media (prefers-color-scheme:dark){html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}.reader-root{--nk-navy:#123b63;--nk-blue:#3b82d0;--nk-gold:#d4a63a;--nk-red:#c93a3a;--nk-bg:#f4f6f9;--nk-surface:#fff;--nk-text:#1c2833;--nk-text-muted:#5c6b7a;--nk-border:#dde3ea;background:var(--nk-bg);width:100%;height:100vh;color:var(--nk-text);flex-direction:column;font-family:-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex}.reader-root.theme-dark{--nk-bg:#0f1720;--nk-surface:#17212c;--nk-text:#e7edf3;--nk-text-muted:#93a1b0;--nk-border:#263341}.reader-header{z-index:20;background:var(--nk-navy);color:#fff;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.reader-brand{align-items:baseline;gap:10px;min-width:0;display:flex}.reader-brand-name{letter-spacing:.04em;color:var(--nk-gold);white-space:nowrap;font-size:14px;font-weight:800}.reader-doc-title{color:#eef3f9;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.reader-toolbar{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.toolbar-btn{appearance:none;color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff40;border-radius:8px;justify-content:center;align-items:center;min-width:36px;height:36px;font-size:16px;line-height:1;transition:background .15s;display:inline-flex}.toolbar-btn:hover:not(:disabled){background:#ffffff2e}.toolbar-btn:disabled{opacity:.4;cursor:default}.toolbar-btn-text{width:auto;padding:0 10px;font-size:13px;font-weight:600}.toolbar-sep{background:#fff3;width:1px;height:22px;margin:0 4px}.page-indicator{color:#fff;white-space:nowrap;align-items:center;gap:4px;font-size:13px;display:inline-flex}.page-input{color:#fff;text-align:center;background:#ffffff14;border:1px solid #ffffff4d;border-radius:6px;width:44px;height:30px;font-size:13px}.search-form{display:flex}.search-input{color:#fff;background:#ffffff1a;border:1px solid #ffffff4d;border-radius:8px;width:130px;height:32px;padding:0 10px;font-size:13px}.search-input::placeholder{color:#fff9}.reader-body{-webkit-overflow-scrolling:touch;flex:1;justify-content:center;padding:20px 12px 60px;display:flex;overflow:hidden auto}.reader-status{color:var(--nk-text-muted);padding:60px 0;font-size:14px}.reader-status-error{color:var(--nk-red)}.pdf-pages{flex-direction:column;align-items:center;gap:18px;width:100%;max-width:900px;display:flex}.pdf-page-wrapper{background:var(--nk-surface);border-radius:4px;max-width:100%;position:relative;box-shadow:0 1px 3px #123b631f,0 1px 2px #123b6314}.pdf-page-canvas{border-radius:4px;max-width:100%;height:auto;display:block}.pdf-page-placeholder{background:var(--nk-border);border-radius:4px;width:100%}.pdf-text-layer{opacity:1;pointer-events:auto;line-height:1;position:absolute;top:0;left:0;overflow:hidden}.pdf-text-layer span,.pdf-text-layer br{color:#0000;white-space:pre;cursor:text;transform-origin:0 0;position:absolute}.pdf-text-layer ::selection{background:#3b82d059}.watermark-overlay{pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:4px;grid-template-rows:repeat(6,1fr);grid-template-columns:repeat(4,1fr);display:grid;position:absolute;inset:0;overflow:hidden}.watermark-tile{opacity:.08;letter-spacing:.05em;color:var(--nk-navy);text-align:center;white-space:nowrap;flex-direction:column;justify-content:center;align-items:center;font-size:11px;font-weight:700;line-height:1.4;display:flex;transform:rotate(-28deg)}.theme-dark .watermark-tile{color:#fff;opacity:.06}@media (max-width:640px){.reader-header{gap:8px;padding:8px 10px}.reader-doc-title{max-width:140px;font-size:12px}.reader-brand-name{font-size:12px}.toolbar-btn{min-width:32px;height:32px;font-size:14px}.search-input{width:90px}.reader-body{padding:10px 4px 40px}.pdf-pages{gap:10px}.watermark-tile{font-size:8px}}
