.content.is-workspace{padding-bottom:12px}.workspace-shell{min-height:0}.editor-layout{height:calc(100dvh - 180px);min-height:500px;grid-template-columns:140px minmax(0,1fr) 340px}.editor-main{min-height:0}.editor-filmstrip{display:flex;flex-direction:column;min-height:0}.editor-thumbs{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none}.editor-thumb{flex-shrink:0}.editor-thumb-label b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-inspector{display:flex;flex-direction:column;min-height:0}.workspace-chat-head{display:flex;align-items:center;justify-content:space-between;padding:17px 14px;border-bottom:1px solid #efedf4;gap:8px}.workspace-chat-head strong{font-size:14px}.workspace-chat-head span{color:#9993a6;font-size:10px}.workspace-chat-log{flex:1;min-height:100px;overflow-y:auto;overscroll-behavior:contain;padding:16px 13px;scrollbar-width:thin}.workspace-chat-message{margin-bottom:17px;animation:workspace-message-in .2s ease-out}.workspace-chat-message small{font-size:10px;color:#827790}.workspace-chat-message p{font-size:12px;line-height:1.8;margin:5px 0 0;padding:11px 12px;background:#f6f5f9;border-radius:3px 12px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.workspace-chat-message.user p{background:#eee9fb}.workspace-chat-message.user{margin-left:18px}.workspace-activity p{font-size:11px;color:#756b82}.workspace-chat-message.is-running p{border-left:2px solid #8b6dd8}.workspace-chat-message.is-running small::after{content:' · 执行中';color:#8060ca;animation:workspace-pulse 1s ease-in-out infinite}.workspace-chat-message.is-error p{background:#fff3f1;color:#a94a3d}.workspace-chat-form{margin:0 12px 12px;border:1px solid #ded8eb;border-radius:12px;background:#fff;padding:10px;box-shadow:0 3px 12px #31244a08}.workspace-chat-form:focus-within{border-color:#9b86d1;box-shadow:0 0 0 3px #9172d110}.workspace-chat-form textarea{display:block;box-sizing:border-box;width:100%;max-height:130px;min-height:72px;resize:vertical;border:0;background:transparent;outline:none;font:12px/1.7 inherit;color:#372d49}.workspace-chat-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.workspace-chat-actions small{font-size:10px;color:#9b92a8}.workspace-chat-actions button{border:0;border-radius:8px;background:#7252b8;color:#fff;padding:7px 12px;transition:transform .15s,background .15s}.workspace-chat-actions button:active{transform:scale(.95)}.workspace-chat-actions button:disabled{opacity:.45}.workspace-marked-button{margin:0 12px 8px;padding:9px;border:1px solid #ded4f2;border-radius:8px;color:#71549c;background:#f7f3ff;text-align:center;font-size:12px}.workspace-marked-button:disabled{opacity:.45;cursor:default}.workspace-chat-feedback{font-size:11px;line-height:1.6;color:#a25743;margin:0 12px 10px;overflow-wrap:anywhere}.workspace-chat-feedback:empty{display:none}.workspace-marks{max-height:180px;overflow:auto;padding:8px 12px}.workspace-mark-row{display:grid;grid-template-columns:76px 1fr 22px;gap:5px;align-items:start;margin-bottom:7px}.workspace-mark-row textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;max-height:80px;border:1px solid #e6dfed;border-radius:5px;padding:6px;font-size:11px}.workspace-mark-location,.workspace-remove-mark{border:0;background:#f2edf8;color:#795c9e;padding:6px 3px;font-size:10px;border-radius:5px}.editor-canvas{position:relative;transform-origin:center}.workspace-mark-overlay{position:absolute;inset:0;pointer-events:none}.workspace-pin{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);width:25px;height:25px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#8755d0;color:#fff;font-size:11px;font-weight:700;box-shadow:0 2px 7px #43296c55;padding:0}.editor-canvas.is-marking,.editor-canvas.is-marking svg *{cursor:crosshair!important}.editor-canvas.is-marking text[data-editable]:hover{stroke:none}.workspace-mark-toggle[aria-pressed=true]{background:#ebe1fa;color:#7044ad;box-shadow:inset 0 0 0 1px #b8a0d8}.workspace-text-tools{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:11px;border-bottom:1px solid #eee}.workspace-text-tools[hidden]{display:none}.workspace-text-tools input{min-width:40px;flex:1;width:100%;padding:5px;border:1px solid #ddd;border-radius:4px}.workspace-text-tools button{border:0;background:none}.workspace-text-tools select{max-width:80px}.editor-main[inert],.editor-filmstrip[inert]{opacity:.75}.dashboard-card.is-opening{opacity:.65;pointer-events:none}.dashboard-cover{content-visibility:auto;contain-intrinsic-size:auto 180px}.editor-thumb-preview{contain:layout paint}.editor-toolbar .workspace-mark-toggle{width:auto;min-width:60px;font-size:11px}.editor-canvas-wrap{overscroll-behavior:contain}.editor-add-slide{flex-shrink:0}
@keyframes workspace-message-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes workspace-pulse{50%{opacity:.4}}
@media(max-width:1180px){.editor-layout{grid-template-columns:110px minmax(0,1fr) 290px}.editor-canvas-wrap{padding:12px}.editor-inspector{grid-column:auto}}
@media(max-width:850px){.editor-layout{height:auto;grid-template-columns:100px minmax(0,1fr)}.editor-inspector{grid-column:1/-1;height:540px}.editor-main{min-height:400px}.editor-thumbs{max-height:400px}}
@media(max-width:580px){.editor-layout{display:flex;min-height:0}.editor-thumbs{flex-direction:row;max-height:none}.editor-thumb{width:96px}.editor-filmstrip{min-height:115px}.editor-inspector{height:560px}.editor-main{min-height:330px}.workspace-chat-log{min-height:120px}.workspace-head{gap:10px}.workspace-title h1{max-width:75vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-text-tools{flex-wrap:wrap}.workspace-text-tools input{flex-basis:70%}}
@media(prefers-reduced-motion:reduce){.workspace-chat-message,.workspace-chat-message.is-running small::after{animation:none}.workspace-chat-actions button{transition:none}}

.workspace-view{margin:0;padding:0}.editor-thumb{width:100%;min-width:0;box-sizing:border-box}.editor-thumb-label{min-width:0}.editor-thumb-label>span{flex-shrink:0;white-space:nowrap}.editor-toolbar{flex-wrap:wrap;gap:6px}.workspace-chat-form textarea{font-family:inherit;font-size:12px;line-height:1.7}.workspace-chat-message p{color:#40354f}
@media(max-width:850px){.content.is-workspace{padding:18px 16px}}
@media(max-width:580px){.content.is-workspace{padding:16px 10px}.editor-thumb{width:96px}}

.dashboard-card.is-opening .dashboard-cover{position:relative}.dashboard-card.is-opening .dashboard-cover::after{content:"正在打开…";position:absolute;inset:0;display:grid;place-items:center;background:#ffffffe8;color:#74549c;font-size:13px}.workspace-title>div{min-width:0}@media(max-width:580px){.workspace-title h1{max-width:calc(100vw - 156px);font-size:20px}.workspace-chat-actions button{flex-shrink:0;white-space:nowrap}.workspace-chat-actions small{line-height:1.5}}
