.app{flex-direction:column;width:100%;height:100vh;display:flex}.app-header{display:none}.app-main{flex:1;width:100%;height:100%;margin:0;padding:0}.preview-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;display:grid}.home-message{background:var(--ui-bg);border:1px solid var(--ui-border);text-align:center;box-shadow:var(--ui-shadow);padding:2rem}button{color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;padding:.5rem 1rem}button:hover{opacity:.95}.mods-panel-toggle{border:1px solid var(--ui-border);background:var(--ui-bg);color:var(--ui-text);box-shadow:var(--ui-shadow-sm);cursor:pointer;pointer-events:auto;white-space:nowrap;align-items:center;gap:.35rem;padding:0 .55rem;font-size:.82rem;font-weight:600;display:inline-flex}.mods-panel-toggle--topbar{height:100%}.mods-panel-toggle:not(.mods-panel-toggle--topbar){z-index:30;padding:.3rem .5rem;position:fixed;top:.5rem;right:.5rem}.mods-panel-toggle:hover{background:#f1f5f9}.mods-panel-toggle-label{line-height:1}.mods-panel{width:var(--mods-panel-width,min(280px, 88vw));z-index:30;background:var(--ui-bg-muted);border-left:1px solid var(--ui-border);pointer-events:auto;flex-direction:column;gap:.4rem;padding:.5rem;font-size:.78rem;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-2px 0 #cbd5e1}.mods-panel-header{border-bottom:1px solid #cbd5e1;justify-content:space-between;align-items:center;gap:.35rem;padding-bottom:.25rem;display:flex}.mods-panel-header-actions{align-items:center;gap:.35rem;display:flex}.mods-panel-collapse{color:#64748b;cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:0;justify-content:center;align-items:center;width:1.4rem;height:1.4rem;padding:0;font-size:1rem;line-height:1;display:inline-flex}.mods-panel-collapse:hover{color:#0f172a;background:#e2e8f0}.mods-panel-title{color:#0f172a;text-transform:uppercase;letter-spacing:.06em;margin:0;font-size:.85rem;font-weight:700}.mods-panel-badge{color:#3730a3;font-variant-numeric:tabular-nums;background:#eef2ff;border:1px solid #6366f1;border-radius:0;padding:.1rem .35rem;font-size:.72rem;font-weight:700}.mods-panel-toolbar{flex-direction:column;gap:.3rem;display:flex}.mods-panel-field{flex-direction:column;gap:.15rem;display:flex}.mods-panel-field-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.68rem;font-weight:600}.mods-panel-inline-row{grid-template-columns:1fr auto;gap:.25rem;display:grid}.mods-panel-select,.mods-panel-input{color:#0f172a;background:#fff;border:1px solid #94a3b8;border-radius:0;width:100%;padding:.25rem .35rem;font-size:.78rem}.mods-panel-section{border-top:1px solid #e2e8f0;flex-direction:column;gap:.5rem;padding-top:.25rem;display:flex}.mods-panel-section-title{text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-size:.78rem;font-weight:700}.mods-panel-error{color:#b91c1c;margin:0;font-size:.85rem;line-height:1.4}.mods-panel-actions{grid-template-columns:1fr 1fr;gap:.25rem;display:grid}.mods-panel-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:0;padding:.28rem .45rem;font-size:.75rem;font-weight:600;line-height:1.2}.mods-panel-btn:hover:not(:disabled){background:#e2e8f0}.mods-panel-btn:disabled{opacity:.5;cursor:not-allowed}.mods-panel-btn--primary{color:#fff;background:#4338ca;border-color:#4338ca}.mods-panel-btn--primary:hover:not(:disabled){background:#3730a3}.mods-panel-btn--ghost{background:#f1f5f9;min-width:1.6rem;padding:.25rem .4rem}.mods-panel-btn--block{width:100%}.mods-panel-btn--warn{color:#713f12;background:#fefce8;border-color:#ca8a04}.mods-panel-btn--danger{color:#991b1b;background:#fef2f2;border-color:#dc2626}.mods-panel-hint{color:#64748b;border-left:2px solid #94a3b8;margin:0;padding:.3rem .35rem;font-size:.72rem;line-height:1.35}.mods-panel-errors{flex-direction:column;gap:.2rem;display:flex}.mods-panel-error{color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;border-radius:0;padding:.25rem .35rem;font-size:.72rem}.mods-panel-sections{flex-direction:column;flex:1;gap:.25rem;min-height:0;display:flex}.mods-panel-section{background:#fff;border:1px solid #cbd5e1}.mods-panel-section-toggle{color:#0f172a;text-align:left;cursor:pointer;background:#f1f5f9;border:none;border-radius:0;align-items:center;gap:.3rem;width:100%;padding:.3rem .4rem;font-size:.75rem;font-weight:600;display:flex}.mods-panel-section-toggle:hover{background:#e2e8f0}.mods-panel-section-chevron{color:#64748b;flex-shrink:0;width:.75rem;font-size:.7rem}.mods-panel-section-title{flex:1}.mods-panel-section-summary{color:#64748b;font-variant-numeric:tabular-nums;font-weight:500}.mods-panel-section-body{flex-direction:column;gap:.3rem;padding:.35rem;display:flex}.mods-panel-file-input{display:none}.mods-panel-dropzone{background:#f8fafc;border:1px dashed #94a3b8;padding:.25rem}.mods-panel-dropzone--active{background:#eef2ff;border-color:#4338ca}.mods-panel-dropzone--disabled{opacity:.5}.mods-panel-integrity-source{flex-direction:column;gap:.35rem;margin-top:.35rem;display:flex}.mods-panel-path{word-break:break-all;font-family:ui-monospace,monospace;font-size:.68rem}.mods-panel-path-row{grid-template-columns:1fr auto;gap:.25rem;display:grid}.mods-panel-path-input{border:1px solid #94a3b8;border-radius:0;min-width:0;padding:.25rem .35rem;font-size:.72rem}.mods-panel-list-toolbar{justify-content:flex-end;display:flex}.mods-panel-list{border:1px solid #e2e8f0;flex-direction:column;gap:0;max-height:min(36vh,280px);margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.mods-panel-list-item{background:#fff;border-bottom:1px solid #e2e8f0;padding:.25rem .35rem}.mods-panel-list-item:last-child{border-bottom:none}.mods-panel-list-item--inactive{opacity:.65;background:#f8fafc}.mods-panel-mod-row{justify-content:space-between;align-items:center;gap:.25rem;display:flex}.mods-panel-mod-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;font-weight:600;overflow:hidden}.mods-panel-mod-remove{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:0;flex-shrink:0;width:1.2rem;height:1.2rem;padding:0;font-size:.85rem;line-height:1}.mods-panel-mod-remove:hover:not(:disabled){background:#fee2e2}.mods-panel-mod-remove:disabled{opacity:.5;cursor:not-allowed}.mods-panel-mod-meta{color:#64748b;flex-wrap:wrap;gap:.35rem;font-size:.68rem;display:flex}.mods-panel-mod-inactive{color:#dc2626;font-weight:700}.mods-panel-status{color:#64748b;padding:.2rem 0;font-size:.72rem}.mods-panel-tools{flex-direction:column;gap:.25rem;display:flex}.mods-panel-integrity{background:#fff;border:1px solid #cbd5e1;flex-direction:column;gap:.35rem;padding:.4rem;display:flex}.mods-panel-integrity--ok{background:#f0fdf4;border-color:#86efac}.mods-panel-integrity--warn{background:#fffbeb;border-color:#fcd34d}.mods-panel-integrity--info{background:#eff6ff;border-color:#93c5fd}.mods-panel-integrity-summary{color:#334155;margin:0;font-size:.72rem;line-height:1.35}.mods-panel-integrity-list{color:#475569;margin:0;padding-left:1rem;font-size:.68rem;line-height:1.35}.mods-panel-integrity-item--missing{color:#b45309}.mods-panel-integrity-item--unavailable{color:#b91c1c}.mods-panel-integrity-item--ok{color:#166534}.export-status-banner{z-index:25;color:#4a3b00;pointer-events:auto;max-height:min(40vh,320px);box-shadow:var(--ui-shadow-sm);background:#fff8e6;border:1px solid #c9a227;margin:.75rem 1rem 0;padding:.75rem 1rem;font-size:.9rem;line-height:1.45;position:relative;overflow-y:auto}.export-status-banner__title{margin-bottom:.5rem;font-weight:600}.export-status-banner__list,.export-status-banner__deps ul{margin:.35rem 0 .5rem 1.1rem;padding:0}.export-status-banner__hint{opacity:.9;margin:.5rem 0 0;font-size:.85rem}.export-status-banner code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85em}.export-status-banner__action{background:var(--ui-bg);color:#4a3b00;cursor:pointer;border:1px solid #9a7b12;margin-top:.5rem;padding:.45rem .75rem;font-weight:600}.export-status-banner__action:disabled{opacity:.65;cursor:wait}.export-status-banner__error{color:#8a1f1f;margin:.5rem 0 0}.export-status-banner__result{margin-top:.5rem;font-size:.85rem}.export-status-banner__result-row{margin:.2rem 0}.export-status-banner__result-row a{color:#1d4ed8;text-underline-offset:2px;pointer-events:auto;font-weight:600;text-decoration:underline}.export-status-banner__result-row a:hover{color:#1e40af}.version-manager-overlay{z-index:50;background:var(--ui-overlay);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.version-manager-modal{border:1px solid var(--ui-border);background:var(--ui-bg);width:min(720px,96vw);max-height:min(80vh,760px);box-shadow:var(--ui-shadow);flex-direction:column;gap:.85rem;padding:1rem 1.1rem 1.1rem;display:flex}.version-manager-header{border-bottom:1px solid var(--ui-border-subtle);justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.5rem;display:flex}.version-manager-title{color:var(--ui-text-body);margin:0;font-size:1.2rem}.version-manager-close{border:1px solid var(--ui-border);background:var(--ui-bg);width:2rem;height:2rem;color:var(--ui-text-muted);cursor:pointer;font-size:1.25rem;line-height:1}.version-manager-hint{color:var(--ui-text-muted);margin:0;font-size:.9rem;line-height:1.45}.version-manager-search{border:1px solid var(--ui-border);background:var(--ui-bg);width:100%;padding:.6rem .7rem;font-size:.92rem}.version-manager-error{color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;padding:.55rem .65rem;font-size:.85rem}.version-manager-status{color:var(--ui-text-muted);font-size:.9rem}.version-manager-list{border:1px solid var(--ui-border-subtle);flex-direction:column;gap:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.version-manager-item{border-bottom:1px solid var(--ui-border-subtle);background:var(--ui-bg-muted);justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .8rem;display:flex}.version-manager-item:last-child{border-bottom:none}.version-manager-item-main{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.version-manager-item-version{color:var(--ui-text-body);font-weight:700}.version-manager-item-badge{border:1px solid var(--ui-border-subtle);color:#4b5563;background:#e5e7eb;padding:.1rem .45rem;font-size:.78rem;font-weight:600}.version-manager-item-badge--installed{color:#166534;background:#dcfce7;border-color:#86efac}.version-manager-install{border:1px solid var(--ui-primary-border);background:var(--ui-primary);color:#fff;cursor:pointer;white-space:nowrap;padding:.45rem .75rem;font-size:.85rem;font-weight:600}.version-manager-install:disabled{opacity:.55;cursor:not-allowed}.modpack-import-overlay{z-index:50;background:var(--ui-overlay);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modpack-import-dialog{background:var(--ui-bg-muted);border:1px solid var(--ui-border);width:min(420px,100%);box-shadow:var(--ui-shadow);color:#0f172a;padding:.75rem;font-size:.82rem}.modpack-import-header{border-bottom:1px solid #cbd5e1;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;padding-bottom:.35rem;display:flex}.modpack-import-title{margin:0;font-size:.95rem;font-weight:700}.modpack-import-close{color:#64748b;cursor:pointer;background:#fff;border:1px solid #94a3b8;width:1.5rem;height:1.5rem;padding:0;font-size:1rem;line-height:1}.modpack-import-lead,.modpack-import-note,.modpack-import-meta{margin:0 0 .5rem;line-height:1.45}.modpack-import-meta{color:#64748b;font-size:.72rem}.modpack-import-error{color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;margin-bottom:.5rem;padding:.35rem .5rem;font-size:.75rem}.modpack-import-success{color:#166534;background:#f0fdf4;border:1px solid #86efac;margin-bottom:.5rem;padding:.35rem .5rem;font-size:.75rem}.modpack-import-progress{margin-bottom:.5rem}.modpack-import-progress-label{color:#334155;margin-bottom:.25rem;font-size:.75rem}.modpack-import-progress-track{background:#fff;border:1px solid #94a3b8;height:.45rem}.modpack-import-progress-fill{background:#2563eb;height:100%;transition:width .35s}.modpack-import-progress-track--indeterminate{overflow:hidden}.modpack-import-progress-fill--indeterminate{animation:1.2s ease-in-out infinite modpack-import-indeterminate;width:35%!important}@keyframes modpack-import-indeterminate{0%{transform:translate(-100%)}to{transform:translate(300%)}}.modpack-import-actions{justify-content:flex-end;gap:.35rem;margin-top:.65rem;display:flex}.modpack-import-btn{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:0;padding:.3rem .55rem;font-size:.75rem;font-weight:600}.modpack-import-btn--primary{color:#fff;background:#2563eb;border-color:#2563eb}.modpack-import-btn:disabled{opacity:.55;cursor:not-allowed}.item-icon-view{flex:0 0 32px;width:32px;height:32px}.item-icon-view--image{object-fit:contain;image-rendering:pixelated;image-rendering:crisp-edges;display:block}.item-icon-view--chip{box-sizing:border-box;color:#475569;letter-spacing:-.02em;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;justify-content:center;align-items:center;padding:0 3px;font-size:.62rem;font-weight:700;line-height:1;display:inline-flex;overflow:hidden}.recipe-item-strip{flex-wrap:wrap;align-content:flex-start;gap:4px;width:100%;min-width:0;display:flex}.recipe-picker-row>.recipe-item-strip:first-child{justify-content:flex-start}.recipe-picker-row>.recipe-item-strip:last-child{justify-content:flex-end}.recipe-picker-row{border:1px solid var(--ui-border-subtle);background:var(--ui-bg);text-align:left;cursor:pointer;grid-template-columns:1fr auto 1fr;align-items:center;gap:.35rem;width:100%;padding:.4rem .3rem;display:grid}.recipe-picker-row:hover{background:#f8faff;border-color:#c7d2fe}.recipe-picker-row-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;min-width:0;max-width:160px;display:flex}.recipe-picker-row-title{color:#111827;word-break:break-word;font-size:.88rem;font-weight:700;line-height:1.2}.recipe-picker-row-machine{color:#6b7280;font-size:.72rem;line-height:1.2}.virtual-list{flex:1;min-height:0;overflow:auto}.virtual-list-spacer{width:100%;position:relative}.virtual-list-window{position:absolute;top:0;left:0;right:0}.virtual-list-item{box-sizing:border-box}.recipe-picker-list{flex:1;min-height:0}.recipe-picker-list--hint{color:#6b7280;text-align:center;justify-content:center;align-items:center;min-height:120px;padding:1rem;font-size:.92rem;display:flex}.slot-quantity-badge{color:#475569;white-space:nowrap;text-align:center;flex:none;min-width:1ch;font-size:.78rem;font-weight:700;line-height:1}.recipe-canvas-page{background:var(--ui-bg-page);--mods-panel-width:min(280px, 88vw);--topbar-height:2.25rem;--topbar-inset:.5rem;position:fixed;inset:0;overflow:hidden}.recipe-canvas-topbar{top:var(--topbar-inset);left:var(--topbar-inset);right:var(--topbar-inset);z-index:25;height:var(--topbar-height);pointer-events:none;align-items:stretch;gap:.5rem;display:flex;position:absolute}.recipe-canvas-page[data-mods-panel-expanded=true] .recipe-canvas-topbar{right:calc(var(--mods-panel-width) + var(--topbar-inset))}.recipe-canvas-topbar-slot{pointer-events:auto;flex:none;align-items:stretch;display:flex}.recipe-canvas-toolbar{background:var(--ui-bg-toolbar);border:1px solid var(--ui-border);color:#374151;min-width:0;box-shadow:var(--ui-shadow-sm);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;flex:1;align-items:center;padding:0 .75rem;font-size:.82rem;line-height:1.2;display:flex;overflow:hidden}.recipe-canvas-toolbar>div{pointer-events:auto}.recipe-canvas{position:absolute;inset:0;overflow:hidden}.recipe-canvas-content{width:0;height:0;position:relative}.recipe-canvas-breadcrumbs{top:calc(var(--topbar-inset,.5rem) + var(--topbar-height,2.25rem) + .4rem);z-index:5;background:var(--ui-bg);border:1px solid var(--ui-border);box-shadow:var(--ui-shadow);flex-wrap:wrap;align-items:center;gap:.25rem;padding:.4rem .6rem;display:flex;position:absolute;left:.75rem}.recipe-breadcrumb-group{align-items:center;gap:.25rem;display:inline-flex}.recipe-breadcrumb{color:#3730a3;cursor:pointer;background:0 0;border:none;padding:.1rem .35rem;font-weight:700}.recipe-breadcrumb:hover{background:#e0e7ff}.recipe-breadcrumb--current{color:var(--ui-text,#1f2937);cursor:default}.recipe-breadcrumb-sep{color:var(--ui-border,#94a3b8)}.recipe-connections-layer{left:calc(-1 * var(--canvas-svg-offset,10000px));top:calc(-1 * var(--canvas-svg-offset,10000px));width:var(--canvas-svg-size,20000px);height:var(--canvas-svg-size,20000px);pointer-events:none;transform:translate(var(--canvas-svg-offset,10000px), var(--canvas-svg-offset,10000px));position:absolute;overflow:visible}.recipe-connections-screen-layer{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.recipe-connection-line{fill:none;stroke:#6366f1;stroke-width:2.5px;stroke-linecap:round}.recipe-connection-line--preview{stroke:#818cf8;stroke-dasharray:8 6;opacity:.85}.recipe-connection-label{fill:#334155;paint-order:stroke;stroke:#fff;stroke-width:3px;pointer-events:none;font-size:11px;font-weight:700}.recipe-node-item--target{outline-offset:2px;outline:2px solid #4f46e5}.recipe-target-modal-row{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.recipe-node-wrapper{-webkit-user-select:none;user-select:none;z-index:1;grid-template-columns:auto auto auto;align-items:start;gap:.35rem;display:grid;position:absolute;transform:translate(-50%,-50%)}.recipe-node-wrapper--active .recipe-node{outline-offset:0;outline:2px solid #2563eb}.recipe-node-quantities{flex-direction:column;gap:0;min-width:1.1rem;display:flex}.recipe-node-quantities--inputs{justify-content:flex-start;align-items:flex-end}.recipe-node-quantities--outputs{justify-content:flex-start;align-items:flex-start}.recipe-node-quantity-cell{justify-content:center;align-items:center;height:32px;display:flex}.recipe-node{background:var(--ui-bg);border:1px solid var(--ui-border-light);box-shadow:var(--ui-shadow-sm);-webkit-user-select:none;user-select:none;grid-template-columns:auto auto auto;gap:0;width:max-content;padding:0;display:grid;position:relative;transform:none}.recipe-node--active{outline-offset:0;outline:2px solid #2563eb}.recipe-node-column{flex-direction:column;gap:0;display:flex}.recipe-node-column--inputs{align-items:flex-end}.recipe-node-column--outputs{align-items:flex-start}.recipe-node-column .recipe-node-slot-row+.recipe-node-slot-row{margin-top:-1px}.recipe-node-column .recipe-node-item+.recipe-node-item{margin-top:0}.recipe-node-column--machine{justify-content:center;align-items:stretch}.recipe-node-machine{color:#3730a3;text-align:center;cursor:grab;white-space:nowrap;background:#e0e7ff;border-radius:0;flex-direction:column;align-items:center;gap:.2rem;padding:.45rem .55rem;font-size:.84rem;font-weight:700;line-height:1.1;display:flex}.recipe-node-duration{color:#4338ca;opacity:.85;font-size:.68rem;font-weight:600}.recipe-node-machine:active{cursor:grabbing}.recipe-node-machine--chest{color:#92400e;background:#fef3c7}.recipe-node-machine--outpost{color:#5b21b6;background:#ede9fe}.recipe-node-machine--factory_in{color:#166534;background:#dcfce7}.recipe-node-machine--factory_out{color:#9f1239;background:#ffe4e6}.recipe-node-item{box-sizing:border-box;cursor:crosshair;border:1px solid #0000;border-radius:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:background .15s,border-color .15s;display:flex}.recipe-node-item--input{color:#7f1d1d;background:#fde8e8;border-color:#f5c6c6}.recipe-node-item--input:hover{background:#fcd9d9;border-color:#e8a0a0}.recipe-node-item--output{color:#14532d;background:#e3f5e8;border-color:#b8dfc4}.recipe-node-item--output:hover{background:#d4efdc;border-color:#94cba6}.recipe-node-item--empty{cursor:default;opacity:.9;border-style:dashed}.recipe-node-item-placeholder{border-radius:0;font-size:.58rem}.recipe-node .item-icon-view{border-radius:0;flex:0 0 32px;width:32px;height:32px}.recipe-node .item-icon-view--chip{border-radius:0;padding:0 2px;font-size:.58rem}.recipe-node-empty{color:#6b7280;background:#f8fafc;border-radius:0;padding:.35rem .45rem;font-size:.82rem}.recipe-context-modal{background:var(--ui-overlay);z-index:1000;justify-content:flex-start;align-items:flex-start;display:flex;position:fixed;inset:0}.recipe-context-modal--transparent{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.recipe-context-panel{background:var(--ui-bg);border:1px solid var(--ui-border);width:min(600px,100vw - 2rem);max-height:min(80vh,560px);box-shadow:var(--ui-shadow);flex-direction:column;padding:1rem;display:flex;position:fixed;overflow:hidden;transform:translate(-50%,-50%)}.recipe-context-body{flex:1;grid-template-columns:140px 1fr;gap:.85rem;min-height:0;display:grid}.recipe-context-sidebar{flex-direction:column;gap:.5rem;min-height:0;display:flex}.recipe-context-sidebar-title,.recipe-context-main-title{text-transform:uppercase;letter-spacing:.04em;color:#6b7280;margin-bottom:.15rem;font-size:.78rem;font-weight:700}.recipe-context-terminal{border:1px solid var(--ui-border-light);text-align:left;cursor:pointer;color:#111827;width:100%;padding:.85rem .75rem;font-size:.95rem;font-weight:600;transition:background .15s,border-color .15s}.recipe-context-terminal--chest{background:#fef3c7;border-color:#fcd34d}.recipe-context-terminal--chest:hover{background:#fde68a}.recipe-context-terminal--outpost{background:#ede9fe;border-color:#c4b5fd}.recipe-context-terminal--outpost:hover{background:#ddd6fe}.recipe-context-terminal--port{background:#ecfdf5;border-color:#6ee7b7}.recipe-context-terminal--port:hover{background:#d1fae5}.recipe-context-main{flex-direction:column;min-width:0;min-height:0;display:flex}.recipe-context-header{margin-bottom:.75rem;font-weight:700}.recipe-context-search{border:1px solid var(--ui-border);width:100%;color:var(--ui-text-body);background:var(--ui-bg-muted);outline:none;margin-bottom:.75rem;padding:.65rem .85rem;font-size:.95rem}.recipe-context-search:focus{box-shadow:var(--ui-focus-ring);background:var(--ui-bg);border-color:#6366f1}.recipe-context-search::placeholder{color:#9ca3af}.recipe-context-list{flex-direction:column;flex:1;min-height:0;display:flex}.recipe-context-item{border:1px solid var(--ui-border-subtle);background:var(--ui-bg-muted);text-align:left;cursor:pointer;color:#111827;flex-direction:column;gap:.25rem;width:100%;padding:.85rem 1rem;font-size:.95rem;display:flex}.recipe-context-item:hover{background:#eef2ff}.recipe-context-item-title{font-weight:600}.recipe-context-item-meta{color:#6b7280;font-size:.82rem}.recipe-node-context-panel{background:var(--ui-bg);border:1px solid var(--ui-border);min-width:180px;box-shadow:var(--ui-shadow);padding:.75rem;position:fixed}.recipe-node-context-item{border:1px solid var(--ui-border-subtle);color:#3730a3;text-align:left;cursor:pointer;background:#eef2ff;width:100%;padding:.75rem 1rem;font-weight:700}.recipe-node-context-item+.recipe-node-context-item{margin-top:.35rem}.recipe-node-context-item:hover{background:#e0e7ff}.recipe-node-context-item--danger{color:#b91c1c;background:#fee2e2}.recipe-node-context-item--danger:hover{background:#fecaca}.recipe-duration-modal{background:var(--ui-bg);border:1px solid var(--ui-border);width:min(320px,92vw);box-shadow:var(--ui-shadow);padding:1rem;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.recipe-duration-modal-title{color:var(--ui-text-body);margin-bottom:.75rem;font-weight:700}.recipe-duration-modal-input{border:1px solid var(--ui-border);background:var(--ui-bg);width:100%;padding:.55rem .65rem;font-size:.95rem}.recipe-duration-modal-hint{color:#6b7280;margin:.5rem 0 0;font-size:.85rem}.recipe-duration-modal-actions{justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}.recipe-duration-modal-button{border:1px solid var(--ui-border);background:var(--ui-bg);cursor:pointer;padding:.5rem .85rem}.recipe-duration-modal-button--primary{color:#fff;background:#4f46e5;border-color:#4f46e5}.recipe-context-empty{color:#6b7280;padding:.85rem}*{box-sizing:border-box}:root{--ui-radius:0;--ui-border:#94a3b8;--ui-border-light:#cbd5e1;--ui-border-subtle:#e2e8f0;--ui-shadow:2px 2px 0 #cbd5e1;--ui-shadow-sm:1px 1px 0 #cbd5e1;--ui-bg:#fff;--ui-bg-muted:#f8fafc;--ui-bg-page:#eef2ff;--ui-bg-toolbar:#fff;--ui-text:#0f172a;--ui-text-body:#111827;--ui-text-muted:#64748b;--ui-primary:#4338ca;--ui-primary-border:#4338ca;--ui-primary-hover:#3730a3;--ui-overlay:#0f172a73;--ui-font:Inter, system-ui, sans-serif;--ui-focus-ring:0 0 0 2px #a5b4fc}html,body,#root{width:100%;height:100%;margin:0;padding:0}body{font-family:var(--ui-font);background:var(--ui-bg-page);color:var(--ui-text-body)}button,input,select,textarea{border-radius:var(--ui-radius);font-family:inherit}
