.tool-nav{position:relative;display:flex;align-items:center}.tool-nav>.app-tab{cursor:pointer}.tool-menu{position:absolute;z-index:40;top:calc(100% + 8px);left:0;min-width:210px;padding:10px;background:#fff;border:1px solid #d9e5eb;border-radius:13px;box-shadow:0 16px 34px #102f4560}.tool-menu[hidden]{display:none}.tool-menu button{display:block;width:100%;padding:12px 14px;border:0;border-radius:8px;background:transparent;color:#183247;font:inherit;font-weight:800;text-align:left;cursor:pointer}.tool-menu button:hover,.tool-menu button:focus-visible{background:#e8f5f5;color:#087f79}
#toolView{overflow:visible}.pt-shell{padding:24px;color:#183247}.pt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}.pt-head h1{margin:0 0 5px;font-size:1.6rem}.pt-head p{margin:0;color:#607686}.pt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pt-actions button,.pt-file-button{min-height:38px;padding:8px 12px;border:1px solid #b8cbd5;border-radius:9px;background:#fff;color:#164e63;font:inherit;font-weight:800;cursor:pointer}.pt-actions button:hover:not(:disabled),.pt-file-button:hover{background:#e8f5f5}.pt-actions button:disabled{opacity:.45;cursor:not-allowed}.pt-mode{display:flex;gap:3px;padding:3px;border:1px solid #b8cbd5;border-radius:10px;background:#edf5f7}.pt-mode button{border:0;background:transparent}.pt-mode button.selected{background:#117e76;color:#fff}.pt-status{min-height:1.5em;margin:12px 0;color:#365b69}.pt-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px;align-items:start}.pt-drop{display:grid;place-items:center;min-height:420px;border:2px dashed #9dc0cc;border-radius:14px;background:#f4f9fb;overflow:hidden}.pt-drop.drag-over{border-color:#087f79;background:#e3f6f3}.pt-placeholder{display:grid;gap:10px;place-items:center;padding:40px;color:#416678;font-size:1.2rem;font-weight:800;text-align:center;cursor:pointer}.pt-placeholder small{font-size:.84rem;font-weight:500}.pt-placeholder[hidden],.pt-stage[hidden],.pt-lens[hidden]{display:none}.pt-stage{position:relative;display:block;width:max-content;max-width:100%;line-height:0}.pt-stage canvas#ptPhoto{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}.pt-stage canvas#ptOverlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.pt-lens{position:absolute;z-index:3;width:144px;height:144px;border:2px solid #117e76;border-radius:50%;background:#fff;box-shadow:0 8px 24px #102f4560;pointer-events:none}.pt-results{padding:16px;border:1px solid #d9e5eb;border-radius:12px;background:#fff}.pt-results h2{margin:0 0 10px;font-size:1.1rem}.pt-results p{margin:0;color:#607686;font-size:.88rem}.pt-results ol{display:grid;gap:8px;list-style:none;padding:0;margin:12px 0 0}.pt-results li{padding:10px;border-left:4px solid var(--pt-color);border-radius:7px;background:#f3f8fa;font-weight:800;font-variant-numeric:tabular-nums}@media(max-width:850px){.pt-shell{padding:14px}.pt-layout{grid-template-columns:1fr}.pt-drop{min-height:280px}.pt-results{order:2}}
.pt-lens-zoom{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #b8cbd5;border-radius:10px;background:#edf5f7}.pt-lens-zoom button{min-height:32px;padding:5px 9px;border:0;background:transparent}.pt-lens-zoom output{min-width:3.5em;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.tool-menu{top:100%}
.pt-stage{width:fit-content}
.pt-stage canvas#ptPhoto{width:auto;max-width:100%;max-height:75vh;object-fit:fill}
.pt-stage canvas#ptPhoto{width:100%;max-width:none;max-height:none}
.pt-head{padding:0;background:transparent;color:#183247}
