.pdf-workbench{grid-template-columns:minmax(0,1fr) 232px;align-items:start;gap:32px;display:grid}.pdf-workbench>*{min-width:0}.pdf-workbench button,.pdf-workbench a{transition:background-color .15s,border-color .15s}.pdf-workbench svg:not(.pdf-preview){flex:none;width:18px;height:18px}.pdf-workbench .pdf-paper-stack svg{width:30px;height:30px}.pdf-workbench :focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}.pdf-workbench button:disabled{cursor:not-allowed}.pdf-empty{border:1px dashed var(--color-input);border-radius:var(--radius-panel);text-align:center;background:var(--color-surface);flex-direction:column;justify-content:center;align-items:center;min-height:364px;padding:40px 24px;display:flex}.pdf-empty h2{letter-spacing:-.03em;margin:24px 0 6px;font-size:21px;font-weight:600}.pdf-empty p{color:var(--color-muted-foreground);margin:0;font-size:14px;line-height:1.6}.pdf-empty .pdf-upload-action{min-height:48px;box-shadow:var(--pdf-shadow);gap:10px;margin-top:24px;padding:12px 24px;font-size:14px;font-weight:500}.pdf-drop-hint{color:var(--color-muted-foreground);margin-top:12px;font-size:12px;line-height:1.6}.pdf-paper-stack{isolation:isolate;width:112px;height:88px;position:relative}.pdf-paper-stack>span{border:1px solid var(--color-border);background:var(--color-surface);width:66px;height:82px;box-shadow:var(--pdf-shadow);border-radius:6px;display:block;position:absolute;top:2px;left:24px}.pdf-paper-stack>span:first-child{background:var(--color-surface-inset);transform:rotate(-15deg)translate(-12px)}.pdf-paper-stack>span:nth-child(2){background:var(--color-surface-inset);transform:rotate(12deg)translate(10px)}.pdf-paper-stack>span:last-child{color:var(--color-muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;transform:rotate(-2deg)}.pdf-paper-stack i{background:var(--color-border);border-radius:2px;width:32px;height:2px}.pdf-paper-stack i:last-child{align-self:flex-start;width:24px;margin-left:16px}.pdf-pages>.pdf-limits{color:var(--color-muted-foreground);margin:12px 0 0;padding-inline:2px;font-size:12px;line-height:1.7}.pdf-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.pdf-header h2{align-items:center;gap:10px;font-size:18px;font-weight:600;display:flex}.pdf-header p{color:var(--color-muted-foreground);margin-top:4px;font-size:13px}.pdf-header button{min-height:44px;box-shadow:var(--pdf-shadow);font-size:13px;font-weight:500}.pdf-count{background:var(--color-secondary);border-radius:6px;place-items:center;min-width:24px;height:24px;font-size:12px;font-weight:500;display:inline-grid}.pdf-settings{border-left:1px solid var(--color-border);padding-top:2px;padding-left:28px}.pdf-settings-heading{align-items:center;gap:8px;display:flex}.pdf-settings-heading>svg{color:var(--color-muted-foreground)}.pdf-settings h2{letter-spacing:-.02em;font-size:16px;font-weight:600}.pdf-settings>p:first-of-type{color:var(--color-muted-foreground);margin-top:6px;font-size:13px;line-height:1.6}.pdf-settings fieldset{border:0;gap:20px;min-width:0;margin:24px 0 0;padding:0;display:grid}.pdf-setting label{margin:0 0 8px;font-size:13px;font-weight:500;display:block}.pdf-setting select{appearance:none;border:1px solid var(--color-input);border-radius:var(--radius-control);background:var(--color-surface);width:100%;height:44px;min-height:44px;color:var(--color-foreground);font:inherit;box-shadow:var(--pdf-shadow);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='m5 6 3 3 3-3' stroke='%23525252' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding:8px 32px 8px 12px;font-size:14px;line-height:1.5}.pdf-setting select:disabled{opacity:.55;cursor:not-allowed;background-color:var(--color-surface-inset)}.pdf-setting-note{color:var(--color-muted-foreground);margin:0;font-size:12px;line-height:1.7}.pdf-settings .pdf-create-action{width:100%;min-height:48px;box-shadow:var(--pdf-shadow);justify-content:space-between;margin-top:24px;padding:12px 16px;font-size:14px;font-weight:500;transition:none}.pdf-settings .pdf-create-action:disabled{opacity:1;background:var(--color-secondary);color:var(--color-muted-foreground);box-shadow:none}.pdf-local-note{color:var(--color-muted-foreground);justify-content:center;align-items:flex-start;gap:6px;margin-top:16px;font-size:12px;line-height:1.7;display:flex}.pdf-local-note>svg{margin-top:3px;width:13px!important;height:13px!important}.pdf-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 0;padding:0;list-style:none;display:grid}.pdf-list:empty{display:none}.pdf-page{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;min-width:0;overflow:hidden}.pdf-preview-surface{background:var(--color-surface-inset);border-bottom:1px solid var(--color-border);justify-content:center;align-items:center;height:188px;padding:20px;display:flex}.pdf-preview{background:var(--color-surface);width:auto;max-width:100%;height:auto;max-height:148px;box-shadow:var(--pdf-paper-shadow);border:1px solid var(--color-border)}.pdf-placeholder{width:100px;height:140px;color:var(--color-muted-foreground);place-items:center;display:grid}.pdf-page-detail{min-width:0;padding:12px}.pdf-page-caption{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.pdf-page-caption strong{font-weight:600}.pdf-page-caption>span{color:var(--color-muted-foreground);font-size:12px}.pdf-page-name{overflow-wrap:anywhere;color:var(--color-muted-foreground);margin-top:4px;font-size:12px;line-height:1.6;display:block}.pdf-controls,.pdf-actions,.pdf-after{flex-wrap:wrap;gap:8px;display:flex}.pdf-controls{border-top:1px solid var(--color-border);justify-content:space-between;gap:4px;margin-top:12px;padding-top:8px}.pdf-controls button{width:44px;height:44px;min-height:44px;color:var(--color-foreground);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.pdf-controls button:not(:disabled):hover{background:var(--color-secondary)}.pdf-controls button:disabled{opacity:.35}.pdf-actions{margin-top:16px}.pdf-actions:empty{display:none}.pdf-actions a{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.pdf-actions .compression-primary{width:auto;min-width:164px}.pdf-after{border-top:1px solid var(--color-border);gap:20px;margin-top:16px;padding-top:12px}.pdf-workbench .pdf-error{color:var(--color-danger);border-left:2px solid var(--color-danger);background:var(--color-danger-surface);border-radius:0 6px 6px 0;margin-top:16px;padding:12px 16px;font-size:13px;line-height:1.6}.pdf-status{color:var(--color-muted-foreground);margin-top:16px;font-size:13px;line-height:1.7}.pdf-status-ready{background:var(--color-surface-inset);color:var(--color-foreground);border-radius:8px;padding:12px 16px}.pdf-status:empty{display:none}@media (width<=1099px){.pdf-workbench{grid-template-columns:minmax(0,1fr);gap:28px}.pdf-settings{border-left:0;border-top:1px solid var(--color-border);padding:24px 0 0}.pdf-settings fieldset{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.pdf-setting-note{grid-column:1/-1}.pdf-settings .pdf-create-action{max-width:280px}.pdf-local-note{justify-content:flex-start}}@media (width<=767px){.pdf-empty{min-height:302px;padding:24px 16px}.pdf-empty h2{margin-top:20px;font-size:20px}.pdf-empty .pdf-upload-action{margin-top:20px}.pdf-empty p{font-size:13px}.pdf-paper-stack{margin:-4px 0;transform:scale(.9)}.pdf-settings fieldset{grid-template-columns:minmax(0,1fr);gap:16px}.pdf-setting{grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;display:grid}.pdf-setting label{margin:0;font-size:13px}.pdf-setting select{font-size:16px}.pdf-setting-note{margin-top:4px}.pdf-settings .pdf-create-action{max-width:none;margin-top:20px}.pdf-header{align-items:flex-start}.pdf-list{grid-template-columns:minmax(0,1fr);gap:12px}.pdf-page{grid-template-columns:80px minmax(0,1fr);align-items:stretch;display:grid}.pdf-preview-surface{border-bottom:0;border-right:1px solid var(--color-border);height:100%;min-height:152px;padding:12px}.pdf-preview{max-width:64px;max-height:104px}.pdf-page-detail{padding:12px 8px 8px 12px}.pdf-controls{gap:0}.pdf-controls button{width:44px;min-width:44px;height:44px}.pdf-actions,.pdf-after{gap:12px}}@media (prefers-reduced-motion:reduce){.pdf-workbench button,.pdf-workbench a{transition:none}}
