.pdf-annotation-host{grid-column:1/-1;min-width:0}.pdf-annotation-preview{grid-column:1/-1;min-width:0;margin-block:12px}.pdf-annotation-preview [hidden]{display:none!important}.pdf-annotation-pages{justify-content:center;align-items:center;gap:8px;margin-block:8px;display:flex}.pdf-annotation-pages button{flex:none;width:40px;height:40px;padding:8px}.pdf-annotation-pages button svg{width:20px;height:20px;display:block}.pdf-annotation-preview h3{margin:0;font-size:1rem}.pdf-annotation-pages label{align-items:center;gap:6px;font-size:.8rem;display:flex}.pdf-annotation-pages select{border:1px solid var(--border);background:var(--surface);width:auto;min-width:70px;max-width:120px;height:40px;color:var(--text);font:inherit;border-radius:8px;padding:6px}.pdf-annotation-preview .office-help{color:var(--muted);font-size:.8rem;line-height:1.6}.pdf-annotation-stage{background:#e2e8f0;border-radius:8px;place-items:center;min-width:0;padding:16px;display:grid}:root[data-theme=dark] .pdf-annotation-stage{background:#202b3b}.pdf-annotation-stage button{cursor:zoom-in;background:0 0;border:0;max-width:100%;padding:0;line-height:0}.pdf-annotation-stage img{background:#fff;border:1px solid #94a3b8;width:auto;max-width:100%;height:auto;max-height:430px;display:block;box-shadow:0 3px 12px #0f172a35}.pdf-annotation-preview input[type=file]{width:100%;min-width:0;font-size:.8rem}@media (width<=700px){.pdf-annotation-stage{padding:12px}.pdf-annotation-stage img{max-height:320px}.pdf-annotation-preview input{font-size:16px}}.pdf-page-picker-host{grid-column:1/-1;min-width:0}.pdf-page-picker .pdf-annotation-pages button{width:44px;height:44px}.pdf-page-picker .pdf-annotation-stage{box-sizing:border-box;height:430px}.pdf-page-picker .pdf-annotation-stage img{max-height:398px}@media (width<=700px){.pdf-page-picker .pdf-annotation-stage{height:320px}.pdf-page-picker .pdf-annotation-stage img{max-height:296px}}.pdf-page-picker .office-check{align-items:center;gap:10px;min-height:44px;font-size:.9rem;display:flex}.pdf-page-picker input[type=checkbox]{flex:none;width:20px;height:20px}.pdf-range-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-block:8px;font-size:.8rem;display:flex}.pdf-page-picker .pdf-range-actions button,.pdf-selected-ranges button{flex:none;width:44px;height:44px;padding:10px}.pdf-range-actions svg,.pdf-selected-ranges svg{width:20px;height:20px;display:block}.pdf-selected-ranges{flex-wrap:wrap;gap:8px;margin:10px 0;padding:0;list-style:none;display:flex}.pdf-selected-ranges li{background:var(--surface-soft,#f1f5f9);border-radius:8px;align-items:center;gap:4px;padding-left:10px;font-size:.8rem;display:flex}.pdf-page-picker .error{color:var(--error,#b91c1c)}.pdf-order-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.pdf-order-layout>*{min-width:0}.pdf-order-layout>ol{overscroll-behavior:contain;max-height:480px;padding:2px;overflow-y:auto}.pdf-order-layout>[data-pdf-organize-preview]{position:sticky;top:16px}.pdf-order-layout .pdf-order-row{flex-wrap:wrap;gap:6px}.pdf-order-layout .pdf-row-controls{margin-left:auto}.pdf-page-select{text-align:left;min-width:0;min-height:44px;color:var(--text);font:inherit;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;flex:100%;padding:4px}.pdf-page-select small{color:var(--muted);font-size:.8rem;display:block}.pdf-order-row.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--surface))}.pdf-organize-preview .pdf-annotation-stage{height:360px}.pdf-organize-preview .pdf-annotation-stage img{max-height:328px}.pdf-organize-preview .pdf-annotation-pages button{width:44px;height:44px}.pdf-organize-preview .pdf-annotation-stage>p{text-align:center}.office-input-order{gap:8px;margin:8px 0;padding:0;list-style:none;display:grid}.office-input-order li{border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;min-width:0;padding:8px;display:flex}.office-input-order span{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.82rem}.office-input-order .office-icon-action{flex:none;width:44px;height:44px;padding:10px}@media (width<=700px){.pdf-order-layout{grid-template-columns:minmax(0,1fr);gap:12px}.pdf-order-layout>[data-pdf-organize-preview]{grid-row:1;position:static}.pdf-order-layout>ol{max-height:300px}.pdf-organize-preview .pdf-annotation-stage{height:280px}.pdf-organize-preview .pdf-annotation-stage img{max-height:256px}.pdf-order-layout .pdf-order-row{flex-direction:row;align-items:center}.pdf-order-layout .pdf-page-select{flex-basis:100%}}
