*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.max-h-24{max-height:6rem}.max-h-\[160px\]{max-height:160px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-5xl{max-width:64rem}.flex-1{flex:1 1 0%}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tracking-wide{letter-spacing:.025em}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-60{opacity:.6}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-green-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 222 128 / var(--tw-ring-opacity, 1))}.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-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}html{background:#f3f5f8}body{margin:0;color:#18212f;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,select,textarea,input{font:inherit}.app-surface{min-height:100vh;background:radial-gradient(circle at 8% 2%,rgba(36,178,156,.09),transparent 25rem),radial-gradient(circle at 92% 12%,rgba(74,120,238,.08),transparent 28rem),#f5f7fa}.app-header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.08);background:#101826f5;box-shadow:0 12px 35px #0f172a1f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-header-inner{width:min(1440px,calc(100% - 40px));min-height:72px;margin:0 auto;display:flex;align-items:center;gap:28px}.app-brand{display:flex;align-items:center;gap:11px;min-width:192px;color:#fff}.app-brand strong,.app-brand small{display:block;line-height:1.12}.app-brand strong{font-size:15px;letter-spacing:.01em}.app-brand small{margin-top:4px;color:#8290a6;font-size:10px;letter-spacing:.12em;text-transform:uppercase}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#39d1b4,#3187e7);box-shadow:0 7px 22px #3197cf47}.brand-mark span{width:12px;height:12px;border:3px solid white;border-radius:4px 7px;transform:rotate(45deg)}.top-nav{display:flex;align-items:center;gap:5px;flex:1}.top-nav-link{display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:10px;color:#91a0b5;font-size:13px;font-weight:600;transition:.2s ease}.top-nav-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.top-nav-link:hover{color:#fff;background:#ffffff0f}.top-nav-link.active{color:#eafffb;background:#36ccb121;box-shadow:inset 0 0 0 1px #36ccb11f}.system-status{display:flex;align-items:center;gap:8px;color:#8d9bb0;font-size:11px;white-space:nowrap}.system-status i{width:7px;height:7px;border-radius:50%;background:#3bd1a8;box-shadow:0 0 0 4px #3bd1a81a,0 0 14px #3bd1a899}.logout-button{padding:7px 10px;color:#8090a5;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:transparent;font-size:10px;transition:.2s ease}.logout-button:hover{color:#fff;border-color:#ffffff2e}.app-main{width:min(1280px,calc(100% - 40px));margin:0 auto;padding:34px 0 56px}.page-kicker{color:#218f7d;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.page-title{margin:6px 0 0;color:#172131;font-size:clamp(25px,3vw,34px);font-weight:750;letter-spacing:-.035em}.page-subtitle{margin-top:8px;color:#758195;font-size:13px}.session-panel{margin-top:24px;padding:16px;display:grid;grid-template-columns:minmax(180px,.8fr) minmax(230px,1.2fr) auto;gap:12px;align-items:end;border:1px solid rgba(152,163,179,.22);border-radius:18px;background:#ffffffd1;box-shadow:0 14px 40px #1722310e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.field-label{display:block;margin:0 0 7px 2px;color:#8994a5;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.control-select{width:100%;height:44px;padding:0 38px 0 13px;color:#273345;border:1px solid #dfe4ea;border-radius:11px;background-color:#f9fafc;font-size:13px;font-weight:600;outline:none;transition:.2s ease}.control-select:hover{border-color:#bec9d5}.control-select:focus{border-color:#43bca6;box-shadow:0 0 0 4px #43bca61c;background:#fff}.reset-button{height:44px;padding:0 15px;display:flex;align-items:center;gap:8px;color:#657286;border:1px solid #dde3ea;border-radius:11px;background:#fff;font-size:12px;font-weight:700;transition:.2s ease}.reset-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.reset-button:hover{color:#d05261;border-color:#f0c7cd;background:#fff9fa}.reset-button:disabled{opacity:.45;cursor:not-allowed}.prompt-strip{margin-top:11px;padding:11px 15px;display:flex;gap:10px;align-items:center;border-radius:12px;color:#647185;background:#1d2d420b;font-size:12px}.prompt-strip strong{color:#2c3a4d;white-space:nowrap}.prompt-strip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-shell{margin-top:16px;overflow:hidden;border:1px solid rgba(152,163,179,.23);border-radius:22px;background:#fff;box-shadow:0 24px 65px #16223117}.chat-header{min-height:65px;padding:0 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f3;background:#ffffffeb}.agent-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,#26364e,#172235);font-size:11px;font-weight:800;box-shadow:0 8px 18px #18243529}.chat-header-info{flex:1}.chat-header-info strong,.chat-header-info span{display:block}.chat-header-info strong{color:#253145;font-size:13px}.chat-header-info span{margin-top:3px;color:#8a95a5;font-size:10px}.chat-status{display:flex;align-items:center;gap:7px;color:#8290a1;font-size:10px}.chat-status i{width:6px;height:6px;border-radius:50%;background:#38c8a3}.chat-canvas{height:min(58vh,590px);min-height:420px;overflow-y:auto;padding:26px 24px;background:linear-gradient(180deg,#f7f9fb,#f3f6f8);scrollbar-color:#ccd4dd transparent;scrollbar-width:thin}.message-row{display:flex;margin-bottom:17px}.message-row.user{justify-content:flex-end}.message-stack{max-width:min(78%,620px)}.message-author{margin:0 8px 6px;color:#9aa4b1;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.message-row.user .message-author{text-align:right}.message-bubble{padding:12px 15px;border-radius:6px 16px 16px;overflow-wrap:anywhere;font-size:13px;line-height:1.58}.message-user{color:#fff;border-radius:16px 6px 16px 16px;background:linear-gradient(145deg,#328eec,#356ed4);box-shadow:0 8px 20px #356ed429}.message-assistant{color:#2b3749;border:1px solid #e7ebef;background:#fff;box-shadow:0 7px 18px #1d2b3e0e}.message-time{margin-top:5px;font-size:9px;opacity:.55;text-align:right}.typing-bubble{display:flex;align-items:center;gap:4px;min-width:58px}.typing-bubble i{width:5px;height:5px;border-radius:50%;background:#8d99a8;animation:typing 1.2s infinite ease-in-out}.typing-bubble i:nth-child(2){animation-delay:.15s}.typing-bubble i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.chat-empty{height:100%;display:grid;place-items:center;text-align:center}.chat-empty-mark{width:56px;height:56px;margin:0 auto 16px;display:grid;place-items:center;border-radius:18px;color:#2baa94;background:linear-gradient(145deg,#36cdb024,#3784dc1a);box-shadow:inset 0 0 0 1px #2fb49c1a}.chat-empty-mark svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.5}.chat-empty strong{display:block;color:#344154;font-size:14px}.chat-empty p{max-width:310px;margin:7px auto 0;color:#929caa;font-size:11px;line-height:1.6}.composer{padding:14px 15px;border-top:1px solid #edf0f3;background:#fff}.composer-box{display:flex;align-items:flex-end;gap:11px;padding:8px 8px 8px 14px;border:1px solid #dfe4ea;border-radius:15px;background:#fafbfc;transition:.2s ease}.composer-box:focus-within{border-color:#42bba5;background:#fff;box-shadow:0 0 0 4px #42bba517}.composer textarea{flex:1;min-height:42px;max-height:130px;padding:10px 0 5px;color:#263246;border:0;background:transparent;resize:none;outline:none;font-size:13px;line-height:1.5}.composer textarea::-moz-placeholder{color:#a7b0bd}.composer textarea::placeholder{color:#a7b0bd}.send-button{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:12px;color:#fff;background:linear-gradient(145deg,#33b99f,#268eaf);box-shadow:0 8px 18px #279a9633;transition:.2s ease}.send-button:hover{transform:translateY(-1px);box-shadow:0 10px 24px #279a9647}.send-button:disabled{opacity:.4;transform:none;box-shadow:none;cursor:not-allowed}.send-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.composer-hint{margin:7px 4px 0;color:#a2acb9;font-size:9px}.error-banner{margin:12px 0;padding:11px 14px;color:#b74351;border:1px solid #f1ced3;border-radius:11px;background:#fff7f8;font-size:12px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 15%,rgba(49,196,169,.14),transparent 28rem),radial-gradient(circle at 85% 80%,rgba(53,112,215,.13),transparent 30rem),#111a29}.login-card{width:min(420px,100%);padding:36px;border:1px solid rgba(255,255,255,.08);border-radius:24px;color:#fff;background:#1b2739e6;box-shadow:0 35px 90px #0000004d;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.login-logo{margin-bottom:24px}.login-card h1{margin:8px 0 0;font-size:28px;letter-spacing:-.035em}.login-card>p{margin:10px 0 25px;color:#94a2b6;font-size:13px;line-height:1.65}.login-card form input{width:100%;height:47px;padding:0 14px;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:#ffffff0f;outline:none}.login-card form input:focus{border-color:#41c7ab;box-shadow:0 0 0 4px #41c7ab1a}.login-card form button,.wizard-primary{width:100%;height:45px;margin-top:14px;color:#fff;border:0;border-radius:11px;background:linear-gradient(145deg,#35bea2,#278ead);font-size:12px;font-weight:750;box-shadow:0 9px 24px #27989a33}.login-card form button:disabled,.wizard-primary:disabled{opacity:.45;cursor:not-allowed}.login-loader{width:27px;height:27px;border:2px solid rgba(64,197,171,.2);border-top-color:#40c5ab;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.telegram-section{margin-top:24px;padding-top:20px;border-top:1px solid #edf0f3}.channel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.channel-heading h4{margin:3px 0 0;color:#263246;font-size:15px}.channel-add{padding:8px 12px;color:#278f7e;border:1px solid #bfe5de;border-radius:9px;background:#f5fffc;font-size:11px;font-weight:700}.channel-add:disabled{opacity:.45;cursor:not-allowed}.telegram-grid{display:grid;gap:10px}.telegram-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e3e8ed;border-radius:14px;background:#fafbfc}.telegram-avatar{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:13px;background:linear-gradient(145deg,#36a8e6,#3973d8);font-size:11px;font-weight:800}.telegram-account-info{min-width:0;flex:1}.telegram-account-info strong,.telegram-account-info span,.telegram-account-info small,.telegram-account-info em{display:block}.telegram-account-info strong{color:#273448;font-size:13px}.telegram-account-info span{margin-top:2px;color:#8a95a5;font-size:10px}.telegram-account-info em{margin-top:5px;overflow:hidden;color:#c64b5a;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.tg-status{margin-top:6px;color:#7f8b9b;font-size:9px;font-weight:700}.tg-status i{width:6px;height:6px;display:inline-block;margin-right:5px;border-radius:50%;background:#a8b0bb}.tg-status.connected{color:#239677}.tg-status.connected i{background:#31c59c}.tg-status.paused{color:#b17a24}.tg-status.paused i{background:#e7ad43}.tg-status.error{color:#bd4655}.tg-status.error i{background:#dc5969}.telegram-actions{display:flex;gap:6px}.telegram-actions button{padding:7px 9px;color:#506074;border:1px solid #dce2e8;border-radius:8px;background:#fff;font-size:9px;font-weight:700}.telegram-actions button.danger{color:#bd4c5a}.telegram-wizard{margin-top:14px;padding:20px;border:1px solid #cfe3e2;border-radius:16px;background:linear-gradient(145deg,#fbfefd,#f5f9fc);box-shadow:0 15px 35px #203c4612}.wizard-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.wizard-top h4{margin:4px 0 0;color:#263347;font-size:17px}.wizard-top>button{color:#8490a0;border:0;background:transparent;font-size:22px;line-height:1}.wizard-fields{display:grid;gap:12px}.wizard-fields input{width:100%;height:43px;padding:0 12px;color:#263347;border:1px solid #dbe2e8;border-radius:10px;background:#fff;outline:none}.wizard-fields input:focus{border-color:#40bba4;box-shadow:0 0 0 4px #40bba417}.wizard-fields p,.wizard-success p,.wizard-wait p{margin:0;color:#8490a0;font-size:10px;line-height:1.6}.wizard-success,.wizard-wait{display:grid;justify-items:center;padding:12px 0 4px;text-align:center}.wizard-success>div{width:46px;height:46px;display:grid;place-items:center;margin-bottom:12px;color:#fff;border-radius:50%;background:#35bd9b;font-size:20px}.wizard-success strong,.wizard-wait strong{margin-bottom:5px;color:#2c394c;font-size:14px}.wizard-wait .login-loader{margin-bottom:14px}.wizard-success .wizard-primary{max-width:180px}.diff-added{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.diff-removed{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}@media(max-width:800px){.app-header-inner{width:calc(100% - 24px);min-height:62px;gap:14px}.app-brand{min-width:auto}.app-brand div,.system-status{display:none}.top-nav{overflow-x:auto}.top-nav-link{padding:9px 10px}.top-nav-link span{display:none}.app-main{width:calc(100% - 24px);padding-top:24px}.session-panel{grid-template-columns:1fr}.reset-button{justify-content:center}.chat-canvas{min-height:390px;height:56vh;padding:20px 14px}.message-stack{max-width:88%}.telegram-card{align-items:flex-start;flex-wrap:wrap}.telegram-actions{width:100%;padding-left:54px}}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-purple-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.hover\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity, 1))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.hover\:text-red-800:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.disabled\:opacity-50:disabled{opacity:.5}
