:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@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-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@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;--font-weight-normal:400;--font-weight-medium:500;--tracking-tight:-.025em;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--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%;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]){appearance:button}::file-selector-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{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.z-50{z-index:50}.mt-3{margin-top:calc(var(--spacing) * 3)}.-mr-8{margin-right:calc(var(--spacing) * -8)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-30{margin-right:calc(var(--spacing) * 30)}.mr-\[2px\]{margin-right:2px}.-ml-1{margin-left:calc(var(--spacing) * -1)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-18{margin-left:calc(var(--spacing) * 18)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-10{height:calc(var(--spacing) * 10)}.h-18{height:calc(var(--spacing) * 18)}.h-\[14px\]{height:14px}.h-\[24px\]{height:24px}.h-\[30px\]{height:30px}.h-\[36px\]{height:36px}.h-\[40px\]{height:40px}.h-\[45px\]{height:45px}.h-\[48px\]{height:48px}.h-\[52px\]{height:52px}.h-\[72px\]{height:72px}.h-\[75\.92px\]{height:75.92px}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-10{width:calc(var(--spacing) * 10)}.w-18{width:calc(var(--spacing) * 18)}.w-\[14px\]{width:14px}.w-\[89px\]{width:89px}.w-\[299px\]{width:299px}.w-full{width:100%}.w-px{width:1px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize{resize:both}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded-\[4px\]{border-radius:4px}.rounded-\[5px\]{border-radius:5px}.rounded-\[6px\]{border-radius:6px}.rounded-\[8px\]{border-radius:8px}.rounded-\[15px\]{border-radius:15px}.rounded-\[18px\]{border-radius:18px}.rounded-\[25px\]{border-radius:25px}.rounded-\[26px\]{border-radius:26px}.rounded-\[30px\]{border-radius:30px}.rounded-\[50px\]{border-radius:50px}.rounded-full{border-radius:3.40282e38px}.rounded-none{border-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-\[\#0000001A\]{border-color:#0000001a}.border-\[\#171A1F\]{border-color:#171a1f}.border-\[\#797a85\]{border-color:#797a85}.border-\[\#D9DCE1\]{border-color:#d9dce1}.border-transparent{border-color:#0000}.bg-\[\#1BC469\]{background-color:#1bc469}.bg-\[\#4443E4\]{background-color:#4443e4}.bg-\[\#4443E40D\]{background-color:#4443e40d}.bg-\[\#F73F49\]{background-color:#f73f49}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-\[\#b4bcc9\]{background-color:#b4bcc9}.bg-\[\#d5daf2\]{background-color:#d5daf2}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-\[10px\]{padding-inline:10px}.px-\[30px\]{padding-inline:30px}.py-4{padding-block:calc(var(--spacing) * 4)}.py-\[3px\]{padding-block:3px}.text-\[10px\]{font-size:10px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[18px\]{font-size:18px}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\[1\]{--tw-leading:1;line-height:1}.leading-\[18px\]{--tw-leading:18px;line-height:18px}.leading-\[22px\]{--tw-leading:22px;line-height:22px}.leading-\[28px\]{--tw-leading:28px;line-height:28px}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-\[\#2F3542\]{color:#2f3542}.text-\[\#171A1F\]{color:#171a1f}.text-\[\#4443E4\]{color:#4443e4}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.opacity-25{opacity:.25}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.placeholder\:text-\[\#2F3542\]\/50::placeholder{color:#2f354280}@media(hover:hover){.hover\:bg-\[\#3a3adb\]:hover{background-color:#3a3adb}.hover\:bg-\[\#16a85a\]:hover{background-color:#16a85a}.hover\:bg-\[\#4443E41A\]:hover{background-color:#4443e41a}.hover\:bg-\[\#F3F4F6\]:hover{background-color:#f3f4f6}.hover\:bg-\[\#F9FAFB\]:hover{background-color:#f9fafb}.hover\:bg-\[\#e62e38\]:hover{background-color:#e62e38}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#4443E4\]:focus-visible{--tw-ring-color:#4443e4}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:flex{display:flex}}@media(min-width:48rem){.md\:px-6{padding-inline:calc(var(--spacing) * 6)}.md\:px-8{padding-inline:calc(var(--spacing) * 8)}}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}#root{color:#111827;background:#f9fafb;width:100%;min-height:100vh;font-family:IBM Plex Sans,system-ui,-apple-system,sans-serif}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.app-shell{flex-direction:column;height:100vh;display:flex;overflow:hidden}.app-body{flex:1;display:flex;overflow:hidden}.sidebar{background:#fff;flex-direction:column;flex-shrink:0;width:220px;transition:width .2s;display:flex;overflow-y:auto}.sidebar--collapsed{width:52px}.sidebar-nav{flex-direction:column;flex:1;gap:2px;padding:12px;display:flex}.sidebar-nav--collapsed{align-items:center;padding:12px 6px}.nav-item--icon-only{justify-content:center;width:40px;height:40px;padding:9px}.sidebar-section-label{text-transform:uppercase;letter-spacing:.08em;color:#9ca3af;margin-top:8px;padding:8px 8px 4px;font-size:10px;font-weight:600}.sidebar-section-label:first-child{margin-top:0}.nav-item{color:#6b7280;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:13px;font-weight:500;transition:background .15s,color .15s;display:flex}.nav-item-icon{opacity:.7;flex-shrink:0;width:16px;height:16px}.sidebar-footer{border-top:1px solid #e5e7eb;padding:12px}.logout-btn{color:#6b7280;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:13px;font-weight:500;transition:background .15s,color .15s;display:flex}.logout-btn:hover{color:#ef4444;background:#fef2f2}.main-content{flex-direction:column;flex:1;display:flex;overflow:hidden}.page-header{z-index:50;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:56px;padding:0 28px;display:flex;position:sticky;top:0}.page-header-title{color:#111827;font-size:15px;font-weight:600}.page-header-right{align-items:center;gap:12px;display:flex}.user-badge{color:#374151;align-items:center;gap:8px;font-size:13px;display:flex}.user-avatar{color:#fff;background:linear-gradient(135deg,#4443e4,#6d6bee);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:11px;font-weight:600;display:flex}.page-body{flex:1;padding:28px;overflow-y:auto}.error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:10px 14px;font-size:13px}.toast{color:#065f46;z-index:1001;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:500;position:fixed;top:20px;right:20px;box-shadow:0 4px 12px #00000014}.card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.btn{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;height:36px;padding:0 16px;font-size:13px;font-weight:500;transition:opacity .15s,background .15s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{color:#fff;background:#4443e4;border-color:#4443e4}.btn-primary:hover:not(:disabled){background:#3635cc}.btn-outline{color:#374151;background:#fff;border-color:#d1d5db}.btn-outline:hover:not(:disabled){background:#f9fafb}.btn-danger{color:#dc2626;background:#fff;border-color:#fecaca}.btn-danger:hover:not(:disabled){background:#fef2f2}.btn-sm{height:30px;padding:0 12px;font-size:12px}.btn-icon{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.btn-icon:hover{color:#111827;background:#f3f4f6}.btn-ghost{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;transition:background .12s,color .12s;display:inline-flex}.btn-ghost:hover:not(:disabled){color:#111827;background:#f3f4f6}.btn-lg{height:42px;padding:0 20px;font-size:14px}.pill{border:1px solid;border-radius:999px;align-items:center;padding:2px 10px;font-size:11px;font-weight:500;display:inline-flex}.pill-success{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.pill-warning{color:#d97706;background:#fffbeb;border-color:#fde68a}.pill-error{color:#dc2626;background:#fef2f2;border-color:#fecaca}.pill-muted{color:#6b7280;background:#f9fafb;border-color:#e5e7eb}.field-group{flex-direction:column;gap:4px;display:flex}.field-label{color:#374151;letter-spacing:.01em;font-size:12px;font-weight:500}.field-optional{color:#9ca3af;margin-left:4px;font-size:11px;font-weight:400}.field-input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:36px;padding:0 12px;font-size:13px;transition:border-color .15s,box-shadow .15s}.field-input::placeholder{color:#9ca3af}.field-input:focus{border-color:#4443e4;box-shadow:0 0 0 3px #4443e41a}select.field-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:28px}.page-section-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.page-section-title{color:#111827;font-size:18px;font-weight:700}.page-section-sub{color:#6b7280;margin-top:2px;font-size:13px}.data-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table thead tr{background:#f9fafb;border-bottom:1px solid #e5e7eb}.data-table th{text-align:left;color:#6b7280;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;padding:10px 16px;font-size:11px;font-weight:600}.data-table td{color:#374151;border-bottom:1px solid #f3f4f6;padding:12px 16px}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fafafa}.table-empty{text-align:center;color:#9ca3af;padding:40px;font-size:13px}.chat-layout{gap:20px;height:calc(100vh - 112px);min-height:500px;display:flex}.chat-provider-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;flex-shrink:0;width:180px;display:flex;overflow-y:auto}.provider-group-label{text-transform:uppercase;letter-spacing:.08em;color:#9ca3af;background:#fff;border-bottom:1px solid #f3f4f6;padding:12px 12px 6px;font-size:10px;font-weight:700;position:sticky;top:0}.provider-group-label.openai{color:#10a37f}.provider-group-label.gemini{color:#4285f4}.provider-group-label.claude{color:#d97706}.provider-group-label.smart{color:#7c3aed}.chat-provider-btn{color:#6b7280;text-align:left;background:0 0;border:none;border-left:2px solid #0000;border-radius:0;width:100%;padding:7px 12px;font-size:12px;font-weight:400;transition:background .12s,color .12s}.chat-provider-btn:hover{color:#111827;background:#f9fafb}.chat-provider-btn.active{color:#4443e4;background:#eef2ff;border-left-color:#4443e4;font-weight:500}.chat-provider-btn.gemini-btn.active{color:#059669;background:#f0fdf4;border-left-color:#059669}.chat-provider-btn.claude-btn.active{color:#d97706;background:#fffbeb;border-left-color:#d97706}.chat-provider-btn.smart-btn.active{color:#7c3aed;background:#f5f3ff;border-left-color:#7c3aed}.chat-panel-extra{border-top:1px solid #f3f4f6;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.chat-panel-extra label{color:#6b7280;font-size:11px;font-weight:500}.chat-panel-extra input,.chat-panel-extra select{color:#111827;background:#f9fafb;border:1px solid #d1d5db;border-radius:5px;outline:none;width:100%;height:30px;padding:0 8px;font-size:12px}.chat-panel-extra input:focus,.chat-panel-extra select:focus{border-color:#4443e4}.chat-main-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.chat-messages-area{background:#fafafa;flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.chat-empty-state{flex:1;justify-content:center;align-items:center;display:flex}.chat-empty-state p{color:#9ca3af;text-align:center;max-width:300px;font-size:13px;line-height:1.5}.chat-bubble-row{flex-direction:column;display:flex}.chat-bubble-row.user{align-items:flex-end}.chat-bubble-row.assistant{align-items:flex-start}.chat-role-label{text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;margin-bottom:4px;padding:0 2px;font-size:10px;font-weight:600}.chat-bubble{white-space:pre-wrap;word-break:break-word;border-radius:12px;max-width:70%;padding:10px 14px;font-size:13px;line-height:1.6}.chat-bubble-row.user .chat-bubble{color:#fff;background:#4443e4;border-bottom-right-radius:4px}.chat-bubble-row.assistant .chat-bubble{color:#111827;background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:4px;box-shadow:0 1px 3px #0000000d}.typing-indicator{color:#9ca3af;font-size:12px;font-style:italic}.chat-image{border-radius:8px;max-width:200px;max-height:150px;margin-top:4px}.generated-image{border-radius:10px;max-width:100%;max-height:400px}.revised-prompt{color:#9ca3af;margin-top:6px;font-size:11px;font-style:italic}.chat-footer{background:#fff;border-top:1px solid #e5e7eb;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.file-upload-bar{background:#f9fafb;border:1px dashed #d1d5db;border-radius:6px;align-items:center;gap:10px;padding:6px 10px;display:flex}.file-upload-label{color:#4443e4;cursor:pointer;background:#eef2ff;border:1px solid #c7d2fe;border-radius:4px;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:500;transition:background .15s;display:inline-flex}.file-upload-label:hover{background:#e0e7ff}.file-info-row{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.file-thumb{object-fit:cover;border:1px solid #e5e7eb;border-radius:4px;width:32px;height:32px}.file-name{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;overflow:hidden}.file-type-badge{color:#4443e4;background:#eef2ff;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;font-size:9px;font-weight:700;display:flex}.file-remove-btn{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:4px;padding:2px 8px;font-size:11px}.file-input-hidden{display:none}.chat-input-row{align-items:flex-end;gap:8px;display:flex}.chat-textarea{color:#111827;resize:none;background:#f9fafb;border:1px solid #d1d5db;border-radius:8px;outline:none;flex:1;min-height:38px;max-height:120px;padding:9px 12px;font-family:inherit;font-size:13px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.chat-textarea:focus{background:#fff;border-color:#4443e4;box-shadow:0 0 0 3px #4443e41a}.send-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#4443e4;border:none;border-radius:8px;height:38px;padding:0 18px;font-size:13px;font-weight:500;transition:background .15s}.send-btn:hover:not(:disabled){background:#3635cc}.send-btn:disabled{opacity:.45;cursor:not-allowed}.dash-tabs{background:#f3f4f6;border-radius:8px;gap:2px;width:fit-content;margin-bottom:24px;padding:3px;display:flex}.dash-tab{color:#6b7280;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:background .15s,color .15s}.dash-tab.active{color:#111827;background:#fff;font-weight:600;box-shadow:0 1px 3px #0000001a}.dash-section{display:none}.dash-section.active{display:block}.provider-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch;gap:16px;display:grid}.provider-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:12px;padding:20px;display:flex}.provider-card-header{justify-content:space-between;align-items:center;display:flex}.provider-card-title{color:#111827;letter-spacing:.02em;font-size:14px;font-weight:700}.team-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:16px;display:grid}.team-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:8px;padding:16px;display:flex}.team-card-name{color:#111827;font-size:14px;font-weight:600}.team-card-meta{color:#6b7280;font-size:12px}.inline-create-form{align-items:flex-end;gap:8px;margin-bottom:4px;display:flex}.inline-create-form .field-input{flex:1;max-width:320px}.form-block{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:14px;max-width:540px;padding:20px;display:flex}.form-row{flex-direction:column;gap:5px;display:flex}.checkbox-group{flex-wrap:wrap;gap:12px;display:flex}.checkbox-label{color:#374151;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:flex}.checkbox-label input[type=checkbox]{accent-color:#4443e4;width:14px;height:14px}.provider-chips{flex-wrap:wrap;gap:8px;display:flex}.provider-chip{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:5px 14px;font-size:12px;font-weight:500;transition:all .15s}.provider-chip:disabled{opacity:.4;cursor:not-allowed}.provider-chip.openai.selected{color:#10a37f;background:#f0fdf4;border-color:#10a37f}.provider-chip.anthropic.selected{color:#d97706;background:#fffbeb;border-color:#d97706}.provider-chip.gemini.selected{color:#4285f4;background:#eff6ff;border-color:#4285f4}.keys-list{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-top:20px;overflow:hidden}.keys-list-header{color:#111827;border-bottom:1px solid #e5e7eb;padding:12px 16px;font-size:13px;font-weight:600}.key-row{color:#374151;border-bottom:1px solid #f3f4f6;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;font-size:13px;display:flex}.key-row:last-child{border-bottom:none}.key-prefix{color:#6b7280;background:#f3f4f6;border-radius:4px;padding:2px 8px;font-family:IBM Plex Mono,monospace;font-size:12px}.provider-pills-row{flex-wrap:wrap;gap:4px;display:flex}.provider-mini-pill{border:1px solid;border-radius:999px;padding:1px 8px;font-size:10px;font-weight:500}.provider-mini-pill.openai{color:#10a37f;background:#f0fdf4;border-color:#a7f3d0}.provider-mini-pill.anthropic{color:#d97706;background:#fffbeb;border-color:#fde68a}.provider-mini-pill.gemini{color:#4285f4;background:#eff6ff;border-color:#bfdbfe}.budget-status-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-width:540px;margin-top:20px;padding:16px}.budget-status-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.budget-status-title{color:#111827;font-size:13px;font-weight:600}.budget-spend-text{color:#6b7280;margin-bottom:8px;font-size:13px}.spend-track{background:#f3f4f6;border-radius:999px;width:100%;height:8px;overflow:hidden}.spend-fill{background:linear-gradient(90deg,#4443e4,#818cf8);border-radius:999px;height:100%;transition:width .3s}.model-check-list{flex-direction:column;gap:6px;max-height:150px;padding:4px 0;display:flex;overflow-y:auto}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0006;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:min(500px,100%);padding:24px;box-shadow:0 20px 60px #00000026}.modal-title{color:#111827;margin-bottom:16px;font-size:16px;font-weight:600}.secret-block{color:#374151;word-break:break-all;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;padding:12px 14px;font-family:IBM Plex Mono,monospace;font-size:12px;overflow-x:auto}.warning-text{color:#d97706;align-items:center;gap:4px;margin-bottom:16px;font-size:12px;display:flex}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.auth-page-wrapper{background:#f9fafb;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:2rem 1rem;display:flex}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;max-width:420px;padding:36px 32px;box-shadow:0 4px 24px #0000000f}.auth-logo{color:#4443e4;text-align:center;margin-bottom:24px;font-size:20px;font-weight:700}.auth-welcome-title,.signup-title{color:#111827;text-align:center;margin-bottom:4px;font-size:22px;font-weight:700}.auth-welcome-sub{color:#6b7280;text-align:center;margin-bottom:24px;font-size:13px}.auth-fields{flex-direction:column;gap:14px;display:flex}.auth-field-group{flex-direction:column;gap:5px;display:flex}.auth-field-label{color:#374151;font-size:12px;font-weight:500}.auth-field-optional{color:#9ca3af;font-size:11px;font-weight:400}.auth-field-input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:40px;padding:0 14px;font-family:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s}.auth-field-input::placeholder{color:#9ca3af}.auth-field-input:focus{border-color:#4443e4;box-shadow:0 0 0 3px #4443e41a}.forgot-pwd-btn{color:#4443e4;cursor:pointer;text-align:right;background:0 0;border:none;padding:0;font-size:12px}.forgot-pwd-btn:hover{text-decoration:underline}.login-primary-btn{color:#fff;cursor:pointer;background:#4443e4;border:none;border-radius:8px;width:100%;height:40px;font-family:inherit;font-size:14px;font-weight:600;transition:background .15s}.login-primary-btn:hover:not(:disabled){background:#3635cc}.login-primary-btn:disabled{opacity:.6;cursor:not-allowed}.auth-error-msg{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:8px 12px;font-size:12px}.auth-info-note{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;padding:8px 12px;font-size:12px}.auth-or-divider{align-items:center;gap:12px;display:flex}.divider-line{background:#e5e7eb;flex:1;height:1px}.divider-label{color:#9ca3af;white-space:nowrap;font-size:11px}.social-btns{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.social-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;height:34px;font-family:inherit;font-size:12px;font-weight:500;transition:background .15s,border-color .15s}.social-btn:hover{background:#f9fafb;border-color:#d1d5db}.auth-register-row{text-align:center;color:#6b7280;font-size:12px}.register-now-btn{color:#4443e4;font-size:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600}.register-now-btn:hover{text-decoration:underline}.row-between{justify-content:space-between;align-items:center;display:flex}.helper-text{color:#6b7280;font-size:12px}.provider-error{color:#dc2626}@media(max-width:768px){.sidebar{display:none}.main-content{margin-left:0}.chat-layout{flex-direction:column;height:auto}.chat-provider-panel{flex-flow:wrap;width:100%;overflow-x:auto}.provider-grid{grid-template-columns:1fr}}.sidebar-logo{border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;padding:16px 16px 14px;display:flex}.sidebar-logo-mark{color:#fff;background:#4443e4;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;font-weight:700;display:flex}.sidebar-logo-name{color:#111827;font-size:14px;font-weight:700;line-height:1.2}.sidebar-logo-sub{color:#9ca3af;font-size:10px;line-height:1.2}.sidebar-nav{flex-direction:column;flex:1;padding:8px 10px 12px;display:flex;overflow-y:auto}.sidebar-group{margin-top:18px}.sidebar-group:first-child{margin-top:8px}.sidebar-group-label{text-transform:uppercase;letter-spacing:.09em;color:#9ca3af;padding:0 8px 6px;font-size:10px;font-weight:700}.nav-item{color:#6b7280;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:9px;width:100%;padding:7px 10px;font-size:13px;font-weight:400;transition:background .12s,color .12s;display:flex}.nav-item:hover{color:#111827;background:#f3f4f6}.nav-item.active{color:#4443e4;background:#eef2ff;font-weight:600}.nav-item-icon{opacity:.75;flex-shrink:0;align-items:center;display:flex}.nav-item.active .nav-item-icon{opacity:1}.app-header{z-index:200;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:0 24px;display:flex}.app-header-left{align-items:center;gap:40px;display:flex}.hamburger-btn{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;line-height:0;display:flex;box-shadow:none!important;outline:none!important}.hamburger-btn:focus,.hamburger-btn:focus-visible,.hamburger-btn:active{box-shadow:none!important;outline:none!important}.hamburger-btn:hover{opacity:.75}.app-header-brand{align-items:center;gap:10px;display:flex}.header-logo-mark{color:#fff;background:#4443e4;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;font-weight:700;display:flex}.header-brand-name{color:#111827;letter-spacing:-.01em;font-size:15px;font-weight:700}.app-header-title{color:#111827;font-size:15px;font-weight:600}.header-right{align-items:center;gap:12px;display:flex}.user-menu-wrap{position:relative}.user-menu-trigger{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;align-items:center;gap:7px;padding:5px 10px;font-size:13px;font-weight:500;transition:background .12s;display:flex}.user-menu-trigger:hover{background:#f9fafb}.user-menu-label{color:#374151;font-size:13px}.user-dropdown{z-index:200;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:260px;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden;box-shadow:0 8px 24px #0000001a}.user-dropdown-header{border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:center;padding:12px 16px 10px;display:flex}.user-dropdown-email{color:#374151;text-overflow:ellipsis;white-space:nowrap;max-width:170px;font-size:12px;font-weight:500;overflow:hidden}.user-dropdown-plan{color:#6b7280;background:#f3f4f6;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.user-dropdown-row{justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;display:flex}.user-dropdown-field-label{color:#6b7280}.user-dropdown-field-value{color:#111827;align-items:center;gap:6px;font-weight:500;display:flex}.copy-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;align-items:center;padding:2px;display:flex}.copy-btn:hover{color:#4443e4}.user-dropdown-divider{background:#f3f4f6;height:1px;margin:4px 0}.user-dropdown-logout{color:#6b7280;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:10px 16px;font-size:13px;font-weight:500;transition:background .12s,color .12s;display:flex}.user-dropdown-logout:hover{color:#ef4444;background:#fef2f2}.vk-page-top{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}.vk-toolbar{justify-content:space-between;align-items:center;gap:8px;display:flex}.vk-toolbar-right{align-items:center;gap:8px;display:flex}.vk-meta-row{justify-content:space-between;align-items:center;margin:0 0 8px;display:flex}.vk-pagination-inline{align-items:center;gap:8px;display:flex}.vk-pagination-below{justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding:10px 4px 4px;display:flex}.vk-results-count{color:#6b7280;margin:8px 0 6px;font-size:13px}.vk-results-count strong{color:#111827;font-weight:600}.vk-table .key-prefix-cell{color:#4443e4;background:#eef2ff;border-radius:4px;padding:2px 8px;font-family:IBM Plex Mono,Courier New,monospace;font-size:11px}.muted{color:#9ca3af}.vk-pagination{border-top:1px solid #f3f4f6;justify-content:space-between;align-items:center;padding:10px 16px;font-size:12px;display:flex}.create-key-modal{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;width:min(580px,96vw);max-height:90vh;display:flex;overflow:hidden;box-shadow:0 24px 64px #00000024}.create-key-modal-header{border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 22px 14px;display:flex}.create-key-modal-title{color:#111827;font-size:16px;font-weight:600}.modal-close-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:color .12s;display:flex}.modal-close-btn:hover{color:#111827}.create-key-modal-body{flex-direction:column;flex:1;gap:2px;padding:0 22px 4px;display:flex;overflow-y:auto}.key-modal-section{border-bottom:1px solid #f3f4f6;padding:16px 0 12px}.key-modal-section:last-child{border-bottom:none}.key-modal-section-title{color:#111827;margin-bottom:14px;font-size:13px;font-weight:600}.key-modal-row{grid-template-columns:130px 1fr;align-items:flex-start;gap:12px;margin-bottom:12px;display:grid}.key-modal-row:last-child{margin-bottom:0}.key-modal-label{color:#374151;align-items:center;gap:4px;padding-top:8px;font-size:12px;font-weight:500;display:flex}.key-modal-hint{color:#9ca3af;cursor:help;font-size:11px}.required-star{color:#ef4444;margin-right:2px}.key-modal-field{flex-direction:column;gap:5px;display:flex}.key-modal-note{color:#9ca3af;font-size:11px}.ownership-options{gap:8px;padding-top:6px;display:flex}.ownership-option{color:#374151;align-items:center;gap:6px;font-size:13px;display:flex}.ownership-radio{border:2px solid #d1d5db;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}.ownership-radio.active{background:#4443e4;border-color:#4443e4;box-shadow:inset 0 0 0 3px #fff}.provider-radio-group{flex-wrap:wrap;gap:8px;padding-top:2px;display:flex}.provider-radio-chip{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:5px 14px;font-size:12px;font-weight:500;transition:all .13s}.provider-radio-chip:hover{color:#4443e4;background:#eef2ff;border-color:#4443e4}.provider-radio-chip.selected{color:#4443e4;background:#eef2ff;border-color:#4443e4;font-weight:600}.provider-radio-chip.custom{border-style:dashed}.provider-radio-chip.custom:hover,.provider-radio-chip.custom.selected{color:#d97706;background:#fffbeb;border-color:#d97706}.custom-provider-badge{text-transform:uppercase;letter-spacing:.05em;color:#d97706;vertical-align:middle;background:#fef3c7;border-radius:3px;margin-left:6px;padding:1px 4px;font-size:9px;font-weight:700;display:inline-block}.api-key-verify-row{align-items:center;gap:8px;display:flex}.api-key-verify-row .field-input{flex:1}.verify-btn{white-space:nowrap;height:36px}.verify-status-msg{font-size:12px;font-weight:500}.verify-ok{color:#059669}.verify-fail{color:#dc2626}.models-checkbox-grid{grid-template-columns:1fr 1fr;gap:6px 12px;padding:4px 0;display:grid}.optional-toggle{color:#374151;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:500;display:flex}.optional-toggle:hover{color:#111827}.optional-settings-body{padding-top:14px}.optional-row{gap:12px;display:flex}.create-key-modal-footer{border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;gap:8px;padding:14px 22px 18px;display:flex}.teams-tabs{border-bottom:1px solid #e5e7eb;align-items:center;gap:0;margin-bottom:6px;display:flex}.teams-tab{color:#6b7280;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 16px;font-size:13px;font-weight:500;transition:color .15s,border-color .15s}.teams-tab:hover:not(:disabled){color:#4443e4}.teams-tab--active{color:#4443e4;border-bottom-color:#4443e4}.teams-tab:disabled{opacity:.4;cursor:default}.teams-tabs-right{align-items:center;gap:8px;margin-left:auto;padding-bottom:4px;display:flex}.teams-refreshed-label{color:#6b7280;font-size:12px}.teams-info-text{color:#6b7280;margin:8px 0 16px;font-size:13px}.teams-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.teams-search-row{border-bottom:1px solid #e5e7eb;align-items:center;gap:8px;padding:14px 16px;display:flex}.teams-search-wrap{flex:0 0 260px;position:relative}.teams-search-icon{pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.teams-search-input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:34px;padding:0 10px 0 32px;font-size:13px}.teams-search-input:focus{border-color:#4443e4;box-shadow:0 0 0 3px #4443e414}.vk-filter-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:16px;margin-bottom:12px;padding:16px;display:flex}.vk-filter-field{flex-direction:column;flex:1;gap:6px;display:flex}.pg-layout{background:#f9fafb;gap:0;height:calc(100vh - 104px);min-height:500px;display:flex}.pg-config-panel{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;gap:18px;width:240px;padding:20px 16px;display:flex;overflow-y:auto}.pg-config-title{color:#111827;font-size:15px;font-weight:600}.pg-config-field{flex-direction:column;gap:6px;display:flex}.pg-config-label{color:#6b7280;align-items:center;font-size:12px;font-weight:500;display:flex}.pg-config-select{color:#111827;cursor:pointer;appearance:auto;background:#f9fafb;border:1px solid #d1d5db;border-radius:7px;outline:none;height:36px;padding:0 10px;font-size:13px}.pg-config-select:focus{border-color:#4443e4}.pg-key-input-wrap{align-items:center;display:flex;position:relative}.pg-key-input{color:#111827;background:#f9fafb;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:36px;padding:0 34px 0 30px;font-size:13px}.pg-key-input:focus{border-color:#4443e4}.pg-key-input::placeholder{color:#9ca3af;font-size:12px}.pg-key-eye{cursor:pointer;color:#9ca3af;background:0 0;border:none;align-items:center;padding:0;display:flex;position:absolute;right:8px}.pg-key-eye:hover{color:#6b7280}.pg-main-panel{background:#fff;border-left:1px solid #e5e7eb;flex-direction:column;flex:1;min-width:0;display:flex}.pg-main-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.pg-main-title{color:#111827;font-size:15px;font-weight:600}.pg-clear-btn{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #e5e7eb;border-radius:6px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;transition:background .12s,color .12s;display:flex}.pg-clear-btn:hover{color:#111827;background:#f3f4f6}.pg-messages-area{background:#fff;flex-direction:column;flex:1;gap:18px;padding:24px 20px;display:flex;overflow-y:auto}.pg-empty-state{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:40px 20px;display:flex}.pg-empty-icon{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.pg-empty-text{color:#6b7280;margin:0;font-size:14px}.pg-prompt-chips{flex-wrap:wrap;justify-content:center;gap:8px;max-width:480px;display:flex}.pg-prompt-chip{color:#374151;cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:20px;padding:7px 14px;font-size:13px;transition:background .12s,border-color .12s}.pg-prompt-chip:hover{color:#4443e4;background:#eef2ff;border-color:#a5b4fc}.pg-bubble-row{align-items:flex-start;gap:10px;display:flex}.pg-bubble-row.user{flex-direction:row-reverse}.pg-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:11px;font-weight:600;display:flex}.pg-avatar.user{color:#fff;background:#4443e4}.pg-avatar.assistant{color:#374151;background:#f3f4f6}.pg-bubble{white-space:pre-wrap;word-break:break-word;border-radius:12px;max-width:72%;padding:10px 14px;font-size:14px;line-height:1.55}.pg-bubble-row.user .pg-bubble{color:#fff;background:#4443e4;border-radius:12px 12px 2px}.pg-bubble-row.assistant .pg-bubble{color:#111827;background:#f3f4f6;border-radius:12px 12px 12px 2px}.pg-typing{color:#9ca3af;font-style:italic}.pg-input-bar{background:#fff;border-top:1px solid #e5e7eb;align-items:flex-end;gap:10px;padding:14px 16px;display:flex}.pg-textarea{resize:none;color:#111827;background:#f9fafb;border:1px solid #d1d5db;border-radius:10px;outline:none;flex:1;max-height:120px;padding:10px 14px;font-family:inherit;font-size:14px;line-height:1.5;overflow-y:auto}.pg-textarea:focus{background:#fff;border-color:#4443e4}.pg-textarea::placeholder{color:#9ca3af}.pg-send-btn{color:#fff;cursor:pointer;background:#4443e4;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:background .15s;display:flex}.pg-send-btn:hover:not(:disabled){background:#3332c8}.pg-send-btn:disabled{cursor:not-allowed;background:#c7d2fe}.pg-usecase-section{border-top:1px solid #f3f4f6;flex-direction:column;gap:6px;padding-top:14px;display:flex}.pg-usecase-section-label{text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;padding:0 2px;font-size:11px;font-weight:600}.pg-usecase-list{flex-direction:column;gap:1px;display:flex}.pg-usecase-btn{text-align:left;color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:7px 10px;font-size:13px;transition:background .12s,color .12s}.pg-usecase-btn:hover{color:#111827;background:#f3f4f6}.pg-usecase-btn.active{color:#4443e4;background:#eef2ff;font-weight:500}.pg-upload-bar{background:#fafafa;border-top:1px solid #f3f4f6;align-items:center;gap:10px;padding:8px 16px;display:flex}.pg-upload-label{color:#4443e4;cursor:pointer;background:#eef2ff;border:1px solid #a5b4fc;border-radius:6px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;transition:background .12s;display:flex}.pg-upload-label:hover{background:#e0e7ff}.pg-upload-info{align-items:center;gap:6px;display:flex}@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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@keyframes spin{to{transform:rotate(360deg)}}
