:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25213d;background:#f5f5fa;font-synthesis:none;--purple:#5735b6;--line:#e1dfea}*{box-sizing:border-box}body{margin:0}button,input,.file-button{font:inherit}button,.file-button{border:1px solid var(--line);border-radius:10px;padding:10px 15px;background:white;color:#302744;cursor:pointer;font-size:14px;font-weight:600}button:hover,.file-button:hover{background:#f1edff;border-color:#a995de}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #30bfa8;outline-offset:3px}a{color:var(--purple)}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 28px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#302050;font-size:23px;letter-spacing:-.8px}.brand small{display:block;font-size:8px;font-weight:700;letter-spacing:2px;margin-top:3px;color:#837a97}.brand-mark{background:var(--purple);color:white;border-radius:13px;width:44px;height:44px;text-align:center;font-size:32px;font-weight:800}.brand-mark span{color:#9cebd2}.badge{font-size:12px;background:#eeebf7;color:#5d478e;padding:7px 11px;border-radius:20px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px}.quiet{border:none}main{padding:16px 20px 0}.workspace-bar{display:flex;align-items:center;gap:16px;justify-content:space-between}.project-name{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#8b829c;min-width:140px}.project-name input{display:block;border:0;background:transparent;padding:4px 0;font-size:19px;font-weight:700;color:#2c2343;width:230px;max-width:100%}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.primary{background:var(--purple);color:white;border-color:var(--purple)}.primary:hover{background:#452493;color:white}.status-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:12px;gap:12px}#status[data-tone=error]{color:#ac2444}#status[data-tone=success]{color:#257560}.connection{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:12px;padding:6px}#connection-dot{width:8px;height:8px;border-radius:50%;background:#b6afc2}#connection-dot.connected{background:#1baf84}.editor-area{height:calc(100dvh - 210px);min-height:380px;position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white;box-shadow:0 6px 26px #2c215409}#editor{width:100%;height:100%;border:0}.loading{position:absolute;inset:0;background:#f9f8fe;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.loading[hidden]{display:none}.loading h1{font-size:32px;line-height:1.2;letter-spacing:-1px}.loading p{font-size:14px;color:#81758e}.board{display:flex;gap:8px;background:#302642;padding:22px;border-radius:14px;border-bottom:7px solid #d7ba5b}.board i{width:9px;height:9px;background:#c6a8ff;border-radius:3px;animation:pulse 1.5s infinite}.board i:nth-child(2n){animation-delay:.3s}.board i:nth-child(3n){animation-delay:.6s}@keyframes pulse{50%{opacity:.25}}footer{display:flex;justify-content:space-between;gap:10px;padding:10px 0;color:#82798f;font-size:10px}.mission{background:#eaf8f3;padding:12px 16px;border-radius:10px;margin-top:10px;font-size:13px}.mission strong{margin-right:12px}.mission:not([hidden])~.editor-area{height:calc(100dvh - 260px)}dialog{border:1px solid var(--line);border-radius:20px;width:min(620px,94vw);max-height:90dvh;padding:24px;box-shadow:0 24px 120px #201b4055;color:#302744}dialog::backdrop{background:#21193677;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-head h2{margin:0;font-size:23px;letter-spacing:-.6px}.dialog-head button{border:0}dialog p,dialog li{line-height:1.65;font-size:14px;color:#726780}.device-options,.templates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.device-options button,.templates button{text-align:left;padding:18px;min-height:92px}.device-options span,.templates span{display:block;font-size:12px;line-height:1.5;font-weight:400;color:#81758e;margin-top:8px}.notice{background:#f3effb;border-radius:10px;padding:10px}pre{white-space:pre-wrap;overflow:auto;max-height:190px;padding:14px;background:#241e35;color:#c2f5df;border-radius:10px;font:12px/1.6 ui-monospace,monospace}form{display:flex;gap:10px;align-items:end}form label{font-size:12px;flex:1}form input{display:block;width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;margin-top:5px}.project-card{display:block;width:100%;text-align:left;margin:10px 0;padding:16px}.project-card small{display:block;color:#81758e;font-weight:400;margin-top:5px}body.embedded .topbar{height:56px;padding:0 16px}body.embedded main{padding:10px 12px 0}body.embedded .editor-area{height:calc(100dvh - 177px)}body.embedded .brand{font-size:18px}body.embedded .brand-mark{height:34px;width:34px;font-size:25px}body.embedded .brand small{display:none}body.embedded .mission:not([hidden])~.editor-area{height:calc(100dvh - 225px)}@media(max-width:820px){.topbar{padding:0 14px;gap:12px}.top-actions{gap:5px}.top-actions a,.badge{display:none}.workspace-bar{align-items:flex-start;flex-wrap:wrap}.actions{gap:5px}button,.file-button{font-size:12px;padding:9px 11px}main{padding:12px 10px 0}.editor-area,body.embedded .editor-area{height:calc(100dvh - 235px);min-height:340px}footer{flex-direction:column}.device-options,.templates{grid-template-columns:1fr}.mission:not([hidden])~.editor-area,body.embedded .mission:not([hidden])~.editor-area{height:calc(100dvh - 295px)}}
