:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7fa;--surface:#fff;--surface-2:#fbfcfd;--ink:#16181d;--muted:#687180;--soft:#97a1af;--line:#dfe4ea;--line-strong:#c8d0da;--teal:#0f8f83;--teal-soft:#e8f7f5;--blue:#2563eb;--blue-soft:#edf4ff;--amber:#b7791f;--amber-soft:#fff7e6;--red:#d92d20;--red-soft:#fff1f0;--shadow:0 14px 36px #14182312;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-width:1180px;color:var(--ink);margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;padding:14px}.topbar,.panel,.command-strip,.registry-panel,.stage-column,.project-card,.module-card,.agent-card,.run-card{background:var(--surface);border:1px solid var(--line);border-radius:8px}.topbar{box-shadow:var(--shadow);grid-template-columns:280px 1fr auto;align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:grid}.brand,.top-actions,.view-tabs,.panel-title,.stage-head,.project-title,.project-meta,.button-row,.external-link,.registry-head,.timeline-row,.runline,.auth-brand{align-items:center;display:flex}.brand,.auth-brand{gap:12px}.brand-mark{background:var(--ink);color:#fff;border-radius:7px;justify-content:center;align-items:center;width:38px;height:38px;font-size:13px;font-weight:900;display:inline-flex}.brand strong,.auth-brand strong,.inspector-head strong{font-size:16px;line-height:1.15;display:block}.brand span,.auth-brand span,.inspector-head span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.view-tabs{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;justify-self:center;gap:4px;padding:4px}.view-tabs button,.top-actions button,.button-row button,.registry-head button{border-radius:7px;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.view-tabs button{color:var(--muted);background:0 0;border:1px solid #0000}.view-tabs button.active{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:0 4px 10px #1418230d}.top-actions{gap:8px}.top-actions button,.button-row button,.registry-head button{background:var(--ink);border:1px solid var(--ink);color:#fff}.button-row button:nth-child(2),.registry-head button{background:var(--blue);border-color:var(--blue)}button:disabled{cursor:not-allowed;opacity:.55}.api-chip,.logout-button{border:1px solid var(--line);border-radius:7px;align-items:center;gap:7px;min-height:34px;padding:0 10px;font-size:12px;display:inline-flex}.api-chip.online{background:var(--teal-soft);color:var(--teal)}.api-chip.offline{background:var(--amber-soft);color:var(--amber)}.logout-button{background:var(--surface);color:var(--ink);width:36px}.notice-line{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:13px}.workspace{grid-template-columns:280px minmax(640px,1fr) 360px;gap:12px;display:grid}.left-rail,.main-column,.right-rail{flex-direction:column;gap:12px;min-width:0;display:flex}.panel,.registry-panel{padding:14px;box-shadow:0 8px 22px #1418230a}.panel-title{color:var(--ink);letter-spacing:0;gap:8px;margin-bottom:12px;font-size:13px;font-weight:900}.panel-title.inline{margin-bottom:4px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.metric,.fact{background:var(--surface-2);border:1px solid var(--line);border-radius:7px;padding:10px}.metric span,.fact span,.text-block span,.section-label{color:var(--soft);margin-bottom:5px;font-size:11px;font-weight:800;display:block}.metric strong,.fact strong{font-size:18px}.runline{flex-wrap:wrap;gap:6px;margin-top:12px}.runline span,.tag-cloud span,.project-meta small{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.compact-list{gap:7px;display:grid}.compact-row{background:var(--surface-2);border-radius:7px;justify-content:space-between;align-items:center;padding:8px;display:flex}.compact-row span{color:var(--ink);font-size:12px}.compact-row strong{color:var(--teal);font-size:12px}.module-score{border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:12px}.module-score strong{font-size:36px;line-height:1;display:block}.module-score span{color:var(--muted);font-size:12px}.tag-cloud{flex-wrap:wrap;gap:6px;display:flex}.command-strip{grid-template-columns:320px 1fr;align-items:center;gap:14px;padding:14px;display:grid}.command-strip p,.registry-head p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.action-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.action-row button{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);text-align:left;border-radius:7px;justify-content:space-between;align-items:center;min-height:52px;padding:9px 10px;display:flex}.action-row strong,.action-row small{display:block}.action-row strong{font-size:12px}.action-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;overflow:hidden}.empty,.empty-stage,.empty-state{color:var(--muted);font-size:12px;line-height:1.4}.project-board{grid-template-columns:repeat(11,minmax(168px,1fr));gap:8px;max-width:100%;padding-bottom:4px;display:grid;overflow-x:auto}.stage-column{background:#eef2f6;min-height:520px;padding:8px}.stage-head{justify-content:space-between;gap:7px}.stage-head span{flex:1;font-size:12px;font-weight:900}.stage-head small{background:var(--surface);color:var(--muted);border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;display:inline-flex}.stage-column>p{color:var(--muted);min-height:30px;margin:7px 0 8px;font-size:11px;line-height:1.35}.project-stack{gap:8px;display:grid}.project-card{color:inherit;text-align:left;gap:8px;width:100%;padding:10px;display:grid}.project-card:hover,.project-card.selected{border-color:var(--teal);box-shadow:0 10px 20px #0f8f8324}.project-title{justify-content:space-between;align-items:flex-start;gap:8px}.project-title strong{font-size:12px;line-height:1.25}.project-title em,.inspector-head em{background:var(--ink);color:#fff;white-space:nowrap;border-radius:6px;padding:5px 6px;font-size:11px;font-style:normal;font-weight:900}.project-niche,.project-promise{color:var(--muted);font-size:12px;line-height:1.35}.project-promise{color:var(--ink)}.project-meta{flex-wrap:wrap;gap:5px}.empty-stage{border:1px dashed var(--line-strong);border-radius:7px;padding:10px}.inspector.empty-state{text-align:center;place-items:center;min-height:260px;display:grid}.inspector-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.button-row{gap:8px;margin-bottom:10px}.button-row button{flex:1;justify-content:center}.external-link{background:var(--blue-soft);color:var(--blue);border:1px solid #cfe0ff;border-radius:7px;justify-content:center;gap:8px;min-height:36px;margin-bottom:12px;font-size:12px;font-weight:900;text-decoration:none}.fact-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px;display:grid}.fact strong{overflow-wrap:anywhere;font-size:13px}.text-block{border-top:1px solid var(--line);padding:10px 0 0}.text-block+.text-block{margin-top:10px}.text-block p{white-space:pre-wrap;max-height:220px;margin:0;font-size:12px;line-height:1.45;overflow:auto}.timeline{border-top:1px solid var(--line);gap:8px;margin-top:12px;padding-top:10px;display:grid}.timeline-row{align-items:flex-start;gap:8px}.timeline-row strong,.timeline-row small{display:block}.timeline-row strong{font-size:12px}.timeline-row small{color:var(--muted);font-size:11px;line-height:1.35}.dot{background:var(--teal);box-shadow:0 0 0 4px var(--teal-soft);border-radius:999px;flex:none;width:8px;height:8px;margin-top:4px}.registry-head{justify-content:space-between;margin-bottom:14px}.module-grid,.agent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.module-card,.agent-card{gap:10px;min-height:190px;padding:14px;display:grid}.module-card strong,.agent-card strong{font-size:14px;display:block}.module-card span,.module-card p,.agent-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.module-card em{border-radius:999px;justify-self:start;padding:5px 8px;font-size:11px;font-style:normal;font-weight:900}.module-card em.validated{background:var(--teal-soft);color:var(--teal)}.module-card em.candidate{background:var(--amber-soft);color:var(--amber)}.agent-card code{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);white-space:pre-wrap;border-radius:7px;max-height:110px;padding:10px;font-size:11px;line-height:1.45;display:block;overflow:auto}.runs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.run-list{gap:8px;display:grid}.run-card{gap:5px;padding:10px;display:grid}.run-card strong,.run-card span{overflow-wrap:anywhere;font-size:12px}.run-card span{color:var(--muted)}.auth-screen{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;gap:14px;width:min(100%,380px);padding:22px;display:grid}.auth-card label{gap:7px;display:grid}.auth-card label span{color:var(--muted);font-size:12px;font-weight:800}.auth-card input{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);border-radius:7px;outline:0;height:40px;padding:0 11px}.auth-card button{background:var(--ink);border:1px solid var(--ink);color:#fff;border-radius:7px;justify-content:center;align-items:center;gap:8px;height:40px;font-weight:900;display:inline-flex}.auth-error{background:var(--red-soft);color:var(--red);border:1px solid #ffc8c5;border-radius:7px;margin:0;padding:9px;font-size:12px}@media (width<=1260px){body{min-width:0}.topbar,.workspace{grid-template-columns:1fr}.view-tabs{justify-self:stretch;overflow-x:auto}.top-actions{flex-wrap:wrap}.left-rail,.right-rail{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.inspector{grid-column:1/-1}}@media (width<=820px){.app-shell{padding:10px}.command-strip,.module-grid,.agent-grid,.runs-grid,.left-rail,.right-rail{grid-template-columns:1fr}.project-board{grid-template-columns:repeat(11,176px)}.action-row{grid-template-columns:1fr}}
