:root{font-family:system-ui,-apple-system,Microsoft YaHei,sans-serif;color:#e5e7eb;background:#252525;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,.editor-button,select{font:inherit;font-size:12px;color:#e5e7eb;background:#383838;border:1px solid #555;border-radius:5px;padding:6px 9px;cursor:pointer;white-space:nowrap}button:hover,.editor-button:hover{background:#4b4b4b}button:disabled,.editor-button:has(input:disabled){opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #b0aaff;outline-offset:2px}a{color:#b8cfff}.editor-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.editor-bar{flex:none;display:flex;align-items:center;gap:6px;padding:7px 10px;border-bottom:1px solid #454545;flex-wrap:wrap}.editor-brand{flex:none;margin-right:10px}.editor-bar h1{font-size:14px;margin:0 2px;display:flex;align-items:center;gap:6px}.editor-bar h1 img{width:22px;height:22px}.editor-button{position:relative}.editor-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.editor-button:focus-within{outline:2px solid #b0aaff;outline-offset:2px}.editor-status{margin-left:auto;font-size:12px;color:#d7dcdf}.editor-body{min-height:0;flex:1;display:flex;position:relative}.editor-body iframe{border:0;width:100%;height:100%;flex:1;min-width:0;background:#262626}.editor-integration{width:300px;padding:12px;border-left:1px solid #4b4b4b;background:#2c2c2c;overflow:auto;flex:none;font-size:12px}.editor-integration h2{font-size:15px;margin:0}.editor-integration p{color:#d4d4d4;line-height:1.6}.editor-integration button{margin:3px 4px 3px 0}.editor-integration label{display:grid;gap:6px;padding:6px 0}.editor-integration input{max-width:100%}.editor-integration details{margin-top:18px;padding-top:12px;border-top:1px solid #505050}.editor-integration summary{cursor:pointer;margin-bottom:8px}.editor-context-preview{max-width:100%;max-height:180px;display:block;object-fit:contain;margin-top:10px}.editor-notice{flex:none;padding:8px 12px;background:#34434b;color:#fff;font-size:12px;display:flex;align-items:center;gap:8px}.editor-notice button{margin-left:auto}.editor-error{background:#633137}.editor-load-help{flex:none;padding:8px 12px;font-size:12px;background:#303030}.editor-load-help p{margin:0 0 6px}.editor-load-help button{margin-right:8px}.editor-load-help span{color:#bbb}.editor-dialog-backdrop{position:fixed;inset:0;background:#0009;display:grid;place-items:center;z-index:10;padding:20px}.editor-leave-dialog{max-width:460px;padding:24px;background:#303030;border:1px solid #777;border-radius:10px;box-shadow:0 12px 60px #0008}.editor-leave-dialog h2{font-size:18px}.editor-leave-dialog p{font-size:14px;line-height:1.7}.editor-leave-dialog button{margin:4px;white-space:normal}@media(max-width:900px){.editor-status{width:100%;margin-left:0}.editor-integration{position:absolute;right:0;top:0;bottom:0;width:min(310px,90vw);z-index:2;box-shadow:-8px 0 30px #0007}}.editor-auth-root{height:100dvh;display:flex;flex-direction:column;background:#252525;color:#e5e7eb}.editor-auth-root [hidden]{display:none!important}.editor-auth-screen{min-height:100%;flex:1;display:grid;place-items:center;padding:24px;background:#202027}.editor-auth-card{width:min(520px,100%);padding:32px;border:1px solid #494852;border-radius:18px;background:#2b2a32;box-shadow:0 18px 60px #0004}.editor-auth-card h1{display:flex;align-items:center;gap:10px;font-size:24px;margin:0 0 5px}.editor-auth-card h1 img{width:34px;height:34px}.editor-auth-card small{color:#bab7c7;font-size:12px}.editor-auth-card h2{font-size:18px;margin-top:30px}.editor-auth-card p{line-height:1.8;font-size:14px;color:#d6d4df}.editor-auth-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;align-items:center}.editor-auth-actions button{white-space:normal;min-height:40px;font-size:14px}.editor-auth-actions button:first-child{background:#7063e7;border-color:#a99fff;color:#fff}.editor-auth-actions a{font-size:13px}.editor-auth-workspace{flex:1;min-height:0}.editor-auth-workspace .editor-shell{height:100%}.editor-account-strip{flex:none;display:flex;align-items:center;gap:12px;padding:5px 12px;font-size:12px;border-bottom:1px solid #454545;flex-wrap:wrap}.editor-account-strip>button:last-child{margin-left:auto}@media(max-width:520px){.editor-auth-screen{padding:16px}.editor-auth-card{padding:24px}}
