:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}:root,[data-theme=dark]{--mb-bg: #1A1A1A;--mb-bg-card: #222;--mb-bg-input: #2a2a2a;--mb-border: #3a3a3a;--mb-accent: #2E869E;--mb-accent-hover: #57D27F;--mb-text: #ffffff;--mb-text-muted: #B0B0B0;--mb-gradient-start: rgba(46, 134, 158, .15);--mb-gradient-end: rgba(31, 77, 112, .2)}html{color-scheme:dark}body{margin:0;padding:0;font-family:JetBrains Mono,Fira Code,Cascadia Code,Consolas,monospace;background:var(--mb-bg);background-image:radial-gradient(ellipse 80% 50% at 70% 20%,var(--mb-gradient-start),transparent 50%),radial-gradient(ellipse 60% 40% at 30% 80%,var(--mb-gradient-end),transparent 50%);display:flex;justify-content:center;align-items:flex-start;min-height:100vh;color:var(--mb-text);overflow-x:hidden}.App{width:min(1100px,calc(100vw - 40px));flex-shrink:0;min-width:0;overflow:hidden;margin:20px;padding:30px;border:1px solid var(--mb-border);border-radius:12px;background-color:var(--mb-bg-card);text-align:center;position:relative;box-sizing:border-box}h1{color:var(--mb-text);margin-bottom:40px;font-size:2.5em;font-weight:600}.form-group{margin-bottom:20px;text-align:left;max-width:100%}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--mb-text-muted);font-size:1em}.form-group input[type=text],.form-group textarea{width:100%;padding:12px 14px;border:1px solid var(--mb-border);border-radius:6px;box-sizing:border-box;font-size:.95em;font-family:inherit;transition:border-color .2s,box-shadow .2s;background-color:var(--mb-bg-input);color:var(--mb-text)}.form-group input[type=text]::placeholder,.form-group textarea::placeholder{color:var(--mb-text-muted);opacity:.7}.form-group input[type=text]:focus,.form-group textarea:focus{border-color:var(--mb-accent);outline:none;box-shadow:0 0 0 3px #2e869e40}.input-placeholder-wrapper{position:relative;width:100%}.input-placeholder-overlay{position:absolute;inset:0;padding:12px 14px;color:var(--mb-text-muted);opacity:.7;pointer-events:none;font-size:.95em;font-family:inherit;line-height:1.5;transition:opacity .3s ease;border-radius:6px;display:flex;align-items:center}.input-placeholder-wrapper.input-placeholder-fade .input-placeholder-overlay{opacity:.2}.input-placeholder-wrapper.input-placeholder-gone .input-placeholder-overlay{opacity:0}.scope-paths-wrapper{position:relative;width:100%}.scope-placeholder-overlay{position:absolute;inset:0;padding:12px 14px;color:var(--mb-text-muted);opacity:.7;pointer-events:none;white-space:pre-wrap;font-size:.95em;font-family:inherit;line-height:1.5;transition:opacity .3s ease;border-radius:6px}.scope-paths-wrapper.scope-placeholder-fade .scope-placeholder-overlay{opacity:.2}.scope-paths-wrapper.scope-placeholder-gone .scope-placeholder-overlay{opacity:0}.form-group .scope-paths-textarea{width:100%;min-width:92ch;max-width:100%;min-height:80px;max-height:60vh;resize:none;overflow-y:auto;white-space:pre;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--mb-accent) var(--mb-bg-input)}.form-group .scope-paths-textarea::-webkit-scrollbar{width:10px}.form-group .scope-paths-textarea::-webkit-scrollbar-track{background:var(--mb-bg-input);border-radius:5px}.form-group .scope-paths-textarea::-webkit-scrollbar-thumb{background:var(--mb-accent);border-radius:5px}.form-group .scope-paths-textarea::-webkit-scrollbar-thumb:hover{background:var(--mb-accent-hover)}button{background-color:var(--mb-accent);color:#fff;padding:12px 25px;border:none;border-radius:6px;font-size:1em;font-family:inherit;cursor:pointer;transition:background-color .2s,transform .1s;margin:0 8px;min-width:150px}button:hover:not(:disabled){background-color:var(--mb-accent-hover);transform:translateY(-1px)}button.btn-estimate,.btn-add-repo{background-color:var(--mb-bg-input);border:1px dashed var(--mb-border);color:var(--mb-text);width:220px;min-width:220px;padding:10px 20px;box-sizing:border-box}button.btn-estimate:hover:not(:disabled),.btn-add-repo:hover:not(:disabled){background-color:var(--mb-accent-hover);border-color:var(--mb-accent-hover);border-style:solid;color:#fff;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0)}button:disabled{background-color:var(--mb-border);color:var(--mb-text-muted);cursor:not-allowed}.btn-add-repo:focus,.btn-add-repo:active,button.btn-estimate:focus,button.btn-estimate:active{outline:none;box-shadow:none}.btn-add-repo:disabled,button.btn-estimate:disabled{border:1px dashed var(--mb-border);outline:none;box-shadow:none}.btn-loading{display:inline-flex;align-items:center;justify-content:center;gap:10px}.btn-spinner{width:18px;height:18px;border:2px solid var(--mb-border);border-top-color:var(--mb-text-muted);border-radius:50%;animation:btn-spin .8s linear infinite}@keyframes btn-spin{to{transform:rotate(360deg)}}@keyframes progress-slide{0%{transform:translate(-100%)}to{transform:translate(350%)}}.history-item--pending .history-item-header{overflow:visible}.history-item-status--pending{display:inline-flex;align-items:center;gap:6px}.history-item-pending-spinner{display:inline-block;width:12px;height:12px;border:2px solid rgba(87,210,127,.3);border-top-color:var(--mb-accent-hover);border-radius:50%;animation:btn-spin .8s linear infinite}.max-requests-message{background:#ffffff0d;border:1px solid var(--mb-border);border-radius:8px;padding:18px 20px;margin-bottom:20px;text-align:center}.max-requests-message p{margin:0;color:var(--mb-text-muted);font-size:.95em;line-height:1.5}.error-message{color:#ff6b6b;background-color:#ff6b6b1a;border:1px solid rgba(255,107,107,.3);border-radius:8px;padding:15px;margin-top:25px;font-weight:600;text-align:center}.repo-entry--multi{border:1px solid var(--mb-border);border-radius:8px;padding:16px 20px;margin-bottom:16px;background:var(--mb-bg)}.repo-entry-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.repo-entry-label{font-size:.85em;font-weight:600;color:var(--mb-accent);text-transform:uppercase;letter-spacing:.05em}.btn-remove-repo{padding:4px 12px;min-width:unset;font-size:.8em;background:transparent;border:1px solid var(--mb-border);color:var(--mb-text-muted);margin:0}.btn-remove-repo:hover:not(:disabled){background:#ff6b6b1a;border-color:#ff6b6b;color:#ff6b6b;transform:none}.repo-actions{margin-bottom:20px}.history{margin-top:40px;text-align:left;width:100%;min-width:0}.history h2{color:var(--mb-text);margin-top:0;margin-bottom:16px;font-size:1.4em}.history-list{list-style:none;margin:0;padding:0;border:1px solid var(--mb-border);border-radius:10px;background:var(--mb-bg);min-width:0;overflow:hidden}.history-item{border-radius:0;margin:0;padding:0;overflow:hidden;border:none;border-bottom:1px solid var(--mb-border);transition:border-color .2s,box-shadow .2s;min-width:0;width:100%;max-width:100%;box-sizing:border-box}.history-item:first-child{border-radius:10px 10px 0 0}.history-item:last-child{border-bottom:none;border-radius:0 0 10px 10px}.history-item--expanded{box-shadow:inset 0 0 0 1px var(--mb-border)}.history-item-header{width:100%;max-width:100%;min-width:0;margin:0;display:grid;grid-template-columns:80px minmax(0,1fr) minmax(0,1fr) 90px;gap:0;align-items:center;padding:10px 0;text-align:left;background:transparent;border:none;color:var(--mb-text);font-family:inherit;font-size:.9em;cursor:pointer;transition:background .2s,border-radius .2s;border-radius:inherit;box-sizing:border-box}button.history-item-header:hover{background:#ffffff0a;color:var(--mb-text)}.history-item-header:hover{background:#ffffff0a}.history-item--expanded .history-item-header{background:#ffffff08;border-radius:10px 10px 0 0}.history-item:first-child .history-item-header{border-radius:10px 10px 0 0}.history-item:only-child:not(.history-item--expanded) .history-item-header{border-radius:10px}.history-item-id{font-family:monospace;color:var(--mb-text-muted);padding:0 0 0 12px}.history-item-date{color:var(--mb-text-muted);font-size:.85em;padding:0 6px}.history-item-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mb-text);min-width:0;padding:0 6px}.history-item-status{font-size:.8em;text-transform:uppercase;font-weight:600;justify-self:end;padding:0 12px}.history-item-status--pending{color:var(--mb-accent)}.history-item-status--completed{color:var(--mb-accent-hover)}.history-item-status--failed{color:#ff6b6b}.history-item-status--cancelled{color:var(--mb-text-muted)}.history-item-body{padding:16px;background:var(--mb-bg-input);border-top:1px solid var(--mb-border);border-radius:0 0 8px 8px;min-width:0;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box}.history-item-section-title{margin:0 0 8px;font-size:.9em;font-weight:600;color:var(--mb-text-muted)}.history-item-request-payload{margin-bottom:16px}.history-item-pre--small{max-height:180px}.history-item-pre{background:var(--mb-bg);border:1px solid var(--mb-border);border-radius:6px;padding:16px;margin:0 0 12px;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;font-size:.85em;max-height:400px;width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;box-sizing:border-box}.history-item-actions{display:flex;gap:10px}.history-item-action-btn{margin:0;background-color:var(--mb-bg-input);border:1px dashed var(--mb-border);color:var(--mb-text);padding:10px 20px;box-sizing:border-box;border-radius:6px;font-size:1em;cursor:pointer}.history-item-action-btn:hover{background-color:var(--mb-accent-hover);border-color:var(--mb-accent-hover);border-style:solid;color:#fff;transform:translateY(-1px)}.history-item-action-btn:focus,.history-item-action-btn:active{outline:none;box-shadow:none}.history-item-description-block{margin-top:12px}.history-item-description-actions{display:flex;gap:10px;flex-wrap:wrap}.history-item-description-text{margin-top:8px;padding:12px;background:var(--mb-bg);border:1px solid var(--mb-border);border-radius:6px;font-size:.9em;line-height:1.5;white-space:pre-wrap;word-break:break-word}.history-item-error{margin:0;color:#ff6b6b;font-size:.95em}.history-item-pending-actions{display:flex;align-items:center;gap:10px}button.history-item-cancel-btn{padding:6px 12px;font-size:.85em;background:var(--mb-bg);border:1px solid var(--mb-border);color:var(--mb-text-muted);border-radius:6px;cursor:pointer;font-family:inherit;transform:none;min-width:unset}button.history-item-cancel-btn:hover{background:#ff6b6b26;border-color:#ff6b6b66;color:var(--mb-text-muted);transform:none}.history-item-cancelled{margin:0;color:var(--mb-text-muted);font-size:.9em}
