/*! tailwindcss v4.3.1 | 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-border-style:solid;--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;--tw-outline-style:solid}}}@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;--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;-webkit-text-decoration:inherit;-webkit-text-decoration: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}a{color:inherit;text-decoration:none}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.static{position:static}.block{display:block}.flex{display:flex}.hidden{display:none}.animate-spin{animation:var(--animate-spin)}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + 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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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))}}:root{--background:#080e20;--foreground:#ecf3ff;--card:#111b31;--card-foreground:#ecf3ff;--muted:#18243d;--muted-foreground:#8998b3;--primary:#66dfff;--primary-foreground:#071122;--secondary:#202e4b;--secondary-foreground:#edf4ff;--accent:#213053;--accent-foreground:#d9eeff;--border:#263651;--ring:#69dfff;--destructive:#f07c98;--destructive-foreground:#180a14;--popover:#14203a;--popover-foreground:#edf4ff;--violet:#a58cff;--blue:#568dff;--green:#6ce4c4;--surface:#0d1629;--surface-raised:#16223c;--glow:#4ba7ff38;--shadow:#00000047}:root[data-theme=light]{--background:#edf4fc;--foreground:#142440;--card:#fff;--card-foreground:#142440;--muted:#e6eef8;--muted-foreground:#64738d;--primary:#176cbd;--primary-foreground:#fff;--secondary:#e7f0ff;--secondary-foreground:#193656;--accent:#daeafa;--accent-foreground:#16365e;--border:#d2deeb;--ring:#176cbd;--destructive:#bf345b;--destructive-foreground:#fff;--popover:#fff;--popover-foreground:#142440;--violet:#7451ca;--blue:#3880dc;--green:#17836b;--surface:#f7faff;--surface-raised:#e7f0fb;--glow:#4d85cf24;--shadow:#2641641f}*{box-sizing:border-box}html{background:var(--background);color:var(--foreground);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,sans-serif}body{background:var(--background);min-width:320px;color:var(--foreground);margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;pointer-events:none;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--ring);outline-offset:3px}button:active{transform:scale(.98)}::selection{background:var(--accent);color:var(--accent-foreground)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:var(--background);max-width:100vw;min-height:100dvh;display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);z-index:20;flex-direction:column;width:258px;min-width:258px;height:100dvh;display:flex;position:sticky;top:0}.brand{border-bottom:1px solid var(--border);align-items:center;gap:12px;height:94px;padding:27px 23px;display:flex}.brand-mark,.topbar-logo,.mini-mark{background:linear-gradient(140deg, var(--blue), var(--violet));color:var(--primary-foreground);box-shadow:0 0 20px var(--glow);place-items:center;display:grid}.brand-mark{border-radius:11px;width:37px;height:37px}.brand-name{letter-spacing:.13em;font-size:19px;font-weight:800;line-height:1}.brand-caption{letter-spacing:.16em;color:var(--muted-foreground);white-space:nowrap;margin-top:7px;font-size:12px}.sidebar-content{flex:1;padding:24px 13px;overflow-y:auto}.new-chat-button{border:1px solid var(--border);width:100%;height:44px;color:var(--foreground);background:var(--surface-raised);border-radius:11px;align-items:center;gap:10px;padding:0 13px;font-size:13px;font-weight:650;transition:all .2s;display:flex}.new-chat-button:hover{background:var(--accent);box-shadow:0 6px 18px var(--shadow);transform:translateY(-2px)}.new-chat-button svg{color:var(--primary)}.new-chat-button span{color:var(--muted-foreground);margin-left:auto;font-size:12px}.sidebar-label,.context-section-label{letter-spacing:.16em;color:var(--muted-foreground);text-transform:uppercase;font-size:12px;font-weight:750}.sidebar-label{padding:30px 12px 13px}.side-history{gap:4px;display:grid}.side-chat{text-align:left;width:100%;min-height:39px;color:var(--muted-foreground);background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;padding:8px 12px;font-size:13px;transition:all .18s;display:flex}.side-chat span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-chat:hover,.side-chat.selected{background:var(--accent);color:var(--accent-foreground)}.side-chat.selected svg{color:var(--primary)}.sidebar-empty{color:var(--muted-foreground);padding:8px 12px;font-size:12px}.side-nav{border-top:1px solid var(--border);gap:3px;margin-top:27px;padding-top:17px;display:grid}.side-nav-link{height:43px;color:var(--muted-foreground);border-radius:9px;align-items:center;gap:12px;padding:0 12px;font-size:13px;font-weight:550;transition:all .18s;display:flex}.side-nav-link:hover{background:var(--accent);color:var(--accent-foreground)}.side-nav-link.active{background:var(--accent);color:var(--primary);box-shadow:inset 2px 0 var(--primary);font-weight:700}.nav-chevron{opacity:0;margin-left:auto}.side-nav-link.active .nav-chevron{opacity:1}.sidebar-bottom{border-top:1px solid var(--border);align-items:center;gap:11px;padding:20px;display:flex}.small-orb{width:32px;height:32px;color:var(--primary);background:var(--accent);border:1px solid var(--border);border-radius:50%;place-items:center;display:grid}.sidebar-bottom strong{font-size:12px;display:block}.sidebar-bottom small{color:var(--muted-foreground);margin-top:3px;font-size:12px;display:block}.main-column{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--border);background:var(--background);z-index:10;flex:none;justify-content:space-between;align-items:center;height:81px;padding:0 33px;display:flex;position:relative}.topbar-left,.topbar-actions{align-items:center;gap:13px;display:flex}.topbar-logo{background:var(--accent);width:37px;height:37px;color:var(--primary);border:1px solid var(--border);box-shadow:none;border-radius:50%}.topbar h1{letter-spacing:.13em;margin:0;font-size:15px;font-weight:800;line-height:1}.status-line{color:var(--green);letter-spacing:.025em;align-items:center;gap:5px;margin-top:6px;font-size:12px;display:flex}.status-dot{background:var(--green);width:6px;height:6px;box-shadow:0 0 7px var(--green);border-radius:50%;margin-left:1px}.status-offline{color:var(--destructive)}.status-offline .status-dot{background:var(--destructive);box-shadow:none}.header-action{color:var(--muted-foreground);background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px;font-size:12px;transition:all .2s;display:flex}.header-action:hover{color:var(--foreground);background:var(--accent)}.profile-button{background:var(--accent);border:1px solid var(--border);width:36px;height:36px;color:var(--primary);border-radius:50%;place-items:center;margin-left:6px;font-size:14px;font-weight:750;display:grid;overflow:hidden}.profile-button img{object-fit:cover;width:100%;height:100%}.icon-button{color:var(--muted-foreground);background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;transition:all .18s;display:grid}.icon-button:hover{background:var(--accent);color:var(--foreground)}.mobile-close,.menu-toggle,.menu-backdrop,.bottom-nav{display:none}.offline-banner{background:var(--accent);color:var(--accent-foreground);text-align:center;padding:8px 24px;font-size:12px}.page-content{flex:1;min-height:0}.chat-page{grid-template-columns:minmax(0,1fr) 262px;height:calc(100dvh - 81px);display:grid}.chat-main{flex-direction:column;min-width:0;display:flex;position:relative}.chat-topline{flex:none;justify-content:space-between;align-items:center;padding:28px 34px 0;display:flex}.eyebrow{color:var(--primary);letter-spacing:.18em;text-transform:uppercase;align-items:center;gap:9px;font-size:12px;font-weight:750;display:flex}.live-pin,.hint-dot{background:var(--green);width:7px;height:7px;box-shadow:0 0 10px var(--green);border-radius:50%;display:inline-block}.eyebrow-divider{color:var(--muted-foreground)}.chat-new{color:var(--muted-foreground);background:0 0;border:0;border-radius:7px;align-items:center;gap:7px;padding:7px;font-size:12px;display:flex}.chat-new:hover{background:var(--accent);color:var(--foreground)}.hero{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:14px 30px 8px;display:flex;position:relative;overflow:auto}.hero-atmosphere{pointer-events:none;background:radial-gradient(ellipse at center, var(--glow), transparent 65%);opacity:.8;width:min(580px,100%);height:430px;position:absolute;top:2%;left:50%;transform:translate(-50%)}.hero-tag{border:1px solid var(--border);background:var(--surface);text-transform:uppercase;letter-spacing:.16em;color:var(--primary);border-radius:100px;align-items:center;gap:8px;margin-top:-4px;padding:7px 12px;font-size:12px;display:flex;position:relative}.hero-tag span{background:var(--green);border-radius:50%;width:6px;height:6px}.hero h2{letter-spacing:-.045em;max-width:650px;margin:22px 0 9px;font-size:clamp(24px,2.8vw,37px);font-weight:700;line-height:1.2;position:relative}.hero p{color:var(--muted-foreground);margin:0;font-size:13px;line-height:1.6;position:relative}.suggestions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px;display:flex;position:relative}.suggestions button{border:1px solid var(--border);background:var(--surface);color:var(--foreground);text-align:left;border-radius:11px;align-items:center;gap:9px;padding:12px 13px;font-size:12px;transition:all .2s;display:flex}.suggestions button:hover{border-color:var(--primary);background:var(--accent);transform:translateY(-2px)}.suggestions button span{color:var(--primary);font-size:12px;font-weight:750}.suggestions button svg{color:var(--muted-foreground);transform:rotate(45deg)}.orb-wrap{--orb-size:256px;width:var(--orb-size);height:var(--orb-size);filter:drop-shadow(0 0 32px var(--glow));flex:none;place-items:center;display:grid;position:relative}.orb-compact{--orb-size:192px}.orb-ring,.orb-axis,.orb-core,.orb-inner,.orb-particle{border-radius:50%;position:absolute}.orb-ring-one{border:1px solid var(--primary);opacity:.27;box-shadow:0 0 15px var(--glow), inset 0 0 15px var(--glow);inset:7%}.orb-ring-two{border:1px solid var(--blue);opacity:.45;box-shadow:0 0 18px var(--glow);inset:19%}.orb-axis-one{border:1px solid var(--primary);opacity:.25;inset:4%;transform:rotateX(65deg)rotate(-18deg)}.orb-axis-two{border:1px solid var(--violet);opacity:.37;inset:6%;transform:rotateY(63deg)rotate(28deg)}.orb-core{background:radial-gradient(circle at 43% 35%, var(--primary) 0%, var(--blue) 30%, var(--violet) 62%, var(--surface) 88%);width:47%;height:47%;box-shadow:0 0 32px var(--blue), 0 0 74px var(--glow), inset 0 0 25px var(--primary);place-items:center;animation:4s ease-in-out infinite orb-breathe;display:grid}.orb-inner{border:1px solid var(--primary);background:radial-gradient(circle, var(--blue), transparent 68%);width:66%;height:66%;color:var(--foreground);box-shadow:inset 0 0 16px var(--primary);opacity:.92;place-items:center;display:grid}.orb-particle{background:var(--primary);width:4px;height:4px;box-shadow:0 0 12px var(--primary)}.particle-one{top:15%;left:30%}.particle-two{top:67%;right:9%}.particle-three{bottom:17%;left:22%}.orb-listening .orb-ring-one,.orb-thinking .orb-ring-one,.orb-speaking .orb-ring-one{animation:1.6s ease-in-out infinite ring-pulse}.orb-thinking .orb-core{animation:1s ease-in-out infinite orb-breathe}.orb-listening .orb-core{animation:1.4s ease-in-out infinite orb-breathe}.orb-speaking .orb-core{animation:.7s ease-in-out infinite orb-breathe}.orb-error{opacity:.75}.orb-error .orb-ring-one{border-color:var(--destructive)}@keyframes orb-breathe{50%{filter:brightness(1.14);transform:scale(1.07)}}@keyframes ring-pulse{50%{opacity:.7;transform:scale(1.07)}}.context-panel{background:var(--surface);border-left:1px solid var(--border);flex-direction:column;min-width:0;padding:27px 21px;display:flex}.context-title{align-items:center;gap:10px;display:flex}.context-title-icon{background:var(--accent);width:34px;height:34px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.context-title strong{letter-spacing:.1em;font-size:12px;display:block}.context-title small{color:var(--green);margin-top:4px;font-size:12px;display:block}.context-active{background:var(--green);border-radius:50%;width:7px;height:7px;margin-left:auto}.context-orb{margin:41px auto 8px}.context-status{border:1px solid var(--border);text-align:center;color:var(--primary);border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:9px;font-size:12px;display:flex}.context-divider{background:var(--border);height:1px;margin:27px 0 23px}.context-section-label{margin-bottom:15px}.context-memory{color:var(--primary);align-items:flex-start;gap:12px;display:flex}.context-memory div{color:var(--foreground)}.context-memory strong{font-size:12px;font-weight:650;display:block}.context-memory small{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}.context-bottom{color:var(--muted-foreground);align-items:center;gap:6px;margin-top:auto;font-size:12px;line-height:1.4;display:flex}.context-bottom svg{color:var(--green);flex:none}.composer-area{background:linear-gradient(transparent, var(--background) 18%);z-index:2;flex:none;padding:12px 32px 19px}.composer-hint{color:var(--muted-foreground);letter-spacing:.04em;align-items:center;gap:8px;margin:0 0 10px 4px;font-size:12px;display:flex}.composer{border:1px solid var(--border);background:var(--card);box-shadow:0 9px 28px var(--shadow);border-radius:13px;transition:border-color .2s}.composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px var(--glow)}.composer textarea{resize:none;width:100%;color:var(--foreground);background:0 0;border:0;outline:0;min-height:62px;max-height:160px;padding:17px 18px 5px;font-size:13px;line-height:1.5;display:block}.composer textarea::placeholder{color:var(--muted-foreground)}.composer-toolbar{justify-content:space-between;align-items:center;padding:7px 9px 9px 11px;display:flex}.tools-left{align-items:center;gap:1px;display:flex}.tool-button{color:var(--muted-foreground);background:0 0;border:0;border-radius:7px;place-items:center;width:35px;height:34px;transition:all .18s;display:grid}.tool-button:hover,.tool-active{background:var(--accent);color:var(--primary)}.tool-separator{background:var(--border);width:1px;height:20px;margin:0 5px}.send-button,.primary-button{background:linear-gradient(110deg, var(--primary), var(--blue));color:var(--primary-foreground);white-space:nowrap;box-shadow:0 5px 18px var(--glow);border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;font-weight:750;transition:transform .2s,box-shadow .2s,filter .2s;display:inline-flex}.send-button{height:35px;padding:0 14px;font-size:12px}.primary-button{min-height:40px;padding:0 17px;font-size:12px}.send-button:hover,.primary-button:hover{filter:brightness(1.1);box-shadow:0 9px 25px var(--glow);transform:translateY(-2px)}.composer-footer{color:var(--muted-foreground);opacity:.8;justify-content:space-between;margin-top:10px;font-size:12px;display:flex}.composer-footer span:first-child{align-items:center;gap:5px;display:flex}.composer-footer svg{color:var(--primary)}.inline-error{border:1px solid var(--destructive);background:var(--card);color:var(--destructive);border-radius:9px;margin-bottom:10px;padding:10px 12px;font-size:12px;line-height:1.5}.inline-info{background:var(--accent);color:var(--accent-foreground);border-radius:9px;margin:0 0 18px;padding:12px 15px;font-size:12px}.pending-attachment{border:1px solid var(--border);background:var(--card);color:var(--primary);border-radius:10px;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:8px;padding:8px;display:flex}.pending-attachment img{object-fit:cover;background:var(--muted);border-radius:7px;width:88px;height:64px}.pending-attachment div{min-width:0;color:var(--foreground);flex:1}.pending-attachment strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.pending-attachment small{color:var(--muted-foreground);font-size:12px}.pending-attachment audio{width:100%;height:34px}.recording-bar{border:1px solid var(--destructive);background:var(--card);color:var(--destructive);border-radius:9px;align-items:center;gap:10px;margin-bottom:8px;padding:9px 11px;font-size:12px;display:flex}.recording-bar button{background:var(--destructive);color:var(--destructive-foreground);border:0;border-radius:6px;align-items:center;gap:6px;margin-left:auto;padding:6px 9px;font-size:12px;display:flex}.recording-pulse{background:var(--destructive);border-radius:50%;width:8px;height:8px;animation:1s infinite orb-breathe}.conversation{flex-direction:column;flex:1;min-height:0;padding:22px 32px 0;display:flex}.conversation-heading{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:0 0 18px;display:flex}.mini-mark{border-radius:10px;width:38px;height:38px}.conversation-heading strong{font-size:14px;display:block}.conversation-heading small{color:var(--muted-foreground);margin-top:4px;font-size:12px;display:block}.messages{scrollbar-color:var(--border) transparent;scrollbar-width:thin;flex-direction:column;flex:1;gap:23px;padding:25px 6px 20px 0;display:flex;overflow-y:auto}.message{align-self:flex-start;gap:11px;max-width:88%;display:flex}.message-user{flex-direction:row-reverse;align-self:flex-end}.message-avatar{background:var(--accent);width:29px;height:29px;color:var(--primary);border-radius:9px;flex:none;place-items:center;font-size:12px;font-weight:750;display:grid}.message-user .message-avatar{background:var(--secondary);color:var(--secondary-foreground)}.message-content{min-width:0}.message-user .message-content{text-align:right}.message-meta{align-items:center;gap:9px;margin-bottom:7px;display:flex}.message-user .message-meta{justify-content:flex-end}.message-meta strong{font-size:12px}.message-meta time{color:var(--muted-foreground);font-size:12px}.message-bubble{border:1px solid var(--border);background:var(--card);text-align:left;overflow-wrap:anywhere;border-radius:3px 13px 13px;min-width:70px;max-width:640px;padding:12px 15px}.message-user .message-bubble{background:var(--accent);color:var(--accent-foreground);border-color:var(--border);border-radius:13px 3px 13px 13px}.message-bubble p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.65}.message-image{background:var(--muted);border-radius:8px;width:min(300px,100%);max-width:100%;margin:0 0 8px;display:block}.message-bubble genmb-audio{min-width:200px;max-width:100%;display:block}.file-link{color:var(--primary);align-items:center;gap:7px;margin-bottom:6px;font-size:12px;display:flex}.read-button{color:var(--muted-foreground);background:0 0;border:0;align-items:center;gap:5px;margin-top:7px;padding:3px 0;font-size:12px;display:flex}.read-button:hover{color:var(--primary)}.thinking-bubble{border:1px solid var(--border);background:var(--card);color:var(--primary);border-radius:4px 12px 12px;align-items:center;gap:10px;padding:12px 15px;font-size:12px;display:flex}.response-error{border:1px solid var(--destructive);color:var(--destructive);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;font-size:12px;display:flex}.response-error button{background:var(--accent);color:var(--accent-foreground);white-space:nowrap;border:0;border-radius:6px;align-items:center;gap:6px;padding:7px 9px;display:flex}.section-page{max-width:1040px;margin:auto;padding:42px 48px 80px}.section-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.section-header h2{letter-spacing:-.04em;margin:12px 0 8px;font-size:clamp(25px,3vw,34px);line-height:1.1}.section-header p{color:var(--muted-foreground);margin:0;font-size:13px;line-height:1.6}.section-badge{color:var(--primary);background:var(--accent);border:1px solid var(--border);border-radius:11px;align-items:center;gap:8px;padding:11px 13px;font-size:13px;display:flex}.search-field,.field-wrap,.select-wrap{background:var(--surface);border:1px solid var(--border);color:var(--muted-foreground);border-radius:9px;align-items:center;gap:10px;padding:0 13px;display:flex}.search-field{max-width:450px;height:46px;margin-bottom:19px}.search-field:focus-within,.field-wrap:focus-within,.select-wrap:focus-within{border-color:var(--ring);box-shadow:0 0 0 2px var(--glow)}.search-field input,.field-wrap input,.select-wrap select{color:var(--foreground);background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;font-size:13px}.search-field input::placeholder,.field-wrap input::placeholder{color:var(--muted-foreground)}.chat-list{gap:10px;display:grid}.history-card{border:1px solid var(--border);background:var(--card);border-radius:12px;align-items:center;gap:9px;padding:9px 15px 9px 10px;transition:all .2s;display:flex}.history-card:hover,.memory-card:hover{box-shadow:0 10px 30px var(--shadow);transform:translateY(-2px)}.history-open{min-width:0;color:var(--foreground);text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:14px;padding:8px;display:flex}.history-open>svg{color:var(--muted-foreground)}.history-icon,.memory-card-icon,.empty-icon{background:var(--accent);color:var(--primary);flex:none;place-items:center;display:grid}.history-icon{border-radius:10px;width:42px;height:42px}.history-text{flex:1;min-width:0}.history-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.history-text small{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}.delete-icon:hover{color:var(--destructive)}.empty-state{border:1px dashed var(--border);background:var(--surface);text-align:center;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;margin-top:24px;padding:30px;display:flex}.empty-icon{border-radius:15px;width:56px;height:56px}.empty-state h3,.empty-state h2{margin:18px 0 7px;font-size:19px}.empty-state p{max-width:380px;color:var(--muted-foreground);margin:0 0 17px;font-size:12px;line-height:1.6}.not-found,.load-error{max-width:600px;margin:65px auto}.load-error .empty-icon{color:var(--destructive)}.memory-form{background:var(--card);border:1px solid var(--border);border-radius:13px;align-items:end;gap:12px;margin-bottom:21px;padding:19px;display:flex}.input-block{flex:1;min-width:0}.input-block label,.auth-card label,.settings-field label{color:var(--muted-foreground);margin-bottom:9px;font-size:12px;font-weight:650;display:block}.memory-form .field-wrap,.memory-form .primary-button{height:43px}.field-error{color:var(--destructive);margin-top:7px;font-size:12px;display:block}.memories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.memory-card{background:var(--card);border:1px solid var(--border);border-radius:12px;flex-direction:column;min-height:170px;padding:18px;transition:all .2s;display:flex}.memory-card-top{justify-content:space-between;align-items:start;display:flex}.memory-card-icon{border-radius:9px;width:34px;height:34px}.memory-card p{overflow-wrap:anywhere;flex:1;margin:13px 0;font-size:13px;line-height:1.6}.memory-card small{color:var(--muted-foreground);font-size:12px}.settings-grid,.settings-lower{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.settings-card{border:1px solid var(--border);background:var(--card);border-radius:13px;min-width:0;padding:22px}.settings-card-heading{align-items:center;gap:12px;margin-bottom:26px;display:flex}.settings-icon{background:var(--accent);width:38px;height:38px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.settings-icon.violet{color:var(--violet)}.settings-card-heading h3{margin:0;font-size:13px}.settings-card-heading small{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}.settings-field{margin:17px 0}.settings-field>input,.settings-field>select{background:var(--surface);border:1px solid var(--border);color:var(--foreground);border-radius:9px;outline:0;width:100%;height:43px;padding:0 12px;font-size:13px}.settings-field>input:focus,.settings-field>select:focus{border-color:var(--ring)}.settings-field input[aria-invalid=true]{border-color:var(--destructive)}.field-wrap:has(input[aria-invalid=true]){border-color:var(--destructive)}.select-wrap{height:43px}.select-wrap select{appearance:auto}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:9px;gap:4px;padding:4px;display:flex}.segmented button{height:35px;color:var(--muted-foreground);background:0 0;border:0;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex}.segmented button.chosen{background:var(--accent);color:var(--primary)}.setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:6px 0 18px;display:flex}.setting-row strong{font-size:12px;display:block}.setting-row small{color:var(--muted-foreground);margin-top:4px;font-size:12px;display:block}.switch{background:var(--muted);border:1px solid var(--border);border-radius:30px;flex:none;width:42px;height:24px;padding:3px;transition:all .2s}.switch span{background:var(--muted-foreground);border-radius:50%;width:16px;height:16px;transition:all .2s;display:block}.switch-on{background:var(--primary)}.switch-on span{background:var(--primary-foreground);transform:translate(18px)}.full-width{width:100%}.settings-link,.settings-details summary{border:0;border-top:1px solid var(--border);width:100%;min-height:42px;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:11px;padding:8px 2px;font-size:12px;display:flex}.settings-link:hover,.settings-details summary:hover,.settings-link svg:first-child,.settings-details summary svg:first-child{color:var(--primary)}.settings-link svg:last-child,.settings-details summary svg:last-child{color:var(--muted-foreground);margin-left:auto}.settings-details summary{list-style:none}.settings-details summary::-webkit-details-marker{display:none}.settings-details p{color:var(--muted-foreground);margin:0 0 12px;padding:2px 4px;font-size:12px;line-height:1.6}.auth-layout{grid-template-columns:1fr 380px;align-items:center;gap:50px;max-width:1050px;min-height:calc(100dvh - 82px);margin:auto;padding:30px 48px;display:grid}.auth-intro{text-align:center}.auth-intro .eyebrow{justify-content:center}.auth-intro .orb-wrap{margin:32px auto 8px}.auth-intro h2{letter-spacing:-.045em;max-width:520px;margin:10px auto;font-size:clamp(25px,3vw,39px);line-height:1.14}.auth-intro p{color:var(--muted-foreground);max-width:370px;margin:12px auto;font-size:13px;line-height:1.6}.auth-card{border:1px solid var(--border);background:var(--card);box-shadow:0 15px 40px var(--shadow);border-radius:17px;padding:29px}.auth-icon{background:var(--accent);width:44px;height:44px;color:var(--primary);border-radius:11px;place-items:center;display:grid}.auth-card h2{margin:20px 0 6px;font-size:23px}.auth-card p{color:var(--muted-foreground);margin:0 0 24px;font-size:12px;line-height:1.6}.google-button{border:1px solid var(--border);height:45px;color:var(--foreground);background:var(--surface);border-radius:9px;align-items:center;gap:12px;width:100%;padding:0 14px;font-size:12px;font-weight:650;transition:all .2s;display:flex}.google-button:hover{background:var(--accent);transform:translateY(-2px)}.google-button svg{margin-left:auto}.google-g{color:var(--blue);font-size:17px;font-weight:800}.separator{background:var(--border);height:1px;margin:25px 0}.auth-card .field-wrap{height:45px;margin-bottom:13px}.auth-card .primary-button{height:44px;margin-top:8px}.loading-screen{max-width:700px;color:var(--muted-foreground);flex-direction:column;align-items:center;gap:20px;margin:80px auto;font-size:12px;display:flex}.skeleton{background:var(--muted);border-radius:12px;animation:1.6s ease-in-out infinite pulse}.hero-skeleton{border-radius:50%;width:180px;height:180px}.line-skeleton{width:60%;height:23px}.card-skeleton{width:90%;height:100px}@keyframes pulse{50%{opacity:.5}}.toast{z-index:100;border:1px solid var(--border);background:var(--popover);min-width:260px;max-width:min(400px,100vw - 30px);color:var(--popover-foreground);box-shadow:0 14px 40px var(--shadow);border-radius:11px;align-items:center;gap:10px;padding:13px 14px;font-size:12px;line-height:1.45;animation:.2s ease-out toast-in;display:flex;position:fixed;bottom:28px;right:28px}.toast>svg{color:var(--primary);flex:none}.toast-error>svg{color:var(--destructive)}.toast-success>svg{color:var(--green)}.toast span{flex:1}.toast button{color:var(--muted-foreground);background:0 0;border:0;padding:2px}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.dialog-overlay{z-index:90;background:var(--shadow);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog-panel{background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);width:min(420px,100%);box-shadow:0 20px 60px var(--shadow);border-radius:15px;padding:25px;animation:.2s ease-out dialog-in;position:relative}.dialog-x{position:absolute;top:16px;right:16px}.dialog-icon{background:var(--accent);width:42px;height:42px;color:var(--destructive);border-radius:10px;place-items:center;display:grid}.dialog-panel h2{margin:19px 0 8px;font-size:18px}.dialog-panel p{color:var(--muted-foreground);margin:0 0 24px;font-size:12px;line-height:1.6}.dialog-actions{justify-content:end;gap:9px;display:flex}.button-secondary,.button-danger{border:1px solid var(--border);border-radius:8px;padding:9px 16px;font-size:12px;font-weight:650;transition:all .2s}.button-secondary{background:var(--secondary);color:var(--secondary-foreground)}.button-secondary:hover{background:var(--accent)}.button-danger{background:var(--destructive);color:var(--destructive-foreground);border-color:var(--destructive)}.button-danger:hover{filter:brightness(1.1)}@keyframes dialog-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media (width<=1180px){.context-panel{display:none}.chat-page{grid-template-columns:1fr}.hero .orb-wrap{--orb-size:220px}.hero{justify-content:center}}@media (width<=900px){.sidebar{width:220px;min-width:220px}.brand{padding:22px 16px}.brand-caption{font-size:12px}.topbar{padding:0 20px}.section-page{padding:32px 27px 80px}.auth-layout{grid-template-columns:1fr;gap:10px;max-width:550px;padding:25px}.auth-intro .orb-wrap{--orb-size:150px;margin:10px auto}.auth-intro h2{font-size:25px}.auth-card{margin-bottom:30px}}@media (width<=700px){.app-shell{display:block}.sidebar{width:265px;min-width:265px;box-shadow:0 0 40px var(--shadow);transition:transform .25s;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%)}.sidebar-open{transform:translate(0)}.mobile-close,.menu-toggle{display:grid}.mobile-close{margin-left:auto}.menu-backdrop{z-index:19;background:var(--shadow);border:0;width:100%;height:100%;display:block;position:fixed;inset:0}.main-column{min-height:100dvh}.topbar{height:63px;padding:0 16px}.topbar-logo{display:none}.topbar-left{gap:9px}.topbar h1{font-size:14px}.topbar-actions{gap:2px}.header-action{justify-content:center;width:34px;height:34px;padding:0}.header-action span{display:none}.profile-button{width:32px;height:32px;margin-left:3px}.bottom-nav{z-index:15;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-link{color:var(--muted-foreground);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:12px;font-weight:600;display:flex;position:relative}.bottom-link.active{color:var(--primary)}.bottom-link.active:before{content:"";background:var(--primary);border-radius:0 0 4px 4px;width:33px;height:2px;position:absolute;top:0}.page-content{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.chat-page{height:calc(100dvh - 63px - 64px - env(safe-area-inset-bottom));min-height:430px}.chat-topline{padding:15px 18px 0}.chat-new{font-size:12px}.hero{padding:0 16px 10px}.hero .orb-wrap{--orb-size:185px}.hero h2{margin-top:16px;font-size:25px}.hero p{font-size:12px}.hero-tag{padding:6px 10px;font-size:12px}.suggestions{gap:7px;margin-top:17px}.suggestions button{padding:9px 10px;font-size:12px}.composer-area{padding:7px 11px 12px}.composer-hint{margin-bottom:7px}.composer textarea{min-height:52px;padding:12px 12px 3px;font-size:13px}.composer-toolbar{padding:4px 5px 6px}.tool-button{width:32px;height:32px}.tool-button svg{width:17px}.send-button{height:32px;padding:0 11px}.send-button span,.composer-footer{display:none}.conversation{padding:14px 12px 0}.conversation-heading{padding-bottom:10px}.messages{gap:16px;padding-top:15px}.message{max-width:96%}.message-bubble{padding:10px 12px}.message-bubble p{font-size:12px}.section-page{padding:25px 17px 95px}.section-header{align-items:start;gap:12px;margin-bottom:22px}.section-header h2{font-size:27px}.section-header p{font-size:12px}.section-header>.primary-button{padding:0 10px;font-size:12px}.memory-form{flex-direction:column;align-items:stretch;padding:14px}.memory-form .primary-button{width:100%}.memories-grid,.settings-grid,.settings-lower{grid-template-columns:1fr}.settings-card{padding:18px}.auth-layout{min-height:auto;padding:18px}.auth-intro .orb-wrap{--orb-size:145px}.auth-intro h2{font-size:24px}.auth-intro p{font-size:12px}.auth-card{padding:23px}.toast{bottom:calc(78px + env(safe-area-inset-bottom));min-width:0;max-width:none;left:12px;right:12px}}@media (width<=390px){.suggestions{grid-template-columns:1fr 1fr;display:grid}.suggestions button:last-child{grid-column:1/-1}.hero .orb-wrap{--orb-size:150px}.hero h2{font-size:22px}.tool-button{width:28px}.tools-left{gap:0}.tool-separator{margin:0 2px}.section-header{flex-wrap:wrap}.section-header>.primary-button{width:auto;padding:0 10px;font-size:12px}.section-header>.primary-button svg{width:19px}}@media (height<=680px) and (width>=701px){.hero .orb-wrap{--orb-size:160px}.hero h2{margin:10px 0 5px;font-size:25px}.suggestions{margin-top:12px}.hero-atmosphere{height:240px}.composer-area{padding-top:5px;padding-bottom:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}
