/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--spacing:.25rem;--radius-xl:.75rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.w-55{width:calc(var(--spacing) * 55)}.w-65{width:calc(var(--spacing) * 65)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-90{width:calc(var(--spacing) * 90)}.flex-1{flex:1}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.items-end{align-items:flex-end}.rounded{border-radius:.25rem}.pb-14{padding-bottom:calc(var(--spacing) * 14)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--color-primary:#1456f0;--color-primary-hover:#0d45d6;--color-primary-light:#f0f4ff;--color-text-primary:#1f2329;--color-text-title:#1f2329;--color-text-secondary:#646a73;--color-text-muted:#8f959e;--color-text-placeholder:#bbbfc4;--color-icon-n1:#2b2f36;--color-icon-n2:#646a73;--color-border:#dee0e3;--color-border-component:#d0d3d6;--color-border-light:#eff0f1;--color-bg:#f5f6f7;--color-bg-base:#f5f6f7;--color-bg-secondary:#f8f9fa;--fs-base:14px;--lh-base:22px;--color-bg-hover:#f0f1f3;--color-bg-float:#fff;--color-white:#fff;--color-tag-done-bg:#caeffc;--color-tag-done-text:#02312a;--color-tag-design-bg:#e0e9ff;--color-tag-design-text:#002270;--color-tag-pending-bg:#fee7cd;--color-tag-pending-text:#3b1a02;--palette-blue-100:#e0e9ff;--palette-blue-900:#002270;--font-family:"PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;--radius-s:4px;--radius-m:6px;--radius-l:8px;--radius-xl:12px;--radius-pill:11px;--shadow-panel:0px 6px 12px -10px #1f23290f, 0px 8px 24px 0px #1f23290a, 0px 10px 36px 10px #1f23290a;--shadow-dropdown:0 4px 16px #0000001f, 0 1px 4px #0000000f}html,body{height:100%;font-family:var(--font-family);color:var(--color-text-primary);background:var(--color-bg);-webkit-font-smoothing:antialiased;font-size:14px;line-height:22px}#root{flex-direction:column;height:100%;display:flex}button{font-family:var(--font-family);cursor:pointer;background:0 0;border:none;font-size:14px;line-height:22px}input,select,textarea{font-family:var(--font-family);font-size:14px;line-height:22px}select{cursor:pointer}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.inline-edit-text{cursor:default;min-width:1em}.inline-edit-input{outline:none;background:var(--color-white, #fff);border:1px solid var(--color-primary);border-radius:var(--radius-s);padding:0 6px;margin:0;font:inherit;color:var(--color-text-primary);width:100%;min-width:2em;box-sizing:border-box;line-height:inherit;height:24px}.inline-edit-input.sidebar-edit{width:100%;font-weight:400}.inline-edit-input.view-tab-edit{width:120px}.dropdown-menu{position:fixed;z-index:1000;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;min-width:180px;display:flex;flex-direction:column;gap:4px}.dropdown-menu-group{display:flex;flex-direction:column}.dropdown-menu-items{display:flex;flex-direction:column;gap:4px}.dropdown-menu-item{display:flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:var(--radius-s);cursor:pointer;font-family:var(--font-family);font-size:14px;color:var(--color-text-primary);white-space:nowrap;width:100%;text-align:left;background:none;border:none}.dropdown-menu-item:hover,.dropdown-menu-item.active-submenu{background:var(--color-bg-hover)}.dropdown-menu-item.disabled{opacity:.4;cursor:not-allowed}.dropdown-menu-item.disabled:hover{background:none}.dropdown-menu-item.has-suffix{padding-right:4px}.dropdown-menu-item-icon{flex-shrink:0;color:var(--color-text-secondary);display:flex;align-items:center}.dropdown-menu-item-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-menu-item-suffix{flex-shrink:0;display:flex;align-items:center;justify-content:center}.dropdown-menu-section{height:28px;display:flex;align-items:center;padding:0 12px;font-size:12px;line-height:20px;font-weight:500;color:#8f959e;white-space:nowrap}.dropdown-menu-divider{height:1px;background:var(--color-border);margin:4px 8px}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:10000}.confirm-card{background:var(--color-white);border-radius:8px;box-shadow:0 8px 24px #1f23291f;padding:24px;width:400px;max-width:calc(100vw - 40px)}.confirm-title{font-size:16px;font-weight:600;color:var(--color-text-primary);margin-bottom:12px}.confirm-message{font-size:14px;line-height:22px;color:var(--color-text-secondary);margin-bottom:24px}.confirm-actions{display:flex;justify-content:flex-end;gap:12px}.confirm-btn{height:32px;padding:0 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s;font-family:var(--font-family)}.confirm-btn-cancel{border:1px solid var(--color-border-component);background:var(--color-white);color:var(--color-text-primary)}.confirm-btn-cancel:hover{background:var(--color-bg-hover)}.confirm-btn-ok{border:none;background:var(--color-primary);color:#fff}.confirm-btn-ok:hover{background:var(--color-primary-hover)}.confirm-btn-danger{background:#f54a45}.confirm-btn-danger:hover{background:#e03e39}.create-table-popover{position:fixed;z-index:1001;width:320px;background:#fff;border:1px solid #DEE0E3;border-radius:8px;box-shadow:0 4px 8px -8px #1f23290f,0 6px 12px #1f23290a,0 8px 24px 8px #1f23290a;padding:16px;display:flex;flex-direction:column;min-height:160px}.create-table-popover-close{position:absolute;top:12px;right:12px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:none;border:none;border-radius:4px;color:#8f959e;cursor:pointer;z-index:1}.create-table-popover-close:hover{background:var(--color-bg-hover);color:#1f2329}.create-table-popover-title{font-size:14px;font-weight:500;line-height:22px;color:#1f2329;display:flex;align-items:center;gap:6px;margin-bottom:12px}.create-table-popover-title svg{flex-shrink:0}.create-table-popover-input{width:100%;height:32px;padding:0 10px;border:1px solid #DEE0E3;border-radius:6px;font-size:14px;line-height:22px;color:#1f2329;background:#fff;outline:none;box-sizing:border-box;font-family:var(--font-family)}.create-table-popover-input::placeholder{color:#8f959e}.create-table-popover-input:focus{border-color:#3370ff;box-shadow:0 0 0 2px #3370ff26}.create-table-popover-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:auto}.create-table-popover-btn{height:32px;padding:0 16px;border-radius:6px;font-size:14px;font-weight:400;line-height:22px;cursor:pointer;border:none;font-family:var(--font-family)}.create-table-popover-btn.primary{background:#3370ff;color:#fff}.create-table-popover-btn.primary:hover{background:#2860e1}.create-table-popover-btn.primary:disabled{background:#94bfff;cursor:not-allowed}.create-table-popover-btn.secondary{background:#f5f6f7;color:#1f2329;border:1px solid #DEE0E3}.create-table-popover-btn.secondary:hover{background:#e8e9eb}.create-table-popover-generating{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1}.create-table-popover-ai-anim{display:flex;align-items:center;justify-content:center;margin-bottom:32px;animation:ctp-pulse 1.5s ease-in-out infinite}.create-table-popover-ai-anim svg{width:28px;height:28px}@keyframes ctp-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.7}}.create-table-popover-progress-bar{width:100%;height:4px;background:#e8e9eb;border-radius:2px;overflow:hidden;margin-bottom:12px}.create-table-popover-progress-fill{width:40%;height:100%;border-radius:2px;background:linear-gradient(90deg,#4752e6,#cf5ecf,#4752e6);background-size:200% 100%;animation:ctp-progress-slide 2s ease-in-out infinite,ctp-progress-shimmer 1.5s linear infinite}@keyframes ctp-progress-slide{0%{transform:translate(-100%)}50%{transform:translate(150%)}to{transform:translate(-100%)}}@keyframes ctp-progress-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.create-table-popover-status-text{font-size:14px;line-height:22px;color:#1f2329}.create-table-popover-complete{display:flex;flex-direction:column;align-items:center;flex:1;padding-top:8px}.create-table-popover-complete-icon{display:flex;align-items:center;justify-content:center;margin-bottom:12px}.create-table-popover-complete-text{font-size:14px;font-weight:500;line-height:22px;color:#1f2329;text-align:center;margin-bottom:16px}.create-table-popover-complete-actions{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:auto}.create-table-popover-btn.full{width:100%;text-align:center}.create-table-popover-error{font-size:13px;line-height:20px;color:#f54a45}.sidebar{background:var(--color-white);border-right:1px solid rgba(31,35,41,.15);display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;position:relative}.sidebar-resize-handle{position:absolute;top:0;right:-3px;width:6px;height:100%;cursor:col-resize;z-index:10}.sidebar-resize-handle:hover,.sidebar-resize-handle:active{background:var(--color-primary);opacity:.3}.sidebar-header{display:block;padding:8px 8px 0;flex-shrink:0}.sidebar-search-trigger{display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px;border-radius:var(--radius-m);cursor:pointer;font-size:14px;color:var(--color-text-secondary);margin-bottom:8px}.sidebar-search-trigger:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.sidebar-search-icon{color:var(--color-text-muted);flex-shrink:0}.sidebar-header-actions{display:flex;align-items:center;gap:2px}.sidebar-icon-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-s);color:var(--color-text-secondary)}.sidebar-icon-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.sidebar-nav{flex:1;overflow-y:auto;padding:0 8px}.sidebar-item{display:flex;align-items:center;gap:8px;padding:0 8px;width:100%;text-align:left;color:var(--color-text-secondary);font-size:14px;height:32px;border-radius:var(--radius-m);transition:background .1s;margin-bottom:4px;position:relative;cursor:pointer}.sidebar-item:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.sidebar-item.active{background:var(--color-primary-light);color:var(--color-primary);font-weight:500}.sidebar-icon{flex-shrink:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center}.sidebar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.sidebar-item-more{display:none;align-items:center;justify-content:center;width:20px;height:20px;border-radius:var(--radius-s);color:var(--color-text-muted);flex-shrink:0}.sidebar-item:hover .sidebar-item-more,.sidebar-item.active .sidebar-item-more{display:flex}.sidebar-item-more:hover{background:#1f232914;color:var(--color-text-primary)}.sidebar-item.is-dragging{opacity:.5;z-index:10;position:relative}.sidebar-item.drag-over-above{box-shadow:inset 0 2px 0 0 var(--color-primary)}.sidebar-item.drag-over-below{box-shadow:inset 0 -2px 0 0 var(--color-primary)}.sidebar-footer{flex-shrink:0;padding:6px 8px 8px;border-top:1px solid var(--color-border)}.sidebar-new-btn{display:flex;align-items:center;gap:6px;padding:0 8px;height:32px;width:100%;font-size:14px;color:var(--color-text-secondary);border-radius:var(--radius-m)}.sidebar-new-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.sidebar-new-menu.dropdown-menu{padding-top:12px}.tree-view{flex:1;overflow-y:auto;padding:0}.tree-item{display:flex;align-items:center;gap:8px;padding:0 8px;width:100%;text-align:left;color:var(--color-text-secondary);font-size:14px;height:32px;border-radius:var(--radius-m);transition:background .1s;margin-bottom:4px;position:relative;cursor:pointer}.tree-item:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.tree-item.active{background:var(--color-primary-light);color:var(--color-primary);font-weight:500}.tree-item.is-dragging{opacity:.5;z-index:10;position:relative}.tree-item.drag-over-above{box-shadow:inset 0 2px 0 0 var(--color-primary)}.tree-item.drag-over-below{box-shadow:inset 0 -2px 0 0 var(--color-primary)}.tree-item.drag-over-folder{background:#336df41f;box-shadow:inset 0 0 0 1.5px var(--color-primary);border-radius:var(--radius-m)}.tree-icon{flex-shrink:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center}.tree-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tree-item-more{display:none;align-items:center;justify-content:center;width:20px;height:20px;border-radius:var(--radius-s);color:var(--color-text-muted);flex-shrink:0}.tree-item:hover .tree-item-more,.tree-item.active .tree-item-more{display:flex}.tree-item-more:hover{background:#1f232914;color:var(--color-text-primary)}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:var(--color-white);flex-shrink:0;z-index:10}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.topbar-nav{display:flex;align-items:center;gap:8px;flex-shrink:0}.topbar-divider{width:1px;height:32px;background:#1f232926;flex-shrink:0}.topbar-info{display:flex;flex-direction:column;gap:1px;min-width:0}.topbar-breadcrumb{display:flex;align-items:center;gap:4px}.topbar-crumb{font-size:14px;color:var(--color-text-secondary);cursor:pointer;padding:0 4px;white-space:nowrap}.topbar-crumb:hover{color:var(--color-text-primary)}.topbar-sep-arrow{color:var(--color-text-placeholder);flex-shrink:0}.topbar-crumb-current{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--color-text-primary);padding:0 4px;white-space:nowrap}.topbar-base-icon{flex-shrink:0}.topbar-pin-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--color-text-muted);flex-shrink:0}.topbar-pin-btn:hover{color:var(--color-text-primary)}.topbar-badges{display:flex;align-items:center;gap:4px;min-width:0}.topbar-badge-btn{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:20px;color:var(--color-text-secondary);padding:0 4px;border-radius:var(--radius-s);white-space:nowrap}.topbar-badge-btn:hover{background:var(--color-bg-hover)}.topbar-badge-warning{color:var(--color-text-muted)}.topbar-badge-divider{width:1px;height:12px;background:#1f232926;flex-shrink:0}.topbar-right{display:flex;align-items:center;gap:16px;flex-shrink:0}.topbar-share-btn{display:flex;align-items:center;gap:6px;padding:0 14px;height:32px;border-radius:6px;background:var(--color-primary);color:#fff;font-size:14px;font-weight:500;flex-shrink:0}.topbar-share-btn:hover{background:var(--color-primary-hover)}.topbar-icon-group{display:flex;align-items:center;gap:8px}.topbar-icon-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:var(--radius-m);color:var(--color-icon-n2);flex-shrink:0}.topbar-icon-btn:hover{background:var(--color-bg-hover);color:var(--color-icon-n1)}.topbar-icon-btn-active{background:#1456f01a}.topbar-agent-btn.topbar-icon-btn-active,.topbar-agent-btn.topbar-icon-btn-active:hover{color:#1456f0;background:#1456f01a;border-radius:50%}.topbar-agent-btn{position:relative}.topbar-agent-badge{position:absolute;top:0;right:0;min-width:14px;height:14px;padding:0 3px;box-sizing:border-box;border-radius:7px;background:#f54a45;color:#fff;font-size:10px;font-weight:600;line-height:14px;text-align:center;border:1.5px solid #fff;pointer-events:none}.topbar-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;cursor:pointer;flex-shrink:0}.topbar-menu{z-index:1000;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;width:220px}.topbar-menu-item{display:flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:var(--radius-s);cursor:pointer;position:relative;font-family:var(--font-family);font-size:14px;color:var(--color-text-primary);white-space:nowrap}.topbar-menu-item:hover{background:var(--color-bg-hover)}.topbar-menu-icon{flex-shrink:0;color:var(--color-text-secondary)}.topbar-menu-label{flex:1;min-width:0;font-size:14px;color:var(--color-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-menu-arrow{flex-shrink:0;color:var(--color-text-muted)}.topbar-submenu{position:absolute;right:calc(100% + 4px);top:-5px;background:var(--color-white);border:1px solid var(--color-border);border-radius:8px;box-shadow:var(--shadow-dropdown);padding:4px;width:180px}.tb-switch{position:relative;display:inline-block;width:28px;height:16px;flex-shrink:0;cursor:pointer}.tb-switch input{opacity:0;width:0;height:0;position:absolute}.tb-switch-track{position:absolute;top:0;right:0;bottom:0;left:0;background:#dee0e3;border-radius:8px;transition:background .2s}.tb-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #00000026;transition:transform .2s}.tb-switch input:checked+.tb-switch-track{background:var(--color-primary)}.tb-switch input:checked+.tb-switch-track:after{transform:translate(12px)}.topbar-menu-value{font-size:12px;color:var(--color-text-muted);white-space:nowrap;margin-left:auto;margin-right:4px}.topbar-menu-check{flex-shrink:0;margin-left:auto}.topbar-menu-item-active{color:var(--color-primary)}.topbar-menu-item-active .topbar-menu-label{color:var(--color-primary);font-weight:500}@media (max-width: 1399px){.topbar-right>.topbar-icon-group:first-of-type>.topbar-icon-btn:not([title=More]){display:none}.topbar-right>.topbar-icon-group:nth-of-type(2){display:none}.topbar-right>.topbar-divider{display:none}}.view-tabs{display:flex;align-items:stretch;background:#f5f6f7;padding:0;flex-shrink:0;height:44px;overflow-x:auto;position:relative}.view-tabs-list{display:flex;align-items:flex-end;flex:1;min-width:0}.view-tab{display:flex;align-items:center;gap:6px;padding:0 14px 0 10px;font-size:14px;line-height:22px;color:var(--color-text-secondary);white-space:nowrap;transition:color .15s,background .15s;position:relative;flex-shrink:0;border:none;background:transparent;height:40px;cursor:pointer}.view-tab:hover{color:var(--color-text-primary)}.view-tab.active{color:var(--color-text-primary);background:var(--color-white);font-weight:400;border:none;border-radius:6px 6px 0 0;z-index:1;height:44px;padding:0 14px 0 24px}.view-tab-menu{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:var(--radius-s);color:var(--color-text-muted);margin-left:2px}.view-tab-menu:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.view-tab-icon{color:#1456f0;flex-shrink:0}.view-tab-filter-dot{width:6px;height:6px;border-radius:50%;background:var(--color-primary);position:absolute;top:6px;right:6px}.view-tab-apply-pill{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 8px;border-radius:14px;background:#e0e9ff;margin-left:8px;align-self:center;white-space:nowrap;color:#1456f0}.view-tab-apply-text{font-size:12px;color:#646a73;line-height:28px}.view-tab-apply-btn{font-size:12px;color:#1456f0;background:none;border:none;cursor:pointer;padding:0 6px;font-family:var(--font-family);font-weight:500;line-height:20px;border-radius:var(--radius-s)}.view-tab-apply-btn:hover{background:#1456f01a}.view-tab-divider{width:1px;height:14px;background:#1f232926;align-self:center;flex-shrink:0}.view-tab-add{display:flex;align-items:center;justify-content:center;gap:4px;padding:0 12px;font-size:14px;color:var(--color-text-secondary);flex-shrink:0;align-self:center;height:28px;border-radius:var(--radius-s);white-space:nowrap;margin-left:8px}.view-tab-add:hover{color:var(--color-text-primary);background:var(--color-bg-hover)}.view-tab-add-label{font-size:14px}.view-tabs-right{display:none}.toolbar{height:40px;min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:var(--color-white);border-bottom:1px solid var(--color-border);flex-shrink:0;gap:4px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:2px}.toolbar-add-record{display:flex;align-items:center;gap:4px;padding:0 8px;height:28px;border-radius:var(--radius-s);font-size:14px;color:var(--color-primary);white-space:nowrap}.toolbar-add-record:hover{background:var(--color-primary-light)}.toolbar-chevron{margin-left:0;opacity:.6}.toolbar-sep{width:1px;height:16px;background:var(--color-border);margin:0 4px;flex-shrink:0}.toolbar-btn{display:flex;align-items:center;gap:4px;padding:0 8px;border-radius:var(--radius-s);font-size:14px;color:var(--color-text-secondary);transition:background .15s,color .15s;white-space:nowrap;height:28px}.toolbar-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.toolbar-btn.active{color:var(--color-primary);background:var(--color-primary-light)}.toolbar-btn svg{flex-shrink:0}.toolbar-badge{background:var(--color-primary);color:#fff;font-size:11px;font-weight:600;min-width:16px;height:16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}.toolbar-icon-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-s);color:var(--color-text-muted);flex-shrink:0}.toolbar-icon-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.toolbar-generate-form{color:var(--color-text-secondary)}.toolbar-filter-info{display:flex;align-items:center;gap:6px;padding:0 4px}.toolbar-filter-count{font-size:12px;color:var(--color-text-secondary)}.toolbar-clear-btn{font-size:12px;color:var(--color-primary);padding:2px 6px;border-radius:var(--radius-s)}.toolbar-clear-btn:hover{background:var(--color-primary-light)}.toolbar-undo-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:var(--radius-s);color:var(--color-text-secondary);cursor:pointer;flex-shrink:0;background:none;border:none;padding:0;margin-right:4px}.toolbar-undo-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.toolbar-undo-btn.disabled{color:var(--color-text-placeholder);cursor:default;pointer-events:none}.table-wrap{display:flex;flex-direction:column;flex:1;overflow:hidden;background:var(--color-white)}.table-container{flex:1;overflow:auto}.data-table{border-collapse:collapse;table-layout:fixed}.data-table thead{position:sticky;top:0;z-index:2}.data-table th{background:#f7f8fa;border-bottom:1px solid #DEE0E3;border-right:1px solid rgba(31,35,41,.15);padding:0 8px;height:36px;text-align:left;font-weight:500;font-size:14px;color:var(--color-text-muted);white-space:nowrap;-webkit-user-select:none;user-select:none;position:relative;cursor:pointer;transition:background .1s}.data-table th:hover{background:#ecedf0}.data-table th.col-selected{background:#e0e9ff;color:var(--color-primary)}.data-table td{border-bottom:1px solid rgba(31,35,41,.15);border-right:1px solid rgba(31,35,41,.15);height:32px;font-size:14px;color:var(--color-text-primary);overflow:visible;padding:0;position:relative}.data-table td.col-selected{background:#1456f00a}.data-table td.cell-range-selected{background:#1456f01a!important}.data-row.row-hovered td{background:#f5f6f7}.data-row.row-selected td{background:#1456f00a}.data-row.row-selected.row-hovered td,.data-row.row-hovered td.col-selected{background:#1456f014}.td-editing{background:#fff!important;box-shadow:inset 0 0 0 2px var(--color-primary);z-index:5}.th-inner{display:flex;align-items:center;gap:4px}.field-icon{color:var(--color-text-muted);flex-shrink:0}.col-resize-handle{position:absolute;top:0;right:-3px;width:6px;height:100%;cursor:col-resize;z-index:3}.col-resize-handle:hover,.col-resize-handle:active{background:var(--color-primary);opacity:.4}.col-index{text-align:center!important;padding:0!important;cursor:default;border-right:none!important}.col-index:hover{background:#f7f8fa!important}.row-number{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:12px;color:var(--color-text-placeholder);-webkit-user-select:none;user-select:none;cursor:pointer}.col-fld_name{border-right-color:#bbbfc4!important}.col-add{border-right:none!important;cursor:pointer}.col-add:hover{background:#f0f1f3!important}.col-add-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--color-text-secondary);margin-left:12px}.row-checkbox{cursor:pointer;width:16px;height:16px;accent-color:var(--color-primary);display:block;margin:auto}.cell-wrap{display:flex;align-items:center;height:32px;padding:0 8px;overflow:hidden}.cell-wrap.editable{cursor:pointer}.cell-wrap.editable:hover{background:#1456f00a}.cell-wrap.editing{overflow:visible;padding:0}.status-tag{display:inline-flex;align-items:center;padding:0 8px;border-radius:11px;font-size:14px;font-weight:500;white-space:nowrap;height:22px;line-height:22px}.cell-tags{display:flex;gap:4px;flex-wrap:wrap}.cell-user{display:flex;align-items:center;gap:8px}.user-avatar-img{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}.user-avatar-fallback{width:20px;height:20px;border-radius:50%;background:var(--color-primary);color:#fff;font-size:11px;font-weight:600;display:none;align-items:center;justify-content:center;flex-shrink:0}.user-name{font-size:14px;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;width:100%}.cell-checkbox{display:flex;align-items:center}.cell-empty{display:block;height:16px}.cell-input{width:100%;height:32px;padding:0 8px;border:none;outline:none;background:transparent;font-size:14px;color:var(--color-text-primary);font-family:var(--font-family)}.cell-editor-wrap{position:relative;display:flex;align-items:center;height:32px;padding:0 8px;width:100%}.cell-dropdown{position:absolute;top:calc(100% + 2px);left:-1px;min-width:160px;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);z-index:50;padding:4px;display:flex;flex-direction:column;gap:1px}.cell-dropdown-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px;border-radius:var(--radius-s);cursor:pointer;text-align:left;font-size:14px;width:100%}.cell-dropdown-item:hover{background:var(--color-bg-hover)}.cell-dropdown-item.selected{background:var(--color-primary-light)}.check-icon{flex-shrink:0;color:var(--color-primary)}.option-dot-indicator{display:flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0}.option-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-picker{position:absolute;top:100%;left:0;z-index:50;background:#fff;border:1px solid var(--color-border);border-radius:8px;box-shadow:var(--shadow-dropdown);padding:12px;width:260px}.date-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.date-picker-title{font-size:14px;font-weight:500;color:var(--color-text-primary)}.date-picker-nav{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:var(--color-text-secondary);cursor:pointer;background:none;border:none;padding:0}.date-picker-nav:hover{background:var(--color-bg-hover)}.date-picker-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:12px;color:var(--color-text-muted);margin-bottom:4px}.date-picker-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.date-picker-day{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:13px;border-radius:50%;cursor:pointer;color:var(--color-text-primary);background:none;border:none;padding:0;font-family:var(--font-family)}.date-picker-day:hover{background:var(--color-bg-hover)}.date-picker-day.other-month{color:var(--color-text-placeholder)}.date-picker-day.selected{background:var(--color-primary);color:#fff}.date-picker-day.selected:hover{background:var(--color-primary)}.date-picker-day.today{border:1px solid var(--color-primary)}.field-context-menu{position:fixed;z-index:100;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;width:180px}.field-context-menu-item{display:flex;align-items:center;gap:8px;padding:0 12px;height:32px;border-radius:var(--radius-s);cursor:pointer;font-size:14px;color:var(--color-text-primary);width:100%;text-align:left;background:none;border:none;font-family:var(--font-family);white-space:nowrap}.field-context-menu-item svg{flex-shrink:0;color:var(--color-text-secondary)}.field-context-menu-item:hover{background:var(--color-bg-hover)}.field-context-menu-item.danger{color:#f54a45}.field-context-menu-item.danger:hover{background:#fee2e2}.field-context-menu-divider{height:1px;background:var(--color-border);margin:4px 8px}.col-drag-over{box-shadow:inset 2px 0 0 0 var(--color-primary)!important}.data-table th[style*=translateX]{transition:none!important}.data-table th{transition:box-shadow .15s ease}.add-row td{border-bottom:none;padding:0 8px;height:36px}.add-record-btn{display:flex;align-items:center;gap:5px;color:var(--color-text-secondary);font-size:14px;padding:4px 8px;border-radius:var(--radius-s)}.add-record-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.table-footer{height:36px;border-top:1px solid var(--color-border);display:flex;align-items:center;padding:0 16px;font-size:14px;color:var(--color-text-secondary);background:var(--color-white);flex-shrink:0}.cs-dropdown{position:relative}.cs-trigger{display:flex;align-items:center;gap:4px;height:32px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);padding:0 8px;font-size:14px;line-height:22px;color:var(--color-text-primary);background:var(--color-white);cursor:pointer;transition:border-color .15s;white-space:nowrap;font-family:var(--font-family);width:100%}.cs-trigger:hover{border-color:#c0c4cc}.cs-trigger:focus{border-color:var(--color-primary);outline:none}.cs-label{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis}.cs-arrow{flex-shrink:0;color:var(--color-text-muted)}.cs-list{z-index:1000;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;max-height:320px;overflow-y:auto}.cs-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:32px;padding:0 12px;font-size:14px;color:var(--color-text-primary);background:none;border:none;border-radius:var(--radius-s);cursor:pointer;text-align:left;font-family:var(--font-family);white-space:nowrap}.cs-option:hover{background:var(--color-bg-hover)}.cs-option.active{color:var(--color-primary)}.cs-check{flex-shrink:0}.toast-container{position:fixed;top:40px;left:50%;transform:translate(-50%);z-index:9999;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.toast{display:inline-flex;align-items:center;min-height:54px;padding:0 20px;border-radius:8px;border:1px solid transparent;pointer-events:auto;white-space:nowrap;box-shadow:0 8px 24px 8px #1f23290a,0 6px 12px #1f23290a,0 4px 8px -8px #1f23290f}.toast-enter{animation:toast-in .2s ease-out}.toast-leave{animation:toast-out .2s ease-in forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.toast-info{background:#f0f4ff;border-color:#1456f0}.toast-success{background:#e4fae1;border-color:#32a645}.toast-warning{background:#fff3e5;border-color:#ed6d0c}.toast-error{background:#fef0f0;border-color:#f54a45}.toast-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;margin-right:12px}.toast-message{font-size:14px;line-height:22px;color:#1f2329}.toast-action{font-size:14px;line-height:22px;font-weight:500;background:none;border:none;padding:0 4px;margin-left:8px;cursor:pointer;white-space:nowrap;flex-shrink:0}.toast-action{color:#1456f0}.toast-action:hover{opacity:.8}.toast-close{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:8px;border-radius:4px;background:none;border:none;cursor:pointer;color:#646a73;flex-shrink:0;padding:0}.toast-close:hover{background:#1f232914;color:#1f2329}.dp-dropdown{position:relative}.dp-trigger{display:flex;align-items:center;gap:4px;height:32px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);padding:0 8px;font-size:14px;line-height:22px;color:var(--color-text-primary);background:var(--color-white);cursor:pointer;transition:border-color .15s;white-space:nowrap;font-family:var(--font-family);width:100%}.dp-trigger:hover{border-color:#c0c4cc}.dp-trigger:focus{border-color:var(--color-primary);outline:none}.dp-label{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis}.dp-placeholder{color:var(--color-text-muted)}.dp-arrow{flex-shrink:0;color:var(--color-text-muted)}.dp-calendar{z-index:1000;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:12px;width:252px}.dp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dp-nav{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:none;border-radius:var(--radius-s);cursor:pointer;color:var(--color-text-secondary)}.dp-nav:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.dp-month-year{font-size:14px;font-weight:500;color:var(--color-text-primary)}.dp-weekdays{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px}.dp-weekday{font-size:12px;color:var(--color-text-muted);text-align:center;height:28px;line-height:28px}.dp-week{display:grid;grid-template-columns:repeat(7,1fr)}.dp-day{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:none;border-radius:50%;cursor:pointer;font-size:13px;color:var(--color-text-primary);font-family:var(--font-family);padding:0}.dp-day:hover:not(.empty):not(.selected){background:var(--color-bg-hover)}.dp-day.empty{cursor:default}.dp-day.today{color:var(--color-primary);font-weight:500}.dp-day.selected{background:var(--color-primary);color:#fff;font-weight:500}.filter-row{display:flex;align-items:center;gap:8px;height:32px}.fr-input{height:32px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);padding:0 8px;font-size:14px;line-height:22px;color:var(--color-text-primary);background:var(--color-white);outline:none;transition:border-color .15s;font-family:var(--font-family)}.fr-select{border:none;background:none;padding:0}.fr-select:focus,.fr-input:focus{border-color:var(--color-primary)}.fr-select:hover,.fr-input:hover{border-color:#c0c4cc}.fr-field{flex:0 0 140px}.fr-select .cs-list{min-width:160px;width:max-content}.fr-operator-dropdown{position:relative;flex:0 0 auto;min-width:0}.fr-operator-trigger{display:flex;align-items:center;gap:4px;height:32px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);padding:0 8px;font-size:14px;line-height:22px;color:var(--color-text-primary);background:var(--color-white);cursor:pointer;transition:border-color .15s;white-space:nowrap;font-family:var(--font-family);width:100%}.fr-operator-trigger:hover{border-color:#c0c4cc}.fr-operator-trigger:focus{border-color:var(--color-primary);outline:none}.fr-operator-label{flex:1;text-align:left}.fr-operator-arrow{flex-shrink:0;color:var(--color-text-muted)}.fr-operator-list{position:fixed;z-index:1000;background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;min-width:160px;width:max-content;max-height:320px;overflow-y:auto}.fr-operator-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:32px;padding:0 12px;font-size:14px;color:var(--color-text-primary);background:none;border:none;border-radius:var(--radius-s);cursor:pointer;text-align:left;font-family:var(--font-family);white-space:nowrap}.fr-operator-option:hover{background:var(--color-bg-hover)}.fr-operator-option.active{color:var(--color-primary)}.fr-operator-check{flex-shrink:0}.fr-value{flex:1;min-width:0}.fr-value.fr-select .cs-list{min-width:160px;width:max-content}.fr-date-exact{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.fr-date-mode,.fr-date-picker{flex:1;min-width:0}.fr-delete{width:24px;height:24px;border-radius:var(--radius-s);display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);flex-shrink:0;transition:background .15s,color .15s}.fr-delete:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.filter-panel{position:absolute;top:0;left:0;width:520px;background:var(--color-bg-float);border-radius:var(--radius-xl);box-shadow:var(--shadow-panel);border:1px solid var(--color-border);z-index:100;display:flex;flex-direction:column;overflow:hidden;padding:17px 24px;gap:16px;animation:fp-enter .15s ease-out}@keyframes fp-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.fp-title{font-size:14px;font-weight:500;color:var(--color-text-secondary);line-height:22px}.fp-ai-row{display:flex;align-items:center;width:100%;height:32px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);background:var(--color-white);overflow:hidden;transition:background .2s,border-color .2s}.fp-ai-row:focus-within{border-color:var(--color-primary)}.fp-ai-row.generating{background:var(--color-border-light);border-color:var(--color-border-component)}.fp-ai-row.error{border-color:#ef4444;background:#fef2f2}.fp-ai-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:4px;flex-shrink:0;color:var(--color-icon-n1)}.sparkle-icon{transition:transform .3s}.sparkle-icon.spinning{animation:sparkle-pulse 1.5s ease-in-out infinite}@keyframes sparkle-pulse{0%,to{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(1.2) rotate(15deg);opacity:.8}}.fp-ai-input-wrap{flex:1;min-width:0;margin-left:3px}.fp-ai-input{width:100%;border:none;background:transparent;outline:none;font-size:14px;line-height:22px;color:var(--color-text-primary);font-family:var(--font-family);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fp-ai-input::placeholder{color:var(--color-text-placeholder)}.fp-ai-input.echo::placeholder{color:var(--color-text-secondary)}.fp-ai-loading{display:flex;align-items:center;flex:1;min-width:0;margin-left:3px}.fp-ai-loading-text{font-size:14px;color:var(--color-primary);display:flex;align-items:center;gap:2px;line-height:22px;min-width:0;padding-right:12px}.fp-ai-loading-query{overflow:hidden;white-space:nowrap;flex:1;min-width:0}.loading-dots{flex-shrink:0}.loading-dots span{animation:dot-blink 1.2s ease-in-out infinite;font-weight:700}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}@keyframes dot-blink{0%,80%,to{opacity:0}40%{opacity:1}}.fp-ai-mic{position:relative;width:24px;height:24px;border-radius:var(--radius-s);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:4px;color:var(--color-text-secondary);transition:color .15s,background .15s}.fp-ai-mic:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.fp-ai-mic.listening{background:var(--color-primary);color:#fff;border-radius:50%}.fp-ai-mic.listening:hover{background:var(--color-primary-hover)}.fp-ai-mic.stopping{background:var(--color-primary);color:#fff;border-radius:50%;opacity:.7;cursor:not-allowed}.fp-mic-pulse{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid var(--color-primary);animation:mic-pulse 1.2s ease-out infinite;pointer-events:none}@keyframes mic-pulse{0%{transform:scale(1);opacity:.6}to{transform:scale(1.6);opacity:0}}.fp-mic-stopping{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.6);animation:mic-stopping .6s ease-in-out infinite alternate;pointer-events:none}@keyframes mic-stopping{0%{transform:scale(1.1);opacity:.5}to{transform:scale(.9);opacity:.2}}.fp-ai-clear,.fp-ai-send{width:24px;height:24px;border-radius:var(--radius-s);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:4px}.fp-ai-clear{color:var(--color-text-secondary)}.fp-ai-clear:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.fp-ai-send{background:var(--color-primary);color:#fff}.fp-ai-send:hover{background:var(--color-primary-hover)}.fp-ai-error{display:flex;align-items:center;gap:6px;font-size:14px;color:#ef4444;line-height:22px}.fp-logic-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--color-text-muted);line-height:22px}.fp-logic-left{white-space:nowrap}.fp-logic-right{display:flex;align-items:center;gap:0;white-space:nowrap;margin-left:auto}.fp-logic-label{white-space:nowrap}.fp-logic-select{margin:0 4px}.fp-logic-select .cs-trigger{height:22px;padding:0 4px 0 8px;font-size:14px;line-height:20px;gap:2px}.fp-logic-select .cs-arrow{width:10px;height:10px}.fp-conditions{display:flex;flex-direction:column;gap:12px;overflow-y:auto;scrollbar-gutter:stable;padding-right:2px}.fp-conditions::-webkit-scrollbar{width:6px}.fp-conditions::-webkit-scrollbar-thumb{background:#1f232933;border-radius:3px}.fp-conditions::-webkit-scrollbar-track{background:transparent}.fp-actions{display:flex;align-items:center}.fp-add-btn{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--color-text-primary);padding:2px 8px;border-radius:var(--radius-s);line-height:22px}.fp-add-btn:hover{background:var(--color-bg-hover)}.fp-footer{display:flex;align-items:center}.fp-save-view{font-size:14px;color:var(--color-primary);padding:2px 8px;border-radius:var(--radius-s);line-height:22px}.fp-save-view:hover{background:var(--color-primary-light)}.fp-header{display:none}.search-input{display:flex;align-items:center;height:32px;border:1px solid #DEE0E3;border-radius:6px;padding:0 8px;gap:6px;background:#fff;transition:border-color .15s}.search-input:focus-within{border-color:var(--color-primary)}.search-input-icon{flex-shrink:0;color:#8f959e}.search-input:focus-within .search-input-icon{color:var(--color-primary)}.search-input-field{flex:1;min-width:0;height:100%;border:none;outline:none;background:transparent;font-size:14px;color:var(--color-text-primary);font-family:var(--font-family);line-height:22px}.search-input-field::placeholder{color:#8f959e}.search-input-clear{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border-radius:4px;cursor:pointer;color:#8f959e;background:none;border:none;padding:0;transition:color .12s,background .12s}.search-input-clear:hover{background:#f5f6f7;color:#2b2f36}.field-config-panel{position:fixed;z-index:120;background:#fff;border:1px solid #DEE0E3;border-radius:6px;box-shadow:0 4px 8px #1f23290f,0 6px 12px #1f23290a,0 8px 24px #1f23290a;width:280px;max-height:420px;display:flex;flex-direction:column;overflow:hidden}.field-config-header{display:flex;align-items:center;padding:10px 12px 6px;font-size:13px;font-weight:500;color:#646a73;flex-shrink:0}.field-config-search{flex-shrink:0;border-top:1px solid #F0F1F3;border-bottom:1px solid #F0F1F3}.field-config-search .search-input{border:none;border-radius:0;height:40px;padding:0 12px}.field-config-search .search-input:hover{background:#f5f6f7}.field-config-search .search-input:focus-within{border-color:transparent;background:#f5f6f7}.field-config-search .search-input:focus-within .search-input-icon{color:#8f959e}.field-config-list{flex:1;overflow-y:auto;padding:4px}.field-config-empty{display:flex;align-items:center;justify-content:center;height:64px;font-size:14px;color:#8f959e}.field-config-item{display:flex;align-items:center;height:32px;padding:0 12px;border-radius:4px;cursor:default;gap:8px;-webkit-user-select:none;user-select:none;transition:background .12s}.field-config-item:hover{background:#f5f6f7}.field-config-item.is-dragging{background:#eff4ff;box-shadow:0 2px 8px #1f23291a;opacity:.9;z-index:10}.field-config-item.drag-over-above{box-shadow:inset 0 2px #3370ff}.field-config-item.drag-over-below{box-shadow:inset 0 -2px #3370ff}.field-config-drag{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;cursor:grab;color:#c0c3c9;transition:color .12s}.field-config-item:hover .field-config-drag{color:#8f959e}.field-config-drag.disabled{cursor:default;color:#dee0e3}.field-config-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;color:#646a73}.field-config-name{flex:1;min-width:0;font-size:14px;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:22px}.field-config-name.is-hidden{color:#8f959e}.field-config-name.clickable{cursor:pointer;border-radius:4px}.field-config-name.clickable:hover{color:var(--color-primary)}.field-config-lock{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:#c0c3c9}.field-config-visibility{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;border-radius:4px;cursor:pointer;color:#646a73;transition:color .12s,background .12s}.field-config-visibility:hover{background:#ebebed;color:#2b2f36}.field-config-visibility.is-hidden{color:#c0c3c9}.field-config-visibility.is-hidden:hover{color:#646a73;background:#ebebed}.field-config-list::-webkit-scrollbar{width:6px}.field-config-list::-webkit-scrollbar-track{background:transparent}.field-config-list::-webkit-scrollbar-thumb{background:#dee0e3;border-radius:3px}.field-config-list::-webkit-scrollbar-thumb:hover{background:#c0c3c9}.field-popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:transparent}.field-popover{position:absolute;background:var(--color-bg-float);border:1px solid var(--color-border);border-radius:8px;box-shadow:var(--shadow-panel);max-height:calc(100vh - 120px);overflow:visible;display:flex;flex-direction:column;animation:field-popover-in .15s ease-out}@keyframes field-popover-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.field-popover-body{padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.field-popover-footer{padding:10px 12px 12px;display:flex;justify-content:flex-end;gap:8px}.field-popover-error{padding:8px 12px;border-top:1px solid #fadcde;background:#fff5f5;color:#c23b3b;font-size:13px;line-height:var(--lh-base)}.field-popover-divider{height:1px;background:var(--color-border-light);margin:2px 0}.form-row{display:flex;flex-direction:column;gap:8px;position:relative}.form-row>label{font-size:13px;font-weight:500;color:var(--color-text-secondary);line-height:var(--lh-base)}.form-row-inline{flex-direction:row;align-items:center;gap:12px}.form-row-pair{display:flex;gap:12px}.form-row-pair>.form-row{flex:1;min-width:0}.fc-input,.fc-select{width:100%;height:32px;padding:0 10px;border:1px solid var(--color-border-component);border-radius:var(--radius-m);background:var(--color-white);font-size:var(--fs-base);line-height:var(--lh-base);color:var(--color-text-primary);box-sizing:border-box;outline:none;font-family:inherit;transition:border-color .15s}.fc-input::placeholder{color:var(--color-text-placeholder)}.fc-input:hover,.fc-select:hover{border-color:#c0c4cc}.fc-input:focus,.fc-select:focus{border-color:var(--color-primary);box-shadow:0 0 0 2px #1456f01a}.fc-input:disabled,.fc-select:disabled{background:var(--color-bg-base);color:var(--color-text-muted);cursor:not-allowed;border-color:var(--color-border)}.field-type-card{background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:var(--radius-m);cursor:pointer;transition:border-color .15s}.field-type-card:hover{border-color:#c0c4cc}.field-type-row{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px}.field-type-row.sub{padding:8px 12px;border-top:1px solid var(--color-border-light);color:var(--color-text-secondary);font-size:13px;line-height:var(--lh-base)}.field-type-row .label{display:flex;align-items:center;gap:8px;font-size:var(--fs-base);font-weight:500;color:var(--color-text-primary)}.field-type-row .chevron{color:var(--color-text-muted);font-size:16px}.type-picker-menu{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:4px;z-index:1100;max-height:460px;overflow-y:auto;animation:field-popover-in .12s ease-out}.type-picker-menu::-webkit-scrollbar{display:none}.type-picker-menu{scrollbar-width:none}.type-picker-section{padding:8px 12px 4px;font-size:11px;font-weight:500;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.3px}.type-picker-item{display:flex;align-items:center;justify-content:space-between;padding:0 12px;height:32px;cursor:pointer;gap:8px;border-radius:var(--radius-s);transition:background .1s}.type-picker-item:hover{background:var(--color-bg-hover)}.type-picker-item.active{background:var(--color-primary-light);color:var(--color-primary)}.type-picker-item .left{display:flex;align-items:center;gap:8px;font-size:var(--fs-base);line-height:var(--lh-base);color:var(--color-text-primary)}.type-picker-item.active .left{color:var(--color-primary)}.type-picker-item .left .icon{width:18px;text-align:center;color:var(--color-icon-n2);font-family:monospace}.type-picker-item.active .left .icon{color:var(--color-primary)}.suggest-header{display:flex;align-items:center;justify-content:space-between}.suggest-header>label{font-size:13px;font-weight:500;color:var(--color-text-secondary)}.suggest-refresh{display:flex;align-items:center;gap:4px;background:none;border:none;color:var(--color-primary);font-size:13px;font-weight:500;cursor:pointer;padding:2px 6px;border-radius:var(--radius-s);transition:background .1s;font-family:inherit}.suggest-refresh:hover:not(:disabled){background:var(--color-primary-light)}.suggest-refresh:disabled{color:var(--color-text-placeholder);cursor:not-allowed}.suggest-refresh svg.spin{animation:suggest-spin .8s linear infinite}@keyframes suggest-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suggest-chips{display:flex;flex-wrap:wrap;gap:6px;min-height:26px;max-height:58px;overflow:hidden;align-items:center}.suggest-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:var(--color-bg-secondary);border:1px solid var(--color-border-light);border-radius:var(--radius-pill);font-size:13px;line-height:18px;color:var(--color-text-primary);cursor:pointer;font-family:inherit;transition:background .1s,border-color .15s;white-space:nowrap}.suggest-chip:hover{background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary)}.suggest-chip-icon{font-size:14px;width:16px;text-align:center;flex-shrink:0}.suggest-ai-badge{display:inline-flex;align-items:center;justify-content:center;padding:0 4px;height:16px;border-radius:3px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:10px;font-weight:600;letter-spacing:.3px;flex-shrink:0}.suggest-chip.skeleton{width:96px;height:28px;background:linear-gradient(90deg,var(--color-bg-secondary) 25%,var(--color-bg-hover) 50%,var(--color-bg-secondary) 75%);background-size:200% 100%;animation:suggest-shimmer 1.2s ease-in-out infinite;border-color:transparent;cursor:default}@keyframes suggest-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.suggest-empty{font-size:13px;color:var(--color-text-muted)}.conditions-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.conditions-header>label{font-size:13px;font-weight:500;color:var(--color-text-secondary)}.logic-wrap{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--color-text-secondary)}.logic-wrap .fc-select{width:72px;height:28px;padding:0 8px;font-size:13px}.cond-list{display:flex;flex-direction:column;gap:8px}.cond-row{display:flex;align-items:center;gap:6px}.cond-row .fc-select{min-width:0;flex:1}.cond-row .fc-select.narrow{flex:0 0 88px}.cond-row .cond-delete{width:24px;height:24px;flex:0 0 24px;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--color-text-muted);cursor:pointer;font-size:14px;padding:0;border-radius:var(--radius-s);transition:background .1s,color .1s}.cond-row .cond-delete:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.cond-row .cond-delete:disabled{color:var(--color-border);cursor:not-allowed}.cond-row .cond-delete:disabled:hover{background:none}.add-condition-btn{background:none;border:none;padding:2px 8px;margin-top:6px;color:var(--color-primary);font-size:var(--fs-base);font-weight:500;cursor:pointer;border-radius:var(--radius-s);transition:background .1s;align-self:flex-start;line-height:var(--lh-base)}.add-condition-btn:hover:not(:disabled){background:var(--color-primary-light)}.add-condition-btn:disabled{color:var(--color-text-placeholder);cursor:not-allowed}.btn{padding:0 16px;height:32px;border-radius:var(--radius-m);font-size:var(--fs-base);font-weight:500;cursor:pointer;border:1px solid transparent;font-family:inherit;line-height:var(--lh-base);transition:background .15s,border-color .15s}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-secondary{background:var(--color-white);border-color:var(--color-border-component);color:var(--color-text-primary)}.btn-secondary:hover:not(:disabled){background:var(--color-bg-hover);border-color:#c0c4cc}.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--color-primary-hover)}.btn-primary:disabled{background:var(--color-text-placeholder);color:#fff}.lookup-cell{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.lookup-cell.error{color:#c23b3b;font-weight:500}.lookup-chip{display:inline-flex;align-items:center;padding:1px 8px;border-radius:var(--radius-s);background:var(--color-bg-base);color:var(--color-text-primary);font-size:12px;line-height:20px}.app{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:var(--color-white)}.app-body{display:flex;flex:1;overflow:hidden}.workspace{display:flex;flex-direction:row;flex:1;overflow:hidden;background:#fff}.artifact-part{display:flex;flex-direction:column;flex:1;min-width:0;overflow:hidden;position:relative;order:1;background:#fff;border:1px solid #DEE0E3;border-radius:0}.chat-part{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;position:relative;order:3;padding:0 20px 20px;border:1px solid #DEE0E3;border-radius:8px 0 0}.workspace .split-divider{order:2}.workspace.chat-open .artifact-part{border-radius:0 8px 0 0}.workspace.chat-left .chat-part{order:1;border-radius:0 8px 0 0}.workspace.chat-left .split-divider{order:2}.workspace.chat-left .artifact-part{order:3;border-radius:8px 0 0}.split-divider{flex:0 0 6px;width:6px;cursor:col-resize;position:relative;-webkit-user-select:none;user-select:none;background:transparent}.split-divider:before{content:"";position:absolute;top:0;bottom:0;left:-2px;right:-2px}.split-divider.dragging{background:#1456f026}.split-divider-grip{display:none}.part-move-bar{position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:100px;height:4px;border-radius:2px;background:#d0d3d6;opacity:0;transition:opacity .16s ease,background-color .16s ease;cursor:grab;z-index:50;-webkit-user-select:none;user-select:none}.part-hover-zone{position:absolute;bottom:0;left:0;right:0;height:16px;z-index:40;pointer-events:auto}.part-hover-zone:hover~.part-move-bar,.part-move-bar:hover{opacity:1;background:#8f959e;cursor:grab}.part-move-bar.dragging,.workspace.moving .part-move-bar{opacity:1;background:#1456f0}.part-move-bar.dragging{cursor:grabbing}.workspace.moving,.workspace.moving *{cursor:grabbing!important}.artifact-part:has(.part-move-bar.dragging),.chat-part:has(.part-move-bar.dragging){box-shadow:0 0 0 1.5px #1456f0 inset,0 8px 24px #1456f01f;transition:box-shadow .12s ease}.app-main{display:flex;flex-direction:column;flex:1;overflow:hidden;min-width:0;border-radius:4px 4px 0 0}.app-content{display:flex;flex:1;overflow:hidden;position:relative}.placeholder-page{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:12px;color:var(--color-text-3);font-size:14px;-webkit-user-select:none;user-select:none}.placeholder-page .placeholder-icon{color:var(--color-text-4);opacity:.5}.placeholder-page .placeholder-label{font-size:13px;color:var(--color-text-4)}.svg-canvas-panel{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;background:var(--color-bg)}.svg-canvas-topbar{display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 12px;border-bottom:1px solid var(--color-border);background:var(--color-bg-elevated, #fff);flex-shrink:0}.svg-canvas-topbar-name{font-size:14px;font-weight:500;color:var(--color-text-primary);min-width:0;flex-shrink:1}.svg-canvas-topbar-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.svg-canvas-topbar-btn{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px;border:none;border-radius:var(--radius-s, 4px);background:transparent;color:var(--color-text-secondary);font-size:14px;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.svg-canvas-topbar-btn svg{flex-shrink:0}.svg-canvas-topbar-btn:hover{background:var(--color-bg-hover, #f0f0f0);color:var(--color-text-primary)}.svg-canvas-topbar-btn:disabled{opacity:.35;cursor:default;background:transparent}.svg-canvas-topbar-btn:disabled:hover{background:transparent;color:var(--color-text-secondary)}.svg-canvas-topbar-btn.primary{color:var(--color-primary)}.svg-canvas-topbar-btn.primary:hover{background:var(--color-primary-light, rgba(20, 86, 240, .08))}.svg-canvas-topbar-sep{width:1px;height:16px;background:var(--color-border);margin:0 4px;flex-shrink:0}.svg-canvas-zoom-label{font-size:11px;color:var(--color-text-tertiary);min-width:36px;text-align:center;-webkit-user-select:none;user-select:none}.svg-canvas-body{position:relative;flex:1;min-height:0;overflow:hidden;cursor:default;background-color:var(--color-bg);background-image:radial-gradient(circle,#d4d6d9 .8px,transparent .8px);background-size:20px 20px}.svg-canvas-body.panning{cursor:grab}.svg-canvas-body.panning:active{cursor:grabbing}.svg-canvas-surface{position:absolute;top:0;left:0}.svg-canvas-item{position:absolute;cursor:pointer;border:2px solid transparent;border-radius:var(--radius-s, 4px);transition:border-color .12s,box-shadow .12s;box-sizing:content-box;background:#fff}.svg-canvas-item:hover{border-color:#c0c4cc;box-shadow:0 1px 4px #0000000f}.svg-canvas-item.selected{border-color:var(--color-primary);box-shadow:0 0 0 2px #1456f026}.svg-canvas-item.selected:hover{border-color:var(--color-primary)}.svg-canvas-body.panning .svg-canvas-item{cursor:grab;pointer-events:none}.svg-canvas-item-inner{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;overflow:hidden}.svg-canvas-item-inner svg{display:block;width:100%;height:100%}.svg-canvas-item img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.svg-canvas-item-name{position:absolute;bottom:100%;left:0;z-index:2;transform-origin:bottom left;transform:scale(var(--inv-scale, 1));pointer-events:auto;padding-bottom:0}.svg-canvas-item-name-text{display:inline-block;max-width:260px;font-size:12px;line-height:14px;color:var(--color-text-tertiary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default;-webkit-user-select:none;user-select:none}.svg-canvas-item:hover .svg-canvas-item-name-text,.svg-canvas-item.selected .svg-canvas-item-name-text{color:var(--color-text-secondary)}.svg-canvas-item-name-input{font-size:12px;line-height:18px;height:20px;padding:0 4px;border:1px solid var(--color-primary);border-radius:2px;background:#fff;color:var(--color-text-primary);outline:none;min-width:80px;max-width:260px;box-sizing:border-box}.svg-canvas-dropzone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;background:#1456f00f;border:2px dashed var(--color-primary);border-radius:var(--radius-m, 6px);pointer-events:none}.svg-canvas-dropzone-text{font-size:16px;font-weight:500;color:var(--color-primary)}.svg-canvas-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--color-text-tertiary);pointer-events:none}.svg-canvas-empty-icon{width:48px;height:48px;opacity:.4}.svg-canvas-empty-text{font-size:14px}.figma-import-popover{position:absolute;top:48px;right:12px;z-index:30;width:320px;background:var(--color-bg-elevated, #fff);border:1px solid var(--color-border);border-radius:var(--radius-m, 6px);box-shadow:var(--shadow-dropdown, 0 4px 16px rgba(0, 0, 0, .12));padding:12px;display:flex;flex-direction:column;gap:8px}.figma-import-popover input{width:100%;height:32px;padding:0 8px;border:1px solid var(--color-border);border-radius:var(--radius-s, 4px);font-size:13px;color:var(--color-text-primary);background:var(--color-bg);outline:none;box-sizing:border-box}.figma-import-popover input:focus{border-color:var(--color-primary)}.figma-import-row{display:flex;gap:8px}.figma-import-row .svg-canvas-topbar-btn.primary{background:var(--color-primary);color:#fff;border:none}.figma-import-row .svg-canvas-topbar-btn.primary:hover{background:#2860e1}.figma-import-row .svg-canvas-topbar-btn.primary:disabled{background:#94bfff;opacity:1}.figma-import-row .svg-canvas-topbar-btn:not(.primary){border:1px solid var(--color-border);background:#fff}.figma-import-error{font-size:12px;color:var(--color-error, #e53e3e)}.svg-canvas-item.dragging{opacity:.85;z-index:100;cursor:grabbing}.snap-guide{position:absolute;z-index:15;pointer-events:none}.snap-guide-v{top:0;bottom:0;width:1px;border-left:1px dashed var(--color-primary)}.snap-guide-h{left:0;right:0;height:1px;border-top:1px dashed var(--color-primary)}.alt-distance{position:absolute;z-index:16;pointer-events:none;display:flex;align-items:center;justify-content:center}.alt-distance-h{height:1px;background:#f54a45}.alt-distance-v{width:1px;background:#f54a45;flex-direction:column}.alt-distance-label{background:#f54a45;color:#fff;font-size:10px;line-height:1;padding:1px 4px;border-radius:2px;white-space:nowrap}.taste-context-menu{position:fixed;z-index:50;min-width:160px;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-m, 6px);box-shadow:var(--shadow-dropdown, 0 4px 16px rgba(0, 0, 0, .12));padding:4px;display:flex;flex-direction:column}.taste-context-menu-item{display:flex;align-items:center;gap:8px;height:32px;padding:0 12px;border:none;background:transparent;color:var(--color-text-primary);font-size:14px;cursor:pointer;border-radius:var(--radius-s, 4px);text-align:left;width:100%}.taste-context-menu-item:hover{background:var(--color-bg-hover, #f0f0f0)}.taste-context-menu-item.danger{color:#f54a45}.taste-context-menu-item.danger:hover{background:#f54a450f}.taste-context-menu-item svg{flex-shrink:0}.taste-context-menu-sep{height:1px;background:var(--color-border);margin:4px 0}.chat-sidebar{position:relative;width:100%;height:100%;background:#fff;display:flex;flex-direction:column;overflow:hidden}.chat-header{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;padding:18px 0;background:#fff;gap:16px}.chat-header-actions{display:inline-flex;align-items:center;gap:6px}.chat-header-btn{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;color:#646a73;border-radius:6px;cursor:pointer;transition:background .1s ease,color .1s ease}.chat-header-btn:hover{background:#f5f6f7;color:#2b2f36}.chat-header-btn:disabled{color:#c0c5cc;cursor:default;background:transparent}.chat-header-btn:disabled:hover{background:transparent;color:#c0c5cc}.chat-messages{flex:1;overflow-y:auto;padding:16px 0;display:flex;flex-direction:column;align-items:stretch;gap:28px}.chat-messages{scrollbar-width:none;-ms-overflow-style:none}.chat-messages::-webkit-scrollbar{width:0;height:0;display:none}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;gap:40px;padding:0 20px;margin-top:28px;color:#1f2329;text-align:left}.chat-empty-hero{display:flex;align-items:center;gap:20px;width:100%;max-width:444px}.chat-empty-mascot{flex:0 0 80px;width:80px;height:80px;display:block;object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none}.chat-empty-title{flex:1;min-width:0;font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;font-size:24px;font-weight:600;line-height:36px;color:#1f2329;letter-spacing:0;margin:0}.chat-empty-title-part{white-space:nowrap}.chat-empty-sections{display:flex;flex-direction:column;gap:28px;width:100%;max-width:444px}.chat-empty-section{display:flex;flex-direction:column;gap:12px;width:100%}.chat-empty-section-label{font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;font-size:14px;font-weight:400;line-height:22px;color:#8f959e;margin:0}.chat-empty-presets{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%}.chat-preset-chip{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;background:#f8f9fa;border:none;border-radius:8px;color:#1f2329;font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;font-size:14px;font-weight:400;line-height:22px;text-align:left;cursor:pointer;overflow:hidden;max-width:100%;transition:background .12s ease}.chat-preset-chip:hover{background:#eef0f2}.chat-preset-chip-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-preset-chip svg{flex:0 0 auto;color:#8f959e}.chat-msg-user-row{display:flex;align-items:flex-start;justify-content:flex-end;padding-left:40px;width:100%}.chat-msg-user{flex:1 0 0;min-width:0;display:flex;flex-direction:column;align-items:flex-end;padding:9px 12px;background:#f0f4ff;color:#1f2329;border-radius:8px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:14px;font-weight:400;line-height:22px;word-break:break-word;white-space:pre-wrap;text-align:left}.chat-msg-user-text{width:100%;text-align:left}.chat-msg-assistant-block{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%}.chat-msg-assistant{align-self:stretch;color:#1f2329;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:14px;font-weight:400;line-height:22px;white-space:pre-wrap;word-break:break-word}.chat-thinking{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.chat-thinking.active .chat-thinking-caption{font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:14px;font-weight:400;line-height:22px;color:#646a73;display:inline-flex;align-items:center;gap:2px}.chat-thinking.active .chat-thinking-caption:after{content:"...";display:inline-block;width:14px;overflow:hidden;animation:chat-thinking-ellipsis 1.2s steps(4,end) infinite}@keyframes chat-thinking-ellipsis{0%{width:0}to{width:14px}}.chat-thinking-skeleton{display:flex;flex-direction:column;gap:14px;width:100%;padding-top:6px;animation:chat-skeleton-pulse 1.6s ease-in-out infinite}.chat-thinking-skeleton-row{display:flex;align-items:center;gap:12px;width:100%}.chat-thinking-skeleton-icon{flex:0 0 16px;width:16px;height:16px;border-radius:4px;background:#f5f6f7}.chat-thinking-skeleton-bar{flex:1;height:16px;border-radius:100px;background:#f5f6f7}.chat-thinking-skeleton-row.w-80 .chat-thinking-skeleton-bar{max-width:80%}.chat-thinking-skeleton-row.w-65 .chat-thinking-skeleton-bar{max-width:65%}.chat-thinking-skeleton-row.w-90 .chat-thinking-skeleton-bar{max-width:90%}.chat-thinking-skeleton-row.w-55 .chat-thinking-skeleton-bar{max-width:55%}.chat-thinking-skeleton-row.w-72 .chat-thinking-skeleton-bar{max-width:72%}@keyframes chat-skeleton-pulse{0%,to{opacity:1}50%{opacity:.55}}.chat-expand-card{display:flex;flex-direction:column;width:100%;background:#f5f6f7;border:none;border-radius:10px;overflow:hidden;transition:background .12s ease}.chat-expand-card.expanded{background:#f5f6f7}.chat-expand-card-header{display:flex;align-items:center;gap:8px;width:100%;height:36px;padding:0 8px 0 4px;background:transparent;border:none;cursor:pointer;text-align:left;font:inherit;color:#646a73;box-sizing:border-box;transition:background .1s ease}.chat-expand-card-header:hover{background:#edeff1}.chat-expand-card-header:disabled{cursor:default}.chat-expand-card-header:disabled:hover{background:transparent}.chat-expand-card-icon{flex:0 0 28px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:.5px solid #DEE0E3;border-radius:8px;color:#2b2f36}.chat-expand-card-title{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#646a73;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;font-weight:400;line-height:20px}.chat-expand-card-chevron{flex:0 0 16px;width:16px;height:16px;color:#8f959e;transition:transform .15s ease}.chat-expand-card-chevron.expanded{transform:rotate(180deg)}.chat-expand-card-body{padding:8px 12px 12px 14px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;line-height:20px;color:#646a73}.chat-thinking-body-text{margin:0;white-space:pre-wrap;word-break:break-word;color:#646a73;font-size:12px;line-height:20px}.chat-tool-card.error .chat-expand-card-header,.chat-tool-card.error.expanded{background:#fff5f3}.chat-tool-body{display:flex;flex-direction:column;gap:6px}.chat-tool-body-step{display:flex;gap:6px;align-items:baseline;color:#646a73}.chat-tool-body-step.result.success{color:#17b26a}.chat-tool-body-step.result.error{color:#f54a45}.chat-tool-body-step.result.running{color:#1456f0}.chat-tool-body-step.result.awaiting_confirmation{color:#f5a623}.chat-tool-body-step-marker{color:inherit;font-weight:500}.chat-tool-body-step-text{color:#1f2329}.chat-tool-body-args{display:flex;flex-direction:column;gap:2px;padding:4px 0}.chat-tool-body-arg{display:flex;gap:8px;align-items:baseline;font-size:12px;line-height:20px}.chat-tool-body-arg-key{flex:0 0 auto;color:#8f959e;font-family:SF Mono,ui-monospace,PingFang SC,monospace;font-size:11px}.chat-tool-body-arg-val{flex:1 1 0;min-width:0;color:#2b2f36;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:SF Mono,ui-monospace,PingFang SC,monospace;font-size:11px}.chat-tool-substeps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.chat-tool-substep{display:flex;align-items:center;gap:8px;padding:2px 0}.chat-tool-substep-marker{flex:0 0 12px;width:12px;height:12px;display:inline-flex;align-items:center;justify-content:center}.chat-tool-substep-text{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2b2f36;font-size:12px;line-height:20px}.chat-tool-substep-spinner{width:10px;height:10px;border:1.4px solid #D0D3D6;border-top-color:#1456f0;border-radius:50%;animation:chat-spin .8s linear infinite}.chat-tool-substep-awaiting{width:8px;height:8px;border-radius:50%;background:#f5a623}.chat-tool-substep-idle{width:6px;height:6px;border-radius:50%;background:#d0d3d6}.chat-thinking-pill{display:inline-flex;align-items:center;gap:8px}.chat-thinking-tool{width:28px;height:28px;flex:0 0 28px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:.5px solid #DEE0E3;border-radius:8px;color:#646a73}.chat-thinking-label{font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;font-weight:400;line-height:20px;color:#646a73;white-space:nowrap}.chat-tool-row{display:flex;align-items:center;gap:8px;width:100%;height:36px;padding:0 4px;background:#f5f6f7;border:none;border-radius:11px;color:#646a73;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;font-weight:400;line-height:20px;text-align:left;box-sizing:border-box}.chat-tool-row-icon{flex:0 0 28px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:#fffc;border:.5px solid #DEE0E3;border-radius:8px;color:#2b2f36;position:relative}.chat-tool-row-label{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#646a73}.chat-tool-row-target{margin-left:2px;color:#2b2f36}.chat-tool-row-count{margin-left:4px;color:#8f959e;font-weight:400}.chat-tool-row-status-icon{flex:0 0 16px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#8f959e}.chat-tool-row-status-icon.success{color:#17b26a}.chat-tool-row-status-icon.error{color:#f54a45}.chat-tool-row-status-icon.awaiting{color:#f5a623;font-size:20px;line-height:16px}.chat-tool-row-spinner{flex:0 0 14px;width:14px;height:14px;border:1.5px solid #D0D3D6;border-top-color:#1456f0;border-radius:50%;animation:chat-spin .8s linear infinite}@keyframes chat-spin{to{transform:rotate(360deg)}}.chat-tool-row.error{background:#fff5f3}.chat-tool-group{display:flex;flex-direction:column;gap:4px;width:100%}.chat-tool-group-header{cursor:pointer;transition:background .1s ease}.chat-tool-group-header:hover{background:#edeff1}.chat-tool-row-chevron{flex:0 0 16px;width:16px;height:16px;color:#8f959e;transition:transform .15s ease}.chat-tool-row-chevron.expanded{transform:rotate(180deg)}.chat-tool-group-children{display:flex;flex-direction:column;gap:4px;padding-left:16px}.chat-confirm-card{background:#eff5ff;border:1px solid #BBDBFA;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px}.chat-confirm-card.v2{background:#f5f6f7;border:none;border-radius:10px;padding:0}.chat-confirm-card-header{display:flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 4px}.chat-confirm-card-icon{flex:0 0 28px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:.5px solid #DEE0E3;border-radius:8px;color:#f5a623}.chat-confirm-card-title{flex:1 1 0;min-width:0;color:#1f2329;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:13px;font-weight:500;line-height:20px}.chat-confirm-card-body{padding:0 14px 10px 46px;color:#646a73;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;line-height:20px}.chat-confirm-text{font-size:13px;line-height:20px;color:#1f2329}.chat-confirm-actions{display:flex;gap:8px;justify-content:flex-end}.chat-confirm-card.v2 .chat-confirm-actions{padding:0 12px 12px}.chat-confirm-btn{padding:6px 14px;border-radius:6px;font-size:12px;line-height:20px;font-weight:500;border:1px solid transparent;cursor:pointer;transition:background .1s,border-color .1s}.chat-confirm-btn.primary{background:#1456f0;color:#fff}.chat-confirm-btn.primary:hover{background:#0f49d6}.chat-confirm-btn.secondary{background:#fff;color:#1f2329;border-color:#d0d3d6}.chat-confirm-btn.secondary:hover{background:#f5f6f7}.chat-error-card{background:#fff5f3;border:1px solid #FBD1C6;border-radius:8px;padding:10px 12px;color:#c62828;font-size:12px;line-height:20px}.chat-input-wrap{position:relative;flex:0 0 auto;padding:0;background:transparent}.chat-input-wrap:before{content:"";position:absolute;left:0;right:0;top:-11px;height:11px;background:linear-gradient(to top,#fff,#fff0);pointer-events:none}.chat-input-box{display:flex;flex-direction:column;align-items:stretch;padding-top:12px;background:#fff;border:.5px solid #DEE0E3;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px -2px #1f23290d,0 2px 4px #1f23290d,0 2px 8px 2px #1f23290d}.chat-input-content{display:flex;align-items:center;justify-content:center;padding:0 14px;width:100%}.chat-input-textarea{flex:1;min-width:0;width:100%;border:none;outline:none;resize:none;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:14px;font-weight:400;line-height:22px;color:#1f2329;background:transparent;min-height:22px;max-height:140px;padding:0}.chat-input-textarea::placeholder{color:#8f959e}.chat-input-toolbar{display:flex;align-items:flex-end;justify-content:flex-end;height:52px;padding:12px;gap:16px;width:100%}.chat-input-tools-left{display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0}.chat-input-tools-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.chat-input-mention-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:.5px solid #D0D3D6;border-radius:100px;background:transparent;color:#2b2f36;cursor:pointer;transition:background .1s ease}.chat-input-mention-btn:hover{background:#f5f6f7}.chat-input-send{width:28px;height:28px;border-radius:16.471px;border:none;background:#1456f059;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .1s ease,opacity .1s ease}.chat-input-send.primary:not(:disabled){background:#1456f0}.chat-input-send.primary:not(:disabled):hover{background:#0e44c2}.chat-input-send:disabled{cursor:not-allowed}.chat-input-send.stop{background:#8f959e}.chat-input-send.stop:hover{background:#646a73}.chat-generating-hint{font-size:12px;color:#8f959e;display:inline-flex;align-items:center;gap:4px;margin-right:8px}.chat-input-voice-btn{position:relative;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:.5px solid #D0D3D6;border-radius:100px;background:transparent;color:#2b2f36;cursor:pointer;transition:background .1s ease,color .1s ease,border-color .1s ease}.chat-input-voice-btn:hover{background:#f5f6f7}.chat-input-voice-btn.listening{background:#1456f0;border-color:#1456f0;color:#fff}.chat-input-voice-btn.listening:hover{background:#0f49d6}.chat-input-voice-btn.stopping{background:#1456f0;border-color:#1456f0;color:#fff;opacity:.7;cursor:not-allowed}.chat-input-voice-pulse{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid #1456F0;animation:chat-mic-pulse 1.2s ease-out infinite;pointer-events:none}@keyframes chat-mic-pulse{0%{transform:scale(1);opacity:.6}to{transform:scale(1.6);opacity:0}}.chat-input-voice-stopping{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.6);animation:chat-mic-stopping .6s ease-in-out infinite alternate;pointer-events:none}@keyframes chat-mic-stopping{0%{transform:scale(1.1);opacity:.5}to{transform:scale(.9);opacity:.2}}.chat-empty-context-hint{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#f5f6f7;border-radius:100px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;font-size:12px;line-height:20px;color:#646a73;margin-top:4px}.chat-empty-context-hint .dot{width:6px;height:6px;border-radius:50%;background:#17b26a}
