:root{--bg: #0c0d0e;--bg-elevated: #141516;--bg-panel: #1b1c1e;--bg-control: #222326;--text: #f2f2f2;--text-secondary: #b7b7b7;--text-muted: #858585;--border: #303236;--border-strong: #51545a;--accent: #f4f4f4;--accent-contrast: #101112;--success: #d7d7d7;--warning: #c5c5c5;--danger: #eeeeee;--radius: 8px;--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;--bg-primary: var(--bg);--bg-secondary: var(--bg-elevated);--bg-tertiary: var(--bg-control);--text-primary: var(--text);--border-color: var(--border);--accent-primary: var(--accent);--accent-success: var(--success);--accent-warning: var(--warning);--accent-danger: var(--danger)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);line-height:1.5}button,input,select,textarea{font:inherit}a{color:inherit}code,pre{font-family:var(--font-mono)}.app-shell{min-height:100vh;background:var(--bg)}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:linear-gradient(135deg,rgba(255,255,255,.05) 0 1px,transparent 1px 16px),var(--bg)}.auth-panel{width:min(100%,440px);display:flex;flex-direction:column;gap:18px;padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:#141516f0;box-shadow:0 24px 80px #00000047}.auth-brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:14px;font-weight:800}.auth-form{display:flex;flex-direction:column;gap:10px}.auth-wide{width:100%}.auth-meta{display:flex;flex-wrap:wrap;gap:8px}.auth-meta span{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:3px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-secondary);font-size:11px;font-weight:700}.auth-notice{padding:12px;border:1px solid var(--border);border-radius:6px;background:var(--bg-panel);color:var(--text-secondary);font-size:13px}.app-header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--border);background:#0c0d0ef5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.header-row{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(320px,1fr);align-items:center;gap:16px;min-height:64px;padding:0 24px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:15px;font-weight:700;letter-spacing:0;text-decoration:none;white-space:nowrap}.brand-lockup{display:inline-flex;align-items:center;gap:10px}.brand-lockup.compact{gap:0}.brand-mark{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid var(--border-strong);border-radius:6px;background:var(--accent);color:var(--accent-contrast);font-size:14px;font-weight:800}.brand-mark svg{width:17px;height:17px}.nav-links{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}.nav-item{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:6px;color:var(--text-secondary);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.nav-icon,.row-icon{flex:0 0 auto;color:currentColor}.nav-item:hover,.nav-item.active{border-color:var(--border);background:var(--bg-panel);color:var(--text)}.mobile-menu-button{display:none}.project-switcher{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;min-width:0}.header-status-group{display:inline-flex;align-items:center;flex:0 0 auto;gap:8px;min-width:0}.project-switcher select,.input,textarea.input{width:100%;min-height:38px;padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:var(--bg-control);color:var(--text);outline:none}.project-switcher select{flex:0 1 360px;width:clamp(220px,30vw,360px)}.project-switcher select:focus,.input:focus,textarea.input:focus{border-color:var(--border-strong)}.runtime-chip,.source-badge,.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid var(--border);border-radius:999px;background:var(--bg-panel);color:var(--text-secondary);font-size:11px;font-weight:700;text-transform:capitalize;white-space:nowrap}.source-badge.github{color:var(--text)}.main-content{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:22px 0 48px}.page{display:flex;flex-direction:column;gap:18px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-title,.section-title{display:inline-flex;align-items:center;gap:9px;min-width:0}.section-title.small{gap:7px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.15;font-weight:760}h2{font-size:18px;line-height:1.25;font-weight:720}h3{font-size:15px;font-weight:700}.subtle,.page-header p,.muted{color:var(--text-secondary);font-size:13px}.section,.panel,.stat-card,.project-card,.task-item,.session-info,.check-item,.blueprint-container,.raw-input,.status-column{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-elevated)}.section,.panel{padding:16px}.section{display:flex;flex-direction:column;gap:12px}.compact-section{gap:10px}.stats-grid,.project-grid,.actions-grid,.setup-grid{display:grid;gap:12px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{position:relative;padding:16px;min-height:92px;overflow:hidden}.stat-icon{position:absolute;top:14px;right:14px;color:var(--text-muted)}.stat-value{font-size:28px;font-weight:780}.stat-label{color:var(--text-secondary);font-size:12px;font-weight:650}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;border:1px solid var(--border);border-radius:6px;background:var(--bg-control);color:var(--text);cursor:pointer;font-size:13px;font-weight:700;text-decoration:none;transition:background .12s ease,border-color .12s ease,color .12s ease,transform .12s ease}.btn-large{min-height:46px;padding:11px 16px;font-size:14px}.btn:hover{border-color:var(--border-strong);background:#292a2d;color:var(--text)}.btn:focus-visible,.nav-item:focus-visible,.mobile-menu-button:focus-visible,.filter-btn:focus-visible,.project-switcher select:focus-visible,.input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn-primary:hover,.btn-success:hover,.btn-warning:hover,.btn-danger:hover{border-color:var(--border-strong);background:#292a2d;color:var(--text)}.btn svg{flex:0 0 auto}.btn:disabled{cursor:not-allowed;opacity:.48}.btn-primary,.btn-success,.btn-warning,.btn-danger{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}.header-actions,.inline-actions{display:flex;flex-wrap:wrap;gap:8px}.add-task-form,.add-note-form,.inline-form{display:flex;gap:10px;align-items:stretch}.task-composer{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,170px) auto;gap:10px;align-items:stretch}.task-composer textarea{min-height:132px;resize:vertical}.task-composer select{align-self:start}.task-composer .btn{align-self:start;min-width:122px}.simple-page{max-width:960px;margin:0 auto;width:100%}.simple-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:14px;align-items:stretch}.simple-hero-copy,.simple-side-panel,.simple-step,.simple-composer{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-elevated)}.simple-hero-copy{display:flex;min-height:260px;padding:28px;flex-direction:column;justify-content:center;gap:16px}.simple-hero-copy h1{max-width:660px;font-size:38px;line-height:1.05}.simple-hero-copy p:not(.page-kicker){max-width:620px;color:var(--text-secondary);font-size:16px;line-height:1.55}.simple-hero-actions,.simple-composer-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.simple-side-panel{display:flex;padding:20px;flex-direction:column;justify-content:center;gap:12px}.simple-side-panel p{color:var(--text-secondary);font-size:13px;line-height:1.5}.simple-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.simple-step{display:flex;min-height:150px;padding:18px;flex-direction:column;justify-content:space-between;gap:12px}.simple-step svg,.simple-side-panel svg{color:var(--text-secondary)}.simple-step p{color:var(--text-secondary);font-size:13px;line-height:1.45}.simple-how-list{display:grid;gap:10px;color:var(--text-secondary);font-size:13px;line-height:1.5}.simple-start{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.simple-composer{padding:22px;gap:16px}.simple-composer-heading{display:flex;flex-direction:column;gap:8px}.simple-composer-heading p{color:var(--text-secondary);font-size:15px}.prompt-textarea{height:clamp(220px,32vh,360px);min-height:220px;resize:vertical;font-size:15px;line-height:1.55;overflow-y:auto}.mini-options{min-width:220px}.mini-options summary{display:inline-flex;min-height:38px;align-items:center;gap:7px;cursor:pointer;color:var(--text-secondary);font-size:13px;font-weight:700}.mini-options select{margin-top:8px}.task-page-meta,.page-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--text-secondary);font-size:13px}.add-task-form .input,.add-note-form .input,.inline-form .input{flex:1}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.filter-label{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:12px;font-weight:800}.filter-btn{min-height:32px;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text-secondary);cursor:pointer;font-size:12px;font-weight:700}.filter-btn.active,.filter-btn:hover{background:var(--accent);color:var(--accent-contrast)}.task-list{display:flex;flex-direction:column;gap:8px}.task-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 14px;color:var(--text);text-decoration:none}.task-item:hover,.project-card:hover{border-color:var(--border-strong);background:var(--bg-panel)}.task-main{display:flex;align-items:center;gap:12px;min-width:0}.task-id{color:var(--text);font-family:var(--font-mono);font-size:12px;font-weight:800;white-space:nowrap}.task-input{min-width:0;overflow:hidden;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap}.raw-input,.summary,.original-request{white-space:pre-wrap}.task-meta{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:12px}.project-grid,.setup-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.project-card{display:flex;min-height:140px;padding:16px;flex-direction:column;justify-content:space-between;gap:14px}.project-card.active{border-color:var(--accent)}.project-path,.check-command,.blueprint-content,.codex-prompt,.codex-prompt-box{color:var(--text-secondary);font-family:var(--font-mono);font-size:12px;word-break:break-word}.check-name{display:flex;align-items:center;gap:8px}.empty-state{display:flex;min-height:140px;padding:22px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--bg-elevated);color:var(--text-secondary);flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.status-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.status-column{padding:12px}.raw-input,.blueprint-container,.codex-prompt,.codex-prompt-box{padding:16px}.prompt-result{gap:14px}.prompt-result-header{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}.prompt-main{max-height:none;min-height:220px;color:var(--text);background:var(--bg-panel);border:1px solid var(--border);border-radius:6px;font-size:13px;line-height:1.6;white-space:pre-wrap}.request-card .raw-input{background:var(--bg-panel)}.history-section .task-list{margin-top:4px}.blueprint-container,.codex-prompt,.codex-prompt-box{max-height:62vh;overflow:auto}.blueprint-content,.codex-prompt,.codex-prompt-box{margin:0}.analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}.files-table{width:100%;border-collapse:collapse}.files-table th,.files-table td{padding:10px;border-bottom:1px solid var(--border);text-align:left}.file-list,.instructions-list,.criteria-list,.test-list,.risks-list{padding-left:20px}.note,.attachment-item,.risk-item,.conflict-card{border:1px solid var(--border);border-radius:6px;background:var(--bg-panel);padding:12px}.attachments-list,.checks-list,.notes-list,.task-content{display:flex;flex-direction:column;gap:10px}.details-section{gap:10px}.details-section summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--text);font-size:14px;font-weight:760;list-style:none}.details-section summary::-webkit-details-marker{display:none}.details-section summary:before{content:"+";display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid var(--border);border-radius:4px;color:var(--text-secondary);font-family:var(--font-mono);font-size:12px}.details-section[open] summary:before{content:"-"}.metadata-grid{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 14px;align-items:baseline;color:var(--text-secondary);font-size:13px}.metadata-grid strong,.metadata-grid code{min-width:0;color:var(--text);word-break:break-word}.confidence{display:inline-flex;margin-left:8px;min-height:22px;align-items:center;padding:2px 7px;border:1px solid var(--border);border-radius:999px;color:var(--text-secondary);font-size:11px;font-weight:800}.summary-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.summary-strip span{display:inline-flex;min-height:26px;align-items:center;padding:4px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text-secondary);font-size:12px;font-weight:700}.language-select{max-width:220px}.loading,.error{color:var(--text-secondary)}.loading-state{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:112px;width:100%;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-elevated);color:var(--text-secondary);font-size:13px;font-weight:700}.loading-state.compact{min-height:48px;justify-content:flex-start;padding:10px 12px}.loading-spinner{animation:bluepromt-spin .9s linear infinite;color:var(--text)}@keyframes bluepromt-spin{to{transform:rotate(360deg)}}.form-group{display:grid;gap:7px}.form-group label{color:var(--text);font-size:12px;font-weight:800}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.control-row,.metadata-actions,.runner-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.spaced-section{margin-top:12px}@media (max-width: 1180px) and (min-width: 861px){.header-row{grid-template-columns:1fr auto;align-items:center;gap:10px;padding:10px 20px}.mobile-menu-button{display:inline-flex;min-height:34px;padding:7px 11px;border:1px solid var(--border);border-radius:6px;background:var(--bg-control);color:var(--text);font-size:12px;font-weight:800;justify-content:center}.nav-links{display:none;grid-column:1 / -1;flex-direction:column;align-items:stretch;width:100%}.nav-links.open{display:flex}.project-switcher{grid-column:1 / -1;width:100%;justify-content:flex-end}.project-switcher select{width:clamp(260px,48vw,520px)}}@media (max-width: 860px){.header-row{grid-template-columns:1fr auto;align-items:center;gap:10px;padding:10px 14px}.mobile-menu-button{display:inline-flex;min-height:34px;padding:7px 11px;border:1px solid var(--border);border-radius:6px;background:var(--bg-control);color:var(--text);font-size:12px;font-weight:800;justify-content:center}.nav-links{display:none;grid-column:1 / -1;flex-direction:column;align-items:stretch;width:100%}.nav-links.open{display:flex}.nav-item{justify-content:flex-start}.project-switcher{grid-column:1 / -1;width:100%;min-width:0;justify-content:stretch;flex-wrap:wrap}.project-switcher select{min-width:0;flex:1 1 100%;width:100%;order:2}.header-status-group{order:1;width:100%;justify-content:space-between}.main-content{width:min(100% - 28px,760px);padding-top:18px}.page-header,.add-task-form,.add-note-form,.inline-form,.task-composer{flex-direction:column;display:flex;align-items:stretch}.header-actions,.inline-actions{width:100%}.header-actions .btn,.inline-actions .btn{flex:1 1 160px}.simple-page{max-width:none}.simple-hero,.simple-steps{grid-template-columns:1fr}.simple-hero-copy{min-height:auto;padding:22px}.simple-hero-copy h1{font-size:31px}.simple-start,.prompt-result-header,.simple-composer-footer{align-items:stretch;flex-direction:column}.simple-start .btn,.prompt-result-header .btn,.simple-composer-footer .btn{width:100%}.prompt-textarea{height:220px;min-height:220px}.mini-options{min-width:0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-item{grid-template-columns:1fr;gap:10px}.task-meta{justify-content:space-between;flex-wrap:wrap}.task-main{align-items:flex-start;flex-wrap:wrap}.task-input{flex-basis:100%;white-space:normal}.files-table{display:block;overflow-x:auto}.metadata-grid{grid-template-columns:1fr;gap:4px}}@media (max-width: 520px){.stats-grid{grid-template-columns:1fr}h1{font-size:25px}.main-content{width:min(100% - 22px,480px)}}
