:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans SC,PingFang SC,sans-serif;font-synthesis:none;--background: #ffffff;--foreground: #202023;--muted: #f5f5f5;--muted-strong: #ebebec;--muted-foreground: #737378;--border: #e3e3e5;--sidebar: #fafafa;--card: #ffffff;--primary: #242426;--primary-foreground: #fafafa;--focus: #7aa7ff;--danger: #b42318;--path: #2563eb;--accent: #2563eb;--accent-strong: #1d4ed8;--accent-soft: rgba(37, 99, 235, .12);--accent-glow: rgba(37, 99, 235, .28)}:root.dark{color-scheme:dark;--background: #191919;--foreground: #f3f3f4;--muted: #232325;--muted-strong: #2c2c2f;--muted-foreground: #9b9ba1;--border: #303034;--sidebar: #1d1d1f;--card: #202022;--primary: #f5f5f5;--primary-foreground: #171719;--focus: #699cf7;--danger: #ff8a80;--path: #78a5ff;--accent: #5b9bff;--accent-strong: #78a5ff;--accent-soft: rgba(91, 155, 255, .16);--accent-glow: rgba(91, 155, 255, .32)}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted-foreground) 32%,transparent) transparent}html,body,#root{width:100%;height:100%;margin:0}body{overflow:hidden;background:var(--background);color:var(--foreground);letter-spacing:0}button,textarea{font:inherit;letter-spacing:0}button{color:inherit}button:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app-shell{display:flex;width:100%;height:100%}.sidebar{z-index:30;display:flex;width:272px;min-width:272px;height:100%;flex-direction:column;border-right:1px solid var(--border);background:var(--sidebar);padding:10px;transition:margin-left .25s ease}.sidebar.collapsed{margin-left:-273px}.sidebar-brand{display:flex;min-height:48px;align-items:center;gap:10px;padding:4px 6px 10px}.brand-mark{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border:1px solid var(--border);border-radius:7px;background:var(--card);overflow:hidden}.brand-mark img{width:24px;height:24px;object-fit:contain}.sidebar-brand strong,.thread-title strong{display:block;font-size:13px;font-weight:650;line-height:1.25}.sidebar-brand span,.thread-title span{display:block;margin-top:3px;color:var(--muted-foreground);font-size:11px;line-height:1.2}.new-chat-button,.sidebar-tool{display:flex;width:100%;min-height:38px;align-items:center;gap:9px;border:0;border-radius:7px;background:transparent;padding:8px 10px;text-align:left;font-size:13px;cursor:pointer}.new-chat-button:hover,.sidebar-tool:hover{background:var(--muted-strong)}.sidebar-tool.active{background:var(--muted-strong);font-weight:600}.new-chat-button:disabled,.sidebar-tool:disabled{cursor:default;opacity:.5}.sidebar-section-label{padding:20px 10px 7px;color:var(--muted-foreground);font-size:11px;font-weight:600}.sidebar-scroll{display:flex;min-height:0;flex:1;flex-direction:column;overflow-y:auto;overflow-x:hidden;margin:0 -4px;padding:0 4px}.session-list{display:flex;flex-direction:column}.sidebar-toggle{width:100%;border:0;border-radius:7px;background:transparent;padding:7px 10px;margin-top:2px;color:var(--muted-foreground);text-align:left;font-size:12px;font-weight:500;cursor:pointer;transition:background-color .15s ease,color .15s ease}.sidebar-toggle:hover{background:var(--muted);color:var(--foreground)}.session-item{position:relative;display:flex;align-items:center;gap:4px;border-radius:7px;margin-bottom:2px;transition:background-color .15s ease}.session-item:hover{background:var(--muted)}.session-item.active{background:var(--muted-strong)}.session-item-main{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px;border:0;background:transparent;padding:9px 10px;text-align:left;cursor:pointer}.session-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.3}.session-meta{display:flex;align-items:baseline;gap:6px;font-size:11px;line-height:1.2}.session-preview{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:var(--muted-foreground)}.session-time{flex:0 0 auto;color:var(--muted-foreground);font-size:10px}.session-delete{display:none;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease}.session-item:hover .session-delete{display:flex}.session-delete:hover{background:var(--danger);color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding-top:8px}.connection-status{display:flex;align-items:center;gap:8px;padding:8px 10px}.status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#9ca3af;transition:background-color .2s ease,box-shadow .2s ease}.status-dot.ok{background:#22c55e;box-shadow:0 0 0 3px #22c55e29}.status-dot.error{background:var(--danger);box-shadow:0 0 0 3px #b4231829;animation:status-blink 1.6s ease-in-out infinite}@keyframes status-blink{0%,to{opacity:1}50%{opacity:.4}}.status-text{color:var(--muted-foreground);font-size:12px}.sidebar-collapse-btn{flex:0 0 30px;width:30px;height:30px;margin-left:auto}.thread-shell{position:relative;display:flex;min-width:0;height:100%;max-height:100dvh;flex:1;flex-direction:column;background:var(--background)}.thread-header{z-index:10;display:flex;min-height:58px;align-items:center;gap:10px;border-bottom:1px solid color-mix(in srgb,var(--border) 75%,transparent);background:color-mix(in srgb,var(--background) 94%,transparent);padding:0 18px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.thread-title{min-width:0;flex:1}.icon-button{display:inline-grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease}.icon-button:hover{background:var(--muted);color:var(--foreground)}.icon-button.compact{width:30px;height:30px;flex-basis:30px}.menu-button,.mobile-close{display:none}.sidebar-collapse-btn,.sidebar-expand-btn{display:inline-grid}.thread-viewport{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}.message-list{width:min(100%,820px);min-height:100%;margin:0 auto;padding:34px 24px}.message-row{display:flex;width:100%;margin:0 0 30px;animation:message-in .26s ease both}@keyframes message-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.message-avatar{width:30px;height:30px;flex:0 0 30px;border:1px solid var(--border);border-radius:50%;background:#fff;object-fit:contain;padding:3px}.assistant-avatar{margin-top:1px}.assistant-row{align-items:flex-start;gap:13px}.assistant-content{min-width:0;max-width:calc(100% - 43px);flex:1}.assistant-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.assistant-text-question{position:relative;margin-top:4px;padding:12px 14px 12px 18px;border-radius:10px;background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent);animation:question-rise .32s ease}.assistant-text-question:before{content:"";position:absolute;top:10px;bottom:10px;left:7px;width:3px;border-radius:3px;background:var(--accent);box-shadow:0 0 8px var(--accent-glow);animation:accent-pulse 2.4s ease-in-out infinite}@keyframes question-rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes accent-pulse{0%,to{opacity:.55;box-shadow:0 0 6px var(--accent-glow)}50%{opacity:1;box-shadow:0 0 14px var(--accent-glow)}}.assistant-actions{display:flex;min-height:30px;align-items:center;margin-top:5px;opacity:0;transition:opacity .15s ease}.assistant-row:hover .assistant-actions,.assistant-actions:focus-within{opacity:1}.user-row{justify-content:flex-end}.user-message-wrap{display:flex;max-width:min(88%,590px);align-items:flex-start;gap:10px}.user-bubble{min-width:0;border-radius:18px;background:var(--muted-strong);padding:8px 15px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.procedure-attachment{width:100%;margin-top:14px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--card)}.procedure-attachment-header{display:flex;min-height:43px;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:6px 8px 6px 12px}.procedure-title-wrap{display:flex;min-width:0;flex:1;align-items:center;gap:8px}.procedure-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:650}.node-badge{flex:0 0 auto;border:1px solid var(--border);border-radius:999px;background:var(--muted);padding:2px 7px;color:var(--muted-foreground);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.mermaid-scroll{max-height:390px;overflow:auto;background:#fff;padding:34px 14px 14px}.procedure-attachment.is-expanded .mermaid-scroll{max-height:72vh}.mermaid-output{min-width:max-content}.mermaid-output svg{display:block;max-width:none!important;height:auto;margin:0 auto}.diagram-error,.request-error{border:1px solid color-mix(in srgb,var(--danger) 28%,transparent);border-radius:7px;background:color-mix(in srgb,var(--danger) 8%,var(--background));padding:10px 12px;color:var(--danger);font-size:12px;line-height:1.5}.answer-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.answer-button{position:relative;overflow:hidden;min-width:92px;min-height:38px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:7px;background:var(--card);padding:8px 14px;color:var(--foreground);font-size:13px;font-weight:600;cursor:pointer;animation:option-in .3s ease both;transition:border-color .15s ease,background-color .15s ease,box-shadow .2s ease,transform .1s ease,color .15s ease}.answer-button:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-120%);background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--accent) 22%,transparent) 50%,transparent 80%);transition:transform .55s ease;pointer-events:none}.answer-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent-strong);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent-glow),0 4px 16px var(--accent-glow);transform:translateY(-1px)}.answer-button:hover:not(:disabled):after{transform:translate(120%)}.answer-button:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.answer-button:active:not(:disabled){transform:scale(.98)}.answer-button:disabled{cursor:default;opacity:.45}@keyframes option-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.thinking-row{display:flex;height:36px;align-items:center;gap:5px;margin-bottom:26px}.thinking-row .message-avatar{margin-right:8px}.typing-dot{width:5px;height:5px;border-radius:50%;background:var(--muted-foreground);animation:typing 1.1s infinite ease-in-out}.typing-dot:nth-of-type(2){animation-delay:.12s}.typing-dot:nth-of-type(3){animation-delay:.24s}@keyframes typing{0%,70%,to{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}.request-error{margin:0 43px 20px}.composer-dock{position:relative;z-index:15;flex:0 0 auto;padding:10px 24px 12px;background:var(--background)}.composer{position:relative;display:flex;flex-direction:column;width:min(100%,792px);min-height:56px;gap:6px;margin:0 auto;border:1px solid color-mix(in srgb,var(--foreground) 18%,var(--border));border-radius:22px;background:var(--card);padding:10px 12px;box-shadow:0 12px 30px #0f172a14}.dark .composer{box-shadow:0 16px 34px #0000004d}.composer:focus-within{border-color:color-mix(in srgb,var(--focus) 70%,var(--border))}.composer textarea{width:100%;min-height:34px;max-height:150px;resize:none;border:0;outline:0;background:transparent;color:var(--foreground);padding:6px 2px;font-size:15px;line-height:1.5}.composer textarea::placeholder{color:var(--muted-foreground)}.send-button{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:0;border-radius:50%;background:var(--primary);color:var(--primary-foreground);cursor:pointer;transition:transform .12s ease,opacity .12s ease}.send-button:hover:not(:disabled){transform:scale(1.03)}.send-button:active:not(:disabled){transform:scale(.96)}.send-button:disabled{cursor:default;opacity:.35}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-actions-right{display:flex;align-items:center;gap:8px}.composer-tool{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--muted-foreground);cursor:pointer;transition:background .12s ease,color .12s ease,opacity .12s ease}.composer-tool:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.composer-tool:disabled{cursor:default;opacity:.35}.composer-tool.recording{border-color:transparent;background:#dc2626;color:#fff;animation:pulse-rec 1.4s ease-in-out infinite}@keyframes pulse-rec{0%,to{box-shadow:0 0 #dc262673}50%{box-shadow:0 0 0 6px #dc262600}}.composer-rec-timer{color:#dc2626;font-size:12px;font-variant-numeric:tabular-nums}.composer-attachments{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 4px}.composer-thumb{position:relative;width:60px;height:60px;border:1px solid var(--border);border-radius:10px;overflow:hidden}.composer-thumb img{width:100%;height:100%;object-fit:cover;display:block}.composer-thumb-remove{position:absolute;top:2px;right:2px;display:grid;width:18px;height:18px;place-items:center;border:0;border-radius:50%;background:#0009;color:#fff;cursor:pointer;padding:0}.composer-thumb-remove:hover{background:#000000d1}.composer-notice{margin:0;padding:0 2px;color:#dc2626;font-size:11.5px}.user-bubble-images{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.user-bubble-images img{max-width:180px;max-height:180px;border-radius:8px;display:block}.composer-note{margin:8px auto 0;color:var(--muted-foreground);font-size:10.5px;text-align:center;pointer-events:none}.sidebar-scrim{display:none}@media (max-width: 800px){.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(272px,calc(100vw - 20px));min-width:0;transform:translate(-105%);transition:transform .2s ease;box-shadow:18px 0 44px #00000029}.sidebar.collapsed{margin-left:0}.sidebar.mobile-open{transform:translate(0)}.sidebar-scrim{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#00000047}.menu-button,.mobile-close{display:inline-grid}.sidebar-collapse-btn,.sidebar-expand-btn{display:none}.mobile-close{margin-left:auto}.message-list{padding:24px 14px 28px}.thread-header{padding:0 12px}.composer-dock{padding-right:12px;padding-left:12px}.assistant-row{gap:9px}.assistant-content{max-width:calc(100% - 39px)}.message-avatar{width:28px;height:28px;flex-basis:28px}.user-message-wrap{max-width:94%}.mermaid-scroll{max-height:330px;padding:10px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.model-select{position:relative;margin-top:3px}.model-select-trigger{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;margin-left:-6px;border:0;border-radius:6px;background:transparent;color:var(--muted-foreground);font-size:11px;line-height:1.2;cursor:pointer;transition:background-color .15s ease,color .15s ease}.model-select-trigger:hover{background:var(--muted);color:var(--foreground)}.model-select-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:0;background:transparent;cursor:default}.model-select-menu{position:absolute;top:calc(100% + 6px);left:-6px;z-index:50;min-width:180px;margin:0;padding:4px;list-style:none;border:1px solid var(--border);border-radius:10px;background:var(--card);box-shadow:0 12px 32px #00000024}.model-select-option{display:block;width:100%;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:var(--foreground);font-size:12px;text-align:left;cursor:pointer;transition:background-color .15s ease}.model-select-option:hover{background:var(--muted)}.model-select-option.active{background:var(--muted-strong);font-weight:600}.modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#00000080}.reference-modal{position:fixed;top:50%;left:50%;z-index:50;transform:translate(-50%,-50%);width:90%;max-width:800px;max-height:80vh;border-radius:12px;background:var(--background);border:1px solid var(--border);display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-header h2{margin:0;font-size:16px;font-weight:600}.modal-content{overflow-y:auto;padding:16px 20px;flex:1;min-height:0}.modal-content pre{margin:0;font-size:12px;line-height:1.6;color:var(--foreground);white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Courier New,monospace}.builder-shell{min-width:0;height:100%;flex:1;overflow-y:auto;background:var(--background);padding:56px clamp(18px,4vw,58px) 52px}.builder-header{display:flex;align-items:flex-start;gap:18px;margin-bottom:26px}.builder-header h1{margin:0;color:var(--foreground);font-size:34px;line-height:1.1;font-weight:760}.builder-header p,.builder-preview-heading p{margin:12px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.45}.builder-back-button,.builder-secondary-button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:7px;background:var(--card);padding:7px 13px;color:var(--foreground);font-size:13px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.builder-back-button{flex:0 0 auto}.builder-back-button:hover,.builder-secondary-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 45%,var(--border));background:var(--accent-soft);color:var(--accent-strong)}.builder-secondary-button:disabled{cursor:default;opacity:.45}.builder-form{border-bottom:1px solid var(--border);padding-bottom:28px}.builder-label{display:block;margin:18px 0 8px;color:var(--foreground);font-size:12px;font-weight:650}.builder-input{width:100%;min-height:42px;border:1px solid transparent;border-radius:7px;background:var(--muted);color:var(--foreground);padding:9px 12px;font:inherit;font-size:13px}.builder-input::placeholder,.json-editor::placeholder{color:var(--muted-foreground)}.builder-input:focus-visible{border-color:var(--focus);outline:0}.upload-strip{display:flex;min-height:96px;align-items:center;gap:14px;border:1px dashed color-mix(in srgb,var(--border) 92%,transparent);border-radius:10px;background:color-mix(in srgb,var(--muted) 82%,var(--background));padding:14px 16px;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.upload-strip.drag-active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-glow)}.upload-strip span{min-width:0;flex:1;overflow:hidden;color:var(--muted-foreground);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.upload-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:12px;align-items:start}.upload-item{display:flex;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:9px;background:var(--card);padding:8px;box-shadow:0 8px 18px #0000000d}.upload-item-preview{width:100%;aspect-ratio:16 / 11;max-height:140px;border:1px solid color-mix(in srgb,var(--border) 85%,transparent);border-radius:8px;object-fit:cover;background:#fff}.upload-item-body{min-width:0}.upload-item-name{overflow:hidden;color:var(--foreground);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.upload-item-size{margin-top:2px;color:var(--muted-foreground);font-size:11px;line-height:1.2}.upload-item-remove{display:inline-grid;width:22px;height:22px;align-self:flex-end;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted-foreground);cursor:pointer}.upload-item-remove:hover{background:var(--muted-strong);color:var(--foreground)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.builder-actions{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:14px;margin-top:28px}.json-editor{width:100%;min-height:430px;resize:vertical;border:1px solid transparent;border-radius:7px;background:var(--muted);color:var(--foreground);padding:14px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-moz-tab-size:2;tab-size:2}.json-editor:focus-visible{border-color:var(--focus);outline:0}.builder-status{display:flex;min-height:36px;align-items:center;gap:8px;margin-top:10px;color:var(--muted-foreground);font-size:12px}.builder-status.error{color:var(--danger)}.builder-preview-section{padding-top:34px}.builder-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.builder-preview-heading h2{margin:0;font-size:22px;line-height:1.2}.builder-error-count{flex:0 0 auto;border:1px solid color-mix(in srgb,var(--danger) 30%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--danger) 8%,var(--background));padding:4px 9px;color:var(--danger);font-size:12px;font-weight:650}.builder-preview-grid{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(360px,1fr);gap:54px;align-items:stretch}.preview-console,.preview-diagram{min-width:0;min-height:420px}.preview-console{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:8px;background:var(--card);padding:14px}.preview-info{border-radius:7px;background:var(--accent-soft);padding:13px 16px;color:var(--accent-strong);font-size:13px;font-weight:600}.preview-node{min-height:0;flex:1;padding:8px 0 18px}.preview-node-id{display:inline-flex;border:1px solid var(--border);border-radius:999px;background:var(--muted);padding:3px 8px;color:var(--muted-foreground);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.preview-node h3{margin:14px 0 0;font-size:17px;line-height:1.45}.preview-terminal{margin-top:16px;border-left:3px solid var(--accent);background:var(--muted);padding:12px 13px;color:var(--foreground);white-space:pre-wrap;font-size:13px;line-height:1.55}.preview-controls{display:flex;gap:12px;margin-top:auto;padding-top:14px}.preview-diagram .procedure-attachment{min-height:420px;margin-top:0}.preview-diagram .mermaid-scroll{min-height:374px;max-height:640px}.manager-shell{min-width:0;height:100%;flex:1;overflow-y:auto;background:var(--background);padding:56px clamp(18px,4vw,58px) 52px}.manager-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:8px 0 20px}.manager-summary-item{display:inline-flex;min-width:96px;flex-direction:column;gap:2px;border:1px solid var(--border);border-radius:8px;background:var(--card);padding:10px 12px}.manager-summary-value{font-size:18px;font-weight:700;line-height:1}.manager-summary-label{color:var(--muted-foreground);font-size:11px}.manager-refresh{margin-left:auto}.manager-error{margin-bottom:14px}.manager-list{display:flex;flex-direction:column;gap:10px}.manager-row{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--card);padding:12px}.manager-row-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid var(--border);border-radius:7px;background:var(--muted);color:var(--muted-foreground)}.manager-row-body{min-width:0;flex:1}.manager-row-title{display:flex;align-items:center;gap:10px}.manager-row-title strong{font-size:13px;line-height:1.25}.manager-tag{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:650;text-transform:uppercase}.manager-tag.builtin{background:color-mix(in srgb,var(--accent-soft) 55%,var(--background));color:var(--accent-strong)}.manager-tag.custom{background:color-mix(in srgb,var(--muted-strong) 72%,var(--background));color:var(--foreground)}.manager-row-meta{margin-top:5px;color:var(--foreground);font-size:13px;font-weight:600}.manager-row-desc,.manager-row-foot{margin-top:4px;color:var(--muted-foreground);font-size:12px;line-height:1.45}.manager-delete{display:inline-grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted-foreground);cursor:pointer}.manager-delete:hover:not(:disabled){background:color-mix(in srgb,var(--danger) 12%,var(--background));color:var(--danger)}.manager-delete:disabled{cursor:default;opacity:.4}.manager-empty{border:1px dashed var(--border);border-radius:8px;background:color-mix(in srgb,var(--muted) 65%,var(--background));padding:18px;color:var(--muted-foreground);font-size:13px}@media (max-width: 980px){.builder-shell{padding:28px 16px 36px}.builder-header{flex-direction:column;gap:12px}.builder-header h1{font-size:28px}.builder-actions,.builder-preview-grid{grid-template-columns:1fr}.builder-preview-grid{gap:18px}.manager-shell{padding:28px 16px 36px}.manager-summary{align-items:stretch}.manager-refresh{margin-left:0;width:100%}}
