*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f3f4f6;color:#111827;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{display:grid;grid-template-columns:320px 1fr;height:100vh;overflow:hidden}.toolbar{display:flex;flex-direction:column;gap:0;padding:16px 12px 16px 16px;background:#fff;border-right:1px solid #e5e7eb;overflow-y:auto;overscroll-behavior:contain;box-shadow:1px 0 #00000005}.toolbar-header{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f3f4f6}.toolbar h1{margin:0 0 2px;font-size:16px;font-weight:600;letter-spacing:-.01em;color:#111827}.desc{margin:0;font-size:11px;color:#9ca3af;line-height:1.5}.actions{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.actions button{display:flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:13px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease}.actions button:hover{background:#f9fafb;border-color:#9ca3af}.actions button:active{background:#f3f4f6;transform:scale(.985)}.actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}.actions button svg{flex-shrink:0;opacity:.7}.section-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;margin:16px 0 8px;padding:0;border:none}.section-label:first-of-type{margin-top:0}.zoom-controls{display:flex;align-items:center;gap:4px;margin-bottom:8px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:3px}.zoom-controls button{width:32px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:500;line-height:1;border:none;border-radius:6px;background:transparent;color:#6b7280;cursor:pointer;transition:all .15s ease}.zoom-controls button:hover{background:#e5e7eb;color:#374151}.zoom-controls button:active{background:#d1d5db}.zoom-level{flex:1;text-align:center;font-size:12px;font-weight:600;color:#374151;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-width:48px;letter-spacing:-.01em}#reset-view-btn{font-size:17px}.viewport-info{font-size:11px;color:#9ca3af;margin-bottom:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5;padding:0 2px}.toggle{display:flex;align-items:center;gap:10px;margin-bottom:6px;font-size:13px;color:#374151;cursor:pointer;-webkit-user-select:none;user-select:none;padding:6px 8px;border-radius:6px;transition:background .15s ease}.toggle:hover{background:#f9fafb}.toggle input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:36px;height:20px;border:none;border-radius:10px;background:#d1d5db;cursor:pointer;position:relative;flex-shrink:0;transition:background .2s ease}.toggle input[type=checkbox]:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .2s ease}.toggle input[type=checkbox]:checked{background:#3b82f6}.toggle input[type=checkbox]:checked:after{transform:translate(16px)}.toggle span{line-height:1.4}.landmark-info{font-size:11px;line-height:1.6;color:#6b7280;padding:8px 10px;background:#f9fafb;border-radius:6px;margin-bottom:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-height:2.4em;border:1px solid #f3f4f6}.anchor-type-group{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:8px}.anchor-type-btn{padding:7px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;font-size:12px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .15s ease;text-align:center;line-height:1.3}.anchor-type-btn:hover{background:#f9fafb;border-color:#d1d5db;color:#374151}.anchor-type-btn.active{background:#f0f0ff;border-color:#8b5cf6;color:#6d28d9}.anchor-actions{display:flex;align-items:center;gap:6px;margin-bottom:12px}.auto-fit-btn{display:flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease;flex-shrink:0}.auto-fit-btn:hover{background:#f9fafb;border-color:#9ca3af}.auto-fit-btn:active{background:#f3f4f6;transform:scale(.985)}.auto-fit-btn svg{flex-shrink:0;opacity:.6}.anchor-actions .toggle{margin-bottom:0;font-size:12px;padding:5px 6px}.anchor-actions .toggle input[type=checkbox]{width:30px;height:18px}.anchor-actions .toggle input[type=checkbox]:after{width:14px;height:14px}.anchor-actions .toggle input[type=checkbox]:checked:after{transform:translate(12px)}.anchor-info{font-size:11px;line-height:1.6;color:#9ca3af;padding:8px 10px;background:#f9fafb;border-radius:6px;margin-bottom:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-height:2em;border:1px solid #f3f4f6}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;display:flex;align-items:center;justify-content:center;z-index:1000}.dialog-box{background:#fff;border-radius:10px;padding:20px 24px;box-shadow:0 8px 30px #00000026;min-width:300px}.dialog-label{margin:0 0 10px;font-size:14px;font-weight:500;color:#374151}.dialog-input{width:100%;padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;outline:none;box-sizing:border-box}.dialog-input:focus{border-color:#8b5cf6}.dialog-buttons{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.dialog-btn{padding:7px 16px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:12px;font-weight:500;color:#374151;cursor:pointer}.dialog-btn-primary{background:#8b5cf6;color:#fff;border-color:#8b5cf6}.dialog-btn-primary:hover{background:#7c3aed}.drop-zone{padding:12px;border:1.5px dashed #d1d5db;border-radius:8px;text-align:center;font-size:11px;color:#9ca3af;margin-bottom:12px;transition:all .2s ease;background:#f9fafb;line-height:1.5}.drop-zone:hover{border-color:#9ca3af;background:#f3f4f6}.drop-zone.active{border-color:#3b82f6;background:#eff6ff;color:#3b82f6}.status{font-size:12px;line-height:1.5;color:#6b7280;margin-bottom:12px;padding:8px 10px;background:#f9fafb;border-radius:6px;min-height:2.2em}.status.error{color:#dc2626;background:#fef2f2}.export-result{margin:0;padding:10px 12px;background:#f9fafb;border-radius:8px;font-size:11px;line-height:1.5;white-space:pre-wrap;word-break:break-all;max-height:200px;overflow:auto;color:#6b7280;border:1px solid #f3f4f6}.canvas-container{position:relative;width:100%;height:100vh;overflow:hidden;min-height:0}.canvas-container canvas{border-radius:0;box-shadow:none}@media(max-width:960px){.app{grid-template-columns:1fr}}
