.org-create-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px}.org-create-row input,.org-create-row select{flex:1 1 160px;min-width:140px}.org-create-row .btn{flex:0 0 auto}.org-secret-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:24px 16px;z-index:1000}.org-secret-modal{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:22px;width:100%;max-width:460px;box-shadow:0 20px 50px #00000047}.org-secret-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.org-secret-modal-title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px;color:var(--color-text)}.org-secret-modal-desc{margin:0 0 16px;font-size:13px;line-height:1.5;color:var(--color-text-muted)}.org-secret-field{display:flex;align-items:center;gap:8px;margin-bottom:18px}.org-secret-value{flex:1 1 auto;min-width:0;background:#064e3b;color:#d1fae5;padding:11px 14px;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;font-weight:700;letter-spacing:.5px;word-break:break-all;-webkit-user-select:all;user-select:all}.org-secret-field .btn{flex:0 0 auto}.org-secret-actions{display:flex;justify-content:flex-end}.org-secret-close{background:transparent;border:none;cursor:pointer;color:var(--color-text-muted);display:flex;padding:2px}.org-secret-close:hover{color:var(--color-text)}.org-switcher{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-gray-600);background:var(--color-surface)}.org-switcher select{border:none;background:transparent;font-size:13px;font-weight:600;color:var(--color-text);min-height:0;cursor:pointer;outline:none}.org-switcher select option{background:var(--color-surface);color:var(--color-text)}.org-sso-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--color-text)}.org-sso-field input{padding:9px 11px;border:1px solid var(--color-border);border-radius:8px;font-size:14px;font-weight:400;background:var(--color-surface);color:var(--color-text);outline:none}.org-sso-field input:focus{border-color:var(--color-primary-500)}.profile-divider{height:1px;background:var(--color-border);margin:var(--space-4, 16px) 0}.mfa-section{display:flex;flex-direction:column;gap:var(--space-3, 12px)}.mfa-section-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--color-text);margin:0}.mfa-muted{color:var(--color-text-muted);font-size:13px;margin:0}.mfa-error{color:var(--color-danger-600);font-size:13px;margin:0}.mfa-status{display:flex;align-items:center;gap:var(--space-2, 8px);flex-wrap:wrap}.mfa-status .mfa-muted{flex:1;min-width:160px}.mfa-enroll-body{display:flex;gap:var(--space-4, 16px);align-items:flex-start;flex-wrap:wrap}.mfa-enroll-fields{display:flex;flex-direction:column;gap:var(--space-2, 8px);flex:1;min-width:180px}.mfa-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--color-text-muted)}.mfa-field input{padding:8px 10px;border:1px solid var(--color-border);border-radius:var(--radius-md, 8px);background:var(--color-surface);color:var(--color-text);font-size:14px;font-weight:400}.mfa-secret{display:block;padding:8px 10px;border:1px dashed var(--color-border);border-radius:var(--radius-md, 8px);background:var(--color-bg);color:var(--color-text);font-family:var(--font-mono, ui-monospace, monospace);font-size:13px;font-weight:400;letter-spacing:1px;word-break:break-all}.mfa-actions{display:flex;gap:var(--space-2, 8px);justify-content:flex-end;margin-top:var(--space-1, 4px)}.mfa-recovery{border:1px solid var(--color-warning-200, var(--color-border));background:var(--color-warning-50, var(--color-bg));border-radius:var(--radius-md, 8px);padding:var(--space-3, 12px);display:flex;flex-direction:column;gap:var(--space-2, 8px)}.mfa-recovery-title{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--color-warning-700, var(--color-text));margin:0}.mfa-recovery-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;font-family:var(--font-mono, ui-monospace, monospace);font-size:13px;color:var(--color-text)}.mfa-logout-all{margin-top:var(--space-2, 8px);padding-top:var(--space-2, 8px);border-top:1px dashed var(--color-border);display:flex}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{zoom:1;margin:0;font:700 19px/1.5 sans-serif;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font:400 14px/1.5 sans-serif}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font:12px/1.3 sans-serif;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--space-6, 24px);background:radial-gradient(1200px 600px at 110% -10%,rgba(37,99,235,.1),transparent 60%),radial-gradient(900px 500px at -10% 120%,rgba(96,165,250,.1),transparent 55%),var(--color-bg, #f8fafc)}.login-shell{width:100%;max-width:920px;display:grid;grid-template-columns:1.05fr 1fr;background:var(--color-surface, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:20px;box-shadow:var(--shadow-lg, 0 24px 60px rgba(15, 23, 42, .12));overflow:hidden}.login-aside{position:relative;display:flex;flex-direction:column;gap:var(--space-6, 24px);padding:40px 36px;color:#eaf1ff;background:linear-gradient(155deg,var(--color-primary-700, #1d4ed8) 0%,var(--color-primary-600, #2563eb) 45%,#1e3a8a 100%);overflow:hidden;isolation:isolate}.login-aside-glow{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:radial-gradient(420px 280px at 85% 5%,rgba(255,255,255,.18),transparent 60%),radial-gradient(520px 360px at 0% 100%,rgba(13,23,64,.45),transparent 60%);pointer-events:none}.login-aside-brand{display:flex;align-items:center;gap:12px}.login-aside-logo{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#fff;background:#ffffff29;border:1px solid rgba(255,255,255,.28);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.login-aside-name{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#fff}.login-aside-content{margin-top:auto;display:flex;flex-direction:column;gap:16px}.login-aside-content h1{margin:0;font-size:28px;line-height:1.18;font-weight:800;letter-spacing:-.02em;color:#fff}.login-aside-content p{margin:0;font-size:14px;line-height:1.6;color:#eaf1ffd1;max-width:38ch}.login-aside-features{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}.login-aside-features li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:500;color:#eaf1ffeb}.login-aside-features svg{flex-shrink:0;color:#bfdbfe}.login-aside-footer{margin:0;font-size:12px;color:#eaf1ff99}.login-main{display:flex;align-items:center;justify-content:center;padding:44px 40px}.login-card{width:100%;max-width:360px;display:flex;flex-direction:column;gap:var(--space-5, 20px)}.login-card-head{display:flex;flex-direction:column;gap:6px}.login-card-logo{display:none;place-items:center;width:44px;height:44px;margin-bottom:6px;border-radius:12px;color:#fff;background:var(--color-primary-600, #2563eb)}.login-card-head h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--color-text, #0f172a)}.login-card-head p{margin:0;font-size:14px;color:var(--color-text-muted, #64748b)}.login-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:var(--color-text, #0f172a)}.login-field input{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--color-border, #e2e8f0);border-radius:10px;font-size:14px;font-weight:400;color:var(--color-text, #0f172a);background:var(--color-surface, #fff);outline:none;transition:border-color .15s,box-shadow .15s}.login-field input::placeholder{color:var(--color-text-subtle, #94a3b8)}.login-field input:focus{border-color:var(--color-primary-500, #3b82f6);box-shadow:0 0 0 3px #3b82f629}.login-card .btn{width:100%;min-height:44px;font-size:14.5px;font-weight:700;border-radius:10px}.login-hint{margin:-4px 0 0;font-size:12.5px;line-height:1.5;color:var(--color-text-subtle, #94a3b8);text-align:center}.login-alt-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:-2px}.login-link{background:none;border:none;padding:4px;font-size:13px;font-weight:600;color:var(--color-primary-600, #2563eb);cursor:pointer}.login-link:hover:not(:disabled){text-decoration:underline}.login-link:disabled{opacity:.6;cursor:default}.login-org-list{display:flex;flex-direction:column;gap:8px}.login-org-option{text-align:left;justify-content:flex-start;min-height:48px;padding:0 16px;border:1px solid var(--color-border, #e2e8f0);border-radius:10px;background:var(--color-surface, #fff);color:var(--color-text, #0f172a);font-size:14px;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.login-org-option:hover:not(:disabled){border-color:var(--color-primary-400, #60a5fa);background:var(--color-primary-50, #eff6ff);box-shadow:0 0 0 3px #3b82f61a}.login-org-option:disabled{opacity:.6;cursor:default}.login-error{font-size:13px;font-weight:500;color:var(--color-danger-700, #b91c1c);background:var(--color-danger-50, #fff1f2);border:1px solid var(--color-danger-200, #fecaca);border-radius:10px;padding:10px 12px}@media(max-width:760px){.login-shell{grid-template-columns:1fr;max-width:420px}.login-aside{display:none}.login-main{padding:36px 28px}.login-card-logo{display:grid}}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--color-text, #0f172a);background:var(--color-bg, #f8fafc)}.auth-shell{min-height:100vh;display:grid;place-items:center;background:var(--color-bg, #f8fafc);padding:24px}.auth-card{width:min(420px,100%);display:grid;gap:14px;padding:22px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;background:var(--color-surface, #fff);box-shadow:0 20px 60px #0f172a1f}.auth-card-title{display:flex;align-items:flex-end;gap:12px;margin-bottom:4px}.auth-card-title strong{display:block;font-size:18px}.auth-card-title span{display:block;color:var(--color-text-muted, #64748b);font-size:13px}.auth-card label{display:grid;gap:6px;font-size:13px;font-weight:700;color:var(--color-gray-700, #334155)}.auth-card input{border:1px solid var(--color-gray-300, #cbd5e1);border-radius:6px;padding:10px 12px;font:inherit}.auth-hint{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:500}.auth-link-button{border-color:transparent;color:var(--color-primary-600, #2563eb);background:transparent}.auth-link-button:hover{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.auth-error{border:1px solid #fecaca;border-radius:6px;padding:10px 12px;color:#991b1b;background:#fef2f2;font-size:13px}.auth-success{border:1px solid var(--color-success-200, #bbf7d0);border-radius:6px;padding:10px 12px;color:var(--color-success-700, #166534);background:var(--color-success-50, #f0fdf4);font-size:13px}.auth-session-menu{position:fixed;z-index:80;top:12px;right:12px}.auth-session-button{max-width:260px;border-color:var(--color-gray-300, #cbd5e1);background:var(--color-surface, #ffffff);box-shadow:0 8px 24px #0f172a1f}.auth-session-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-session-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:260px;display:grid;gap:4px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;padding:8px;background:var(--color-surface, #ffffff);box-shadow:0 18px 40px #0f172a2e}.auth-session-user{display:grid;gap:2px;padding:8px 10px 10px;border-bottom:1px solid var(--color-border, #e2e8f0);margin-bottom:4px}.auth-session-user strong{font-size:14px}.auth-session-user span,.auth-session-user small{color:var(--color-text-muted, #64748b);font-size:12px}.auth-session-dropdown button{width:100%;justify-content:flex-start;border-color:transparent;color:var(--color-text, #0f172a);background:transparent}.auth-session-dropdown button:hover{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.auth-session-dropdown .danger-button{color:#991b1b}.auth-session-dropdown .danger-button:hover{border-color:#fecaca;background:#fff1f2}.auth-user-modal{width:min(460px,calc(100vw - 32px));display:grid;gap:14px;border-radius:8px;background:var(--color-surface, #ffffff);border:1px solid var(--color-gray-300, #cbd5e1);padding:16px;box-shadow:0 24px 80px #0f172a38}.auth-user-modal label{display:grid;gap:6px;color:var(--color-gray-700, #334155);font-size:13px;font-weight:700}.auth-user-modal input,.auth-user-modal select{border:1px solid var(--color-gray-300, #cbd5e1);border-radius:6px;padding:10px 12px;font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:6px;padding:0 12px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);cursor:pointer}button:hover{border-color:var(--color-primary-400, #60a5fa);background:var(--color-primary-50, #eff6ff)}textarea,input:not([type=checkbox]):not([type=radio]),select{width:100%;min-width:0;min-height:36px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:6px;padding:8px 10px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);outline:none}textarea{resize:vertical}textarea:focus,input:focus,select:focus{border-color:var(--color-primary-500, #3b82f6);box-shadow:0 0 0 3px #3b82f61f}.app-shell{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.app-header{min-height:0;display:grid;grid-template-columns:1fr;align-items:stretch;row-gap:8px;padding:8px 14px 10px;border-bottom:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.header-title-block{min-width:0;max-width:none;display:flex;align-items:baseline;gap:10px}.app-header h1{margin:0;font-size:17px;line-height:1.1;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-title-block>span{min-width:0;color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chips{display:flex;flex-wrap:wrap;gap:5px}.chips span{display:inline-flex;align-items:center;min-height:20px;border-radius:999px;padding:0 7px;background:var(--color-gray-100, #f1f5f9);font-size:10px;font-weight:700}.header-actions{grid-column:1;justify-self:stretch;min-width:0;flex:none;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;gap:7px;max-width:100%;border:1px solid var(--color-border, #e2e8f0);border-radius:10px;padding:5px;background:var(--color-bg, #f8fafc);box-shadow:0 1px 2px #0f172a0a}.flow-name-input,.agent-input,.flow-select,.channel-select{min-width:0}.flow-name-input{width:clamp(150px,15vw,210px)}.agent-input{width:clamp(120px,11vw,160px)}.agent-select-button{width:100%;height:40px;min-height:40px;align-items:center;justify-content:space-between;gap:8px;border-color:var(--color-primary-200, #bfdbfe);background:var(--color-surface, #ffffff)}.agent-select-button strong{min-width:0;flex:1;overflow:hidden;line-height:1;text-align:left;text-overflow:ellipsis;white-space:nowrap}.channel-select{width:140px}.header-actions button{align-items:center;white-space:nowrap}.header-field{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;min-width:0}.header-field>span{padding-left:2px;font-size:10px;font-weight:800;line-height:12px;color:var(--color-gray-600, #475569)}.header-field>.header-spacer-label{color:transparent}.header-field>small{min-height:12px;padding-left:2px;color:var(--color-text-muted, #64748b);font-size:9px;font-weight:700;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-field input,.header-field select{width:100%;height:40px;min-height:40px}.flow-field{width:clamp(150px,15vw,210px)}.agent-field{flex:0 1 220px;width:auto}.agent-field.agent-changed>span{color:#b45309}.agent-field.agent-changed>small{color:#b45309}.agent-field.agent-changed input{border-color:#f59e0b;background:#fffbeb}.channel-field{flex:0 0 150px;width:auto}.header-action-field{flex:0 0 120px;width:auto}.header-version-field{position:relative;flex:0 0 112px;width:auto}.header-version-popover{position:absolute;z-index:90;top:calc(100% + 8px);right:0;width:min(560px,calc(100vw - 24px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--color-success-200, #bbf7d0);border-radius:10px;padding:12px;background:var(--color-success-50, #f0fdf4);box-shadow:0 18px 40px #0f172a2e}.header-version-manage-button{grid-column:1 / -1;justify-content:center}.header-version-controls{display:grid;grid-template-columns:minmax(112px,.78fr) minmax(118px,1fr);gap:7px}.header-version-controls>button,.header-version-controls>select{width:100%;height:40px;min-height:40px}.header-version-controls>button{white-space:nowrap}.header-save-field{flex:0 0 auto;min-width:132px;width:auto}.header-actions-menu{position:relative}.header-actions-menu,.header-actions-menu>button,.header-version-field>button,.header-save-field>button,.header-save-controls,.header-save-controls>button{width:100%}.header-save-controls{display:grid;grid-template-columns:minmax(78px,.75fr) minmax(118px,1.25fr);gap:7px}.header-actions-menu>button{height:40px;min-width:106px;min-height:40px;line-height:1}.header-version-field>button,.header-save-field>button,.header-save-controls>button{height:40px;min-height:40px;line-height:1;white-space:nowrap}.header-actions-dropdown{position:absolute;z-index:50;top:calc(100% + 8px);right:0;width:230px;display:grid;gap:4px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;padding:6px;background:var(--color-surface, #ffffff);box-shadow:0 18px 40px #0f172a2e}.header-actions-dropdown button{width:100%;justify-content:flex-start;border-color:transparent;color:var(--color-text, #0f172a);background:transparent}.header-actions-dropdown button:hover{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.header-actions-dropdown .danger-button{color:#991b1b}.header-actions-dropdown .danger-button:hover{border-color:#fecaca;background:#fff1f2}.header-actions-separator{height:1px;margin:3px 4px;background:var(--color-border, #e2e8f0)}.primary-button{color:#fff;border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-600, #2563eb)}.primary-button:hover{color:#fff;border-color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-700, #1d4ed8)}.compact-danger-button{min-height:34px;padding:0 11px}.workspace{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:12px;padding:12px;overflow:hidden}.workspace-missing-agent{grid-template-columns:1fr}.canvas-panel,.test-panel{min-height:0;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;background:var(--color-surface, #ffffff);overflow:hidden}.canvas-panel{display:flex;flex-direction:column}.missing-agent-panel{min-height:0;display:grid;place-items:center;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;background:var(--color-surface, #ffffff);padding:24px}.missing-agent-panel>div{width:min(460px,100%);display:grid;justify-items:center;gap:12px;text-align:center}.missing-agent-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10px;color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff)}.missing-agent-panel strong{font-size:18px}.missing-agent-panel p{margin:0;color:var(--color-text-muted, #64748b);font-size:13px;font-weight:700;line-height:1.45}.toolbar{min-height:52px;display:flex;align-items:center;gap:8px;padding:8px;border-bottom:1px solid var(--color-border, #e2e8f0);overflow-x:auto}.toolbar button,.toolbar select{width:auto;white-space:nowrap}.toolbar select{min-width:170px}.components-button{border-color:var(--color-primary-200, #bfdbfe);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.templates-button{border-color:#c7d2fe;color:#3730a3;background:#eef2ff}.templates-button:hover{border-color:#a5b4fc;color:#312e81;background:#e0e7ff}.assistant-button{border-color:var(--color-success-200, #bbf7d0);color:var(--color-success-700, #166534);background:var(--color-success-50, #f0fdf4)}.assistant-button:hover{border-color:var(--color-success-200, #86efac);color:var(--color-success-700, #14532d);background:var(--color-success-50, #dcfce7)}.flow-canvas{position:relative;min-height:0;flex:1}.component-palette{position:absolute;z-index:20;top:14px;left:14px;width:min(560px,calc(100% - 28px));max-height:min(720px,calc(100% - 28px));display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;padding:14px;background:var(--color-surface);box-shadow:0 20px 42px #0f172a2e;overflow:hidden}.template-palette{width:min(520px,calc(100% - 28px));grid-template-rows:auto minmax(0,1fr)}.template-grid{display:grid;gap:10px;overflow:auto;padding-right:2px}.template-card{display:grid;gap:6px;min-height:116px;justify-items:start;align-content:start;padding:12px;border-color:var(--color-primary-100, #dbeafe);text-align:left;background:var(--color-surface, #ffffff)}.template-card:hover{border-color:#818cf8;background:#eef2ff}.template-card span{color:#4f46e5;font-size:11px;font-weight:900;text-transform:uppercase}.template-card strong{color:var(--color-text, #0f172a);font-size:14px}.template-card em{color:var(--color-text-muted, #64748b);font-size:12px;font-style:normal;font-weight:700;line-height:1.35}.component-palette-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.component-palette-header div{display:grid;gap:3px}.component-palette-header strong{color:var(--color-text, #0f172a);font-size:16px}.component-palette-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.component-palette-header button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.component-search{display:flex;align-items:center;gap:8px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;padding:0 10px;background:var(--color-bg, #f8fafc)}.component-search svg{color:var(--color-text-muted, #64748b)}.component-search input{min-height:38px;border:0;padding:0;background:transparent}.component-search input:focus{box-shadow:none}.component-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-right:4px;scrollbar-width:thin;scrollbar-color:#93c5fd var(--color-primary-50, #eff6ff)}.component-grid::-webkit-scrollbar{width:8px}.component-grid::-webkit-scrollbar-track{background:var(--color-primary-50, #eff6ff);border-radius:999px}.component-grid::-webkit-scrollbar-thumb{background:#93c5fd;border-radius:999px}.component-card{width:100%;min-height:112px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:flex-start;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;text-align:left;white-space:normal;background:var(--color-surface, #ffffff)}.component-card:hover{border-color:#93c5fd!important;background:var(--color-bg, #f8fbff);transform:translateY(-1px)}.component-card-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px}.component-card-main{display:grid;gap:4px}.component-card-main strong{color:var(--color-text, #0f172a);font-size:13px;line-height:1.2}.component-card-main small{color:var(--color-primary-600, #2563eb);font-size:11px;font-weight:800;text-transform:uppercase}.component-card-main em{color:var(--color-text-muted, #64748b);font-size:12px;font-style:normal;line-height:1.35}.component-empty{grid-column:1 / -1;border:1px dashed var(--color-gray-300, #cbd5e1);border-radius:8px;padding:14px;color:var(--color-text-muted, #64748b);background:var(--color-bg, #f8fafc);font-size:12px;font-weight:800;text-align:center}.react-flow{background:radial-gradient(circle at 1px 1px,var(--color-primary-100, #dbeafe) 1px,transparent 0) 0 0 / 24px 24px,var(--color-surface, #ffffff)}.canvas-performance-badge{border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:7px 10px;background:#eff6fff0;color:var(--color-primary-700, #1d4ed8);font-size:11px;font-weight:800;box-shadow:0 8px 18px #0f172a1f}.flow-variable-library-panel{z-index:24;bottom:10px!important;left:52px!important;margin:0!important}.flow-variable-library-control{order:-1;width:auto!important;min-width:32px;gap:6px;padding:0 8px!important;color:var(--color-primary-700, #1d4ed8);font-size:11px;font-weight:800;white-space:nowrap}.flow-variable-library-control:hover,.flow-variable-library-control.active{color:var(--color-text, #0f172a);background:var(--color-primary-50, #eff6ff)}.flow-variable-library-control span{line-height:1}.flow-variable-library-popover{width:min(390px,calc(100vw - 96px));max-height:min(540px,calc(100vh - 96px));display:grid;gap:10px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:12px;overflow:auto;background:var(--color-surface);box-shadow:0 18px 44px #0f172a2e}.flow-variable-library-header{display:grid;gap:3px}.flow-variable-library-header strong{color:var(--color-text, #0f172a);font-size:13px;font-weight:900}.flow-variable-library-header span,.flow-variable-library-empty{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:700;line-height:1.35}.flow-variable-library-section{display:grid;gap:6px}.flow-variable-library-section-title{color:var(--color-gray-700, #334155);font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.flow-variable-library-item{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:7px;padding:8px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);text-align:left}.flow-variable-library-item:hover{border-color:#93c5fd;background:var(--color-bg, #f8fbff)}.flow-variable-library-item>span{min-width:0;display:grid;gap:3px}.flow-variable-library-item strong{overflow:hidden;color:var(--color-text, #0f172a);font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.flow-variable-library-item code{overflow-wrap:anywhere;color:var(--color-primary-700, #1d4ed8);font-size:11px;font-weight:800}.flow-variable-library-item em{color:var(--color-text-muted, #64748b);font-size:10.5px;font-style:normal;font-weight:700;line-height:1.3}.flow-variable-library-item small{display:inline-flex;align-items:center;justify-content:center;min-width:28px;color:#0f766e;font-size:10px;font-weight:900}.canvas-selection-toolbar{position:absolute;z-index:18;top:12px;left:50%;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:5px 6px 5px 10px;background:var(--color-surface);box-shadow:0 14px 32px #0f172a24;transform:translate(-50%)}.canvas-selection-toolbar span{color:var(--color-primary-700, #1d4ed8);font-size:11px;font-weight:800;white-space:nowrap}.canvas-selection-toolbar button{min-height:28px;border-radius:999px;padding:0 9px;font-size:11px;font-weight:800}.canvas-node{width:220px;min-height:142px;border:2px solid var(--color-gray-300, #cbd5e1);border-radius:8px;background:var(--color-surface, #ffffff);overflow:hidden;box-shadow:0 12px 24px #0f172a14}.canvas-node.canvas-node-group{position:relative;width:100%;height:100%;min-height:0;border:1.5px dashed rgba(13,148,136,.34);border-radius:14px;background:#f0fdfa6b;overflow:visible;box-shadow:inset 0 0 0 1px #0d948814,0 14px 32px #0f172a0f}.canvas-node.canvas-node-group-collapsed{width:108px;height:72px;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none!important}.canvas-node-group .canvas-node-header{position:absolute;z-index:2;top:8px;left:10px;right:10px;width:auto;max-width:none;min-height:34px;border:1px solid rgba(13,148,136,.24)!important;border-radius:999px;padding:4px 9px 4px 7px;background:var(--color-surface)!important;box-shadow:0 10px 24px #0f172a1a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:grab}.canvas-node-group-collapsed .canvas-node-header{position:relative;top:auto;left:auto;width:108px;max-width:108px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:0;border:0!important;border-radius:0;padding:0;background:transparent!important;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.canvas-node-group .canvas-node-icon-shell{width:23px;height:23px;border-color:#0d94883d!important;border-radius:7px;background:var(--color-success-50, #ecfdf5)!important}.canvas-node-group-collapsed .canvas-node-icon-shell{width:44px;height:44px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none}.canvas-node-group-collapsed .canvas-node-icon-shell svg{width:30px;height:30px;stroke-width:2.15;filter:none}.canvas-node.canvas-node-group-collapsed.canvas-node-selected .canvas-node-icon-shell{background:transparent!important;box-shadow:none}.canvas-node-group-collapsed .canvas-node-kind{position:absolute;top:45px;right:0;left:0;flex:none;min-width:0;max-width:108px;overflow:hidden;color:var(--color-text, #0f172a)!important;font-size:9.5px;font-weight:500;line-height:1.15;text-align:center;text-overflow:ellipsis;text-shadow:none;text-transform:none;white-space:nowrap}.canvas-node-group-collapsed .group-node-help{display:none}.canvas-node-group-collapsed .group-node-count{padding:4px 7px;font-size:10px}.canvas-node-group-collapsed .canvas-node-actions{top:-10px;right:-18px;margin-left:0}.canvas-node-group-collapsed .react-flow__handle-left{top:22px;left:28px;transform:translate(-50%,-50%)}.canvas-node-group-collapsed .react-flow__handle-right{top:22px;right:28px;transform:translate(50%,-50%)}.canvas-node-group-collapsed .node-handle{z-index:5;width:4px!important;min-width:4px!important;height:4px!important;min-height:4px!important;border:0!important;box-shadow:none!important;opacity:1}.canvas-node-group .canvas-node-kind{flex:0 1 auto;max-width:220px;color:#0f766e!important;font-size:11px;font-weight:900;letter-spacing:0;text-transform:none}.group-node-count{flex:0 0 auto;border:1px solid var(--color-success-200, #bbf7d0);border-radius:999px;padding:3px 7px;color:#047857;background:var(--color-success-50, #f0fdf4);font-size:10px;font-style:normal;font-weight:900;line-height:1;white-space:nowrap}.group-node-help{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #bae6fd;border-radius:999px;color:#0369a1;background:#f0f9ff;font-size:11px;font-weight:900;line-height:1;cursor:help}.group-node-help>span{position:absolute;z-index:20;top:calc(100% + 8px);left:50%;width:230px;border:1px solid #bae6fd;border-radius:8px;padding:8px 9px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);box-shadow:0 14px 32px #0f172a29;font-size:11px;font-weight:700;line-height:1.35;opacity:0;pointer-events:none;transform:translate(-50%,-4px);transition:opacity .14s ease,transform .14s ease}.group-node-help:hover>span,.group-node-help:focus-visible>span{opacity:1;transform:translate(-50%)}.canvas-node-group .canvas-node-actions{position:absolute;z-index:6;top:-10px;right:-18px;gap:4px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease}.canvas-node-group:hover .canvas-node-actions,.canvas-node-group:focus-within .canvas-node-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.canvas-node-group .node-title-display,.canvas-node-group .node-title-input{max-width:280px}.canvas-group-body{min-height:100%;align-content:start;padding:0}.canvas-group-body-collapsed{display:none}.canvas-node-group .node-title-display{width:fit-content;max-width:min(300px,100%);min-height:26px;border:0;padding:4px 7px;color:#064e3b;background:#ffffffb8;font-size:13px;font-weight:800}.canvas-node-group .node-title-display:hover{background:var(--color-surface, #ffffff)}.canvas-node-group .node-title-input{width:min(300px,100%);min-height:30px;background:var(--color-surface, #ffffff)}.canvas-node-group-collapsed .node-title-display{display:none}.canvas-group-collapsed-summary{display:flex;align-items:center;justify-content:center;max-width:100%;border-top:0;padding:0;color:#0f766e;background:transparent;font-size:11px}.canvas-group-collapsed-summary span{color:var(--color-text-muted, #64748b);font-size:10px;font-weight:700;line-height:1.2}.canvas-group-hint{width:fit-content;border:1px dashed rgba(13,148,136,.35);border-radius:6px;padding:6px 8px;color:#0f766e;background:#ffffffb8;font-size:11px;font-weight:800}.canvas-group-resize-line{border-color:#0d9488!important;opacity:.9!important}.canvas-group-resize-handle{width:14px!important;height:14px!important;border:2px solid var(--color-surface, #ffffff)!important;border-radius:999px!important;background:#0d9488!important;box-shadow:0 2px 8px #0f172a33;pointer-events:all!important}.canvas-node-header{min-height:28px;display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:1px solid var(--color-border, #e2e8f0);font-size:11px;font-weight:800}.canvas-node-header>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-node-actions{display:flex;align-items:center;gap:3px}.canvas-node-actions button{width:22px;min-width:22px;height:22px;min-height:22px;padding:0;border:1px solid transparent;border-radius:999px;color:var(--color-gray-700, #334155);background:transparent;box-shadow:none}.canvas-node-actions button:hover{border-color:#93c5fd6b;color:var(--color-primary-700, #1d4ed8);background:#eff6ffe6;box-shadow:0 4px 10px #2563eb1f}.canvas-node-actions .node-action-danger:hover{border-color:#fecacab8;color:#b91c1c;background:#fff1f2e6;box-shadow:0 4px 10px #b91c1c1a}.canvas-node-body{display:grid;gap:6px;padding:9px}.node-title-display,.node-text-display,.node-title-input,.node-text-input{width:100%;border:1px solid transparent;border-radius:5px;background:var(--color-surface, #ffffff)}.node-title-display,.node-text-display{cursor:text}.node-title-display:hover,.node-text-display:hover{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.node-title-display{min-height:30px;padding:6px 7px 5px;overflow:hidden;font-size:13px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.node-title-input{min-height:30px;padding:5px 7px;border-color:var(--color-primary-200, #bfdbfe);font-size:13px;font-weight:800;line-height:1.2}.node-text-display{min-height:62px;max-height:76px;padding:6px 7px;overflow:hidden}.node-text-display p{margin:0;color:var(--color-gray-600, #475569);font-size:11px;line-height:1.35;word-break:break-word}.node-text-input{min-height:62px;max-height:92px;padding:6px 7px;border-color:var(--color-primary-200, #bfdbfe);color:var(--color-gray-600, #475569);font-size:11px;line-height:1.35;resize:vertical}.node-handle{width:4px!important;min-width:4px!important;height:4px!important;min-height:4px!important;border:0!important;box-shadow:none!important}.canvas-edge-path{fill:none;transition:opacity .14s ease,stroke-width .14s ease,stroke .14s ease}.canvas-edge-hit-path{fill:none;stroke:transparent;stroke-width:18px;cursor:pointer;pointer-events:stroke}.react-flow__edge:hover .canvas-edge-path,.react-flow__edge.selected .canvas-edge-path{opacity:.95;stroke-width:1.55px}.canvas-edge-tools{position:absolute;z-index:12;display:inline-flex;align-items:center;gap:5px;opacity:0;transform-origin:center;transition:opacity .14s ease}.canvas-edge-tools.has-label,.canvas-edge-tools.is-active{opacity:1}.canvas-edge-label{max-width:140px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:999px;padding:3px 7px;overflow:hidden;color:var(--color-gray-700, #334155);background:var(--color-surface);box-shadow:0 8px 20px #0f172a1a;font-size:10px;font-weight:600;line-height:1;text-overflow:ellipsis;white-space:nowrap}.canvas-edge-actions{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:999px;padding:2px;background:var(--color-surface, #ffffff);box-shadow:0 10px 24px #0f172a29;opacity:0;pointer-events:none;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease}.canvas-edge-tools.is-active .canvas-edge-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.canvas-edge-actions button{width:22px;min-width:22px;height:22px;min-height:22px;border-color:transparent;border-radius:999px;padding:0;color:var(--color-gray-600, #475569);background:transparent}.canvas-edge-actions button:hover{border-color:var(--color-primary-200, #bfdbfe);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.canvas-edge-actions .danger-edge-tool:hover{border-color:#fecaca;color:#b91c1c;background:#fff1f2}.start-node-badge{border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:2px 6px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff);font-size:9px;font-style:normal;font-weight:900;line-height:1;text-transform:uppercase}.canvas-node-header .canvas-node-icon-shell{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid currentColor;border-radius:6px}.canvas-node-header .canvas-node-kind{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-node.canvas-node-group .canvas-node-header .canvas-node-kind{flex:1 1 auto;min-width:86px;max-width:260px;color:#0f766e!important;font-size:11px;font-weight:900;overflow:hidden;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.canvas-node.canvas-node-group:not(.canvas-node-group-collapsed) .canvas-node-header{min-width:0}.canvas-node.canvas-node-group-collapsed .group-node-help{display:none}.canvas-node:not(.canvas-node-group){width:148px;min-height:78px;border-width:1px;overflow:visible;box-shadow:0 10px 22px #0f172a14}.canvas-node:not(.canvas-node-group):hover{box-shadow:0 12px 28px #0f172a21}.canvas-node:not(.canvas-node-group) .canvas-node-header{position:relative;min-height:42px;justify-content:center;gap:0;padding:8px 8px 0;border-bottom:0;background:var(--color-surface, #ffffff)!important}.canvas-node:not(.canvas-node-group) .canvas-node-icon-shell{width:34px;height:34px;border-color:currentColor;border-radius:8px;box-shadow:inset 0 0 0 1px #ffffff9e}.canvas-node:not(.canvas-node-group) .canvas-node-kind{position:absolute;right:6px;bottom:-14px;left:6px;flex:none;font-size:8.5px;font-weight:900;line-height:1;text-align:center;text-transform:uppercase}.canvas-node:not(.canvas-node-group) .canvas-node-body{display:block;padding:16px 8px 8px;text-align:center}.canvas-node:not(.canvas-node-group) .node-title-display{min-height:26px;display:-webkit-box;border:0;padding:0;overflow:hidden;background:transparent;color:var(--color-text, #0f172a);font-size:11px;font-weight:800;line-height:1.2;text-align:center;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.canvas-node:not(.canvas-node-group) .node-title-display:hover{background:transparent}.canvas-node:not(.canvas-node-group) .node-title-input{min-height:28px;padding:4px 6px;font-size:11px;text-align:center}.canvas-node:not(.canvas-node-group) .node-text-display{display:none}.canvas-node:not(.canvas-node-group) .node-text-input{min-height:48px;margin-top:6px}.canvas-node:not(.canvas-node-group) .canvas-node-actions{position:absolute;z-index:5;top:-10px;right:-18px;gap:4px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease}.canvas-node:not(.canvas-node-group):hover .canvas-node-actions,.canvas-node:not(.canvas-node-group):focus-within .canvas-node-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.canvas-node:not(.canvas-node-group) .canvas-node-actions button{width:20px;min-width:20px;height:20px;min-height:20px}.canvas-node:not(.canvas-node-group) .node-handle{width:4px!important;min-width:4px!important;height:4px!important;min-height:4px!important;border:0!important;box-shadow:none!important}.canvas-node:not(.canvas-node-group) .start-node-badge{position:absolute;top:-10px;left:50%;transform:translate(-50%)}.canvas-node:not(.canvas-node-group){width:108px;min-height:72px;border:0;border-radius:0;position:relative;background:transparent;box-shadow:none!important}.canvas-node:not(.canvas-node-group):hover{box-shadow:none}.canvas-node:not(.canvas-node-group) .canvas-node-header{min-height:38px;padding:0;background:transparent!important}.canvas-node:not(.canvas-node-group) .canvas-node-icon-shell{width:36px;height:36px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none}.canvas-node:not(.canvas-node-group) .canvas-node-icon-shell svg{width:26px;height:26px;stroke-width:2.15;filter:drop-shadow(0 1px 1px rgba(15,23,42,.16))}.canvas-node:not(.canvas-node-group).canvas-node-selected .canvas-node-icon-shell{border-radius:999px;background:var(--color-surface, #ffffff)!important;box-shadow:0 0 0 3px #2563eb2e,0 0 0 6px #2563eb14,0 5px 12px #0f172a1a}.canvas-node:not(.canvas-node-group) .canvas-node-kind{display:none}.canvas-node:not(.canvas-node-group) .canvas-node-body{padding:0}.canvas-node:not(.canvas-node-group) .node-title-display{min-height:22px;padding:0 2px;color:var(--color-text, #0f172a);cursor:pointer;font-size:9.5px;font-weight:500;line-height:1.15;text-shadow:0 1px 0 var(--color-surface, #ffffff)}.canvas-node:not(.canvas-node-group).canvas-node-selected .node-title-display{color:var(--color-primary-700, #1d4ed8)}.canvas-node:not(.canvas-node-group) .node-title-input{margin-top:1px;min-height:28px;border-color:var(--color-primary-200, #bfdbfe);background:var(--color-surface, #ffffff);font-size:10px;font-weight:500}.canvas-node:not(.canvas-node-group) .react-flow__handle-left{top:19px;left:34px;transform:translate(-50%,-50%)}.canvas-node:not(.canvas-node-group) .react-flow__handle-right{top:19px;right:34px;transform:translate(50%,-50%)}.canvas-node:not(.canvas-node-group) .node-handle{width:4px!important;min-width:4px!important;height:4px!important;min-height:4px!important;border:0!important}.inspector{width:100%;display:flex;flex-direction:column;gap:10px;padding:14px;overflow-y:auto}.inspector-title{font-weight:800}.start-step-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:9px;background:var(--color-bg, #f8fbff)}.start-step-panel.active{border-color:var(--color-success-200, #bbf7d0);background:var(--color-success-50, #f0fdf4)}.start-step-panel div{min-width:0;display:grid;gap:2px}.start-step-panel strong{color:var(--color-text, #0f172a);font-size:12px}.start-step-panel span{color:var(--color-text-muted, #64748b);font-size:11px;line-height:1.35}.start-step-panel button{min-height:30px;padding:0 9px;white-space:nowrap}.edge-inspector{gap:12px}.edge-summary{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:8px;color:var(--color-text-muted, #64748b)}.edge-summary-box{min-width:0;display:grid;gap:3px;border:1px solid var(--color-border, #e2e8f0);border-radius:6px;padding:8px 9px;background:var(--color-bg, #f8fafc)}.edge-summary-box span{color:var(--color-text-muted, #64748b);font-size:10px;font-weight:800;text-transform:uppercase}.edge-summary-box strong{min-width:0;overflow:hidden;color:var(--color-text, #0f172a);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.edge-actions{display:flex;justify-content:flex-end;padding-top:2px}.inspector label{min-width:0;display:grid;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:700}.inspector-grid-two{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px}.filter-section{display:grid;gap:8px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.filter-grid{display:grid;gap:10px}.filter-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid.two-columns.compact{grid-template-columns:minmax(0,1fr) 132px}.filter-rule-card{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #fff)}.danger-link{color:#b91c1c!important;border-color:#fecaca!important;background:#fff5f5!important}.filter-section-header,.round-filter-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.filter-section-header strong,.round-filter-header strong{font-size:13px}.filter-section-header button{min-height:30px;padding:0 9px}.field-label-with-help{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.field-label-help-only{justify-content:flex-end;min-height:0}.field-help-button{width:22px;min-width:22px;height:22px;min-height:22px;display:inline-grid;place-items:center;border-radius:999px;padding:0;color:var(--color-primary-600, #2563eb);border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff);font-size:12px;font-weight:900;line-height:1}.prompt-field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.prompt-field-ai-button{width:28px;min-width:28px;height:28px;min-height:28px;display:inline-grid;place-items:center;border-radius:6px;padding:0;color:var(--color-primary-600, #2563eb);border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.prompt-field-assistant-modal{width:min(980px,calc(100vw - 28px));max-height:calc(100vh - 28px);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.prompt-field-assistant-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:14px;padding:16px;overflow:auto}.prompt-field-assistant-compose,.prompt-field-assistant-result{display:grid;align-content:start;gap:10px}.prompt-field-assistant-compose>button{justify-self:start}.prompt-field-assistant-result textarea{min-height:320px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}@media(max-width:720px){.prompt-field-assistant-body{grid-template-columns:1fr}}.field-help-button:hover{color:var(--color-primary-700, #1d4ed8);border-color:var(--color-primary-400, #60a5fa);background:var(--color-primary-100, #dbeafe)}.filter-editor,.round-filter-list{display:grid;gap:8px}.filter-row{display:grid;grid-template-columns:minmax(100px,1fr) 105px minmax(120px,1.1fr) 34px;gap:6px;align-items:center}.filter-row-new{grid-template-columns:minmax(100px,1fr) 105px minmax(120px,1.1fr) auto}.conditional-filter-row{display:grid;grid-template-columns:minmax(90px,.9fr) 105px minmax(110px,1fr) minmax(150px,1.35fr) 34px;gap:6px;align-items:center}.conditional-filter-row-new{grid-template-columns:minmax(90px,.9fr) 105px minmax(110px,1fr) minmax(150px,1.35fr) auto}.filter-row input,.filter-row select,.conditional-filter-row input,.conditional-filter-row select{min-height:34px;padding:7px 8px}.rag-conditional-section{background:var(--color-surface, #fff)}.rag-conditional-actions{display:inline-flex;align-items:center;gap:6px}.rag-conditional-list{display:grid;gap:10px}.rag-conditional-card{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fbff)}.rag-conditional-card textarea{min-height:74px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.rag-conditional-card input,.rag-conditional-card select{min-height:34px}.rag-conditional-card-header{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center}.rag-conditional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rag-conditional-meta-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.filter-icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;color:#991b1b;border-color:#fecaca;background:#fff7f7}.filter-icon-button:hover{color:#b91c1c;border-color:#fca5a5;background:#fee2e2}.filter-add-button{min-height:34px;padding:0 10px;white-space:nowrap}.filter-empty{border:1px dashed var(--color-gray-300, #cbd5e1);border-radius:6px;padding:9px 10px;color:var(--color-text-muted, #64748b);background:var(--color-surface, #ffffff);font-size:12px;font-weight:700}.filter-empty.warning{border-color:#facc15;color:#92400e;background:#fffbeb}.mcp-mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}.mcp-mode-grid button{min-height:86px;display:grid;align-content:start;justify-items:start;gap:5px;padding:10px;text-align:left;white-space:normal;border-color:var(--color-gray-300, #cbd5e1);background:var(--color-surface, #ffffff)}.mcp-mode-grid button.active{color:var(--color-text, #0f172a);border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff);box-shadow:inset 0 0 0 1px var(--color-primary-600, #2563eb)}.mcp-mode-grid strong{font-size:13px}.mcp-mode-grid span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:700;line-height:1.35}.mcp-helper-row,.mcp-output-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:6px;padding:8px 10px;color:var(--color-gray-600, #475569);background:var(--color-surface, #ffffff);font-size:12px;font-weight:700}.mcp-helper-row button{min-height:30px;padding:0 10px;white-space:nowrap}.mcp-output-hint{justify-content:flex-start;background:var(--color-bg, #f8fbff)}.mcp-output-hint code{color:var(--color-primary-700, #1d4ed8);white-space:normal;overflow-wrap:anywhere}.mcp-remote-preset-picker,.mcp-remote-preset-hint{display:grid;gap:6px}.mcp-remote-preset-picker{border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:9px 10px;background:var(--color-primary-50, #eff6ff)}.mcp-remote-preset-hint{border:1px solid var(--color-primary-100, #dbeafe);border-radius:6px;padding:8px 9px;color:var(--color-gray-600, #475569);background:var(--color-surface, #ffffff);font-size:12px;line-height:1.35}.mcp-remote-preset-hint strong{color:#1e3a8a}.mcp-remote-preset-hint a{width:fit-content;color:var(--color-primary-700, #1d4ed8);font-weight:800}.mcp-remote-preset-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.mcp-remote-preset-actions button{min-height:30px;padding:0 9px;color:var(--color-primary-700, #1d4ed8);font-size:12px;font-weight:800}.mcp-preset-help-modal{width:min(760px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.mcp-preset-help-modal .modal-header>div{display:grid;gap:3px}.mcp-preset-help-modal .modal-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800}.mcp-preset-help-body{display:grid;gap:12px;padding:14px;overflow-y:auto;background:var(--color-bg, #f8fafc)}.mcp-preset-help-body p{margin:0;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.5}.mcp-preset-help-auth,.mcp-preset-help-scopes,.mcp-preset-help-notes{display:grid;gap:6px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.mcp-preset-help-auth code,.mcp-preset-help-scopes code{width:fit-content;max-width:100%;color:var(--color-primary-700, #1d4ed8);overflow-wrap:anywhere}.mcp-preset-help-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mcp-preset-help-links a{display:grid;gap:4px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;color:var(--color-primary-700, #1d4ed8);background:var(--color-surface, #ffffff);text-decoration:none}.mcp-preset-help-links a:hover{border-color:var(--color-primary-400, #60a5fa);background:var(--color-primary-50, #eff6ff)}.mcp-preset-help-links span,.mcp-preset-help-notes span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.4}.mcp-preset-help-footer{display:flex;justify-content:space-between;gap:10px;padding:11px 14px;border-top:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.mcp-preset-help-footer a{align-self:center;color:var(--color-primary-700, #1d4ed8);font-size:13px;font-weight:800}@media(max-width:720px){.mcp-preset-help-links{grid-template-columns:1fr}.mcp-preset-help-footer{align-items:stretch;flex-direction:column}.mcp-preset-help-footer a{align-self:flex-start}}.mcp-oauth-panel{align-items:stretch;flex-direction:column}.mcp-oauth-status{display:grid;gap:4px}.mcp-oauth-status span{color:var(--color-text-muted, #64748b);line-height:1.35}.mcp-oauth-actions{display:flex;flex-wrap:wrap;gap:8px}.mcp-oauth-actions button{min-height:30px;padding:0 10px}.mcp-tool-discovery{display:grid;gap:8px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;background:var(--color-primary-50, #eff6ff)}.mcp-argument-contract{display:grid;gap:7px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:9px;background:var(--color-bg, #f8fbff)}.mcp-argument-contract-header,.mcp-argument-contract-row{display:flex;align-items:center;gap:7px}.mcp-argument-contract-header{justify-content:space-between}.mcp-argument-contract-header span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.mcp-argument-contract-list{display:grid;gap:5px}.mcp-argument-contract-row{flex-wrap:wrap;border-radius:6px;padding:6px 7px;background:var(--color-surface, #ffffff)}.mcp-argument-contract-row code{flex:1 1 160px;color:#1e3a8a;overflow-wrap:anywhere}.mcp-type-badge,.mcp-required-badge,.mcp-optional-badge{border-radius:999px;padding:2px 7px;font-size:10px;font-weight:900;line-height:1.4}.mcp-type-badge{color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-100, #dbeafe)}.mcp-required-badge{color:#9f1239;background:#ffe4e6}.mcp-optional-badge{color:var(--color-gray-600, #475569);background:var(--color-border, #e2e8f0)}.mcp-details{display:grid;gap:9px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:9px 10px;background:var(--color-surface, #ffffff)}.mcp-details summary{cursor:pointer;color:#1e3a8a;font-size:12px;font-weight:900}.mcp-details[open] summary{margin-bottom:8px}.mcp-schema-card{display:grid;gap:9px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.mcp-schema-card .filter-section-header>div{display:grid;gap:2px}.mcp-schema-card .filter-section-header span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.mcp-schema-fields{display:grid;gap:8px}.mcp-schema-row{display:grid;grid-template-columns:minmax(88px,.9fr) 96px minmax(120px,1fr) minmax(130px,1.2fr) 80px 34px;gap:7px;align-items:end;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:8px;background:var(--color-surface, #ffffff)}.mcp-schema-row label{gap:4px}.mcp-schema-row input,.mcp-schema-row select{min-height:34px;padding:7px 8px}.mcp-required-toggle{justify-items:center}.mcp-required-toggle input{width:18px;min-height:18px}.mcp-schema-json-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.mcp-schema-json-grid textarea{min-height:190px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45}.mcp-json-details{background:var(--color-bg, #f8fbff)}.mcp-api-multi-box{display:grid;gap:9px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.mcp-api-multi-box>.mcp-json-details textarea{min-height:230px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45}.mcp-api-requests-editor{display:grid;gap:10px}.mcp-api-editor-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.mcp-api-call-card{background:var(--color-surface, #ffffff)}.http-request-header span{display:block;margin-top:2px;color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.mcp-api-call-meta{display:grid;grid-template-columns:minmax(110px,.75fr) minmax(0,1fr);gap:10px}.field-error{white-space:pre-wrap}.http-batch-editor{display:grid;gap:10px}.http-request-card{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fbff)}.http-request-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.http-request-header strong{color:var(--color-text, #0f172a);font-size:13px}.http-request-grid{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px}.round-filter-card{display:grid;gap:8px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:9px;background:var(--color-surface, #ffffff)}.round-filter-header{display:grid;grid-template-columns:minmax(0,1fr) 110px 34px}.round-filter-header label{gap:4px;font-size:11px}.round-filter-header input{min-height:30px;padding:5px 7px}.rich-message-editor,.rich-editor-block{display:grid;gap:10px}.rich-editor-block{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fbff)}.code-editor-field{display:grid;gap:7px}.code-editor-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.code-editor-header strong{color:var(--color-gray-600, #475569);font-size:12px}.code-editor-header div{display:inline-flex;align-items:center;gap:8px}.code-editor-header span,.modal-header span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800;text-transform:uppercase}.code-editor-header button{min-height:30px;padding:0 9px}.code-editor-shell{--code-editor-surface: #0f172a;min-height:180px;display:grid;grid-template-columns:46px minmax(0,1fr);border:1px solid var(--color-gray-800, #1e293b);border-radius:7px;overflow:hidden;background:var(--code-editor-surface)}.code-editor-shell.invalid{border-color:#f87171;box-shadow:0 0 0 3px #f8717124}.code-editor-shell.fill{min-height:0;height:100%}.code-editor-main{position:relative;min-width:0;min-height:180px;overflow:hidden;background:var(--code-editor-surface)}.code-editor-main.readonly{overflow:auto}.code-editor-shell.fill .code-editor-main{min-height:0}.code-editor-gutter{overflow:hidden;border-right:1px solid var(--color-gray-800, #1e293b);padding:8px 8px 8px 0;color:var(--color-text-muted, #64748b);background:#111827;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;text-align:right;-webkit-user-select:none;user-select:none}.code-editor-gutter span{display:block;min-height:18.6px}.code-editor-highlight{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;min-width:max-content;padding:8px 10px;pointer-events:none;color:var(--color-gray-300, #cbd5e1);background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;-moz-tab-size:2;tab-size:2;white-space:pre}.code-editor-static{position:static;inset:auto;min-height:100%;min-width:max-content}.code-editor-textarea{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;min-height:0;border:0;border-radius:0;padding:8px 10px;color:transparent;background:transparent;caret-color:#93c5fd;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;-moz-tab-size:2;tab-size:2;white-space:pre;overflow:auto;resize:none;-webkit-text-fill-color:transparent}.code-editor-textarea:focus{border-color:transparent;box-shadow:none}.code-editor-shell.fill .code-editor-textarea{height:100%;min-height:0}.tok-keyword{color:#c084fc;font-weight:700}.tok-string{color:var(--color-success-200, #86efac)}.tok-property{color:#7dd3fc}.tok-number{color:#fbbf24}.tok-literal{color:#f472b6}.tok-builtin{color:var(--color-primary-400, #60a5fa)}.tok-comment{color:var(--color-text-muted, #64748b);font-style:italic}.tok-punctuation{color:var(--color-text-subtle, #94a3b8)}.code-placeholder{color:var(--color-text-muted, #64748b)}.context-script-ai{display:grid;gap:9px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fbff)}.context-script-ai textarea{min-height:78px}.context-script-result{display:grid;gap:8px}.context-script-actions{display:inline-flex;align-items:center;gap:7px}.context-script-actions button{min-height:30px;padding:0 9px}.code-editor-error{border:1px solid #fecaca;border-radius:6px;padding:7px 9px;color:#991b1b;background:#fff5f5;font-size:12px;font-weight:700}.rich-action-row,.rich-list-item-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,1fr) minmax(72px,.7fr) 34px;gap:6px;align-items:center}.rich-action-row.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-field-example{display:grid;gap:8px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fbff)}.appointment-field-example>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.appointment-field-example>div button{width:30px;min-width:30px;height:30px;min-height:30px;padding:0}.appointment-field-example span{color:var(--color-gray-600, #475569);font-size:12px;font-weight:700}.appointment-field-example pre{max-height:240px;margin:0;overflow:auto;border-radius:6px;padding:10px;background:var(--color-text, #0f172a);color:var(--color-primary-100, #dbeafe);font-size:12px;line-height:1.45;white-space:pre-wrap}.meta-flow-manager{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.meta-flow-manager .danger-link{min-height:36px;white-space:nowrap}.appointment-step-order-list{display:grid;gap:8px}.appointment-add-step-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.appointment-add-step-row button{white-space:nowrap}.appointment-step-order-row{display:grid;gap:9px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:9px;background:var(--color-surface, #ffffff)}.appointment-step-order-main,.appointment-step-order-title,.appointment-step-order-title div,.appointment-step-inline-editor{min-width:0}.appointment-step-order-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.appointment-step-order-actions{display:inline-flex;align-items:center;gap:6px}.appointment-step-order-title strong,.appointment-step-order-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointment-step-order-title small{margin-top:2px;color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.appointment-step-order-actions button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.appointment-step-data-field,.appointment-step-inline-editor{display:grid;gap:7px}.appointment-step-data-field textarea{min-height:76px}.appointment-step-inline-editor{border-top:1px dashed var(--color-primary-100, #dbeafe);padding-top:8px}.rich-card-editor{display:grid;gap:8px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:9px;background:var(--color-surface, #ffffff)}.rich-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rich-card-header input{min-width:0}.test-panel{display:flex;flex-direction:column}.test-header{min-height:52px;display:grid;grid-template-columns:1fr;gap:8px;padding:10px 12px;border-bottom:1px solid var(--color-border, #e2e8f0)}.test-header strong{display:inline-flex;align-items:center;gap:7px}.test-header-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.test-header-actions.has-version-select{grid-template-columns:minmax(0,1fr) minmax(0,.86fr) auto}.test-header-actions label{display:grid;gap:3px;color:var(--color-gray-600, #475569);font-size:11px;font-weight:800}.test-header-actions select{height:36px;width:100%;min-width:0;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:7px;padding:0 30px 0 10px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);font-weight:700}.test-runtime-warning,.test-langgraph-summary,.test-trace-summary{margin:8px 12px 0;border-radius:7px;padding:9px 10px;font-size:12px;line-height:1.35}.test-runtime-warning{border:1px solid #fde68a;color:#92400e;background:#fffbeb}.test-langgraph-summary{display:flex;flex-wrap:wrap;gap:6px 10px;border:1px solid var(--color-success-200, #bbf7d0);color:var(--color-success-700, #166534);background:var(--color-success-50, #f0fdf4);font-weight:700}.test-trace-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--color-primary-200, #bfdbfe);color:#1e3a8a;background:var(--color-primary-50, #eff6ff);font-weight:800}.test-trace-summary span{min-width:0;overflow-wrap:anywhere}.test-trace-summary small{min-width:0;flex:1;color:var(--color-gray-600, #475569);font-weight:700}.test-trace-summary button{min-height:30px;padding:0 9px}.messages{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;padding:12px;overflow-y:auto;background:var(--color-bg, #f8fafc)}.message{border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:8px 10px;background:var(--color-surface, #ffffff)}.message.user{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-primary-50, #eff6ff)}.message.assistant{border-color:var(--color-success-200, #bbf7d0);background:var(--color-success-50, #f0fdf4)}.message.system{border-color:#e5e7eb;background:var(--color-gray-100, #f1f5f9)}.message.debug-message{border-color:#fed7aa;background:#fff7ed}.message.dashboard-message{border-color:#ddd6fe;background:#faf5ff}.dashboard-preview{display:grid;gap:10px}.dashboard-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dashboard-preview-header strong{color:#312e81;font-size:13px}.dashboard-preview-header span{margin:0;color:#6d28d9;font-size:11px;font-weight:800;text-transform:uppercase}.dashboard-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tag-dashboard-modal .dashboard-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-card{border:1px solid #e9d5ff;border-radius:8px;padding:8px;background:var(--color-surface, #ffffff)}.dashboard-card span{margin:0 0 5px;color:var(--color-text-muted, #64748b);font-size:10px;line-height:1.2}.dashboard-card strong{display:block;color:#1e1b4b;font-size:17px;line-height:1.2}.dashboard-chart{display:grid;gap:10px;border:1px solid #e9d5ff;border-radius:8px;padding:10px;background:var(--color-surface, #fff)}.dashboard-chart-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.dashboard-chart-title strong{color:#1e1b4b;font-size:13px}.dashboard-chart-title span{margin:0;border-radius:999px;padding:2px 7px;color:#5b21b6;background:#ede9fe;font-size:10px}.dashboard-bars{display:grid;gap:8px}.dashboard-bar-row{display:grid;grid-template-columns:minmax(72px,.9fr) minmax(80px,1.6fr) auto;align-items:center;gap:8px}.dashboard-bar-row span{margin:0;color:var(--color-gray-600, #475569);font-size:11px;line-height:1.2;text-transform:none}.dashboard-bar-row strong{min-width:28px;color:#1f2937;font-size:12px;text-align:right}.dashboard-bar-track{height:10px;overflow:hidden;border-radius:999px;background:#eef2ff}.dashboard-bar-track div{height:100%;border-radius:inherit}.dashboard-pie-wrap{display:grid;grid-template-columns:108px 1fr;align-items:center;gap:12px}.dashboard-pie{width:104px;height:104px;border:8px solid var(--color-surface, #ffffff);border-radius:50%;box-shadow:0 0 0 1px #e9d5ff,inset 0 0 0 1px #ffffffb3}.dashboard-legend{display:grid;gap:6px}.dashboard-legend div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:7px}.dashboard-legend i{width:10px;height:10px;border-radius:50%}.dashboard-legend span{margin:0;overflow:hidden;color:var(--color-gray-600, #475569);font-size:11px;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.dashboard-legend strong{color:#1f2937;font-size:12px}.dashboard-table-wrap{max-height:180px;overflow:auto;border:1px solid #e9d5ff;border-radius:8px;background:var(--color-surface, #fff)}.dashboard-table-wrap>strong{position:sticky;top:0;z-index:2;display:block;border-bottom:1px solid #e9d5ff;padding:10px 12px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);font-size:14px}.tag-dashboard-modal .dashboard-table-wrap{max-height:260px;border-color:var(--color-primary-100, #dbeafe)}.tag-dashboard-events-table{max-height:300px!important}.tag-dashboard-history-table{max-height:none!important;min-height:360px;overflow:auto}.tag-dashboard-history-table th{top:0!important}.tag-dashboard-history-table table{min-width:900px;table-layout:fixed}.tag-dashboard-history-table .history-date-col{width:150px}.tag-dashboard-history-table .history-conversation-col{width:230px}.tag-dashboard-history-table .history-role-col{width:110px}.tag-dashboard-history-table .history-message-col{width:auto}.tag-dashboard-history-table th,.tag-dashboard-history-table td{word-break:normal;overflow-wrap:normal}.tag-dashboard-history-table th:nth-child(1),.tag-dashboard-history-table td:nth-child(1){width:150px;min-width:150px;white-space:nowrap}.tag-dashboard-history-table th:nth-child(2),.tag-dashboard-history-table td:nth-child(2){width:230px;min-width:230px;white-space:nowrap}.tag-dashboard-history-table th:nth-child(3),.tag-dashboard-history-table td:nth-child(3){width:110px;min-width:110px;white-space:nowrap}.tag-dashboard-history-table th:nth-child(4),.tag-dashboard-history-table td:nth-child(4){width:auto;min-width:360px;overflow-wrap:anywhere;word-break:normal}.dashboard-table-wrap table{width:100%;border-collapse:collapse;font-size:11px}.dashboard-table-wrap th,.dashboard-table-wrap td{padding:7px;border-bottom:1px solid #f3e8ff;text-align:left;vertical-align:top;word-break:break-word}.dashboard-table-wrap th{color:#4c1d95;background:#f5f3ff}.tag-dashboard-modal .dashboard-table-wrap th{position:sticky;top:39px;z-index:1}.tag-dashboard-history-table th,.tag-dashboard-events-table th{color:#1e40af;background:var(--color-primary-50, #eff6ff)}@media(max-width:860px){.tag-dashboard-modal{width:calc(100vw - 24px);height:calc(100vh - 24px)}.tag-dashboard-body{padding:12px}.tag-dashboard-filters{grid-template-columns:1fr}.tag-dashboard-filter-wide{grid-column:span 1}.tag-dashboard-modal .dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-body>.dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-editor-header,.simulation-json-toolbar,.simulation-case-header{display:grid}.simulation-case-grid,.simulation-suite-grid{grid-template-columns:1fr}.simulation-suite-actions{justify-content:flex-start}.simulation-saved-suite-header{display:grid}.simulation-suite-main-tabs{width:100%}.simulation-suite-main-tabs button{flex:1}.simulation-run-header{display:grid}.simulation-run-layout{grid-template-columns:1fr}.simulation-run-order{position:static}.simulation-run-order-item{grid-template-columns:18px 24px minmax(0,1fr)}.simulation-run-order-item small{grid-column:3}.tag-dashboard-tabs{width:100%}.tag-dashboard-tabs button{flex:1}.tag-dashboard-pagination{display:grid}.tag-dashboard-page-controls{justify-content:flex-start}.tag-dashboard-view-toolbar{display:grid}.tag-dashboard-insight-grid{grid-template-columns:1fr}.tag-dashboard-view-toggle{width:100%}.tag-dashboard-view-toggle button{flex:1}.tag-dashboard-pie-wrap,.tag-dashboard-line-legend{grid-template-columns:1fr}.agentops-release-summary button{width:100%;margin-left:0}}.debug-toggle{width:100%;min-height:32px;justify-content:space-between;border-color:#fdba74;padding:0 9px;color:#9a3412;background:#ffedd5}.debug-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:6px}.debug-open-button{min-width:36px;min-height:32px;border-color:#fdba74;padding:0;color:#9a3412;background:#fff7ed}.debug-toggle:hover,.debug-open-button:hover{border-color:#fb923c;background:#fed7aa}.debug-toggle-label{display:inline-flex!important;align-items:center;gap:5px;margin:0!important;color:#9a3412!important;font-size:12px!important;text-transform:none!important}.debug-json{max-height:320px;margin:8px 0 0;border-radius:6px;padding:10px;overflow:auto;color:#d1d5db;background:#111827;font-size:11px;line-height:1.45;white-space:pre-wrap}.debug-json-modal{width:min(1100px,calc(100vw - 32px));max-height:min(860px,calc(100vh - 32px))}.debug-modal-backdrop{z-index:130}.debug-json-modal{display:flex;flex-direction:column}.json-modal.debug-json-modal{--debug-json-surface: #0f172a;--debug-json-panel: #111827;--debug-json-border: #334155;--debug-json-text: #e2e8f0;--debug-json-muted: #94a3b8;background:#020617}.json-modal.debug-json-modal .modal-header{gap:12px;border-bottom-color:#1e293b;background:var(--debug-json-surface)}.json-modal.debug-json-modal .modal-header>div:first-child{min-width:0;display:grid;gap:3px}.json-modal.debug-json-modal .modal-header strong{color:var(--debug-json-text)}.json-modal.debug-json-modal .modal-header span{overflow:hidden;color:var(--debug-json-muted);font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.debug-modal-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.json-modal.debug-json-modal .debug-modal-actions button{color:var(--debug-json-text);border-color:var(--debug-json-border);background:var(--debug-json-panel)}.json-modal.debug-json-modal .debug-modal-actions button:hover{border-color:var(--color-primary-400, #60a5fa);background:#1e293b}.debug-json-modal pre{max-height:calc(100vh - 150px);margin:0;overflow:auto;white-space:pre}.json-tree-shell{min-height:0;flex:1;display:grid;grid-template-rows:auto minmax(0,1fr);background:var(--color-text, #0f172a)}.debug-json-modal .json-tree-shell{background:var(--debug-json-surface)}.json-tree-toolbar{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--color-gray-800, #1e293b);padding:8px 10px;background:#111827}.debug-json-modal .json-tree-toolbar{border-bottom-color:#1e293b;background:var(--debug-json-panel)}.json-tree-toolbar button{min-height:30px;border-color:var(--color-gray-700, #334155);padding:0 9px;color:var(--color-primary-100, #dbeafe);background:var(--color-gray-800, #1e293b);font-size:12px}.debug-json-modal .json-tree-toolbar button{color:#dbeafe;border-color:var(--debug-json-border);background:#1e293b}.json-tree-toolbar button:hover{border-color:var(--color-primary-400, #60a5fa);background:var(--color-primary-700, #1d4ed8)}.json-tree-view{min-height:0;max-height:calc(100vh - 198px);overflow:auto;padding:12px 14px 18px;color:#e5e7eb;background:var(--color-text, #0f172a);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65}.debug-json-modal .json-tree-view{color:var(--debug-json-text);background:var(--debug-json-surface)}.json-tree-row{min-height:20px;display:flex;align-items:center;gap:2px;white-space:pre}.json-tree-row:hover{background:#60a5fa14}.json-tree-toggle{width:18px;min-width:18px;min-height:18px;border:0;padding:0;color:#93c5fd;background:transparent}.json-tree-toggle:hover{color:var(--color-primary-100, #dbeafe);background:#3b82f638}.json-tree-spacer{width:18px;min-width:18px}.json-key{color:#93c5fd}.json-index,.json-summary{color:var(--color-text-subtle, #94a3b8)}.json-punctuation{color:var(--color-gray-300, #cbd5e1)}.json-string{color:var(--color-success-200, #86efac)}.json-number{color:#fdba74}.json-boolean{color:#f0abfc}.json-null{color:#fca5a5}.json-unknown{color:#fef08a}.message span{display:block;margin-bottom:4px;color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800;text-transform:uppercase}.message p{margin:0;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.45}.test-input-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding:8px 12px 12px;border-top:1px solid var(--color-border, #e2e8f0)}.test-input-row button{width:42px;padding:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#0f172a59}.modal-backdrop.debug-modal-backdrop{z-index:10000}.modal-backdrop.debug-modal-backdrop .debug-json-modal{position:relative;z-index:10001}.json-modal{width:min(920px,100%);height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.json-modal.wide-modal{width:min(1180px,100%)}.simulation-modal{width:min(1280px,calc(100vw - 28px));height:calc(100vh - 28px)}.simulation-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;padding:14px 16px 22px;overflow:auto;background:var(--color-bg, #f8fafc);scroll-padding-top:76px}.simulation-body>.dashboard-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.simulation-body textarea{width:100%;min-height:190px;resize:vertical}.simulation-editor-panel{display:grid;gap:12px}.simulation-editor-header,.simulation-json-toolbar,.simulation-case-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.simulation-editor-header>div:first-child,.simulation-case-header>div:first-child{min-width:0;display:grid;gap:3px}.simulation-editor-header strong,.simulation-case-header span,.simulation-json-toolbar span{color:var(--color-text, #0f172a);font-size:13px;font-weight:800}.simulation-editor-header span,.simulation-json-toolbar span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.simulation-editor-actions,.simulation-json-toolbar>div,.simulation-case-header>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.simulation-editor-tabs{display:inline-flex;gap:4px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:3px;background:var(--color-surface, #ffffff)}.simulation-editor-tabs button{border:0;padding:7px 10px;background:transparent;color:var(--color-primary-600, #2563eb)}.simulation-editor-tabs button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.simulation-suite-main-tabs{position:sticky;top:-14px;z-index:8;display:inline-flex;width:100%;gap:4px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:3px;background:var(--color-surface, #ffffff);box-shadow:0 8px 18px #0f172a14}.simulation-suite-main-tabs button{flex:1;border:0;padding:8px 12px;background:transparent;color:var(--color-primary-600, #2563eb)}.simulation-suite-main-tabs button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.simulation-run-panel{display:grid;gap:12px}.simulation-run-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.simulation-run-header>div:first-child{min-width:0;display:grid;gap:3px}.simulation-run-header strong,.simulation-run-order>div:first-child strong{color:var(--color-text, #0f172a);font-size:13px}.simulation-run-header span,.simulation-run-order>div:first-child span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.simulation-run-header>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.simulation-run-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:12px;align-items:start}.simulation-run-library,.simulation-run-order{display:grid;gap:10px}.simulation-run-order{position:sticky;top:0;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.simulation-run-order>div:first-child{display:grid;gap:3px}.simulation-run-order-item{display:grid;grid-template-columns:18px 24px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:9px;background:var(--color-bg, #f8fafc);cursor:grab}.simulation-run-order-item.dragging{opacity:.55}.simulation-run-order-item strong{overflow:hidden;color:var(--color-text, #0f172a);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.simulation-run-order-item small{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800;white-space:nowrap}.simulation-builder{display:grid;gap:12px}.simulation-case-card{display:grid;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.simulation-case-header input{width:min(360px,100%)}.simulation-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.simulation-field{display:grid;gap:6px;color:var(--color-gray-700, #334155);font-size:12px;font-weight:800}.simulation-field-wide{grid-column:1 / -1}.simulation-field textarea{min-height:92px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.simulation-checkbox-field{min-height:42px;display:flex;align-items:center;gap:8px;color:var(--color-gray-700, #334155);font-size:12px;font-weight:800}.simulation-checkbox-field input{width:16px;height:16px}.simulation-json-editor{display:grid;gap:10px}.simulation-json-editor textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.simulation-suite-panel{display:grid;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:14px;background:var(--color-surface, #ffffff)}.simulation-suite-panel .simulation-saved-list{display:none}.simulation-suite-grid{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(190px,1fr) minmax(220px,1.2fr) auto;gap:12px;align-items:end}.simulation-suite-grid label{display:grid;gap:6px;color:var(--color-gray-700, #334155);font-size:12px;font-weight:800}.simulation-suite-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.simulation-saved-list{display:grid;gap:10px}.simulation-saved-suite{display:grid;gap:10px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;background:var(--color-bg, #f8fafc)}.simulation-saved-suite.active{border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff)}.simulation-saved-suite-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.simulation-saved-suite-header>div{min-width:0;display:grid;gap:3px}.simulation-suite-check{min-width:0;display:flex;align-items:flex-start;gap:8px}.simulation-suite-check input{width:16px;height:16px;margin-top:2px}.simulation-suite-check>span{min-width:0;display:grid;gap:3px}.simulation-saved-suite-header strong{color:var(--color-text, #0f172a);font-size:13px}.simulation-saved-suite-header span,.simulation-saved-suite-header small,.simulation-saved-suite p{margin:0;color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.simulation-saved-case-list{display:flex;flex-wrap:wrap;gap:6px}.simulation-saved-case-list span{max-width:100%;border:1px solid var(--color-primary-100, #dbeafe);border-radius:999px;padding:5px 8px;overflow:hidden;color:#1e40af;background:var(--color-surface, #ffffff);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.simulation-modal .dashboard-table-wrap{max-height:360px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.simulation-results-title{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-12px -12px 0;border-bottom:1px solid var(--color-primary-100, #dbeafe);padding:10px 12px;background:var(--color-surface, #ffffff)}.simulation-result-detail-button{min-height:30px;padding:0 9px;white-space:nowrap}.simulation-results-backdrop{z-index:180}.simulation-results-modal{width:min(1280px,calc(100vw - 28px));height:calc(100vh - 28px);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.simulation-results-modal .modal-header>div:first-child{min-width:0;display:grid;gap:3px}.simulation-results-modal .modal-header span{overflow:hidden;color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.simulation-results-modal-body{flex:1;min-height:0;padding:14px;overflow:hidden;background:var(--color-bg, #f8fafc)}.simulation-results-full-table{height:100%;max-height:none;overflow:auto;padding:0;border-color:var(--color-primary-100, #dbeafe)}.simulation-results-full-table table{min-width:980px}.simulation-results-full-table th{position:sticky;top:0;z-index:1;background:var(--color-primary-50, #eff6ff)}.simulation-modal .dashboard-table-wrap>strong{display:block;margin-bottom:10px;color:var(--color-text, #0f172a);font-size:14px}.flow-transfer-modal{width:min(1180px,100%);height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.flow-transfer-modal .modal-header>div{min-width:0;display:grid;gap:2px}.flow-transfer-modal .modal-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.flow-transfer-body{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;overflow:hidden;background:var(--color-bg, #f8fafc)}.flow-transfer-body>.api-warning,.flow-transfer-body>.provider-config-success{grid-column:1 / -1}.flow-transfer-section{min-height:0;display:flex;flex-direction:column;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.flow-transfer-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.flow-transfer-section-header>div:first-child{min-width:0;display:grid;gap:3px}.flow-transfer-section-header>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.flow-transfer-section-header strong{color:var(--color-text, #0f172a);font-size:14px}.flow-transfer-section-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.flow-transfer-section textarea{flex:1;min-height:260px;width:100%;resize:none;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5;white-space:pre}.flow-transfer-error{border-color:#fecaca;color:#991b1b;background:#fff1f2}.flow-version-modal{width:min(1180px,100%);height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.flow-version-modal .modal-header>div{min-width:0;display:grid;gap:2px}.flow-version-modal .modal-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.flow-version-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-auto-rows:min-content;gap:14px;padding:14px;overflow-y:auto;background:var(--color-bg, #f8fafc)}.flow-version-body>.api-warning,.flow-version-body>.provider-config-success,.flow-version-tabs,.flow-version-list-panel{grid-column:1 / -1}.publish-environments{display:grid;gap:10px}.publish-environments>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:11px;background:var(--color-surface, #ffffff)}.publish-environments>article.selected{border-color:var(--color-success-200, #86efac);background:var(--color-success-50, #f0fdf4)}.publish-environments>article:nth-child(2){grid-template-columns:1fr}.publish-environments>article>div:first-child{display:grid;gap:4px}.publish-environments>article strong{color:var(--color-text, #0f172a);font-size:14px}.publish-environments>article span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.publish-homolog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publish-advanced{border:1px dashed var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.publish-advanced>summary{cursor:pointer;color:#1e3a8a;font-weight:900}.publish-advanced[open]>summary{margin-bottom:10px}.flow-version-tabs{display:inline-flex;width:fit-content;gap:4px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:4px;background:var(--color-primary-50, #eff6ff)}.flow-version-tabs button{min-height:34px;border:0;border-radius:6px;padding:0 14px;color:#1e3a8a;background:transparent;font-weight:800}.flow-version-tabs button.active{color:#fff;background:var(--color-primary-600, #2563eb);box-shadow:0 8px 18px #2563eb38}.flow-version-panel{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.flow-version-deploy-panel textarea{width:100%;resize:vertical}.flow-version-select-field{display:grid;gap:6px}.flow-version-select-field span{color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.flow-version-select-field select{width:100%;min-height:38px}.flow-version-create-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.flow-version-action-card{display:grid;align-content:start;gap:10px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.flow-version-action-card>div:first-child{display:grid;gap:4px}.flow-version-action-card strong{color:var(--color-text, #0f172a);font-size:13px}.flow-version-action-card span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.flow-version-action-card textarea{width:100%;resize:vertical}.flow-version-selected-box{display:grid;gap:5px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.flow-version-selected-box span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800}.flow-version-selected-box strong{color:var(--color-text, #0f172a);font-size:14px}.flow-version-summary{display:flex;flex-wrap:wrap;gap:8px}.flow-version-summary span{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;padding:0 9px;color:var(--color-gray-600, #475569);background:var(--color-gray-100, #f1f5f9);font-size:12px;font-weight:800}.flow-version-panel pre{max-height:260px;margin:0;overflow:auto;border-radius:8px;padding:10px;color:var(--color-primary-100, #dbeafe);background:var(--color-text, #0f172a);font-size:12px;line-height:1.45}.flow-version-subsection{padding-top:4px;border-top:1px solid var(--color-border, #e2e8f0)}.flow-version-list{display:grid;gap:10px}.flow-version-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:11px;background:var(--color-surface, #ffffff)}.flow-version-card.active{border-color:var(--color-success-200, #86efac);background:var(--color-success-50, #f0fdf4)}.flow-version-card>div:first-child{min-width:0;display:grid;gap:3px}.flow-version-card strong{color:var(--color-text, #0f172a);font-size:14px}.flow-version-card span,.flow-version-card small,.flow-version-card p{margin:0;color:var(--color-text-muted, #64748b);font-size:12px;line-height:1.35}.flow-version-card>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.flow-version-card>div:last-child button{min-height:34px;padding:0 10px}.flow-version-release-map{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.flow-version-release-map span{display:inline-flex;align-items:center;min-height:24px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:999px;padding:0 8px;color:#1e3a8a;background:var(--color-primary-50, #eff6ff);font-weight:800}.flow-version-release-map span.current{border-color:var(--color-success-200, #86efac);color:var(--color-success-700, #166534);background:var(--color-success-50, #dcfce7)}.hidden-file-input{display:none}.flow-assistant-modal{width:min(1120px,calc(100vw - 32px));height:min(820px,calc(100vh - 32px));display:flex;flex-direction:column;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.flow-assistant-title{display:grid;gap:2px}.flow-assistant-title span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.flow-assistant-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(420px,1.08fr) minmax(320px,.92fr);gap:14px;padding:16px;overflow:hidden;background:var(--color-bg, #f8fafc)}.flow-assistant-compose,.flow-assistant-result{min-height:0;display:flex;flex-direction:column;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:14px;background:var(--color-surface, #ffffff);overflow:auto}.flow-assistant-compose label{min-height:0;flex:1;display:flex;flex-direction:column;gap:8px;color:var(--color-gray-700, #334155);font-size:13px;font-weight:800}.flow-assistant-compose textarea{flex:1;min-height:320px;padding:12px;line-height:1.45;resize:vertical}.flow-assistant-prompt-field{flex:1 1 360px;min-height:360px;display:flex;flex-direction:column;gap:8px;color:var(--color-gray-700, #334155);font-size:13px;font-weight:800}.flow-assistant-prompt-field span{flex:0 0 auto}.flow-assistant-prompt-field textarea{min-height:0}.flow-assistant-prompt-hint{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:500;line-height:1.45}.flow-assistant-scope{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.flow-assistant-scope>div:first-child{display:grid;gap:3px}.flow-assistant-scope strong{color:var(--color-text, #0f172a);font-size:13px}.flow-assistant-scope span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.flow-assistant-scope [role=group]{display:inline-flex;flex-wrap:wrap;gap:4px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:8px;padding:4px;background:var(--color-surface, #ffffff)}.flow-assistant-scope button{min-height:30px;border-color:transparent;padding:0 10px;color:var(--color-gray-600, #475569);background:transparent;font-size:12px;font-weight:800}.flow-assistant-scope button.active{color:#fff;background:#16a34a}.flow-assistant-selected-list{display:flex;flex-wrap:wrap;gap:6px}.flow-assistant-selection-panel{display:grid;gap:8px}.flow-assistant-selection-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.flow-assistant-selection-header>div:first-child{min-width:0;display:grid;gap:2px}.flow-assistant-selection-header>div:last-child{display:inline-flex;gap:6px}.flow-assistant-selection-header strong{color:var(--color-text, #0f172a);font-size:12px}.flow-assistant-selection-header span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.flow-assistant-selection-header button{min-height:28px;padding:0 9px;font-size:11px}.flow-assistant-node-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;align-items:center;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:0 8px;background:var(--color-surface, #ffffff)}.flow-assistant-node-search svg{color:var(--color-text-muted, #64748b)}.flow-assistant-node-search input{min-height:34px;border:0;padding:0;background:transparent}.flow-assistant-node-search input:focus{outline:none;box-shadow:none}.flow-assistant-node-search button{width:28px;min-width:28px;height:28px;min-height:28px;border:0;padding:0;background:transparent}.flow-assistant-node-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;max-height:190px;overflow:auto;padding-right:2px}.flow-assistant-node-picker label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:8px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff)}.flow-assistant-node-picker label.selected{border-color:var(--color-success-200, #86efac);background:var(--color-success-50, #f0fdf4)}.flow-assistant-node-picker input{width:16px;height:16px;accent-color:#16a34a}.flow-assistant-node-picker span{min-width:0;display:grid;gap:2px}.flow-assistant-node-picker strong,.flow-assistant-node-picker small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-assistant-node-picker strong{font-size:12px}.flow-assistant-node-picker small{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:700}.flow-assistant-selected-list span{border:1px solid var(--color-success-200, #bbf7d0);border-radius:999px;padding:4px 8px;color:var(--color-success-700, #166534);background:var(--color-success-50, #f0fdf4);font-size:11px;font-weight:800;overflow-wrap:anywhere}.flow-assistant-actions{flex:0 0 auto;display:flex;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.flow-assistant-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:10px;border:1px dashed var(--color-primary-200, #bfdbfe);border-radius:8px;color:var(--color-text-muted, #64748b);background:var(--color-bg, #f8fafc);text-align:center}.flow-assistant-empty svg{color:#16a34a}.flow-assistant-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.flow-assistant-summary div{border:1px solid var(--color-success-200, #bbf7d0);border-radius:8px;padding:10px;background:var(--color-success-50, #f0fdf4)}.flow-assistant-summary span,.flow-assistant-node-list span{display:block;color:var(--color-text-muted, #64748b);font-size:10px;font-weight:800;text-transform:uppercase}.flow-assistant-summary strong{display:block;margin-top:4px;color:var(--color-success-700, #14532d);font-size:16px;line-height:1.2;overflow-wrap:anywhere}.flow-assistant-notes{display:grid;gap:6px}.flow-assistant-notes strong{color:var(--color-text, #0f172a);font-size:15px}.flow-assistant-notes p{margin:0;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.45}.flow-assistant-warnings{display:grid;gap:6px}.flow-assistant-warnings span{display:flex;align-items:flex-start;gap:6px;border:1px solid #fed7aa;border-radius:6px;padding:8px;color:#9a3412;background:#fff7ed;font-size:12px;font-weight:700}.flow-assistant-node-list{min-height:0;flex:1;display:grid;align-content:start;gap:8px;overflow:auto;padding-right:3px}.flow-assistant-node-list div{display:grid;gap:3px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:9px;background:var(--color-surface, #ffffff)}.flow-assistant-node-list strong{color:var(--color-text, #0f172a);font-size:13px;overflow-wrap:anywhere}.flow-assistant-apply{padding-top:2px}.tag-dashboard-modal{width:min(1180px,calc(100vw - 48px));height:min(820px,calc(100vh - 48px))}.tag-dashboard-modal-header{padding:14px 16px}.tag-dashboard-modal-header>div{display:grid;gap:2px}.tag-dashboard-modal-header strong{color:var(--color-text, #0f172a);font-size:16px}.tag-dashboard-modal-header small{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:600}.tag-dashboard-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;padding:16px;overflow:auto;background:var(--color-bg, #f8fafc)}.tag-dashboard-filter-panel,.tag-dashboard-tab-panel,.tag-dashboard-history-table,.tag-dashboard-card-panel{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;background:var(--color-surface, #ffffff)}.tag-dashboard-filter-panel{display:grid;gap:12px;padding:14px}.tag-dashboard-tab-panel{display:grid;gap:12px;padding:12px}.tag-dashboard-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tag-dashboard-view-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tag-dashboard-view-toolbar>div:first-child{display:grid;gap:3px}.tag-dashboard-view-toolbar strong{color:var(--color-text, #0f172a);font-size:14px}.tag-dashboard-view-toolbar span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.tag-dashboard-view-toggle{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:4px;background:var(--color-bg, #f8fafc)}.tag-dashboard-view-toggle button{min-height:32px;border-color:transparent;padding:0 10px;color:var(--color-gray-600, #475569);background:transparent;font-size:12px;font-weight:800}.tag-dashboard-view-toggle button:hover{border-color:var(--color-primary-200, #bfdbfe);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.tag-dashboard-view-toggle button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.tag-dashboard-chart-panel{min-height:260px;border-color:var(--color-primary-100, #dbeafe)}.tag-dashboard-chart-empty{border:1px dashed var(--color-primary-200, #bfdbfe);border-radius:8px;padding:18px;color:var(--color-text-muted, #64748b);background:var(--color-bg, #f8fafc);font-size:13px;font-weight:700;text-align:center}.tag-dashboard-pie-wrap{grid-template-columns:180px minmax(0,1fr)}.tag-dashboard-pie{width:160px;height:160px}.tag-dashboard-line-chart{display:grid;gap:12px}.tag-dashboard-line-chart svg{width:100%;height:240px;overflow:visible}.tag-dashboard-line-chart line{stroke:var(--color-gray-300, #cbd5e1);stroke-width:2}.tag-dashboard-line-chart polygon{fill:#2563eb1f}.tag-dashboard-line-chart polyline{fill:none;stroke:var(--color-primary-600, #2563eb);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.tag-dashboard-line-chart circle{stroke:#fff;stroke-width:3}.tag-dashboard-line-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.tag-dashboard-history-panel{display:flex;min-height:0;flex-direction:column;gap:12px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.tag-dashboard-pagination{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tag-dashboard-pagination>div:first-child{display:grid;gap:3px}.tag-dashboard-pagination strong{color:var(--color-text, #0f172a);font-size:14px}.tag-dashboard-pagination span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700}.tag-dashboard-page-controls{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.tag-dashboard-page-controls label{display:inline-grid;grid-template-columns:auto 78px;align-items:center;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.tag-dashboard-page-controls select{min-height:32px;padding:5px 8px}.tag-dashboard-page-controls button{min-height:32px;padding:0 10px}.tag-dashboard-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tag-dashboard-section-title strong{color:var(--color-text, #0f172a);font-size:14px}.tag-dashboard-section-title span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:600}.tag-dashboard-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.tag-dashboard-filters label{display:grid;gap:6px;color:var(--color-gray-700, #334155);font-size:12px;font-weight:800}.tag-dashboard-filter-wide{grid-column:span 2}.tag-dashboard-filter-actions{display:flex;align-items:flex-end;height:100%}.tag-dashboard-filter-button{width:100%}.agentops-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.agentops-warning-panel{border-color:#fde68a;background:#fffbeb}.agentops-warning-panel ul{display:grid;gap:6px;margin:0;padding-left:18px;color:#92400e;font-size:12px;font-weight:700}.agentops-release-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.agentops-release-summary span{border:1px solid var(--color-primary-100, #dbeafe);border-radius:6px;padding:7px 9px;color:var(--color-gray-600, #475569);background:var(--color-bg, #f8fafc);font-size:12px;font-weight:800}.agentops-release-summary button{min-height:34px;margin-left:auto}.agentops-flow-list{display:flex;flex-wrap:wrap;gap:6px}.agentops-flow-list span{border:1px solid var(--color-border, #e2e8f0);border-radius:999px;padding:5px 8px;color:var(--color-gray-700, #334155);background:var(--color-surface, #ffffff);font-size:11px;font-weight:800}.agentops-flow-list.compact span{color:#3730a3;background:#eef2ff}.field-hint{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:600;line-height:1.3}.field-hint code{color:var(--color-primary-700, #1d4ed8);font-weight:800}.reason-slot-hint{display:block;margin-top:5px}.provider-config-warning{color:#b45309;font-weight:700}.tag-filter-chips{display:flex;flex-wrap:wrap;gap:6px}.tag-filter-chips span{display:inline-flex;align-items:center;min-height:22px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:2px 8px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff);font-size:11px;font-weight:800}.tag-dashboard-tabs{display:inline-flex;align-self:flex-start;gap:4px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:4px;background:var(--color-surface, #ffffff)}.tag-dashboard-tabs button{min-height:32px;border-color:transparent;padding:0 12px;color:var(--color-gray-600, #475569);background:transparent;font-size:13px;font-weight:800}.tag-dashboard-tabs button:hover{border-color:var(--color-primary-200, #bfdbfe);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.tag-dashboard-tabs button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.api-modal{width:min(980px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.flow-order-modal{width:min(860px,100%);max-height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.flow-order-modal .modal-header>div{min-width:0;display:grid;gap:4px}.flow-order-modal .modal-header strong,.flow-order-modal .modal-header span{line-height:1.2}.flow-order-modal .modal-header span{display:block}.agents-modal{width:min(860px,100%);max-height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.agents-modal .modal-header>div{min-width:0;display:grid;gap:4px}.agents-modal .modal-header strong,.agents-modal .modal-header span{line-height:1.2}.agents-modal .modal-header span{display:block}.agents-body{min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:14px;background:var(--color-bg, #f8fafc);overflow:hidden}.agent-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.agent-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;overflow-y:auto;padding-right:4px}.agent-card{min-height:88px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.agent-card:hover{border-color:#93c5fd;background:var(--color-bg, #f8fbff)}.agent-card:focus-visible{outline:none;border-color:var(--color-primary-600, #2563eb);box-shadow:0 0 0 3px #2563eb24}.agent-card.active{border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff)}.agent-card.active:hover{background:var(--color-primary-50, #eff6ff)}.agent-card.dragging,.flow-card.dragging{opacity:.55}.agent-card.drag-over,.flow-card.drag-over{border-color:var(--color-primary-600, #2563eb);box-shadow:0 0 0 3px #2563eb24}.agent-card-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-100, #dbeafe)}.agent-card-main{min-width:0;display:grid;gap:4px}.agent-card-main strong,.agent-card-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-card-main strong{color:var(--color-text, #0f172a);font-size:14px}.agent-card-main span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800}.agent-card-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.agent-card-actions button{width:36px;min-width:36px;height:32px;min-height:32px;align-items:center;padding:0}.drag-handle{width:36px;min-width:36px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:6px;color:var(--color-gray-600, #475569);background:var(--color-surface, #ffffff);cursor:grab}.drag-handle:hover{border-color:var(--color-primary-400, #60a5fa);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.drag-handle:active{cursor:grabbing}.drag-handle[draggable=false]{cursor:not-allowed;opacity:.55}.agent-order-actions{padding:0 14px 14px}.agent-delete-modal{width:min(500px,100%);display:grid;gap:14px;border-radius:8px;padding:16px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47}.agent-delete-confirm{display:grid;gap:6px;color:var(--color-gray-700, #334155);font-size:13px;font-weight:800}.agent-delete-confirm input{width:100%}.agent-studio-modal{width:min(1120px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.agent-studio-header>div{min-width:0;display:grid;gap:4px}.agent-studio-body{min-height:0;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--color-bg, #f8fafc);overflow:hidden}.agent-studio-sidebar{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;padding:14px;border-right:1px solid var(--color-primary-100, #dbeafe);background:var(--color-surface, #ffffff)}.agent-studio-agent-badge{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.agent-studio-agent-badge div,.agent-studio-section-title,.agent-studio-list-header>div{min-width:0;display:grid;gap:3px}.agent-studio-agent-badge strong,.agent-studio-agent-badge span,.agent-studio-section-title strong,.agent-studio-section-title span,.agent-studio-list-header strong,.agent-studio-list-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-studio-agent-badge span,.agent-studio-section-title span,.agent-studio-list-header span,.agent-studio-actions span{color:var(--color-text-muted, #64748b);font-size:12px}.agent-studio-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.agent-studio-metrics span{border:1px solid var(--color-border, #e2e8f0);border-radius:6px;padding:7px;color:var(--color-gray-600, #475569);background:var(--color-bg, #f8fafc);font-size:12px}.agent-studio-tabs{min-height:0;display:grid;align-content:start;gap:6px;overflow-y:auto}.agent-studio-tabs button{justify-content:flex-start;width:100%}.agent-studio-tabs button.active{border-color:var(--color-primary-600, #2563eb);color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.agent-studio-content{min-height:0;padding:14px;overflow-y:auto}.agent-studio-panel,.agent-studio-section,.agent-studio-list-item{display:grid;gap:12px}.agent-studio-section,.agent-studio-list-item{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.agent-studio-fields.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agent-studio-inline-actions,.agent-studio-list-header,.agent-studio-list-item-header,.agent-studio-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-studio-list-header{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px 12px;background:var(--color-surface, #ffffff)}.agent-studio-list-item-header{align-items:flex-start}.agent-studio-chips{display:flex;flex-wrap:wrap;gap:6px}.agent-studio-chips span{border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:4px 8px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff);font-size:12px;font-weight:800}.agent-studio-workspace-card{border-color:var(--color-success-200, #bbf7d0);background:#f7fee7}.agent-studio-workspace-summary{display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;border:1px solid #d9f99d;border-radius:8px;padding:8px 10px;color:#365314;background:var(--color-surface, #ffffff);font-size:12px;font-weight:800}.agent-studio-workspace-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-workspace-catalog-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.agent-workspace-catalog-summary span{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:7px 8px;color:var(--color-gray-600, #475569);background:var(--color-bg, #f8fafc);font-size:12px;text-align:center}.agent-workspace-catalog-summary strong{color:var(--color-primary-700, #1d4ed8)}.agent-llm-section,.agent-execution-section{background:var(--color-surface, #ffffff)}.agent-inline-create-card{min-width:0;display:grid;gap:8px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.agent-inline-create-card .filter-section-header{align-items:center}.agent-inline-create-card .filter-section-header button{min-height:28px;padding:0 8px;font-size:12px}.agent-inline-create-card textarea{min-height:78px}.agent-inline-create-card{border-color:var(--color-primary-200, #bfdbfe);background:var(--color-bg, #f8fbff)}.agent-studio-concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agent-studio-concept-card{display:grid;gap:5px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.agent-studio-concept-card strong{color:var(--color-text, #0f172a);font-size:13px}.agent-studio-concept-card small{width:fit-content;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:999px;padding:2px 7px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff);font-size:11px;font-weight:800}.agent-studio-concept-card span{color:var(--color-gray-600, #475569);font-size:12px;line-height:1.35}.agent-studio-advanced-json{border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.agent-studio-advanced-json summary{cursor:pointer;color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.agent-studio-manifest-table{display:grid;gap:6px}.agent-studio-manifest-row{display:grid;grid-template-columns:86px minmax(120px,1fr) 110px minmax(160px,1fr);gap:8px;align-items:center;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:8px 10px;background:var(--color-bg, #f8fafc);color:var(--color-gray-600, #475569);font-size:12px}.agent-studio-manifest-row.header{border-color:var(--color-primary-100, #dbeafe);color:#1e40af;background:var(--color-primary-50, #eff6ff);font-weight:900}.agent-studio-manifest-row.disabled{opacity:.55}.agent-studio-manifest-row strong,.agent-studio-manifest-row code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-studio-manifest-row code{color:var(--color-text, #0f172a);font-size:11px}.agent-studio-actions{padding:12px 14px;border-top:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.agent-studio-actions>div{display:inline-flex;gap:8px}.agent-node-config-list{display:grid;gap:8px}.agent-node-config-list .filter-section-header{align-items:center}.agent-node-config-card{display:grid;gap:8px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.agent-node-config-card button{justify-self:end}.agent-manifest-section,.agent-manifest-picker{display:grid;gap:10px}.agent-manifest-section{border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.agent-manifest-actions{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.agent-manifest-actions button{min-height:28px;padding:0 8px;font-size:12px}.agent-manifest-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.agent-manifest-tabs button{min-width:0;min-height:46px;display:grid;justify-items:start;align-content:center;gap:2px;border-color:var(--color-primary-100, #dbeafe);border-radius:8px;padding:7px 9px;background:var(--color-bg, #f8fafc);color:var(--color-gray-700, #334155);text-align:left}.agent-manifest-tabs button.active{border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff);color:var(--color-primary-700, #1d4ed8);box-shadow:inset 0 0 0 1px var(--color-primary-600, #2563eb)}.agent-manifest-tabs button span,.agent-manifest-tabs button small{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-manifest-tabs button span{font-size:12px;font-weight:900}.agent-manifest-tabs button small{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.agent-manifest-tab-panel{min-height:104px;display:grid;gap:12px}.agent-manifest-picker-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--color-gray-700, #334155);font-size:12px}.agent-manifest-picker-title span{color:var(--color-text-muted, #64748b);font-weight:800}.agent-manifest-bubbles{display:flex;flex-wrap:wrap;gap:8px}.agent-manifest-bubble{display:inline-flex;align-items:stretch;border:1px solid var(--color-primary-100, #dbeafe);border-radius:999px;overflow:hidden;background:var(--color-bg, #f8fafc)}.agent-manifest-bubble.selected{border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff)}.agent-manifest-bubble button{min-height:34px;max-width:220px;justify-content:flex-start;border:0;border-radius:0;padding:5px 10px;background:transparent;color:var(--color-gray-700, #334155)}.agent-manifest-bubble.selected button{color:var(--color-primary-700, #1d4ed8)}.agent-manifest-bubble button span,.agent-manifest-bubble button small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-manifest-bubble button{display:grid;gap:1px}.agent-manifest-bubble button small{color:var(--color-text-muted, #64748b);font-size:10px;font-weight:700}.agent-manifest-bubble select{width:96px;min-height:34px;border:0;border-left:1px solid var(--color-primary-200, #bfdbfe);border-radius:0;background:var(--color-surface, #ffffff);font-size:11px}.flow-order-body{min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:14px;background:var(--color-bg, #f8fafc);overflow:hidden}.flow-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.flow-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;overflow-y:auto;padding-right:4px}.flow-order-list{display:grid;gap:8px}.flow-card{min-height:88px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.flow-card:hover{border-color:#93c5fd;background:var(--color-bg, #f8fbff)}.flow-card:focus-visible{outline:none;border-color:var(--color-primary-600, #2563eb);box-shadow:0 0 0 3px #2563eb24}.flow-card.active{border-color:var(--color-primary-600, #2563eb);background:var(--color-primary-50, #eff6ff)}.flow-card.active:hover{background:var(--color-primary-50, #eff6ff)}.flow-card-index{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-100, #dbeafe);font-size:12px;font-weight:900}.flow-card-main{min-width:0;display:grid;gap:4px}.flow-card-main strong,.flow-card-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-card-main strong{color:var(--color-text, #0f172a);font-size:14px}.flow-card-main span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:800}.flow-card-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.flow-card-actions button{width:32px;min-width:32px;height:32px;min-height:32px;align-items:center;padding:0}.flow-order-actions{padding:0 14px 14px}.context-code-modal{--context-code-surface: #0f172a;--context-code-panel: #111827;--context-code-border: #334155;--context-code-text: #e2e8f0;--context-code-muted: #94a3b8;width:min(1120px,100%);height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:#020617;box-shadow:0 24px 70px #0f172a47;overflow:hidden}.context-code-modal .modal-header{border-bottom-color:#1e293b;background:var(--context-code-surface)}.context-code-modal .modal-header>div{min-width:0;display:grid;gap:3px}.context-code-modal .modal-header strong{color:var(--context-code-text)}.context-code-modal .modal-header button{color:var(--context-code-text);border-color:var(--context-code-border);background:var(--context-code-panel)}.context-code-modal .modal-header button:hover{border-color:var(--color-primary-400, #60a5fa);background:var(--color-gray-800, #1e293b)}.context-code-modal-body{min-height:0;flex:1;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;padding:12px;background:#020617}.context-code-modal-body.with-ai{grid-template-rows:auto minmax(0,1fr) auto}.context-code-modal .context-script-ai{border-color:#1e293b;background:var(--context-code-surface)}.context-code-modal .context-script-ai .filter-section-header strong{color:var(--context-code-text)}.context-code-modal .context-script-ai textarea{color:var(--context-code-text);border-color:var(--context-code-border);background:var(--context-code-panel)}.context-code-modal .context-script-ai .filter-empty{border-color:#1e293b;color:var(--context-code-text);background:var(--context-code-panel)}.context-code-modal .context-script-ai .filter-section-header button{color:var(--context-code-text);border-color:var(--context-code-border);background:#334155}.context-code-modal .context-script-ai .filter-section-header button:hover{border-color:var(--color-primary-400, #60a5fa);background:#475569}.context-code-modal .code-editor-shell,.context-code-modal .code-editor-main{background:var(--context-code-surface)}.context-code-modal .code-editor-gutter{color:var(--context-code-muted);border-right-color:#1e293b;background:var(--context-code-panel)}.context-code-modal .code-editor-highlight{color:#cbd5e1}.api-keys-modal{width:min(920px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.provider-config-modal{width:min(1080px,100%);max-height:min(860px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.widget-preview-modal{width:min(1120px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.whatsapp-modal{width:min(760px,100%);max-height:min(820px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.inspector-modal{width:min(620px,100%);max-height:min(760px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.rag-builder-modal{position:relative;width:min(720px,100%);max-height:min(780px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.confirm-modal{width:min(440px,100%);display:grid;gap:14px;border-radius:8px;padding:16px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47}.confirm-body{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start}.confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:999px;color:#b91c1c;background:#fee2e2}.confirm-icon.primary{color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-100, #dbeafe)}.confirm-body strong{display:block;margin-bottom:6px;font-size:16px}.confirm-body p{margin:0;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.45}.confirm-text-input{display:grid;gap:6px}.confirm-text-input span{color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.confirm-text-input input{height:38px;border:1px solid #fecaca;border-radius:7px;padding:0 10px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);font-weight:800}.confirm-text-input select{height:38px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:7px;padding:0 10px;color:var(--color-text, #0f172a);background:var(--color-surface, #ffffff);font-weight:800}.version-overwrite-modal{width:min(520px,100%)}.inspector-modal.edge-modal{width:min(500px,100%);max-height:min(520px,100%)}.inspector-modal.cron-modal{width:min(760px,100%);max-height:min(820px,100%)}.inspector-modal.mcp-modal{width:min(1040px,calc(100vw - 32px));max-height:min(860px,calc(100vh - 32px))}.inspector-modal.mcp-modal .mcp-schema-card,.inspector-modal.mcp-modal .mcp-details,.inspector-modal.mcp-modal .mcp-api-multi-box{min-width:0;overflow-x:hidden}.inspector-modal.mcp-modal .inspector{overflow-x:hidden}.cron-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-cron-grid{grid-template-columns:minmax(0,1fr) minmax(180px,220px)}.mongo-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cron-log-panel{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:10px;background:var(--color-bg, #f8fafc)}.cron-log-list{display:grid;gap:8px}.cron-log-entry{display:grid;gap:4px;border:1px solid var(--color-success-50, #dcfce7);border-radius:7px;padding:9px;background:var(--color-success-50, #f0fdf4)}.cron-log-entry.error{border-color:#fecaca;background:#fff1f2}.cron-log-entry div{display:flex;justify-content:space-between;gap:8px}.cron-log-entry strong{font-size:12px}.cron-log-entry span,.cron-log-entry small,.cron-log-entry em{min-width:0;overflow-wrap:anywhere;color:var(--color-gray-600, #475569);font-size:11px;font-style:normal;line-height:1.35}.edge-action-modal{width:min(460px,100%);display:flex;flex-direction:column;border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47;overflow:hidden}.edge-action-body{display:grid;gap:14px;padding:14px}.edge-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.edge-action-card{min-height:84px;justify-content:flex-start;align-items:flex-start;gap:10px;padding:12px;text-align:left}.edge-action-card svg{flex:0 0 auto;margin-top:2px;color:var(--color-primary-600, #2563eb)}.edge-action-card span{min-width:0;display:grid;gap:4px}.edge-action-card strong{font-size:14px}.edge-action-card small{color:var(--color-text-muted, #64748b);font-size:12px;line-height:1.35}.danger-edge-action{color:#991b1b;border-color:#fecaca;background:#fff7f7}.danger-edge-action svg{color:#dc2626}.danger-edge-action:hover{border-color:#fca5a5;background:#fff1f2}.inspector-modal .inspector,.rag-builder-modal .rag-builder{min-height:0;flex:1}.rag-builder{display:flex;flex-direction:column;gap:12px;padding:14px;overflow-y:auto}.segmented-control{display:inline-grid;grid-template-columns:repeat(3,minmax(0,1fr));width:fit-content;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:6px;padding:3px;background:var(--color-primary-50, #eff6ff)}.segmented-control button{min-height:30px;border-color:transparent;background:transparent}.segmented-control button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.rag-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.rag-builder-grid.single{grid-template-columns:minmax(0,1fr)}.rag-builder-grid.compact{max-width:320px}.rag-builder label{display:grid;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:700}.rag-file-panel{display:grid;gap:10px}.checkbox-row{width:fit-content;display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important}.checkbox-row input{width:16px;min-height:16px;padding:0}.selected-files{display:flex;flex-wrap:wrap;gap:6px}.selected-files span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;color:var(--color-gray-700, #334155);background:var(--color-gray-100, #f1f5f9);font-size:12px;font-weight:700}.selected-files button{width:20px;height:20px;min-height:20px;margin-left:6px;padding:0;border:0;color:var(--color-text-muted, #64748b);background:transparent}.template-files-list{display:grid;gap:7px;padding:10px;border:1px solid #dbe4f0;border-radius:8px;background:var(--color-bg, #f8fafc)}.rag-manage-panel{display:grid;gap:12px}.rag-manage-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.rag-search-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:6px;padding:0 9px;background:var(--color-surface, #ffffff)}.rag-search-row:focus-within{border-color:var(--color-primary-500, #3b82f6);box-shadow:0 0 0 3px #3b82f61f}.rag-search-row svg{color:var(--color-text-muted, #64748b)}.rag-search-row input{min-height:34px;border:0;padding:7px 0;box-shadow:none}.rag-document-list{display:grid;gap:8px}.rag-document-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.rag-document-main{min-width:0;display:grid;gap:4px}.rag-document-main strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.rag-document-main span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.rag-document-main p{display:-webkit-box;margin:0;overflow:hidden;color:var(--color-gray-600, #475569);font-size:12px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.rag-document-actions{display:flex;gap:6px}.rag-document-actions button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.rag-edit-panel{display:grid;gap:10px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:10px;background:var(--color-primary-50, #eff6ff)}.rag-edit-header,.rag-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.rag-edit-header strong{font-size:14px}.rag-empty-state{border:1px dashed var(--color-gray-300, #cbd5e1);border-radius:8px;padding:12px;color:var(--color-text-muted, #64748b);background:var(--color-bg, #f8fafc);font-size:13px;font-weight:700}.rag-confirm-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;padding:18px;background:#0f172a59}.rag-confirm-modal{width:min(420px,100%);display:grid;gap:12px;border-radius:8px;padding:16px;background:var(--color-surface, #ffffff);box-shadow:0 24px 70px #0f172a47}.rag-confirm-modal strong{font-size:16px}.rag-confirm-modal p{margin:0;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.45}.rag-status{border-radius:6px;padding:9px 10px;font-size:13px;font-weight:700}.rag-status.success{color:var(--color-success-700, #166534);background:var(--color-success-50, #dcfce7)}.rag-status.error{color:#991b1b;background:#fee2e2}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.modal-header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--color-border, #e2e8f0)}.json-modal pre{flex:1;margin:0;padding:14px;overflow:auto;color:#d1d5db;background:var(--color-text, #0f172a);font-size:12px;line-height:1.55}.api-docs{display:grid;gap:12px;padding:14px;overflow-y:auto}.api-warning{border:1px solid #fde68a;border-radius:7px;padding:9px 10px;color:#92400e;background:#fffbeb;font-size:13px}.api-warning code{font-weight:800}.api-endpoint{display:grid;gap:5px}.api-endpoint span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800;text-transform:uppercase}.api-endpoint code{display:block;border:1px solid var(--color-gray-300, #cbd5e1);border-radius:7px;padding:9px 10px;background:var(--color-bg, #f8fafc);font-size:12px;word-break:break-all}.api-doc-section{display:grid;gap:7px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.api-doc-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.api-doc-section-header strong{font-size:13px}.api-doc-section-header button{min-height:30px;padding:0 9px}.api-doc-section pre{max-height:280px;margin:0;border-radius:7px;padding:11px;overflow:auto;color:#d1d5db;background:#111827;font-size:12px;line-height:1.5;white-space:pre-wrap}.api-keys-shell{min-height:0;display:grid;gap:12px;padding:14px;overflow-y:auto}.api-keys-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:12px;background:var(--color-primary-50, #eff6ff)}.api-keys-intro strong,.api-keys-created strong{display:inline-flex;align-items:center;gap:7px;font-size:14px}.api-keys-intro p,.api-keys-created p{margin:4px 0 0;color:var(--color-gray-600, #475569);font-size:12px;line-height:1.45}.api-keys-warning,.api-keys-error{border-radius:7px;padding:9px 10px;font-size:12px;line-height:1.45}.api-keys-warning{border:1px solid #fde68a;color:#92400e;background:#fffbeb}.api-keys-error{border:1px solid #fecaca;color:#991b1b;background:#fff1f2}.api-keys-created{display:grid;gap:10px;border:1px solid var(--color-success-200, #bbf7d0);border-radius:8px;padding:12px;background:var(--color-success-50, #f0fdf4)}.created-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.created-key-row code{min-width:0;border:1px solid var(--color-success-200, #bbf7d0);border-radius:7px;padding:9px 10px;overflow:auto;color:var(--color-success-700, #14532d);background:var(--color-surface, #ffffff);font-size:12px;white-space:nowrap}.api-keys-create{display:grid;gap:10px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;background:var(--color-bg, #f8fafc)}.api-key-form-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(160px,.8fr) minmax(190px,.9fr);gap:10px;align-items:end}.api-key-form-grid label{display:grid;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.api-keys-create>button{justify-self:end}.api-keys-list{display:grid;gap:8px}.api-keys-list-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.api-keys-list-header strong{font-size:14px}.api-keys-list-header span,.status-pill{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 8px;font-size:11px;font-weight:800}.provider-config-shell{min-height:0;display:grid;gap:12px;padding:14px;overflow-y:auto}.provider-config-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:12px;background:var(--color-primary-50, #eff6ff)}.provider-config-intro strong,.provider-section-title strong{display:inline-flex;align-items:center;gap:7px;font-size:14px}.provider-config-intro p{margin:4px 0 0;color:var(--color-gray-600, #475569);font-size:12px;line-height:1.45}.provider-scope-bar{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:10px 12px;background:var(--color-surface, #ffffff)}.provider-scope-bar>span{color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.provider-scope-bar small{min-width:0;color:var(--color-text-muted, #64748b);font-size:12px;line-height:1.35}.provider-scope-toggle{display:inline-flex;gap:4px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:3px;background:var(--color-primary-50, #eff6ff)}.provider-scope-toggle button{min-height:30px;border:0;padding:0 10px;background:transparent;color:#1e40af}.provider-scope-toggle button.active{color:#fff;background:var(--color-primary-600, #2563eb)}.provider-config-status,.provider-config-success{border-radius:7px;padding:9px 10px;font-size:12px;line-height:1.45}.provider-config-status{border:1px solid var(--color-primary-100, #dbeafe);color:#1e40af;background:var(--color-primary-50, #eff6ff)}.provider-config-success{border:1px solid var(--color-success-200, #bbf7d0);color:var(--color-success-700, #166534);background:var(--color-success-50, #f0fdf4)}.provider-component-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.provider-component-card{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 32px;gap:10px;align-items:start;min-height:104px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff);cursor:pointer;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.provider-component-card:hover,.provider-component-card:focus-visible{border-color:#93c5fd!important;box-shadow:0 12px 32px #2563eb1f;outline:none;transform:translateY(-1px)}.provider-card-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.provider-card-main{min-width:0;display:grid;gap:4px}.provider-card-main strong{color:var(--color-text, #0f172a);font-size:14px}.provider-card-main small{color:var(--color-text-muted, #64748b);font-size:12px;line-height:1.35}.provider-card-main em{width:fit-content;min-height:22px;display:inline-flex;align-items:center;border-radius:999px;padding:0 8px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff);font-size:11px;font-style:normal;font-weight:800}.provider-card-main em.configured{color:var(--color-success-700, #166534);background:var(--color-success-50, #dcfce7)}.provider-card-delete{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #fecaca;border-radius:7px;color:#dc2626;background:#fff1f2}.provider-card-delete:hover,.provider-card-delete:focus-visible{border-color:#f87171;background:#fee2e2;outline:none}.provider-editor{display:grid;gap:14px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-bg, #f8fafc)}.provider-editor-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.provider-editor-header>button:first-child{min-height:34px}.provider-editor-header div{min-width:0;display:grid;gap:2px}.provider-editor-header strong{color:var(--color-text, #0f172a);font-size:15px}.provider-editor-header span{color:var(--color-text-muted, #64748b);font-size:12px}.provider-section{display:grid;gap:12px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.provider-section-title{display:flex;align-items:flex-start;gap:9px;color:var(--color-text, #0f172a)}.provider-section-title svg{margin-top:2px;color:var(--color-primary-600, #2563eb)}.provider-section-title span{display:block;margin-top:3px;color:var(--color-text-muted, #64748b);font-size:12px;line-height:1.45}.provider-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.provider-form-grid.compact{grid-template-columns:minmax(220px,340px)}.provider-form-grid label{display:grid;gap:6px;min-width:0;color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.provider-form-grid .provider-checkbox-label{grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:40px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:0 10px;background:var(--color-surface, #ffffff)}.provider-checkbox-label input{width:16px;height:16px}.provider-form-grid .provider-toggle{grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:40px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:0 10px;color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-50, #eff6ff)}.provider-toggle input{width:16px;height:16px}.provider-form-grid input,.provider-form-grid select,.provider-form-grid textarea{width:100%}.provider-action-button{grid-column:1 / -1;min-height:40px;border:none;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-weight:800;background:#0f766e;cursor:pointer}.provider-action-button:disabled{opacity:.65;cursor:not-allowed}.provider-form-grid .provider-checkbox-label input{width:16px;flex:0 0 auto}.provider-secret-hint{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:700}.provider-onboarding-note{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:flex-start;border:1px solid #bae6fd;border-radius:8px;padding:10px 12px;background:#f0f9ff;color:var(--color-text, #0f172a)}.provider-onboarding-note svg{margin-top:1px;color:#0284c7}.provider-onboarding-note strong{display:block;font-size:12px;font-weight:900}.provider-onboarding-note p{margin:3px 0 0;color:var(--color-gray-700, #334155);font-size:12px;font-weight:700;line-height:1.45}.provider-widget-context-card{grid-column:1 / -1;display:grid;gap:9px;border:1px solid #bae6fd;border-radius:8px;padding:12px;background:#f0f9ff;color:var(--color-text, #0f172a)}.provider-widget-context-card div{display:flex;align-items:center;gap:8px}.provider-widget-context-card svg{color:#0284c7;flex:0 0 auto}.provider-widget-context-card strong{font-size:13px}.provider-widget-context-card p{margin:0;color:var(--color-gray-700, #334155);font-size:12px;font-weight:700;line-height:1.45}.provider-widget-context-card ul{margin:0;padding-left:18px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:700;line-height:1.55}.provider-widget-live{grid-column:1 / -1;display:grid;gap:12px}.provider-widget-panel{display:grid;gap:10px;border:1px solid var(--color-primary-100, #dbeafe);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.provider-widget-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.provider-widget-panel-header div{min-width:0;display:grid;gap:3px}.provider-widget-panel-header strong{color:var(--color-text, #0f172a);font-size:13px}.provider-widget-panel-header span{color:var(--color-text-muted, #64748b);font-size:12px;font-weight:700;line-height:1.35}.provider-widget-stage{position:relative;min-height:560px;overflow:hidden;border:1px solid #d7dee8;border-radius:8px;background:linear-gradient(180deg,var(--color-surface),rgba(248,250,252,.92)),radial-gradient(circle at 18px 18px,rgba(148,163,184,.2) 1px,transparent 1px) 0 0 / 22px 22px,var(--color-bg, #f8fafc)}.provider-widget-site-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 16px;border-bottom:1px solid var(--color-border, #e2e8f0);background:var(--color-surface)}.provider-widget-site-header div,.provider-widget-site-body section{min-width:0}.provider-widget-site-header strong,.provider-widget-site-header span{display:block}.provider-widget-site-header strong{color:var(--color-text, #0f172a);font-size:13px}.provider-widget-site-header span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.provider-widget-site-header nav{display:flex;gap:10px;color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.provider-widget-site-body{width:min(440px,calc(100% - 34px));display:grid;gap:8px;padding:24px 17px}.provider-widget-site-body span{width:fit-content;border-radius:999px;padding:4px 9px;color:#0f766e;background:#ccfbf1;font-size:11px;font-weight:900}.provider-widget-site-body strong{display:block;color:var(--color-text, #0f172a);font-size:22px;line-height:1.15}.provider-widget-site-body p{margin:0;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.45}.provider-widget-stage .web-widget-preview{bottom:16px;width:min(344px,calc(100% - 28px))}.provider-widget-stage .web-widget-preview.right{right:16px}.provider-widget-stage .web-widget-preview.left{left:16px}.provider-widget-stage .web-widget-window{height:410px}.provider-widget-stage .web-widget-header{min-height:68px}.provider-widget-stage .web-widget-bubble p{font-size:12px}.provider-widget-code-block{max-height:330px;overflow:auto;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;margin:0;color:var(--color-text, #0f172a);background:var(--color-bg, #f8fafc);font-size:12px;line-height:1.5;white-space:pre}.provider-config-shell .modal-actions{position:sticky;bottom:-14px;margin:2px -14px -14px;padding:12px 14px;border-top:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.provider-delete-confirm{position:sticky;bottom:54px;z-index:2;display:grid;gap:10px;border:1px solid #fecaca;border-radius:8px;padding:12px;color:#7f1d1d;background:#fff1f2;box-shadow:0 16px 42px #7f1d1d29}.provider-delete-confirm strong{font-size:14px}.provider-delete-confirm p{margin:4px 0 0;color:#991b1b;font-size:12px;line-height:1.45}.api-keys-list-header span{color:var(--color-primary-700, #1d4ed8);background:var(--color-primary-100, #dbeafe)}.api-keys-empty{border:1px dashed var(--color-gray-300, #cbd5e1);border-radius:8px;padding:12px;color:var(--color-text-muted, #64748b);background:var(--color-bg, #f8fafc);font-size:12px;font-weight:800;text-align:center}.api-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:11px;background:var(--color-surface, #ffffff)}.api-key-row-disabled{opacity:.68}.api-key-row-main{min-width:0;display:grid;gap:4px}.api-key-row-main strong{font-size:13px}.api-key-row-main span,.api-key-row-main small{min-width:0;overflow:hidden;color:var(--color-gray-600, #475569);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.api-key-row-main small{color:var(--color-text-muted, #64748b)}.api-key-row-actions{display:flex;align-items:center;gap:8px}.status-pill.active{color:var(--color-success-700, #166534);background:var(--color-success-50, #dcfce7)}.status-pill.revoked{color:#991b1b;background:#fee2e2}.api-keys-revoke-confirm{display:grid;gap:10px;border:1px solid #fecaca;border-radius:8px;padding:12px;color:#7f1d1d;background:#fff1f2}.api-keys-revoke-confirm strong{display:block;margin-bottom:4px;font-size:14px}.api-keys-revoke-confirm p{margin:0;color:#991b1b;font-size:12px;line-height:1.45}.widget-preview-shell{min-height:0;flex:1;display:grid;grid-template-columns:340px minmax(0,1fr);gap:14px;padding:14px;overflow:hidden}.widget-controls{min-height:0;display:grid;align-content:start;gap:12px;overflow-y:auto}.widget-embed-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:12px;background:var(--color-primary-50, #eff6ff)}.widget-embed-card strong{display:block;margin-bottom:3px;font-size:13px}.widget-embed-card p{margin:0;color:var(--color-gray-600, #475569);font-size:12px;line-height:1.4}.widget-embed-card button{white-space:nowrap}.widget-control-section{display:grid;gap:10px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;background:var(--color-bg, #f8fafc)}.widget-control-section strong{font-size:13px}.widget-control-section label{display:grid;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:700}.widget-color-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px}.widget-color-row input[type=color]{min-height:36px;padding:3px}.widget-two-fields{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px}.widget-site-preview{min-height:0;overflow:hidden}.widget-site-frame{position:relative;min-height:620px;height:100%;overflow:hidden;border:1px solid #d7dee8;border-radius:10px;background:linear-gradient(180deg,var(--color-surface, #ffffff) 0%,var(--color-bg, #f8fafc) 44%,#eef6f3 100%)}.widget-site-header{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 22px;border-bottom:1px solid var(--color-border, #e2e8f0);background:var(--color-surface)}.widget-site-header div,.widget-site-content section,.widget-site-card{min-width:0}.widget-site-header strong,.widget-site-header span{display:block}.widget-site-header strong{font-size:15px}.widget-site-header span,.widget-site-content span,.widget-site-card p{color:var(--color-text-muted, #64748b);font-size:12px}.widget-site-header nav{display:flex;gap:16px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:800}.widget-site-content{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;padding:34px 28px}.widget-site-content section{max-width:520px}.widget-site-content section span{font-weight:800;text-transform:uppercase}.widget-site-content h2{margin:8px 0;font-size:30px;line-height:1.1}.widget-site-content p{margin:0;color:var(--color-gray-600, #475569);font-size:14px;line-height:1.55}.widget-site-card{display:grid;gap:8px;align-self:start;border:1px solid #dbe4ef;border-radius:8px;padding:14px;background:var(--color-surface, #ffffff);box-shadow:0 16px 34px #0f172a14}.widget-site-card svg{color:#0f766e}.widget-site-card strong{font-size:13px}.web-widget-preview{position:absolute;bottom:22px;display:grid;justify-items:end;gap:12px;width:min(384px,calc(100% - 40px))}.web-widget-preview.right{right:22px}.web-widget-preview.left{left:22px;justify-items:start}.web-widget-window{width:min(384px,100%);height:520px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(15,23,42,.12);border-radius:8px;background:var(--color-surface, #ffffff);box-shadow:0 24px 60px #0f172a38}.web-widget-header{min-height:76px;display:grid;grid-template-columns:42px minmax(0,1fr) 34px;gap:10px;align-items:center;padding:12px;color:#fff;background:linear-gradient(135deg,var(--widget-primary),color-mix(in srgb,var(--widget-primary) 72%,#111827))}.web-widget-avatar{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:#ffffff29;font-size:12px;font-weight:900}.web-widget-header strong,.web-widget-header span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.web-widget-header strong{font-size:15px}.web-widget-header span{margin-top:2px;color:#ffffffd1;font-size:12px;font-weight:700}.web-widget-header button{width:34px;min-width:34px;height:34px;min-height:34px;border-color:#ffffff47;padding:0;color:#fff;background:#ffffff1f}.web-widget-header button:hover{border-color:#ffffff80;background:#ffffff2e}.web-widget-messages{flex:1;display:flex;flex-direction:column;gap:10px;padding:14px;overflow-y:auto;background:radial-gradient(circle at 16px 16px,rgba(148,163,184,.16) 1px,transparent 1px) 0 0 / 18px 18px,var(--color-bg, #f8fafc)}.web-widget-day{align-self:center;border-radius:999px;padding:4px 9px;color:var(--color-text-muted, #64748b);background:var(--color-border, #e2e8f0);font-size:11px;font-weight:800}.web-widget-bubble{max-width:86%;display:flex;gap:8px;border-radius:8px;padding:10px 11px;box-shadow:0 8px 18px #0f172a0f}.web-widget-bubble p{margin:0;font-size:13px;line-height:1.45}.web-widget-bubble.assistant{align-self:flex-start;border:1px solid var(--color-border, #e2e8f0);color:var(--color-gray-800, #1e293b);background:var(--color-surface, #ffffff)}.web-widget-bubble.assistant svg{flex:0 0 auto;color:var(--widget-accent)}.web-widget-bubble.assistant.compact{padding-left:12px}.web-widget-bubble.user{align-self:flex-end;color:#fff;background:var(--widget-primary)}.web-widget-quick-replies{display:flex;flex-wrap:wrap;gap:7px;padding-left:4px}.web-widget-quick-replies button{min-height:30px;border-color:color-mix(in srgb,var(--widget-primary) 30%,var(--color-gray-300, #cbd5e1));border-radius:999px;padding:0 10px;color:var(--widget-primary);background:var(--color-surface, #ffffff);font-size:12px;font-weight:800}.web-widget-input{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding:10px;border-top:1px solid var(--color-border, #e2e8f0);background:var(--color-surface, #ffffff)}.web-widget-input input{border-radius:999px;background:var(--color-bg, #f8fafc)}.web-widget-input button{width:42px;min-width:42px;height:42px;min-height:42px;border-color:var(--widget-primary);border-radius:999px;padding:0;color:#fff;background:var(--widget-primary)}.web-widget-launcher{width:fit-content;min-width:58px;height:58px;min-height:58px;border:0;border-radius:999px;padding:0 18px;color:#fff;background:linear-gradient(135deg,var(--widget-primary),color-mix(in srgb,var(--widget-primary) 68%,var(--widget-accent)));box-shadow:0 18px 38px #0f172a3d}.web-widget-launcher.open{width:58px;padding:0}.web-widget-launcher:hover{color:#fff;background:linear-gradient(135deg,color-mix(in srgb,var(--widget-primary) 88%,#000000),var(--widget-primary))}.web-widget-launcher span{max-width:160px;overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.widget-preview-actions{grid-column:1 / -1}.whatsapp-config{display:grid;gap:12px;padding:14px;overflow-y:auto}.whatsapp-card{display:grid;gap:11px;border:1px solid var(--color-border, #e2e8f0);border-radius:8px;padding:12px;background:var(--color-surface, #ffffff)}.whatsapp-card.highlight{border-color:var(--color-success-200, #bbf7d0);background:var(--color-success-50, #f0fdf4)}.whatsapp-card-title{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center}.whatsapp-card-title svg{color:#0f766e}.whatsapp-card strong,.whatsapp-card-title strong{display:block;font-size:14px}.whatsapp-card-title span{display:block;margin-top:2px;color:var(--color-gray-600, #475569);font-size:12px}.whatsapp-card label{display:grid;gap:6px;color:var(--color-gray-600, #475569);font-size:12px;font-weight:700}.copy-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.copy-field.token-field{grid-template-columns:minmax(0,1fr) auto auto}.copy-field button{white-space:nowrap}.webhook-post-disclaimer{display:grid;gap:8px;border:1px dashed var(--color-success-200, #86efac);border-radius:8px;padding:10px;background:var(--color-surface, #ffffff)}.webhook-post-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.webhook-post-header button{width:auto;min-height:32px;padding:0 10px;white-space:nowrap}.webhook-post-disclaimer span{color:var(--color-gray-600, #475569);font-size:12px;line-height:1.4}.webhook-post-disclaimer pre{max-height:260px;margin:0;overflow:auto;border-radius:8px;padding:10px;background:var(--color-text, #0f172a);color:var(--color-primary-100, #dbeafe);font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.whatsapp-steps{margin:0;padding-left:20px;color:var(--color-gray-600, #475569);font-size:13px;line-height:1.6}.spin{animation:spin 1s linear infinite}@media(max-width:1500px){.app-header{grid-template-columns:1fr;align-items:stretch;row-gap:8px}.header-title-block{max-width:none}.header-actions{grid-column:1;justify-self:stretch;flex-wrap:wrap;justify-content:flex-start}}@media(max-width:1100px){.header-actions{border:0;padding:0;background:transparent;box-shadow:none}.workspace{grid-template-columns:1fr}.test-panel{min-height:360px}.widget-preview-shell{grid-template-columns:1fr;overflow-y:auto}.widget-controls,.widget-site-preview{overflow:visible}.flow-transfer-body{grid-template-columns:1fr;overflow-y:auto}.flow-version-body{grid-template-columns:1fr}.flow-version-tabs{width:100%}.flow-version-tabs button{flex:1}.publish-homolog-grid,.publish-environments>article{grid-template-columns:1fr}}@media(max-width:760px){.workspace{padding:8px}.header-actions{justify-content:stretch}.flow-name-input,.agent-input,.agent-select-button,.flow-select,.channel-select,.header-field,.header-actions-menu,.header-actions button{width:100%}.header-actions-dropdown{left:0;right:0;width:100%}.component-palette{right:8px;left:8px;width:auto;max-height:min(620px,calc(100% - 16px))}.component-grid,.agent-grid,.flow-grid{grid-template-columns:1fr}.flow-assistant-modal{width:calc(100vw - 16px);height:calc(100vh - 16px)}.flow-assistant-body{grid-template-columns:1fr;overflow:auto}.flow-assistant-compose,.flow-assistant-result{overflow:visible}.flow-assistant-prompt-field{min-height:260px}.flow-assistant-compose textarea{min-height:240px}.flow-assistant-actions,.flow-assistant-apply{flex-wrap:wrap}.flow-assistant-scope{display:grid}.flow-assistant-scope [role=group]{width:100%}.flow-assistant-scope button{flex:1}.flow-assistant-actions button,.flow-assistant-apply button{width:100%}.inspector{width:auto}.rag-builder-grid,.mcp-mode-grid,.mcp-helper-row{grid-template-columns:1fr}.mcp-mode-grid{display:grid}.mcp-helper-row{display:grid;align-items:stretch}.segmented-control{width:100%}.rag-manage-toolbar,.rag-document-card{grid-template-columns:1fr}.rag-document-actions{justify-content:flex-end}.inspector-grid-two,.mcp-api-call-meta,.mcp-schema-row,.mcp-schema-json-grid,.cron-grid-two,.compact-cron-grid,.mongo-date-grid,.meta-flow-manager,.rag-conditional-grid,.rag-conditional-meta-grid,.filter-row,.filter-row-new,.conditional-filter-row,.conditional-filter-row-new,.round-filter-header{grid-template-columns:1fr}.filter-icon-button{width:100%}.widget-site-frame{min-height:620px}.widget-site-header nav{display:none}.widget-site-content{grid-template-columns:1fr;padding:24px 18px}.web-widget-preview{width:calc(100% - 24px);right:12px;left:12px;bottom:12px}.web-widget-preview.left,.web-widget-preview.right{left:12px;right:12px}.web-widget-window{height:500px}.widget-two-fields,.widget-embed-card{grid-template-columns:1fr}.flow-transfer-section-header{display:grid}.flow-transfer-section-header>div:last-child,.flow-transfer-section-header button,.flow-version-card,.flow-version-card>div:last-child{width:100%}.flow-version-card,.api-key-form-grid,.api-key-row{grid-template-columns:1fr}.api-key-row-actions{justify-content:flex-end}.created-key-row,.copy-field,.copy-field.token-field{grid-template-columns:1fr}}.chat-page{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;background:var(--color-bg)}.chat-page-body{display:flex;flex:1;min-height:0;overflow:hidden;gap:0}.chat-main{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}.chat-convos{width:250px;flex-shrink:0;display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);border-right:1px solid var(--color-border);overflow:hidden;min-height:0}.chat-convos-new{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:9px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font-weight:600;font-size:var(--font-size-sm);cursor:pointer;flex-shrink:0}.chat-convos-new:hover{background:var(--color-primary-50);color:var(--color-primary-700);border-color:var(--color-primary-200)}.chat-convos-list{display:flex;flex-direction:column;gap:2px;overflow-y:auto;min-height:0}.chat-convos-empty{font-size:var(--font-size-sm);color:var(--color-text-muted);padding:6px 4px}.chat-convos-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:none;border-radius:var(--radius-md);background:transparent;color:var(--color-text);font-size:var(--font-size-sm);text-align:left;cursor:pointer}.chat-convos-item:hover{background:var(--color-bg, #f3f4f6)}.chat-convos-item.active{background:var(--color-primary-50);color:var(--color-primary-700);font-weight:600}.chat-convos-item:disabled{cursor:default;opacity:1}.chat-convos-item-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-side{width:240px;flex-shrink:0;display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4) var(--space-4) var(--space-4) 0;overflow-y:auto}.chat-side .card-header{padding:11px 14px}.chat-side .card-header h2{font-size:13px}.chat-side .card-body{padding:14px}.chat-toolbar{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-shrink:0}.chat-skill-selector{display:inline-flex;align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-full);padding:4px 12px 4px 8px;background:var(--color-surface);cursor:pointer;font-size:var(--font-size-sm);font-weight:600;color:var(--color-gray-700);transition:border-color var(--transition-fast),background var(--transition-fast)}.chat-skill-selector:hover{border-color:var(--color-primary-400);background:var(--color-primary-50);color:var(--color-primary-700)}.chat-skill-selector-dot{width:8px;height:8px;border-radius:50%;background:var(--color-success-600);flex-shrink:0}.chat-toolbar-spacer{flex:1}.chat-new-btn{font-size:var(--font-size-sm)}.chat-composer-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.chat-empty-suggestions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:center;margin-top:var(--space-5);max-width:540px}.chat-suggestions{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-shrink:0;flex-wrap:wrap}.chat-suggestions-label{font-size:var(--font-size-xs);font-weight:700;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;line-height:28px}.chat-suggestion-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--color-border);border-radius:var(--radius-full);padding:4px 12px;font-size:var(--font-size-sm);font-weight:500;color:var(--color-gray-700);background:var(--color-surface);cursor:pointer;white-space:nowrap;transition:border-color var(--transition-fast),background var(--transition-fast),color var(--transition-fast);min-height:28px}.chat-suggestion-chip:hover{border-color:var(--color-primary-400);background:var(--color-primary-50);color:var(--color-primary-700)}.chat-messages-area{flex:1;min-height:0;overflow-y:auto;padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-4);scroll-behavior:smooth;overscroll-behavior:contain}.chat-history-controls{display:flex;flex-direction:column;align-items:center;gap:var(--space-2)}.chat-history-load{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:5px 12px;border:1px solid var(--color-border);border-radius:var(--radius-full);background:var(--color-surface);color:var(--color-text-muted);font-size:var(--font-size-sm);font-weight:700;cursor:pointer}.chat-history-load:hover:not(:disabled){border-color:var(--color-primary-300);background:var(--color-primary-50);color:var(--color-primary-700)}.chat-history-load:disabled{cursor:default;opacity:.7}.chat-history-error{color:var(--color-danger-700);font-size:var(--font-size-xs);font-weight:600}.chat-messages-area,.chat-convos-list,.chat-side{scrollbar-width:thin;scrollbar-color:transparent transparent;transition:scrollbar-color .2s ease}.chat-messages-area:hover,.chat-convos-list:hover,.chat-side:hover{scrollbar-color:var(--color-border) transparent}.chat-messages-area::-webkit-scrollbar,.chat-convos-list::-webkit-scrollbar,.chat-side::-webkit-scrollbar{width:8px}.chat-messages-area::-webkit-scrollbar-track,.chat-convos-list::-webkit-scrollbar-track,.chat-side::-webkit-scrollbar-track{background:transparent}.chat-messages-area::-webkit-scrollbar-thumb,.chat-convos-list::-webkit-scrollbar-thumb,.chat-side::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px;border:2px solid transparent;background-clip:content-box;transition:background .2s ease}.chat-messages-area:hover::-webkit-scrollbar-thumb,.chat-convos-list:hover::-webkit-scrollbar-thumb,.chat-side:hover::-webkit-scrollbar-thumb{background:var(--color-border);background-clip:content-box}.chat-messages-area::-webkit-scrollbar-thumb:hover,.chat-convos-list::-webkit-scrollbar-thumb:hover,.chat-side::-webkit-scrollbar-thumb:hover{background:var(--color-text-subtle);background-clip:content-box}.chat-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);padding:var(--space-8);text-align:center;color:var(--color-text-subtle)}.chat-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:var(--radius-xl);background:var(--color-primary-50);color:var(--color-primary-600)}.chat-empty-title{font-size:var(--font-size-lg);font-weight:700;color:var(--color-gray-600);margin:0}.chat-empty-desc{font-size:var(--font-size-base);color:var(--color-text-subtle);margin:0;max-width:360px;line-height:1.5}.chat-message{display:flex;flex-direction:column;gap:var(--space-2);max-width:720px}.chat-message--user{align-self:flex-end;align-items:flex-end}.chat-message--assistant{align-self:flex-start;align-items:flex-start}.chat-message-meta{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-xs);color:var(--color-text-subtle);font-weight:600}.chat-message-bubble{border-radius:var(--radius-2xl);padding:12px 16px;font-size:var(--font-size-base);line-height:1.6;word-break:break-word;white-space:pre-wrap}.chat-message--user .chat-message-bubble{background:var(--color-primary-600);color:#fff;border-bottom-right-radius:var(--radius-sm)}.chat-message--assistant .chat-message-bubble{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text);border-bottom-left-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.chat-md{white-space:normal}.chat-md-p{margin:0 0 8px}.chat-md-p:last-child{margin-bottom:0}.chat-md-h{margin:8px 0 4px;font-weight:700;line-height:1.3}.chat-md-h:first-child{margin-top:0}.chat-md-list{margin:4px 0 8px;padding-left:20px}.chat-md-list li{margin:2px 0}.chat-md-code{font-family:var(--font-mono, ui-monospace, monospace);font-size:.9em;background:var(--color-primary-50, var(--color-primary-50));border:1px solid var(--color-border, var(--color-border));border-radius:4px;padding:1px 5px}.chat-md-pre{margin:6px 0 8px;padding:10px 12px;background:var(--color-text);color:var(--color-border);border-radius:8px;overflow-x:auto;white-space:pre}.chat-md-pre code{font-family:var(--font-mono, ui-monospace, monospace);font-size:.85em;background:none;border:none;padding:0;color:inherit}.chat-md a{color:var(--color-primary-600, var(--color-primary-600));text-decoration:underline}.chat-message-loading{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm);color:var(--color-text-muted);padding:10px 14px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.chat-typing-dots{display:inline-flex;gap:3px;align-items:center}.chat-typing-dots span{width:6px;height:6px;border-radius:50%;background:var(--color-text-muted);animation:chat-typing-bounce 1.2s ease-in-out infinite}.chat-typing-dots span:nth-child(2){animation-delay:.2s}.chat-typing-dots span:nth-child(3){animation-delay:.4s}@keyframes chat-typing-bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}.chat-thinking{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm)}.chat-thinking-text{background:linear-gradient(100deg,var(--color-text-subtle) 30%,var(--color-text) 50%,var(--color-text-subtle) 70%);background-size:200% auto;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:600;animation:chat-thinking-shimmer 2.4s linear infinite,chat-thinking-in .35s ease-out}.chat-thinking-ellipsis{-webkit-text-fill-color:var(--color-text-subtle);color:var(--color-text-subtle)}@keyframes chat-thinking-shimmer{to{background-position:-200% center}}@keyframes chat-thinking-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.chat-thinking-text{animation:none}}.chat-message-actions{display:flex;gap:var(--space-2);margin-top:0;max-height:0;overflow:hidden;transition:max-height .15s ease,margin-top .15s ease}.chat-message-bubble:hover .chat-message-actions,.chat-message-actions:focus-within{margin-top:var(--space-2);max-height:40px}.chat-copy-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--color-text-subtle);font-size:var(--font-size-xs);font-weight:600;cursor:pointer;opacity:0;transition:opacity .15s,background .15s,color .15s,border-color .15s}.chat-message-bubble:hover .chat-copy-btn,.chat-copy-btn:focus-visible{opacity:1}.chat-copy-btn:hover{background:var(--color-primary-50);color:var(--color-primary-700);border-color:var(--color-primary-200)}.chat-sources{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--color-gray-100)}.chat-attach-chips{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.chat-attach-chip{display:inline-flex;align-items:center;gap:6px;max-width:240px;padding:4px 8px;border:1px solid var(--color-primary-200);border-radius:var(--radius-full);background:var(--color-primary-50);color:var(--color-primary-700);font-size:var(--font-size-xs);font-weight:600}.chat-attach-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attach-chip-x{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--color-primary-700);cursor:pointer;padding:0}.chat-attach-chip-x:hover{color:var(--color-danger, #dc2626)}.chat-attach-chip--loading{color:var(--color-text-muted);border-color:var(--color-gray-200);background:var(--color-gray-50)}.chat-attach-queue-status{color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:500}.chat-document-capability-warning{display:flex;align-items:flex-start;gap:var(--space-2);margin:0 0 var(--space-2);padding:var(--space-2) var(--space-3);border:1px solid var(--color-warning-300, #fcd34d);border-radius:var(--radius-md);background:var(--color-warning-50, #fffbeb);color:var(--color-warning-800, #92400e);font-size:var(--font-size-xs);line-height:1.4}.chat-document-capability-warning svg{flex:0 0 auto;margin-top:1px}.chat-attach-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:none;border-radius:var(--radius-full, 9999px);background:transparent;color:var(--color-text-muted);cursor:pointer;transition:background .15s,color .15s}.chat-attach-btn:hover:not(:disabled){background:var(--color-primary-50);color:var(--color-primary-700)}.chat-attach-btn:disabled{opacity:.5;cursor:default}@keyframes chat-spin{to{transform:rotate(360deg)}}.chat-spin{animation:chat-spin .8s linear infinite}.chat-artifacts{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-3)}.chat-artifact{display:flex;align-items:center;gap:var(--space-3);width:100%;padding:var(--space-2) var(--space-3);border:1px solid var(--color-primary-200);border-radius:var(--radius-lg);background:var(--color-primary-50);cursor:pointer;text-align:left;transition:background .15s,border-color .15s}.chat-artifact:hover:not(:disabled){background:var(--color-primary-100);border-color:var(--color-primary-300)}.chat-artifact:disabled{opacity:.7;cursor:default}.chat-artifact-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:var(--radius-md);background:var(--color-primary-100);color:var(--color-primary-700)}.chat-artifact-info{display:flex;flex-direction:column;min-width:0;flex:1}.chat-artifact-name{font-size:var(--font-size-sm);font-weight:600;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-artifact-meta{font-size:var(--font-size-xs);color:var(--color-text-muted)}.chat-artifact-action{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:var(--font-size-xs);font-weight:700;color:var(--color-primary-700)}.chat-sources-title{font-size:var(--font-size-xs);font-weight:700;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;gap:5px}.chat-sources-list{display:flex;flex-direction:column;gap:4px}.chat-source-item{display:flex;align-items:center;gap:6px;font-size:var(--font-size-sm);color:var(--color-primary-700);font-weight:500}.chat-source-item svg{width:13px;height:13px;color:var(--color-primary-400);flex-shrink:0}.chat-input-area{padding:var(--space-2) var(--space-5) var(--space-4);background:transparent;flex-shrink:0}.chat-input-wrapper{display:flex;align-items:flex-end;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-2xl, 18px);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-3);background:var(--color-surface);box-shadow:0 1px 2px #0000000a,0 4px 12px #0000000a;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.chat-input-wrapper:focus-within{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f,0 4px 14px #0000000f}.chat-input-textarea{flex:1;border:none;padding:6px 0;resize:none;font-size:var(--font-size-base);color:var(--color-text);background:transparent;min-height:0;max-height:120px;line-height:1.5}.chat-input-textarea:focus{box-shadow:none;border:none}.chat-input-textarea::placeholder{color:var(--color-text-subtle)}.chat-send-btn{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border-radius:var(--radius-full, 9999px);flex-shrink:0}.chat-input-hint{font-size:var(--font-size-xs);color:var(--color-text-subtle);margin-top:var(--space-1);padding:0 var(--space-1)}.chat-feedback-btn-group{display:flex;gap:var(--space-2);margin-top:var(--space-2)}.chat-feedback-btn{flex:1;min-height:32px;font-size:var(--font-size-sm);gap:5px}.chat-feedback-btn.active-positive{border-color:var(--color-success-200);background:var(--color-success-50);color:var(--color-success-700)}.chat-feedback-btn.active-negative{border-color:var(--color-danger-200);background:var(--color-danger-50);color:var(--color-danger-700)}.chat-tech-rows{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-3)}.chat-tech-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-2)}.chat-tech-label{font-size:var(--font-size-sm);color:var(--color-text-muted);font-weight:500;display:flex;align-items:center;gap:5px}.chat-tech-value{font-size:var(--font-size-sm);font-weight:700;color:var(--color-text);text-align:right}.chat-confidence-bar{height:6px;border-radius:var(--radius-full);background:var(--color-gray-200);overflow:hidden;margin-top:var(--space-2)}.chat-confidence-fill{height:100%;border-radius:var(--radius-full);background:var(--color-success-600);transition:width .4s ease}.chat-error-banner{display:flex;align-items:center;gap:var(--space-2);padding:10px var(--space-4);border-radius:var(--radius-lg);background:var(--color-danger-50);border:1px solid var(--color-danger-200);color:var(--color-danger-700);font-size:var(--font-size-sm);font-weight:600;margin:var(--space-3) var(--space-5) 0}.chat-message-bubble--streaming{border-color:var(--color-primary-300);box-shadow:0 0 0 2px #3b82f61f}.chat-stream-cursor{display:inline-block;width:2px;height:1em;background:var(--color-primary-600);margin-left:2px;vertical-align:text-bottom;border-radius:1px;animation:chat-cursor-blink .8s step-end infinite}@keyframes chat-cursor-blink{0%,to{opacity:1}50%{opacity:0}}.chat-stream-badge{font-size:10px;font-weight:700;color:var(--color-primary-700);background:var(--color-primary-50);border:1px solid var(--color-primary-200);border-radius:var(--radius-full);padding:0 6px;animation:chat-stream-pulse 1.5s ease-in-out infinite}@keyframes chat-stream-pulse{0%,to{opacity:1}50%{opacity:.5}}.chat-source-snippet{display:block;font-size:var(--font-size-xs);color:var(--color-text-muted);font-weight:400;margin-top:2px;padding-left:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.chat-messages-area>*{width:100%;max-width:880px;margin-inline:auto}.chat-attach-chips,.chat-document-capability-warning,.chat-input-wrapper,.chat-input-hint{width:100%;max-width:880px;margin-inline:auto}.chat-page-root{display:flex;flex-direction:column;min-height:0;height:calc(100% + 56px);margin:-28px}@media(max-width:768px){.chat-page-root{margin:-16px -14px;height:calc(100% + 32px)}.chat-side,.chat-convos{display:none}.chat-page-body{flex-direction:column}.chat-main{min-width:0}.chat-toolbar{padding:var(--space-3) var(--space-4);flex-wrap:wrap;gap:var(--space-2)}.chat-suggestions{padding:var(--space-3) var(--space-4);overflow-x:auto;flex-wrap:nowrap}.chat-messages-area{padding:var(--space-4)}.chat-input-area{padding:var(--space-3) var(--space-4)}.chat-message{max-width:100%}}@media(min-width:769px)and (max-width:1200px){.chat-side{display:none}.chat-convos{width:210px}}.rich-message-preview{display:grid;gap:8px}.rich-message-preview p{margin:0}.rich-preview-actions,.rich-preview-quick{display:flex;flex-wrap:wrap;gap:6px}.rich-preview-actions button,.rich-preview-quick button,.rich-preview-list-item{cursor:pointer;border:1px solid var(--color-border, #e2e8f0);border-radius:7px;font:inherit}.rich-preview-actions button,.rich-preview-quick button{min-height:30px;padding:0 10px;border-color:#93c5fd;color:var(--color-primary-700, #1d4ed8);background:var(--color-surface, #ffffff)}.rich-preview-actions button:hover,.rich-preview-quick button:hover{background:var(--color-primary-50, #eff6ff)}.rich-preview-actions button:disabled,.rich-preview-quick button:disabled,.rich-preview-list-item:disabled{opacity:.55;cursor:not-allowed}.rich-preview-quick button{border-radius:999px}.rich-preview-list,.rich-preview-carousel{display:grid;gap:8px}.rich-preview-media-image{width:100%;max-height:180px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;object-fit:cover;background:var(--color-border, #e2e8f0)}.rich-preview-document{display:grid;gap:3px;padding:10px;border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;background:var(--color-surface, #ffffff);color:var(--color-text, #0f172a);text-decoration:none}.rich-preview-document small{color:var(--color-text-muted, #64748b);font-size:12px}.rich-preview-list{border:1px solid var(--color-primary-200, #bfdbfe);border-radius:8px;padding:8px;background:var(--color-surface, #ffffff)}.rich-preview-list>strong{color:var(--color-text, #0f172a);font-size:13px}.rich-preview-list span{color:var(--color-text-muted, #64748b);font-size:11px;font-weight:800}.rich-preview-list-item,.rich-preview-card{display:grid;gap:3px;border:1px solid var(--color-border, #e2e8f0);border-radius:7px;padding:8px;background:var(--color-surface, #ffffff)}.rich-preview-list-item{width:100%;min-height:0;justify-items:start;text-align:left}.rich-preview-list-item:hover{border-color:#93c5fd;background:var(--color-primary-50, #eff6ff)}.rich-preview-list-item small,.rich-preview-card span{color:var(--color-text-muted, #64748b);font-size:12px}.rich-preview-carousel{grid-auto-flow:column;grid-auto-columns:minmax(150px,190px);overflow-x:auto;padding-bottom:2px}.rich-preview-card img{width:100%;height:84px;border-radius:6px;object-fit:cover;background:var(--color-border, #e2e8f0)}.rich-preview-footer{color:var(--color-text-muted, #64748b);font-size:11px}.skv-publish{margin-top:var(--space-2, 8px)}.skv-muted{color:var(--color-text-muted);font-size:13px;margin:var(--space-2, 8px) 0 0}.skv-error{color:var(--color-danger-600);font-size:13px;margin:var(--space-2, 8px) 0 0}.skv-list{list-style:none;margin:var(--space-3, 12px) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--space-1, 4px)}.skv-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2, 8px);padding:var(--space-2, 8px);border:1px solid var(--color-border);border-radius:var(--radius-md, 8px);background:var(--color-surface)}.skv-item-main{display:flex;align-items:center;gap:var(--space-2, 8px);flex-wrap:wrap;min-width:0}.skv-ver{font-weight:600;font-size:13px;color:var(--color-text)}.skv-meta{font-size:12px;color:var(--color-text-muted)}.skv-rollback{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--color-text-muted);background:none;border:1px solid var(--color-border);border-radius:var(--radius-sm, 6px);padding:3px 8px;cursor:pointer;white-space:nowrap}.skv-rollback:hover:not(:disabled){color:var(--color-text);border-color:var(--color-neutral-300, var(--color-border))}.skv-rollback:disabled{opacity:.5;cursor:not-allowed}.skv-diff{margin-top:var(--space-3, 12px);padding-top:var(--space-3, 12px);border-top:1px dashed var(--color-border)}.skv-diff-controls{display:flex;align-items:center;gap:var(--space-2, 8px);flex-wrap:wrap;color:var(--color-text-muted)}.skv-diff-controls select{font-size:13px;padding:4px 6px;border:1px solid var(--color-border);border-radius:var(--radius-sm, 6px);background:var(--color-surface);color:var(--color-text)}.skv-arrow{color:var(--color-text-subtle, var(--color-text-muted))}.skv-changes{list-style:none;margin:var(--space-3, 12px) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--space-2, 8px)}.skv-change{padding:var(--space-2, 8px);border:1px solid var(--color-border);border-radius:var(--radius-md, 8px);background:var(--color-bg)}.skv-change-sensitive{border-color:var(--color-warning-200, var(--color-border));background:var(--color-warning-50, var(--color-bg))}.skv-change-field{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--color-text)}.skv-change-sensitive .skv-change-field{color:var(--color-warning-700, var(--color-text))}.skv-change-values{display:flex;align-items:center;gap:var(--space-2, 8px);margin-top:4px;font-size:12px;flex-wrap:wrap}.skv-before{color:var(--color-danger-600);word-break:break-word}.skv-after{color:var(--color-success-600);word-break:break-word}.skill-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}@media(max-width:768px){.skill-builder-layout{grid-template-columns:1fr}.skill-builder-preview{position:static}}.skill-builder-stepper{display:flex;align-items:center;gap:0;margin-bottom:24px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:0 20px;overflow-x:auto}.skill-builder-step{display:flex;align-items:center;gap:8px;padding:16px 12px;font-size:12px;font-weight:600;color:var(--color-text-subtle);white-space:nowrap;cursor:default;flex-shrink:0;position:relative;border:none;background:transparent;min-height:0}.skill-builder-step:not(:last-child):after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:16px;background:var(--color-border)}.skill-builder-step-num{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:11px;font-weight:800;background:var(--color-gray-100);color:var(--color-text-subtle);flex-shrink:0;border:1.5px solid var(--color-border);transition:background .12s,color .12s,border-color .12s}.skill-builder-step.active .skill-builder-step-num{background:var(--color-primary-600);color:#fff;border-color:var(--color-primary-600)}.skill-builder-step.active{color:var(--color-primary-700)}.skill-builder-step.done .skill-builder-step-num{background:#16a34a;color:#fff;border-color:#16a34a}.skill-builder-step.done{color:var(--color-gray-600)}.skill-builder-panel{display:flex;flex-direction:column;gap:20px}.skill-builder-step-title{font-size:15px;font-weight:800;color:var(--color-text);margin:0 0 4px}.skill-builder-step-desc{font-size:13px;color:var(--color-text-muted);margin:0 0 20px}.skill-builder-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.skill-builder-field:last-child{margin-bottom:0}.skill-builder-label{font-size:12px;font-weight:700;color:var(--color-gray-700)}.skill-builder-label .required{color:#dc2626;margin-left:2px}.skill-builder-char-count{font-size:11px;color:var(--color-text-subtle);text-align:right;margin-top:2px}.skill-builder-sources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:20px}.skill-builder-source-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;border:1.5px solid var(--color-border);border-radius:10px;background:var(--color-surface);cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s;text-align:center}.skill-builder-source-card:hover{border-color:var(--color-primary-200);background:var(--color-primary-50)}.skill-builder-source-card.selected{border-color:var(--color-primary-600);background:var(--color-primary-50);box-shadow:0 0 0 3px #2563eb1a}.skill-builder-source-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;font-size:18px}.skill-builder-source-name{font-size:12px;font-weight:700;color:var(--color-gray-700)}.skill-builder-source-desc{font-size:11px;color:var(--color-text-subtle);line-height:1.3}.skill-builder-sources-list{display:flex;flex-direction:column;gap:8px;margin-top:4px}.skill-builder-source-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);font-size:13px}.skill-builder-source-item-name{flex:1;font-weight:600;color:var(--color-gray-700)}.skill-builder-source-item-status{font-size:11px;color:#16a34a;font-weight:700}.skill-builder-source-remove{width:24px;min-width:24px;height:24px;min-height:24px;border:none;border-radius:4px;background:transparent;color:var(--color-text-subtle);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;font-size:14px}.skill-builder-source-remove:hover{background:#fee2e2;color:#dc2626;border-color:transparent}.skill-builder-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;gap:10px;color:var(--color-text-subtle);text-align:center}.skill-builder-placeholder-icon{font-size:32px;opacity:.4}.skill-builder-placeholder strong{font-size:14px;font-weight:700;color:var(--color-text-muted)}.skill-builder-placeholder span{font-size:12px}.skill-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--color-gray-100);margin-top:4px}.skill-builder-footer-left,.skill-builder-footer-right{display:flex;align-items:center;gap:8px}.skill-builder-toast{position:fixed;bottom:28px;right:28px;padding:12px 18px;border-radius:8px;font-size:13px;font-weight:600;box-shadow:0 4px 12px #0f172a1f;z-index:1000;display:flex;align-items:center;gap:8px;animation:skill-builder-toast-in .2s ease}.skill-builder-toast.success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.skill-builder-toast.error{background:#fff1f2;color:#b91c1c;border:1px solid #fecaca}@keyframes skill-builder-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.skill-builder-preview{position:sticky;top:0;display:flex;flex-direction:column;gap:16px}.skill-builder-preview-card{display:flex;flex-direction:column;gap:12px}.skill-builder-preview-header{display:flex;align-items:center;gap:10px}.skill-builder-preview-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:var(--color-primary-50);font-size:20px;flex-shrink:0}.skill-builder-preview-name{font-size:14px;font-weight:800;color:var(--color-text);margin:0}.skill-builder-preview-area{font-size:11px;color:var(--color-text-muted);font-weight:600;margin:2px 0 0}.skill-builder-preview-desc{font-size:12px;color:var(--color-gray-600);line-height:1.5;margin:0}.skill-builder-preview-meta{display:flex;gap:10px;flex-wrap:wrap}.skill-builder-preview-meta-item{font-size:11px;color:var(--color-text-muted);font-weight:600;display:flex;align-items:center;gap:4px}.skill-builder-preview-divider{height:1px;background:var(--color-gray-100);margin:4px 0}.skill-builder-preview-section-title{font-size:11px;font-weight:700;color:var(--color-text-subtle);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px}.skill-builder-preview-sample-q{font-size:12px;color:var(--color-gray-600);padding:8px 10px;background:var(--color-bg);border-radius:6px;margin-bottom:6px;line-height:1.4}.skill-builder-preview-sample-q:last-child{margin-bottom:0}.skill-builder-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.skill-builder-spin{animation:spin .8s linear infinite}.skill-builder-compliance-note{display:flex;align-items:flex-start;gap:8px;padding:10px 14px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;font-size:12px;color:#92400e;line-height:1.5}.skill-builder-compliance-note strong{font-weight:700}.step-modelo-list{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;border:0}.step-modelo-list legend{width:100%;margin-bottom:4px;padding:0}.step-modelo-card{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1.5px solid var(--color-border);border-radius:10px;background:var(--color-surface);cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s}.step-modelo-card:hover{border-color:var(--color-primary-200);background:#f8fbff}.step-modelo-card:has(.step-modelo-radio:focus-visible){outline:2px solid var(--color-primary-600);outline-offset:2px}.step-modelo-card--selected{border-color:var(--color-primary-600);background:var(--color-primary-50);box-shadow:0 0 0 3px #2563eb1a}.step-modelo-card--disabled{border-color:var(--color-border);background:var(--color-bg);cursor:not-allowed;opacity:.78}.step-modelo-card--disabled:hover{border-color:var(--color-border);background:var(--color-bg)}.step-modelo-radio{width:16px;height:16px;margin:3px 0 0;flex:0 0 auto;accent-color:var(--color-primary-600)}.step-modelo-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 auto;border-radius:8px;background:var(--color-primary-50);color:var(--color-primary-600)}.step-modelo-card--disabled .step-modelo-icon{background:var(--color-gray-100);color:var(--color-text-muted)}.step-modelo-content{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.step-modelo-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:var(--color-text);font-size:13px}.step-modelo-tier{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;line-height:1.4}.step-modelo-tier--included{background:#dcfce7;color:#166534}.step-modelo-tier--byok{background:var(--color-primary-100);color:var(--color-primary-700)}.step-modelo-meta{color:var(--color-text-muted);font-size:11px;line-height:1.4}.step-modelo-warning{display:inline-flex;align-items:center;gap:5px;margin-top:3px;color:#b45309;font-size:11px;font-weight:600}.step-modelo-check{margin-top:8px;flex:0 0 auto;color:var(--color-primary-600)}.step-modelo-state{display:flex;align-items:center;gap:8px;min-height:72px;color:var(--color-text-muted);font-size:13px}.step-modelo-state--error{min-height:auto;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c}.step-modelo-empty{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--color-text-subtle);text-align:center}.step-modelo-empty strong{color:var(--color-text-muted);font-size:13px}.step-modelo-empty span{font-size:12px}@media(max-width:520px){.step-modelo-card{padding:12px}.step-modelo-icon{display:none}}.access-panel{display:flex;flex-direction:column;gap:10px;overflow-x:auto}.access-table{width:100%;border-collapse:collapse;font-size:13px}.access-table th,.access-table td{padding:8px 10px;border-bottom:1px solid var(--color-border, var(--color-border));text-align:left}.access-table th{font-weight:700;color:var(--color-text-secondary, var(--color-text-muted));font-size:12px}.access-table thead th:not(:first-child){text-align:center;width:64px}.access-email{display:block;font-size:11px;color:var(--color-text-secondary, var(--color-text-subtle))}.access-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:flex-start;justify-content:center;padding:48px 16px;z-index:1000;overflow-y:auto}.access-modal{background:var(--color-surface, #fff);border-radius:12px;padding:20px;width:100%;max-width:640px;box-shadow:0 20px 50px #00000040}.access-modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.access-modal-head strong{font-size:15px}.access-tabs{display:flex;gap:4px;border-bottom:1px solid var(--color-border, var(--color-border));margin-bottom:12px}.access-tabs button{border:none;background:transparent;padding:8px 14px;font-size:13px;font-weight:600;color:var(--color-text-secondary, var(--color-text-muted));cursor:pointer;border-bottom:2px solid transparent}.access-tabs button.active{color:var(--color-primary, var(--color-primary-600));border-bottom-color:var(--color-primary, var(--color-primary-600))}.access-switch{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;cursor:pointer}.access-switch input{width:16px;height:16px;min-height:0}.fluxos-page{display:flex;flex-direction:column;height:100%;margin:-28px}@media(max-width:768px){.fluxos-page{margin:-16px -14px}}.fluxos-page-header{padding:8px 28px;flex-shrink:0;background:var(--color-surface)}.fluxos-page-header .page-header{margin-bottom:0;align-items:center;gap:var(--space-2)}.fluxos-page-header .page-header-icon{width:28px;height:28px}.fluxos-page-header .page-header-text h1{font-size:16px}.fluxos-iframe-area{flex:1;min-height:0;position:relative;background:var(--color-bg)}.fluxos-builder-area{flex:1;min-width:0;min-height:0;overflow:hidden}.fluxos-builder-area .app-shell{display:flex;flex-direction:column}.fluxos-iframe{display:block;width:100%;height:100%;border:none}.fluxos-fallback-notice{position:absolute;bottom:16px;left:50%;transform:translate(-50%);z-index:10;background:var(--color-warning-50);border:1px solid var(--color-warning-200);border-radius:var(--radius-lg);padding:10px 18px;font-size:var(--font-size-sm);color:var(--color-warning-700);white-space:nowrap;pointer-events:none}.fluxos-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--color-bg);color:var(--color-text-secondary);font-size:var(--font-size-sm)}.fluxos-error-state{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;background:var(--color-bg);color:var(--color-text-secondary);text-align:center}.fluxos-error-state>svg{color:var(--color-warning-500, #f59e0b);margin-bottom:4px}.fluxos-error-state strong{font-size:var(--font-size-base);color:var(--color-text)}.fluxos-error-state p{font-size:var(--font-size-sm);max-width:480px;line-height:1.5;margin:0}.fluxos-error-url,.fluxos-error-hint{font-size:var(--font-size-xs, .75rem);color:var(--color-text-secondary)}.fluxos-iframe--hidden{visibility:hidden;pointer-events:none}.gov-tab{padding:var(--space-2, 8px) 0}.gov-card{border:1px solid var(--color-border);border-radius:var(--radius-lg, 12px);background:var(--color-surface);padding:var(--space-4, 16px);max-width:640px;display:flex;flex-direction:column;gap:var(--space-3, 12px)}.gov-card-head{display:flex;align-items:flex-start;gap:var(--space-2, 8px);color:var(--color-text)}.gov-card-head h3{margin:0;font-size:15px;font-weight:600}.gov-card-head p{margin:2px 0 0;font-size:13px;color:var(--color-text-muted)}.gov-security-row{display:flex;align-items:center;gap:var(--space-3, 12px);flex-wrap:wrap}.gov-muted{color:var(--color-text-muted);font-size:13px;margin:0}.gov-error-inline{color:var(--color-danger-600);font-size:13px;margin:0}.gov-page{display:flex;flex-direction:column;gap:0}@media(max-width:640px){.gov-inline-grid{grid-template-columns:1fr!important}}.gov-overview{display:flex;flex-direction:column;gap:var(--space-5)}.gov-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4)}.gov-policy-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--space-3)}.gov-policy-list--full{gap:var(--space-4)}.gov-policy-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--color-gray-100)}.gov-policy-item:last-child{border-bottom:none;padding-bottom:0}.gov-policy-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.gov-policy-name{font-size:var(--font-size-base);font-weight:700;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gov-policy-desc{font-size:var(--font-size-sm);color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gov-policy-meta{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0}.gov-data-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-4)}.gov-data-control-item{display:flex;flex-direction:column;gap:var(--space-2)}.gov-data-control-label{font-size:var(--font-size-sm);font-weight:600;color:var(--color-text-muted)}.gov-permissions{display:flex;flex-direction:column;gap:var(--space-4)}.gov-filters{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.gov-select{min-height:36px;width:auto;padding:0 32px 0 10px;font-size:var(--font-size-base);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-gray-700);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;cursor:pointer}.gov-select:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f;outline:none}.gov-resource-ref{font-size:var(--font-size-base);color:var(--color-text)}.gov-all-label{font-size:var(--font-size-sm);color:var(--color-text-subtle);font-style:italic}.gov-matrix-subtitle{font-size:var(--font-size-sm);color:var(--color-text-subtle);font-weight:500;margin-left:var(--space-2)}.gov-permission-actions{display:flex;gap:var(--space-2);justify-content:flex-end}.gov-form-help{padding:var(--space-3) var(--space-4);border:1px solid var(--color-primary-200);border-radius:var(--radius-lg);background:var(--color-primary-50);font-size:var(--font-size-sm);color:var(--color-primary-700);line-height:1.5;margin:0}.gov-field-hint{font-size:var(--font-size-xs);font-weight:400;color:var(--color-text-subtle);line-height:1.4}.gov-profiles{display:flex;flex-direction:column;gap:var(--space-4)}.gov-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4)}.gov-profile-card{display:flex;flex-direction:column;gap:var(--space-2)}.gov-profile-name{font-size:var(--font-size-md);font-weight:800;color:var(--color-text)}.gov-profile-stat{font-size:var(--font-size-sm);font-weight:600;color:var(--color-primary-700)}.gov-profile-areas{font-size:var(--font-size-sm);color:var(--color-text-muted)}.gov-profile-perms{list-style:none;padding:0;margin:var(--space-2) 0 0;display:flex;flex-direction:column;gap:var(--space-2)}.gov-profile-perm{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--color-gray-100)}.gov-profile-perm-label{font-size:var(--font-size-sm);color:var(--color-text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gov-policies{display:flex;flex-direction:column;gap:var(--space-4)}.gov-form{display:flex;flex-direction:column;gap:var(--space-3);margin-bottom:var(--space-4);padding-bottom:var(--space-4);border-bottom:1px solid var(--color-gray-100)}.gov-form-row{display:flex;flex-wrap:wrap;gap:var(--space-3)}.gov-form-label{display:flex;flex-direction:column;gap:var(--space-1);font-size:var(--font-size-sm);font-weight:600;color:var(--color-text-muted);flex:1;min-width:140px}.gov-form-input{min-height:36px;padding:0 10px;font-size:var(--font-size-base);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text)}.gov-form-input:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f;outline:none}textarea.gov-form-input{min-height:60px;padding:8px 10px;resize:vertical}.gov-form-actions{display:flex;gap:var(--space-2)}.gov-form-error{font-size:var(--font-size-sm);color:var(--color-danger-700);margin:0}.gov-form-label-wide{flex-basis:100%}.gov-picker{display:flex;flex-direction:column;gap:var(--space-2)}.gov-picker-toolbar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.gov-picker-search{flex:1;min-width:160px;min-height:34px;padding:0 10px;font-size:var(--font-size-sm);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text)}.gov-picker-search:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f;outline:none}.gov-picker-toolbar-actions{display:flex;gap:var(--space-3)}.gov-picker-link{background:none;border:none;padding:0;font-size:var(--font-size-xs);font-weight:600;color:var(--color-primary-600);cursor:pointer}.gov-picker-link:hover{text-decoration:underline}.gov-picker-list{max-height:260px;overflow-y:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:var(--space-1) 0}.gov-picker-empty{font-size:var(--font-size-sm);color:var(--color-text-subtle);padding:var(--space-2) var(--space-3);margin:0}.gov-picker-group+.gov-picker-group{border-top:1px solid var(--color-gray-100)}.gov-picker-group-title{font-size:var(--font-size-xs);font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-subtle);padding:var(--space-2) var(--space-3) var(--space-1)}.gov-picker-item{display:flex;align-items:flex-start;gap:var(--space-2);padding:var(--space-2) var(--space-3);cursor:pointer;font-weight:400}.gov-picker-item:hover{background:var(--color-gray-50)}.gov-picker-item input{margin-top:2px;accent-color:var(--color-primary-600);flex-shrink:0}.gov-picker-item-text{display:flex;flex-direction:column;min-width:0}.gov-picker-item-label{font-size:var(--font-size-sm);color:var(--color-text)}.gov-picker-item-hint{font-size:var(--font-size-xs);color:var(--color-text-muted);line-height:1.4}.gov-picker-error{color:var(--color-danger-700)}.gov-approvals{display:flex;flex-direction:column;gap:var(--space-4)}.gov-onda2-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);min-height:180px;text-align:center}.gov-onda2-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:var(--radius-full);background:var(--color-warning-50);color:var(--color-warning-700);border:1px solid var(--color-warning-200);font-size:var(--font-size-xs);font-weight:700;letter-spacing:.04em;text-transform:uppercase}.gov-onda2-notice p{max-width:420px;font-size:var(--font-size-base);color:var(--color-text-muted);line-height:1.6;margin:0}.gov-approval-actions{display:flex;gap:var(--space-2);justify-content:flex-end}.gov-loading-text,.gov-empty-text{font-size:var(--font-size-base);color:var(--color-text-subtle);margin:0}.gov-error{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border:1px solid var(--color-danger-200);border-radius:var(--radius-lg);background:var(--color-danger-50);color:var(--color-danger-700);font-size:var(--font-size-base);font-weight:600;margin-bottom:var(--space-5)}.gov-error-retry{margin-left:auto;flex-shrink:0;min-height:30px;padding:0 12px;font-size:var(--font-size-sm);font-weight:700;border:1px solid var(--color-danger-200);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-danger-700);cursor:pointer}.gov-error-retry:hover{background:var(--color-danger-50)}.gov-providers{display:flex;flex-direction:column;gap:var(--space-4)}.gov-providers-desc{font-size:var(--font-size-sm);color:var(--color-text-muted);margin:0 0 var(--space-2);line-height:1.6}.gov-provider-list{display:flex;flex-direction:column;gap:var(--space-3)}.gov-provider-card{overflow:visible}.gov-provider-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%}.gov-provider-name{display:flex;align-items:center;gap:7px;font-weight:700;font-size:var(--font-size-base);color:var(--color-text)}.gov-provider-status{display:inline-flex;align-items:center;gap:5px;font-size:var(--font-size-xs);font-weight:700;padding:2px 9px;border-radius:var(--radius-full)}.gov-provider-status--ok{background:var(--color-success-50);color:var(--color-success-700);border:1px solid var(--color-success-200)}.gov-provider-status--missing{background:var(--color-gray-50);color:var(--color-gray-500);border:1px solid var(--color-gray-200)}.gov-provider-actions{display:flex;gap:var(--space-2)}.gov-provider-azure-status{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-gray-100)}.gov-provider-azure-ok{font-size:var(--font-size-xs);color:var(--color-success-700);font-weight:600}.gov-provider-azure-warn{font-size:var(--font-size-xs);color:var(--color-warning-700);font-weight:600}.gov-models{display:flex;flex-direction:column;gap:var(--space-4)}.gov-models-notice{padding:var(--space-3) var(--space-4);border:1px solid var(--color-primary-200);border-radius:var(--radius-lg);background:var(--color-primary-50);font-size:var(--font-size-sm);color:var(--color-primary-700);line-height:1.5}.gov-model-list{display:flex;flex-direction:column;gap:var(--space-2)}.gov-model-item{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) 0;cursor:pointer;border-bottom:1px solid var(--color-gray-50)}.gov-model-item:last-child{border-bottom:none}.gov-model-checkbox{width:16px;height:16px;flex:0 0 auto;accent-color:var(--color-primary-600);cursor:pointer}.gov-model-label{flex:1;font-size:var(--font-size-base);color:var(--color-text);font-weight:500}.gov-model-provider{font-size:var(--font-size-xs);color:var(--color-text-muted);font-family:monospace}.gov-model-tier{display:inline-flex;align-items:center;padding:2px 7px;border-radius:var(--radius-full);font-size:10px;font-weight:700}.gov-model-tier--included{background:#dcfce7;color:#166534}.gov-model-tier--byok{background:var(--color-primary-100);color:var(--color-primary-700)}.gov-models-footer{display:flex;align-items:center;gap:var(--space-3);padding-top:var(--space-2)}.gov-models-saved{font-size:var(--font-size-sm);color:var(--color-success-700);font-weight:700}.auditoria-page{display:flex;flex-direction:column;gap:20px}.auditoria-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.auditoria-charts-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:860px){.auditoria-charts-row{grid-template-columns:1fr}}.audit-chart-card{min-height:180px}.audit-chart-title{font-size:13px;font-weight:700;color:var(--color-gray-800)}.audit-chart-subtitle{font-size:11px;color:var(--color-text-subtle);font-weight:500}.audit-chart-wrap{width:100%;overflow:hidden}.audit-chart-wrap svg{display:block;width:100%}.audit-chart-area{fill:#2563eb1a}.audit-chart-line{fill:none;stroke:var(--color-primary-600);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.audit-chart-line-latency{fill:none;stroke:#d97706;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.audit-chart-area-latency{fill:#d9770614}.audit-chart-dot{fill:var(--color-primary-600)}.audit-chart-dot-latency{fill:#d97706}.audit-chart-grid-line{stroke:var(--color-border);stroke-width:1}.audit-chart-label{font-size:9px;fill:var(--color-text-subtle);font-family:inherit}.auditoria-main-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}@media(max-width:1100px){.auditoria-main-row{grid-template-columns:1fr}}.audit-alerts-panel{display:flex;flex-direction:column;gap:0}.audit-alert-item{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid var(--color-border)}.audit-alert-item:last-child{border-bottom:none}.audit-alert-header{display:flex;align-items:center;gap:6px}.audit-alert-dot{width:7px;height:7px;border-radius:999px;flex-shrink:0}.audit-alert-dot-high{background:#dc2626}.audit-alert-dot-medium{background:#d97706}.audit-alert-dot-low{background:#16a34a}.audit-alert-title{font-size:12px;font-weight:700;color:var(--color-gray-800)}.audit-alert-desc{font-size:11px;color:var(--color-text-muted);padding-left:13px}.audit-alert-time{font-size:10px;color:var(--color-text-subtle);padding-left:13px}.audit-export-row{display:flex;gap:8px;flex-wrap:wrap}.audit-cell-user{font-size:12px;color:var(--color-gray-700);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px;display:block}.audit-cell-skill{font-size:12px;color:var(--color-primary-700);font-weight:600}.audit-cell-action{font-size:11px;color:var(--color-gray-500);font-family:ui-monospace,Cascadia Code,monospace}.audit-cell-resource{font-size:11px;color:var(--color-gray-600);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.audit-cell-time{font-size:11px;color:var(--color-gray-500);white-space:nowrap}.audit-cell-mcp{font-size:11px;color:var(--color-info-700);font-weight:500}.audit-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:8px}.audit-pagination-info{font-size:12px;color:var(--color-text-muted)}.chat-audit-transcript{max-width:720px;width:100%;display:flex;flex-direction:column;max-height:82vh}.chat-audit-transcript-meta{margin:2px 0 12px;font-size:12.5px;color:var(--color-text-muted)}.chat-audit-transcript-body{overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.chat-audit-empty{font-size:13px;color:var(--color-text-subtle);text-align:center;padding:24px 0}.chat-audit-msg{border:1px solid var(--color-border);border-radius:10px;padding:10px 12px;background:var(--color-surface)}.chat-audit-msg--user{background:var(--color-primary-50);border-color:var(--color-primary-200)}.chat-audit-msg-role{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);margin-bottom:6px}.chat-audit-msg-time{font-weight:600;text-transform:none;letter-spacing:0;color:var(--color-text-subtle);margin-left:4px}.chat-audit-msg-content{font-size:13.5px;line-height:1.5;color:var(--color-text);white-space:pre-wrap;word-break:break-word}.chat-audit-msg-sources{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chat-audit-sources-label{font-size:11px;font-weight:700;color:var(--color-text-muted)}.chat-audit-source{font-size:11px;background:var(--color-gray-100);border-radius:6px;padding:2px 7px;color:var(--color-text-muted)}.chat-audit-source a{display:inline-flex;align-items:center;gap:3px;color:var(--color-primary-600);text-decoration:none}.chat-audit-scroll{max-height:60vh;overflow-y:auto}.chat-audit-more,.chat-audit-end{text-align:center;font-size:12px;padding:10px 0;margin:0}.chat-audit-more{color:var(--color-text-muted)}.chat-audit-end{color:var(--color-text-subtle)}.chat-audit-msg-rich{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chat-audit-rich-line{font-size:12px;background:var(--color-gray-100);border:1px solid var(--color-border);border-radius:6px;padding:2px 8px;color:var(--color-text)}.conectores-page{display:flex;flex-direction:column;gap:var(--space-5);max-width:1400px}.conectores-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4)}@media(max-width:1100px){.conectores-stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.conectores-stat-grid{grid-template-columns:1fr}}.conectores-layout{display:grid;grid-template-columns:1fr 340px;gap:var(--space-4);align-items:start}@media(max-width:1024px){.conectores-layout{grid-template-columns:1fr}}.conectores-table-card{min-width:0;overflow:hidden}.connector-name-cell{display:flex;align-items:center;gap:var(--space-2)}.connector-name-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--radius-lg);background:var(--color-primary-50);color:var(--color-primary-600);flex-shrink:0}.connector-name-text{font-weight:700;font-size:var(--font-size-base);color:var(--color-text)}.connector-actions{display:flex;align-items:center;gap:var(--space-1)}.connector-action-btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--color-text-muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast)}.connector-action-btn:hover{background:var(--color-gray-100);border-color:var(--color-border);color:var(--color-text)}.connector-action-btn.danger:hover{background:var(--color-danger-50);border-color:var(--color-danger-200);color:var(--color-danger-600)}.tools-panel{position:sticky;top:0}.tools-panel-header{display:flex;align-items:center;gap:var(--space-2)}.tools-panel-title{font-size:var(--font-size-base);font-weight:800;color:var(--color-text);margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tools-panel-count{font-size:var(--font-size-xs);font-weight:700;color:var(--color-text-subtle);padding:2px 7px;background:var(--color-gray-100);border-radius:var(--radius-full);white-space:nowrap}.tools-list{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-3)}.tool-item{display:flex;flex-direction:column;gap:4px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-gray-50);transition:border-color var(--transition-fast),background var(--transition-fast)}.tool-item:hover{border-color:var(--color-primary-200);background:var(--color-primary-50)}.tool-item-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.tool-item-name{font-size:var(--font-size-sm);font-weight:700;color:var(--color-text);font-family:ui-monospace,Cascadia Code,Fira Mono,monospace}.tool-item-description{font-size:var(--font-size-xs);color:var(--color-text-muted);line-height:1.4;margin:0}.tool-item-meta{display:flex;align-items:center;gap:var(--space-1);flex-wrap:wrap}.health-donut-container{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-4) 0 var(--space-2)}.health-donut{position:relative;width:96px;height:96px}.health-donut svg{transform:rotate(-90deg)}.health-donut-label{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.health-donut-pct{font-size:22px;font-weight:800;color:var(--color-text);line-height:1}.health-donut-sub{font-size:10px;font-weight:600;color:var(--color-text-subtle)}.health-legend{display:flex;flex-direction:column;gap:var(--space-1);width:100%}.health-legend-item{display:flex;align-items:center;justify-content:space-between;font-size:var(--font-size-xs)}.health-legend-dot{width:8px;height:8px;border-radius:var(--radius-full);flex-shrink:0;margin-right:6px}.health-legend-key{display:flex;align-items:center;font-weight:600;color:var(--color-text-muted)}.health-legend-val{font-weight:700;color:var(--color-text)}.tools-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-7) var(--space-4);gap:var(--space-2);color:var(--color-text-subtle);text-align:center}.tools-panel-empty svg{opacity:.35}.tools-panel-empty p{margin:0;font-size:var(--font-size-sm);font-weight:600;color:var(--color-text-muted)}.tools-panel-empty span{font-size:var(--font-size-xs);color:var(--color-text-subtle)}.connector-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:1000;display:flex;align-items:center;justify-content:center;padding:var(--space-5)}.connector-modal{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-2xl);box-shadow:var(--shadow-lg);width:100%;max-width:520px;max-height:90vh;overflow-y:auto;padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4)}.connector-modal-title{font-size:var(--font-size-lg);font-weight:800;color:var(--color-text);margin:0}.connector-modal-fields{display:flex;flex-direction:column;gap:var(--space-3)}.connector-modal-field{display:flex;flex-direction:column;gap:var(--space-1)}.connector-modal-field label{font-size:var(--font-size-sm);font-weight:700;color:var(--color-text-muted)}.connector-modal-field input,.connector-modal-field select{width:100%}.connector-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2)}.auth-type-label{font-size:var(--font-size-xs);font-weight:700;font-family:ui-monospace,Cascadia Code,Fira Mono,monospace;color:var(--color-text-muted);padding:2px 6px;background:var(--color-gray-100);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--color-border);border-top-color:var(--color-primary-600);border-radius:50%;animation:spin .7s linear infinite}.orch-error{margin:12px 0;padding:10px 14px;border-radius:var(--radius-md);background:#fffbeb;border:1px solid #fbbf24;color:#92400e;font-size:var(--font-size-sm)}.orch-muted{color:var(--color-text-muted);font-size:var(--font-size-sm)}.orch-editor{padding:18px;margin:12px 0 20px;display:flex;flex-direction:column;gap:16px}.orch-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.orch-field{display:flex;flex-direction:column;gap:6px}.orch-field>span{font-size:var(--font-size-sm);font-weight:600;color:var(--color-text)}.orch-field input,.orch-field textarea{width:100%;padding:9px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);font:inherit;background:var(--color-surface);color:var(--color-text)}.orch-field textarea{resize:vertical}.orch-hint{color:var(--color-text-muted);font-size:11px}.orch-skill-picker{display:flex;flex-direction:column;gap:6px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:8px;max-height:280px;overflow-y:auto}.orch-skill-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px;border-radius:var(--radius-sm)}.orch-skill-row.sel{background:var(--color-primary-50)}.orch-skill-check{display:flex;align-items:center;gap:8px;cursor:pointer;flex:1;min-width:0}.orch-skill-check input{width:15px;height:15px;min-height:0;flex-shrink:0}.orch-skill-name{font-weight:500}.orch-skill-area{font-size:11px;color:var(--color-text-muted);background:var(--color-bg, #f3f4f6);padding:1px 7px;border-radius:var(--radius-full)}.orch-load-toggle{display:inline-flex;border:1px solid var(--color-border);border-radius:var(--radius-full);overflow:hidden;flex-shrink:0}.orch-load-toggle button{border:none;background:transparent;padding:3px 10px;font-size:11px;font-family:monospace;cursor:pointer;color:var(--color-text-muted)}.orch-load-toggle button.on{background:var(--color-primary-600, var(--color-primary-600));color:#fff;font-weight:700}.orch-editor-actions{display:flex;justify-content:flex-end;gap:10px}.orch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;margin-top:14px}.orch-card{padding:16px;display:flex;flex-direction:column;gap:10px}.orch-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.orch-card-head h3{margin:0;font-size:var(--font-size-lg)}.orch-card-actions{display:flex;gap:4px;flex-shrink:0}.orch-icon-btn{border:1px solid var(--color-border);background:var(--color-surface);border-radius:var(--radius-sm);padding:5px;cursor:pointer;color:var(--color-text-muted);display:inline-flex}.orch-icon-btn:hover{background:var(--color-primary-50);color:var(--color-primary-700)}.orch-icon-btn.danger:hover{background:#fef2f2;color:#dc2626;border-color:#fca5a5}.orch-card-skills{display:flex;flex-wrap:wrap;gap:6px}.orch-skill-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:3px 9px;border-radius:var(--radius-full);background:var(--color-primary-50);color:var(--color-primary-700);border:1px solid var(--color-primary-200)}.orch-skill-badge.on_demand{background:var(--color-warning-soft, #fffbeb);color:var(--color-warning-dark, #b45309);border-color:var(--color-warning, #f59e0b)}.orch-skill-badge em{font-style:normal;font-family:monospace;font-size:10px;opacity:.8}.orch-rules{margin:0;font-size:var(--font-size-sm);color:var(--color-text-muted);white-space:pre-wrap;border-left:2px solid var(--color-border);padding-left:10px}.sched-page{display:flex;flex-direction:column;gap:var(--space-4)}.sched-loading{padding:var(--space-6);color:var(--color-text-muted);font-size:var(--font-size-base)}.sched-error{padding:10px 12px;border:1px solid var(--color-danger-200);border-radius:var(--radius-md);background:var(--color-danger-50);color:var(--color-danger-700);font-size:var(--font-size-base);font-weight:500}.sched-name-cell{display:flex;flex-direction:column;gap:1px}.sched-name-text{font-weight:700;color:var(--color-text)}.sched-name-sub{font-size:var(--font-size-sm);color:var(--color-text-muted)}.sched-target{display:inline-flex;align-items:center;gap:8px}.sched-target-name{color:var(--color-text)}.sched-status{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.sched-last{display:inline-flex;align-items:center;gap:8px}.sched-last-time{font-size:var(--font-size-sm);color:var(--color-text-muted)}.sched-last-never{font-size:var(--font-size-sm);color:var(--color-text-subtle)}.sched-actions{display:inline-flex;align-items:center;gap:4px;justify-content:flex-end}.sched-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--color-text-muted);cursor:pointer}.sched-icon-btn:hover{border-color:var(--color-border);background:var(--color-gray-100);color:var(--color-text)}.sched-icon-danger:hover{background:var(--color-danger-50);color:var(--color-danger-700);border-color:var(--color-danger-200)}.sched-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:24px}.sched-modal{width:100%;max-width:560px;max-height:90vh;overflow-y:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);display:flex;flex-direction:column}.sched-modal-head,.sched-modal-foot{display:flex;align-items:center;padding:16px 20px}.sched-modal-head{justify-content:space-between;border-bottom:1px solid var(--color-gray-100)}.sched-modal-head h2{margin:0;font-size:var(--font-size-lg);font-weight:800;color:var(--color-text)}.sched-modal-foot{justify-content:flex-end;gap:8px;border-top:1px solid var(--color-gray-100)}.sched-modal-body{display:flex;flex-direction:column;gap:14px;padding:20px}.sched-field{display:flex;flex-direction:column;gap:6px;font-size:var(--font-size-sm);font-weight:600;color:var(--color-text)}.sched-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:520px){.sched-row{grid-template-columns:1fr}}.sched-radio-row{display:flex;gap:8px}.sched-radio-row label{flex:1;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);font-weight:500;cursor:pointer}.sched-radio-row label.on{border-color:var(--color-primary-400);background:var(--color-primary-50);color:var(--color-primary-700);font-weight:700}.sched-check{display:inline-flex;align-items:center;gap:8px;font-size:var(--font-size-base);font-weight:600;color:var(--color-text)}.sched-check input{width:auto;min-height:0}.privacy-page{display:flex;flex-direction:column;gap:16px}.privacy-error{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border:1px solid var(--color-danger-200);border-radius:var(--radius-lg);background:var(--color-danger-50);color:var(--color-danger-700);font-size:var(--font-size-base);font-weight:600}.privacy-error-retry{margin-left:auto;flex-shrink:0;min-height:30px;padding:0 12px;font-size:var(--font-size-sm);font-weight:700;border:1px solid var(--color-danger-200);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-danger-700);cursor:pointer}.privacy-error-retry:hover{background:var(--color-danger-50)}.privacy-provider-list{display:flex;flex-direction:column;gap:12px}.privacy-provider-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.privacy-provider-name{font-weight:600;min-width:96px}.privacy-provider-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.privacy-empty{color:var(--color-text-muted);font-size:13px}.privacy-fact{margin:0}.privacy-fact+.privacy-fact{margin-top:6px}.privacy-fact-muted{color:var(--color-text-muted);font-size:13px}.privacy-warning{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;padding:10px 12px;border:1px solid var(--color-warning-200, #fed7aa);border-radius:var(--radius-md);background:var(--color-warning-50, #fff7ed);color:var(--color-warning-800, #9a3412);font-size:13px;line-height:1.45}.privacy-warning svg{flex-shrink:0;margin-top:1px}.privacy-disclaimer{display:flex;align-items:flex-start;gap:8px;color:var(--color-text-muted);font-size:13px;line-height:1.5}.privacy-disclaimer svg{flex-shrink:0;margin-top:2px}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--color-text);background:var(--color-bg)}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid var(--color-primary-200);border-radius:6px;padding:0 12px;color:var(--color-text);background:var(--color-surface);cursor:pointer}button:hover{border-color:var(--color-primary-400);background:var(--color-primary-50)}button:disabled{cursor:not-allowed;opacity:.6}textarea,input:not([type=checkbox]):not([type=radio]),select{width:100%;min-width:0;min-height:36px;border:1px solid var(--color-gray-300);border-radius:6px;padding:8px 10px;color:var(--color-text);background:var(--color-surface);outline:none}textarea:focus,input:focus,select:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f}.primary-button{color:#fff;border-color:var(--color-primary-600);background:var(--color-primary-600)}.primary-button:hover{color:#fff;border-color:var(--color-primary-700);background:var(--color-primary-700)}.danger-button{color:#991b1b;border-color:#fecaca;background:#fff1f2}.danger-button:hover{border-color:#fca5a5;background:#ffe4e6}.app-shell{width:100%;height:100%;display:grid;grid-template-columns:252px minmax(0,1fr);grid-template-rows:1fr;overflow:hidden;transition:grid-template-columns .2s ease}.app-shell--collapsed{grid-template-columns:64px minmax(0,1fr)}.app-shell--collapsed .sidebar-logo-text,.app-shell--collapsed .sidebar-logo-icon,.app-shell--collapsed .sidebar-nav-label{display:none}.app-shell--collapsed .sidebar-logo{justify-content:center;padding:0 8px}.app-shell--collapsed .sidebar-new-conversation,.app-shell--collapsed .sidebar-nav-item{justify-content:center;gap:0;padding-left:0;padding-right:0}.app-shell--collapsed .sidebar-recents{display:none}.app-shell--collapsed .sidebar-footer{align-items:center;padding-left:0;padding-right:0}.app-shell--collapsed .sidebar-user{justify-content:center}.app-shell--collapsed .sidebar-user-info,.app-shell--collapsed .sidebar-user-action,.app-shell--collapsed .sidebar-footer .org-switcher,.app-shell--collapsed .sidebar-footer .theme-toggle{display:none}.sidebar{display:flex;flex-direction:column;gap:0;height:100%;border-right:1px solid var(--color-border);background:var(--color-surface);overflow:hidden}.sidebar-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-height:56px;padding:0 16px;border-bottom:1px solid var(--color-border)}.sidebar-logo-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--color-primary-600);color:#fff;flex-shrink:0}.sidebar-logo-text{min-width:0}.sidebar-logo-text strong{display:block;font-size:14px;font-weight:800;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-logo-text span{display:block;font-size:11px;font-weight:600;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-new-conversation{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:12px 8px 4px;min-height:40px;border:1px solid var(--color-border);border-radius:9px;padding:0 12px;color:var(--color-text);background:var(--color-surface);cursor:pointer;font-size:13px;font-weight:700;transition:background .12s ease,color .12s ease,border-color .12s ease}.sidebar-new-conversation:hover,.sidebar-new-conversation.active{border-color:var(--color-primary-200);color:var(--color-primary-700);background:var(--color-primary-50)}.sidebar-new-conversation svg{flex-shrink:0}.sidebar-nav{flex:0 0 auto;min-height:auto;overflow:visible;display:flex;flex-direction:column;gap:2px;padding:8px}.sidebar-nav::-webkit-scrollbar{width:8px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:var(--color-gray-300);border-radius:999px;border:2px solid transparent;background-clip:padding-box}.sidebar-nav-item{display:flex;align-items:center;gap:10px;min-height:38px;border:0;border-radius:8px;padding:0 12px;color:var(--color-gray-600);background:transparent;cursor:pointer;text-decoration:none;font-size:13px;font-weight:600;transition:background .12s ease,color .12s ease}.sidebar-nav-item:hover{color:var(--color-text);background:var(--color-gray-100)}.sidebar-nav-item.active{color:var(--color-primary-700);background:var(--color-primary-50);font-weight:700}.sidebar-nav-item svg{flex-shrink:0;width:17px;height:17px}.sidebar-recents{flex:1 1 0;min-height:0;display:flex;flex-direction:column;padding:8px 8px 4px;border-top:1px solid var(--color-border);overflow:hidden}.sidebar-recents-title{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:6px;width:100%;margin:0 0 4px;padding:4px 8px;border:0;border-radius:7px;background:transparent;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-subtle);cursor:pointer}.sidebar-recents-title:hover{color:var(--color-text-muted);background:var(--color-gray-100)}.sidebar-recents-chevron{flex-shrink:0;transition:transform .15s ease}.sidebar-recents.collapsed{flex:0 0 auto;min-height:0}.sidebar-recents.collapsed .sidebar-recents-chevron{transform:rotate(-90deg)}.sidebar-recents-list{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:1px;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:transparent transparent;transition:scrollbar-color .2s ease}.sidebar-recents-list:hover{scrollbar-color:var(--color-gray-300) transparent}.sidebar-recents-list::-webkit-scrollbar{width:8px}.sidebar-recents-list::-webkit-scrollbar-track{background:transparent}.sidebar-recents-list::-webkit-scrollbar-thumb{background:transparent;border-radius:999px;border:2px solid transparent;background-clip:padding-box;transition:background .2s ease}.sidebar-recents-list:hover::-webkit-scrollbar-thumb{background:var(--color-gray-300);background-clip:padding-box}.sidebar-recents-list::-webkit-scrollbar-thumb:hover{background:var(--color-gray-400, #9ca3af);background-clip:padding-box}.sidebar-recents-list[hidden]{display:none}.sidebar-recents-empty{padding:6px 8px;font-size:12px;color:var(--color-text-muted)}.sidebar-recents-item{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--color-gray-600);font-size:12.5px;text-align:left;cursor:pointer}.sidebar-recents-item:hover{color:var(--color-text);background:var(--color-gray-100)}.sidebar-recents-item.active{color:var(--color-primary-700);background:var(--color-primary-50);font-weight:600}.sidebar-recents-item:disabled{cursor:default;opacity:1}.sidebar-recents-item-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer{flex:0 0 auto;margin-top:auto;display:flex;flex-direction:column;gap:6px;padding:10px 8px;border-top:1px solid var(--color-border)}.sidebar-user{display:flex;align-items:center;gap:8px;padding:4px;border-radius:8px}.sidebar-user-avatar{width:30px;height:30px;border-radius:999px;background:var(--color-primary-600);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex-shrink:0}.sidebar-user-info{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.sidebar-user-name{font-size:12.5px;font-weight:700;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-org{font-size:10.5px;font-weight:600;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-action{width:30px;min-width:30px;height:30px;padding:0;border:0;border-radius:7px;color:var(--color-text-muted);background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-user-action:hover{color:var(--color-text);background:var(--color-gray-100)}.main-column{display:flex;flex-direction:column;min-height:0;overflow:hidden}.topbar{display:none;align-items:center;gap:10px;min-height:56px;padding:0 20px;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-shrink:0}.topbar-search{flex:1;max-width:360px;display:flex;align-items:center;gap:8px;border:1px solid var(--color-border);border-radius:8px;padding:0 10px;background:var(--color-bg);min-height:36px}.topbar-search svg{color:var(--color-text-subtle);flex-shrink:0;width:15px;height:15px}.topbar-search input{min-height:0;height:34px;border:0;padding:0;background:transparent;font-size:13px;color:var(--color-gray-600)}.topbar-search input:focus{box-shadow:none}.topbar-search input::placeholder{color:var(--color-text-subtle)}.topbar-spacer{flex:1}.topbar-actions{display:flex;align-items:center;gap:4px}.topbar-icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border:1px solid transparent;border-radius:7px;color:var(--color-text-muted);background:transparent}.topbar-icon-button:hover{border-color:var(--color-border);color:var(--color-text);background:var(--color-gray-100)}.topbar-avatar{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:4px 8px;background:transparent;cursor:pointer;min-height:34px}.topbar-avatar:hover{border-color:var(--color-border);background:var(--color-gray-100)}.topbar-avatar-circle{width:28px;height:28px;border-radius:999px;background:var(--color-primary-600);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0}.topbar-avatar-info{display:flex;flex-direction:column;gap:1px;text-align:left}.topbar-avatar-name{font-size:12px;font-weight:700;color:var(--color-text);white-space:nowrap}.topbar-avatar-org{font-size:10px;font-weight:600;color:var(--color-text-muted);white-space:nowrap}.page-content{flex:1;min-height:0;overflow-y:auto;padding:28px;background:var(--color-bg)}.page-canvas{max-width:var(--content-max-width);margin-inline:auto;height:100%}.page-canvas--full{max-width:none}.topbar-menu-button{display:none;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:1px solid transparent;border-radius:7px;color:var(--color-gray-600);background:transparent}.topbar-menu-button:hover{border-color:var(--color-border);background:var(--color-gray-100)}.sidebar-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:7px;color:var(--color-gray-600);background:transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.sidebar-collapse-toggle:hover{border-color:var(--color-border);background:var(--color-gray-100);color:var(--color-primary-700)}.app-shell--collapsed .sidebar-collapse-toggle{margin-left:0}@media(max-width:768px){.sidebar-collapse-toggle{display:none}}.sidebar-overlay{display:none}.card{border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);box-shadow:0 1px 3px #0f172a0f}.card-body{padding:20px}.card-header{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--color-gray-100)}.card-header h2{margin:0;font-size:15px;font-weight:800;color:var(--color-text)}.placeholder-page{display:flex;flex-direction:column;gap:20px}.placeholder-page-header{display:flex;align-items:center;gap:12px}.placeholder-page-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--color-primary-50);color:var(--color-primary-600);flex-shrink:0}.placeholder-page-header h1{margin:0;font-size:20px;font-weight:800;color:var(--color-text)}.placeholder-page-header p{margin:2px 0 0;font-size:13px;color:var(--color-text-muted);font-weight:500}.placeholder-card-body{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;gap:10px;color:var(--color-text-subtle)}.placeholder-card-body svg{width:36px;height:36px;opacity:.4}.placeholder-card-body strong{font-size:14px;font-weight:700;color:var(--color-text-muted)}.placeholder-card-body span{font-size:12px;font-weight:500;color:var(--color-text-subtle)}.badge{display:inline-flex;align-items:center;min-height:20px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:700}.badge-blue{background:var(--color-primary-50);color:var(--color-primary-700);border:1px solid var(--color-primary-200)}.badge-gray{background:var(--color-gray-100);color:var(--color-gray-600);border:1px solid var(--color-border)}:root{color-scheme:light;--color-primary-50: #eff6ff;--color-primary-100: #dbeafe;--color-primary-200: #bfdbfe;--color-primary-400: #60a5fa;--color-primary-500: #3b82f6;--color-primary-600: #2563eb;--color-primary-700: #1d4ed8;--color-primary-800: #1e40af;--color-gray-50: #f8fafc;--color-gray-100: #f1f5f9;--color-gray-200: #e2e8f0;--color-gray-300: #cbd5e1;--color-gray-400: #94a3b8;--color-gray-500: #64748b;--color-gray-600: #475569;--color-gray-700: #334155;--color-gray-800: #1e293b;--color-gray-900: #0f172a;--color-success-50: #f0fdf4;--color-success-200: #bbf7d0;--color-success-600: #16a34a;--color-success-700: #15803d;--color-warning-50: #fffbeb;--color-warning-200: #fde68a;--color-warning-600: #d97706;--color-warning-700: #b45309;--color-danger-50: #fff1f2;--color-danger-200: #fecaca;--color-danger-600: #dc2626;--color-danger-700: #b91c1c;--color-info-50: #f0f9ff;--color-info-200: #bae6fd;--color-info-600: #0284c7;--color-info-700: #0369a1;--color-bg: #f8fafc;--color-surface: #ffffff;--color-border: #e2e8f0;--color-text: #0f172a;--color-text-muted: #64748b;--color-text-subtle: #94a3b8;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 10px;--radius-2xl: 12px;--radius-full: 9999px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);--shadow-lg: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 28px;--space-8: 32px;--font-size-xs: 11px;--font-size-sm: 12px;--font-size-base: 13px;--font-size-md: 14px;--font-size-lg: 15px;--font-size-xl: 18px;--font-size-2xl: 22px;--font-size-3xl: 28px;--transition-fast: .12s ease;--transition-base: .18s ease;--content-max-width: 1920px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:var(--radius-md);border:1px solid transparent;font-size:var(--font-size-base);font-weight:600;cursor:pointer;transition:background var(--transition-fast),border-color var(--transition-fast),color var(--transition-fast),box-shadow var(--transition-fast);white-space:nowrap;flex-shrink:0;text-decoration:none;min-height:36px;padding:0 14px}.btn:focus-visible{outline:2px solid var(--color-primary-500);outline-offset:2px}.btn:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.btn-sm{min-height:28px;padding:0 10px;font-size:var(--font-size-sm);border-radius:var(--radius-sm)}.btn-primary{background:var(--color-primary-600);border-color:var(--color-primary-600);color:#fff}.btn-primary:hover{background:var(--color-primary-700);border-color:var(--color-primary-700);color:#fff}.btn-secondary{background:var(--color-surface);border-color:var(--color-border);color:var(--color-gray-700)}.btn-secondary:hover{background:var(--color-gray-50);border-color:var(--color-primary-200);color:var(--color-primary-700)}.btn-ghost{background:transparent;border-color:transparent;color:var(--color-gray-600)}.btn-ghost:hover{background:var(--color-gray-100);border-color:transparent;color:var(--color-gray-900)}.btn-danger{background:var(--color-danger-600);border-color:var(--color-danger-600);color:#fff}.btn-danger:hover{background:var(--color-danger-700);border-color:var(--color-danger-700);color:#fff}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:24px;z-index:2000;animation:confirm-fade .12s ease}.confirm-modal{position:relative;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg, 12px);box-shadow:0 24px 60px #00000047;width:100%;max-width:440px;padding:22px;animation:confirm-pop .14s ease}.confirm-close{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:pointer}.confirm-close:hover{background:var(--color-gray-100);color:var(--color-gray-900)}.confirm-body{display:flex;gap:14px;align-items:flex-start;padding-right:24px}.confirm-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;flex-shrink:0}.confirm-icon.is-danger{background:var(--color-danger-50);color:var(--color-danger-600)}.confirm-icon.is-info{background:var(--color-primary-50);color:var(--color-primary-600)}.confirm-text{display:flex;flex-direction:column;gap:4px}.confirm-title{margin:0;font-size:var(--font-size-lg, 16px);font-weight:700;color:var(--color-text, var(--color-gray-900))}.confirm-message{font-size:var(--font-size-base, 14px);line-height:1.5;color:var(--color-text-muted)}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}@keyframes confirm-fade{0%{opacity:0}to{opacity:1}}@keyframes confirm-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.badge-success{background:var(--color-success-50);color:var(--color-success-700);border:1px solid var(--color-success-200)}.badge-warning{background:var(--color-warning-50);color:var(--color-warning-700);border:1px solid var(--color-warning-200)}.badge-danger{background:var(--color-danger-50);color:var(--color-danger-700);border:1px solid var(--color-danger-200)}.badge-neutral{background:var(--color-gray-100);color:var(--color-gray-600);border:1px solid var(--color-gray-200)}.badge-info{background:var(--color-info-50);color:var(--color-info-700);border:1px solid var(--color-info-200)}.badge-dot{width:6px;height:6px;border-radius:var(--radius-full);background:currentColor;flex-shrink:0;display:inline-block}.ui-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-full);background:var(--color-primary-600);color:#fff;font-weight:700;flex-shrink:0;overflow:hidden}.ui-avatar-sm{width:24px;height:24px;font-size:9px}.ui-avatar-md{width:32px;height:32px;font-size:11px}.ui-avatar-lg{width:40px;height:40px;font-size:14px}.ui-avatar img{width:100%;height:100%;object-fit:cover}.card-flat{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface)}.stat-card{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-md);padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-2);min-width:160px}.stat-card-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.stat-card-label{font-size:var(--font-size-sm);font-weight:600;color:var(--color-text-muted);line-height:1.3}.stat-card-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:var(--radius-lg);background:var(--color-primary-50);color:var(--color-primary-600);flex-shrink:0}.stat-card-value{font-size:var(--font-size-3xl);font-weight:800;color:var(--color-text);line-height:1.1}.stat-card-delta{display:inline-flex;align-items:center;gap:3px;font-size:var(--font-size-sm);font-weight:700}.stat-card-delta-up{color:var(--color-success-600)}.stat-card-delta-down{color:var(--color-danger-600)}.page-header{display:flex;align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-6);flex-wrap:wrap}.page-header-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-lg);background:var(--color-primary-50);color:var(--color-primary-600);flex-shrink:0}.page-header-text{flex:1;min-width:0}.page-header-text h1{margin:0;font-size:20px;font-weight:800;color:var(--color-text);line-height:1.2}.page-header-text p{margin:3px 0 0;font-size:var(--font-size-base);color:var(--color-text-muted);font-weight:500}.page-header-actions{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0;padding-top:2px}.search-input-wrapper{position:relative;display:inline-flex;align-items:center}.search-input-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--color-text-subtle);pointer-events:none;display:flex;align-items:center}.search-input-wrapper input.search-input{width:100%;min-height:36px;padding:0 10px 0 34px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);font-size:var(--font-size-base);color:var(--color-text);outline:none;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.search-input::placeholder{color:var(--color-text-subtle)}.search-input:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f}.tabs-list{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--color-border);padding-bottom:0;margin-bottom:var(--space-5);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.tab-trigger{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;flex-shrink:0;white-space:nowrap;font-size:var(--font-size-base);font-weight:600;color:var(--color-text-muted);background:transparent;border:none;border-bottom:2px solid transparent;border-radius:0;cursor:pointer;transition:color var(--transition-fast),border-color var(--transition-fast);min-height:0;margin-bottom:-1px}.tab-trigger:hover{color:var(--color-primary-700);background:transparent;border-color:transparent}.tab-trigger[aria-selected=true],.tab-trigger.active{color:var(--color-primary-700);border-bottom-color:var(--color-primary-600);background:transparent}.ui-table-wrapper{width:100%;overflow-x:auto}.ui-table{width:100%;border-collapse:collapse;font-size:var(--font-size-base);color:var(--color-text)}.ui-table thead tr{background:var(--color-gray-50);border-bottom:1px solid var(--color-border)}.ui-table thead th{padding:10px 14px;text-align:left;font-size:var(--font-size-sm);font-weight:700;color:var(--color-text-muted);white-space:nowrap}.ui-table tbody tr{border-bottom:1px solid var(--color-gray-100);transition:background var(--transition-fast)}.ui-table tbody tr:last-child{border-bottom:none}.ui-table tbody tr:hover{background:var(--color-primary-50)}.ui-table tbody td{padding:11px 14px;vertical-align:middle}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);padding:var(--space-8);color:var(--color-text-subtle);text-align:center}.empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:var(--radius-xl);background:var(--color-gray-100);color:var(--color-gray-400);opacity:.8}.empty-state-title{font-size:var(--font-size-md);font-weight:700;color:var(--color-gray-600);margin:0}.empty-state-description{font-size:var(--font-size-base);color:var(--color-text-subtle);margin:0;max-width:340px;line-height:1.5}.toolbar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-4)}.toolbar-left{display:flex;align-items:center;gap:var(--space-2);flex:1;min-width:0}.toolbar-right{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0}.filter-select{min-height:34px;width:auto;padding:0 28px 0 10px;font-size:var(--font-size-base);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-gray-700);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;cursor:pointer}.filter-select:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #3b82f61f;outline:none}.showcase-root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--color-text);background:var(--color-bg);padding:var(--space-7);min-height:100vh}.showcase-section{margin-bottom:var(--space-8)}.showcase-section-title{font-size:var(--font-size-lg);font-weight:800;color:var(--color-text);margin:0 0 var(--space-4) 0;padding-bottom:var(--space-2);border-bottom:2px solid var(--color-primary-100)}.showcase-row{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.showcase-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-4)}.showcase-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4)}.showcase-label{font-size:var(--font-size-xs);font-weight:700;color:var(--color-text-subtle);text-transform:uppercase;letter-spacing:.04em;margin-bottom:var(--space-1)}.skills-page{display:flex;flex-direction:column;gap:0}.skills-stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4);margin-bottom:var(--space-5)}.skills-layout{display:flex;gap:var(--space-5);align-items:flex-start}.skills-main{flex:1;min-width:0}@media(max-width:1024px){.skills-layout{flex-direction:column}.skill-detail-panel{width:100%;position:static}}.skills-section{margin-bottom:var(--space-7)}.skills-section-title{display:flex;align-items:center;gap:var(--space-2);margin:0 0 var(--space-4) 0;font-size:var(--font-size-md);font-weight:800;color:var(--color-text)}.skills-section-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;border-radius:var(--radius-full);padding:0 6px;font-size:var(--font-size-xs);font-weight:700;background:var(--color-primary-100);color:var(--color-primary-700)}.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-4)}.skill-card{display:flex;flex-direction:column;gap:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-md);padding:var(--space-4);transition:box-shadow var(--transition-fast),border-color var(--transition-fast)}.skill-card:hover{border-color:var(--color-primary-200);box-shadow:var(--shadow-lg)}.skill-card-top{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.skill-card-body{flex:1;display:flex;flex-direction:column;gap:var(--space-1)}.skill-card-name{margin:0;font-size:var(--font-size-md);font-weight:800;color:var(--color-text);line-height:1.3}.skill-card-desc{margin:0;font-size:var(--font-size-base);color:var(--color-text-muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.skill-card-tags{display:flex;flex-wrap:wrap;gap:4px}.skill-tag{font-size:10px;padding:0 6px}.skill-card-meta{display:flex;align-items:center;gap:var(--space-4)}.skill-meta-item{display:inline-flex;align-items:center;gap:5px;font-size:var(--font-size-sm);font-weight:600;color:var(--color-text-muted)}.skill-meta-item svg{color:var(--color-text-subtle);flex-shrink:0}.skill-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);border-top:1px solid var(--color-gray-100);padding-top:var(--space-3);margin-top:auto}.skill-card-actions-end{margin-left:auto;display:flex;align-items:center;gap:var(--space-1)}.skill-action-icon{padding-left:8px;padding-right:8px}.skill-action-danger{color:var(--color-danger-600)}.skill-action-danger:hover{background:var(--color-danger-50);color:var(--color-danger-700)}.skill-status-switch{margin-left:auto;display:inline-flex;align-items:center;gap:var(--space-2);padding:0;border:none;background:transparent;cursor:pointer}.skill-status-switch:disabled{opacity:.5;cursor:not-allowed}.skill-switch-label{font-size:12px;font-weight:600;color:var(--color-text-muted)}.skill-switch-label.is-active{color:var(--color-success-700)}.skill-switch-track{position:relative;width:34px;height:18px;border-radius:999px;background:var(--color-neutral-300, #cbd5e1);transition:background .18s ease}.skill-status-switch.is-on .skill-switch-track{background:var(--color-success-600)}.skill-switch-thumb{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .2));transition:transform .18s ease}.skill-status-switch.is-on .skill-switch-thumb{transform:translate(16px)}.skill-status-switch:not(:disabled):hover .skill-switch-track{filter:brightness(.96)}.skill-card-skeleton{min-height:200px;background:linear-gradient(90deg,var(--color-gray-100) 25%,var(--color-gray-50) 50%,var(--color-gray-100) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease infinite}@keyframes skeleton-shimmer{0%{background-position:200% center}to{background-position:-200% center}}.badge-area{font-size:10px;font-weight:700;padding:0 8px;min-height:20px;border-radius:var(--radius-full);border:1px solid transparent}.badge-area-blue{background:var(--color-primary-50);color:var(--color-primary-700);border-color:var(--color-primary-200)}.badge-area-purple{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}.badge-area-orange{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.badge-area-green{background:var(--color-success-50);color:var(--color-success-700);border-color:var(--color-success-200)}.badge-area-cyan{background:var(--color-info-50);color:var(--color-info-700);border-color:var(--color-info-200)}.badge-area-teal{background:#f0fdfa;color:#0f766e;border-color:#99f6e4}.skills-error{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-danger-200);border-radius:var(--radius-lg);background:var(--color-danger-50);color:var(--color-danger-700);font-size:var(--font-size-base);font-weight:600;margin-bottom:var(--space-4)}.skill-detail-panel{width:280px;flex-shrink:0;border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden;position:sticky;top:0}.sdp-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4) var(--space-4) var(--space-3);border-bottom:1px solid var(--color-gray-100)}.sdp-title{font-size:var(--font-size-md);font-weight:800;color:var(--color-text)}.sdp-close{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center}.sdp-body{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);overflow-y:auto}.sdp-skill-name{margin:0;font-size:var(--font-size-lg);font-weight:800;color:var(--color-text);line-height:1.3}.sdp-badges{display:flex;flex-wrap:wrap;gap:6px}.sdp-desc{margin:0;font-size:var(--font-size-base);color:var(--color-text-muted);line-height:1.6}.sdp-divider{height:1px;background:var(--color-gray-100);margin:var(--space-1) 0}.sdp-metrics{display:flex;gap:var(--space-4)}.sdp-metric{display:flex;align-items:center;gap:var(--space-2);color:var(--color-text-muted)}.sdp-metric svg{color:var(--color-primary-500);flex-shrink:0}.sdp-metric>div{display:flex;flex-direction:column;gap:1px}.sdp-metric-value{font-size:var(--font-size-xl);font-weight:800;color:var(--color-text);line-height:1}.sdp-metric-label{font-size:var(--font-size-xs);font-weight:600;color:var(--color-text-subtle)}.sdp-section{display:flex;flex-direction:column;gap:var(--space-2)}.sdp-section-label{display:inline-flex;align-items:center;gap:5px;font-size:var(--font-size-xs);font-weight:700;color:var(--color-text-subtle);text-transform:uppercase;letter-spacing:.04em}.sdp-tags{display:flex;flex-wrap:wrap;gap:4px}.sdp-dates{display:flex;flex-direction:column;gap:4px}.sdp-date-item{display:inline-flex;align-items:center;gap:5px;font-size:var(--font-size-xs);color:var(--color-text-subtle);font-weight:500}.sdp-date-item svg{flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:spin .8s linear infinite}@media(max-width:768px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;top:0;left:0;bottom:0;width:250px;max-width:80vw;z-index:60;transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.sidebar.open{transform:translate(0)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a73}.topbar-menu-button{display:inline-flex}.app-shell--collapsed{grid-template-columns:1fr}.topbar{display:flex;padding:0 12px;gap:6px}.topbar-search{max-width:none}.topbar-avatar-info{display:none}.page-content{padding:16px 14px}.page-header-actions{flex-basis:100%;justify-content:flex-end;padding-top:0}.skills-layout{flex-direction:column}.toolbar-left{flex-wrap:wrap;width:100%}.toolbar-left>*{flex:1 1 100%;min-width:0;width:100%!important}}:root[data-theme=dark]{color-scheme:dark;--color-bg: #0f172a;--color-surface: #1e293b;--color-border: #334155;--color-text: #f1f5f9;--color-text-muted: #94a3b8;--color-text-subtle: #64748b;--color-gray-50: #0f172a;--color-gray-100: #273449;--color-gray-200: #334155;--color-gray-300: #475569;--color-gray-600: #cbd5e1;--color-gray-700: #e2e8f0;--color-gray-800: #f1f5f9;--color-gray-900: #f8fafc;--color-primary-50: #1d2a4d;--color-primary-100: #24386b;--color-primary-200: #2f4d96;--color-primary-700: #93c5fd;--color-success-50: #0c2a16;--color-warning-50: #3a2a08;--color-danger-50: #3a1212;--color-info-50: #0a2a3f;--color-success-200: #1a4731;--color-success-600: #4ade80;--color-success-700: #86efac;--color-warning-200: #4a3a12;--color-warning-600: #fbbf24;--color-warning-700: #fcd34d;--color-danger-200: #4a1f1f;--color-danger-600: #f87171;--color-danger-700: #fca5a5;--color-info-200: #134b66;--color-info-600: #38bdf8;--color-info-700: #7dd3fc;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);--shadow-md: 0 1px 3px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .35);--shadow-lg: 0 6px 16px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4)}:root[data-theme=dark] .sidebar-nav-item:hover,:root[data-theme=dark] .sidebar-nav-item.active{color:var(--color-primary-400)}:root[data-theme=dark] .primary-button:hover,:root[data-theme=dark] .btn-primary:hover{background:#1e40af;border-color:#1e40af;color:#fff}:root[data-theme=dark] .react-flow{background-image:none}:root[data-theme=dark] .react-flow__background{display:none}:root[data-theme=dark] .react-flow__minimap{background-color:var(--color-surface)}:root[data-theme=dark] .react-flow__minimap-mask{fill:#0f172a99}:root[data-theme=dark] .react-flow__controls-button{background:var(--color-surface);border-bottom-color:var(--color-border);color:var(--color-text);fill:currentColor}.theme-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:38px;padding:0 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--color-gray-600);cursor:pointer;font-size:13px;font-weight:600}.theme-toggle:hover{border-color:var(--color-border);background:var(--color-gray-100)}.theme-toggle-label{display:inline-flex;align-items:center;gap:10px}.theme-toggle-track{position:relative;width:38px;height:20px;border-radius:999px;background:var(--color-gray-300);transition:background .15s ease;flex-shrink:0}.theme-toggle[aria-checked=true] .theme-toggle-track{background:var(--color-primary-600)}.theme-toggle-thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s ease}.theme-toggle[aria-checked=true] .theme-toggle-thumb{transform:translate(18px)}.sidebar-user-profile{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:2px;border:0;background:transparent;border-radius:8px;cursor:pointer;text-align:left}.sidebar-user-profile:hover{background:var(--color-gray-100)}.sidebar-user-menu-wrap{position:relative;flex:1;min-width:0;display:flex}.sidebar-user-caret{flex-shrink:0;color:var(--color-text-muted);transition:transform .15s ease}.sidebar-user-caret.open{transform:rotate(180deg)}.sidebar-user-menu{position:absolute;bottom:calc(100% + 6px);left:0;right:0;min-width:200px;display:flex;flex-direction:column;padding:6px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);box-shadow:0 8px 28px #0000002e;z-index:50}.sidebar-user-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--color-text);font-size:13px;font-weight:600;text-align:left;cursor:pointer}.sidebar-user-menu-item:hover{background:var(--color-gray-100)}.sidebar-user-menu-item svg{flex-shrink:0;color:var(--color-text-muted)}.sidebar-user-menu-item--danger,.sidebar-user-menu-item--danger svg{color:var(--color-danger, #dc2626)}.sidebar-user-menu-item--danger:hover{background:var(--color-danger-50, rgba(220, 38, 38, .08))}.sidebar-user-menu-divider{height:1px;margin:6px 4px;background:var(--color-border)}.app-shell--collapsed .sidebar-user-caret{display:none}.app-shell--collapsed .sidebar-user-menu{left:0;right:auto}.profile-modal{max-width:460px}.profile-modal-title{margin:0 0 16px}.profile-form{display:flex;flex-direction:column;gap:14px}.profile-field{display:flex;flex-direction:column;gap:5px}.profile-field-row{display:flex;gap:12px}.profile-field-row .profile-field{flex:1;min-width:0}@media(max-width:480px){.profile-field-row{flex-direction:column}}.profile-field-label{font-size:12px;font-weight:700;color:var(--color-text-muted)}.profile-field input:disabled,.profile-field input[readonly]{background:var(--color-gray-100);color:var(--color-text-muted);cursor:not-allowed}.profile-error{margin:2px 0 0;font-size:13px;font-weight:600;color:var(--color-danger-600)}.onboarding-popover.driver-popover{background:var(--color-surface);color:var(--color-text);border-radius:var(--radius-lg, 12px);box-shadow:0 24px 60px #00000047;max-width:320px}.onboarding-popover.driver-popover .driver-popover-title{font-size:15px;font-weight:800;color:var(--color-text)}.onboarding-popover.driver-popover .driver-popover-description{font-size:13.5px;line-height:1.5;color:var(--color-text-muted)}.onboarding-popover.driver-popover .driver-popover-arrow{color:var(--color-surface)}.onboarding-popover.driver-popover .driver-popover-progress-text{font-size:12px;color:var(--color-text-muted)}.onboarding-popover.driver-popover .driver-popover-navigation-btns button,.onboarding-popover.driver-popover .driver-popover-close-btn{text-shadow:none;border-radius:7px;font-size:13px;font-weight:700;cursor:pointer}.onboarding-popover.driver-popover .driver-popover-next-btn{background:var(--color-primary-600);color:#fff;border:0}
