.ws{height:calc(100dvh - 64px - var(--resultbar-space,0px));background:var(--bg);min-width:0;min-height:0;color:var(--ink);flex-direction:column;display:flex}body.ws-route .resultbar{max-height:35dvh;margin:0;position:fixed;bottom:12px;left:50%;overflow-y:auto;transform:translate(-50%)}body.ws-route .foot{display:none}@media (max-width:899px){body.ws-route .resultbar{bottom:calc(76px + env(safe-area-inset-bottom))}}.ws-empty{text-align:center;max-width:640px;margin:0 auto;padding:48px 24px}.ws-empty h1{letter-spacing:-.025em;margin:0 0 8px;font-size:32px;font-weight:700}.ws-empty .sub{color:var(--mute);margin-bottom:24px}.dock{background:var(--panel);border-bottom:1px solid var(--line);flex:none;min-width:0}.fchips{background:var(--bg);border-bottom:1px solid var(--line);align-items:center;gap:8px;min-width:0;padding:6px 16px;display:flex;overflow-x:auto}[data-theme=dark] .fchips{background:#0e172b}.fchip{border:1px solid var(--line);background:var(--panel);max-width:280px;box-shadow:var(--shadow-sm);border-radius:12px;flex:none;align-items:center;padding:2px 4px 2px 8px;font-size:13.5px;transition:none;display:inline-flex}.fchip.on{border-color:var(--acc);background:var(--accsoft);font-weight:600}.fchip .ord{flex-direction:column;margin-right:4px;display:flex}.fchip .ord button{width:18px;height:12px;color:var(--mute);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.fchip .ord button:disabled{opacity:.25;cursor:default}.fchip .ord svg{width:12px;height:12px}.fchip .chipname{min-width:0;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:4px 6px;display:flex}.fchip .chipname span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fchip small{color:var(--mute);white-space:nowrap;font-size:11.5px;font-weight:400}.dirty{background:var(--acc);border-radius:50%;flex:none;width:7px;height:7px}.fchip .chipx{width:22px;height:22px;color:var(--mute);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;font-size:16px;line-height:1;display:grid;position:relative}.fchip .chipx:after{content:"";position:absolute;inset:-11px}.fchip .chipx:hover{background:color-mix(in srgb, var(--err) 15%, transparent);color:var(--err)}.fchips .add{background:var(--panel);border:1px dashed var(--line-strong);height:32px;color:var(--acct);cursor:pointer;white-space:nowrap;border-radius:10px;align-items:center;gap:4px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.fchips .add:hover{border-color:var(--acc);background:var(--accsoft)}.ask{background:var(--accsoft);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:14px;display:flex}.ask span{color:var(--ink);font-weight:500}.ribbon{background:var(--panel);border-bottom:1px solid var(--line);flex-direction:column;display:flex}.rg{border-bottom:1px solid var(--line);align-items:center;gap:4px;padding:2px 16px 0;display:flex;overflow-x:auto}.rg button{color:var(--mute);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 12px;font-size:13px;font-weight:600;transition:none}.rg button:hover{color:var(--ink)}.rg button[aria-selected=true]{color:var(--acct);border-bottom-color:var(--acct)}.ribbon-tier2{justify-content:space-between;align-items:center;gap:12px;padding:4px 16px;display:flex}.rc{align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.rb{min-width:64px;color:var(--ink);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px 8px;font-size:11.5px;font-weight:500;transition:none;display:inline-flex}.rb svg{width:18px;height:18px;color:var(--mute)}.rb:hover{background:var(--accsoft);border-color:var(--line)}.rb[aria-pressed=true]{background:var(--accsoft);border-color:var(--acc);color:var(--ink);font-weight:600}.rb[aria-pressed=true] svg{color:var(--acct)}.ws-quick{flex:none;align-items:center;gap:8px;display:flex}.ws-quick button{border:1px solid var(--line);background:var(--panel);height:34px;color:var(--ink);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.ws-quick button:disabled{opacity:.35;cursor:default}.btn.xuat{background:var(--acct);color:var(--acc-ink);border-color:var(--acct);font-weight:600}.btn.xuat:hover:not(:disabled){filter:brightness(.96)}.body{flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.files{border-right:1px solid var(--line);background:var(--panel);flex-direction:column;flex:none;gap:12px;width:218px;min-height:0;padding:12px 10px;display:flex;overflow-y:auto}.files .fh{color:var(--ink);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 4px 6px;font-size:13px;font-weight:700;display:flex}.files .fh button{color:var(--mute);cursor:pointer;background:0 0;border:0;font-size:14px}.th{background:0 0;border:2px solid #0000;border-radius:8px;flex-direction:column;align-items:center;padding:4px;transition:none;display:flex;position:relative}.th:hover{background:var(--accsoft)}.th[aria-current=true]{border-color:var(--acc);background:var(--accsoft)}.th>button{cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;width:100%;padding:0;display:flex}.th .pg{aspect-ratio:auto;background:var(--panel);width:100%;max-width:150px;min-height:120px;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:4px;overflow:hidden}.th .pg img{width:100%;height:auto;display:block}.th .tn{color:var(--mute);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.th[aria-current=true] .tn{color:var(--ink);background:color-mix(in srgb, var(--acct) 15%, transparent);font-weight:700}.th .ck{background:#ffffffe6;border-radius:4px;padding:2px;line-height:0;position:absolute;top:8px;left:8px;box-shadow:0 1px 3px #00000026}.th .ck input{width:16px;height:16px;accent-color:var(--acct);cursor:pointer;margin:0}.stagew{background:var(--bg);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}[data-theme=dark] .stagew{background:#0a1220}.stagew .view{flex:1;justify-content:stretch;align-items:stretch;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.stagew .view .pdf-wrap{flex:1;min-height:0;position:relative}.pdf-desk{justify-content:center;width:100%;height:100%;padding:24px;display:flex;overflow:auto}.pdf-paper-sheet{background:var(--page);border-radius:4px;margin:auto;position:relative;box-shadow:0 8px 30px #101c361f,0 2px 6px #101c360f}.sig-box-overlay{border:2px solid var(--acct);cursor:move;touch-action:none;z-index:15;background:#468afc0d;position:absolute}.sig-box-overlay .handle{background:var(--panel);border:2px solid var(--acct);border-radius:2px;width:10px;height:10px;position:absolute}.sig-box-overlay .handle.tl{cursor:nwse-resize;top:-6px;left:-6px}.sig-box-overlay .handle.tr{cursor:nesw-resize;top:-6px;right:-6px}.sig-box-overlay .handle.bl{cursor:nesw-resize;bottom:-6px;left:-6px}.sig-box-overlay .handle.br{cursor:nwse-resize;bottom:-6px;right:-6px}.sig-box-overlay .handle.tc{cursor:ns-resize;top:-6px;left:50%;transform:translate(-50%)}.sig-box-overlay .handle.bc{cursor:ns-resize;bottom:-6px;left:50%;transform:translate(-50%)}.sig-box-overlay .handle.ml{cursor:ew-resize;top:50%;left:-6px;transform:translateY(-50%)}.sig-box-overlay .handle.mr{cursor:ew-resize;top:50%;right:-6px;transform:translateY(-50%)}.sig-floating-bar{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);white-space:nowrap;z-index:20;border-radius:999px;gap:4px;padding:4px 8px;display:flex;position:absolute;top:-42px;left:50%;transform:translate(-50%)}.sig-floating-bar button{width:26px;height:26px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.sig-floating-bar button:hover{background:var(--accsoft);color:var(--acct)}.sig-floating-bar button.del:hover{color:var(--err);background:var(--errsoft)}.ctx{border-left:1px solid var(--line);background:var(--panel);flex-direction:column;flex:none;width:380px;min-height:0;display:flex;overflow:hidden;box-shadow:-2px 0 12px #101c360a}.ctxh{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:14px 18px;display:flex}.ctxh h4{min-width:0;color:var(--ink);flex:1;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700;line-height:1.4;display:flex}.ctxh h4 svg{flex:none;width:20px;height:20px}.ctxh button{width:44px;height:44px;color:var(--mute);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;font-size:20px;display:grid}.ctxh button:hover{background:var(--accsoft);color:var(--ink)}.pscroll{flex-direction:column;flex:1;gap:16px;min-height:0;padding:18px;display:flex;overflow-y:auto}.ctx .pscroll>*{flex-shrink:0;min-width:0}.ctx .pscroll label:not(.row){flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.ctx .pscroll .row{margin-top:0}.ctx .pscroll .btn{min-height:var(--control-h)}.ctx .pscroll input[type=range]{width:100%;min-height:24px;accent-color:var(--acct);margin:0}.ctx .num-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ctx .num-fields .jump{width:100%}.ctx .pos{flex-wrap:wrap;gap:8px;display:flex}.ctx .pos>button{min-height:var(--control-h);padding:8px 12px}.ctx .pos>button[aria-pressed=true]{background:var(--accsoft);border-color:var(--acct);color:var(--ink)}.ctx .signature-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ctx .signature-modes button{min-height:var(--control-h);font-size:14px;font-weight:600}.ws .ctx .signature-modes button[aria-pressed=true]{background:var(--accsoft);border-color:var(--acct);color:var(--ink);box-shadow:inset 0 -2px var(--acct)}.panel-desc{color:var(--mute);margin:0 0 4px;font-size:13.5px;line-height:1.45}.pos-grid-3x2{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pos-card{border:1px solid var(--line);background:var(--bg);cursor:pointer;color:var(--ink);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px 8px;font-size:12px;transition:none;display:flex}[data-theme=dark] .pos-card{background:#111b33}.pos-card:hover{border-color:var(--acc)}.pos-card[aria-pressed=true],.pos-card.active{border-color:var(--acct);background:var(--accsoft);color:var(--ink);font-weight:700}.pos-mini-page{background:var(--panel);border:1px solid var(--line-strong);border-radius:2px;width:28px;height:36px;position:relative}.pos-mini-dot{background:var(--acct);border-radius:1px;width:6px;height:6px;position:absolute}.pos-mini-dot.tl{top:3px;left:3px}.pos-mini-dot.tc{top:3px;left:50%;transform:translate(-50%)}.pos-mini-dot.tr{top:3px;right:3px}.pos-mini-dot.bl{bottom:3px;left:3px}.pos-mini-dot.bc{bottom:3px;left:50%;transform:translate(-50%)}.pos-mini-dot.br{bottom:3px;right:3px}.organize-view{background:var(--bg);flex:1;min-height:0;padding:24px;overflow-y:auto}[data-theme=dark] .organize-view{background:#0a1220}.organize-grid{grid-template-columns:repeat(4,1fr);gap:20px;max-width:1000px;margin:0 auto;display:grid}.organize-card{background:var(--panel);box-shadow:var(--shadow);cursor:pointer;border:2px solid #0000;border-radius:12px;flex-direction:column;padding:8px;transition:none;display:flex;position:relative}.organize-card.selected{border-color:var(--acct);box-shadow:0 0 0 3px var(--accsoft)}.organize-card-top{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.org-grip{color:var(--mute);cursor:grab}.org-grip svg{width:16px;height:16px}.ws .organize-card-top button,.ws .ctx .row>button,.ws .pos>button{background:var(--panel);color:var(--ink);border:1px solid var(--line-strong);border-radius:6px}.org-check input{width:18px;height:18px;accent-color:var(--acct);cursor:pointer}.organize-thumb{aspect-ratio:210/297;background:var(--bg);border:1px solid var(--line);border-radius:4px;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.organize-card-num{text-align:center;color:var(--ink);margin-top:6px;font-size:13px;font-weight:700}.organize-card.selected .organize-card-num{color:var(--acct)}.split-view-container{overflow-wrap:anywhere;background:var(--bg);flex-direction:column;flex:1;gap:24px;padding:24px;display:flex;overflow-y:auto}[data-theme=dark] .split-view-container{background:#0a1220}.split-source-box{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:16px;padding:20px}.split-source-title{margin:0 0 16px;font-size:16px;font-weight:700}.split-source-pages{gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.split-preview-group{border:2px dashed;border-radius:12px;flex-direction:column;gap:8px;padding:10px;display:flex}.split-preview-group.p1{background:#eff6ff;border-color:#3b82f6}.split-preview-group.p2{background:#ecfdf5;border-color:#10b981}.split-preview-group.p3{background:#f5f3ff;border-color:#8b5cf6}.split-results-preview{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px}.split-cards-row{gap:16px;padding-top:12px;display:flex;overflow-x:auto}.split-result-card{border:1px solid var(--line);background:var(--bg);border-radius:12px;flex:0 0 240px;padding:14px}.split-res-head{color:var(--ink);align-items:center;gap:8px;margin-bottom:8px;font-size:13.5px;font-weight:700;display:flex}.split-res-tag{background:var(--accsoft);color:var(--acct);border-radius:999px;padding:2px 6px;font-size:11px}.mergeview-deluxe{background:var(--bg);flex-direction:column;flex:1;gap:24px;padding:24px;display:flex;overflow-y:auto}[data-theme=dark] .mergeview-deluxe{background:#0a1220}.merge-sources-box{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:16px;padding:20px}.merge-sources-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.merge-sources-head h3{margin:0;font-size:16px;font-weight:700}.merge-file-list{flex-direction:column;gap:10px;display:flex}.merge-file-item{border:1px solid var(--line);background:var(--bg);border-radius:12px;align-items:center;gap:14px;padding:12px 16px;display:flex}.merge-handle{color:var(--mute);cursor:grab;flex:none}.merge-handle svg{width:18px;height:18px;display:block}.merge-arrows{flex-direction:column;gap:2px;display:flex}.merge-arrows button{border:1px solid var(--line);background:var(--panel);width:24px;height:20px;color:var(--ink);cursor:pointer;border-radius:4px;place-items:center;padding:0;display:grid}.merge-arrows button:disabled{opacity:.25;cursor:default}.merge-file-info{flex:1;min-width:0}.merge-file-name{overflow-wrap:anywhere;color:var(--ink);font-size:15px;font-weight:700;display:block}.merge-file-pages{white-space:nowrap;color:var(--mute);margin-top:4px;font-size:13px;display:block}.merge-file-thumbs{gap:6px;display:flex}.merge-file-thumbs .pg{background:var(--panel);border:1px solid var(--line);border-radius:4px;width:44px;height:56px;overflow:hidden;box-shadow:0 1px 3px #00000014}.merge-file-thumbs .pg img{object-fit:cover;width:100%;height:100%;display:block}.btn-remove-merge{width:28px;height:28px;color:var(--mute);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:18px}.btn-remove-merge:hover{background:var(--errsoft);color:var(--err)}.merge-result-preview-box{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:16px;padding:20px}.merge-result-head{justify-content:space-between;align-items:baseline;margin-bottom:12px;display:flex}.merge-result-head h3{margin:0;font-size:16px;font-weight:700}.merge-result-meta{color:var(--mute);font-size:13.5px}.merge-preview-strip{gap:12px;padding-bottom:10px;display:flex;overflow-x:auto}.merge-strip-item{flex-direction:column;align-items:center;gap:6px;display:flex}.merge-source-badge{background:var(--accsoft);color:var(--mute);white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:10.5px}.merge-strip-item .pg{border:1px solid var(--line);width:80px;height:104px;box-shadow:var(--shadow-sm);background:var(--panel);border-radius:6px;overflow:hidden}.merge-strip-item .pg img{object-fit:cover;width:100%;height:100%;display:block}.merge-strip-num{color:var(--ink);font-size:12px;font-weight:700}.merge-actions-container{justify-content:flex-end;align-items:center;gap:16px;padding:16px 0;display:flex}.btn-combine-main{background:var(--acct);height:48px;color:var(--acc-ink);cursor:pointer;border:0;border-radius:12px;padding:0 28px;font-size:15px;font-weight:700;box-shadow:0 4px 14px #0874ff40}.merge-privacy-subtext{color:var(--mute);font-size:11.5px}.export-panel-body{flex-direction:column;gap:18px;display:flex}.export-meta-card{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-size:13.5px}.export-meta-card b{overflow-wrap:anywhere;margin-bottom:2px;font-size:14.5px;display:block}.export-properties{border-block:1px solid var(--line);gap:12px;margin:0;padding-block:12px;font-size:13.5px;display:grid}.export-properties>div{grid-template-columns:90px minmax(0,1fr);align-items:baseline;gap:12px;display:grid}.export-properties dt{color:var(--mute)}.export-properties dd{color:var(--ink);margin:0;font-weight:500}.export-summary-list{background:var(--bg);border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:8px;padding:14px;display:flex}.export-sum-item{color:var(--ink);align-items:center;gap:8px;font-size:13px;display:flex}.export-sum-item svg{width:16px;height:16px;color:var(--ok);flex:none}.export-security-notice{color:var(--mute);background:var(--accsoft);border-left:3px solid var(--acct);border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.45}.vbar{background:var(--panel);border-top:1px solid var(--line);color:var(--mute);white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 14px;font-size:13px;display:flex;overflow-x:auto}.cluster{flex:none;align-items:center;gap:6px;display:inline-flex}.cluster.meta{color:var(--mute);gap:10px;font-size:12.5px}.cluster.meta .meta-size{background:var(--bg);border:1px solid var(--line);color:var(--ink);border-radius:999px;padding:2px 8px;font-weight:600}.cluster.meta .curstep{text-overflow:ellipsis;white-space:nowrap;max-width:180px;color:var(--acct);font-weight:600;overflow:hidden}.vbar .sep{display:none}.vbar .find{margin-left:auto}.vbar button{border:1px solid var(--line);background:var(--panel);min-width:30px;height:30px;color:var(--ink);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:4px;padding:0 8px;font-size:12.5px;display:inline-flex}.vbar button svg{width:16px;height:16px}.vbar button:hover:not(:disabled){background:var(--accsoft);border-color:var(--acc);color:var(--acct)}.vbar button.danger:hover:not(:disabled){background:var(--errsoft);border-color:var(--err);color:var(--err)}.toolhost{background:var(--bg);flex:1;min-height:0;padding:20px 28px 40px;overflow-y:auto}.toolhead{border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:12px}.toolhead h2{margin:8px 0 4px;font-size:22px}.toolhead .hint{margin:0}.toolback{border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.toolback:hover{background:var(--accsoft);color:var(--acct)}.histpop{z-index:60;background:var(--panel);border:1px solid var(--line-strong);width:min(360px,100vw - 32px);max-height:60vh;box-shadow:var(--shadow-lg);border-radius:14px;padding:14px 16px;position:fixed;top:214px;right:24px;overflow-y:auto}.histpop h4{margin:0 0 10px;font-size:15px}.histpop-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.histpop-head>button{color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:8px;width:32px;height:32px;font-size:22px}.histpop .steps{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.histpop .steps li{border-radius:8px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.histpop .steps li.cur{background:var(--accsoft);font-weight:600}.histpop .steps li .n{background:var(--bg);border:1px solid var(--line);border-radius:999px;flex:none;place-items:center;width:22px;height:22px;font-size:11.5px;font-weight:700;display:grid}.histpop .steps li button{border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:6px;height:26px;margin-left:auto;padding:0 8px;font-size:12px}.mobbar,.sheet{display:none}.num-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.thumbs{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin:12px 0;display:grid}.thumbs button{width:100%;color:inherit;border:1px solid var(--line);background:0 0;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:4px;font-size:.75rem;font-weight:500;display:flex}.thumb{flex-direction:column;gap:4px;min-width:0;display:flex}.thumb .row button{color:inherit;border:1px solid var(--line);background:0 0;flex:1;padding:4px 0}.thumbs button.on{background:var(--acc);color:var(--acc-ink);border-color:var(--acc)}.thumbs img,.thumbs .ph{aspect-ratio:3/4;object-fit:contain;background:var(--line);width:100%;height:160px;max-height:180px;display:block}.pages{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.pages button{min-width:36px;color:inherit;border:1px solid var(--line);background:0 0;padding:6px 8px}.pages button.on{background:var(--acc);color:var(--acc-ink);border-color:var(--acc)}@media (max-width:899px){.mobile-history{gap:8px;padding:4px 12px}.mobile-history button{white-space:nowrap;flex:1;justify-content:center;height:44px;padding:0 8px}.mobile-history svg{flex:none;width:16px;height:16px}.histpop.sheet{width:auto;max-height:calc(100dvh - 130px - env(safe-area-inset-bottom));top:auto;right:0}.histpop .steps li{padding:8px}.histpop .steps li>span:not(.n){overflow-wrap:anywhere;min-width:0}.histpop .steps li button{min-height:44px;color:var(--ink);flex:none}.merge-actions-container{bottom:calc(64px + env(safe-area-inset-bottom))}.ws{height:calc(100dvh - 65px - var(--resultbar-space,0px));padding-bottom:calc(64px + env(safe-area-inset-bottom))}.mobbar{height:calc(64px + env(safe-area-inset-bottom));z-index:40;background:var(--panel);border-top:1px solid var(--line);padding:6px 12px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #0000000f}.mob-nav-btn{color:var(--mute);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:center;gap:3px;min-height:44px;padding:4px 12px;font-size:12px;font-weight:600;display:flex}.mob-nav-btn svg{width:20px;height:20px}.mob-nav-btn[aria-pressed=true],.mob-nav-btn.active{color:var(--acct);background:var(--accsoft)}.mob-nav-btn.btn-export-mob{color:var(--acct);font-weight:700}.sheetback{z-index:45;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b132b73;position:fixed;inset:0}.sheet{z-index:50;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));background:var(--panel);max-height:calc(100dvh - 130px - env(safe-area-inset-bottom));box-shadow:var(--shadow-lg);border-radius:20px 20px 0 0;flex-direction:column;padding:16px;display:flex;position:fixed;overflow-y:auto}.sheet-handle{background:var(--line-strong);border-radius:999px;width:36px;height:4px;margin:0 auto 12px}.sheeth{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.sheeth h4{margin:0;font-size:17px;font-weight:700}.sheeth button{width:44px;height:44px;color:var(--mute);cursor:pointer;background:0 0;border:0;font-size:22px}.sig-adjust-sheet{border-radius:20px 20px 0 0;flex-direction:column;gap:14px;padding:16px 20px;display:flex}.sig-preview-card-mobile{background:var(--bg);border:1px dashed var(--line-strong);border-radius:10px;justify-content:center;align-items:center;min-height:52px;padding:14px;display:flex}.sig-slider-row{align-items:center;gap:12px;display:flex}.sig-slider-row input[type=range]{accent-color:var(--acct);flex:1}.sig-lock-ratio{align-items:center;gap:8px;font-size:13.5px;display:flex}.sig-lock-ratio svg{color:var(--mute);flex:none;width:18px!important;height:18px!important}.sig-actions-row{gap:10px;margin-top:8px;display:flex}.sig-actions-row button{border-radius:12px;flex:1;height:46px;font-size:15px;font-weight:600}.mobile-page-navigator{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);z-index:20;white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.mobile-page-navigator button{width:28px;height:28px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:relative}.mobile-page-navigator button:after{content:"";position:absolute;inset:-8px}.mobile-page-navigator button svg{width:16px;height:16px}.mob-nav-num{color:var(--ink);text-align:center;min-width:44px;font-size:13.5px;font-weight:700}.mob-nav-sep{background:var(--line);width:1px;height:18px}.ws.narrow .vbar{display:none!important}.fchips,.rc,.mob-chips-row,.merge-preview-strip,.split-source-pages,.split-cards-row{overscroll-behavior-x:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch}.sheet{overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}.mergeview-deluxe{gap:16px;padding:12px}.merge-sources-box,.merge-result-preview-box{padding:14px}.merge-file-item{flex-wrap:wrap;gap:8px;padding:10px}.merge-file-thumbs{order:4;width:100%;margin-top:4px}.merge-file-thumbs .pg{width:36px;height:48px}.btn-remove-merge{flex:none;width:44px;height:44px;margin-left:auto}.merge-arrows{flex:none;gap:6px}.merge-arrows button{border-radius:8px;width:44px;height:44px}.merge-actions-container{background:var(--panel);border-top:1px solid var(--line);z-index:25;flex-direction:column;align-items:stretch;gap:6px;margin:12px -12px -12px;padding:12px 14px;position:sticky;bottom:0;box-shadow:0 -6px 16px #101c3614}.merge-actions-container .btn-combine-main{width:100%;height:46px;font-size:15px}.merge-actions-container .btn.sec{width:100%;height:38px}.mob-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.mob-tool-card{border:1px solid var(--line);background:var(--bg);cursor:pointer;min-height:68px;color:var(--ink);text-align:left;border-radius:12px;align-items:center;gap:8px;min-width:0;padding:12px;display:flex}.mob-tool-card .ic{border-radius:10px;flex:none;width:32px;height:32px}.mob-tool-card span{font-size:13.5px;font-weight:600;line-height:1.35}.mob-tool-commands{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.mob-tool-commands .rb{white-space:normal;text-align:left;flex-direction:row;justify-content:flex-start;min-height:48px;font-size:13px}.mob-chips-row{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.mob-chip{border:1px solid var(--line);background:var(--bg);min-height:44px;color:var(--ink);white-space:nowrap;cursor:pointer;border-radius:999px;padding:6px 14px;font-family:inherit;font-size:13px;font-weight:600}.mob-chip[aria-pressed=true]{background:var(--accsoft);color:var(--ink);border-color:var(--acc)}.ws.narrow :is(.mob-nav-btn,.rb,.pos-card)[aria-pressed=true],.ws.narrow .btn.sec:hover:not(:disabled){color:var(--ink)}.ws.narrow .mob-nav-btn[aria-pressed=true] svg{color:var(--acct)}.files,.ctx{display:none}.sheet.ctx{border:0;width:auto;padding:0;display:flex}.sheet.ctx .ctxh{padding:10px 16px}.sheet.ctx .pscroll{gap:16px;padding:16px}.sheet.ctx :is(.input,.jump){border-radius:8px;min-height:44px;margin:0}.sheet.ctx .row{margin-top:0}.sheet.ctx .row:has(>:is(input[type=radio],input[type=checkbox])){min-height:44px}.sheet.ctx .export-panel-body{gap:16px}.sheet>.files,.sheet>.ctx{width:auto;max-height:none;box-shadow:none;border:0;flex:none;display:flex;position:static;overflow:visible}.sheet>.files{overflow:auto;-webkit-mask-image:linear-gradient(90deg,#0000,#000 16px calc(100% - 16px),#0000);mask-image:linear-gradient(90deg,#0000,#000 16px calc(100% - 16px),#0000)}.sheet .ctxh button{flex:none;width:44px;height:44px}.sheet .btn.xuat{min-height:46px;box-shadow:0 -8px 12px var(--panel);position:sticky;bottom:0}.organize-grid{grid-template-columns:repeat(2,1fr);gap:12px}}html:has(.sheet){overflow:hidden}body:has(.sheet){overflow:hidden}.ws:has(.sheet){overflow:hidden}
