*{box-sizing:border-box}body{margin:0;background:#151922;color:#dce4ef;font:14px system-ui,sans-serif;height:100dvh;display:flex;flex-direction:column}button,input,select{font:inherit;color:inherit;background:#252d3b;border:1px solid #394456;border-radius:6px;padding:9px 12px}button{cursor:pointer}button:hover{background:#35445b}button.primary{background:#2468d8;border-color:#387cec;color:white}span{color:#77aaff}header,footer{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#202633;border-bottom:1px solid #354052}header strong{font-size:17px}header small{color:#8997aa}.spacer{flex:1}.workspace{display:flex;flex:1;min-height:0}aside{width:280px;flex-shrink:0;background:#1d2330;border-right:1px solid #354052;overflow:auto;padding:12px}.section{display:flex;align-items:center;gap:5px;color:#a0aec0;font-size:11px;letter-spacing:1px;margin:12px 0}.section button:first-of-type{margin-left:auto}.section button{padding:3px 8px}.item{display:block;width:100%;text-align:left;border:0;background:transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item.active{background:#344765;color:#fff}#path{color:#8da3bf;font-size:12px;overflow-wrap:anywhere;padding:8px}.work{flex:1;min-width:0;display:flex;flex-direction:column}nav{display:flex;overflow:auto;background:#202633;min-height:42px}nav button{white-space:nowrap;border-radius:0;border:0;border-right:1px solid #354052}nav .active{border-top:2px solid #75a9ff;background:#151922}#welcome{margin:auto;text-align:center;padding:20px;color:#9aa9be}#welcome h1{color:#e4ebf6}.logo{font: bold 60px monospace;color:#4f87d8}#editor{flex:1;min-height:0;overflow:hidden}#editor[hidden]{display:none}.cm-editor{height:100%;font-size:14px}.cm-scroller{overflow:auto}textarea{width:100%;height:100%;resize:none;background:#151922;color:#e0e7ef;border:0;padding:16px;font:14px monospace}footer{justify-content:space-between;font-size:12px;border-top:1px solid #354052;border-bottom:0}footer span{color:#a9b9d0}.auth{margin:auto;width:min(440px,94vw);padding:28px;background:#202633;border:1px solid #354052;border-radius:14px;overflow:auto}.auth h1{font-size:24px}label{display:grid;gap:5px;margin:12px 0;color:#b5c2d4}input,select{width:100%}.auth button{width:100%;margin-top:10px}.error{color:#ff9d9d}dialog{background:#202633;color:#e4ebf6;border:1px solid #48566d;border-radius:12px;width:min(440px,94vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#0009}.actions{display:flex;justify-content:flex-end;gap:8px}.hidden{display:none!important}@media(max-width:700px){header{padding:7px;gap:5px}header strong{font-size:12px}header small{display:none}header button{padding:7px}aside{position:absolute;z-index:5;top:52px;bottom:40px;width:min(300px,85vw);box-shadow:8px 0 20px #0008}}
