.copilot-panel-active .right-panel-content{overflow:hidden;min-height:0}.copilot-panel-active .layer-panel-tabs{flex-shrink:0}#layer-right-panel .layer-panel-tabs:has(#btn-layer-panel-copilot){grid-template-columns:repeat(6,minmax(0,1fr))}.local-copilot{display:flex;flex:1;min-height:0;flex-direction:column;gap:8px;padding:3px}.local-copilot.hidden{display:none}.local-copilot.copilot-conversation-empty{justify-content:center}.copilot-conversation[hidden]{display:none}.copilot-conversation{flex:1;min-height:100px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain;border:1px solid #444;border-radius:10px;background:var(--surface);color:var(--text);padding:10px;font:inherit;font-size:12px;line-height:1.4}.copilot-conversation::-webkit-scrollbar{display:none;width:0;height:0}.copilot-composer{display:flex;flex-direction:column;gap:7px;flex-shrink:0;margin:0}.copilot-composer textarea{box-sizing:border-box;display:block;resize:vertical;min-height:80px;max-height:200px;width:100%;padding:10px 12px;border:1px solid var(--panel-border-color);border-radius:11px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;line-height:1.4;outline:none}.copilot-composer textarea:focus{border-color:var(--primary)}.copilot-runtime-status{padding:0 3px;color:var(--text-2);font:inherit}.copilot-activity{height:4px;overflow:hidden;border-radius:3px;background:var(--panel-border-color)}.copilot-activity[hidden]{display:none}.copilot-activity span{display:block;width:35%;height:100%;border-radius:inherit;background:#ffbf00;animation:copilot-activity 1.4s ease-in-out infinite}@keyframes copilot-activity{0%{transform:translate(-100%)}to{transform:translate(386%)}}@media(prefers-reduced-motion:reduce){.copilot-activity span{width:100%;animation:none}}.copilot-controls{display:flex;align-items:center;gap:6px}.copilot-send{display:flex;justify-content:center;align-items:center;gap:6px;flex:1;min-width:0;height:28px;border:0;border-radius:8px;background:#ffbf00;color:#161616;font:inherit;font-size:12px;font-weight:600}.copilot-send:disabled{opacity:.55;cursor:default}.copilot-voice,.copilot-options{display:flex;align-items:center;justify-content:center;width:22px;height:28px;padding:0;border:0;background:transparent;color:var(--text)}.copilot-voice svg,.copilot-options svg{width:19px;height:19px}.copilot-options{color:#ffbf00}.copilot-options img{display:block;width:19px;height:19px;object-fit:contain}.copilot-credit-panel[hidden]{display:none!important}.copilot-credit-panel{z-index:80}.copilot-credit-content{padding:10px;overflow:auto}.copilot-credit-content .prop-grid{padding:0;grid-template-columns:1fr auto;align-items:center;margin-bottom:12px}.copilot-credit-content .prop-value{font-weight:600}.copilot-credit-content .panel-action-btn{width:100%;justify-content:center;text-decoration:none}#copilot-credit-status{font-size:.68rem;color:var(--text-2);line-height:1.4}#copilot-credit-status:not(:empty){margin-bottom:10px}#copilot-credit-status[data-error=true]{color:#ef7168}#copilot-credit-continue[hidden]{display:none}.copilot-message{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:inherit;padding:0;margin:0 0 .4em}.copilot-console-symbol{color:#ffbf00}.copilot-assistant .copilot-console-symbol{color:#91bb5e}.copilot-error .copilot-console-symbol{color:#e14646}.copilot-voice:disabled,.copilot-options:disabled{opacity:.55;cursor:default}.copilot-voice.recording,.copilot-send.stopping{background:#c62828;color:#fff}.copilot-voice.recording{border-radius:4px}.copilot-send svg{display:block;width:16px;height:16px}.copilot-update-preview{position:fixed;inset:0;width:100%;height:100%;z-index:90;pointer-events:none}html body.copilot-product.copilot-model-update #loading{background:var(--copilot-update-frost,rgba(160,160,160,.28))!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;transition:none!important}.copilot-product.copilot-model-update #loading:before{display:none}.copilot-product.copilot-model-update #loading-text{color:var(--copilot-update-text,var(--text))}.copilot-product #loading.hidden{transition:none!important}
