:root{--background:#f4fbf8;--surface:#fff;--surface-low:#edf7f2;--surface-mid:#e4f0ec;--surface-high:#dbe9e5;--surface-highest:#d2e0dc;--ink:#141d20;--muted:#43474b;--outline:#8ba3a161;--primary:#28515c;--primary-strong:#1d3d47;--primary-soft:#d8efe8;--accent:#e69a62;--accent-soft:#fff1e7;--success:#0d9488;--error:#ba1a1a;--error-soft:#ffdad6;--shadow:0 18px 45px #1d3d4714;color:var(--ink);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(180deg, #fff1e757 0, #fff1e700 210px), var(--background);min-width:320px;min-height:100vh;margin:0}button{font:inherit}h1,h2,h3,strong,.brand-name,.product-name,.primary-button,.secondary-button,.download-button,.feedback-trigger{font-family:Manrope,Inter,ui-sans-serif,system-ui,sans-serif}.top-bar{background:linear-gradient(90deg,#edf7f2 0%,#f8fcfa 100%);justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:56px;padding:12px 32px;display:flex}.brand-lockup{align-items:center;gap:10px;display:flex}.brand-icon{flex:none;width:36px;height:36px;display:inline-flex}.brand-icon svg{width:100%;height:100%;display:block}.brand-icon-background{fill:url(#brandIconGradient)}.brand-icon-page{fill:#fff}.brand-icon-fold,.brand-icon-arrow,.brand-icon-markdown{fill:none;stroke:var(--primary);stroke-linecap:round;stroke-linejoin:round}.brand-icon-fold{stroke-width:1.4px}.brand-icon-arrow{stroke-width:2.2px;stroke:var(--accent)}.brand-icon-markdown{stroke-width:1.8px}.brand-copy{align-items:baseline;gap:10px;display:flex}.brand-name{font-size:18px;font-weight:800;line-height:1}.product-name{color:var(--primary);text-transform:uppercase;opacity:.7;font-size:13px;font-weight:750;line-height:1}.feedback-trigger{min-height:36px;color:var(--primary);cursor:pointer;background:#ffffffb8;border:1px solid #3249592e;border-radius:4px;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:750;display:inline-flex}.feedback-trigger:hover{background:var(--surface);border-color:#32495952}.page-shell{width:min(1040px,100% - 64px);margin:0 auto;padding:64px 0 36px}.upload-stack,.restored-stack{flex-direction:column;display:flex}.upload-stack{gap:24px}.work-panel,.task-row{background:var(--surface);outline:1px solid var(--outline)}.work-panel{box-shadow:var(--shadow);border-radius:8px;flex-direction:column;padding:32px;display:flex}.section-heading{order:1;margin-bottom:24px}.section-heading h1{margin:0 0 8px;font-size:26px;line-height:1.2}.section-heading p,.drop-zone p,.operational-note{color:var(--muted)}.section-heading p{max-width:700px;margin:0;font-size:14px;line-height:1.55}.section-heading p span{display:block}.drop-zone{background:var(--surface-low);text-align:center;border:2px dashed #73787c5c;border-radius:8px;flex-direction:column;order:2;justify-content:center;align-items:center;min-height:330px;padding:48px 24px;transition:border-color .16s,transform .16s;display:flex;position:relative;overflow:hidden}.drop-zone:before{border-radius:inherit;background:linear-gradient(180deg, #eef8f3 0%, var(--surface-mid) 100%);content:"";opacity:0;transition:opacity .16s;position:absolute;inset:0}.drop-zone>:not(.file-input){z-index:1;position:relative}.drop-zone:hover{border-color:#e69a6280;transform:translateY(-1px)}.drop-zone:hover:before{opacity:1}.status-icon{color:var(--primary)}.upload-icon{overflow:visible}.upload-cloud{opacity:.78}.upload-arrow{transform-origin:12px 17px}.drop-zone:hover .upload-arrow{animation:.9s ease-in-out infinite upload-arrow-bob}.drop-zone h2{overflow-wrap:anywhere;max-width:100%;margin:16px 0 4px;font-size:19px;line-height:1.2}.drop-zone p{margin:0 0 24px;font-size:14px}.primary-button,.secondary-button,.download-button,.icon-button{cursor:pointer}.primary-button:disabled,.secondary-button:disabled,.download-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.42}.primary-button{color:#fff;background:linear-gradient(135deg, var(--primary), #2f746d);border:0;border-radius:4px;min-height:40px;padding:0 18px;font-size:14px;font-weight:750;box-shadow:0 8px 18px #28515c24}.primary-button:hover{background:linear-gradient(135deg, var(--primary-strong), #275e58)}.secondary-button{min-height:40px;color:var(--primary);background:#ffffffb8;border:1px solid #32495933;border-radius:4px;padding:0 14px;font-size:14px;font-weight:750}.secondary-button:hover{background:var(--surface);border-color:#32495957}.file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.format-row{order:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.constraint-pill{color:#43474bad;background:#dbe4e861;border-radius:4px;outline:1px solid #8ba3a12e;align-items:center;gap:8px;min-width:0;min-height:28px;padding:7px 8px;font-size:12px;display:inline-flex}.constraint-pill svg{flex:none}.constraint-copy{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.constraint-copy span{color:#43474bb8;text-transform:uppercase;font-size:10px;font-weight:750;line-height:1}.constraint-copy strong{overflow-wrap:anywhere;color:#141d20ad;font-size:12px;line-height:1.15}.icon-button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex:none;place-items:center;display:grid}.icon-button:hover{color:var(--error);background:#ffdad66b}.restored-stack{gap:12px}.selected-files{flex-direction:column;order:4;gap:12px;margin-top:20px;display:flex}.selected-files-heading{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.selected-files-heading h2{margin:0;font-size:18px;line-height:1.2}.selected-files-heading span{color:#43474bb8;font-size:12px;font-weight:700}.selected-file-list{flex-direction:column;gap:8px;display:flex}.selected-file-row{background:var(--surface-low);border-radius:6px;outline:1px solid #c3c7cc66;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:10px 12px;display:flex}.selected-file-row-invalid{background:#ffdad638;outline-color:#ba1a1a38}.selected-file-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.selected-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:650;overflow:hidden}.selected-file-meta{color:#43474bc2;flex-wrap:wrap;gap:4px 10px;font-size:12px;font-weight:550;line-height:1.35;display:flex}.selected-file-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.secondary-button-compact{align-items:center;gap:6px;min-height:31px;padding:0 10px;font-size:12px;display:inline-flex}.selected-file-status{color:var(--primary);background:var(--surface-high);border-radius:4px;padding:5px 8px;font-size:12px;font-weight:750}.selected-file-row-duplicate .selected-file-status,.selected-file-row-invalid .selected-file-status{color:var(--error);background:var(--error-soft)}.selected-files-controls{flex-wrap:wrap;gap:10px;display:flex}.restored-heading{flex-direction:column;align-items:flex-start;gap:6px;padding:0;display:flex}.restored-heading h2{color:var(--ink);margin:0;font-size:26px;line-height:1.2}.restored-heading-note{color:#43474bbd;background:#dbe4e86b;border-radius:4px;align-items:center;gap:6px;min-height:24px;margin:0;padding:3px 8px;font-size:12px;font-weight:650;line-height:1.25;display:inline-flex}.task-list{flex-direction:column;gap:14px;display:flex}.task-group{flex-direction:column;gap:8px;display:flex}.task-group-title{color:#43474bb8;text-transform:uppercase;margin:0;font-size:11px;line-height:1}.restored-pagination{justify-content:space-between;align-items:center;gap:12px 16px;padding:2px 0 0;display:flex}.restored-pagination-summary,.restored-pagination-page{color:#43474bc7;font-size:12px;font-weight:650}.restored-pagination-controls{align-items:center;gap:10px;display:flex}.pagination-button{min-height:31px;color:var(--primary);cursor:pointer;background:#ffffffb8;border:1px solid #3249592e;border-radius:4px;padding:0 10px;font-size:12px;font-weight:750}.pagination-button:hover{background:var(--surface);border-color:#32495947}.pagination-button:disabled{cursor:not-allowed;opacity:.42}.task-row{border-radius:6px;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:12px 14px;display:flex;box-shadow:0 10px 26px #1d3d4709}.task-file{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.document-identity{background:var(--surface-high);width:42px;height:32px;color:var(--primary-strong);letter-spacing:0;border:1px solid #3249592e;border-radius:6px;flex:0 0 42px;justify-content:center;align-items:center;font-size:10px;font-weight:850;line-height:1;display:inline-flex;position:relative}.document-identity-pdf{color:#8c4518;background:var(--accent-soft);border-color:#e69a6257}.document-identity-epub{color:var(--primary-strong);background:var(--primary-soft);border-color:#28515c3d}.document-identity-document{color:var(--muted);background:var(--surface-mid)}.document-identity-label{text-overflow:ellipsis;white-space:nowrap;max-width:34px;overflow:hidden}.document-identity-state{border:2px solid var(--surface);background:var(--surface-highest);width:16px;height:16px;color:var(--muted);border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;bottom:-5px;right:-5px}.document-identity-state-success .document-identity-state{color:var(--success);background:#dcf8f3}.document-identity-state-error .document-identity-state{color:var(--error);background:var(--error-soft)}.document-identity-state-live .document-identity-state,.document-identity-state-queued .document-identity-state{color:var(--primary);background:var(--surface)}.document-identity-state-live .document-identity-state svg{transform-origin:50%;animation:2.5s linear infinite hourglass-active}.task-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.task-name,.task-meta{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.task-name{font-size:14px;font-weight:650}.task-meta{color:#43474bb8;font-size:11px;font-weight:550}.task-progress-track{background:var(--surface-highest);border-radius:999px;width:min(220px,100%);height:5px;display:block;overflow:hidden}.task-progress-value{border-radius:inherit;background:var(--primary);height:100%;transition:width .16s;display:block}.task-progress-track-indeterminate{position:relative}.task-progress-indeterminate{width:42%;animation:1.15s ease-in-out infinite progress-indeterminate;position:absolute}.task-row-empty .task-file>span{overflow-wrap:anywhere;min-width:0;font-size:14px;font-weight:650}.task-actions{flex:none;align-items:center;gap:8px;display:flex}.task-row-empty .task-file svg,.task-status{color:var(--muted)}.task-status{background:var(--surface-high);border-radius:4px;flex:none;padding:5px 8px;font-size:12px;font-weight:650}.task-row-error .task-status{color:var(--error);background:var(--error-soft)}.download-button{color:#fff;background:var(--primary);border:0;border-radius:4px;align-items:center;gap:6px;min-height:31px;padding:0 10px;font-size:12px;font-weight:750;display:inline-flex}.download-button:hover{background:var(--primary-strong)}.feedback-backdrop{z-index:50;background:#141d206b;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.feedback-dialog{background:var(--surface);border-radius:8px;outline:1px solid #8ba3a16b;width:min(100%,460px);max-height:calc(100vh - 24px);padding:20px;overflow:auto;box-shadow:0 24px 70px #141d203d}.feedback-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.feedback-header h2{margin:0;font-size:20px;line-height:1.2}.feedback-header p{color:#43474bc2;margin:5px 0 0;font-size:13px;line-height:1.35}.feedback-form{flex-direction:column;gap:12px;display:flex}.feedback-field,.feedback-rating{border:0;flex-direction:column;gap:7px;min-width:0;margin:0;padding:0;display:flex}.feedback-field>span,.feedback-rating legend{color:#43474bc7;font-size:12px;font-weight:750}.feedback-field select,.feedback-field input,.feedback-field textarea{width:100%;color:var(--ink);background:var(--surface);font:inherit;border:1px solid #3249592e;border-radius:4px;font-size:14px}.feedback-field select,.feedback-field input{min-height:38px;padding:0 10px}.feedback-field textarea{resize:vertical;min-height:88px;padding:10px;line-height:1.45}.feedback-field select:focus,.feedback-field input:focus,.feedback-field textarea:focus{outline-offset:2px;outline:2px solid #32495952}.feedback-rating-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.feedback-rating-option{min-width:0;position:relative}.feedback-rating-option input{opacity:0;position:absolute;inset:0}.feedback-rating-option span{min-height:36px;color:var(--primary);background:#edf7f2b3;border:1px solid #3249592e;border-radius:4px;place-items:center;font-size:13px;font-weight:800;display:grid}.feedback-rating-option input:checked+span{color:#fff;background:var(--primary);border-color:#28515cb3}.feedback-rating-option input:focus-visible+span{outline-offset:3px;outline:2px solid #324959b3}.feedback-honeypot{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.feedback-error{color:var(--error);align-items:flex-start;gap:7px;margin:0;font-size:13px;line-height:1.35;display:inline-flex}.feedback-error svg{flex:none;margin-top:1px}.feedback-actions{background:var(--surface);justify-content:flex-end;gap:10px;margin-top:2px;padding-top:8px;padding-bottom:2px;display:flex;position:sticky;bottom:-20px}.feedback-actions .primary-button{align-items:center;gap:7px;display:inline-flex}.feedback-success{color:var(--primary);text-align:center;flex-direction:column;align-items:center;gap:14px;padding:26px 0 10px;display:flex}.feedback-success strong{color:var(--ink);font-size:16px}.operational-note{text-align:center;flex-direction:column;align-items:center;gap:8px;width:min(1040px,100% - 64px);margin:auto auto 0;padding:12px 0 18px;font-size:12px;display:flex}.operational-note span+span{color:#43474bad}button:focus-visible{outline-offset:3px;outline:2px solid #324959b3}@keyframes hourglass-active{0%{transform:rotate(0)}40%{transform:rotate(180deg)}50%{transform:rotate(180deg)}90%{transform:rotate(360deg)}to{transform:rotate(360deg)}}@keyframes progress-indeterminate{0%{transform:translate(-120%)}to{transform:translate(260%)}}@keyframes upload-arrow-bob{0%,to{transform:translateY(0)}45%{transform:translateY(-3px)}}@media (hover:none) and (pointer:coarse){.drop-zone-idle .upload-arrow{animation:1.4s ease-in-out infinite upload-arrow-bob}}@media (prefers-reduced-motion:reduce){.drop-zone,.primary-button,.secondary-button,.download-button,.task-progress-value{transition:none}.drop-zone:hover .upload-arrow,.drop-zone-idle .upload-arrow{animation:none}}@media (width<=900px){.top-bar{padding:12px 20px}.brand-lockup{gap:10px}.brand-copy{flex-direction:column;align-items:flex-start;gap:4px}.product-name{font-size:10px}.page-shell{width:min(100% - 32px,620px);padding:28px 0}.work-panel{padding:24px}.drop-zone{min-height:260px;padding:34px 18px}.selected-file-row,.task-row{gap:12px}.operational-note{width:min(100% - 32px,620px)}}@media (width<=520px){.top-bar{padding:12px 16px}.feedback-trigger{min-height:34px;padding:0 10px;font-size:12px}.brand-name{font-size:17px}.page-shell{width:calc(100% - 24px)}.work-panel{padding:20px}.section-heading h1,.restored-heading h2{font-size:22px}.restored-pagination{flex-direction:column;align-items:flex-start}.restored-pagination-controls{justify-content:space-between;width:100%}.drop-zone{min-height:238px}.format-row{order:4;grid-template-columns:1fr;gap:8px}.selected-files{order:3;margin-top:16px}.task-row{flex-direction:column;align-items:flex-start;gap:10px}.selected-file-row{flex-direction:column;align-items:flex-start}.selected-file-actions{justify-content:space-between;width:100%}.download-button,.task-status{margin-top:1px}.task-file{align-items:flex-start;width:100%}.task-copy{width:100%}.task-name,.task-meta{white-space:normal}.task-name{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.task-meta{overflow-wrap:anywhere;line-height:1.35}.task-progress-track{width:100%}.task-actions{flex-wrap:wrap;justify-content:flex-start;width:calc(100% - 52px);margin-left:52px}.feedback-backdrop{align-items:end;padding:14px}.feedback-dialog{max-height:calc(100vh - 28px);padding:18px}.feedback-actions{flex-direction:column-reverse}.feedback-actions .primary-button,.feedback-actions .secondary-button{justify-content:center;width:100%}}.turnstile-host{z-index:80;position:fixed;bottom:16px;right:16px}
