html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{--bg-page:#f8fafc;--bg-sidebar:#f8fafce6;--bg-panel:#ffffffeb;--bg-panel-soft:#fffc;--bg-elevated:#fffffff5;--border-subtle:#94a3b82e;--border-strong:#94a3b847;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--accent:#2563eb;--accent-strong:#1d4ed8;--accent-soft:#2563eb1f;--success:#16a34a;--warning:#d97706;--danger:#dc2626;--shadow-lg:0 28px 80px #0f172a1f;--shadow-md:0 18px 40px #0f172a14}body[data-theme=dark]{--bg-page:#020617;--bg-sidebar:#0f172ae0;--bg-panel:#0f172adb;--bg-panel-soft:#0f172ab8;--bg-elevated:#1e293beb;--border-subtle:#64748b33;--border-strong:#94a3b847;--text-primary:#e2e8f0;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--accent:#60a5fa;--accent-strong:#3b82f6;--accent-soft:#60a5fa29;--success:#34d399;--warning:#f59e0b;--danger:#f87171;--shadow-lg:0 28px 80px #0206176b;--shadow-md:0 18px 40px #02061747;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{background:radial-gradient(circle at top right, #60a5fa29, transparent 34%), radial-gradient(circle at bottom left, #94a3b824, transparent 28%), var(--bg-page);color:var(--text-primary);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Segoe UI,PingFang SC,Microsoft YaHei,Noto Sans SC,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}.auth-shell{background:linear-gradient(#f8fafc 0%,#edf3f9 100%);min-height:100vh;padding:clamp(24px,6vw,72px);position:relative;overflow:hidden}.auth-shell:before,.auth-shell:after{content:"";filter:blur(8px);pointer-events:none;border-radius:999px;position:absolute}.auth-shell:before{background:#74a0ff2e;width:360px;height:360px;bottom:-180px;left:-140px}.auth-shell:after{background:#5ec3ff29;width:280px;height:280px;top:-120px;right:-80px}.auth-layout{z-index:1;justify-content:center;align-items:center;width:min(420px,100%);min-height:calc(100vh - clamp(48px,12vw,144px));margin:0 auto;display:flex;position:relative}.auth-card-single,.auth-loading-panel{z-index:1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe0;border:1px solid #0f172a14;border-radius:32px;position:relative;box-shadow:0 28px 80px #0f172a1f}.auth-card-single{width:min(420px,100%);padding:32px}.auth-mark{letter-spacing:.18em;text-transform:uppercase;color:#64748b;margin-bottom:24px;font-size:.78rem;font-weight:700}.auth-tabs{background:#eef2f7;border:1px solid #94a3b838;border-radius:999px;grid-template-columns:repeat(2,minmax(72px,1fr));gap:4px;margin-bottom:24px;padding:4px;display:grid}.auth-tabs button{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:10px 16px;font-weight:700;transition:background .18s,color .18s,box-shadow .18s}.auth-tabs button.active{color:#0f172a;background:#fff;box-shadow:0 8px 24px #0f172a14}.auth-card-copy{margin-bottom:20px}.auth-card-copy p{color:#475569;margin:0;font-size:.96rem;line-height:1.7}.node-attach-shell{background:linear-gradient(#f5f8fc 0%,#e8eef6 100%)}.node-attach-card{width:min(680px,100%);padding:36px}.node-attach-hero{align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.node-attach-hero h1{color:#0f172a;margin:0 0 8px;font-size:1.7rem}.node-attach-hero p{color:#475569;margin:0;line-height:1.7}.node-attach-icon{color:#127cc8;background:#53b7ff1f;border-radius:18px;justify-content:center;align-items:center;width:52px;height:52px;display:inline-flex;box-shadow:inset 0 0 0 1px #53b7ff29}.node-attach-error{color:#7a1631;background:#ff6f911a;border:1px solid #ff6f912e;border-radius:18px;flex-direction:column;gap:6px;margin-bottom:18px;padding:14px 16px;display:flex}.node-attach-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.node-attach-meta div{background:#f8fbffdb;border:1px solid #94a3b82e;border-radius:18px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.node-attach-meta span{letter-spacing:.08em;text-transform:uppercase;color:#64748b;font-size:.78rem;font-weight:700}.node-attach-meta strong{color:#0f172a;word-break:break-word}.node-attach-tags{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.node-attach-tags span{color:#0f172a;background:#53b7ff1f;border:1px solid #53b7ff2e;border-radius:999px;padding:8px 12px;font-size:.85rem;font-weight:600}.node-attach-steps{gap:10px;margin-bottom:22px;display:grid}.node-attach-steps div{color:#334155;background:#f0f5fde0;border-radius:16px;align-items:center;gap:10px;padding:12px 14px;display:flex}.node-attach-actions{justify-content:flex-end;display:flex}@media (width<=768px){.node-attach-card{padding:28px 22px}.node-attach-meta{grid-template-columns:minmax(0,1fr)}.node-attach-hero{flex-direction:column}}.auth-method-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px;display:grid}.auth-method-tabs button{color:#475569;cursor:pointer;background:#f8fbff;border:1px solid #d7deea;border-radius:18px;justify-content:center;align-items:center;gap:8px;padding:12px 14px;font-weight:700;transition:border-color .18s,background .18s,color .18s,box-shadow .18s;display:inline-flex}.auth-method-tabs button.active{color:#0f172a;background:#53b7ff1a;border-color:#53b7ff75;box-shadow:0 10px 24px #53b7ff29}.auth-form{flex-direction:column;gap:16px;display:flex}.auth-input-group label{color:#334155;margin-bottom:8px;font-size:.82rem;font-weight:600;display:block}.auth-input-wrap{background:#fff;border:1px solid #d7deea;border-radius:16px;align-items:center;gap:10px;padding:0 14px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.auth-input-wrap svg{color:#94a3b8;flex:none}.auth-input-wrap:focus-within{background:#fff;border-color:#80b6ff;box-shadow:0 0 0 4px #5bc2ff29}.auth-input-wrap input{box-shadow:none;background:0 0;border:0;padding-left:0;padding-right:0}.auth-privacy-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.auth-privacy-card strong{color:#0f172a;font-size:.92rem;display:block}.auth-privacy-card span{color:#64748b;margin-top:4px;font-size:.8rem;line-height:1.6;display:block}.auth-inline-link{color:#0f4ea8;cursor:pointer;background:#53b7ff1f;border:0;border-radius:14px;flex:none;align-items:center;gap:8px;padding:10px 12px;font-weight:700;display:inline-flex}.auth-checkbox{color:#334155;cursor:pointer;align-items:center;gap:10px;font-size:.88rem;display:inline-flex}.auth-checkbox input{width:16px;height:16px;margin:0}.auth-camera-trigger,.auth-submit,.auth-camera-submit{border-radius:18px;justify-content:center;width:100%;padding:13px 16px}.auth-face-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;align-items:center;gap:14px;padding:14px;display:flex}.auth-face-summary img{object-fit:cover;border-radius:18px;flex:none;width:64px;height:64px}.auth-face-summary strong{color:#0f172a;font-size:.92rem;display:block}.auth-face-summary span{color:#64748b;margin-top:4px;font-size:.8rem;line-height:1.5;display:block}.auth-camera-overlay{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0f172a57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.auth-camera-dialog{background:#fffffff0;border:1px solid #0f172a14;border-radius:30px;width:min(560px,100%);padding:24px;box-shadow:0 32px 80px #0f172a40}.auth-privacy-dialog{width:min(600px,100%)}.auth-privacy-list{flex-direction:column;gap:12px;display:flex}.auth-privacy-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.auth-privacy-item p{color:#334155;margin:0;font-size:.88rem;line-height:1.7}.auth-privacy-bullet{background:linear-gradient(135deg,#53b7ff,#6b74ff);border-radius:999px;flex:none;width:10px;height:10px;margin-top:8px}.auth-camera-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.auth-camera-head strong{color:#0f172a;font-size:1.08rem;display:block}.auth-camera-head span{color:#64748b;margin-top:6px;font-size:.84rem;line-height:1.55;display:block}.auth-camera-close{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #d7deea;border-radius:999px;place-items:center;width:40px;height:40px;display:grid}.auth-camera-stage{background:#020617;border-radius:24px;justify-content:center;align-items:center;min-height:340px;display:flex;overflow:hidden}.auth-camera-stage video{object-fit:cover;width:100%;height:340px;display:block}.auth-camera-placeholder{text-align:center;color:#cbd5e1;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:32px;display:flex}.auth-camera-placeholder strong{color:#fff;font-size:1rem}.auth-camera-placeholder span{max-width:28ch;font-size:.82rem;line-height:1.55}.auth-camera-actions{margin-top:16px}.auth-canvas{display:none}.auth-loading{background:linear-gradient(#f8fafc 0%,#edf3f9 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-loading-panel{flex-direction:column;gap:8px;min-width:min(420px,100%);padding:24px 28px;display:flex}.auth-loading-panel strong{color:#0f172a;font-size:1.1rem}.auth-loading-panel span{color:#64748b}.app-container{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg, #5d6aff14, transparent 22%), var(--bg-sidebar);border-right:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-direction:column;height:100vh;padding:20px 16px 16px;display:flex;position:sticky;top:0}.logo-area{align-items:center;gap:14px;margin-bottom:14px;padding:8px 10px 18px;display:flex}.logo-icon{color:#fff;background:linear-gradient(145deg,#7066ff,#9b5cff);border-radius:14px;place-items:center;width:44px;height:44px;font-size:1.5rem;font-weight:800;display:grid;box-shadow:0 12px 24px #7066ff47,inset 0 1px #ffffff29}.logo-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.logo-area h2{margin:0;font-size:1.05rem;font-weight:700;line-height:1.2}.logo-area p{color:var(--text-muted);margin:0;font-size:.78rem}.nav-menu{flex-direction:column;flex:1;gap:6px;display:flex}.nav-item{color:var(--text-secondary);border:1px solid #0000;border-radius:14px;align-items:center;gap:12px;padding:11px 12px;text-decoration:none;transition:border-color .2s,background .2s,color .2s,transform .2s;display:flex;position:relative}.nav-item:hover{color:var(--text-primary);background:#ffffff0a;border-color:#ffffff0a;transform:translate(2px)}.nav-item.active{color:#f7f9ff;box-shadow:inset 2px 0 0 var(--accent);background:linear-gradient(90deg,#53b7ff24,#6b74ff0f),#ffffff05;border-color:#53b7ff38}.nav-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.nav-label{font-size:.98rem;font-weight:600;line-height:1.2}.nav-meta{color:var(--text-muted);font-size:.74rem;line-height:1.2}.nav-item.active .nav-meta{color:#edf2ff99}.status-indicator{border:1px solid var(--border-subtle);background:#ffffff08;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:14px;display:flex}.sidebar-user-card{border:1px solid var(--border-subtle);background:#ffffff08;border-radius:18px;margin-top:12px;padding:14px}.sidebar-user-copy{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.sidebar-user-copy strong{font-size:.9rem}.sidebar-user-copy span{color:var(--text-muted);font-size:.76rem}.sidebar-logout{justify-content:center;width:100%}.status-copy{align-items:center;gap:10px;min-width:0;display:flex}.status-copy strong{font-size:.82rem;display:block}.status-copy span{color:var(--text-muted);font-size:.74rem;display:block}.status-dot{border-radius:999px;flex:none;width:10px;height:10px}.status-dot.online{background:var(--success);box-shadow:0 0 14px #2ed3a4bf}.status-dot.offline{background:var(--danger);box-shadow:0 0 14px #ff6f918c}.status-pill{letter-spacing:.04em;color:var(--text-secondary);background:#ffffff0d;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:700}.main-content{min-width:0;padding:18px 22px 24px;overflow:auto}.glass-panel{width:100%;max-width:1520px;margin:0 auto}.page{flex-direction:column;gap:18px;display:flex}.fade-in{animation:.28s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.page-title{letter-spacing:-.04em;margin:0;font-size:clamp(1.75rem,2vw,2.5rem);font-weight:800}.page-subtitle{color:var(--text-secondary);margin:6px 0 0;font-size:.94rem}.section-title{color:var(--text-secondary);letter-spacing:.01em;margin:8px 0 0;font-size:1rem;font-weight:700}.header-actions{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.glass,.card,.user-list-pane,.user-detail-pane,.settings-section,.error-card{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);border-radius:20px}.grid-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.grid-cards.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.card{gap:14px;padding:18px;display:flex}.card.stat-card{align-items:center}.card.list-card{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:16px;min-height:188px}.card-icon{background:#ffffff0a;border:1px solid #ffffff0a;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;display:grid}.card-icon.blue{color:#67c5ff;background:#53b7ff1f;border-color:#53b7ff2e}.card-icon.green{color:#46e4b7;background:#2ed3a41f;border-color:#2ed3a42e}.card-icon.purple{color:#8b93ff;background:#6b74ff1f;border-color:#6b74ff2e}.card-icon.warn{color:#ffc978;background:#f3b45d1f;border-color:#f3b45d2e}.card-content{min-width:0}.card-content h3,.list-card h3{color:var(--text-secondary);margin:0;font-size:.84rem;font-weight:700}.stat-value{letter-spacing:-.04em;color:#f7f9ff;margin-top:8px;font-size:2rem;font-weight:800;line-height:1}.stat-desc{color:var(--text-muted);margin:6px 0 0;font-size:.8rem}.big-num{letter-spacing:-.05em;color:#7d83ff;font-size:3rem;font-weight:800;line-height:1}.status-badge{border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:8px 14px;font-size:.8rem;font-weight:700;display:inline-flex}.status-badge.active{color:#54e3bc;background:#2ed3a41f;border-color:#2ed3a433}.status-badge.inactive{color:#ff88a5;background:#ff6f911f;border-color:#ff6f9133}.btn-primary{color:#07111f;cursor:pointer;background:linear-gradient(135deg,#5bc2ff,#6a87ff);border:0;border-radius:14px;align-items:center;gap:8px;padding:11px 16px;font-size:.92rem;font-weight:700;transition:transform .16s,box-shadow .16s,opacity .16s;display:inline-flex;box-shadow:0 12px 26px #5bc2ff47}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 18px 30px #5bc2ff52}.btn-primary:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.btn-secondary{color:var(--text-primary);cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:8px;padding:11px 16px;font-size:.92rem;font-weight:700;transition:transform .16s,border-color .16s,background .16s,opacity .16s;display:inline-flex}.btn-secondary:hover:not(:disabled){background:#53b7ff14;border-color:#53b7ff3d;transform:translateY(-1px)}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.auth-shell .btn-primary{color:#fff;background:linear-gradient(135deg,#2d6bff,#67a2ff);box-shadow:0 18px 38px #2d6bff33}.auth-shell .btn-primary:hover:not(:disabled){box-shadow:0 22px 40px #2d6bff3d}.auth-shell .btn-secondary{color:#0f172a;background:#f8fafc;border-color:#d7deea}.auth-shell .btn-secondary:hover:not(:disabled){background:#f1f6ff;border-color:#bed8ff}.action-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.loading{min-height:240px;color:var(--text-secondary);justify-content:center;align-items:center;font-size:.95rem;display:flex}.error-card{padding:20px}.error-card h3{margin:0 0 8px}.alert{border-radius:14px;align-items:center;gap:8px;padding:12px 14px;font-size:.9rem;display:flex}.alert.success{color:#54e3bc;background:#2ed3a41a;border:1px solid #2ed3a42e}.alert.error{color:#ff88a5;background:#ff6f911a;border:1px solid #ff6f912e}.auth-form .alert{border-radius:16px}.auth-camera-dialog .alert.error{margin-top:16px}.memory-page{min-height:calc(100vh - 48px)}.memory-layout{grid-template-columns:320px minmax(0,1fr);gap:16px;min-height:calc(100vh - 84px);display:grid}.user-list-pane{flex-direction:column;display:flex;overflow:hidden}.pane-header{border-bottom:1px solid var(--border-subtle);padding:16px 18px}.pane-header h3{align-items:center;gap:8px;margin:0;font-size:.95rem;display:flex}.user-list{flex:1;padding:8px;overflow:auto}.user-item{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:14px;align-items:center;gap:12px;padding:12px;display:flex}.user-item:hover{background:#ffffff08}.user-item.selected{background:#53b7ff1f;border-color:#53b7ff2e}.avatar{background:linear-gradient(135deg,#6b74ff,#53b7ff);border-radius:14px;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.user-info{min-width:0}.user-name{font-size:.92rem;font-weight:700}.user-id{color:var(--text-muted);margin-top:3px;font-family:Consolas,SFMono-Regular,monospace;font-size:.74rem}.empty-hint,.empty-state{color:var(--text-muted)}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:280px;display:flex}.user-detail-pane{padding:20px;overflow:auto}.detail-header{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;display:flex}.detail-header h2{margin:0;font-size:1.35rem}.badge{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:999px;padding:6px 10px;font-family:Consolas,SFMono-Regular,monospace;font-size:.78rem}.markdown-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.md-section{background:var(--bg-panel-soft);border:1px solid #ffffff0a;border-radius:18px;padding:18px}.md-section.full-width{grid-column:1/-1}.md-section h3{color:#a9d2ff;align-items:center;gap:8px;margin:0 0 12px;font-size:.96rem;display:flex}.md-content{color:var(--text-secondary);font-size:.9rem;line-height:1.65}.md-content h1,.md-content h2,.md-content h3{color:var(--text-primary)}.md-content pre{background:#0000005c;border-radius:12px;padding:12px;overflow:auto}.md-content code{background:#ffffff0f;border-radius:6px;padding:2px 5px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-inline-strip{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.settings-inline-strip-section{margin:0 0 14px}.settings-inline-chip{color:var(--text-secondary);background:#ffffff0a;border:1px solid #ffffff0d;border-radius:999px;align-items:center;padding:6px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.settings-inline-chip.good{color:#54e3bc;background:#2ed3a41f;border-color:#2ed3a433}.settings-inline-chip.warn{color:#ffc978;background:#f3b45d1f;border-color:#f3b45d33}.settings-section{padding:18px}.settings-section.full-span{grid-column:1/-1}.settings-section h3{border-bottom:1px solid var(--border-subtle);margin:0 0 16px;padding-bottom:10px;font-size:1rem}.settings-subgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;display:grid}.settings-section-rtc .grid-cards{margin-bottom:16px}.settings-subgrid-rtc{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px}.form-group{margin-bottom:16px}.settings-subgrid .form-group{margin-bottom:14px}.form-group label{color:var(--text-secondary);margin-bottom:6px;font-size:.86rem;font-weight:600;display:block}.form-group.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.form-group.row label{margin:0}.form-group small,.hint{color:var(--text-muted);font-size:.76rem;line-height:1.5}input[type=text],input[type=password],input[type=number],select,textarea{border:1px solid var(--border-subtle);width:100%;color:var(--text-primary);background:#080c16b8;border-radius:12px;padding:10px 12px;transition:border-color .18s,box-shadow .18s,background .18s}input:focus,select:focus,textarea:focus{background:#080c16eb;border-color:#53b7ff61;outline:none;box-shadow:0 0 0 3px #53b7ff1f}.auth-shell input[type=text],.auth-shell input[type=password]{color:#0f172a;box-shadow:none;background:#fff;border:1px solid #d7deea;border-radius:16px;padding:14px 15px}.auth-shell input[type=text]::placeholder,.auth-shell input[type=password]::placeholder{color:#94a3b8}.auth-shell input[type=text]:focus,.auth-shell input[type=password]:focus{background:#fff;border-color:#80b6ff;box-shadow:0 0 0 4px #5bc2ff29}.auth-input-wrap input:focus{box-shadow:none;background:0 0;border:0}.toggle-switch{flex:none;width:44px;height:24px;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0}.slider{cursor:pointer;background:#ffffff1f;border-radius:999px;transition:background .2s;position:absolute;inset:0}.slider:before{content:"";background:#d8def2;border-radius:999px;width:18px;height:18px;transition:transform .2s;position:absolute;bottom:3px;left:3px}input:checked+.slider{background:linear-gradient(135deg,#53b7ff,#6b74ff)}input:checked+.slider:before{background:#fff;transform:translate(20px)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.status-panel-wide{grid-column:1/-1}.status-inline-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.status-inline-metric{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);border-radius:18px;align-items:center;gap:12px;min-width:0;padding:14px 16px;display:flex}.status-inline-metric>div:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.status-inline-metric span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem}.status-inline-metric strong{letter-spacing:-.03em;font-size:1.2rem;line-height:1}.status-inline-metric small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.status-panel{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);border-radius:20px;padding:18px}.status-panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.status-panel-title{align-items:center;gap:10px;margin:0;font-size:.98rem;display:flex}.status-terminal{background:#040810e0;border:1px solid #ffffff0a;border-radius:16px;max-height:340px;padding:14px;font-family:Consolas,SFMono-Regular,monospace;font-size:.78rem;line-height:1.55;overflow:auto}.status-terminal-row{white-space:pre-wrap;word-break:break-word;margin-bottom:6px}.status-terminal-empty{color:var(--text-muted);font-style:italic}.status-device-list,.status-summary-list{flex-direction:column;gap:10px;display:flex}.status-device-item,.status-summary-item{background:#ffffff08;border:1px solid #ffffff0a;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.status-device-main,.status-summary-main{align-items:center;gap:12px;min-width:0;display:flex}.status-device-text strong,.status-summary-text strong{font-size:.88rem;display:block}.status-device-text span,.status-summary-text span{color:var(--text-muted);margin-top:3px;font-size:.76rem;display:block}.status-chip{border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:700}.status-chip.good{color:#54e3bc;background:#2ed3a41f}.status-chip.warn{color:#ffc978;background:#f3b45d1f}.status-store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.status-kv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.status-kv-card,.status-signal-item,.memory-check-panel,.memory-evidence-panel{background:var(--bg-panel-soft);border:1px solid #ffffff0d;border-radius:16px;padding:14px}.status-kv-card{flex-direction:column;gap:6px;min-width:0;display:flex}.status-kv-card span,.status-signal-item span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.74rem}.status-kv-card strong,.status-signal-item strong{color:var(--text-primary);word-break:break-word;font-size:.86rem}.status-checklist,.memory-check-list,.memory-evidence-list,.status-signal-list{flex-direction:column;gap:10px;display:flex}.status-check-item,.memory-check-item{background:#ffffff08;border:1px solid #ffffff0a;border-radius:14px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.status-check-item{justify-content:space-between}.status-check-icon,.memory-check-icon{color:#7ed0ff;background:#53b7ff1f;border-radius:999px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.status-check-copy,.memory-check-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.status-check-copy strong,.memory-check-copy strong{font-size:.86rem}.status-check-copy span,.memory-check-copy span{color:var(--text-muted);font-size:.78rem;line-height:1.5}.status-signal-item{flex-direction:column;gap:6px;display:flex}.vision-shell{grid-template-columns:minmax(0,1.7fr) 320px;gap:16px;display:grid}.vision-main,.vision-side{flex-direction:column;gap:16px;min-width:0;display:flex}.vision-card{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);border-radius:20px;padding:18px}.vision-header{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.vision-meta{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.vision-tag{color:var(--text-secondary);background:#ffffff0a;border:1px solid #ffffff0a;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:.75rem;display:inline-flex}.vision-monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.vision-feed{flex-direction:column;gap:10px;display:flex}.vision-feed-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.vision-feed-head h3{margin:0;font-size:.92rem}.vision-feed-meta{color:var(--text-muted);font-size:.74rem}.vision-frame{background:#040810eb;border:1px solid #ffffff0a;border-radius:18px;justify-content:center;align-items:center;min-height:320px;padding:10px;display:flex;position:relative;overflow:hidden}.vision-frame img{object-fit:contain;border-radius:12px;max-width:100%;max-height:100%}.vision-frame-empty{color:var(--text-muted);font-size:.86rem}.vision-side-card{background:var(--bg-panel-soft);border:1px solid #ffffff0a;border-radius:18px;padding:16px}.vision-side-card h3{margin:0 0 12px;font-size:.92rem}.vision-spec-list{flex-direction:column;gap:10px;display:flex}.vision-spec-item{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;font-size:.82rem;display:flex}.vision-spec-item:last-child{border-bottom:0;padding-bottom:0}.vision-spec-item span{color:var(--text-muted)}.vision-spec-item strong{color:var(--text-primary)}.memory-stat-label,.settings-stat-label{letter-spacing:-.02em;font-size:1.1rem;line-height:1.35}.memory-top-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:14px;margin-bottom:14px;display:grid}.memory-check-panel h3,.memory-evidence-panel h3{color:#a9d2ff;align-items:center;gap:8px;margin:0 0 12px;font-size:.96rem;display:flex}.memory-evidence-item{background:#ffffff08;border:1px solid #ffffff0a;border-radius:14px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.memory-evidence-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-evidence-item p,.memory-evidence-item small,.memory-evidence-scene{margin:0;line-height:1.55}.memory-evidence-item p{color:var(--text-primary);font-size:.84rem}.memory-evidence-item small,.memory-evidence-scene{color:var(--text-muted);font-size:.76rem}.settings-grid-v01{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-advanced-section{border:1px solid var(--border-subtle);background:var(--bg-panel);border-radius:20px;grid-column:1/-1}.settings-advanced-section>summary{cursor:pointer;color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;padding:16px 22px;font-size:.82rem;font-weight:600;list-style:none;display:flex}.settings-advanced-section>summary::-webkit-details-marker{display:none}.settings-advanced-section>summary:before{content:"›";font-size:1.1rem;line-height:1;transition:transform .18s;display:inline-block}.settings-advanced-section[open]>summary:before{transform:rotate(90deg)}.settings-advanced-section .settings-section{border:none;border-top:1px solid var(--border-subtle);border-radius:0 0 20px 20px;margin:0}.status-panel-collapsible{padding:0}.status-panel-collapsible>summary{cursor:pointer;-webkit-user-select:none;user-select:none;padding:18px 22px;list-style:none}.status-panel-collapsible>summary::-webkit-details-marker{display:none}.status-panel-collapsible>summary .status-panel-head,.status-panel-collapsible[open]>summary .status-panel-head{margin-bottom:0}.status-panel-collapsible .status-signal-list,.status-panel-collapsible .status-terminal{margin:0 22px 18px}.rtc-shell .grid-cards.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.rtc-toolbar,.rtc-video-head,.rtc-compose{justify-content:space-between;align-items:center;gap:12px;display:flex}.rtc-inline-alert{margin-top:12px}.rtc-stage{flex-direction:column;gap:16px;display:flex}.rtc-subtitle-bar{background:var(--bg-panel-soft);border:1px solid #ffffff0d;border-radius:16px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.rtc-subtitle-bar strong{font-size:1rem}.rtc-subtitle-meta{color:var(--text-muted);flex-wrap:wrap;gap:10px;font-size:.8rem;display:flex}.rtc-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.rtc-video-panel{flex-direction:column;gap:12px;min-width:0;display:flex}.rtc-local-stack{display:grid}.rtc-video-box,.rtc-remote-box{background:#040810eb;border:1px solid #ffffff0d;border-radius:16px;overflow:hidden}.rtc-video-box{min-height:280px}.rtc-video-box.is-hidden{display:none}.rtc-video-box video,.rtc-remote-box video{object-fit:cover;width:100%;height:280px;display:block}.rtc-remote-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.rtc-video-caption{color:var(--text-muted);padding:10px 12px 0;font-size:.76rem;display:block}.rtc-chat-log{flex-direction:column;gap:10px;max-height:360px;padding-right:4px;display:flex;overflow:auto}.rtc-chat-item{background:#ffffff08;border:1px solid #ffffff0d;border-radius:14px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.rtc-chat-user{background:#53b7ff14;border-color:#53b7ff1f}.rtc-chat-assistant{background:#2ed3a414;border-color:#2ed3a41f}.rtc-chat-system{background:#ffffff0a}.rtc-chat-item strong{color:var(--text-secondary);font-size:.78rem}.rtc-chat-item span{line-height:1.6}.rtc-chat-item small{color:var(--text-muted);font-size:.74rem}.desktop-page{gap:16px}.desktop-toolbar{align-items:center;gap:10px;display:flex}.desktop-toolbar-chip{color:var(--text-secondary);background:#53b7ff1a;border:1px solid #53b7ff29;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.desktop-grid{grid-template-columns:340px minmax(0,1fr);gap:14px;display:grid}.desktop-grid-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.desktop-panel{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);border-radius:20px;flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.desktop-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.desktop-panel-head h3{color:var(--text-primary);align-items:center;gap:8px;margin:0;font-size:.98rem;display:inline-flex}.desktop-node-list,.desktop-detail-stack,.desktop-form-stack{flex-direction:column;gap:12px;min-width:0;display:flex}.desktop-node-card{color:inherit;text-align:left;cursor:pointer;background:#ffffff08;border:1px solid #ffffff0f;border-radius:16px;flex-direction:column;gap:10px;padding:14px;transition:border-color .16s,background .16s,transform .16s;display:flex}.desktop-node-card:hover{background:#53b7ff0f;border-color:#53b7ff33;transform:translateY(-1px)}.desktop-node-card.active{background:#53b7ff1a;border-color:#53b7ff4d;box-shadow:inset 0 0 0 1px #53b7ff14}.desktop-node-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.desktop-node-head strong{font-size:.92rem}.desktop-node-meta{color:var(--text-muted);gap:6px;font-size:.78rem;display:grid}.desktop-kv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.desktop-kv-grid div{background:var(--bg-panel-soft);border:1px solid #ffffff0a;border-radius:14px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.desktop-kv-grid span{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.74rem}.desktop-kv-grid strong{word-break:break-word;font-size:.88rem}.desktop-field{flex-direction:column;gap:8px;display:flex}.desktop-field span{color:var(--text-secondary);font-size:.8rem;font-weight:700}.desktop-field textarea,.desktop-field input{width:100%;color:var(--text-primary);background:#060b14c7;border:1px solid #ffffff14;border-radius:14px;padding:12px 14px}.desktop-field textarea{resize:vertical;min-height:160px;font-family:Consolas,SFMono-Regular,Cascadia Mono,monospace;font-size:.78rem;line-height:1.6}.desktop-actions{flex-wrap:wrap;gap:10px;display:flex}.desktop-skill-section{flex-direction:column;gap:12px;display:flex}.desktop-skill-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.desktop-skill-card{background:#ffffff08;border:1px solid #ffffff0d;border-radius:16px;flex-direction:column;gap:10px;padding:14px;display:flex}.desktop-skill-meta{flex-direction:column;gap:4px;display:flex}.desktop-skill-meta strong{color:var(--text-primary);font-size:.88rem}.desktop-skill-meta span,.desktop-skill-card p{color:var(--text-secondary);margin:0;font-size:.78rem;line-height:1.6}.desktop-skill-tags{flex-wrap:wrap;gap:8px;display:flex}.desktop-skill-tag{color:var(--text-secondary);background:#53b7ff14;border:1px solid #53b7ff1f;border-radius:999px;justify-content:center;align-items:center;padding:5px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.desktop-hint{color:var(--text-secondary);margin:0;line-height:1.65}.button-disabled{opacity:.55;pointer-events:none}.desktop-json-block{color:#d8e1f7;white-space:pre-wrap;word-break:break-word;background:#060b14c7;border:1px solid #ffffff0d;border-radius:16px;margin:0;padding:14px;font-family:Consolas,SFMono-Regular,Cascadia Mono,monospace;font-size:.77rem;line-height:1.65;overflow:auto}.native-env-card{background:linear-gradient(135deg, #53b7ff14, #6b74ff08), var(--bg-panel-soft);border:1px solid #53b7ff1f;border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.native-env-head{flex-direction:column;gap:6px;display:flex}.native-env-head h4{color:var(--text-primary);margin:0;font-size:.94rem}.native-env-subtitle{color:var(--text-muted);font-size:.78rem;line-height:1.5}.native-env-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.native-env-grid div,.native-env-section{background:#060b1457;border:1px solid #ffffff0a;border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.native-env-grid span,.native-env-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.74rem}.native-env-grid strong{word-break:break-word;color:var(--text-primary);font-size:.84rem;line-height:1.55}.native-env-chip-list{flex-wrap:wrap;gap:8px;display:flex}.native-env-chip{color:#dff2ff;background:#53b7ff1f;border:1px solid #53b7ff2e;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.native-env-chip.muted{color:var(--text-secondary);background:#ffffff0a;border-color:#ffffff14}.desktop-result-block{min-height:140px}.desktop-empty{color:var(--text-muted);background:#ffffff08;border:1px dashed #ffffff14;border-radius:16px;padding:18px}.rtc-compose{align-items:flex-end;margin-top:14px}.rtc-compose textarea{resize:vertical;min-height:88px}@media (width<=1200px){.auth-shell{padding:24px}.app-container{grid-template-columns:240px minmax(0,1fr)}.status-grid,.status-inline-strip,.vision-shell,.memory-top-grid,.rtc-media-grid{grid-template-columns:1fr}.status-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.auth-card-single{max-width:430px;margin:0 auto}.main-content{padding:16px}.memory-layout,.settings-grid,.settings-subgrid,.settings-subgrid-rtc,.markdown-grid,.vision-monitor-grid,.status-kv-grid,.status-grid,.settings-grid-v01,.grid-cards.three-cols,.status-store-grid{grid-template-columns:1fr}}@media (width<=760px){.app-container{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border-subtle);height:auto;padding:14px;position:static}.nav-menu{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.header-actions,.vision-header,.auth-camera-head,.rtc-toolbar,.rtc-video-head,.rtc-compose,.desktop-toolbar{flex-direction:column;align-items:stretch}.settings-inline-strip{margin-top:10px}.status-check-item{flex-direction:column;align-items:stretch}.auth-shell{padding:16px}.auth-card-single{border-radius:28px;padding:24px}.auth-face-summary{flex-direction:column;align-items:flex-start}.auth-method-tabs,.auth-privacy-card{grid-template-columns:1fr}.auth-privacy-card{flex-direction:column}.auth-camera-dialog{border-radius:26px;padding:20px}.auth-camera-stage,.auth-camera-stage video{height:280px;min-height:280px}.auth-loading-panel{min-width:100%}.desktop-grid,.desktop-grid-bottom,.desktop-kv-grid,.native-env-grid{grid-template-columns:1fr}}.memory-layout-wide{grid-template-columns:280px minmax(0,1fr)}.memory-console{flex-direction:column;gap:16px;display:flex}.memory-hero{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.memory-hero h2{margin:0;font-size:1.4rem}.memory-hero p{color:var(--text-secondary);margin:8px 0 0;line-height:1.65}.memory-hero-meta{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.memory-console-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.95fr);gap:14px;display:grid}.memory-console-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-toolbar{background:linear-gradient(135deg, #53b7ff14, #6b74ff08), var(--bg-panel-soft);border:1px solid #53b7ff1f;border-radius:18px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.memory-search-row{align-items:center;gap:12px;display:flex}.memory-search-input{color:var(--text-secondary);background:#050a12a3;border:1px solid #ffffff0f;border-radius:14px;flex:1;align-items:center;gap:10px;padding:0 14px;display:flex}.memory-search-input:focus-within{border-color:#53b7ff52;box-shadow:0 0 0 3px #53b7ff1a}.memory-search-input input{box-shadow:none;background:0 0;border:0;padding:12px 0}.memory-search-input input:focus{box-shadow:none;background:0 0}.memory-filter-row{flex-wrap:wrap;gap:8px;display:flex}.memory-filter-chip{color:var(--text-secondary);cursor:pointer;background:#ffffff08;border:1px solid #ffffff0f;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-size:.78rem;font-weight:700;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.memory-filter-chip:hover{color:var(--text-primary);border-color:#53b7ff38;transform:translateY(-1px)}.memory-filter-chip.active{color:#dff2ff;background:#53b7ff29;border-color:#53b7ff4d;box-shadow:inset 0 0 0 1px #53b7ff14}.memory-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.memory-panel{background:var(--bg-panel-soft);border:1px solid #ffffff0d;border-radius:18px;padding:16px;box-shadow:inset 0 1px #ffffff05}.memory-panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.memory-panel-head h3{color:#a9d2ff;align-items:center;gap:8px;margin:0;font-size:.96rem;display:flex}.memory-markdown-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.md-section.compact{padding:14px}.md-section.compact h4{color:var(--text-primary);margin:0 0 10px;font-size:.9rem}.memory-section-list{flex-direction:column;gap:10px;display:flex}.memory-list-item,.memory-action-card{background:#ffffff08;border:1px solid #ffffff0a;border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.memory-list-item.failure{background:#ff6f9114;border-color:#ff6f9124}.memory-clickable{cursor:pointer;transition:transform .16s,border-color .16s,background .16s}.memory-clickable:hover{background:#53b7ff0f;border-color:#53b7ff2e;transform:translateY(-1px)}.memory-item-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-item-head strong{color:var(--text-primary);font-size:.88rem}.memory-list-item p,.memory-action-card p{color:var(--text-secondary);margin:0;font-size:.84rem;line-height:1.6}.memory-list-item small{color:var(--text-muted);font-size:.76rem;line-height:1.55}.memory-inline-meta{color:var(--text-muted);font-size:.76rem}.memory-inline-grid{color:var(--text-muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:.76rem;display:grid}.memory-chip-list{flex-wrap:wrap;gap:8px;display:flex}.memory-chip{color:var(--text-secondary);background:#53b7ff14;border:1px solid #53b7ff1f;border-radius:999px;align-items:center;padding:5px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.memory-chip.accent{color:#ffd27f;background:#ffc45c1f;border-color:#ffc45c2e}.memory-pending-meta{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.memory-pending-timeline{background:#ffffff06;border:1px solid #ffffff0a;border-radius:12px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.memory-pending-timeline-item{color:var(--text-muted);justify-content:space-between;align-items:center;gap:12px;font-size:.75rem;display:flex}.memory-pending-timeline-item strong{color:var(--text-secondary);font-size:.74rem}.memory-graph-shell{background:radial-gradient(circle at top,#53b7ff14,#0000 48%),#030810ad;border:1px solid #ffffff0d;border-radius:16px;overflow:hidden}.memory-graph-svg{width:100%;height:auto;min-height:320px;display:block}.memory-graph-edge{stroke:#a8b3cf42;stroke-width:1.5px}.memory-graph-edge.active{stroke:#53b7ffb8;stroke-width:2.4px}.memory-graph-edge-label{fill:var(--text-muted);text-anchor:middle;font-size:11px}.memory-graph-node{cursor:pointer}.memory-graph-node-ring{fill:#0000;stroke:#ffffff14;stroke-width:1.25px}.memory-graph-node.active .memory-graph-node-ring{stroke:#53b7ffd9;stroke-width:2px}.memory-graph-node-label{fill:var(--text-primary);text-anchor:middle;font-size:12px;font-weight:700}.memory-record-inspector{flex-direction:column;gap:12px;min-height:320px;display:flex}.memory-record-inspector.empty{justify-content:center}.memory-record-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.memory-record-head strong{font-size:.96rem}.memory-record-grid{grid-template-columns:1fr;gap:8px;max-height:320px;padding-right:4px;display:grid;overflow:auto}.memory-record-row{background:#ffffff08;border:1px solid #ffffff0a;border-radius:12px;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:10px;padding:10px 12px;display:grid}.memory-record-row span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.74rem}.memory-record-row strong{color:var(--text-secondary);word-break:break-word;font-size:.8rem;line-height:1.5}.memory-inline-actions{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.memory-action-button{color:var(--text-secondary);cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:6px;padding:8px 10px;font-size:.76rem;font-weight:700;transition:background .16s,border-color .16s,color .16s,opacity .16s;display:inline-flex}.memory-action-button:hover:not(:disabled){color:var(--text-primary);background:#53b7ff14;border-color:#53b7ff3d}.memory-action-button.danger:hover:not(:disabled){color:#ffd0db;background:#ff6f911a;border-color:#ff6f913d}.memory-action-button:disabled{opacity:.55;cursor:not-allowed}.memory-action-actions{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.memory-action-actions .btn-primary,.memory-action-actions .btn-secondary{padding:9px 14px;font-size:.84rem}.memory-bulk-toolbar{background:#ffffff08;border:1px solid #ffffff0d;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}.memory-select-toggle{color:var(--text-secondary);align-items:center;gap:10px;font-size:.82rem;display:inline-flex}.memory-select-toggle input,.memory-result-select input{accent-color:var(--accent)}.memory-bulk-actions{flex-wrap:wrap;gap:8px;display:flex}.memory-result-select{justify-content:center;align-items:center;margin-right:2px;display:inline-flex}.memory-ops-panel{flex-direction:column;gap:14px;min-height:320px;display:flex}.memory-ops-block{background:#ffffff08;border:1px solid #ffffff0d;border-radius:14px;flex-direction:column;gap:10px;padding:14px;display:flex}.memory-ops-label{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);font-size:.76rem;font-weight:700}.memory-ops-entity{flex-direction:column;gap:8px;display:flex}.memory-ops-divider{background:linear-gradient(90deg,#fff0,#ffffff1f,#fff0);height:1px}.memory-relationship-editor{gap:14px}.memory-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.memory-form-field{color:var(--text-secondary);flex-direction:column;gap:8px;font-size:.8rem;display:flex}.memory-form-field-wide{grid-column:1/-1}.memory-form-field span{color:var(--text-muted);font-weight:600}.memory-form-field input,.memory-form-field select,.memory-merge-select{width:100%;color:var(--text-primary);background:#060b14c7;border:1px solid #ffffff14;border-radius:12px;padding:10px 12px}.memory-ops-hint{color:var(--text-muted);align-items:flex-start;gap:8px;font-size:.78rem;line-height:1.5;display:flex}.memory-evidence-panel{flex-direction:column;gap:14px;min-height:320px;display:flex}.memory-evidence-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.memory-evidence-list,.memory-lineage-list{flex-direction:column;gap:10px;display:flex}.memory-conflict-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.memory-conflict-card{text-align:left;color:inherit;background:#ffffff08;border:1px solid #ffffff0f;border-radius:14px;flex-direction:column;gap:10px;padding:14px;transition:border-color .18s,transform .18s,background .18s;display:flex}.memory-conflict-card:hover{border-color:#ffc97833;transform:translateY(-1px)}.memory-conflict-card.selected{background:#f3b45d14;border-color:#ffc97857;box-shadow:0 0 0 1px #f3b45d1f}.memory-evidence-card,.memory-evidence-audit{background:#ffffff08;border:1px solid #ffffff0f;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.memory-evidence-preview{color:var(--text-secondary);background:#060b1494;border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.memory-lineage-section{flex-direction:column;gap:10px;display:flex}.memory-lineage-link{color:var(--text-primary);text-align:left;background:#ffffff08;border:1px solid #ffffff0f;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;display:flex}.memory-lineage-link:hover{background:#ffffff0d;border-color:#ffffff24}.memory-bullet-list{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.8rem;display:flex}@media (width<=1400px){.memory-console-grid.three{grid-template-columns:1fr}}@media (width<=960px){.memory-bulk-toolbar{flex-direction:column;align-items:stretch}.memory-bulk-actions{width:100%}.memory-form-grid,.memory-conflict-list{grid-template-columns:1fr}.memory-bulk-actions .memory-action-button{flex:1 1 0;justify-content:center}}@media (width<=1200px){.memory-console-grid,.memory-section-grid,.memory-markdown-grid,.memory-inline-grid{grid-template-columns:1fr}.memory-search-row{flex-direction:column;align-items:stretch}}.memory-hub-page{flex-direction:column;gap:20px;display:flex}.memory-hub-shell{border:1px solid var(--border-subtle);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(#fffffff2,#f8fafce6)}.memory-hub-alert{margin-top:18px}.memory-hub-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:20px;margin-top:20px;display:grid}.memory-hub-sidebar,.memory-hub-main{min-width:0}.memory-hub-sidebar-card,.memory-hub-summary-card,.memory-hub-tabs-card,.memory-hub-section-card{background:var(--bg-panel);border:1px solid var(--border-subtle);box-shadow:var(--shadow-md)}.memory-hub-summary-card,.memory-hub-tabs-card{margin-bottom:16px}.memory-hub-session-list,.memory-hub-list{flex-direction:column;gap:10px;display:flex}.memory-hub-session-item,.memory-hub-evidence-button{background:var(--bg-elevated);width:100%;color:inherit;text-align:left;cursor:pointer;border:1px solid #94a3b82e;border-radius:14px;padding:14px;transition:border-color .18s,background .18s,transform .18s}.memory-hub-session-item:hover,.memory-hub-evidence-button:hover,.memory-hub-session-item.active,.memory-hub-evidence-button.active{background:linear-gradient(#fffffffa,#fdf2f8eb);border-color:#f472b63d;transform:translateY(-1px)}.memory-hub-session-head,.memory-hub-bundle-header,.memory-hub-message-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.memory-hub-session-item strong,.memory-hub-evidence-button strong,.memory-hub-list-card strong,.memory-hub-message-card strong{font-size:.95rem}.memory-hub-session-item span,.memory-hub-evidence-button span{color:var(--text-secondary);line-height:1.55;display:block}.memory-hub-session-meta,.memory-hub-message-meta{color:var(--text-muted);flex-wrap:wrap;gap:10px;margin-top:10px;font-size:.8rem;display:flex}.memory-hub-session-title{margin:4px 0 8px}.memory-hub-session-preview,.memory-hub-summary-text{color:var(--text-secondary);margin:0}.memory-hub-summary-side{flex-direction:column;gap:10px;min-width:min(100%,320px);display:flex}.memory-hub-inline-row{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:8px;display:flex}.memory-hub-inline-row:last-child{border-bottom:0;padding-bottom:0}.memory-hub-loading,.memory-hub-loading-block{justify-content:center;align-items:center;min-height:140px;display:flex}.memory-hub-panel-grid{gap:16px;display:grid}.memory-hub-panel-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-hub-panel-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-hub-panel-span{grid-column:1/-1}.memory-hub-stat-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.memory-hub-stat-card{background:linear-gradient(#fffffffa,#fafafce6);border:1px solid #94a3b829;border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.memory-hub-stat-card strong{font-size:1rem}.memory-hub-summary-block{background:linear-gradient(#fffffffa,#fdf4f8e0);border:1px solid #f472b629;border-radius:14px;padding:14px}.memory-hub-summary-block p{color:var(--text-secondary);margin:8px 0 0;line-height:1.65}.memory-hub-message-list{flex-direction:column;gap:12px;display:flex}.memory-hub-message-card,.memory-hub-list-card{background:var(--bg-elevated);border:1px solid #94a3b829;border-radius:14px;padding:14px}.memory-hub-message-card.assistant{border-color:#53b7ff33}.memory-hub-message-card.user{border-color:#2ed3a42e}.memory-hub-list-card.warning{border-color:#f3b45d3d}.memory-hub-message-card p,.memory-hub-list-card p{color:var(--text-secondary);margin:8px 0 0;line-height:1.65}.memory-hub-evidence-layout{grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:16px;display:grid}.memory-hub-bundle{flex-direction:column;gap:12px;display:flex}.memory-hub-json{color:var(--text-primary);white-space:pre-wrap;word-break:break-word;background:#f8fafcf5;border:1px solid #94a3b833;border-radius:12px;margin:0;padding:12px;font-size:.82rem;line-height:1.55;overflow:auto}body[data-theme=dark] .memory-hub-shell{background:#111724bd}body[data-theme=dark] .memory-hub-sidebar-card,body[data-theme=dark] .memory-hub-summary-card,body[data-theme=dark] .memory-hub-tabs-card,body[data-theme=dark] .memory-hub-section-card{box-shadow:none;background:#0e131fc7}body[data-theme=dark] .memory-hub-session-item,body[data-theme=dark] .memory-hub-evidence-button{background:#131927e0;border-color:#7891be1f}body[data-theme=dark] .memory-hub-session-item:hover,body[data-theme=dark] .memory-hub-evidence-button:hover,body[data-theme=dark] .memory-hub-session-item.active,body[data-theme=dark] .memory-hub-evidence-button.active{background:#182134f5;border-color:#53b7ff66}body[data-theme=dark] .memory-hub-stat-card,body[data-theme=dark] .memory-hub-summary-block,body[data-theme=dark] .memory-hub-message-card,body[data-theme=dark] .memory-hub-list-card{background:#141c2ce6;border-color:#7891be1a}body[data-theme=dark] .memory-hub-json{color:#d9e7ff;background:#0a0f18eb;border-color:#7891be1f}.memory-hub-drawer{flex-direction:column;gap:14px;display:flex}.memory-hub-drawer-block{width:100%}.memory-hub-markdown{color:var(--text-secondary);line-height:1.75}.memory-hub-markdown p:first-child{margin-top:0}.memory-hub-markdown p:last-child{margin-bottom:0}.memory-hub-bullets{color:var(--text-secondary);margin:10px 0 0;padding-left:18px}@media (width<=1200px){.memory-hub-layout,.memory-hub-evidence-layout,.memory-hub-panel-grid.three,.memory-hub-panel-grid.two{grid-template-columns:1fr}}@media (width<=820px){.memory-hub-stat-grid,.memory-hub-stat-grid.compact{grid-template-columns:1fr 1fr}.memory-hub-inline-row{flex-direction:column}}@media (width<=640px){.memory-hub-stat-grid,.memory-hub-stat-grid.compact{grid-template-columns:1fr}.memory-hub-session-head,.memory-hub-bundle-header,.memory-hub-message-head{flex-direction:column;align-items:flex-start}}.product-sider{background:var(--bg-sidebar);border-right:1px solid var(--border-subtle)}.product-sider-shell{height:100%;padding:24px 16px 16px}.product-brand{padding:4px 8px 0}.product-menu{background:0 0;border-inline-end:0}.product-menu .ant-menu-item,.product-menu .ant-menu-submenu-title{border-radius:14px;height:48px;margin-block:4px;margin-inline:0;font-weight:600}.product-user-card{border:1px solid var(--border-subtle);box-shadow:none;background:#ffffff08}.product-main-shell{background:0 0;position:relative}.product-content-home{padding-top:32px}.product-mobile-nav-trigger{z-index:1100;position:fixed;top:16px;left:16px;box-shadow:0 10px 24px #03071238}.product-home-shell{width:100%;max-width:1120px;margin:0 auto}.product-home-stage-card{border-radius:28px}.product-home-action-bar{align-items:flex-start}.product-home-role-bar{align-items:center}.product-home-role-bar .product-section-title{margin:0}.product-home-main-stage{background:radial-gradient(circle at 50% 14%,#ffffffd1,#0000 18%),radial-gradient(circle at 24% 22%,#f472b638,#0000 34%),radial-gradient(circle at 78% 18%,#fbbf7229,#0000 28%),linear-gradient(#fff6f8 0%,#fde9ef 48%,#f7d7e1 100%);border:1px solid #f472b629;border-radius:24px;min-height:clamp(420px,68vh,760px);position:relative;overflow:hidden}.product-home-stage-loading,.product-home-static-stage{min-height:inherit}.product-home-stage-loading{flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.product-home-stage-toggle{z-index:2;position:absolute;top:18px;right:18px}.product-home-static-stage{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:clamp(32px,6vw,72px);display:flex}.product-home-static-visual{justify-content:center;align-items:center;display:flex}.product-home-static-orb{background:radial-gradient(circle at 30% 30%,#ffffffad,#0000 34%),radial-gradient(circle,#f472b64d,#fbbf7224 56%,#fff3);border:1px solid #f472b62e;border-radius:999px;place-items:center;width:clamp(140px,20vw,220px);height:clamp(140px,20vw,220px);display:grid;box-shadow:0 28px 80px #be185d29,inset 0 0 48px #ffffff6b}body[data-theme=dark] .product-home-main-stage{background:radial-gradient(circle at 50% 14%,#ffffff29,#0000 18%),radial-gradient(circle at 24% 22%,#f472b647,#0000 34%),radial-gradient(circle at 78% 18%,#fbbf7229,#0000 28%),linear-gradient(#36192af5,#180a14fa);border-color:#f472b633}body[data-theme=dark] .product-home-static-orb{background:radial-gradient(circle at 30% 30%,#fff3,#0000 34%),radial-gradient(circle,#f472b647,#4a20367a 56%,#140710d6);box-shadow:0 24px 80px #03071257,inset 0 0 40px #f472b624}.product-home-static-copy{max-width:560px}.product-home-static-title{margin:0}.product-settings-appearance{max-width:420px}.product-settings-appearance-copy{margin:4px 0 0}@media (width<=992px){.product-content{padding:20px 16px}.product-content-home{padding-top:72px}.product-home-main-stage{min-height:520px}}@media (width<=640px){.product-home-stage-card{border-radius:22px}.product-home-main-stage{border-radius:18px;min-height:420px}.product-home-stage-toggle{top:14px;right:14px}}.companion-sidebar{background:var(--bg-panel);border-left:1px solid var(--border-subtle);flex-direction:column;flex-shrink:0;height:100vh;transition:width .3s;display:flex;position:sticky;top:0;overflow:hidden}.companion-sidebar.expanded{width:380px}.companion-sidebar.collapsed{width:60px}.companion-sidebar-content{flex-direction:column;height:100%;padding:16px;display:flex;overflow-y:auto}.companion-sidebar-header{border-bottom:1px solid var(--border-subtle);flex-shrink:0;margin-bottom:16px;padding-bottom:16px}.companion-sidebar-transcript{background:var(--bg-panel-soft);border-radius:12px;flex:1;min-height:80px;max-height:200px;margin-bottom:16px;padding:12px;overflow-y:auto}.companion-sidebar-input{flex-direction:column;flex-shrink:0;gap:8px;margin-bottom:16px;display:flex}.companion-sidebar-input .ant-input{border-radius:12px}.companion-sidebar-history{flex-shrink:0;max-height:240px;margin-bottom:16px;overflow-y:auto}.companion-sidebar-history-header{border-bottom:1px solid var(--border-subtle);margin-bottom:8px;padding-bottom:8px}.companion-sidebar-history-list{flex-direction:column;gap:8px;display:flex}.companion-sidebar-history-item{background:var(--bg-panel-soft);cursor:pointer;border-radius:10px;padding:10px 12px;transition:background .2s}.companion-sidebar-history-item:hover{background:var(--accent-soft)}.companion-sidebar-commands{background:var(--bg-panel-soft);border-radius:12px;flex-shrink:0;margin-bottom:16px;padding:12px}.companion-sidebar-controls{flex-direction:column;flex-shrink:0;gap:12px;margin-top:auto;display:flex}.companion-sidebar-media-controls{padding:8px 0}.companion-sidebar-toggle{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:8px 0 0 8px;position:absolute;top:16px;left:-20px;box-shadow:-2px 0 8px #00000014}.companion-sidebar-toggle:hover{background:var(--bg-elevated)}.companion-sidebar-drawer .ant-drawer-body{padding:16px}.companion-mobile-trigger{box-shadow:0 4px 20px #0003}body[data-theme=dark] .companion-sidebar{border-color:var(--border-subtle);background:#0f172adb}body[data-theme=dark] .companion-sidebar-transcript,body[data-theme=dark] .companion-sidebar-history-item,body[data-theme=dark] .companion-sidebar-commands{background:#1e293bb8}body[data-theme=dark] .companion-sidebar-toggle{border-color:var(--border-subtle);background:#0f172adb}:root{--ui-app-bg:#f8fafc;--ui-surface:#fffffff0;--ui-surface-muted:#f8fafcd1;--ui-border-soft:#94a3b82e;--ui-border-strong:#64748b47;--ui-copy:#0f172a;--ui-copy-muted:#64748b;--ui-accent:#2563eb;--ui-shadow-soft:#0f172a14;--product-page-bg:radial-gradient(circle at top left, #94a3b824, transparent 28%), radial-gradient(circle at top right, #60a5fa29, transparent 24%), linear-gradient(180deg, #fff 0%, #f8fafc 56%, #edf2f7 100%);--product-sider-bg:#f8fafce0;--product-sider-surface:#ffffffb8;--product-sider-text:#0f172ab8;--product-brand-gradient:linear-gradient(135deg, #0f172a, #334155);--product-header-border:#94a3b833;--product-page-muted:#64748b;--product-card-bg:linear-gradient(180deg, #fffffffa, #f8fafcf0);--product-card-orb:radial-gradient(circle, #60a5fa2e 0%, #60a5fa00 72%);--product-code-bg:#0f172a;--product-code-text:#e2e8f0;--product-video-bg:linear-gradient(180deg, #0f172af5, #1e293beb);--product-video-surface:#ffffff0f;--product-video-border:#ffffff14;--product-auth-stat-bg:#ffffffbd;--product-auth-stat-border:#94a3b829;--product-auth-preview-border:#94a3b833;--product-empty-border:#64748b38;--product-vision-bg:linear-gradient(135deg, #0f172af0, #1e293bd6);--product-camera-bg:linear-gradient(180deg, #0f172a, #1e293b);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body[data-theme=dark]{--ui-app-bg:#020617;--ui-surface:#0f172aeb;--ui-surface-muted:#0f172ac2;--ui-border-soft:#64748b33;--ui-border-strong:#94a3b847;--ui-copy:#e2e8f0;--ui-copy-muted:#94a3b8;--ui-accent:#60a5fa;--ui-shadow-soft:#02061757;--product-page-bg:radial-gradient(circle at top left, #60a5fa29, transparent 24%), radial-gradient(circle at top right, #94a3b81f, transparent 28%), linear-gradient(180deg, #020617 0%, #0f172a 100%);--product-sider-bg:#0f172ae0;--product-sider-surface:#ffffff0f;--product-sider-text:#e2e8f0b8;--product-brand-gradient:linear-gradient(135deg, #e2e8f0, #94a3b8);--product-header-border:#64748b38;--product-page-muted:#94a3b8;--product-card-bg:linear-gradient(180deg, #0f172afa, #0f172af0);--product-card-orb:radial-gradient(circle, #60a5fa29 0%, #60a5fa00 72%);--product-code-bg:#020617;--product-code-text:#e2e8f0;--product-video-bg:linear-gradient(180deg, #020617fa, #0f172af5);--product-video-surface:#ffffff0d;--product-video-border:#ffffff1a;--product-auth-stat-bg:#121e2ce0;--product-auth-stat-border:#788da82e;--product-auth-preview-border:#788da838;--product-empty-border:#788da83d;--product-vision-bg:linear-gradient(135deg, #020617, #1e293b);--product-camera-bg:linear-gradient(180deg, #020617, #0f172a);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--product-page-bg);margin:0}#root{min-height:100vh}.product-fullscreen{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.product-layout{background:0 0;min-height:100vh}.product-layout.is-home{background:radial-gradient(circle at 18% 14%, #60a5fa29, transparent 32%), radial-gradient(circle at 82% 18%, #94a3b824, transparent 28%), var(--product-page-bg)}.product-sider{height:100vh;padding:18px 12px;position:sticky;top:0}.product-sider-immersive{padding:18px 14px}.product-sider-shell{gap:14px;height:100%}.product-sider-shell-immersive{gap:18px}.product-brand{align-items:center;gap:10px;padding:0;display:flex}.product-brand-title,.product-page-title{margin:0}.product-brand .product-brand-text{color:var(--product-sider-text)}.feifei-logo-mark.ant-avatar{background:#ffffffeb;box-shadow:0 8px 24px #0f172a14,inset 0 0 0 1px #ffffff5c}body[data-theme=dark] .feifei-logo-mark.ant-avatar{background:#fffffff5;box-shadow:0 10px 28px #00000047,inset 0 0 0 1px #0f172a14}.feifei-logo-mark img{object-fit:cover}.feifei-logo-title{color:inherit}.feifei-logo-subtitle{line-height:1.2}.product-sider-theme-toggle{padding:0 12px 18px}.product-theme-toggle-button.ant-btn{color:inherit;border:1px solid var(--product-header-border);background:0 0}.product-theme-toggle-button.ant-btn:hover{border-color:var(--product-header-border);background:#7f7f7f14}.product-menu.ant-menu{background:0 0;border-inline-end:none;padding-inline:2px}.product-menu.ant-menu .ant-menu-item{border-radius:16px;height:44px;margin:4px 0;padding-inline:12px;line-height:44px}.product-menu.ant-menu .ant-menu-title-content{font-size:.92rem}.product-sider-footer{gap:16px;padding:20px 12px 0;display:grid}.product-user-card{background:var(--product-sider-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--product-header-border)}.product-icp-link{max-width:100%;color:var(--ui-copy-muted);text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;font-size:12px;line-height:1.4;text-decoration:none;display:inline-flex}.product-icp-link:hover,.product-icp-link:focus-visible{color:var(--ui-accent);text-decoration:underline}.product-two-rail-layout{background:linear-gradient(120deg,#ffffff61,#0000 46%),radial-gradient(circle at 44% -8%,#ffffffeb,#0000 34%),radial-gradient(circle at 67% 24%,#8b6cff30,#0000 31%),radial-gradient(circle at 18% 76%,#7ddbff29,#0000 34%),linear-gradient(135deg,#fbf8ff 0%,#eff8ff 48%,#fff4fb 100%);flex-direction:row;align-items:stretch;min-height:100vh;display:flex;overflow:hidden}body[data-theme=dark] .product-two-rail-layout{background:radial-gradient(circle at 50% 0,#60a5fa2e,#0000 28%),linear-gradient(135deg,#070b1a 0%,#111827 54%,#191326 100%)}.product-preview-layout{background:0 0;min-height:100vh}.product-sider{-webkit-backdrop-filter:blur(34px);backdrop-filter:blur(34px);background:linear-gradient(#ffffffa8,#f2eeff80);border-right:1px solid #ffffffb8;flex:0 0 152px;height:100vh;padding:0;position:sticky;top:0;overflow:hidden;box-shadow:18px 0 60px #806eb414}.product-sider .ant-layout-sider-children{height:100%}.product-main-shell{background:0 0;flex:auto;width:0;min-width:0}.product-content{min-width:0;height:100vh;padding:28px clamp(18px,3vw,36px);overflow:auto}.product-content-home-shell{padding:0;overflow:hidden}.ai-page{min-height:calc(100vh - 56px);color:var(--ui-copy)}.product-content>.ai-page{margin-inline:auto}.product-sider-shell{box-sizing:border-box;gap:18px;width:100%;height:100%;padding:34px 8px 16px}.product-sider-shell>.ant-flex{width:100%;min-width:0}.product-agent-brand{min-height:52px;color:var(--ui-copy);grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:0 12px 16px;display:grid}.product-agent-brand>div:last-child{text-align:left;gap:2px;min-width:0;display:grid}.product-agent-brand .ant-typography{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;line-height:1.15;display:block;overflow:hidden}.product-agent-brand span{color:#17b26a;font-size:.72rem;line-height:1.1}.product-main-nav.ant-menu{border:0;background:0 0;border-inline-end:0;flex-direction:column;gap:10px;width:100%;padding:0;display:flex}.product-main-nav.ant-menu .ant-menu-item{color:#5c5a7c;background:0 0;border-radius:16px;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;width:100%;height:58px;margin:0;padding:8px 12px;transition:background .18s,box-shadow .18s,color .18s,transform .18s;display:flex}.product-main-nav.ant-menu .ant-menu-item .ant-menu-item-icon{flex:0 0 22px;place-items:center;margin-inline-end:0;line-height:1;display:inline-grid}.product-main-nav.ant-menu .ant-menu-title-content{text-align:left;flex:auto;width:auto;min-width:0;margin-inline-start:0;line-height:1;overflow:hidden}.product-main-nav.ant-menu .ant-menu-item:hover{color:#6f5cff;background:#ffffff85}:where(.product-main-nav.ant-menu .ant-menu-item:hover) .ant-menu-item-icon,:where(.product-main-nav.ant-menu .ant-menu-item:hover) .product-nav-label strong,:where(.product-main-nav.ant-menu .ant-menu-item:hover) .product-nav-label small{color:#6f5cff}.product-main-nav.ant-menu .ant-menu-item-selected{color:#fff;background:linear-gradient(135deg,#7563ff,#9b7dff);transform:translateY(-1px);box-shadow:0 16px 34px #765bff47}.product-main-nav.ant-menu .ant-menu-item:after,.product-main-nav.ant-menu .ant-menu-item-selected:after{display:none}.product-nav-label{text-align:left;white-space:nowrap;gap:1px;min-width:0;line-height:1.1;display:grid}.product-nav-label strong,.product-nav-label small,.product-user-card .ant-typography{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.product-nav-label small{color:var(--ui-copy-muted);font-size:.68rem}:where(.product-main-nav.ant-menu .ant-menu-item-selected) .ant-menu-item-icon,:where(.product-main-nav.ant-menu .ant-menu-item-selected) .product-nav-label strong,:where(.product-main-nav.ant-menu .ant-menu-item-selected) .product-nav-label small{color:#ffffffdb}.product-user-card{background:#ffffff8a;border-radius:18px;width:100%;overflow:hidden;box-shadow:inset 0 1px #ffffffa3}.product-user-card-row{min-width:0;height:36px}.product-user-card-copy{flex:auto;justify-content:center;min-width:0;line-height:1}.product-user-card .ant-avatar{aspect-ratio:1;border-radius:999px;flex:0 0 32px;width:32px;min-width:32px;height:32px}.product-user-card-copy .ant-typography:first-child{font-size:.9rem;line-height:1.15}.product-user-logout.ant-btn{color:#6f5cff;background:#ffffff8a;border:1px solid #8b6cff1f;flex:0 0 28px;width:28px;min-width:28px;height:28px}.product-user-logout.ant-btn:hover{color:#fff;background:#7b66ff;border-color:#7b66ff}.product-mobile-nav-trigger{z-index:20;position:fixed;top:18px;left:18px}.glass-card{-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);background:linear-gradient(#ffffffc7,#ffffff6b);border:1px solid #ffffffc2;border-radius:28px;box-shadow:0 24px 70px #5046781a,inset 0 1px #ffffffb8}body[data-theme=dark] .glass-card{background:linear-gradient(#0f172ae0,#0f172aa8);border-color:#94a3b824;box-shadow:0 24px 70px #02061757}.product-kicker{letter-spacing:.12em;text-transform:uppercase;color:#7a6df2;margin-bottom:4px;font-size:.78rem;font-weight:800;display:inline-flex}.home-page{gap:22px;display:grid}.home-hero{grid-template-columns:minmax(240px,280px) minmax(360px,1fr) minmax(230px,300px);gap:20px;min-height:min(680px,100vh - 180px);display:grid;position:relative}.home-status-card,.home-live-card{z-index:2;align-self:start;padding:22px;position:relative}.home-status-card{margin-top:36px}.home-status-card h3,.home-live-card h3,.home-stage-copy h1,.memory-hero h2,.workspace-hero h2,.settings-hero h2{color:var(--ui-copy);margin:0}.home-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.home-metrics .ant-statistic{text-align:center;background:#ffffff94;border-radius:16px;padding:12px}.home-mood-strip,.script-chain,.workspace-footer-strip{color:var(--ui-copy-muted);align-items:center;gap:10px;display:flex}.home-mood-strip{margin-bottom:18px}.home-avatar-stage{border:1px solid #ffffffa3;border-radius:42px;place-items:center;min-height:min(680px,100vh - 180px);display:grid;position:relative;overflow:hidden;box-shadow:0 28px 90px #7b6ab421,inset 0 1px #fffc}.home-avatar-stage:before{z-index:1;content:"";background:linear-gradient(#ffffffd1,#e6ddff80),linear-gradient(90deg,#0000 0 14%,#b09aff26 14% 16%,#0000 16% 100%);border-radius:44px 44px 26px 26px;width:52%;height:22%;position:absolute;bottom:10%;right:8%;box-shadow:0 24px 60px #7862b41f}.home-avatar-stage:after{z-index:0;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%);content:"";background:linear-gradient(90deg,#ffffff75 1px,#0000 1px) 0 0/72px 72px,linear-gradient(#ffffff85,#ded3ff3d);height:26%;position:absolute;bottom:0;left:9%;right:9%}.home-room-backdrop{background:linear-gradient(90deg,#ffffff6b 1px,#0000 1px) 0 0/80px 80px,linear-gradient(#ffffff61 1px,#0000 1px) 0 0/80px 80px,radial-gradient(circle at 50% 2%,#fffffff5,#0000 18%),radial-gradient(circle at 72% 34%,#a47eff33,#0000 24%),radial-gradient(circle at 26% 24%,#74d3ff33,#0000 25%),linear-gradient(#f0f8ffeb,#fff4fcb8 58%,#eae2ff94);position:absolute;inset:0;box-shadow:inset 0 0 100px #ffffffa3}.home-room-backdrop:before{content:"";background:linear-gradient(90deg,#ffffffa3 1px,#0000 1px) 50% 0/33% 100%,linear-gradient(#ffffff94 1px,#0000 1px) 0/100% 50%,radial-gradient(circle at 70% 22%,#ffffffe6,#0000 12%),linear-gradient(#bfe7ff 0%,#eef8ff 48%,#f4ddff 100%);border:1px solid #ffffffb8;border-radius:34px;width:54%;height:40%;position:absolute;top:8%;left:13%;box-shadow:0 24px 70px #749cdc2e,inset 0 0 30px #ffffffa8}.home-room-backdrop:after{color:#8160ff70;content:"AI HOME";letter-spacing:.05em;text-align:center;white-space:normal;background:#ffffff47;border:1px solid #b297ff47;border-radius:999px;place-items:center;width:118px;height:118px;font-size:22px;font-weight:800;line-height:1.05;display:grid;position:absolute;top:18%;right:9%;box-shadow:0 0 34px #8b6cff3d,inset 0 0 30px #ffffffad}.home-stage-copy{z-index:3;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff85;border-radius:24px;max-width:300px;padding:18px;position:absolute;bottom:32px;right:clamp(18px,4vw,54px)}.home-stage-copy h1{letter-spacing:.06em;color:#8b6cff75;font-size:clamp(2.2rem,6vw,4.6rem)}.home-live-card{margin-top:18px}.home-video-preview{aspect-ratio:16/9;color:#fff;text-align:center;background:radial-gradient(circle at 70% 30%,#ffffff3d,#0000 28%),linear-gradient(135deg,#1f2937,#111827);border-radius:20px;place-items:center;gap:8px;min-height:150px;margin:16px 0;display:grid;position:relative;overflow:hidden}.home-video-preview.is-active{box-shadow:0 18px 42px #0f172a24,inset 0 0 0 1px #ffffff29}.home-video-mount,.home-video-placeholder{position:absolute;inset:0}.home-video-mount{z-index:1;background:0 0}.home-video-mount.is-hidden{display:none}.home-video-mount video,.home-video-mount canvas,.home-video-mount img{object-fit:cover;width:100%;height:100%}.home-video-placeholder{z-index:0;place-items:center;gap:8px;padding:18px;display:grid}.home-video-placeholder span{max-width:220px}.home-command-bar{z-index:8;border-radius:34px;gap:14px;width:min(760px,100%);margin-inline:auto;padding:18px;display:grid;position:sticky;bottom:18px}.home-input-row .ant-input{border-radius:18px}.home-capability-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.capability-card{cursor:pointer;transition:transform .18s,box-shadow .18s}.capability-card:hover{transform:translateY(-3px);box-shadow:0 28px 80px #50467829}.capability-icon,.mission-icon,.memory-category-icon{color:#705cff;background:#8b6cff1f;border-radius:16px;place-items:center;width:42px;height:42px;display:inline-grid}.home-memory-panel{gap:14px;padding:22px;display:grid}.companion-avatar{--avatar-accent:#8b6cff;place-items:center;width:180px;height:180px;display:grid;position:relative}.companion-avatar-small{width:96px;height:96px}.companion-avatar-large{width:min(44vw,500px);min-width:320px;height:min(58vh,620px);min-height:420px}.home-avatar-stage>.companion-avatar{z-index:2}.companion-avatar-glow{background:radial-gradient(circle, color-mix(in srgb, var(--avatar-accent) 32%, transparent), transparent 70%);filter:blur(6px);border-radius:999px;animation:2.6s ease-in-out infinite avatar-glow;position:absolute;inset:8%}.companion-avatar-card{background:linear-gradient(#ffffffeb,#f5eeffb8);border-radius:42% 42% 48% 48%;place-items:center;width:78%;height:78%;animation:3.4s ease-in-out infinite avatar-idle;display:grid;position:relative;overflow:hidden;box-shadow:0 28px 72px #6050a038,inset 0 0 0 1px #ffffffd1}.companion-avatar-card.is-live2d{isolation:isolate;background:radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--avatar-accent) 13%, transparent), transparent 58%), linear-gradient(180deg, #ffffff42, #ffffff0f);border-radius:30px;width:92%;height:92%;overflow:visible;box-shadow:0 18px 58px #7358b91a,inset 0 0 0 1px #fff3}.companion-avatar-card.is-live2d:before{z-index:0;border-radius:inherit;content:"";background:linear-gradient(#ffffff1a,#f5f1ff2e),url(/images/background-light.png) 50%/cover no-repeat;position:absolute;inset:0;box-shadow:inset 0 0 80px #ffffff61}.companion-avatar-large .companion-avatar-card.is-live2d{width:120%;height:112%;box-shadow:none;border-radius:36px}.companion-live2d-wrap{z-index:1;pointer-events:none;place-items:center;transition:opacity .2s;display:grid;position:absolute;inset:-18% -16% -12%}.companion-avatar-large .companion-live2d-wrap{inset:-16% -18% -8%}.companion-avatar-small .companion-live2d-wrap{inset:-22% -20% -14%}.companion-live2d-canvas{width:100%;height:100%;display:block}.companion-live2d-wrap.is-loading .companion-live2d-canvas,.companion-live2d-wrap.is-error .companion-live2d-canvas{opacity:0}.companion-live2d-loading{color:color-mix(in srgb, var(--avatar-accent) 72%, #2b255c);letter-spacing:.02em;background:#ffffffb8;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:800;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 30px #6952a81f}.companion-avatar-image{object-fit:cover;width:100%;height:100%}.companion-avatar-illustration{width:100%;height:100%;position:relative}.companion-live2d-wrap.is-error .companion-avatar-illustration{position:absolute;inset:16%}.companion-avatar-hair{background:linear-gradient(160deg, #f4edff 0%, #c9c1ff 45%, var(--avatar-accent) 100%);border-radius:48% 48% 40% 40%;width:68%;height:74%;position:absolute;top:8%;left:16%}.companion-avatar-neck{background:#ffd9d5;border-radius:12px;width:14%;height:16%;position:absolute;top:58%;left:43%}.companion-avatar-face{background:linear-gradient(#fff4ef,#ffd8d3);border-radius:46% 46% 48% 48%;width:50%;height:48%;position:absolute;top:20%;left:25%;box-shadow:inset 0 -10px 18px #ff9bb429}.companion-avatar-bang{background:#e7ddff;border-radius:0 0 70% 70%;width:34%;height:34%;position:absolute;top:-4%}.companion-avatar-bang-left{left:8%;transform:rotate(18deg)}.companion-avatar-bang-right{right:8%;transform:rotate(-18deg)}.companion-avatar-eye{background:#6046d8;border-radius:999px;width:10%;height:14%;position:absolute;top:44%;box-shadow:0 0 0 3px #8b6cff1f}.companion-avatar-eye-left{left:29%}.companion-avatar-eye-right{right:29%}.companion-avatar-mouth{background:#c45d78;border-radius:999px;width:14%;height:6%;position:absolute;bottom:22%;left:43%}.companion-avatar-listening .companion-avatar-card{animation:1.4s ease-in-out infinite avatar-listening}.companion-avatar-speaking .companion-avatar-mouth{animation:.42s ease-in-out infinite avatar-mouth}.companion-avatar-thinking .companion-avatar-card{animation:2.2s ease-in-out infinite avatar-thinking}.companion-avatar-reacting .companion-avatar-card{animation:.72s ease-in-out infinite avatar-reacting}.companion-avatar-body{background:linear-gradient(135deg, #fff, color-mix(in srgb, var(--avatar-accent) 34%, #fff));border-radius:48% 48% 20% 20%;width:52%;height:36%;position:absolute;bottom:-10%;left:24%}.companion-avatar-state{z-index:3;color:#fff;background:#2219509e;border-radius:999px;padding:3px 9px;font-size:.72rem;font-weight:700;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.companion-avatar-large .companion-avatar-state{bottom:14%}.companion-avatar.has-live2d .companion-avatar-state{background:#694ad7ad;box-shadow:0 10px 24px #694ad729}.companion-avatar-reaction{z-index:4;background:#ffffffeb;border-radius:18px 18px 18px 6px;max-width:150px;padding:8px 12px;font-size:.82rem;font-weight:700;animation:.28s ease-out reaction-pop;position:absolute;top:6%;right:-8%;box-shadow:0 16px 38px #5046782e}@keyframes avatar-idle{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-6px)scale(1.015)}}@keyframes avatar-listening{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}@keyframes avatar-thinking{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-8px)rotate(-2deg)}}@keyframes avatar-reacting{0%,to{transform:scale(1)}45%{transform:scale(1.08)rotate(2deg)}}@keyframes avatar-mouth{0%,to{height:5%}50%{height:13%}}@keyframes avatar-glow{0%,to{opacity:.72;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}@keyframes reaction-pop{0%{opacity:0;transform:translateY(8px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}.companion-rail{box-sizing:border-box;flex:none;height:100vh;padding:0;position:sticky;top:0;overflow:hidden}.companion-rail.collapsed{background:#f8faffdb;border-left:1px solid #8b6cff1a;align-content:start;justify-items:center;gap:18px;width:44px;padding:38px 4px 0;display:grid}.companion-rail-panel{-webkit-backdrop-filter:blur(34px);backdrop-filter:blur(34px);background:linear-gradient(#ffffffc7,#ffffff70);border:0;border-left:1px solid #ffffffc7;border-radius:0;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;gap:14px;height:100%;min-height:0;padding:16px;display:grid;overflow:hidden;box-shadow:0 28px 86px #5d469624,inset 0 1px #ffffffbd}.companion-rail-title{letter-spacing:.15em;font-size:1.05rem}.companion-rail-header h4,.companion-rail-status p,.companion-history p{margin:0}.companion-avatar-zone{background:radial-gradient(circle at 50% 16%,#ffffffe0,#0000 30%),linear-gradient(#ebf5ff75,#faf0ff3d);border-radius:24px;padding:8px 0 10px;position:relative}.companion-status-line,.companion-shortcuts,.companion-error{text-align:center;font-size:.78rem;display:block}.companion-rail-status,.companion-remote-preview,.companion-command-strip,.companion-history,.companion-context-summary{background:#ffffff75;border:1px solid #ffffffa8;border-radius:22px;padding:12px;box-shadow:inset 0 1px #ffffff94}.companion-rail-status{align-content:center;gap:8px;min-height:64px;display:grid}.companion-remote-preview{gap:8px;display:grid}.companion-remote-selector{width:128px;min-width:0}.companion-remote-status{text-overflow:ellipsis;white-space:nowrap;max-width:120px;font-size:12px;overflow:hidden}.companion-remote-stage{aspect-ratio:16/9;background:var(--product-video-bg);border:1px solid var(--product-video-border);border-radius:14px;min-height:120px;position:relative;overflow:hidden}.companion-remote-grid{width:100%;height:100%;min-height:0;display:grid}.companion-remote-empty{text-align:center;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:0}.companion-rail-input{background:#ffffff85;border-radius:24px;flex-direction:column;gap:6px;padding:12px;display:flex;box-shadow:0 18px 40px #705cb414,inset 0 0 0 1px #ffffff9e}.companion-rail-input .ant-input{min-height:92px;box-shadow:none;resize:none;background:#ffffff57;border-color:#0000;padding:8px 10px;font-size:.94rem;line-height:1.6}.companion-rail-input .ant-input:focus{box-shadow:none;border-color:#0000}.companion-input-toolbar{align-items:center;gap:6px;min-width:0;padding-top:2px;display:flex}.companion-input-toolbar .ant-btn{flex:0 0 30px;width:30px;min-width:30px;height:30px;padding:0}.companion-input-spacer{flex:auto;min-width:12px}.companion-history{scrollbar-width:thin;scrollbar-color:#8b6cff38 transparent;min-height:0;overflow:auto}.companion-history::-webkit-scrollbar{width:6px}.companion-history::-webkit-scrollbar-thumb{background:#8b6cff38;border-radius:999px}.companion-history::-webkit-scrollbar-track{background:0 0}.companion-rail-panel.mode-full{grid-template-rows:auto minmax(64px,auto) auto minmax(0,1fr) auto auto;gap:8px;padding:14px}.companion-rail-panel.mode-full .companion-avatar-zone{gap:6px;padding:0}.companion-rail-panel.mode-full .companion-rail-status,.companion-rail-panel.mode-full .companion-remote-preview,.companion-rail-panel.mode-full .companion-command-strip,.companion-rail-panel.mode-full .companion-history{padding:10px}.companion-command-strip{margin-bottom:-2px;overflow:hidden}.companion-command-strip .ant-flex{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.companion-command-strip .ant-flex::-webkit-scrollbar{display:none}.companion-command-strip .ant-btn{flex:none}.companion-history-loading{padding:20px}.companion-session-list{gap:8px;margin-top:10px;display:grid}.companion-session-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:#ffffff8f;border:0;border-radius:14px;justify-content:space-between;gap:10px;padding:10px;display:flex}.companion-session-item span{gap:4px;min-width:0;display:grid}.companion-session-item strong,.companion-session-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.companion-session-item.is-active{color:#5d45d6;background:linear-gradient(135deg,#8b6cff2e,#72caff24)}.companion-chat-header{background:#ffffff80;border:1px solid #ffffffa8;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.companion-chat-header>div{gap:2px;min-width:0;display:grid}.companion-history-page,.companion-chat-page{align-content:start}.companion-message-stack{gap:8px;margin-top:12px;display:grid}.companion-message-bubble{background:#ffffffc7;border-radius:18px 18px 18px 6px;max-width:84%;padding:9px 11px;font-size:.84rem;line-height:1.5;box-shadow:0 12px 28px #6856a014}.companion-message-bubble.role-user{color:#fff;background:linear-gradient(135deg,#b7d4ff,#8b6cff);border-radius:18px 18px 6px;justify-self:end}.companion-markdown p,.companion-markdown ul,.companion-markdown ol,.companion-markdown pre{margin:0 0 8px}.companion-markdown p:last-child,.companion-markdown ul:last-child,.companion-markdown ol:last-child,.companion-markdown pre:last-child{margin-bottom:0}.companion-markdown code{white-space:pre-wrap;word-break:break-word}.companion-attachment-list,.companion-message-attachments{flex-wrap:wrap;gap:6px;display:flex}.companion-attachment-chip{background:#ffffff94;border-radius:10px;align-items:center;gap:5px;max-width:100%;padding:4px 7px;font-size:.74rem;display:inline-flex}.companion-attachment-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.companion-attachment-chip button{width:16px;height:16px;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.companion-context-summary{margin-top:12px}.companion-rail-footer{gap:8px;padding-top:2px;display:grid}.companion-media-controls{background:#ffffff85;border-radius:999px;justify-content:space-between;padding:8px;display:flex;box-shadow:inset 0 0 0 1px #ffffff94}.companion-media-controls .ant-btn{flex:0 0 40px;width:40px;height:40px}.companion-shortcuts{color:#0f172a7a;line-height:1.45}.companion-error{max-height:42px;line-height:1.35;overflow:auto}.companion-mobile-trigger{z-index:50;width:56px;height:56px;position:fixed;bottom:20px;right:20px}.companion-mobile-drawer .ant-drawer-body{background:linear-gradient(135deg,#f7f3ff,#eef8ff);padding:0}.companion-mobile-drawer .companion-rail-panel{border:0;border-radius:0;height:calc(100vh - 56px)}.memory-page,.workspace-page,.settings-page{gap:20px;display:grid}.memory-hero,.workspace-hero,.settings-hero{justify-content:space-between;align-items:center;gap:18px;padding:24px;display:flex}.memory-hero p,.workspace-hero p,.settings-hero p{max-width:760px;color:var(--ui-copy-muted);margin:8px 0 0}.memory-category-row{display:flex}.memory-layout{grid-template-columns:minmax(220px,280px) minmax(280px,360px) minmax(360px,1fr);align-items:start;gap:18px;display:grid}.memory-category-card,.memory-session-card,.memory-chat-card{min-height:560px}.memory-category-card,.memory-session-card{gap:14px;display:grid}.memory-category-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:#ffffff6b;border:0;border-radius:18px;align-items:center;gap:12px;padding:14px;display:flex}.memory-category-item.is-active{background:#8b6cff24}.memory-category-item span:last-child{gap:2px;display:grid}.memory-category-item small{color:var(--ui-copy-muted)}.memory-loading{padding:28px}.memory-session-item{cursor:pointer;border-radius:18px;padding:12px}.memory-session-item.is-active{background:#8b6cff1f}.memory-chat-scroll{background:#ffffff61;border-radius:24px;align-content:start;gap:12px;height:370px;margin:18px 0;padding:18px;display:grid;overflow:auto}.wechat-bubble-row{align-items:flex-start;gap:10px;display:flex}.wechat-bubble-row.role-user{flex-direction:row-reverse}.wechat-avatar{color:#fff;background:linear-gradient(135deg,#8b6cff,#f0a8bd);border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:.8rem;font-weight:800;display:grid}.wechat-bubble{background:#fff;border-radius:18px 18px 18px 6px;max-width:min(76%,560px);padding:10px 13px;box-shadow:0 10px 24px #50467814}.wechat-bubble-row.role-user .wechat-bubble{color:#fff;background:#8b6cff;border-radius:18px 18px 6px}.wechat-bubble p{margin:0;line-height:1.6}.wechat-bubble small{opacity:.62;margin-top:4px;display:block}.memory-context-card{background:#8b6cff14;border-radius:18px;padding:14px}.workspace-grid{grid-template-columns:minmax(240px,300px) minmax(420px,1fr) minmax(260px,340px);align-items:start;gap:18px;display:grid}.mission-list-card,.mission-stage-card,.mission-detail-card{min-height:560px}.mission-list{gap:10px;margin:14px 0;display:grid}.mission-list-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.mission-list-item.is-active{background:#8b6cff1f}.mission-list-main{min-width:0}.mission-list-main span{gap:4px;min-width:0;display:grid}.mission-list-main strong,.mission-list-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mission-list-main small{color:var(--ui-copy-muted);line-height:1.45}.remote-screen-card{background:#111827;border-radius:24px;margin:18px 0;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.remote-screen-topbar{color:#ffffffd1;background:#00000047;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.remote-screen-body{padding:12px}.remote-screen-map{background:linear-gradient(90deg,#ffffff14 1px,#0000 1px) 0 0/34px 34px,linear-gradient(#ffffff14 1px,#0000 1px) 0 0/34px 34px,radial-gradient(circle at 30% 35%,#22c55e4d,#0000 18%),radial-gradient(circle at 72% 60%,#f8717147,#0000 16%),linear-gradient(135deg,#253116,#3f2f17 55%,#172554);border-radius:18px;min-height:300px;position:relative;overflow:hidden}.yolo-box{color:#dcfce7;background:#16653457;border:2px solid #22c55e;border-radius:8px;padding:4px 8px;font-size:.72rem;position:absolute}.box-a{width:128px;height:72px;top:22%;left:18%}.box-b{color:#dbeafe;border-color:#60a5fa;width:96px;height:64px;top:42%;right:20%}.box-c{color:#fef9c3;border-color:#facc15;width:116px;height:58px;bottom:18%;left:38%}.mission-progress{flex:280px;min-width:220px}.mission-info-list{grid-template-columns:auto 1fr;gap:10px 16px;margin-bottom:18px;display:grid}.mission-info-list span{color:var(--ui-copy-muted)}.script-chain{background:#0f172a0f;border-radius:16px;align-items:start;margin-bottom:18px;padding:12px}.workspace-footer-strip{justify-content:space-between;padding:18px}.settings-grid{grid-template-columns:minmax(240px,300px) repeat(2,minmax(280px,1fr));align-items:start;gap:18px;display:grid}.agent-preview-card{position:sticky;top:18px}.settings-card{min-height:360px}.rtc-settings-card{grid-column:span 2}.settings-upload-box{color:#705cff;cursor:pointer;background:#8b6cff14;border:1px dashed #8b6cff57;border-radius:22px;place-items:center;gap:8px;min-height:112px;display:grid;position:relative}.settings-upload-box input{opacity:0;cursor:pointer;position:absolute;inset:0}@media (width<=1280px){.home-hero,.memory-layout,.workspace-grid,.settings-grid{grid-template-columns:1fr}.home-status-card,.home-live-card,.agent-preview-card{margin-top:0;position:static}.home-avatar-stage{min-height:460px}.rtc-settings-card{grid-column:auto}}@media (width<=991px){.product-two-rail-layout{display:block;overflow:auto}.product-content{height:auto;min-height:100vh;padding:72px 16px 24px}.home-capability-grid{grid-template-columns:1fr}.memory-hero,.workspace-hero,.settings-hero{flex-direction:column;align-items:flex-start}}@media (prefers-reduced-motion:reduce){.companion-avatar .companion-avatar-card,.companion-avatar .companion-avatar-glow,.companion-avatar .companion-avatar-reaction,.companion-avatar-speaking .companion-avatar-mouth{animation:none}}.product-user-card .ant-card-body{padding:8px}.product-user-meta{color:var(--product-sider-text);margin:0}.product-header{z-index:10;border-bottom:1px solid var(--product-header-border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;align-items:center;gap:16px;height:auto;padding:20px 24px;line-height:normal;display:flex;position:sticky;top:0}.product-header-immersive{background:linear-gradient(#07101cd6,#07101c3d);border-bottom-color:#7eb0be24;padding-top:18px;padding-bottom:18px}.product-main-shell-home{background:0 0}.product-page-description{color:var(--product-page-muted);margin:4px 0 0}.product-page-description-immersive{max-width:720px}.product-header-actions{justify-content:flex-end}.product-content{padding:24px}.product-content-home{padding-top:20px;padding-bottom:112px}.product-stack{gap:24px;display:grid}.product-card-muted .ant-card-body{background:var(--product-card-bg)}.product-stage-card{overflow:hidden}.product-home-shell{gap:24px;display:grid}.product-home-stage-card{border-radius:28px;overflow:hidden}.product-home-stage-card>.ant-card-body{padding:24px}.product-home-stage-description{max-width:700px;color:var(--product-page-muted);margin:0}.product-home-stage-surface{background:radial-gradient(circle at 12% 14%,#60a5fa2e,#0000 24%),radial-gradient(circle at 84% 22%,#94a3b824,#0000 22%),linear-gradient(#0f172afa,#020617eb);border:1px solid #96b1be24;border-radius:28px;min-height:560px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0a,0 28px 64px #07101c47}.product-home-stage-canvas{position:absolute;inset:0}.product-home-stage-canvas canvas{width:100%;height:100%;display:block}.product-home-stage-watermark{z-index:2;text-transform:uppercase;letter-spacing:.08em;color:#ecf7f5a8;justify-content:space-between;font-size:12px;display:flex;position:absolute;bottom:18px;left:20px;right:20px}.product-home-stage-panel{z-index:3;grid-template-columns:minmax(0,1fr) 220px;align-items:end;gap:18px;height:100%;padding:24px;display:grid;position:relative}.product-home-stage-status,.product-home-stage-side,.product-home-summary-card .ant-card-body,.product-home-inline-card .ant-card-body,.product-home-principles .ant-card-body{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.product-home-stage-status{color:#ecf7f5;background:linear-gradient(#09121cb8,#09121c80);border-radius:22px;max-width:620px;padding:20px 22px;box-shadow:inset 0 0 0 1px #ffffff0d}.product-home-stage-status .ant-typography,.product-home-stage-status p{color:inherit}.product-home-stage-eyebrow{letter-spacing:.12em;text-transform:uppercase;color:#ecf7f5a8;margin-bottom:12px;font-size:11px;display:inline-flex}.product-home-stage-tags{row-gap:8px}.product-home-stage-side{background:#09121c85;border-radius:20px;gap:12px;padding:14px;display:grid;box-shadow:inset 0 0 0 1px #ffffff0a}.product-home-stage-stat{background:#ffffff0a;border-radius:16px;gap:6px;padding:14px;display:grid}.product-home-stage-stat span{color:#ecf7f5ad;font-size:12px}.product-home-stage-stat strong{color:#f8fcfb;font-size:15px}.product-home-inline-card .ant-card-body{background:linear-gradient(180deg, #ffffff1f, #ffffff0a), var(--product-card-bg);border-radius:20px}.product-home-summary-card{border-radius:24px}.product-home-summary-card .ant-card-body{background:linear-gradient(180deg, #ffffff1a, #ffffff08), var(--product-card-bg);border-radius:24px}.product-home-pill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.product-home-pill{background:#1223340f;border-radius:18px;gap:6px;padding:14px;display:grid}.product-home-pill span{color:var(--product-page-muted);font-size:12px}.product-home-pill strong{font-size:15px}.product-home-note{color:var(--product-page-muted);background:#1223340f;border-radius:16px;padding:12px 14px}.product-home-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.product-home-action-grid .ant-btn{border-radius:14px;height:46px}.product-home-custom-summary{gap:14px;display:grid}.product-home-custom-summary .ant-typography{margin-bottom:0}.product-home-customizer-drawer .ant-drawer-body{background:var(--product-page-bg)}.product-home-customizer{gap:16px;display:grid}.product-home-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.product-home-field{gap:8px;display:grid}.product-home-field-wide{grid-column:1/-1}.product-home-principles,.product-home-principles .ant-card-body{border-radius:22px}.product-stage-visual{background:var(--product-vision-bg);color:#fff8ef;text-align:center;border-radius:18px;min-height:220px;padding:24px}.product-companion-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8)}.product-companion-dock{z-index:25;width:min(360px,100vw - 32px);box-shadow:var(--ant-box-shadow-secondary);border-radius:20px;position:fixed;bottom:24px;right:24px}.product-companion-dock .ant-card-body{background:var(--product-card-bg);border-radius:20px}.product-companion-dock.is-collapsed{width:auto;min-width:132px}.product-session-drawer .ant-drawer-body,.product-inspector-drawer .ant-drawer-body{background:var(--product-page-bg)}.product-card-tight .ant-card-body{padding-top:18px;padding-bottom:18px}.product-hero-card{overflow:hidden}.product-hero-card .ant-card-body{position:relative}.product-hero-card .ant-card-body:after{content:"";background:var(--product-card-orb);pointer-events:none;border-radius:999px;width:220px;height:220px;position:absolute;inset:auto -60px -70px auto}.product-section-title{margin-bottom:0}.product-section-subtitle{color:var(--product-page-muted);margin:0}.product-code-block{background:var(--product-code-bg);color:var(--product-code-text);border-radius:14px;margin:0;padding:16px;font-family:Cascadia Code,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:1.6;overflow:auto}.product-json-collapse .ant-collapse-content-box{padding-top:0}.product-video-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.product-video-panel{gap:12px;display:grid}.product-video-stage,.product-remote-stage{background:var(--product-video-bg);border:1px solid var(--product-video-border);border-radius:18px;min-height:260px;padding:14px}.product-video-mount,.product-remote-mount{background:var(--product-video-surface);border-radius:14px;min-height:232px;overflow:hidden}.product-video-mount video,.product-video-mount canvas,.product-remote-mount video,.product-remote-mount canvas,.product-remote-mount img,.product-video-mount img{object-fit:cover;width:100%;height:100%}.product-video-hidden{display:none}.product-remote-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.product-remote-card{background:#ffffff0d;border-radius:14px;gap:8px;padding:12px;display:grid}.product-remote-caption{color:#ffffffc2;font-size:12px}.companion-remote-grid .product-remote-card{background:0 0;border:0;border-radius:0;gap:0;min-width:0;height:100%;padding:0}.companion-remote-grid .product-remote-caption{z-index:1;text-overflow:ellipsis;white-space:nowrap;background:#0d1018a3;border-radius:999px;max-width:calc(100% - 16px);margin:8px;padding:2px 6px;position:absolute;overflow:hidden}.companion-remote-grid .product-remote-mount{border-radius:0;width:100%;height:100%;min-height:0}.companion-remote-grid .companion-remote-active-mount{min-height:120px}.product-video-empty{color:#ffffffad;border:1px dashed #ffffff2e;border-radius:14px;justify-content:center;align-items:center;min-height:232px;display:flex}.product-camera-stage{background:var(--product-camera-bg);border-radius:18px;justify-content:center;align-items:center;width:100%;min-height:320px;display:flex;overflow:hidden}.product-camera-stage video,.product-camera-stage img{object-fit:cover;width:100%;max-height:420px}.product-camera-placeholder{text-align:center;color:#ffffffdb;gap:10px;padding:32px;display:grid}.product-log-list .ant-list-item{padding-inline:0}.product-log-text{white-space:pre-wrap;word-break:break-word;font-family:Cascadia Code,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px}.product-inline-metric{height:100%}.product-tag-row{flex-wrap:wrap;gap:8px;display:flex}.product-auth-shell{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.product-auth-layout{flex-direction:column;gap:20px;width:min(420px,100%);margin-top:0;display:flex}.product-auth-shell-compact{padding-top:24px;padding-bottom:24px}.product-auth-brand-panel{text-align:center}.product-auth-title{margin:0}.product-auth-subtitle,.product-auth-helper{text-align:center}.product-auth-card-compact{border-radius:16px;width:100%}.product-auth-card-compact .ant-card-body{background:color-mix(in srgb, var(--ant-color-bg-container) 90%, white 10%);padding:20px}body[data-theme=dark] .product-auth-card-compact .ant-card-body{background:color-mix(in srgb, var(--ant-color-bg-container) 92%, black 8%)}.product-auth-card{width:100%}.product-auth-stat{background:var(--product-auth-stat-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--product-auth-stat-border);border-radius:20px;padding:18px 20px}.product-auth-stat p{color:var(--product-page-muted);margin:4px 0 0}.product-auth-preview{border:1px solid var(--product-auth-preview-border);border-radius:18px;flex-shrink:0;width:132px;height:132px;overflow:hidden}.product-auth-preview img{object-fit:cover;width:100%;height:100%}.product-auth-preview-card .ant-card-body{padding:12px}.product-auth-submit.ant-btn.ant-btn-primary{color:#f8fafc;box-shadow:none;background:#161b22;border-color:#161b22}.product-auth-submit.ant-btn.ant-btn-primary:hover,.product-auth-submit.ant-btn.ant-btn-primary:focus-visible{color:#f8fafc;background:#0f141a;border-color:#0f141a}.product-auth-submit.ant-btn.ant-btn-primary:disabled,.product-auth-submit.ant-btn.ant-btn-primary:disabled:hover,.product-auth-submit.ant-btn.ant-btn-primary:disabled:focus-visible{color:#475569;box-shadow:none;background:#cbd5e1;border-color:#cbd5e1}body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary{color:#111827;background:#f3f4f6;border-color:#f3f4f6}body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary:hover,body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary:focus-visible{color:#111827;background:#fff;border-color:#fff}body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary:disabled,body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary:disabled:hover,body[data-theme=dark] .product-auth-submit.ant-btn.ant-btn-primary:disabled:focus-visible{color:#cbd5e1;box-shadow:none;background:#334155;border-color:#334155}.product-descriptions .ant-descriptions-item-label{color:var(--product-page-muted)}.product-empty-card{border:1px dashed var(--product-empty-border)}.product-vision-placeholder{background:var(--product-vision-bg);color:#fff8ef;text-align:center;border-radius:18px;justify-content:center;align-items:center;min-height:220px;padding:24px;display:flex}.product-mobile-drawer .ant-drawer-header{display:none}@media (width<=992px){.product-header{flex-direction:column;align-items:flex-start;padding:16px}.product-content{padding:16px}.product-content-home{padding-bottom:88px}.product-home-stage-card>.ant-card-body{padding:16px}.product-home-stage-surface{min-height:500px}.product-home-stage-panel{grid-template-columns:1fr;align-items:end}.product-home-pill-grid,.product-home-action-grid,.product-home-form-grid{grid-template-columns:1fr}.product-companion-dock{width:auto;bottom:16px;left:16px;right:16px}.product-auth-topbar{padding-inline:4px}.product-auth-layout{margin-top:0}.product-auth-preview{width:96px;height:96px}}.memory-hub-friendly-empty{background:var(--ui-surface-muted,#f8fafcd1);border:1px dashed var(--ui-border-strong,#64748b47);border-radius:12px;align-items:center;gap:16px;padding:24px;display:flex}.memory-hub-empty-icon{width:64px;height:64px;color:var(--ui-accent,#2563eb);background:linear-gradient(135deg,#60a5fa1f,#60a5fa0a);border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;display:flex}body[data-theme=dark] .memory-hub-empty-icon{color:var(--ui-accent,#60a5fa);background:linear-gradient(135deg,#60a5fa29,#60a5fa0f)}.memory-hub-empty-content{flex:1;min-width:0}.memory-hub-empty-title{color:var(--ui-copy,#0f172a);margin:0 0 6px;font-size:15px;font-weight:600}body[data-theme=dark] .memory-hub-empty-title{color:var(--ui-copy,#e2e8f0)}.memory-hub-empty-desc{color:var(--ui-copy-muted,#64748b);margin:0 0 12px;font-size:13px;line-height:1.6}body[data-theme=dark] .memory-hub-empty-desc{color:var(--ui-copy-muted,#94a3b8)}.memory-hub-collapsible-card{transition:all .2s}.memory-hub-collapsible-card.collapsed{background:var(--ui-surface-muted,#f8fafcd1)}.memory-hub-card-header{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;transition:background .2s;display:flex}.memory-hub-card-header:hover{background:#60a5fa0a}body[data-theme=dark] .memory-hub-card-header:hover{background:#60a5fa14}.memory-hub-card-content{padding:16px;padding-top:0;animation:.2s slideDown}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.memory-hub-help-icon{color:var(--ui-copy-muted,#64748b);cursor:help;transition:color .2s}.memory-hub-help-icon:hover{color:var(--ui-accent,#2563eb)}body[data-theme=dark] .memory-hub-help-icon{color:var(--ui-copy-muted,#94a3b8)}body[data-theme=dark] .memory-hub-help-icon:hover{color:var(--ui-accent,#60a5fa)}.memory-hub-message-card{background:var(--ui-surface-muted,#f8fafcd1);border-radius:10px;margin-bottom:10px;padding:14px 16px;transition:all .2s}.memory-hub-message-card:hover{box-shadow:0 2px 8px #0f172a0f}body[data-theme=dark] .memory-hub-message-card:hover{box-shadow:0 2px 8px #00000029}.memory-hub-message-card.assistant{border-left:3px solid var(--ui-accent,#2563eb);background:linear-gradient(135deg,#60a5fa14,#60a5fa05)}body[data-theme=dark] .memory-hub-message-card.assistant{border-left-color:var(--ui-accent,#60a5fa);background:linear-gradient(135deg,#60a5fa1f,#60a5fa0a)}.memory-hub-list-card{background:var(--ui-surface-muted,#f8fafcd1);border:1px solid var(--ui-border-soft,#94a3b82e);border-radius:10px;margin-bottom:10px;padding:14px 16px;transition:all .2s}.memory-hub-list-card:hover{border-color:var(--ui-accent,#2563eb);box-shadow:0 2px 12px #60a5fa1f}body[data-theme=dark] .memory-hub-list-card:hover{border-color:var(--ui-accent,#60a5fa);box-shadow:0 2px 12px #60a5fa29}.memory-hub-list-card.warning{background:linear-gradient(135deg,#f59e0b0f,#f59e0b03);border-left:3px solid #f59e0b}.memory-hub-meta-tags{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.memory-hub-stat-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.memory-hub-stat-grid.compact{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.memory-hub-stat-card{background:var(--ui-surface,#fffffff0);border:1px solid var(--ui-border-soft,#94a3b82e);text-align:center;border-radius:10px;padding:12px 14px}.memory-hub-stat-card strong{color:var(--ui-accent,#2563eb);margin-top:6px;font-size:20px;display:block}body[data-theme=dark] .memory-hub-stat-card strong{color:var(--ui-accent,#60a5fa)}.memory-hub-tab-label{align-items:center;gap:6px;display:flex}.memory-hub-evidence-button{background:var(--ui-surface-muted,#f8fafcd1);border:1px solid var(--ui-border-soft,#94a3b82e);cursor:pointer;text-align:left;border-radius:10px;width:100%;margin-bottom:8px;padding:12px 14px;transition:all .2s}.memory-hub-evidence-button:hover{border-color:var(--ui-accent,#2563eb);background:var(--ui-surface,#fffffff0)}.memory-hub-evidence-button.active{border-color:var(--ui-accent,#2563eb);background:linear-gradient(135deg,#60a5fa1f,#60a5fa0a);box-shadow:0 2px 12px #60a5fa29}body[data-theme=dark] .memory-hub-evidence-button.active{background:linear-gradient(135deg,#60a5fa29,#60a5fa0f)}.memory-hub-session-item{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;width:100%;margin-bottom:8px;padding:12px 14px;transition:all .2s}.memory-hub-session-item:hover{background:var(--ui-surface-muted,#f8fafcd1);border-color:var(--ui-border-soft,#94a3b82e)}.memory-hub-session-item.active{border-color:var(--ui-accent,#2563eb);background:linear-gradient(135deg,#60a5fa1f,#60a5fa0a)}body[data-theme=dark] .memory-hub-session-item.active{background:linear-gradient(135deg,#60a5fa29,#60a5fa0f)}@media (width<=768px){.memory-hub-friendly-empty{text-align:center;flex-direction:column}.memory-hub-stat-grid{grid-template-columns:repeat(2,1fr)}}.memory-hub-section-card,.memory-hub-collapsible-card{transition:all .2s}.memory-hub-loading{justify-content:center;align-items:center;padding:32px;display:flex}.memory-hub-list{max-height:480px;padding-right:4px;overflow-y:auto}.memory-hub-list::-webkit-scrollbar{width:6px}.memory-hub-list::-webkit-scrollbar-track{background:0 0}.memory-hub-list::-webkit-scrollbar-thumb{background:var(--ui-border-strong,#64748b47);border-radius:3px}.memory-hub-list::-webkit-scrollbar-thumb:hover{background:var(--ui-accent,#2563eb)}.product-tooltip .ant-tooltip-inner{background:var(--ui-surface,#fffffff5);color:var(--ui-copy,#0f172a);border:1px solid var(--ui-border-soft,#94a3b82e);box-shadow:0 12px 32px var(--ui-shadow-soft,#0f172a14);border-radius:12px;max-width:260px;padding:10px 14px;font-size:.82rem;line-height:1.5}.product-tooltip .ant-tooltip-arrow:before,.product-tooltip .ant-tooltip-arrow:after{background:var(--ui-surface,#fffffff5)}body[data-theme=dark] .product-tooltip .ant-tooltip-inner{background:var(--ui-surface,#0f172af5);color:var(--ui-copy,#e2e8f0);border-color:var(--ui-border-soft,#64748b33)}body[data-theme=dark] .product-tooltip .ant-tooltip-arrow:before,body[data-theme=dark] .product-tooltip .ant-tooltip-arrow:after{background:var(--ui-surface,#0f172af5)}.product-settings-field-label{color:var(--ui-copy,#0f172a);margin-bottom:6px;font-size:.88rem;font-weight:500;display:block}.product-settings-section .ant-input,.product-settings-section .ant-input-affix-wrapper,.product-settings-section .ant-select-selector{border-color:var(--ui-border-soft,#94a3b82e);background:var(--ui-surface,#fffffff0);border-radius:10px;transition:border-color .2s,box-shadow .2s}.product-settings-section .ant-input:focus,.product-settings-section .ant-input-affix-wrapper-focused,.product-settings-section .ant-select-focused .ant-select-selector{border-color:var(--ui-accent,#2563eb);box-shadow:0 0 0 3px #2563eb1f}body[data-theme=dark] .product-settings-section .ant-input,body[data-theme=dark] .product-settings-section .ant-input-affix-wrapper,body[data-theme=dark] .product-settings-section .ant-select-selector{background:var(--ui-surface,#0f172aeb);border-color:var(--ui-border-soft,#64748b33)}body[data-theme=dark] .product-settings-section .ant-input:focus,body[data-theme=dark] .product-settings-section .ant-input-affix-wrapper-focused,body[data-theme=dark] .product-settings-section .ant-select-focused .ant-select-selector{border-color:var(--ui-accent,#60a5fa);box-shadow:0 0 0 3px #60a5fa26}.product-settings-card .ant-card-head{border-bottom:1px solid var(--ui-border-soft,#94a3b824);min-height:52px;padding:0 20px}.product-settings-card .ant-card-head-title{color:var(--ui-copy,#0f172a);padding:16px 0;font-size:.95rem;font-weight:600}body[data-theme=dark] .product-settings-card .ant-card-head-title{color:var(--ui-copy,#e2e8f0)}.product-settings-section .ant-slider-track{background:var(--ui-accent,#2563eb)}.product-settings-section .ant-slider-handle:after{box-shadow:0 0 0 2px var(--ui-accent,#2563eb)}body[data-theme=dark] .product-settings-section .ant-slider-track{background:var(--ui-accent,#60a5fa)}body[data-theme=dark] .product-settings-section .ant-slider-handle:after{box-shadow:0 0 0 2px var(--ui-accent,#60a5fa)}.product-settings-section .ant-radio-button-wrapper{border-radius:8px;font-size:.85rem}.product-settings-section .ant-radio-button-wrapper:first-child,.product-settings-section .ant-radio-button-wrapper:last-child{border-radius:8px}.home-page-fullbg{width:100%;height:100vh;position:relative;overflow:hidden}.home-live2d-bg{z-index:0;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.home-live2d-bg>.companion-avatar{width:100%!important;height:100%!important}.home-live2d-bg .companion-avatar-card{width:100%!important;height:100%!important;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important}.home-live2d-bg .companion-live2d-wrap{width:100%!important;height:100%!important;position:absolute!important;inset:0!important}.home-live2d-bg .companion-live2d-canvas{width:100%!important;height:100%!important}.home-live2d-bg .companion-avatar-image{object-fit:cover;object-position:center top;width:100%;height:100%}@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-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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--spacing:.25rem;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-11{height:calc(var(--spacing) * 11)}.min-h-screen{min-height:100vh}.w-11{width:calc(var(--spacing) * 11)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.rounded-\[22px\]{border-radius:22px}.rounded-\[24px\]{border-radius:24px}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[var\(--ui-border-soft\)\]{border-color:var(--ui-border-soft)}.bg-\[var\(--ui-app-bg\)\]{background-color:var(--ui-app-bg)}.bg-\[var\(--ui-surface\)\]{background-color:var(--ui-surface)}.bg-\[var\(--ui-surface-muted\)\]{background-color:var(--ui-surface-muted)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-3{padding-block:calc(var(--spacing) * 3)}.text-\[var\(--ui-copy\)\]{color:var(--ui-copy)}.shadow-\[0_12px_32px_var\(--ui-shadow-soft\)\]{--tw-shadow:0 12px 32px var(--tw-shadow-color,var(--ui-shadow-soft));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_14px_36px_var\(--ui-shadow-soft\)\]{--tw-shadow:0 14px 36px var(--tw-shadow-color,var(--ui-shadow-soft));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_16px_42px_var\(--ui-shadow-soft\)\]{--tw-shadow:0 16px 42px var(--tw-shadow-color,var(--ui-shadow-soft));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);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,)}.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,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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))}@media (hover:hover){.hover\:border-\[var\(--ui-border-strong\)\]:hover{border-color:var(--ui-border-strong)}.hover\:bg-\[var\(--ui-surface-muted\)\]:hover{background-color:var(--ui-surface-muted)}}}@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-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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
