.header-bar{background:#fff;border-bottom:1px solid #e8e8e8;flex-shrink:0;align-items:center;height:52px;padding:0 20px;display:flex}.header-left{flex-shrink:0;width:180px}.header-logo{color:#056de8;font-size:18px;font-weight:700}.header-center{flex:1;justify-content:center;display:flex}.header-search{background:#f6f6f6;border-radius:20px;align-items:center;gap:8px;width:320px;padding:6px 14px;display:flex}.header-search-icon{color:#999;font-size:14px}.header-search-input{color:#333;background:0 0;border:none;outline:none;flex:1;font-size:14px}.header-search-input::placeholder{color:#bbb}.header-right{flex-shrink:0;justify-content:flex-end;align-items:center;gap:16px;width:180px;display:flex}.header-icon{color:#8590a6;cursor:pointer;font-size:18px}.header-icon:hover{color:#056de8}.header-avatar{object-fit:cover;cursor:pointer;border-radius:50%;width:30px;height:30px}.header-avatar-placeholder{background:#e0e0e0;border-radius:50%;width:30px;height:30px}.sidebar{background:#fff;border-right:1px solid #e8e8e8;flex-direction:column;width:160px;min-width:160px;height:100%;display:flex}.sidebar-nav{flex:1;padding:12px 0;overflow-y:auto}.sidebar-item{cursor:pointer;color:#8590a6;border-left:3px solid #0000;align-items:center;gap:10px;padding:10px 16px;transition:all .15s;display:flex}.sidebar-item:hover{color:#333;background:#f6f6f6}.sidebar-item.active{color:#056de8;background:#e8f4ff;border-left-color:#056de8;font-weight:500}.sidebar-icon{font-size:16px}.sidebar-label{font-size:14px}.chat-panel{background:#fff;border-left:1px solid #e8e8e8;flex-direction:column;width:380px;min-width:380px;height:100%;transition:background .2s,border-color .2s;display:flex}.chat-panel.drag-over{background:#f0f7ff;border-left-color:#056de8}.chat-header{color:#333;border-bottom:1px solid #f0f0f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 16px;font-size:15px;font-weight:600;display:flex}.chat-close{cursor:pointer;color:#999;font-size:14px}.chat-close:hover{color:#333}.chat-messages{flex:1;padding:16px;overflow-y:auto}.chat-empty{color:#999;text-align:center;margin-top:60px;font-size:14px}.chat-empty p{margin-top:12px;line-height:1.5}.chat-drop-zone{color:#056de8;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;height:100%;min-height:200px;font-size:14px;display:flex}.chat-drop-zone p{margin-top:8px}.chat-msg{margin-bottom:16px;display:flex}.chat-msg.user{justify-content:flex-end}.chat-msg.assistant{justify-content:flex-start}.chat-bubble{word-break:break-word;border-radius:12px;max-width:90%;padding:10px 14px;font-size:14px;line-height:1.6}.chat-msg.user .chat-bubble{color:#fff;background:#056de8;border-bottom-right-radius:4px}.chat-msg.assistant .chat-bubble{color:#333;background:#f4f4f5;border-bottom-left-radius:4px}.chat-loading{color:#999;font-style:italic}.chat-cursor{color:#666;font-weight:200;animation:.8s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.chat-msg.assistant .block-text{margin:0 0 8px}.chat-msg.assistant .block-text:last-child{margin-bottom:0}.chat-msg.assistant .block-image,.chat-msg.assistant .block-video{border-radius:8px;max-width:100%;margin:8px 0;display:block}.chat-input-area{border-top:1px solid #f0f0f0;flex-shrink:0;align-items:flex-end;gap:8px;padding:12px;display:flex}.chat-input{resize:none;border:1px solid #e0e0e0;border-radius:8px;outline:none;flex:1;padding:8px 12px;font-family:inherit;font-size:14px}.chat-input:focus{border-color:#056de8}.chat-send{color:#fff;cursor:pointer;background:#056de8;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.chat-send:hover{background:#0456b8}.main-layout{background:#f6f6f6;flex-direction:column;height:100vh;display:flex}.main-body{flex:1;display:flex;overflow:hidden}.main-content{flex:1;padding:20px 24px;overflow-y:auto}.chat-fab{color:#fff;cursor:pointer;z-index:100;background:#056de8;border:none;border-radius:50%;width:48px;height:48px;font-size:20px;position:fixed;bottom:32px;right:32px;box-shadow:0 2px 8px #00000026}.login-page{background:#f6f6f6;justify-content:center;align-items:center;height:100vh;display:flex}.login-card{text-align:center;background:#fff;border-radius:8px;width:380px;padding:48px 40px;box-shadow:0 1px 4px #00000014}.login-title{color:#333;margin:0 0 8px;font-size:24px;font-weight:600}.login-subtitle{color:#999;margin:0 0 32px;font-size:14px}.login-btn{color:#fff;cursor:pointer;background:#056de8;border:1px solid #056de8;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px;font-size:16px;transition:background .2s;display:flex}.login-btn:hover{background:#0456b8}.login-btn-icon{color:#056de8;background:#fff;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:700;display:flex}.dashboard{flex-direction:column;gap:20px;display:flex}.compose-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 2px #0000000a}.compose-input{resize:none;border:1px solid #e8e8e8;border-radius:6px;outline:none;width:100%;padding:12px;font-family:inherit;font-size:14px;line-height:1.6;transition:border-color .2s}.compose-input:focus{border-color:#056de8}.compose-input::placeholder{color:#bbb}.compose-actions{justify-content:space-between;align-items:center;margin-top:12px;display:flex}.compose-tools{gap:4px;display:flex}.compose-tool-btn{color:#8590a6;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;display:flex}.compose-tool-btn:hover{color:#056de8;background:#f6f6f6}.compose-submit{color:#fff;cursor:pointer;background:#056de8;border:none;border-radius:6px;align-items:center;gap:6px;padding:6px 20px;font-size:14px;display:flex}.compose-submit:hover{background:#0456b8}.card-list{background:#fff;border-radius:8px;box-shadow:0 1px 2px #0000000a}.card-list-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.card-list-header h3{color:#333;margin:0;font-size:16px}.card-list-tabs{gap:16px;display:flex}.card-tab{color:#8590a6;cursor:pointer;font-size:13px}.card-tab:hover{color:#056de8}.card-tab:first-child{color:#056de8;font-weight:500}.content-card{cursor:grab;border-bottom:1px solid #f0f0f0;padding:16px 20px;transition:background .15s}.content-card:active{cursor:grabbing}.content-card.dragging{opacity:.5}.content-card:last-child{border-bottom:none}.content-card:hover{background:#fafafa}.content-card-body{justify-content:space-between;align-items:center;display:flex}.content-card-meta{align-items:center;gap:12px;display:flex}.content-card-type{background:#f6f6f6;border-radius:4px;flex-shrink:0;padding:2px 8px;font-size:12px;font-weight:500}.content-card-title{color:#333;font-size:14px}.content-card-stats{color:#999;flex-shrink:0;gap:16px;font-size:12px;display:flex}.content-card-stats span{align-items:center;gap:4px;display:flex}.longform-debug-page{color:#172033;background:#f5f7fb;flex-direction:column;gap:18px;min-height:100vh;padding:24px;display:flex}.longform-debug-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.longform-debug-header h1{margin:0;font-size:24px;line-height:1.25}.longform-debug-header p{color:#667085;margin:8px 0 0;font-size:14px}.debug-status-pill{color:#087443;background:#f0fbf6;border:1px solid #c7ead9;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-weight:800;display:inline-flex}.debug-status-pill.failed{color:#b42318;background:#fff5f5;border-color:#ffd1d1}.longform-debug-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:18px;display:grid}.debug-panel{background:#fff;border:1px solid #e3e8ef;border-radius:8px;padding:18px}.debug-panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.debug-panel-heading h2{margin:0;font-size:17px;line-height:1.3}.debug-panel-heading span{color:#667085;text-overflow:ellipsis;white-space:nowrap;max-width:60%;font-size:12px;overflow:hidden}.source-switch,.debug-stage-select{gap:8px;display:grid}.source-switch{grid-template-columns:repeat(5,minmax(0,1fr))}.debug-stage-select{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:14px}.source-switch button,.debug-stage-select button{color:#344054;cursor:pointer;height:38px;font:inherit;background:#fbfdff;border:1px solid #d7deea;border-radius:8px;font-size:13px;font-weight:800}.source-switch button:hover,.source-switch button.active,.debug-stage-select button:hover,.debug-stage-select button.active{color:#0957c3;background:#edf5ff;border-color:#1772f6}.debug-field{flex-direction:column;gap:8px;margin-top:14px;display:flex}.debug-field span{color:#344054;font-size:13px;font-weight:800}.debug-field input,.debug-field textarea{color:#172033;width:100%;font:inherit;border:1px solid #d7deea;border-radius:8px;outline:none;padding:10px 12px;line-height:1.55}.debug-field textarea{resize:vertical}.debug-field input:focus,.debug-field textarea:focus{border-color:#1772f6;box-shadow:0 0 0 3px #1772f61a}.debug-file{color:#475467;cursor:pointer;background:#fbfdff;border:1px dashed #b8c4d6;border-radius:8px;align-items:center;gap:10px;min-height:44px;margin-top:14px;padding:0 12px;display:flex}.debug-file.disabled{cursor:not-allowed;opacity:.58}.debug-file input{display:none}.debug-file span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.debug-error{color:#b54708;background:#fff7ed;border:1px solid #ffd2ae;border-radius:8px;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;font-size:13px;display:flex}.debug-run-button{color:#fff;cursor:pointer;width:100%;height:42px;font:inherit;background:#1772f6;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin-top:16px;font-weight:900;display:inline-flex}.debug-run-button:disabled{cursor:wait;opacity:.72}.debug-stage-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.debug-stage-list li{color:#98a2b3;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:36px;font-size:14px;display:grid}.debug-stage-list li.completed{color:#087443}.debug-stage-list li.failed{color:#b42318}.debug-stage-list em{color:#667085;font-size:12px;font-style:normal}.stage-dot{background:#eef2f7;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.completed .stage-dot{background:#e9f8f0}.failed .stage-dot{background:#fff0f0}.debug-output{min-height:220px}.stage-output-stack{flex-direction:column;gap:12px;display:flex}.stage-output-card{border:1px solid #e3e8ef;border-radius:8px;overflow:hidden}.stage-output-card.failed{border-color:#ffd1d1}.stage-output-card header{background:#fbfdff;border-bottom:1px solid #e3e8ef;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.stage-output-card h3{margin:0;font-size:14px}.stage-output-card header span{color:#667085;font-size:12px}.stage-output-card button{color:#344054;cursor:pointer;height:32px;font:inherit;background:#fff;border:1px solid #d7deea;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.stage-output-card pre{color:#d6e4ff;white-space:pre-wrap;background:#101828;max-height:360px;margin:0;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;overflow:auto}.debug-empty{color:#98a2b3;border:1px dashed #d7deea;border-radius:8px;justify-content:center;align-items:center;min-height:160px;display:flex}.document-preview article{color:#1f2937;line-height:1.75}.document-preview h1{color:#172033;margin:0 0 16px;font-size:24px;line-height:1.35}.document-preview p{margin:0 0 12px}@media (width<=1100px){.longform-debug-grid{grid-template-columns:1fr}.source-switch,.debug-stage-select{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=680px){.longform-debug-page{padding:16px}.longform-debug-header{flex-direction:column}.source-switch,.debug-stage-select{grid-template-columns:1fr}}.placeholder-page h2{color:#333;margin:0 0 24px;font-size:20px}.placeholder-empty{color:#999;flex-direction:column;justify-content:center;align-items:center;padding:80px 0;display:flex}.placeholder-empty p{margin-top:16px;font-size:14px}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background:#f6f6f6;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif}a{color:inherit;text-decoration:none}
