*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#1c1917;background:#f5f5f4;font:14px/1.4 ui-sans-serif,system-ui,-apple-system,sans-serif}button,.button{font:inherit;cursor:pointer;background:#fff;border:1px solid #d6d3d1;border-radius:6px;padding:4px 10px}button:disabled{opacity:.5;cursor:default}button.link{color:#57534e;background:0 0;border:none}button.danger{color:#b91c1c}kbd{background:#fafaf9;border:1px solid #d6d3d1;border-radius:3px;padding:0 4px;font:11px ui-monospace,monospace}.error{color:#b91c1c}.loading{padding:24px}.login{flex-direction:column;gap:10px;max-width:320px;margin:15vh auto;display:flex}.login input{font:inherit;padding:8px}.library{max-width:1000px;margin:0 auto;padding:24px}.library header{align-items:center;gap:12px;display:flex}.library header h1{flex:1}.library table{border-collapse:collapse;background:#fff;width:100%}.library th,.library td{text-align:left;border-bottom:1px solid #e7e5e4;padding:6px 10px}.status{color:#57534e}.editor{grid-template:"header header""aside stage"1fr/240px 1fr;height:100%;display:grid}.editor header{background:#fff;border-bottom:1px solid #e7e5e4;grid-area:header;align-items:center;gap:8px;padding:6px 12px;display:flex}.editor .filename{text-overflow:ellipsis;white-space:nowrap;max-width:40ch;font-weight:600;overflow:hidden}.editor .save{color:#57534e;margin-left:auto}.editor .save.error{color:#b91c1c;font-weight:600}.editor aside{background:#fff;border-right:1px solid #e7e5e4;grid-area:aside;padding:8px 12px;overflow-y:auto}.editor aside h2{text-transform:uppercase;color:#78716c;margin:12px 0 6px;font-size:12px}.labels{margin:0;padding:0;list-style:none}.labels button{text-align:left;border-color:#0000;align-items:center;gap:6px;width:100%;display:flex}.labels button.active{background:#f5f5f4;border-color:#1c1917}.swatch{border-radius:3px;width:12px;height:12px}.inspector{flex-direction:column;gap:8px;display:flex}.inspector label{color:#57534e;flex-direction:column;gap:2px;display:flex}.inspector select,.inspector input{font:inherit;padding:4px}.help{color:#78716c;margin-top:16px;font-size:12px}.stage{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background:#d6d3d1;grid-area:stage;position:relative;overflow:hidden}.stage.panning{cursor:grab}.stage svg{display:block}.stage .box{cursor:move}.stage .handle{fill:#fff;stroke:#1c1917;vector-effect:non-scaling-stroke}.stage .handle.nw,.stage .handle.se{cursor:nwse-resize}.stage .handle.ne,.stage .handle.sw{cursor:nesw-resize}.overlay{position:absolute;top:0;left:0}.editor header button.active{background:#f5f5f4;border-color:#1c1917}.stage.linking .box,.stage .link-hit{cursor:pointer}
