@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap";code[class*=language-],pre[class*=language-]{color:#ccc;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;-webkit-hyphens:none;hyphens:none;background:0 0;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;line-height:1.5}pre[class*=language-]{margin:.5em 0;padding:1em;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.3em;padding:.1em}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}*{box-sizing:border-box;margin:0;padding:0}:root{--blue:#0f62fe;--blue-hover:#0043ce;--blue-light:#edf5ff;--green:#198038;--green-light:#defbe6;--gray-10:#f4f4f4;--gray-20:#e0e0e0;--gray-40:#a8a8a8;--gray-60:#525252;--gray-80:#393939;--gray-100:#161616;--red:#da1e28;--red-light:#fff1f1}html,body,#root{height:100%;color:var(--gray-100);background:#fff}body{font-family:IBM Plex Sans,system-ui,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}a{color:inherit}button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:.45;cursor:not-allowed}.app-root{background:#fff;min-height:100vh}.app-root--detail{height:100vh;overflow:hidden}.login-screen{background:#fff;justify-content:center;align-items:center;height:100vh;display:flex}.login-form{flex-direction:column;gap:1.25rem;width:320px;display:flex}.login-title{margin-bottom:.5rem;font-size:22px;font-weight:400}.login-copy{color:var(--gray-60);margin-top:-.25rem;font-size:13px;line-height:1.5}.login-note,.login-dev-code{padding:.75rem .9rem;font-size:12px;line-height:1.5}.login-note{background:var(--blue-light);color:var(--gray-80)}.login-dev-code{background:var(--gray-10);color:var(--gray-80)}.login-actions{flex-direction:column;gap:.75rem;display:flex}.field{flex-direction:column;flex:1;gap:4px;display:flex}.field label{color:var(--gray-60);letter-spacing:.32px;text-transform:uppercase;font-size:11px;font-weight:600}.field input,.chat-input{border:none;border-bottom:1px solid var(--gray-80);background:var(--gray-10);color:var(--gray-100);outline:none}.field input{width:100%;height:40px;padding:0 12px;font-size:14px}.field input:focus,.chat-input:focus{border-bottom:2px solid var(--blue)}.field .hint{color:var(--gray-40);font-size:11px}.field-mono input{font-family:IBM Plex Mono,monospace;font-size:13px}.error-msg{color:var(--red);margin-top:-.5rem;font-size:12px;display:none}.error-msg.show{display:block}.btn-primary{background:var(--blue);color:#fff;cursor:pointer;border:none;flex-shrink:0;justify-content:center;align-items:center;height:40px;padding:0 1.25rem;font-size:14px;display:inline-flex}.btn-primary:hover{background:var(--blue-hover)}.btn-primary--sm{height:36px;margin-top:0}.btn-ghost{height:40px;color:var(--gray-60);border:1px solid var(--gray-20);cursor:pointer;background:0 0;flex-shrink:0;justify-content:center;align-items:center;padding:0 1.25rem;font-size:14px;display:inline-flex}.btn-ghost:hover{background:var(--gray-10)}.btn-ghost--sm{height:36px}.login-form .btn-primary{margin-top:.25rem}.modal-overlay{z-index:200;background:#00000059;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.modal-overlay.open{display:flex}.modal{border:1px solid var(--gray-20);background:#fff;flex-direction:column;gap:1.25rem;width:420px;padding:1.5rem;display:flex}.modal-title{color:var(--gray-100);font-size:14px;font-weight:600}.modal-fields{flex-direction:column;gap:1.25rem;display:flex}.modal-fields .field input{height:36px}.modal-actions{gap:8px;display:flex}header{background:var(--gray-100);z-index:10;justify-content:space-between;align-items:center;height:48px;padding:0 2rem;display:flex;position:sticky;top:0}.h-brand{color:#fff;align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.h-left{align-items:center;gap:1.25rem;display:flex}.h-logo{background:var(--blue);color:#fff;border-radius:2px;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;font-weight:700;display:flex}.h-right{align-items:center;gap:1.5rem;display:flex}.h-nav{align-items:center;gap:.35rem;display:flex}.h-nav-link{color:#a8a8a8;cursor:pointer;background:0 0;border:none;align-items:center;height:28px;padding:0 10px;font-size:12px;font-weight:500;line-height:1;text-decoration:none;display:inline-flex}.h-nav-link:hover{color:#fff}.h-nav-link.active{color:#fff;background:#ffffff14}.h-user{color:#a8a8a8;font-family:IBM Plex Mono,monospace;font-size:13px}.h-signout{color:#a8a8a8;cursor:pointer;background:0 0;border:none;font-size:13px}.h-signout:hover{color:#fff}.page{max-width:680px;margin:0 auto;padding:3rem 1.5rem}.page-wide{max-width:1600px}.heading-row{justify-content:space-between;align-items:baseline;margin-bottom:2rem;display:flex}h1{font-size:22px;font-weight:400}.tab-nav{border-bottom:1px solid var(--gray-20);gap:0;margin-bottom:1.5rem;display:flex}.tab-btn{cursor:pointer;color:var(--gray-60);background:0 0;border:none;margin-right:1.5rem;padding:8px 0;font-size:13px;position:relative}.tab-btn:hover{color:var(--gray-100)}.tab-btn.active{color:var(--gray-100);font-weight:500}.tab-btn.active:after{content:"";background:var(--gray-100);height:2px;position:absolute;bottom:-1px;left:0;right:0}.page-list{border-top:1px solid var(--gray-20)}.page-row{border-bottom:1px solid var(--gray-20);cursor:pointer;align-items:center;gap:1rem;padding:14px 0;transition:background .1s;display:flex}.page-row:hover .page-slug{color:var(--blue)}.page-row.drag-over-after{border-bottom:2px solid var(--blue)}.page-row.drag-over-before{border-top:2px solid var(--blue)}.page-row.dragging{opacity:.4}.drag-handle{color:var(--gray-20);cursor:grab;flex-shrink:0;align-items:center;padding:2px 0;transition:color .1s;display:flex}.page-row:hover .drag-handle{color:var(--gray-40)}.drag-handle:active{cursor:grabbing}.page-info{flex:1;min-width:0}.page-slug{color:var(--gray-100);font-family:IBM Plex Mono,monospace;font-size:14px;font-weight:500}.page-title-text{color:var(--gray-60);margin-top:2px;font-size:12px}.page-meta{flex-shrink:0;align-items:center;gap:10px;display:flex}.page-building-indicator{align-items:center;gap:3px;display:inline-flex}.page-building-indicator span{background:var(--blue);border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite page-building-pulse;display:block}.page-building-indicator span:nth-child(2){animation-delay:.2s}.page-building-indicator span:nth-child(3){animation-delay:.4s}@keyframes page-building-pulse{0%,60%,to{opacity:.2;transform:scale(.8)}30%{opacity:1;transform:scale(1.2)}}.list-delete-btn{width:24px;height:24px}.chevron{color:var(--gray-40);font-size:16px}.page-list-empty,.versions-strip-empty{color:var(--gray-40);padding:1.5rem 0;font-size:13px}.heading-row--leads{align-items:flex-end}.leads-subtitle{margin-top:.4rem}.leads-filter-bar{margin-bottom:1.5rem}.leads-filter-field{max-width:320px}.leads-filter-select{border:none;border-bottom:1px solid var(--gray-80);background:var(--gray-10);width:100%;height:40px;color:var(--gray-100);outline:none;padding:0 12px}.leads-filter-select:focus{border-bottom:2px solid var(--blue)}.lead-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.lead-summary-card{border:1px solid var(--gray-20);background:#fff;flex-direction:column;gap:.35rem;padding:1rem;display:flex}.lead-summary-label{color:var(--gray-60);letter-spacing:.32px;text-transform:uppercase;font-size:11px;font-weight:600}.lead-summary-value{font-size:20px;font-weight:500}.leads-table-wrap{border:1px solid var(--gray-20);background:#fff;overflow:auto}.leads-table{border-collapse:collapse;width:100%;min-width:1480px}.leads-table th,.leads-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--gray-20);padding:12px 14px}.leads-table th{z-index:1;color:var(--gray-60);letter-spacing:.32px;text-transform:uppercase;background:#fff;font-size:11px;font-weight:600;position:sticky;top:0}.lead-cell-stack{flex-direction:column;gap:4px;min-width:120px;display:flex}.lead-primary{color:var(--gray-100);font-size:13px;font-weight:500}.lead-primary--muted{color:var(--gray-60);font-size:12px;font-weight:400}.lead-secondary{color:var(--gray-60);font-family:IBM Plex Mono,monospace;font-size:12px}.lead-cell-stack--compact{min-width:140px}.lead-cell-group{flex-direction:column;gap:8px;min-width:170px;display:flex}.lead-cell-group--landing{min-width:220px}.lead-slug-link{color:var(--gray-100);font-family:IBM Plex Mono,monospace;font-size:20px;font-weight:600;line-height:1.1;text-decoration:none}.lead-slug-link:hover{color:var(--blue)}.lead-datum{flex-direction:column;gap:2px;display:flex}.lead-datum-label{color:var(--gray-60);letter-spacing:.28px;text-transform:uppercase;font-size:10px;font-weight:600}.lead-datum-value{color:var(--gray-100);overflow-wrap:anywhere;font-size:13px;text-decoration:none}a.lead-datum-value:hover{color:var(--blue)}.lead-datum-button{text-align:left;cursor:pointer;background:0 0;border:none;padding:0}.lead-datum-button:hover{color:var(--blue)}.lead-datum-button.is-copied{color:var(--green)}.lead-datum-value--mono{font-family:IBM Plex Mono,monospace;font-size:12px}.lead-empty{color:var(--gray-40);font-size:13px}.lead-details-block{border-top:1px solid var(--gray-20);margin-top:10px;padding-top:10px}.lead-details-block summary{cursor:pointer;color:var(--gray-60);font-size:12px}.lead-details-block pre{background:var(--gray-10);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;padding:10px;font-family:IBM Plex Mono,monospace;font-size:12px;line-height:1.45}.badge{align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:500;display:inline-flex}.badge-published{background:var(--green-light);color:#0e6027}.badge-draft{background:var(--gray-10);color:var(--gray-60)}.badge-archived{background:var(--gray-10);color:var(--gray-40)}.badge-dot{border-radius:50%;width:5px;height:5px}.badge-dot-green{background:#42be65}.add-section{margin-top:2.5rem}.add-toggle{cursor:pointer;color:var(--blue);background:0 0;border:none;align-items:center;gap:6px;font-size:14px;display:flex}.add-toggle:hover{color:var(--blue-hover)}.add-form{flex-direction:column;gap:1rem;margin-top:1.25rem;display:none}.add-form.open{display:flex}.form-row,.form-actions{gap:1rem;display:flex}.form-actions{align-items:center}.form-actions>.btn-primary,.form-actions>.btn-ghost{margin-top:0}.heading-row--spec{align-items:flex-start;margin-bottom:1.5rem}.spec-wrap{max-width:760px;margin:0 auto;padding:3rem 1.5rem 6rem}.spec-back-btn{margin-bottom:6px}.spec-job-title{font-size:20px}.spec-job-slug{color:var(--gray-60);margin-top:3px;font-size:12px}.create-choice{gap:1rem;margin-bottom:1.5rem;display:flex}.create-card{border:1px solid var(--gray-20);cursor:pointer;text-align:left;background:#fff;flex-direction:column;flex:1;gap:6px;padding:1.25rem;transition:border-color .15s,background .15s;display:flex}.create-card:hover{border-color:var(--blue)}.create-card.selected{border-color:var(--blue);background:var(--blue-light)}.create-card-title{color:var(--gray-100);font-size:13px;font-weight:600}.create-card-desc{color:var(--gray-60);font-size:12px;line-height:1.5}.create-card-tag{text-transform:uppercase;letter-spacing:.32px;align-self:flex-start;margin-bottom:4px;padding:2px 6px;font-size:10px;font-weight:600;display:inline-block}.tag-quick{background:var(--gray-10);color:var(--gray-60)}.tag-spec{background:var(--blue-light);color:var(--blue)}.spec-create-form{flex-direction:column;gap:1rem;display:flex}.spec-builder-block{flex-direction:column;gap:.5rem;display:flex}.spec-section-label{text-transform:uppercase;letter-spacing:.32px;color:var(--gray-60);font-size:11px;font-weight:600}.spec-textarea{border:none;border-bottom:1px solid var(--gray-80);background:var(--gray-10);width:100%;min-height:260px;color:var(--gray-100);resize:vertical;outline:none;padding:12px;font-family:IBM Plex Mono,monospace;font-size:13px;line-height:1.6}.spec-textarea:focus{border-bottom:2px solid var(--blue)}.spec-textarea::placeholder{color:var(--gray-40);font-family:IBM Plex Sans,system-ui,sans-serif}.spec-attachments{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.spec-attachment{border:1px solid var(--gray-20);background:#fff;flex-shrink:0;width:72px;height:72px;position:relative;overflow:hidden}.spec-attachment img{object-fit:cover;width:100%;height:100%;display:block}.spec-attachment-file{text-transform:uppercase;width:100%;height:100%;color:var(--gray-60);background:var(--gray-10);justify-content:center;align-items:center;font-size:11px;font-weight:600;display:flex}.spec-attachment-label{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#0000008c;padding:2px 4px;font-size:9px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.spec-attachment-remove{background:var(--gray-100);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;width:16px;height:16px;font-size:10px;display:flex;position:absolute;top:2px;right:2px}.spec-add-file{border:1px dashed var(--gray-20);background:var(--gray-10);cursor:pointer;width:72px;height:72px;color:var(--gray-40);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:4px;font-size:11px;display:flex}.spec-add-file:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-light)}.spec-upload-hint,.spec-footer-note{color:var(--gray-40);font-size:11px}.build-status{border:1px solid var(--gray-20);background:#fff;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding:1.5rem;display:flex}.build-status-header{align-items:center;gap:10px;display:flex}.build-status-title{font-size:14px;font-weight:600}.build-status-subtitle{color:var(--gray-40);font-size:11px}.builder-plan{flex-direction:column;gap:8px;display:flex}.builder-plan-lines{flex-direction:column;gap:6px;display:flex}.builder-plan-line{color:var(--gray-80);font-size:12px;line-height:1.5}.preflight-list{flex-direction:column;display:flex}.preflight-row{border-bottom:1px solid var(--gray-20);align-items:flex-start;gap:10px;padding:8px 0;font-size:12px;display:flex}.preflight-row:last-child{border-bottom:none}.pf-icon{flex-shrink:0;width:18px;font-size:13px}.preflight-copy{flex-direction:column;gap:2px;display:flex}.pf-label{color:var(--gray-100);font-weight:600}.pf-detail{color:var(--gray-60);line-height:1.5}.pf-resolution{color:var(--gray-40);line-height:1.5}.pf-missing{color:var(--red)}.pf-ambiguous{color:var(--gray-80)}.pf-ok{color:var(--green)}.pf-info{color:var(--blue)}.base-version-loading{color:var(--gray-40);font-size:12px}.base-version-opts{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.base-version-opt{border:1px solid var(--gray-20);cursor:pointer;color:var(--gray-60);background:0 0;padding:5px 10px;font-family:IBM Plex Mono,monospace;font-size:12px}.base-version-opt:hover{border-color:var(--blue);color:var(--blue)}.base-version-opt.selected{border-color:var(--blue);background:var(--blue-light);color:var(--blue)}.base-version-opt.none-opt{font-family:IBM Plex Sans,system-ui,sans-serif}.spec-actions{margin-top:-.5rem}.build-log-section,.validation-panel{margin-bottom:1.5rem}.build-step{border-bottom:1px solid var(--gray-20);align-items:center;gap:10px;padding:6px 0;font-size:13px;display:flex}.build-step:last-child{border-bottom:none}.step-icon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:13px;display:flex}.step-done{color:var(--green)}.step-running{color:var(--blue)}.step-pending{color:var(--gray-40)}.step-fail{color:var(--red)}.step-label{flex:1}.step-time{color:var(--gray-40);font-family:IBM Plex Mono,monospace;font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}.spinner{animation:.8s linear infinite spin;display:inline-block}.build-log{background:var(--gray-100);color:#a8e6a3;max-height:160px;padding:12px;font-family:IBM Plex Mono,monospace;font-size:11px;line-height:1.7;overflow-y:auto}.validation-row{border-bottom:1px solid var(--gray-20);align-items:flex-start;gap:8px;padding:5px 0;font-size:12px;display:flex}.validation-row:last-child{border-bottom:none}.failure-box{border:1px solid var(--red);background:#fff5f5;margin-bottom:1.5rem;padding:1.25rem}.failure-title{color:var(--red);margin-bottom:8px;font-size:13px;font-weight:600}.failure-errors{color:var(--gray-80);font-family:IBM Plex Mono,monospace;font-size:12px;line-height:1.8}.repair-actions{gap:8px;margin-top:1rem;display:flex}.build-result-row{align-items:center;gap:10px;display:flex}.build-result-icon{color:var(--green);font-size:16px}.build-result-title{font-size:13px;font-weight:600}.build-result-note{color:var(--gray-60);margin-top:2px;font-size:12px}#screen-detail{flex-direction:column;height:calc(100vh - 48px);display:flex}.ws-topbar{border-bottom:1px solid var(--gray-20);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;height:44px;padding:0 1.25rem;display:flex}.ws-topbar-left{align-items:center;gap:1rem;min-width:0;display:flex}.ws-topbar-right{flex-shrink:0;align-items:center;gap:.75rem;display:flex}.back-btn{cursor:pointer;color:var(--blue);background:0 0;border:none;align-items:center;gap:4px;font-size:13px;display:flex}.back-btn:hover{color:var(--blue-hover)}.ws-slug{color:var(--gray-100);font-family:IBM Plex Mono,monospace;font-size:13px;font-weight:500}.ws-desc{color:var(--gray-60);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.ws-divider{background:var(--gray-20);width:1px;height:16px}.live-link{color:var(--blue);align-items:center;font-size:12px;text-decoration:none;display:inline-flex}.live-link:hover{color:var(--blue-hover)}.ws-body{flex:1;display:flex;overflow:hidden}.ws-chat{border-right:1px solid var(--gray-20);background:#fff;flex-direction:column;flex-shrink:0;width:320px;display:flex}.upload-sidebar{border-right:1px solid var(--gray-20);background:#fff;flex-direction:column;flex-shrink:0;width:380px;min-width:0;display:flex}.upload-sidebar-top{border-bottom:1px solid var(--gray-20);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.upload-sidebar-title{text-transform:uppercase;letter-spacing:.32px;color:var(--gray-100);font-size:12px;font-weight:600}.upload-sidebar-subtitle{color:var(--gray-60);margin-top:4px;font-size:12px;line-height:1.45}.upload-sidebar-link{color:var(--blue);white-space:nowrap;font-size:12px;text-decoration:none}.upload-sidebar-link:hover{color:var(--blue-hover)}.upload-version-list{flex:1;padding:.75rem;overflow-y:auto}.upload-version-row{border:1px solid var(--gray-20);text-align:left;cursor:pointer;background:#fff;flex-direction:column;gap:8px;width:100%;margin-bottom:8px;padding:10px;display:flex}.upload-version-row:hover{border-color:var(--gray-80)}.upload-version-row.active{border-color:var(--blue);background:var(--blue-light)}.upload-version-main{flex-direction:column;gap:3px;min-width:0;display:flex}.upload-version-name{color:var(--gray-100);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.upload-version-meta{color:var(--gray-60);font-family:IBM Plex Mono,monospace;font-size:10px}.upload-version-badges,.upload-version-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.upload-empty-state{border:1px dashed var(--gray-20);background:var(--gray-10);padding:1rem}.upload-empty-title{color:var(--gray-100);font-size:13px;font-weight:600}.upload-empty-copy{color:var(--gray-60);margin-top:4px;font-size:12px;line-height:1.45}.validation-pill{text-transform:uppercase;letter-spacing:.32px;border:1px solid var(--gray-20);height:20px;color:var(--gray-60);background:#fff;align-items:center;padding:0 7px;font-size:10px;font-weight:600;display:inline-flex}.validation-pill--passed{background:var(--green-light);color:var(--green);border-color:#a7d9b5}.validation-pill--failed{background:var(--red-light);color:var(--red);border-color:#ffd7d9}.validation-pill--unknown,.validation-pill--none{background:var(--gray-10)}.chat-header{border-bottom:1px solid var(--gray-20);text-transform:uppercase;letter-spacing:.32px;color:var(--gray-60);flex-shrink:0;padding:12px 1rem;font-size:11px;font-weight:600}.chat-messages{flex-direction:column;flex:1;gap:1rem;padding:1rem;display:flex;overflow-y:auto}.chat-msg{flex-direction:column;gap:3px;display:flex}.chat-msg-role{text-transform:uppercase;letter-spacing:.32px;color:var(--gray-40);font-size:10px;font-weight:600}.chat-msg-role.user-role{color:var(--blue)}.chat-msg-bubble{color:var(--gray-100);white-space:pre-wrap;font-size:13px;line-height:1.55}.chat-msg-attachments{flex-direction:column;gap:6px;margin-top:6px;display:flex}.chat-msg-image{object-fit:cover;border:1px solid var(--gray-20);max-width:100%;max-height:120px;display:block}.chat-msg-bubble.user-bubble{background:var(--blue-light);color:var(--gray-100);padding:8px 10px}.chat-msg-bubble.ai-bubble{color:var(--gray-80)}.chat-input-area{border-top:1px solid var(--gray-20);flex-direction:column;flex-shrink:0;align-items:stretch;gap:0;padding:10px 1rem;display:flex}.chat-attachments-row{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.chat-input-shell{flex:1;position:relative}.chat-input{border:none;border-bottom:1px solid var(--gray-80);background:var(--gray-10);resize:none;flex:1;width:100%;min-height:72px;max-height:160px;padding:8px 40px 28px 10px;font-size:13px;line-height:1.5}.chat-send{background:var(--blue);cursor:pointer;color:#fff;border:none;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:13px;display:flex;position:absolute;bottom:8px;right:8px}.chat-send:hover{background:var(--blue-hover)}.chat-send:disabled{background:var(--gray-20);cursor:not-allowed}.chat-input-actions{align-items:center;gap:4px;display:flex;position:absolute;bottom:8px;left:8px}.chat-image-button{cursor:pointer;color:var(--gray-40);background:0 0;border:none;align-items:center;padding:2px;display:flex}.chat-image-button:disabled{cursor:not-allowed;opacity:.5}.chat-attachment{border:1px solid var(--gray-20);flex-shrink:0;width:52px;height:52px;position:relative;overflow:hidden}.chat-attachment img{object-fit:cover;width:100%;height:100%;display:block}.chat-attachment-remove{background:var(--gray-100);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;width:16px;height:16px;font-size:10px;line-height:1;display:flex;position:absolute;top:2px;right:2px}.chat-thinking{align-items:center;gap:3px;padding:4px 0;display:flex}.chat-thinking span{background:var(--gray-40);border-radius:50%;width:5px;height:5px;animation:1.2s infinite blink}.chat-thinking span:nth-child(2){animation-delay:.2s}.chat-thinking span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.3}40%{opacity:1}}.ws-preview{background:var(--gray-10);flex-direction:column;flex:1;display:flex;overflow:hidden}.ws-preview--upload-mode{background:#fff}.ws-preview--empty-upload .preview-toolbar,.ws-preview--empty-upload .preview-frame{display:none}.zip-dropzone{border:2px dashed var(--gray-40);text-align:center;cursor:pointer;background:#f8fbff;outline:none;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:250px;margin:1rem;display:flex}.zip-dropzone--full{flex:1;min-height:0}.zip-dropzone:hover,.zip-dropzone:focus,.zip-dropzone.drag-active{border-color:var(--blue);background:var(--blue-light)}.zip-dropzone-icon{background:var(--blue);color:#fff;justify-content:center;align-items:center;width:48px;height:48px;font-size:22px;line-height:1;display:flex}.zip-dropzone-title{color:var(--gray-100);font-size:22px;font-weight:600}.zip-dropzone-copy{color:var(--gray-60);font-size:14px}.zip-dropzone-meta{color:var(--gray-60);margin-top:4px;font-family:IBM Plex Mono,monospace;font-size:11px}.preview-toolbar{border-bottom:1px solid var(--gray-20);background:#fff;flex-shrink:0;align-items:center;gap:10px;height:40px;padding:0 1rem;display:flex}.preview-url{background:var(--gray-10);border:1px solid var(--gray-20);height:26px;color:var(--gray-60);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;-webkit-user-select:none;user-select:none;flex:1;align-items:center;padding:0 8px;font-family:IBM Plex Mono,monospace;font-size:11px;transition:border-color .15s,color .15s;display:flex;overflow:hidden}.preview-url.copied{border-color:var(--green);color:var(--green)}.preview-badge{text-transform:uppercase;letter-spacing:.32px;padding:2px 6px;font-size:10px;font-weight:600}.upload-validation-panel{border-bottom:1px solid var(--gray-20);background:#fff;flex-shrink:0;grid-template-columns:minmax(180px,.85fr) minmax(240px,1.15fr);align-items:start;gap:1rem;padding:.85rem 1rem;display:grid}.upload-validation-panel--passed{background:#f7fff9}.upload-validation-panel--failed{background:#fff8f8}.upload-validation-panel--sidebar{border:1px solid #ffd7d9;grid-template-columns:1fr;gap:.65rem;margin:.75rem .75rem 0;padding:.75rem}.upload-validation-title{color:var(--gray-100);font-size:13px;font-weight:600}.upload-validation-subtitle{color:var(--gray-60);margin-top:3px;font-size:12px;line-height:1.45}.upload-validation-errors{flex-direction:column;gap:5px;display:flex}.upload-validation-error{color:var(--red);font-size:12px;line-height:1.45}.upload-validation-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.preview-frame{background:#fff;flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.matrix-rain{z-index:0;pointer-events:none;opacity:1;transition:opacity 1.2s ease-out;position:absolute;inset:0}.matrix-rain.fading{opacity:0}.spec-matrix-wrap{border:1px solid var(--gray-20);opacity:1;background:#f8f9ff;border-radius:6px;width:100%;height:180px;margin-bottom:1.5rem;transition:opacity 1.2s ease-out;position:relative;overflow:hidden}.spec-matrix-wrap.fading{opacity:0}.code-editor-wrap{background:#2d2d2d;width:100%;height:100%;overflow:auto}.code-editor{tab-size:2;color:#ccc;background:#2d2d2d;min-height:100%}.code-editor textarea,.code-editor pre{color:inherit!important;background:0 0!important}.code-editor textarea{caret-color:#fff;outline:none!important}.code-editor .token.comment,.code-editor .token.block-comment,.code-editor .token.prolog,.code-editor .token.doctype,.code-editor .token.cdata{color:#999}.code-editor .token.punctuation{color:#ccc}.code-editor .token.tag,.code-editor .token.attr-name,.code-editor .token.namespace,.code-editor .token.deleted{color:#e2777a}.code-editor .token.function-name{color:#6196cc}.code-editor .token.boolean,.code-editor .token.number,.code-editor .token.function{color:#f08d49}.code-editor .token.property,.code-editor .token.class-name,.code-editor .token.constant,.code-editor .token.symbol{color:#f8c555}.code-editor .token.selector,.code-editor .token.important,.code-editor .token.atrule,.code-editor .token.keyword,.code-editor .token.builtin{color:#cc99cd}.code-editor .token.string,.code-editor .token.char,.code-editor .token.attr-value,.code-editor .token.regex,.code-editor .token.variable{color:#7ec699}.code-editor .token.operator,.code-editor .token.entity,.code-editor .token.url{color:#67cdcc}.code-editor-label{color:var(--gray-60);flex:1;font-family:IBM Plex Mono,monospace;font-size:13px;font-weight:600}.code-toggle-btn{white-space:nowrap;height:26px;font-family:IBM Plex Mono,monospace;font-size:12px;font-weight:600}.code-toggle-btn.active{background:var(--gray-100);color:#fff;border-color:var(--gray-100)}.code-save-btn,.code-cancel-btn{white-space:nowrap;height:26px}.blueprint-overlay{z-index:1;pointer-events:none;-webkit-backdrop-filter:grayscale(.85)brightness(1.05);backdrop-filter:grayscale(.85)brightness(1.05);opacity:1;background:repeating-linear-gradient(0deg,#0000,#0000 39px,#3c64b414 39px 40px),repeating-linear-gradient(90deg,#0000,#0000 39px,#3c64b414 39px 40px);transition:opacity .8s ease-out,-webkit-backdrop-filter .8s ease-out,backdrop-filter .8s ease-out;position:absolute;inset:0}.blueprint-overlay.fading{opacity:0;-webkit-backdrop-filter:grayscale(0)brightness();backdrop-filter:grayscale(0)brightness()}.preview-live-overlay{z-index:2;pointer-events:none;background:linear-gradient(#ffffff14,#0b132b2e);justify-content:flex-start;align-items:flex-end;padding:20px;display:flex;position:absolute;inset:0}.preview-live-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #0b132b1f;gap:12px;width:min(420px,100%);padding:16px;display:grid;box-shadow:0 18px 48px #0b132b24}.preview-live-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.preview-live-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--blue);font-size:10px;font-weight:700}.preview-live-title{color:var(--gray-100);margin-top:4px;font-size:16px;line-height:1.35}.preview-live-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.preview-live-stat{background:#f5f7ffeb;border:1px solid #0b132b14;padding:10px}.preview-live-stat strong{color:var(--gray-100);margin-top:4px;font-size:15px;display:block}.preview-live-stat-label{letter-spacing:.06em;text-transform:uppercase;color:var(--gray-60);font-size:10px;font-weight:700;display:block}.preview-live-log{color:var(--gray-80);background:#0b132b0a;border:1px solid #0b132b14;gap:6px;padding:10px 12px;font-family:IBM Plex Mono,monospace;font-size:11px;line-height:1.45;display:grid}.preview-live-logline{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.preview-live-note{color:var(--gray-60);font-size:12px;line-height:1.45}.preview-placeholder{text-align:center}.preview-placeholder-icon{opacity:.3;margin-bottom:10px;font-size:28px}.preview-placeholder-text{color:var(--gray-40);font-size:13px}.preview-placeholder-sub{color:var(--gray-40);margin-top:4px;font-size:11px}.ws-upload-btn{border:1px solid var(--gray-20);cursor:pointer;width:32px;height:32px;color:var(--gray-60);background:0 0;justify-content:center;align-items:center;font-size:15px;display:flex;position:relative}.ws-upload-btn:hover{background:var(--gray-10);color:var(--gray-100);border-color:var(--gray-80)}.ws-upload-btn:disabled{cursor:not-allowed;color:var(--gray-30);border-color:var(--gray-20);background:0 0}.ws-upload-btn:disabled:hover{color:var(--gray-30);border-color:var(--gray-20);background:0 0}.ws-upload-btn--confirm{border-color:var(--red);width:auto;color:var(--red);padding:0 10px;font-family:IBM Plex Sans,system-ui,sans-serif;font-size:12px}.ws-upload-btn--confirm:hover{border-color:var(--red);color:var(--red);background:var(--red-light)}.ws-upload-btn--delete-confirm{border-color:var(--red);color:var(--red)}.ws-upload-btn--delete-confirm:hover{border-color:var(--red);color:var(--red);background:var(--red-light)}.ws-upload-btn[title]:hover:after{content:attr(title);background:var(--gray-100);color:#fff;white-space:nowrap;pointer-events:none;z-index:20;padding:3px 7px;font-size:11px;position:absolute;bottom:-28px;left:50%;transform:translate(-50%)}.ws-status-btn{cursor:pointer;border:none;align-items:center;height:32px;padding:0 12px;font-family:IBM Plex Sans,system-ui,sans-serif;font-size:12px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.ws-status-btn--publish{background:var(--blue);color:#fff}.ws-status-btn--publish:hover{background:var(--blue-hover)}.ws-status-btn--outline{color:var(--gray-60);border:1px solid var(--gray-20);background:0 0}.ws-status-btn--outline:hover{background:var(--gray-10)}.ws-status-btn--confirm-primary{border:1px solid var(--blue);color:var(--blue);background:0 0}.ws-status-btn--confirm-primary:hover{background:var(--blue-light)}.ws-status-btn--confirm-danger{border:1px solid var(--red);color:var(--red);background:0 0}.ws-status-btn--confirm-danger:hover{background:var(--red-light)}.versions-strip{border-top:1px solid var(--gray-20);flex-shrink:0}.versions-strip-header{text-transform:uppercase;letter-spacing:.32px;width:100%;color:var(--gray-40);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:8px 1rem;font-size:10px;font-weight:600;display:flex}.versions-strip-header:hover{color:var(--gray-60)}.versions-strip-body{display:none}.versions-strip-body.open{display:block}.version-strip-row{border-top:1px solid var(--gray-20);cursor:pointer;align-items:center;gap:8px;padding:7px 1rem;font-size:11px;display:flex}.version-strip-row:hover{background:var(--gray-10)}.version-strip-row.active{background:var(--blue-light)}.version-strip-date{color:var(--gray-100);flex:1;font-family:IBM Plex Mono,monospace}.version-live-badge{padding:1px 6px;font-size:10px}.version-strip-actions{gap:4px;display:flex}.vs-btn{cursor:pointer;background:0 0;border:none;align-items:center;gap:3px;height:22px;padding:0 7px;font-family:inherit;font-size:11px;display:inline-flex}.vs-btn-outline{border:1px solid var(--gray-20);color:var(--gray-60)}.vs-btn-outline:hover{background:var(--gray-10)}.vs-btn-blue{border:1px solid var(--blue);color:var(--blue)}.vs-btn-blue:hover{background:var(--blue-light)}.vs-btn-icon{padding:0 6px}.vs-btn-del{color:var(--gray-40);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:22px;height:22px;font-size:13px;display:flex}.vs-btn-del:hover{color:var(--red)}.vs-btn-del:disabled{opacity:.25;cursor:not-allowed}.vs-btn-del--confirm{color:var(--red);border:1px solid var(--red)}.vs-btn-del--confirm:hover{background:var(--red-light)}.preview-open-btn{height:26px}.preview-test-btn{white-space:nowrap;height:26px}.test-link-dropdown{display:inline-block;position:relative}.test-link-dropdown-menu{z-index:10;background:var(--bg);border:1px solid var(--border);border-radius:4px;min-width:100%;margin-top:2px;position:absolute;top:100%;left:0;box-shadow:0 2px 8px #0000001f}.test-link-dropdown-item{text-align:left;cursor:pointer;white-space:nowrap;width:100%;color:var(--fg);background:0 0;border:none;padding:6px 12px;font-size:13px;display:block}.test-link-dropdown-item:hover{background:var(--hover-bg,#0000000d)}.test-link-dropdown-item:first-child{border-radius:4px 4px 0 0}.test-link-dropdown-item:last-child{border-radius:0 0 4px 4px}@media (width<=1120px){.ws-body{flex-direction:column}.ws-chat,.upload-sidebar{border-right:none;border-bottom:1px solid var(--gray-20);width:100%;min-height:360px}.upload-sidebar{max-height:380px}.ws-preview{min-height:420px}.upload-validation-panel{grid-template-columns:1fr}}@media (width<=840px){header{flex-direction:column;align-items:flex-start;gap:.75rem;height:auto;padding:.75rem 1rem}.page{padding:2rem 1rem}.h-left,.h-right{flex-wrap:wrap;justify-content:space-between;gap:.75rem;width:100%}.h-nav{width:100%}.lead-summary-grid{grid-template-columns:1fr}.leads-table{min-width:980px}.spec-wrap{padding:2rem 1rem 4rem}.create-choice,.repair-actions,.build-result-row{flex-direction:column;align-items:stretch}.ws-topbar{flex-direction:column;align-items:flex-start;gap:1rem;height:auto;padding:.75rem 1rem}.ws-topbar-left,.ws-topbar-right{flex-wrap:wrap;width:100%}.zip-dropzone{min-height:210px;margin:.75rem}.zip-dropzone--full{min-height:0}.form-row,.form-actions{flex-direction:column}.preview-live-overlay{padding:14px}.preview-live-stats{grid-template-columns:1fr}}
