body{margin:0;font-family:sans-serif;overflow:hidden}#speckle-viewer{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.toolbar{position:absolute;top:10px;left:10px;background:#ffffffe6;padding:5px;border-radius:5px;display:flex;gap:5px;box-shadow:0 2px 5px #0000001a;z-index:1000}.tool-btn{width:40px;height:40px;padding:0;border:1px solid #ccc;background:#fff;border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#333}.tool-btn.active{background:#007bff;color:#fff;border-color:#0056b3}.tool-btn:hover{background:#e9ecef}.tool-btn.active:hover{background:#0056b3}.tool-btn i{font-size:18px}.info-panel{position:absolute;top:60px;padding:0;border-radius:8px;z-index:1000;box-shadow:0 2px 10px #0000001a;max-width:350px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}#measurement-info-panel{left:10px;top:70px;width:140px;max-width:140px;background:#1e1e1ef2;color:#fff}#right-info-panel-container{right:10px;background:#fffffff2}.panel-content{padding:10px;overflow-y:auto;flex-grow:1;font-size:14px;line-height:1.5}.panel-content pre{background:#f4f4f4;border:1px solid #ddd;border-radius:3px;padding:10px;white-space:pre-wrap;word-break:break-all;font-size:12px;margin:0}#llm-prompt-window{position:absolute;bottom:10px;left:10px;width:350px;background:#fffffff2;border-radius:8px;box-shadow:0 2px 10px #0000001a;z-index:1000;display:flex;flex-direction:column;padding:10px;gap:8px}.prompt-header{font-weight:700;display:flex;justify-content:space-between;align-items:center}.context-status{font-size:11px;font-weight:400;color:#333;background-color:#e9ecef;padding:2px 6px;border-radius:4px}#llm-prompt-input{width:calc(100% - 10px);height:60px;border:1px solid #ccc;border-radius:3px;padding:5px;resize:vertical}.prompt-options{display:flex;align-items:center;font-size:12px;gap:15px}#send-to-llm-btn{padding:8px;background:#007bff;color:#fff;border:none;border-radius:3px;cursor:pointer}#send-to-llm-btn:hover{background:#0056b3}#send-to-llm-btn:disabled{background:#6c757d;cursor:not-allowed}.panel-toggle{display:flex;padding:0;border-bottom:1px solid #ddd;background:#f0f0f0}.toggle-btn{flex:1;padding:10px;border:none;background:transparent;cursor:pointer;font-weight:700;color:#666;border-bottom:3px solid transparent;transition:background-color .2s}.toggle-btn:hover{background:#e9ecef}.toggle-btn.active{color:#007bff;border-bottom:3px solid #007bff}#llm-output-panel h1,#llm-output-panel h2,#llm-output-panel h3{margin-top:1em;margin-bottom:.5em;line-height:1.2}#llm-output-panel p{margin-bottom:1em}#llm-output-panel ul,#llm-output-panel ol{padding-left:20px;margin-bottom:1em}#llm-output-panel li{margin-bottom:.25em}#llm-output-panel code{background-color:#e9ecef;padding:.2em .4em;font-size:85%;border-radius:3px;font-family:monospace}#llm-output-panel pre{background:#f4f4f4;border:1px solid #ddd;border-radius:3px;padding:10px;white-space:pre-wrap;word-break:break-all;font-size:13px}#llm-output-panel pre code{background-color:transparent;padding:0;font-size:inherit}#watermark-link{position:absolute;bottom:10px;right:50%;z-index:1001;color:#00000080;background-color:#ffffffb3;padding:3px 6px;border-radius:3px;font-size:18px;text-decoration:none;transition:color .2s}#watermark-link:hover{color:#000c;text-decoration:underline}
