:root{--PhoneInput-color--focus:#03b2cb;--PhoneInputInternationalIconPhone-opacity:.8;--PhoneInputInternationalIconGlobe-opacity:.65;--PhoneInputCountrySelect-marginRight:.35em;--PhoneInputCountrySelectArrow-width:.3em;--PhoneInputCountrySelectArrow-marginLeft:var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth:1px;--PhoneInputCountrySelectArrow-opacity:.45;--PhoneInputCountrySelectArrow-color:currentColor;--PhoneInputCountrySelectArrow-color--focus:var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform:rotate(45deg);--PhoneInputCountryFlag-aspectRatio:1.5;--PhoneInputCountryFlag-height:1em;--PhoneInputCountryFlag-borderWidth:1px;--PhoneInputCountryFlag-borderColor:#00000080;--PhoneInputCountryFlag-borderColor--focus:var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading:#0000001a}.PhoneInput{align-items:center;display:flex}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor), inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{width:100%;height:100%;display:block}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{margin-right:var(--PhoneInputCountrySelect-marginRight);align-self:stretch;align-items:center;display:flex;position:relative}.PhoneInputCountrySelect{z-index:1;opacity:0;cursor:pointer;border:0;width:100%;height:100%;position:absolute;top:0;left:0}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity);display:block}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus), inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.rl{--rl-fg:#c2410c;--rl-bg:#fff7ed;--rl-border:#fed7aa;--rl-mark-bg:#ffedd5;--rl-sheen:#ffffffd9;border:1px solid var(--rl-border);height:2rem;color:var(--rl-fg);background:var(--rl-bg);white-space:nowrap;border-radius:.75rem;align-items:center;gap:7px;padding:0 11px 0 4px;font-family:inherit;font-size:11.5px;font-weight:600;display:inline-flex;position:relative;overflow:hidden}.rl.is-ai{--rl-fg:#6d28d9;--rl-bg:#f5f3ff;--rl-border:#ddd6fe;--rl-mark-bg:#ede9fe}.dark .rl{--rl-fg:#fdba74;--rl-bg:#fb923c1a;--rl-border:#fb923c40;--rl-mark-bg:#fb923c29;--rl-sheen:#ffffff1a}.dark .rl.is-ai{--rl-fg:#c4b5fd;--rl-bg:#8b5cf61f;--rl-border:#8b5cf64d;--rl-mark-bg:#8b5cf633}.rl.is-compact{border-radius:999px;gap:5px;height:1.625rem;padding:0 10px 0 3px;font-size:12px;font-weight:800}.rl.is-compact .rl-mark{border-radius:999px;width:20px;height:20px}.rl.is-compact .rl-mark:before{inset:4px}button.rl{cursor:pointer;transition:transform .15s,box-shadow .15s}button.rl:hover{box-shadow:0 6px 14px -6px var(--rl-fg);transform:translateY(-1px)}button.rl:active{transform:scale(.96)}button.rl:focus-visible{outline:2px solid var(--rl-fg);outline-offset:2px}.rl:after{content:"";background:linear-gradient(90deg, transparent, var(--rl-sheen), transparent);pointer-events:none;width:34%;animation:2.2s ease-in-out infinite rl-sheen;position:absolute;inset:0 auto 0 -45%}.rl-mark{background:var(--rl-mark-bg);border-radius:.55rem;flex:none;place-items:center;width:24px;height:24px;display:grid;position:relative}.rl-mark:before{content:"";opacity:.9;border:2px solid;border-right-color:#0000;border-radius:50%;animation:.9s linear infinite rl-orbit;position:absolute;inset:5px}.rl-mark>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.25s ease-in-out infinite rl-pulse}.rl-dots{gap:3px;margin-left:1px;display:inline-flex}.rl-dots>i{opacity:.35;background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite rl-dot}.rl-dots>i:nth-child(2){animation-delay:.15s}.rl-dots>i:nth-child(3){animation-delay:.3s}@keyframes rl-orbit{to{transform:rotate(360deg)}}@keyframes rl-pulse{50%{opacity:.45;transform:scale(.7)}}@keyframes rl-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@keyframes rl-sheen{0%,22%{opacity:0;transform:translate(0)}45%{opacity:.8}72%,to{opacity:0;transform:translate(430%)}}@media (prefers-reduced-motion:reduce){.rl:after,.rl-dots>i{animation:none}.rl-mark:before{animation-duration:2.4s}.rl-mark>i{animation:none}}.document-action-dialog{color:#172033;background:#fff;border:1px solid #e2e8f0;border-radius:24px;width:min(540px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;overflow-y:auto;box-shadow:0 24px 80px #0f172a33}.document-action-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a99}.document-dialog-icon{border-radius:15px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:18px;display:flex}.document-dialog-icon--amber{color:#9a6100;background:#fff4d6}.document-dialog-icon--red{color:#b42318;background:#fff0ee}.document-dialog-eyebrow{letter-spacing:.12em;text-transform:uppercase;color:#64748b;margin:0 0 8px;font-size:11px;font-weight:800}.document-action-dialog h2{letter-spacing:-.025em;margin:0 0 12px;font-size:23px;font-weight:800;line-height:1.25}.document-action-dialog p:not(.document-dialog-eyebrow){color:#596579;margin:0 0 18px;font-size:14px;line-height:1.6}.document-dialog-filename{overflow-wrap:anywhere;border-block:1px solid #e2e8f0;margin:18px 0;padding:14px 0;font-size:14px;font-weight:700}.document-dialog-label{justify-content:space-between;gap:8px;margin:18px 0 8px;font-size:13px;font-weight:700;display:flex}.document-dialog-label span{color:#64748b;font-size:11px;font-weight:500}.document-action-dialog select,.document-action-dialog textarea{width:100%;font:inherit;color:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:13px}.document-action-dialog textarea{resize:vertical}.document-action-dialog p.document-dialog-hint{margin:8px 0 16px;font-size:12px}.document-dialog-note{background:#f5f7fa;border-left:3px solid #a6b3c4;border-radius:0 8px 8px 0;margin:20px 0;padding:12px 14px;font-size:13px;line-height:1.65}.document-dialog-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.document-dialog-actions button{cursor:pointer;color:inherit;background:0 0;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:700;display:inline-flex}.document-dialog-actions button.document-dialog-primary{color:#fff;background:#172033;border-color:#172033}.document-dialog-actions button.document-dialog-danger{color:#fff;background:#b42318;border-color:#b42318}.document-dialog-actions button:disabled{opacity:.5;cursor:not-allowed}.document-action-dialog :focus-visible{outline-offset:3px;outline:3px solid #5796d9}.document-action-dialog p.document-dialog-error{color:#b42318}.document-dialog-matches{max-height:240px;margin:20px 0;padding:0;list-style:none;overflow-y:auto}.document-dialog-matches li{border-top:1px solid #e2e8f0;align-items:flex-start;gap:12px;padding:14px 0;display:flex}.document-dialog-matches svg{color:#947021;flex-shrink:0;margin-top:2px}.document-dialog-matches strong,.document-dialog-matches span,.document-dialog-matches small{overflow-wrap:anywhere;display:block}.document-dialog-matches strong{margin-bottom:5px;font-size:14px}.document-dialog-matches span{color:#596579;font-size:12px}.document-dialog-matches small{color:#64748b;text-transform:capitalize;margin-top:7px;font-size:11px}.dark .document-action-dialog{color:#edf1f8;background:#161a25;border-color:#333b4d}.dark .document-action-dialog p,.dark .document-dialog-matches span,.dark .document-dialog-matches small,.dark .document-dialog-label span{color:#aeb9ca}.dark .document-dialog-note,.dark .document-action-dialog select,.dark .document-action-dialog textarea{color:#d5deeb;background:#222938}.dark .document-action-dialog select,.dark .document-action-dialog textarea,.dark .document-dialog-matches li,.dark .document-dialog-filename,.dark .document-dialog-actions button{border-color:#455269}.dark .document-dialog-actions .document-dialog-primary{color:#172033;background:#e1e9f5}.dark .document-action-dialog p.document-dialog-error{color:#ffaca5}@media (width<=480px){.document-action-dialog{border-radius:18px;padding:22px 18px}.document-action-dialog h2{font-size:21px}.document-dialog-actions button{flex:1;padding-inline:9px}}.document-action-dialog.duplicate-upload-dialog.duplicate-upload-dialog--chap{color:#683b24;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;text-align:left;background:#fffdf9;border:1px solid #f0d9c5;border-top:4px solid #ea681f;border-radius:26px;width:min(536px,100vw - 28px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden;box-shadow:0 28px 90px #713f122b,0 4px 20px #713f1214}.duplicate-upload-dialog--chap[open]{flex-direction:column;display:flex}.duplicate-upload-dialog--chap::backdrop{-webkit-backdrop-filter:blur(6px);background:#563d2e66}.chap-duplicate-header{background:#fff6e9;border-bottom:1px solid #f4e3d1;flex:none;padding:19px 28px 23px}.chap-duplicate-topline{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.chap-duplicate-eyebrow{color:#a84a16;letter-spacing:.07em;text-transform:uppercase;align-items:center;gap:7px;font-size:11px;font-weight:700;line-height:1.5;display:inline-flex}.chap-duplicate-close{color:#956649;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;margin-right:-8px;padding:0;display:grid}.chap-duplicate-close:hover{color:#9a3e0b;background:#ffebd2}.document-action-dialog.duplicate-upload-dialog--chap h2{color:#703815;letter-spacing:-.035em;margin:0 0 10px;font-size:clamp(25px,4.6vw,29px);font-weight:750;line-height:1.18}.document-action-dialog.duplicate-upload-dialog--chap .chap-duplicate-description{color:#87664e;max-width:390px;margin:0;font-size:13px;line-height:1.7}.chap-duplicate-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e9c4a2 transparent;min-height:0;padding:22px 28px 23px;overflow-y:auto}.chap-duplicate-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;margin-bottom:12px;display:flex}.chap-duplicate-list-heading h3{color:#73513b;margin:0;font-size:12px;font-weight:700;line-height:1.5}.chap-duplicate-list-heading>span{color:#896448;font-size:11px}.chap-duplicate-matches{gap:10px;margin:0;padding:0;list-style:none;display:grid}.chap-duplicate-matches>li{background:#fff;border:1px solid #f0ddcb;border-radius:15px;align-items:flex-start;gap:13px;padding:17px 16px;display:flex}.chap-duplicate-file-icon{color:#bc571c;background:#fff8ed;border:1px solid #f4d5b1;border-radius:7px 12px 7px 7px;flex:none;place-items:center;width:39px;height:46px;display:grid}.chap-duplicate-file-copy{flex:1;min-width:0}.chap-duplicate-file-copy>strong{overflow-wrap:anywhere;color:#61412d;font-size:14px;font-weight:700;line-height:1.55;display:block}.chap-duplicate-status{color:#9b4b1c;background:#fff1df;border-radius:6px;align-items:center;gap:6px;margin-top:7px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1.5;display:inline-flex}.chap-duplicate-status>span{background:#d87a38;border-radius:50%;flex-shrink:0;width:4px;height:4px}.chap-duplicate-original{color:#88634a;overflow-wrap:anywhere;margin-top:9px;font-size:12px;line-height:1.65;display:block}.chap-duplicate-match-note{color:#82654e;margin-top:8px;font-size:11px;line-height:1.55;display:block}.chap-duplicate-footer{flex:none;padding:0 28px 25px}.chap-duplicate-credit-note{border-top:1px solid #f1e3d4;align-items:flex-start;gap:9px;padding:16px 0 20px;display:flex}.chap-duplicate-check{color:#a4541d;background:#ffedcf;border-radius:50%;flex:none;place-items:center;width:23px;height:23px;display:grid}.chap-duplicate-credit-note strong{color:#795033;font-size:12px;font-weight:700;line-height:1.6;display:block}.document-action-dialog.duplicate-upload-dialog--chap .chap-duplicate-credit-note p{color:#8a6c56;margin:3px 0 0;font-size:12px;line-height:1.6}.chap-duplicate-actions{grid-template-columns:1fr 1.25fr;gap:11px;display:grid}.chap-duplicate-actions button{min-height:47px;font:inherit;cursor:pointer;border:1px solid #eacdb2;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:11px 14px;font-size:13px;font-weight:700;line-height:1.5;transition:background .15s,border-color .15s,box-shadow .15s;display:inline-flex}.chap-duplicate-actions .chap-duplicate-back{color:#8b522c;background:#fffdf9}.chap-duplicate-actions .chap-duplicate-back:hover{background:#fff3e1;border-color:#dca36f}.chap-duplicate-actions .chap-duplicate-submit{color:#fff;background:#c94a13;border-color:#c94a13;box-shadow:0 3px 8px #c94a131c}.chap-duplicate-actions .chap-duplicate-submit:hover{background:#ad3b0b;border-color:#ad3b0b;box-shadow:0 4px 12px #c94a1329}.document-action-dialog.duplicate-upload-dialog--chap :focus-visible{outline-offset:3px;outline:3px solid #db773c}@media (width<=420px){.document-action-dialog.duplicate-upload-dialog.duplicate-upload-dialog--chap{border-radius:20px}.chap-duplicate-header{padding:15px 20px 20px}.chap-duplicate-body{padding:19px 20px}.chap-duplicate-footer{padding:0 20px 21px}.chap-duplicate-matches>li{gap:10px;padding:14px 12px}.chap-duplicate-file-icon{width:32px;height:39px}.chap-duplicate-actions{grid-template-columns:1fr 1.3fr;gap:9px}.chap-duplicate-actions button{gap:6px;padding-inline:9px;font-size:12px}}@media (height<=560px){.duplicate-upload-dialog--chap[open]{display:block;overflow-y:auto}.chap-duplicate-body{overflow:visible}}@media (prefers-reduced-motion:reduce){.chap-duplicate-actions button{transition:none}}.ai-report-word-notice{--word-note-accent:#b45309;--word-note-border:#f3d4a8;--word-note-bg:#fffbf3;--word-note-icon:#fff0d6;--word-note-title:#793a10;--word-note-text:#71533a;border:1px solid var(--word-note-border);border-left:3px solid var(--word-note-accent);background:var(--word-note-bg);text-align:left;border-radius:12px;align-items:flex-start;gap:12px;margin-top:14px;padding:15px 16px;display:flex}.ai-report-word-notice--cool{--word-note-accent:#315cf5;--word-note-border:#d3defb;--word-note-bg:#f3f6ff;--word-note-icon:#e4ebff;--word-note-title:#253f88;--word-note-text:#4b5a78}.ai-report-word-notice__icon{width:34px;height:34px;color:var(--word-note-accent);background:var(--word-note-icon);border-radius:10px;flex:none;place-items:center;display:grid}.ai-report-word-notice__copy{min-width:0}.ai-report-word-notice .ai-report-word-notice__copy h3{color:var(--word-note-title);letter-spacing:.06em;text-transform:uppercase;margin:0 0 5px;font-size:11px;font-weight:750;line-height:1.4}.ai-report-word-notice .ai-report-word-notice__copy p{color:var(--word-note-text);margin:0;font-size:12px;line-height:1.65}.ai-report-word-notice__copy strong{color:var(--word-note-title);font-weight:750}.dark .ai-report-word-notice--warm{--word-note-accent:#fbbf24;--word-note-border:#67502b;--word-note-bg:#2a251e;--word-note-icon:#48361e;--word-note-title:#fde0a7;--word-note-text:#dec9ab}@media (width<=400px){.ai-report-word-notice{gap:10px;padding:13px 12px}.ai-report-word-notice__icon{border-radius:8px;width:29px;height:29px}}.queue-return-button,.document-action-dialog.queue-return-dialog{--queue-color:#b9440e;--queue-hover:#943609;--queue-tint:#fff4e6;--queue-border:#edc6a8;--queue-ink:#713811;--queue-radius:14px}.queue-return-button{color:#92400e;height:32px;box-shadow:none;cursor:pointer;white-space:nowrap;background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 12px;transition:color .2s,background .2s,border-color .2s,box-shadow .2s;display:inline-flex}.queue-return-button svg{flex-shrink:0}.queue-return-button strong{color:inherit;font-size:12px;font-weight:700;line-height:1}.queue-return-button:hover:not(:disabled){background:#fef3c7;border-color:#f59e0b}.queue-return-button.queue-return-button--overdue{color:#b91c1c;background:#fef2f2;border-color:#ef4444;animation:2.4s ease-in-out infinite queue-return-attention}.queue-return-button:disabled{cursor:not-allowed;opacity:.6;animation:none}.queue-return-button:focus-visible{outline-offset:3px;outline:3px solid #f59e0b}html.dark .queue-return-button{color:#fde68a;background:#f59e0b1a;border-color:#f59e0b4d}html.dark .queue-return-button:hover:not(:disabled){background:#f59e0b33}html.dark .queue-return-button.queue-return-button--overdue{color:#fecaca;background:#ef44441a;border-color:#ef444466}@keyframes queue-return-attention{0%,to{box-shadow:0 0 #c628282e}50%{box-shadow:0 0 0 6px #c6282800,0 4px 16px #c628283b}}.document-action-dialog.queue-return-dialog{width:min(520px,100vw - 32px);color:var(--queue-ink);border:1px solid var(--queue-border);border-top:5px solid var(--queue-color);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fffdf9;border-radius:24px;padding:28px}.queue-return-dialog-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.queue-return-symbol{background:var(--queue-tint);width:54px;height:54px;color:var(--queue-color);border-radius:var(--queue-radius);place-items:center;display:grid}.queue-return-dialog button.queue-return-close{color:#775f4b;border:1px solid var(--queue-border);cursor:pointer;background:0 0;border-radius:50%;padding:8px}.document-action-dialog.queue-return-dialog p.queue-return-eyebrow{color:var(--queue-color);text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px;font-size:10px;font-weight:800}.document-action-dialog.queue-return-dialog h2{color:var(--queue-ink);font-size:24px}.document-action-dialog.queue-return-dialog p{color:#705d4d}.queue-return-file{border:1px solid var(--queue-border);border-radius:var(--queue-radius);background:#fff;align-items:flex-start;gap:12px;padding:16px;font-size:14px;display:flex}.queue-return-file strong{overflow-wrap:anywhere;min-width:0}.queue-return-file svg,.queue-return-credit svg{color:var(--queue-color);flex-shrink:0}.queue-return-credit{border-radius:var(--queue-radius);background:var(--queue-tint);color:var(--queue-ink);align-items:flex-start;gap:12px;margin-top:16px;padding:14px;font-size:12px;line-height:1.65;display:flex}.queue-return-dialog-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.queue-return-dialog-actions button{border:1px solid var(--queue-border);border-radius:var(--queue-radius);min-height:46px;color:var(--queue-ink);cursor:pointer;background:#fff;flex:1;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:750;display:inline-flex}.queue-return-dialog-actions button.queue-return-confirm{background:var(--queue-color);border-color:var(--queue-color);color:#fff}.queue-return-dialog-actions button.queue-return-confirm:hover:not(:disabled){background:var(--queue-hover)}.queue-return-dialog button:disabled{opacity:.6;cursor:not-allowed}.document-action-dialog.queue-return-dialog p.queue-return-error{color:#b42318;margin:16px 0 0}@media (width<=420px){.document-action-dialog.queue-return-dialog{padding:22px 18px}.queue-return-dialog-actions{flex-direction:column-reverse}}@media (prefers-reduced-motion:reduce){.queue-return-button.queue-return-button--overdue{animation:none}}
