:root{--bg-deep: #020515;--bg-mid: #050a30;--bg-glow: #0a1a4a;--surface: rgba(12, 28, 72, .55);--surface-hover: rgba(18, 40, 95, .65);--border: rgba(51, 204, 255, .18);--border-focus: rgba(51, 204, 255, .4);--text: #e8eefc;--text-secondary: #94a8d4;--muted: #6b7fb0;--accent: #33ccff;--accent-hover: #5ddbff;--accent-muted: rgba(51, 204, 255, .12);--danger: #f87171;--danger-muted: rgba(248, 113, 113, .12);--radius: 14px;--radius-sm: 10px;--font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;--shadow: 0 8px 32px rgba(0, 0, 0, .35);--app-max-width: min(1120px, calc(100vw - 2.5rem) )}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:var(--font);background-color:var(--bg-mid);background-image:radial-gradient(ellipse 100% 70% at 50% -10%,var(--bg-glow) 0%,var(--bg-mid) 42%,var(--bg-deep) 100%);background-attachment:fixed;color:var(--text);line-height:1.55;-webkit-font-smoothing:antialiased;font-size:15px}#root{min-height:100vh}.app{max-width:var(--app-max-width);margin:0 auto;padding:2.5rem 1.5rem 4rem}.page-brand{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:2.75rem}.page-brand-title-row{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.75rem 1rem;flex-wrap:wrap}.page-brand-logo{display:block;width:56px;height:auto;max-width:min(35vw,72px);border-radius:12px;box-shadow:var(--shadow);flex-shrink:0}.page-brand-title{margin:0;font-size:clamp(1.65rem,4.5vw,2.15rem);font-weight:600;letter-spacing:-.03em;color:var(--text);text-shadow:0 0 40px rgba(51,204,255,.15)}.page-brand-tagline{margin:.35rem 0 0;font-size:.95rem;font-weight:500;color:var(--accent);letter-spacing:.04em;text-transform:uppercase}.mapper{padding-top:.25rem;border-top:1px solid var(--border)}.mapper-title{margin:0 0 .5rem;font-size:1.2rem;font-weight:600;letter-spacing:-.02em;color:var(--accent)}.mapper-subtitle{margin:0 0 1.75rem;font-size:.9375rem;color:var(--text-secondary);line-height:1.5}.dropzone{display:block;width:100%;border:2px dashed var(--border);border-radius:var(--radius);padding:2.75rem 2rem;text-align:center;background:var(--surface);transition:border-color .2s,background .2s,box-shadow .2s;cursor:pointer;position:relative;box-shadow:var(--shadow);overflow:hidden}.dropzone:hover,.dropzone:focus-within{border-color:var(--border-focus);background:var(--surface-hover)}.dropzone.dragover{border-color:var(--accent);background:var(--accent-muted)}.dropzone input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.dropzone-inner{pointer-events:none}.dropzone-icon{width:48px;height:48px;margin:0 auto 1rem;color:var(--text-secondary)}.dropzone.dragover .dropzone-icon{color:var(--accent)}.dropzone strong{display:block;font-size:1rem;font-weight:600;color:var(--text);margin-bottom:.25rem}.dropzone .hint{font-size:.8125rem;color:var(--muted);margin-top:.5rem;line-height:1.45}.file-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin-top:1.5rem;padding:1rem 1.25rem;background:var(--surface);border-radius:var(--radius-sm);border:1px solid var(--border)}.file-meta code{font-size:.8125rem;color:var(--accent);background:var(--accent-muted);padding:.2em .5em;border-radius:6px}.btn{font-family:var(--font);font-size:.875rem;font-weight:600;padding:.6rem 1.15rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:background .15s,border-color .15s,color .15s}.btn:hover{background:var(--surface-hover);border-color:var(--border-focus)}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-compact{padding:.35rem .75rem;font-size:.8125rem}.error{margin-top:1rem;padding:.875rem 1rem;background:var(--danger-muted);border:1px solid rgba(239,68,68,.3);border-radius:var(--radius-sm);color:var(--danger);font-size:.875rem}.success{margin-top:1rem;padding:.875rem 1rem;background:var(--accent-muted);border:1px solid rgba(51,204,255,.35);border-radius:var(--radius-sm);color:var(--accent);font-size:.875rem}.sheet-send-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:1rem 0 .5rem;font-size:.8125rem}.sheet-send-toolbar-label{color:var(--text-secondary);margin-right:.25rem}.sheet-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 1rem}.sheet-tab-pill{display:inline-flex;align-items:stretch;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);overflow:hidden;transition:border-color .15s,box-shadow .15s}.sheet-tab-pill:hover{border-color:var(--border-focus)}.sheet-tab-pill.active{border-color:var(--accent);box-shadow:0 0 0 1px #33ccff59}.sheet-tab-include{display:flex;align-items:center;padding:0 .5rem;border-right:1px solid var(--border);background:#0000000a;cursor:pointer}.sheet-tab-include input{cursor:pointer;width:1rem;height:1rem;margin:0}.sheet-tab{font-family:var(--font);font-size:.8125rem;padding:.5rem 1rem;border:none;border-radius:0;background:transparent;color:var(--text-secondary);cursor:pointer;transition:color .15s,background .15s}.sheet-tab:hover{color:var(--text);background:var(--surface-hover)}.sheet-tab-pill.active .sheet-tab{background:var(--accent-muted);color:var(--accent)}.company-extract-panel{margin:1.75rem 0 1.5rem;padding:1.25rem 1.25rem 1.35rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.company-extract-heading{margin:0 0 .5rem;font-size:1.05rem;font-weight:700}.company-extract-intro{margin:0 0 1rem;font-size:.875rem;color:var(--text-secondary);line-height:1.45}.company-extract-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.company-extract-stats{margin:.5rem 0 .75rem;font-size:.875rem}.company-extract-details{margin:0 0 .75rem;font-size:.8125rem}.company-extract-details summary{cursor:pointer;color:var(--accent);font-weight:600}.company-extract-by-sheet{margin:.5rem 0 0 1.1rem;padding:0;color:var(--text-secondary);line-height:1.5}.company-extract-muted{opacity:.75;font-size:.8125rem}.company-extract-list-wrap{margin-top:.5rem}.company-extract-list-head{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:.35rem}.company-extract-list{margin:0;padding:.65rem .85rem .75rem 1.35rem;max-height:min(40vh,280px);overflow:auto;border-radius:var(--radius-sm);border:1px solid var(--border);background:#00000008;font-size:.8125rem;line-height:1.45}.company-extract-list li{margin-bottom:.2rem}.archetype-cta{margin:1.25rem 0 0;padding:.85rem 1rem;border-radius:var(--radius-sm);border:1px solid rgba(51,204,255,.45);background:var(--accent-muted);font-size:.875rem;line-height:1.5;color:var(--text-secondary)}.archetype-cta code{font-size:.8125rem}.archetype-panel{margin:1.75rem 0 1.5rem;padding:1.25rem 1.25rem 1.35rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.archetype-panel-surface{border-left:4px solid var(--accent)}.infographic-panel{margin-top:1.75rem}.infographic-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:.75rem}.infographic-result{font-size:.8125rem;max-height:14rem;overflow:auto;padding:.65rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:#0003;margin-top:.5rem}.infographic-result pre{margin:0;white-space:pre-wrap;word-break:break-word}.archetype-heading{margin:0 0 .5rem;font-size:1.05rem;font-weight:700}.archetype-intro{margin:0 0 1rem;font-size:.875rem;color:var(--text-secondary);line-height:1.45}.archetype-toggle{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.85rem;font-size:.875rem;cursor:pointer;line-height:1.4}.archetype-toggle input{margin-top:.2rem;flex-shrink:0}.archetype-toggle-hint,.archetype-stats-muted{color:var(--text-secondary);font-weight:400}.archetype-fieldset{margin:0 0 1rem;padding:.75rem 1rem 1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:#00000005}.archetype-legend{padding:0 .35rem;font-size:.8125rem;font-weight:600}.archetype-preset-row{display:flex;align-items:flex-start;gap:.5rem;margin-top:.65rem;font-size:.8125rem;line-height:1.45;cursor:pointer}.archetype-preset-row input{margin-top:.2rem;flex-shrink:0}.archetype-preset-desc{color:var(--text-secondary);font-weight:400}.archetype-stats{margin:.75rem 0;font-size:.875rem}.archetype-warn{color:var(--danger)}.archetype-custom-toolbar{margin-bottom:.65rem}.archetype-custom-card{margin-bottom:.85rem;padding:.85rem 1rem;border-radius:var(--radius-sm);border:1px dashed var(--border);background:#00000005}.archetype-custom-head{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:.65rem}.archetype-custom-name{flex:1;min-width:12rem;font-family:var(--font);font-size:.875rem;padding:.45rem .65rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.archetype-custom-checks{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.65rem;font-size:.8125rem}.archetype-custom-checks label{display:flex;align-items:center;gap:.45rem;cursor:pointer}.mapping-function-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr));gap:.35rem .75rem;margin-bottom:.65rem;font-size:.8125rem}.mapping-function-checks label{display:flex;align-items:center;gap:.45rem;cursor:pointer}.archetype-extra-label{display:flex;flex-direction:column;gap:.35rem;font-size:.75rem;color:var(--text-secondary)}.archetype-extra-textarea{font-family:var(--font);font-size:.8125rem;padding:.45rem .65rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);resize:vertical;min-height:2.5rem}.manual-companies-panel .manual-companies-textarea{width:100%;min-height:6.5rem;color:var(--text);outline:none;transition:border-color .15s}.manual-companies-panel .manual-companies-textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.manual-companies-toolbar{display:flex;gap:.75rem;align-items:flex-start}.table-wrap{overflow:auto;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);max-height:min(55vh,480px);box-shadow:var(--shadow)}table.ingest{width:100%;border-collapse:collapse;font-size:.8125rem}table.ingest th,table.ingest td{padding:.6rem .85rem;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis}table.ingest th{position:sticky;top:0;background:var(--surface-hover);font-weight:600;color:var(--text-secondary);z-index:1;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}table.ingest tbody tr:hover td{background:#ffffff05}.table-footnote{font-size:.8125rem;color:var(--muted);margin-top:.75rem}.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;align-items:center}.field{margin-top:1.5rem;max-width:22rem}.field label{display:block;font-size:.875rem;font-weight:500;color:var(--text);margin-bottom:.5rem}.field label span{color:var(--muted);font-weight:400}.field input[type=email],.field input[type=text]{width:100%;font-family:var(--font);font-size:1rem;padding:.65rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none;transition:border-color .15s}.field input[type=email]:focus,.field input[type=text]:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.field textarea{width:100%;max-width:36rem;min-height:7rem;resize:vertical;font-family:var(--font);font-size:1rem;line-height:1.45;padding:.65rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none;transition:border-color .15s}.field input[type=email]::placeholder,.field input[type=text]::placeholder,.field textarea::placeholder{color:var(--muted)}.field-hint{font-size:.8125rem;color:var(--muted);margin-top:.4rem}.field select{width:100%;max-width:22rem;font-family:var(--font);font-size:1rem;padding:.65rem 2.25rem .65rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none;cursor:pointer;transition:border-color .15s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239ca3b4' stroke-width='2'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .85rem center}.field select:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.field select option{background:var(--surface);color:var(--text)}.field-error{font-size:.8125rem;color:var(--danger);margin-top:.4rem}.webhook-hint{font-size:.75rem;color:var(--muted);margin-top:.75rem;max-width:36rem;line-height:1.5}.webhook-hint code{font-size:.7rem;background:var(--surface-hover);padding:.15em .4em;border-radius:4px}.app-nav{display:flex;justify-content:flex-end;margin-bottom:.5rem}.nav-signout{font-family:var(--font);font-size:.8125rem;font-weight:500;color:var(--text-secondary);background:transparent;border:none;cursor:pointer;padding:.35rem .5rem;border-radius:var(--radius-sm);transition:color .15s,background .15s}.nav-signout:hover{color:var(--accent);background:var(--accent-muted)}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1.25rem}.login-loading{margin:0;font-size:.9375rem;color:var(--text-secondary)}.login-card{width:100%;max-width:400px;padding:2.25rem 2rem 2.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);text-align:center}.login-card--shake{animation:login-shake .5s ease}@keyframes login-shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}.login-card-logo{width:72px;height:auto;border-radius:14px;margin:0 auto 1rem;box-shadow:0 4px 20px #0000004d}.login-card-kicker{margin:0 0 .25rem;font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.login-card-title{margin:0 0 .5rem;font-size:1.5rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}.login-card-sub{margin:0 0 1.75rem;font-size:.875rem;color:var(--text-secondary);line-height:1.5}.login-form{text-align:left}.login-label{display:block;font-size:.8125rem;font-weight:500;color:var(--text-secondary);margin-bottom:.35rem}.login-input{width:100%;font-family:var(--font);font-size:1rem;padding:.7rem .9rem;margin-bottom:1rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:#0003;color:var(--text);outline:none;transition:border-color .15s,box-shadow .15s}.login-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.login-input::placeholder{color:var(--muted)}.login-error{margin:-.25rem 0 1rem;font-size:.8125rem;color:var(--danger)}.login-submit{width:100%;margin-top:.25rem;padding:.75rem 1rem;font-size:1rem}.suite{min-height:100vh}.suite-nav{display:flex;align-items:center;max-width:var(--app-max-width);margin:0 auto;padding:1rem 1.5rem 0;gap:1rem}.suite-nav-back{font-size:.875rem;font-weight:600;color:var(--text-secondary);text-decoration:none;border-radius:var(--radius-sm);padding:.35rem .5rem;margin:-.35rem -.5rem;transition:color .15s,background .15s}.suite-nav-back:hover{color:var(--accent);background:var(--accent-muted)}.suite-nav-signout{margin-left:auto}.tool-hub-intro{margin:.5rem 0 0;font-size:.9375rem;color:var(--text-secondary);max-width:min(42rem,100%);line-height:1.5}.tool-hub-sections{display:flex;flex-direction:column;gap:0;margin-top:1rem;padding-bottom:.5rem}.tool-hub-section{display:flex;flex-direction:column;gap:.65rem;min-width:0;padding:1.35rem 0 1.5rem;border-bottom:1px solid var(--border)}.tool-hub-section:first-child{padding-top:0}.tool-hub-section:last-child{border-bottom:none;padding-bottom:0}.tool-hub-category{margin:0;font-size:1rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}.tool-hub-section>.tool-card{width:fit-content;max-width:min(100%,28rem)}.tool-hub-tool-group{display:grid;gap:.5rem;width:100%;max-width:min(52rem,100%);grid-template-columns:1fr}.tool-hub-tool-group .tool-card{width:100%;min-width:0}@media(min-width:480px){.tool-hub-tool-group{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:960px){.tool-hub-tool-group{grid-template-columns:repeat(4,minmax(0,1fr))}}.tool-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;height:100%;padding:1.5rem 1.35rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);text-decoration:none;color:inherit;transition:border-color .2s,background .2s,transform .15s}.tool-card:hover{border-color:var(--border-focus);background:var(--surface-hover);transform:translateY(-2px)}.tool-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.tool-card-icon{width:48px;height:48px;margin-bottom:1rem;color:var(--accent)}.tool-card-icon svg{width:100%;height:100%}.tool-card.tool-card--blank{pointer-events:none;min-height:11rem;opacity:.28;border-style:dashed;box-shadow:none}.tool-card.tool-card--blank:hover{transform:none;border-color:var(--border);background:var(--surface)}.tool-card-title{font-size:1.05rem;font-weight:600;letter-spacing:-.02em;color:var(--text);margin-bottom:.4rem}.tool-card-desc{font-size:.8125rem;color:var(--muted);line-height:1.45}.tool-hub .tool-card{flex-direction:row;align-items:center;justify-content:flex-start;gap:.65rem;min-height:0;height:auto;min-width:0;padding:.55rem .75rem .55rem .65rem;text-align:left;border-radius:var(--radius-sm);box-shadow:0 2px 12px #00000038}.tool-hub .tool-card:hover{transform:translateY(-1px)}.tool-hub .tool-card-icon{width:34px;height:34px;margin-bottom:0;flex-shrink:0;align-self:center}.tool-hub .tool-card-title{font-size:1rem;font-weight:600;line-height:1.3;letter-spacing:-.02em;margin-bottom:0;align-self:center;flex:1;min-width:0;text-align:left}.tool-hub .tool-card-construction{display:inline-flex;align-items:center;margin-left:.3rem;line-height:1;vertical-align:middle;opacity:.95;-webkit-user-select:none;user-select:none;color:var(--accent)}.tool-hub .tool-card-sandbox-img{display:block;width:1.35em;height:1.35em;max-width:24px;max-height:24px;flex-shrink:0;object-fit:contain;vertical-align:middle;pointer-events:none;filter:none}.tool-hub .tool-card-desc{font-size:.875rem;line-height:1.5}.tool-card-icon--github{color:var(--text)}.app .inline-code{font-size:.8em;background:var(--surface-hover);padding:.15em .4em;border-radius:4px}.github-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem 1.25rem;margin-top:.5rem}.github-field-inline{flex:1 1 16rem;margin-top:0;max-width:none}.github-field-top{flex:0 0 5rem;margin-top:0;max-width:5rem}.github-field-top input{width:100%;font-family:var(--font);font-size:1rem;padding:.65rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none}.github-field-top input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-muted)}.github-submit{margin-bottom:.15rem}.github-result-meta{margin-top:1.5rem;font-size:.875rem;color:var(--text-secondary)}.github-table-wrap{margin-top:.75rem;max-height:min(60vh,560px)}.github-table th,.github-table td{max-width:120px}.github-external{color:var(--accent);text-decoration:none;font-weight:500}.github-external:hover{text-decoration:underline}.github-cell-stack{display:flex;flex-direction:column;gap:.2rem;align-items:flex-start}.github-hint-below{color:var(--text-secondary);font-size:.875rem}
