.main-content-chat{max-width:1460px}.chat-message{scroll-margin-top:calc(var(--studio-header-height) + 24px)}.chat-project-meta{display:flex;align-items:center;gap:7px;margin:12px 0 0;color:#999;font-size:12px}.chat-workbench{display:grid;grid-template-columns:228px minmax(0,1fr);gap:30px;flex:1;align-items:start}.chat-discussion{min-width:0;display:flex;flex-direction:column;min-height:calc(100dvh - 280px)}.chat-composer-start{position:static}.chat-empty-branch{padding:12px 0 20px;text-align:left}.chat-empty-branch .chat-empty-icon{display:none}.chat-empty-branch h2{font-size:14px;margin:0 0 6px}.chat-empty-branch p{font-size:12px;margin:0;max-width:none}.chat-structure{position:sticky;top:calc(var(--studio-header-height) + 24px);min-width:0;border:1px solid #303030;border-radius:13px;background:#181818;font-size:12px}.chat-structure summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 13px;cursor:pointer;list-style:none;color:#ddd;font-weight:600}.chat-structure summary::-webkit-details-marker{display:none}.chat-structure summary>span{display:flex;align-items:center;gap:7px}.chat-structure summary>span:last-child{color:#999;font-weight:400}.chat-structure details:not([open]) summary>span:last-child svg{transform:rotate(-90deg)}.structure-body{padding:0 7px 9px;max-height:min(70dvh,calc(100dvh - var(--studio-header-height) - 100px));overflow:auto;scrollbar-width:thin;scrollbar-color:#444 transparent}.structure-node{position:relative;display:flex;align-items:flex-start;gap:9px;text-align:left;width:100%;padding:11px 8px;border-radius:8px;color:#a9a9a9;background:transparent;border:1px solid transparent}.structure-node>svg{flex-shrink:0;margin-top:2px}.structure-node>span{min-width:0;display:flex;flex-direction:column;gap:5px}.structure-node strong{font-weight:500;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.structure-node small{font-size:10px;color:#999;line-height:1.5}.structure-node:hover{background:#242424;color:#eee}.structure-node.active{border-color:#454545;background:#292929;color:#fff}.structure-root{margin-bottom:6px}.structure-tree,.structure-tree ol{padding:0 0 0 10px;margin:0 0 0 8px;border-left:1px solid #3a3a3a;list-style:none}.structure-tree ol{margin-left:5px;padding-left:7px}.structure-tree li{margin:4px 0}.structure-source{display:flex;align-items:center;gap:4px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structure-source svg{flex-shrink:0}.structure-empty{padding:8px 9px 10px;color:#999;font-size:12px;line-height:1.8;margin:0}.structure-pending{width:6px;height:6px;border-radius:50%;background:#ddd;flex-shrink:0;margin:6px 0 0 auto;animation:pulse 1.5s infinite}.chat-thread-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 23px;border-bottom:1px solid #2b2b2b;padding:0 0 15px}.thread-breadcrumbs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;font-size:12px;color:#999}.thread-breadcrumbs>span{display:flex;align-items:center;gap:4px;min-width:0}.thread-breadcrumbs button{display:flex;align-items:center;gap:6px;text-align:left;line-height:1.6;color:#999;background:transparent;font-size:12px;padding:2px;overflow-wrap:anywhere}.thread-breadcrumbs button:hover,.thread-breadcrumbs button[aria-current=page]{color:#eee}.favorites-toggle{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:5px 0 5px 7px;color:#aaa;background:transparent;font-size:12px}.favorites-toggle.active{color:#fff}.favorites-toggle>span{display:grid;place-items:center;font-size:10px;min-width:17px;height:17px;background:#333;border-radius:5px}.thread-view-heading{margin-bottom:20px}.thread-view-heading h2{font-size:19px;line-height:1.5;margin:5px 0 7px;letter-spacing:-.4px}.thread-view-heading p{font-size:12px;line-height:1.8;color:#aaa;margin:0}.thread-mode-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#aaa}.thread-source{border:1px solid #333;border-radius:10px;background:#1b1b1b;padding:12px 14px;margin-bottom:25px}.thread-source>div{display:flex;align-items:center;gap:7px;font-size:11px;color:#aaa;flex-wrap:wrap}.thread-source strong{font-weight:500}.thread-source button{display:flex;align-items:center;gap:3px;margin-left:auto;font-size:11px;background:transparent;color:#ddd;padding:3px 0}.thread-source p{font-size:12px;line-height:1.8;color:#999;margin:9px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere}.thread-background-job{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#aaa;padding:10px 12px;border:1px solid #383838;border-radius:9px;margin-bottom:20px}.thread-background-job button{color:#eee;background:transparent;font-size:12px;text-decoration:underline;padding:3px}.message-favorite-mark{color:#c6bea4}.message-actions{flex-wrap:wrap;column-gap:17px}.message-actions button[aria-pressed=true]{color:#ded4b7}.favorite-origin{display:flex;align-items:center;gap:4px;background:transparent;color:#aaa;padding:0 0 10px;font-size:11px;text-align:left}.result-transitions{margin-top:16px;border-top:1px solid #303030;padding-top:13px}.result-transitions>span{display:block;color:#888;font-size:10px;margin-bottom:8px;letter-spacing:.4px}.result-transitions>div{display:flex;flex-wrap:wrap;gap:6px}.result-transitions>div>button{display:inline-flex;align-items:center;gap:6px;border:1px solid #3b3b3b;border-radius:7px;background:#1b1b1b;color:#d3d3d3;font-size:11px;padding:8px 9px;line-height:1.3}.result-transitions>div>button:hover{background:#2c2c2c;border-color:#777;color:#fff}.result-transitions>div>button:disabled{opacity:.4;cursor:default}.result-transitions>div>button>svg:last-child{color:#888}.result-transitions .result-linked-branches{align-items:center;margin-top:10px;gap:6px;color:#999}.result-transitions .result-linked-branches>button{font-size:10px;border:0;padding:4px 6px;background:#232323;color:#aaa;max-width:100%;overflow-wrap:anywhere;text-align:left}.composer-branch-label{display:flex;align-items:center;gap:8px;overflow:hidden;font-size:10px;color:#aaa;padding:0 4px 8px}.composer-branch-label>span:first-child{flex-shrink:0}.composer-branch-label>span+span{border-left:1px solid #444;padding-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#888}.favorites-back{align-self:flex-start;margin:10px 0 30px}.branch-dialog{max-width:680px}.branch-source-preview{display:flex;gap:9px;background:#242424;border:1px solid #383838;border-radius:9px;padding:12px;margin-bottom:18px;color:#aaa}.branch-source-preview>svg{flex-shrink:0;margin-top:3px}.branch-source-preview p{font-size:12px;line-height:1.7;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.branch-video-note{font-size:12px;line-height:1.8;border-left:2px solid #666;padding-left:12px;color:#bbb;margin:0 0 20px}.branch-count{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;font-size:12px;color:#ddd}.branch-count .text-field{width:66px;padding:8px}.branch-count>span{flex-basis:100%;font-size:11px;color:#aaa;line-height:1.7}.branch-drafts{display:flex;flex-direction:column;gap:15px;max-height:36dvh;overflow:auto;padding:2px 5px 2px 0;margin-bottom:16px}.branch-draft{display:flex;align-items:flex-start;gap:10px}.branch-draft-index{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;border:1px solid #444;border-radius:6px;margin-top:9px;color:#aaa;font-size:11px}.branch-draft>div{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.branch-draft .text-field{font-size:12px;margin:0}.branch-draft textarea{line-height:1.7;resize:vertical;min-height:75px}.chat-structure button:focus-visible,.favorites-toggle:focus-visible,.result-transitions button:focus-visible,.thread-breadcrumbs button:focus-visible{outline:2px solid #aaa;outline-offset:2px}@media(min-width:1500px){.chat-workbench{grid-template-columns:245px minmax(0,1fr);gap:40px}}@media(max-width:1180px){.chat-workbench{grid-template-columns:minmax(0,1fr);gap:20px}.chat-structure{position:static}.chat-structure summary{padding:12px 14px}.structure-body{max-height:240px}.structure-tree{margin-left:12px}.structure-empty{padding-top:0}.chat-discussion{min-height:calc(100dvh - 350px)}}@media(max-width:580px){.chat-workbench{gap:18px}.chat-heading{margin-bottom:18px}.chat-project-meta{font-size:10px;gap:5px;flex-wrap:wrap}.chat-thread-toolbar{gap:8px;margin-bottom:20px;flex-wrap:wrap}.favorites-toggle{margin-left:auto}.thread-view-heading h2{font-size:17px}.result-transitions>div>button{padding:9px 8px;font-size:10px}.thread-source{padding:10px}.thread-source button,.thread-source>div{font-size:10px}.branch-drafts{max-height:33dvh}.branch-dialog .dialog-actions{flex-direction:column-reverse}.branch-draft-index{display:none}}@media(pointer:coarse){.favorite-origin,.favorites-toggle,.result-transitions>div>button,.structure-node,.thread-breadcrumbs button,.thread-source button{min-height:40px}}