:root{--upload-accent: #4f46e5;--upload-accent-hover: #4338ca;--upload-accent-soft: #eef2ff;--upload-page: #f5f7fd;--upload-surface: #fff;--upload-text: #1e293b;--upload-muted: #64748b;--upload-line: #e8edf5;--upload-success: #087b56;--upload-danger: #b42338;--upload-warning: #92540b;--upload-shadow: 0 5px 28px -6px rgb(30 41 59 / 7%);color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,Microsoft YaHei,sans-serif;color:var(--upload-text);background:var(--upload-page);font-synthesis:none;font-size:14px;line-height:1.6;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a,summary{touch-action:manipulation}a{color:var(--upload-accent);text-underline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #818cf8;outline-offset:4px}button:disabled:not(.drop-zone){opacity:.5}::selection{background:#ddd9ff;color:#312e81}.ui-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{color:#111827;font-size:30px;font-weight:800;letter-spacing:-.025em;line-height:1.4}h2{font-size:16px;font-weight:700}h3{font-size:14px;font-weight:650}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:90px;z-index:20;padding:10px 18px;border-radius:8px;background:#fff}.skip-link:focus{top:12px}.upload-app{min-height:100dvh}.side-rail{position:fixed;inset:0 auto 0 0;z-index:10;display:flex;flex-direction:column;align-items:center;width:68px;padding:24px 6px 20px;color:#fff;background:linear-gradient(180deg,#5841d8,#4f46e5 55%,#4338ca)}.rail-nav{display:flex;flex-direction:column;gap:16px;width:100%;margin:auto 0}.rail-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;padding:8px 0;border:0;border-radius:12px;color:#e2e0ff;background:transparent;font-size:11px;transition:background .16s,color .16s}.rail-nav button:hover,.rail-nav button.is-active{color:#fff;background:#ffffff26}.rail-nav button.is-active{box-shadow:inset 0 0 0 1px #ffffff1f;font-weight:700}.rail-nav button:focus-visible{outline-color:#fff;outline-offset:0}.workspace{min-height:100dvh;margin-left:68px;background:radial-gradient(ellipse 680px 430px at 75% 0%,rgb(224 231 255 / 65%),transparent),radial-gradient(ellipse 480px 360px at 15% 0%,rgb(243 232 255 / 40%),transparent),var(--upload-page)}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:18px 32px}.workspace-name{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--upload-muted);font-size:12px}.workspace-name>.ui-icon{color:var(--upload-accent)}.workspace-name>span:last-child{color:var(--upload-text)}.header-divider{color:#a4afc1}.header-actions{display:flex;align-items:center;gap:10px}.entry-status{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:30px;background:#fff;color:#3c5361;font-size:12px;white-space:nowrap;box-shadow:0 1px 4px #1e293b0a}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--upload-success)}.entry-status.is-closed{color:var(--upload-warning)}.is-closed .status-dot{background:var(--upload-warning)}.is-pending:not(.is-closed) .status-dot{background:var(--upload-muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;padding:0;border:0;border-radius:10px;color:var(--upload-muted);background:transparent}.icon-button:hover:not(:disabled){color:var(--upload-accent);background:var(--upload-accent-soft)}.header-help{background:#fff;border-radius:50%}.main-content{width:100%;max-width:988px;margin:0 auto;padding:18px 24px 24px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:6px 0 28px}.page-intro p{margin-top:8px;color:var(--upload-muted);font-size:14px}.intro-handoff{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:#ffffffbf}.handoff-symbol{display:grid;place-items:center;flex-shrink:0;width:40px;height:44px;border-radius:12px;background:#e7e7ff;color:var(--upload-accent)}.intro-handoff strong,.intro-handoff span:not(.handoff-symbol){display:block}.intro-handoff strong{color:#464271;font-size:12px}.intro-handoff div>span{margin-top:3px;color:#696486;font-size:11px}.intro-handoff>.ui-icon{width:16px;color:#746f9a}.upload-card{scroll-margin-top:24px;padding:25px 28px 22px;border-radius:28px;background:#fff;box-shadow:var(--upload-shadow)}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.card-heading h2{position:relative;padding-bottom:10px;color:var(--upload-accent)}.card-heading h2:after{content:"";position:absolute;inset:auto 0 0;height:3px;border-radius:4px;background:var(--upload-accent)}.card-heading>span{color:var(--upload-muted);font-size:12px}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:290px;padding:30px 20px 28px;border:1.5px dashed #b8c3d3;border-radius:16px;background:#fafcff;color:var(--upload-text);text-align:center;transition:background .18s,border-color .18s,box-shadow .18s}.drop-zone:hover:not(:disabled),.drop-zone.is-dragging{border-color:var(--upload-accent);background:#f0f2ff;box-shadow:inset 0 0 0 3px #4f46e50d}.drop-zone:disabled{background:#f8fafc}.drop-zone:disabled .choose-file-label{color:#737c8d;background:#e9edf4;box-shadow:none}.file-illustrations{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:20px}.large-file{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:44px;height:53px;border-radius:11px;color:#fff;box-shadow:0 4px 8px #1e293b14}.large-file .ui-icon{width:22px;height:22px}.large-file b{font-size:8px;line-height:1;letter-spacing:.06em}.large-file.file-doc{background:#3479f6;transform:rotate(-8deg)}.large-file.file-pdf{width:49px;height:59px;background:#ed4f59;transform:translateY(-4px)}.large-file.file-image{background:#e95185;transform:rotate(8deg)}.drop-title{font-size:17px;font-weight:700;line-height:1.6}.drop-description{margin-top:5px;color:var(--upload-muted);font-size:12px}.format-description{margin-top:10px;color:var(--upload-muted);font-size:11px}.choose-file-label{display:inline-flex;align-items:center;gap:5px;min-height:38px;margin-top:20px;padding:6px 20px;border-radius:10px;color:#fff;background:var(--upload-accent);font-size:13px;font-weight:600;box-shadow:0 3px 7px #4f46e529}.choose-file-label .ui-icon{width:16px;height:16px}.entry-details{display:flex;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;margin-top:17px;color:#59687e;font-size:11px;font-variant-numeric:tabular-nums}.entry-details>span:first-child{display:inline-flex;align-items:center;gap:5px}.entry-details .ui-icon{width:14px;height:14px}.configuration-note{margin-top:7px;color:var(--upload-muted);font-size:11px}.notice{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border-radius:10px;font-size:12px;overflow-wrap:anywhere}.main-content>.notice{margin-bottom:18px}.notice>.ui-icon{width:17px;height:17px;margin-top:1px}.notice>span{flex:1;min-width:0}.notice-info{margin-top:14px;color:#4338a5;background:#f0efff}.notice-warning{margin-top:14px;color:var(--upload-warning);background:#fff7e8}.notice-error{margin-top:16px;color:var(--upload-danger);background:#fff1f2}.selection-notice{margin-top:14px;color:var(--upload-warning);font-size:12px;overflow-wrap:anywhere}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:7px;min-height:40px;padding:9px 18px;border-radius:10px;font-size:13px;font-weight:600;transition:background .16s,border-color .16s}.primary-button{border:1px solid transparent;background:var(--upload-accent);color:#fff}.primary-button:hover:not(:disabled){background:var(--upload-accent-hover)}.primary-button .ui-icon,.secondary-button .ui-icon{width:16px;height:16px}.secondary-button{border:1px solid #dce2ed;color:#536278;background:#fff}.secondary-button:hover:not(:disabled){color:var(--upload-accent);border-color:#a5a8f8;background:#f8f9ff}.text-button{min-height:32px;padding:4px 0;border:0;background:transparent;color:var(--upload-accent);font-size:12px}.text-button:hover:not(:disabled){color:var(--upload-accent-hover);text-decoration:underline;text-underline-offset:3px}.upload-queue{margin-top:24px;border-top:1px solid var(--upload-line)}.queue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 7px}.queue-heading h3{display:flex;align-items:center;gap:8px}.queue-heading h3>span{color:var(--upload-muted);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}.queue-list{max-height:340px;margin:0;padding:0 6px 0 0;list-style:none;overflow-y:auto;scrollbar-color:#c7c9e5 transparent;scrollbar-width:thin}.queue-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0}.queue-row+.queue-row{border-top:1px solid #f0f2f7}.file-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:42px;border-radius:8px;color:#536278;background:#eef1f6;font-size:9px;font-weight:750;letter-spacing:.025em}.file-badge.file-pdf{color:#c33749;background:#fff0f1}.file-badge.file-doc{color:#2362c9;background:#edf3ff}.file-badge.file-sheet{color:#087b56;background:#e8f7f0}.file-badge.file-slides{color:#b05a15;background:#fff2e6}.file-badge.file-image{color:#b83575;background:#fff0f7}.queue-file{flex:1;min-width:0}.queue-file>strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.file-meta{display:block;margin-top:3px;color:var(--upload-muted);font-size:11px;font-variant-numeric:tabular-nums}.queue-state{margin-left:12px}.state-uploading{color:var(--upload-accent)}.state-uploaded,.uploaded-mark{color:var(--upload-success)}.state-failed,.queue-file .item-error{color:var(--upload-danger)}.state-uncertain{color:var(--upload-warning)}.queue-file p{margin-top:5px;color:var(--upload-muted);font-size:11px;overflow-wrap:anywhere}.queue-file .confirm-retry{margin-top:3px;text-align:left}.remove-file{width:32px;height:32px}.remove-file .ui-icon{width:16px;height:16px}.uploaded-mark{display:grid;place-items:center;width:32px;height:32px}progress{display:block;width:100%;height:5px;margin-top:9px;overflow:hidden;border:0;border-radius:5px;accent-color:var(--upload-accent);background:#e8ebf4}progress::-webkit-progress-bar{border-radius:5px;background:#e8ebf4}progress::-webkit-progress-value{border-radius:5px;background:var(--upload-accent);transition:width .18s}progress::-moz-progress-bar{border-radius:5px;background:var(--upload-accent)}.queue-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:8px;padding-top:18px;border-top:1px solid var(--upload-line)}.queue-footer strong{display:block;font-size:12px;font-weight:650}.queue-footer>div>span{display:block;margin-top:3px;color:var(--upload-muted);font-size:11px}.batch-result{margin-top:10px;color:var(--upload-muted);font-size:11px}.records-section{margin-top:28px;scroll-margin-top:24px}.records-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.records-heading h2{display:flex;align-items:center;gap:9px;font-size:15px}.record-count{padding:0 7px;border-radius:5px;color:#5b55b2;background:#eae9ff;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.records-heading p{margin-top:4px;color:var(--upload-muted);font-size:11px}.records-heading .secondary-button{min-height:34px;padding:6px 11px;font-size:12px}.records-card{overflow:hidden;border-radius:16px;background:#fff;box-shadow:var(--upload-shadow)}.records-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.records-table th{padding:12px 18px;color:var(--upload-muted);background:#fafbfe;font-size:11px;font-weight:500}.records-table th:nth-child(1){width:45%}.records-table th:nth-child(2){width:24%}.records-table th:nth-child(3){width:12%}.records-table th:nth-child(4){width:19%}.records-table td{padding:18px;border-top:1px solid #eff2f7;vertical-align:middle}.records-table tbody tr:hover{background:#fcfcff}.record-file{position:relative}.record-file>.file-badge{position:absolute;top:50%;left:18px;transform:translateY(-50%)}.record-file>div{min-width:0;padding-left:48px}.record-file strong{display:block;overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.state-badge{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:2px 7px;border-radius:5px;color:#556275;background:#f1f3f7;font-size:11px;white-space:nowrap}.state-badge .ui-icon{width:12px;height:12px}.file-state-READY{color:var(--upload-success);background:#edf8f2}.file-state-PROCESSING{color:#5147b7;background:#f1efff}.file-state-FAILED{color:var(--upload-danger);background:#fff0f1}.processing-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.record-failure{margin-top:6px;color:var(--upload-danger);font-size:11px;overflow-wrap:anywhere}.record-pages{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.record-pages>span{color:var(--upload-muted);font-size:11px}.record-time{color:var(--upload-muted);font-size:11px;font-variant-numeric:tabular-nums}.records-empty{padding:34px 20px 32px;text-align:center}.records-empty>span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:12px;color:#9690cc;background:#f4f3ff}.records-empty h3{font-size:13px;font-weight:500}.records-empty p{margin-top:4px;color:var(--upload-muted);font-size:12px}.records-footnote{display:flex;align-items:flex-start;gap:6px;margin-top:12px;color:var(--upload-muted);font-size:11px}.records-footnote .ui-icon{width:14px;height:14px;margin-top:2px}.local-finish{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding:20px;border-radius:16px;background:#ebeaff}.local-finish strong{color:#3c357c;font-size:13px}.local-finish p{margin-top:4px;color:#655f83;font-size:12px}.upload-help{margin-top:30px;border-top:1px solid #dfe5f1;border-bottom:1px solid #dfe5f1;scroll-margin-top:24px}.upload-help summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:55px;padding:12px 2px;cursor:pointer;list-style:none;color:#536278;font-size:12px}.upload-help summary::-webkit-details-marker{display:none}.upload-help summary>span{display:flex;align-items:center;gap:7px}.upload-help summary .ui-icon{width:16px;height:16px}.upload-help[open] summary>.ui-icon{transform:rotate(45deg)}.help-content{padding:0 2px 18px;color:var(--upload-muted);font-size:12px}.help-content ol{display:flex;gap:30px;margin:5px 0 18px;padding-left:20px}.help-content li{flex:1;padding-left:3px}.help-content li::marker{color:#5147b7;font-variant-numeric:tabular-nums}.help-content strong{color:#46536a;font-size:12px;font-weight:600}.help-content li p{margin-top:5px}.page-footer{padding-top:20px;color:#68778d;font-size:11px;text-align:center}.connection-panel{min-height:340px;padding:55px 28px;border-radius:28px;background:#fff;box-shadow:var(--upload-shadow);text-align:center}.connection-panel h2{margin-top:17px;font-size:18px}.connection-panel p{max-width:440px;margin:10px auto 0;color:#59687e;font-size:13px;overflow-wrap:anywhere}.connection-panel p.muted{margin-top:13px;color:var(--upload-muted);font-size:12px}.connection-panel .primary-button{margin-top:23px}.connection-icon{display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:16px;color:#6960bd;background:#f0efff}.connection-icon .ui-icon{width:24px;height:24px}.loading-ring{display:block;width:30px;height:30px;margin:auto;border:2px solid #e8e6fd;border-top-color:var(--upload-accent);border-radius:50%;animation:loading-spin .9s linear infinite}.skeleton-line{width:240px;max-width:80%;height:10px;margin:28px auto 0;border-radius:5px;background:#f0f2f8}.skeleton-line.short{width:160px;margin-top:10px}@keyframes loading-spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.main-content{padding-top:34px}}@media(max-width:1000px){.intro-handoff{display:none}.workspace-header{padding-inline:24px}.main-content{padding-top:12px}.upload-card{padding:22px}.records-table th,.records-table td{padding-inline:14px}.record-file>.file-badge{left:14px}}@media(max-width:680px){:root{font-size:14px}.side-rail{display:none}.workspace{margin-left:0;background:var(--upload-page)}.workspace-header,.page-intro,.card-heading,.entry-details,.configuration-note,.records-footnote,.upload-help,.page-footer{display:none}.workspace-name{gap:6px;font-size:11px}.workspace-name>.ui-icon{width:17px;height:17px}.workspace-name>.header-divider,.workspace-name>span:last-child{display:none}.entry-status{padding:4px 9px;font-size:10px}.header-help{width:32px;height:32px}.header-actions{gap:6px}.main-content{padding:calc(16px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom))}h1{font-size:24px}.page-intro{margin:2px 0 21px}.page-intro p{margin-top:7px;font-size:12px}.upload-card{padding:19px 16px 17px;border-radius:22px}.card-heading{gap:8px;margin-bottom:16px}.card-heading>span{max-width:170px;font-size:10px;text-align:right}.card-heading h2{padding-bottom:8px;font-size:15px;white-space:nowrap}.drop-zone{min-height:280px;padding:27px 13px 24px;border-radius:14px}.drop-title{font-size:15px}.drop-description{font-size:11px}.format-description{font-size:10px}.choose-file-label{min-height:42px;margin-top:17px;padding-inline:22px}.queue-row{gap:9px}.queue-list{max-height:330px}.queue-footer{align-items:stretch;flex-direction:column;gap:12px}.queue-footer .primary-button,.queue-heading .text-button{min-height:44px}.remove-file{width:40px;height:40px;margin-right:-5px}.records-section{margin-top:24px}.records-heading{margin-bottom:12px}.records-heading .secondary-button{min-height:40px}.records-heading p{font-size:10px}.records-table,.records-table tbody{display:block}.records-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.records-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:17px 16px 14px}.records-table tr+tr{border-top:1px solid var(--upload-line)}.records-table td{display:block;padding:0;border:0}.records-table .record-file{grid-column:1 / -1;min-height:42px}.record-file>.file-badge{left:0}.record-file>div{padding-left:47px}.record-file strong{padding-right:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.record-file progress{margin-top:8px}.record-retry{display:block;min-height:44px;text-align:left}.records-table .record-state{grid-column:1;grid-row:2;padding-left:47px}.record-failure{max-width:100%}.records-table .record-pages{grid-column:2;grid-row:2;align-self:start;padding-top:3px;font-size:11px}.records-table .record-time{grid-column:1 / -1;grid-row:3;padding-left:47px;font-size:10px}.records-empty{padding:28px 14px}.records-footnote{font-size:10px}.local-finish{flex-direction:column;align-items:stretch;padding:0;border-radius:0;background:transparent}.local-finish .primary-button{min-height:46px}.help-content ol{flex-direction:column;gap:15px}.upload-help{margin-top:24px}.upload-help summary{min-height:52px}.connection-panel{min-height:320px;padding:40px 22px;border-radius:22px}.skip-link{left:16px}.is-local .drop-title{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}:root,page{--ps-primary: #1677FF;--ps-text: #262626;--ps-text-secondary: #595959;--ps-disabled: #8C8C8C;--ps-page: #F5F7FA;--ps-surface: #FFFFFF;--ps-border: #D9D9D9;--ps-success: #237804;--ps-warning: #AD6800;--ps-danger: #CF1322;--ps-space-1: 4px;--ps-space-2: 8px;--ps-space-3: 12px;--ps-space-4: 16px;--ps-space-6: 24px;--ps-space-8: 32px;--ps-radius-control: 8px;--ps-radius-mobile: 12px;--ps-radius-admin: 8px;--ps-font-body: 14px;--ps-font-secondary: 12px;--ps-font-heading: 20px}
