.error-backdrop{z-index:9999999;background-color:#fffa;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.error-backdrop .error{color:#b00;background-color:#fee;width:360px;padding:10px;box-shadow:0 0 30px 10px #000a}.error-backdrop .error .title{padding-bottom:10px;font-size:20px}.error-backdrop .error .buttons{justify-content:flex-end;gap:10px;padding-top:10px;display:flex}.error-backdrop .error .buttons button{flex:0 0 80px;height:25px;padding:0}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;tab-size:4;font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;line-height:1.15}body{margin:0}hr{color:inherit;height:0}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:100%;line-height:1.15}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}.tooltip{z-index:5000;color:#fff;pointer-events:none;white-space:pre-wrap;background-color:#000c;border-radius:2px;padding:2px;font-size:16px;position:fixed;top:0;left:0}[data-tooltip]:hover{box-shadow:inset 0 0 0 200px #efe}.recipe-tooltip .building-name{text-align:center;padding:2px;display:block}.recipe-tooltip .io{background-color:#fff;justify-content:center;padding:2px;display:flex}.recipe-tooltip .io img{width:24px;height:24px}.recipe-tooltip .io .arrow{color:#000;text-align:center;width:24px;height:24px}.producer-tooltip{text-align:center;flex-direction:column;display:flex}.producer-tooltip .name{padding:2px}.producer-tooltip .recipe-name{color:#000;background-color:#fff;padding:2px;font-size:12px}.connector{stroke:#33f;stroke-width:10px;fill:none}.connector.piped{stroke:#773}.connector-text{text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;stroke-width:4px;fill:#fff;stroke:#000c;stroke-linejoin:round;font-size:28px}.chooser input{width:100%;margin-bottom:10px}.chooser .scroll{max-height:120px;overflow-y:auto}.chooser .scroll .item{cursor:pointer;gap:10px;height:24px;display:flex;overflow:hidden}.chooser .scroll .item.selected{background-color:#ddf}.chooser .scroll .item:hover{box-shadow:inset 0 0 8px #8f8}.chooser .scroll .item.tentative{box-shadow:inset 0 0 8px #99f}.chooser .scroll .item .text{line-height:24px}.prompt-backdrop{z-index:1000;background-color:#fffa;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.prompt-backdrop .prompt{background-color:#fff;flex-direction:column;gap:10px;width:360px;max-height:80%;padding:10px;display:flex;box-shadow:0 0 30px 10px #000a}.prompt-backdrop .prompt .title{font-size:20px}.prompt-backdrop .prompt .dialog-buttons{justify-content:flex-end;gap:10px;display:flex}.prompt-backdrop .prompt .dialog-buttons button{flex:0 0 80px;height:25px;padding:0}.item-chooser-image{width:24px;height:24px}.recipe-chooser-image{display:flex}.recipe-chooser-image .arrow{height:24px;font-size:20px;line-height:24px;display:inline-block}.key-actions{background-color:#669;gap:2px;padding:1px;display:flex}.building-rate-chooser .display,.building-rate-chooser .display .flows .flow{display:flex}.building-rate-chooser .display .flows .flow img{width:24px;height:24px}.building-rate-chooser .display .flows .flow span{line-height:24px}.building-rate-chooser .display .flows:nth-child(3) .flow{flex-direction:row-reverse}.building-rate-chooser .display .rate{flex-direction:column;flex:1 0 0;justify-content:center;align-items:center;display:flex}.building-rate-chooser .display .rate .num{font-size:20px}.building-rate-chooser .display .rate .ratio{font-size:12px}.source-sink-rate-chooser .display{display:flex}.source-sink-rate-chooser .display .rate{flex-direction:column;flex:1 0 0;justify-content:center;align-items:center;display:flex}.source-sink-rate-chooser .display .rate .num{font-size:20px}.source-sink-rate-chooser .display .rate .ratio{font-size:12px}.source-sink-rate-chooser .display img{width:64px;height:64px}.expression-input{flex-direction:column;display:flex;position:relative}.expression-input input{z-index:1;background:0 0}.expression-input .underlay{pointer-events:none;white-space:pre;background-color:#fee;width:100%;padding:3px;position:absolute}.expression-input .underlay .error{background-color:#f99}.hotkey-actions{position:absolute;bottom:0;right:0}.connection-terminal>.outline{stroke-width:3px;fill:#fff}.connection-terminal>.outline.connecting-yes{fill:#afa}.connection-terminal>.outline.connecting-no{fill:#888}.connection-terminal>.outline.connecting-self{fill:#bbf}.connection-terminal.surplus .outline{stroke:#0cc}.connection-terminal.exact .outline{stroke:#0b0}.connection-terminal.shortfall .outline{stroke:red}.connection-terminal>image{pointer-events:none;width:56px;height:56px;transform:translate(-28px,-28px)}.connection-terminal>text{text-anchor:middle;pointer-events:none;paint-order:stroke;stroke-width:3px;fill:#fff;stroke:#000c;stroke-linejoin:round;font-size:12px;transform:translateY(20px)}g.producer>.outline{stroke:#666;stroke-width:3px;fill:#eee}g.producer>.outline.merging-yes{fill:#afa}g.producer>.outline.merging-no{fill:#888}g.producer>.outline.merging-self{fill:#bbf}g.producer>text{text-anchor:middle;fill:#666;pointer-events:none;dominant-baseline:middle}g.producer>text.multiplier{font-size:32px}g.producer>text.rate{font-size:18px}g.bus>.mainline{stroke:#222;stroke-width:8px}g.bus .rate-text{text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;stroke-width:4px;fill:#fff;stroke:#000c;stroke-linejoin:round;font-size:28px}g.bus .rate-over{stroke:red;stroke-width:8px}g.bus .resizer{fill:#0000}g.bus .resizer:hover{cursor:ew-resize}g.bus .dragger{fill:#0000}.viewport{background-color:#444;position:fixed;inset:0;overflow:hidden}.viewport svg{transform-origin:50%;cursor:grab;width:16000px;height:8000px;display:block;position:relative;inset:50%}.viewport svg .backgrid rect{fill:#aaa}.viewport svg .backgrid path{stroke:#666}.app-actions{z-index:5;position:fixed;top:0;right:0}.calculator{flex-direction:column;flex:auto;min-height:0;display:flex}.calculator .history{flex:400px;max-height:400px;overflow-y:scroll;box-shadow:inset 0 10px 10px -10px #aaa}.calculator .history .history-item{flex-wrap:nowrap;justify-content:space-between;height:20px;line-height:20px;display:flex}.calculator .history .history-item:nth-child(2n){background-color:#f4f4ff}.calculator .history .history-item .result{font-weight:700}.calculator .expression-wrap{padding-top:10px}.calculator .results .num{font-weight:700}.rate-setter{flex-direction:column;display:flex}.rate-setter .scrollable{flex:1 0 0;overflow-y:scroll}.recipe-filter{flex-direction:column;display:flex}.recipe-filter input[type=text]{width:100%}.recipe-filter .scrollable{flex:1 0 0;overflow-y:scroll}.recipe-filter .scrollable>:nth-child(2n){background-color:#f4f4ff}.recipe-filter .entry{height:28px}.recipe-filter .entry label{gap:6px;line-height:28px;display:inline-flex}.recipe-filter .entry .icon{width:24px;height:24px}@keyframes spinner-anim{0%,15%,85%,to{transform:scale(.5)}50%{transform:scale(1)}}.spinner{justify-content:center;align-items:center;gap:2px;width:48px;height:48px;display:flex}.spinner>*{background-color:#000;border-radius:50%;width:12px;height:12px;animation:.8s ease-in-out infinite spinner-anim}.spinner>:nth-child(2){animation-delay:.1s}.spinner>:nth-child(3){animation-delay:.2s}.results{width:100%;height:100%;padding:4px}.results .inner{background-color:#fff;width:100%;height:100%;padding:2px;position:relative}.results .inner .loader{background-color:#fffa;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.results .inner .contents{flex-direction:column;width:100%;height:100%;display:flex}.results .inner .contents .scrollable{flex:1 0 0;overflow-y:scroll}.results .inner .contents .result-summary-area{justify-content:space-between;align-items:center;display:flex}.factory-planner{background-color:#77a;display:flex;position:fixed;inset:0}.factory-planner .tabs-holder{flex-direction:column;flex:5 0 0;padding:4px;display:flex}.factory-planner .tabs-holder .tabs{display:flex}.factory-planner .tabs-holder .tabs .tab{background-color:#ddd;border:0;border-top-left-radius:2px;border-top-right-radius:2px;flex:1 0 0;margin:0 4px;padding:2px}.factory-planner .tabs-holder .tabs .tab[aria-selected=true]{background-color:#fff}.factory-planner .tabs-holder .tab-content{background-color:#fff;flex:1 0 0;min-height:0;padding:2px}.factory-planner .tabs-holder .tab-content>*{width:100%;height:100%}.factory-planner .results-area{flex:5 0 0}.factory-planner .title{margin:0;padding:5px 0;font-weight:400}h2:is(.factory-planner .title){font-size:24px}h3:is(.factory-planner .title){font-size:20px}.factory-planner .scrollable{box-shadow:inset 0 10px 10px -10px #aaa}.factory-planner table{border-collapse:collapse;border:0;margin:4px}.factory-planner table .icon{width:24px;height:24px}.factory-planner table tr:nth-child(2n){background-color:#f4f4ff}.factory-planner table th{text-align:right}:is(.factory-planner table td,.factory-planner table th):not(:first-child){padding-left:5px}body{overflow:hidden}button,input[type=checkbox],label[data-has-checkbox]{cursor:pointer}:is(button,input[type=checkbox],label[data-has-checkbox]):disabled{cursor:not-allowed}input[type=text]{border:1px solid #aaa;border-radius:2px;padding:2px}button{background-color:#e9e9e9;border:none;font-size:16px}button:hover{background-color:#d0d0d0}a{cursor:pointer;color:#008}a:hover{text-decoration:underline}.monospace{font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace}
/*# sourceMappingURL=index.fb6f5e14.css.map */
