/* Ücretsiz PDF araçları — ortak stiller (yalnızca .pt kapsayıcısı içinde) */
.pt{display:flex;flex-direction:column;gap:16px}
.pt .tool-shell{grid-template-columns:320px minmax(0,1fr)}
.pt-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.pt-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-height:220px;padding:28px 18px;border:2px dashed #c7cdd8;border-radius:var(--r);background:var(--surface);color:var(--muted);cursor:pointer;transition:border-color .15s,background .15s}
.pt-drop b{font-size:18px;color:var(--text)}
.pt-drop svg{color:var(--brand)}
.pt-drop:hover,.pt-drop.over,.pt-drop:focus-visible{border-color:var(--brand);background:var(--brand-soft);outline:none}
.pt-drop.compact{min-height:0;flex-direction:row;flex-wrap:wrap;padding:14px 16px}
.pt-drop.compact svg{width:24px;height:24px}
.pt-drop.compact b{font-size:15px}
.pt-privacy{display:flex;gap:10px;align-items:center;background:var(--brand-soft);color:#0f6e4c;border-radius:12px;padding:10px 14px;font-size:14px;font-weight:600;margin:0}
.pt-privacy svg{flex:none}
.pt-note{font-size:12.5px;color:var(--muted);margin:4px 0 0}
.pt-warn{background:var(--warn-soft);color:#92400e;border-radius:10px;padding:9px 12px;font-size:13px}
.pt-check{display:flex;gap:8px;align-items:center;font-size:14px;margin-bottom:10px;cursor:pointer}
.pt-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pt-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pt-bar .grow{flex:1}
.pt-file{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.pt-file .nm{min-width:0;flex:1}
.pt-file .nm b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.pt-file .nm span{font-size:12.5px;color:var(--muted)}
.pt-list{display:flex;flex-direction:column;gap:8px}
.pt-list .pt-file{cursor:grab}
.pt-tn{flex:none;width:52px;height:68px;display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.pt-tn canvas,.pt-tn img{max-width:100%;max-height:100%;display:block}
.pt-ib{width:34px;height:34px;padding:0;flex:none}
.pt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.pt-page{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;cursor:grab}
.pt-page .pv{height:170px;display:grid;place-items:center;background:var(--soft);border-radius:8px;overflow:hidden}
.pt-page .pv canvas,.pt-page .pv img{max-width:100%;max-height:160px;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:transform .2s;display:block}
.pt-page .ft{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:12.5px;color:var(--muted)}
.pt-page .acts{display:flex;gap:3px;justify-content:center}
.pt-page .acts .btn{flex:1 1 0;min-width:0;max-width:34px;height:30px;padding:0}
.pt-page.sel{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.pt-page.off{opacity:.45}
.dragging{opacity:.4}
.drop-at{outline:2px dashed var(--brand);outline-offset:2px}
.pt-prog{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.pt-prog progress{width:100%;height:10px;accent-color:var(--brand)}
.pt-done{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--ok-soft);border:1px solid #bbf7d0;border-radius:12px;padding:14px 16px}
.pt-done-ic{width:38px;height:38px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center;flex:none}
.pt-done-t{flex:1;min-width:160px;display:flex;flex-direction:column}
.pt-done-t span{font-size:13px;color:var(--muted)}
.pt-preview{background:var(--soft);border:1px solid var(--line);border-radius:var(--r);padding:16px;display:grid;place-items:center;min-height:300px}
.pt-preview canvas{display:block;width:auto;height:auto;max-width:100%;max-height:min(65vh,600px);box-shadow:0 2px 10px rgba(0,0,0,.15);background:#fff}
.pt-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pt-stats div{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}
.pt-stats b{display:block;font-size:20px;color:var(--navy)}
.pt-stats span{font-size:12.5px;color:var(--muted)}
.pt-pos{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.pt-pos button{height:34px;border:1px solid var(--line);background:var(--surface);border-radius:8px;cursor:pointer;font:600 12px Inter,sans-serif;color:var(--muted)}
.pt-pos button.on{background:var(--accent);color:#fff;border-color:var(--accent)}
.pt .seg button:focus-visible,.pt-pos button:focus-visible,.pt .btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.pt input[type=range]{width:100%}
@media (max-width:1020px){.pt .tool-shell{grid-template-columns:1fr}}
@media (max-width:560px){.pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-page .pv{height:140px}.pt-page .pv canvas{max-height:130px}.pt-stats{grid-template-columns:1fr 1fr 1fr}.pt-stats b{font-size:16px}.pt-drop{min-height:180px}}
