@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";.nebula-popover{position:fixed;inset:auto;margin:0;padding:5px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border, #303030);border-radius:12px;background:var(--sidebar-bg, #151515);color:var(--text, #ececec);box-shadow:0 8px 28px #0000002e;z-index:10000;animation:nebula-popup-in .15s ease-out;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.nebula-popover::-webkit-scrollbar{width:6px;height:6px}.nebula-popover::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:99px}.nebula-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-width:140px;max-width:100%;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--input-bg);color:var(--text);font:inherit;font-size:13px;text-align:left}.nebula-select-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nebula-select-trigger svg{flex-shrink:0;color:var(--text-muted)}.nebula-option,.nebula-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:left;cursor:pointer}.nebula-option{justify-content:space-between}.nebula-option.highlighted,.nebula-menu button:hover,.nebula-menu button:focus-visible{background:var(--item-hover)}.nebula-select-trigger:focus-visible,.nebula-menu button:focus-visible{outline:2px solid var(--text-muted);outline-offset:2px}.nebula-option[aria-disabled],.nebula-menu button:disabled,.nebula-select-trigger:disabled{opacity:.45;cursor:default}.nebula-menu button.danger{color:#e88}.nebula-menu .model-menu-item{justify-content:space-between}@keyframes nebula-popup-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.nebula-popover{animation:none}}:root[data-no-animations] .nebula-popover{animation:none}.nebula-dialog{margin:auto;padding:24px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--border);border-radius:16px;background:var(--sidebar-bg);color:var(--text);box-shadow:0 18px 60px #0005;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.nebula-dialog::backdrop{background:#0007;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.nebula-calendar-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:4px;padding:4px}.nebula-calendar button{padding:6px;border-radius:7px;color:var(--text)}.nebula-calendar button:hover,.nebula-calendar button[aria-pressed=true]{background:var(--item-hover)}.nebula-calendar button:focus-visible{outline:2px solid var(--text-muted)}.nebula-calendar button:disabled,.nebula-calendar .muted{opacity:.4}.nebula-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:12px}.gallery{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.gallery-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;justify-content:center;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.gallery-scroll::-webkit-scrollbar{width:8px}.gallery-scroll::-webkit-scrollbar-track{background:transparent}.gallery-scroll::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.gallery-scroll::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.gallery-inner{width:100%;max-width:1080px;padding:28px 24px 40px}.gallery-header{margin-bottom:20px}.gallery-title{font-size:26px;font-weight:600;color:var(--text)}.gallery-subtitle{font-size:14px;color:var(--text-muted);margin-top:4px}.gallery-section-title{font-size:15px;font-weight:600;color:var(--text);margin-bottom:12px}.recent-carousel{margin-bottom:30px}.recent-carousel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.recent-carousel-arrows{display:flex;gap:6px}.carousel-arrow{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--input-bg);border:1px solid var(--border);color:var(--text-dim);transition:background-color .12s ease,opacity .12s ease}.carousel-arrow:hover:not(:disabled){background:var(--surface-3)}.carousel-arrow:disabled{opacity:.35;cursor:default}.recent-carousel-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.recent-carousel-track::-webkit-scrollbar{height:8px}.recent-carousel-track::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}.recent-carousel-track::-webkit-scrollbar-track{background:transparent}.recent-slide{flex:0 0 calc((100% - 48px)/5);aspect-ratio:1 / 1;border-radius:14px;overflow:hidden;border:1px solid var(--border);background:var(--input-bg);scroll-snap-align:start;transition:border-color .12s ease,transform .12s ease}.recent-slide:hover{border-color:var(--surface-3);transform:translateY(-2px)}.recent-slide img{width:100%;height:100%;object-fit:cover;display:block}.gallery-all{margin-bottom:8px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.gallery-card{position:relative;border-radius:14px;overflow:hidden;background:var(--input-bg);border:1px solid var(--border);cursor:pointer;transition:border-color .12s ease,transform .12s ease}.gallery-card:hover{border-color:var(--surface-3);transform:translateY(-2px)}.gallery-card-media{position:relative;aspect-ratio:1 / 1;background:var(--input-bg)}.gallery-card-img{width:100%;height:100%;object-fit:cover;display:block}.gallery-card-badge{position:absolute;top:8px;left:8px;display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#fff;background:#0009;border-radius:999px;padding:3px 8px}.gallery-card-menu{position:absolute;top:8px;right:8px}.gallery-card-menu-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#0000008c;color:#fff;opacity:0;transition:opacity .12s ease,background-color .12s ease}.gallery-card:hover .gallery-card-menu-btn{opacity:1}.gallery-card-menu-btn:hover{background:#000c}.gallery-menu{position:absolute;top:34px;right:0;min-width:168px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:6px;box-shadow:0 16px 40px var(--shadow-strong);z-index:20}.gallery-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:8px;font-size:13.5px;color:var(--text);text-align:left;transition:background-color .12s ease}.gallery-menu-item:hover{background:var(--input-bg)}.gallery-menu-item.danger{color:#f0796a}.gallery-card-foot{padding:9px 11px}.gallery-card-prompt{display:block;font-size:12.5px;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-skeleton{position:relative;aspect-ratio:1 / 1;border-radius:14px;overflow:hidden;background:var(--input-bg);border:1px solid var(--border);display:flex;align-items:center;justify-content:center}.gallery-skeleton-shimmer{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(100deg,var(--input-bg) 30%,var(--surface-3) 50%,var(--input-bg) 70%);background-size:200% 100%;animation:gallery-shimmer 1.3s ease-in-out infinite}@keyframes gallery-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.gallery-skeleton-label{position:relative;font-size:12.5px;color:var(--text-dim)}.gallery-sentinel{height:1px}.gallery-empty{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--text-muted);font-size:14px;text-align:center;padding:48px 4px}.gallery-dock{flex-shrink:0;display:flex;justify-content:center;padding:10px 20px 22px;background:var(--main-bg);border-top:1px solid var(--border)}.gallery-composer{width:768px;max-width:100%;display:flex;flex-direction:column}.gallery-input{align-items:flex-end;padding:4px 8px}.gallery-input .input-field{padding:12px 4px}.gallery-input .input-actions{padding-bottom:6px}.gallery-model{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text-dim);background:var(--input-bg);border:1px solid var(--border);border-radius:999px;padding:6px 12px;white-space:nowrap}.gallery-composer-error{font-size:13px;color:#f0796a;background:#f0796a14;border:1px solid rgba(240,121,106,.25);border-radius:10px;padding:8px 12px;margin-bottom:8px;cursor:pointer}.composer-editing{display:flex;align-items:center;gap:10px;background:var(--input-bg);border:1px solid var(--border);border-radius:12px;padding:8px 10px;margin-bottom:8px}.composer-editing-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:var(--text-dim)}.composer-editing-thumb{width:34px;height:34px;border-radius:8px;overflow:hidden;border:1px solid var(--border);flex-shrink:0}.composer-editing-thumb img{width:100%;height:100%;object-fit:cover}.composer-editing-hint{flex:1;font-size:12.5px;color:var(--text-muted)}.composer-editing-cancel{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--text-dim);transition:background-color .12s ease}.composer-editing-cancel:hover{background:var(--input-bg)}.viewer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d1;display:flex;align-items:center;justify-content:center;padding:24px;z-index:300}.viewer{position:relative;display:flex;width:1100px;max-width:100%;height:86vh;background:var(--input-bg);border:1px solid var(--border);border-radius:18px;overflow:hidden}.viewer-close{position:absolute;top:12px;right:12px;z-index:10;background:#00000080;border-radius:50%}.viewer-stage{position:relative;flex:1;min-width:0;display:flex;align-items:center;justify-content:center;background:var(--input-bg);padding:20px}.viewer-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}.viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0000008c;color:#fff;transition:background-color .12s ease}.viewer-nav:hover{background:#000c}.viewer-nav.left{left:14px}.viewer-nav.right{right:14px}.viewer-side{width:320px;flex-shrink:0;border-left:1px solid var(--border);padding:44px 20px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:22px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.viewer-side::-webkit-scrollbar{width:8px}.viewer-side::-webkit-scrollbar-track{background:transparent}.viewer-side::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.viewer-side::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.viewer-meta-title{font-size:13px;font-weight:600;color:var(--text);margin-bottom:12px}.viewer-field{margin-bottom:12px}.viewer-field-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:3px}.viewer-field-value{font-size:13.5px;color:var(--text);line-height:1.5;word-break:break-word}.gen-history-track{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.gen-history-track::-webkit-scrollbar{height:6px}.gen-history-track::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}.gen-history-item{position:relative;flex:0 0 60px;width:60px;height:60px;border-radius:10px;overflow:hidden;border:2px solid transparent;background:var(--input-bg);transition:border-color .12s ease}.gen-history-item.active{border-color:var(--accent)}.gen-history-item img{width:100%;height:100%;object-fit:cover}.gen-history-step{position:absolute;bottom:2px;right:2px;font-size:10px;color:#fff;background:#000000a6;border-radius:5px;padding:0 4px}.viewer-actions{margin-top:auto;display:flex;flex-direction:column;gap:8px}.viewer-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;border-radius:10px;font-size:14px;font-weight:500;background:var(--surface-2);border:1px solid var(--border);color:var(--text);transition:background-color .12s ease}.viewer-btn:hover{background:var(--surface-3)}.viewer-btn.primary{background:var(--accent);border-color:transparent;color:#fff}.viewer-btn.primary:hover{background:var(--accent)}.viewer-btn.danger{color:#f0796a}.viewer-btn.danger:hover{background:#f0796a1f}@media (max-width: 1100px){.recent-slide{flex-basis:calc((100% - 36px)/4)}}@media (max-width: 860px){.recent-slide{flex-basis:calc((100% - 24px) / 3)}.gallery-composer{width:100%}.viewer{flex-direction:column;height:90vh}.viewer-side{width:100%;border-left:none;border-top:1px solid var(--border);padding-top:20px}}@media (max-width: 620px){.recent-slide{flex-basis:calc((100% - 12px)/2)}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media (max-width: 420px){.recent-slide{flex-basis:78%}}.more-view{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;overflow:hidden}.more-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0;padding:24px 28px 18px;border-bottom:1px solid var(--border)}.more-head-left{display:flex;align-items:flex-start;gap:12px;min-width:0}.more-back{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:var(--text-muted);flex-shrink:0;margin-top:2px;transition:background-color .13s ease,color .13s ease}.more-back:hover{background:var(--item-hover);color:var(--text)}.more-head-text{min-width:0}.more-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:600;letter-spacing:-.3px;color:var(--text)}.more-title svg{color:var(--text-dim);flex-shrink:0}.more-subtitle{margin-top:5px;font-size:13.5px;color:var(--text-muted);line-height:1.5;max-width:640px}.more-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.more-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:var(--text-muted);transition:background-color .13s ease,color .13s ease}.more-close:hover{background:var(--item-hover);color:var(--text)}.more-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:22px 28px 40px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.more-body::-webkit-scrollbar{width:8px}.more-body::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:99px}.more-inner{max-width:860px;margin:0 auto}.more-home-header{margin-bottom:8px}.more-home-title{font-size:26px;font-weight:600;letter-spacing:-.4px;color:var(--text)}.more-home-subtitle{margin-top:5px;font-size:14px;color:var(--text-muted)}.more-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.more-card{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:16px;border:1px solid var(--border);background:var(--sidebar-bg);text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,transform .14s ease}.more-card:hover{background:var(--item-active);border-color:var(--surface-3);transform:translateY(-1px)}.more-card-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--surface-2);color:var(--text-dim);flex-shrink:0}.more-card:hover .more-card-icon{color:var(--accent)}.more-card-text{display:flex;flex-direction:column;gap:4px;min-width:0}.more-card-title{font-size:15px;font-weight:600;color:var(--text)}.more-card-sub{font-size:13px;color:var(--text-muted);line-height:1.45}.more-btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 15px;border-radius:10px;border:1px solid var(--border);background:var(--input-bg);color:var(--text);font-size:13.5px;font-weight:500;transition:background-color .13s ease,border-color .13s ease,opacity .13s ease}.more-btn:hover:not(:disabled){background:var(--item-active)}.more-btn:disabled{opacity:.5;cursor:default}.more-btn.primary{background:var(--accent);border-color:transparent;color:#fff}.more-btn.primary:hover:not(:disabled){opacity:.9}.more-btn.danger{border-color:#ff5a5a59;color:#ff7b7b;background:transparent}.more-btn.danger:hover:not(:disabled){background:#ff5a5a1a}.more-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:60px 24px;color:var(--text-muted)}.more-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--surface-2);color:var(--text-dim);margin-bottom:6px}.more-empty-title{font-size:15px;font-weight:500;color:var(--text)}.more-empty-hint{font-size:13.5px;color:var(--text-muted);max-width:420px;line-height:1.55}.more-note{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-dim);font-size:13px;line-height:1.55}.more-note svg{flex-shrink:0;margin-top:2px;color:var(--text-muted)}.more-inputbar{display:flex;gap:10px;align-items:stretch}.more-input{flex:1;min-width:0;height:44px;padding:0 15px;border-radius:12px;background:var(--input-bg);border:1px solid var(--border);color:var(--text);font-family:inherit;font-size:14.5px;outline:none;transition:border-color .13s ease}.more-input:focus{border-color:var(--accent)}.more-input::placeholder{color:var(--text-muted)}.more-inputbar .more-btn{height:44px;flex-shrink:0}.more-section-label{font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:var(--text-muted);margin:22px 2px 10px}.more-section-label:first-child{margin-top:0}.more-list{display:flex;flex-direction:column;gap:8px}.more-list-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--sidebar-bg)}.more-list-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:var(--surface-2);color:var(--text-dim);flex-shrink:0}.more-list-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.more-list-title{font-size:14px;font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.more-list-meta{font-size:12.5px;color:var(--text-muted)}.more-list-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.more-list-link{text-align:left;cursor:pointer}.more-list-link:hover .more-list-title{color:var(--accent)}.more-list-meta{line-height:1.45}.more-list-url{font-size:12px;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.spin{animation:more-spin .8s linear infinite}@keyframes more-spin{to{transform:rotate(360deg)}}:root[data-no-animations] .spin{animation:none}.more-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:var(--text-muted);transition:background-color .13s ease,color .13s ease}.more-icon-btn:hover{background:var(--item-hover);color:var(--text)}.more-icon-btn.danger:hover{background:#ff5a5a1a;color:#ff7b7b}.memory-add{display:flex;gap:10px;align-items:stretch;margin-bottom:18px}.memory-entry{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:12px;border:1px solid var(--border);background:var(--sidebar-bg)}.memory-entry.disabled{opacity:.55}.memory-entry-text{flex:1;min-width:0;font-size:14px;color:var(--text);line-height:1.5;white-space:pre-wrap;word-break:break-word}.memory-entry-edit{flex:1;min-width:0}.memory-entry-meta{margin-top:6px;font-size:12px;color:var(--text-muted)}.more-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:420px}.more-panel{display:flex;flex-direction:column;min-height:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--sidebar-bg)}.more-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border);font-size:13px;font-weight:600;color:var(--text-dim)}.more-panel-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.more-editor{flex:1;width:100%;min-height:300px;resize:none;border:none;outline:none;padding:14px;background:var(--code-bg);color:var(--text);font-family:SFMono-Regular,ui-monospace,Cascadia Code,JetBrains Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;-moz-tab-size:2;tab-size:2}.more-doc-editor{font-family:inherit;font-size:15px;line-height:1.7;background:var(--main-bg)}.more-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}.more-toolbar .grow{flex:1}.more-result{padding:14px;font-size:13px;line-height:1.6;color:var(--text-dim);white-space:pre-wrap;word-break:break-word}.more-result.html-preview{background:#fff;color:#111;white-space:normal}.data-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:46px 24px;border:1px dashed var(--surface-3);border-radius:14px;color:var(--text-muted);text-align:center}.data-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px;max-height:340px}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table th,.data-table td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--border);white-space:nowrap;color:var(--text-dim)}.data-table th{position:sticky;top:0;background:var(--surface-2);color:var(--text);font-weight:600;z-index:1}.data-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:16px 0}.data-stat{padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--sidebar-bg)}.data-stat-name{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.data-stat-type{font-size:12px;color:var(--text-muted);margin-bottom:6px}.data-stat-row{display:flex;justify-content:space-between;font-size:12.5px;color:var(--text-dim)}.research-phases{display:flex;flex-direction:column;gap:2px;margin:18px 0}.research-phase{display:flex;align-items:center;gap:12px;padding:10px 4px;color:var(--text-muted)}.research-phase-dot{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--surface-2);color:var(--text-dim);flex-shrink:0}.research-phase.active .research-phase-dot{background:var(--accent);color:#fff}.research-phase.done .research-phase-dot{background:#50c87829;color:#4ec27a}.research-phase.active .research-phase-label{color:var(--text);font-weight:500}.research-phase-label{font-size:14px}.research-source-idx{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:var(--surface-2);color:var(--text-dim);font-size:13px;font-weight:600;flex-shrink:0}.research-report{margin-top:8px;padding:20px 22px;border:1px solid var(--border);border-radius:14px;background:var(--sidebar-bg);font-size:14.5px;line-height:1.7;color:var(--text);white-space:pre-wrap;word-break:break-word}@media (max-width: 820px){.more-head,.more-body{padding-left:16px;padding-right:16px}.more-split{grid-template-columns:1fr}}:root[data-no-animations] .more-close,:root[data-no-animations] .more-back,:root[data-no-animations] .more-btn,:root[data-no-animations] .more-icon-btn,:root[data-no-animations] .more-card{transition:none}:root[data-no-animations] .more-card:hover{transform:none}.settings-root{width:min(960px,calc(100vw - 48px));height:min(700px,calc(100dvh - 64px));max-width:none;max-height:none;margin:auto;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:22px;color:var(--text);background:var(--main-bg);box-shadow:0 24px 90px #00000059}.settings-root::backdrop{background:#0000007a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.settings-shell{display:flex;height:100%;min-height:0}.settings-nav{flex:0 0 200px;overflow-y:auto;background:var(--sidebar-bg);padding:28px 16px;border-right:1px solid var(--border)}.settings-nav-brand{font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--text-muted);padding:0 10px 12px}.settings-nav-list{list-style:none;display:flex;flex-direction:column;gap:2px}.settings-nav-item{width:100%;display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:9px;font-size:14px;color:var(--text-dim);transition:background .13s ease,color .13s ease}.settings-nav-item:hover{background:var(--item-hover);color:var(--text)}.settings-nav-item.active{background:var(--item-active);color:var(--text)}.settings-nav-item svg{flex-shrink:0;color:currentColor}.settings-content{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:0}.settings-content-head{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:22px 28px;border-bottom:1px solid var(--border)}.settings-content-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px 24px 32px 28px}.settings-root *{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.settings-root ::-webkit-scrollbar{width:8px;height:6px}.settings-root ::-webkit-scrollbar-track{background:transparent;margin-block:10px}.settings-root ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid var(--main-bg);border-radius:999px}.settings-root ::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.settings-root ::-webkit-scrollbar-corner{background:transparent}.settings-content-title{font-size:22px;font-weight:600;letter-spacing:-.3px;color:var(--text)}.settings-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:var(--text-muted);transition:background .13s ease,color .13s ease}.settings-close:hover{background:var(--item-hover);color:var(--text)}.settings-page{display:flex;flex-direction:column;gap:30px;max-width:720px}.set-section-head{margin-bottom:12px}.set-section-title{font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--text-muted)}.set-section-desc{margin-top:4px;font-size:13px;color:var(--text-muted)}.set-section-body{background:var(--sidebar-bg);border:1px solid var(--border);border-radius:14px;overflow:hidden}.set-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px}.set-row+.set-row{border-top:1px solid var(--border)}.set-row-text{display:flex;flex-direction:column;gap:3px;min-width:0}.set-row-label{font-size:14px;font-weight:500;color:var(--text)}.set-row-desc{font-size:13px;color:var(--text-muted);line-height:1.45}.set-row-control{flex-shrink:0}.set-btn{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:9px;border:1px solid var(--border);background:var(--input-bg);color:var(--text);font-size:13.5px;font-weight:500;transition:background .13s ease,border-color .13s ease,opacity .13s ease;text-decoration:none}.set-btn:hover{background:var(--item-active)}.set-btn:disabled{opacity:.5;cursor:default}.set-btn.primary{background:var(--accent, #4d7cff);border-color:transparent;color:#fff}.set-btn.primary:hover{opacity:.9}.set-btn.danger{background:transparent;border-color:#ff5a5a59;color:#ff7b7b}.set-btn.danger:hover{background:#ff5a5a1a}.set-input{width:100%;height:40px;padding:0 13px;border-radius:10px;background:var(--input-bg);border:1px solid transparent;color:var(--text);font-size:14px;outline:none;transition:border-color .13s ease}.set-input:focus{border-color:var(--accent, rgba(255, 255, 255, .2))}.set-input::placeholder{color:var(--text-muted)}.set-toggle{position:relative;width:42px;height:24px;border-radius:999px;background:var(--input-bg);border:1px solid var(--border);transition:background .16s ease,border-color .16s ease;flex-shrink:0}.set-toggle.on{background:var(--accent, #4d7cff);border-color:transparent}.set-toggle-knob{position:absolute;top:50%;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transform:translateY(-50%);transition:left .16s ease;box-shadow:0 1px 2px #0000004d}.set-toggle.on .set-toggle-knob{left:21px}.set-toggle:focus-visible{outline:2px solid var(--accent, #4d7cff);outline-offset:2px}.set-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:500;background:#50c8781f;color:#6fd08c}.set-badge.subtle{background:var(--input-bg);color:var(--text-muted)}.set-note{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--text-muted);line-height:1.5}.set-note svg{flex-shrink:0;margin-top:2px}.set-inline-error{font-size:13px;color:#ff8f8f}.set-inline-ok{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:13px;color:#6fd08c}.set-profile{display:flex;align-items:center;gap:14px;padding:18px}.set-profile-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:var(--item-active);color:var(--text);font-size:18px;font-weight:600;flex-shrink:0}.set-profile-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.set-profile-name{font-size:15px;font-weight:600;color:var(--text)}.set-profile-email{font-size:13px;color:var(--text-muted)}.set-edit-name,.set-password-form,.set-delete-form{display:flex;flex-direction:column;gap:10px;padding:0 18px 18px}.set-password-form{padding-top:4px;border-top:1px solid var(--border)}.set-edit-actions{display:flex;justify-content:flex-end;gap:8px}.set-danger{border:1px solid rgba(255,90,90,.25);border-radius:14px;overflow:hidden}.set-danger-title{font-size:13px;font-weight:600;letter-spacing:.3px;color:#ff7b7b;padding:14px 18px 0}.set-danger-body{margin-top:6px}.set-delete-dialog{max-width:440px}.set-delete-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#ff5a5a1f;color:#ff7b7b;margin-bottom:14px}.set-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:34px 24px;color:var(--text-muted)}.set-empty p{font-size:14px;color:var(--text);font-weight:500}.set-empty-hint{font-size:13px;color:var(--text-muted);max-width:360px;line-height:1.5}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px}.theme-card{display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:12px;border:1px solid var(--border);background:var(--input-bg);transition:border-color .13s ease}.theme-card.selected{border-color:var(--accent, #4d7cff)}.theme-card-label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:500;color:var(--text)}.theme-card-label svg{color:var(--accent, #4d7cff)}.theme-preview{display:flex;height:62px;border-radius:8px;overflow:hidden;border:1px solid var(--border)}.theme-preview-side{width:30%}.theme-preview-main{flex:1;padding:10px;display:flex;flex-direction:column;gap:6px}.theme-preview-line{height:6px;border-radius:3px;width:90%}.theme-preview-line.short{width:55%}.theme-preview-dark .theme-preview-side{background:#0a0a0a}.theme-preview-dark{background:#000}.theme-preview-dark .theme-preview-line{background:#3a3a3a}.theme-preview-light .theme-preview-side{background:#f0f0f2}.theme-preview-light{background:#fff}.theme-preview-light .theme-preview-line{background:#d0d0d4}.theme-preview-system{background:linear-gradient(90deg,#000 50%,#fff 50%)}.theme-preview-system .theme-preview-side{background:linear-gradient(90deg,#0a0a0a 60%,#f0f0f2 60%)}.theme-preview-system .theme-preview-line{background:linear-gradient(90deg,#3a3a3a 50%,#d0d0d4 50%)}.accent-row{display:flex;flex-wrap:wrap;gap:12px;padding:18px}.accent-dot{width:32px;height:32px;border-radius:50%;background:var(--dot);display:inline-flex;align-items:center;justify-content:center;color:#fff;border:2px solid transparent;transition:transform .12s ease,box-shadow .12s ease}.accent-dot:hover{transform:scale(1.08)}.accent-dot.selected{box-shadow:0 0 0 2px var(--main-bg),0 0 0 4px var(--dot)}.plan-current{display:flex;align-items:center;justify-content:space-between;padding:18px}.plan-current-info{display:flex;flex-direction:column;gap:2px}.plan-current-name{font-size:17px;font-weight:600;color:var(--text)}.plan-current-note{font-size:13px;color:var(--text-muted)}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px}.plan-card{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:12px;border:1px solid var(--border);background:var(--input-bg)}.plan-card.current{border-color:var(--accent, #4d7cff)}.plan-card-head{display:flex;align-items:center;justify-content:space-between}.plan-card-name{font-size:15px;font-weight:600;color:var(--text)}.plan-card-price{font-size:20px;font-weight:600;color:var(--text)}.plan-card-tagline{font-size:13px;color:var(--text-muted);line-height:1.45;min-height:36px}.plan-card-features{list-style:none;display:flex;flex-direction:column;gap:7px;flex:1}.plan-card-features li{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--text-dim)}.plan-card-features svg{color:var(--accent, #4d7cff);flex-shrink:0;margin-top:2px}.plan-card-btn{margin-top:6px;justify-content:center}.redeem-form{display:flex;gap:10px;align-items:stretch}.redeem-input-wrap{position:relative;flex:1;display:flex;align-items:center}.redeem-input-icon{position:absolute;left:12px;color:var(--text-muted);pointer-events:none}.redeem-input{width:100%;height:40px;padding:0 13px 0 38px;border-radius:10px;background:var(--input-bg);border:1px solid var(--border);color:var(--text);font-size:14px;letter-spacing:.02em;outline:none}.redeem-input:focus{border-color:var(--accent, #4d7cff)}.redeem-form .set-btn{height:40px;flex-shrink:0}.redeem-msg{margin:10px 0 0;font-size:13px}.redeem-msg.error{color:#ff8f8f}.redeem-msg.ok{color:#6fd08c}.usage-period{padding:18px 18px 0;display:flex;justify-content:flex-end}.usage-list{display:flex;flex-direction:column;gap:18px;padding:18px}.usage-item-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.usage-item-label{font-size:13.5px;color:var(--text)}.usage-item-value{font-size:13px;color:var(--text-muted)}.usage-bar{height:8px;border-radius:999px;background:var(--input-bg);overflow:hidden}.usage-bar-fill{display:block;height:100%;border-radius:999px;background:var(--accent, #4d7cff)}.help-search{display:flex;align-items:center;gap:10px;height:46px;padding:0 16px;border-radius:12px;background:var(--input-bg);border:1px solid var(--border)}.help-search svg{color:var(--text-muted);flex-shrink:0}.help-search input{flex:1;background:none;border:none;outline:none;color:var(--text);font-size:14.5px}.help-search input::placeholder{color:var(--text-muted)}.help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:18px}.help-card{padding:14px;border-radius:12px;border:1px solid var(--border);background:var(--input-bg)}.help-card-head{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--text);margin-bottom:10px}.help-card-head svg{color:var(--accent, #4d7cff)}.help-card-topics{list-style:none;display:flex;flex-direction:column;gap:6px}.help-card-topics li{font-size:13px;color:var(--text-dim);padding-left:12px;position:relative}.help-card-topics li:before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:var(--text-muted)}.help-actions{display:flex;flex-wrap:wrap;gap:10px;padding:18px}@media (max-width: 860px){.settings-shell{flex-direction:column}.settings-nav{flex:none;border-right:none;border-bottom:1px solid var(--border);padding:14px}.settings-nav-brand{display:none}.settings-nav-list{flex-direction:row;overflow-x:auto;gap:6px;-webkit-overflow-scrolling:touch}.settings-nav-item{white-space:nowrap}.settings-content{padding:0}.settings-content-head{padding:16px 18px}.settings-content-body{padding:18px 14px 28px 18px}.settings-root{width:calc(100vw - 24px);height:min(700px,calc(100dvh - 32px));border-radius:16px}.theme-grid,.plan-grid,.help-grid{grid-template-columns:1fr}}:root[data-no-animations] .set-toggle,:root[data-no-animations] .set-toggle-knob,:root[data-no-animations] .settings-nav-item,:root[data-no-animations] .accent-dot,:root[data-no-animations] .usage-bar-fill{transition:none}.ann-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:300;animation:ann-fade .18s ease}.ann-modal{position:relative;width:420px;max-width:100%;max-height:92vh;overflow-y:auto;overflow-x:hidden;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:20px;box-shadow:0 30px 80px #0009;animation:ann-pop .2s ease;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.ann-modal::-webkit-scrollbar{width:8px}.ann-modal::-webkit-scrollbar-track{background:transparent;margin:8px 0}.ann-modal::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px;border:2px solid var(--sidebar-bg)}.ann-modal::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.ann-close{position:absolute;top:12px;right:12px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:9px;color:#fff;background:#0006;transition:background-color .15s ease;z-index:3}.ann-close:hover{background:#000000a6}.ann-hero{position:relative;width:100%;aspect-ratio:16 / 10;overflow:hidden;border-radius:20px 20px 0 0}.ann-hero-img{width:100%;height:100%;object-fit:cover;display:block}.ann-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent 55%,var(--sidebar-bg))}.ann-badge{position:absolute;top:14px;left:14px;font-size:12px;font-weight:600;letter-spacing:.3px;color:#fff;background:#2f6fe0;box-shadow:0 4px 14px #2f6fe080;padding:4px 10px;border-radius:999px;z-index:2}.ann-body{display:flex;flex-direction:column;min-width:0;padding:6px 24px 24px}.ann-eyebrow{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#4a9eff;margin-bottom:6px}.ann-title{font-size:22px;font-weight:600;color:#fff;letter-spacing:-.3px}.ann-lead{margin-top:8px;font-size:14px;line-height:1.55;color:var(--text-muted)}.ann-features{list-style:none;margin:20px 0;display:flex;flex-direction:column;gap:14px}.ann-features li{display:flex;gap:12px;align-items:flex-start}.ann-feat-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:9px;background:#4a9eff1f;color:#4a9eff}.ann-feat-icon svg{color:#4a9eff}.ann-features strong{display:block;font-size:14px;font-weight:600;color:var(--text)}.ann-features li>div>span{display:block;font-size:13px;line-height:1.5;color:var(--text-muted);margin-top:1px}.ann-logos{margin:4px 0 22px}.ann-logos-label{display:block;font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--text-muted);margin-bottom:10px}.ann-carousel{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}.ann-carousel-track{display:flex;width:max-content;gap:12px;animation:ann-marquee 16s linear infinite}.ann-carousel:hover .ann-carousel-track{animation-play-state:paused}.ann-logo-item{display:flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:12px;background:#ffffff0a;border:1px solid var(--border)}.ann-logo{height:22px;width:auto;display:block;color:#fff}@keyframes ann-marquee{0%{transform:translate(0)}to{transform:translate(calc(-50% - 6px))}}.ann-cta{width:100%;height:46px;margin-top:auto;display:flex;align-items:center;justify-content:center;background:#fff;color:#0a0a0a;font-size:15px;font-weight:600;border-radius:12px;transition:opacity .15s ease}.ann-cta:hover{opacity:.9}@media (min-width: 720px){.ann-modal{width:860px;display:flex;flex-direction:row;align-items:stretch}.ann-hero{width:42%;flex-shrink:0;aspect-ratio:auto;border-radius:20px 0 0 20px}.ann-hero:after{background:linear-gradient(to right,transparent 60%,var(--sidebar-bg))}.ann-body{flex:1;padding:40px 36px 32px;justify-content:center}.ann-features{margin:22px 0}}@keyframes ann-fade{0%{opacity:0}}@keyframes ann-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}}.auth-screen{position:relative;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(1200px 600px at 50% -10%,rgba(90,90,120,.12),transparent 60%),var(--main-bg);padding:24px}.auth-stars,.auth-stars:before,.auth-stars:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";pointer-events:none}.auth-stars{z-index:0;background-image:radial-gradient(1.4px 1.4px at 20% 30%,rgba(255,255,255,.9),transparent),radial-gradient(1.2px 1.2px at 75% 22%,rgba(210,220,255,.85),transparent),radial-gradient(1.6px 1.6px at 42% 68%,rgba(255,255,255,.8),transparent),radial-gradient(1.1px 1.1px at 88% 60%,rgba(200,210,255,.8),transparent),radial-gradient(1.3px 1.3px at 12% 82%,rgba(255,255,255,.75),transparent),radial-gradient(1.2px 1.2px at 62% 88%,rgba(220,225,255,.8),transparent);animation:auth-drift 90s linear infinite}.auth-stars:before{background-image:radial-gradient(1px 1px at 33% 15%,rgba(255,255,255,.7),transparent),radial-gradient(1px 1px at 55% 40%,rgba(190,205,255,.6),transparent),radial-gradient(1px 1px at 8% 55%,rgba(255,255,255,.6),transparent),radial-gradient(1px 1px at 92% 35%,rgba(255,255,255,.55),transparent),radial-gradient(1px 1px at 70% 72%,rgba(205,215,255,.6),transparent),radial-gradient(1px 1px at 28% 92%,rgba(255,255,255,.5),transparent);animation:auth-twinkle-bg 5.5s ease-in-out infinite}.auth-stars:after{background-image:radial-gradient(2px 2px at 82% 18%,rgba(255,255,255,.95),transparent),radial-gradient(1.8px 1.8px at 16% 40%,rgba(220,228,255,.9),transparent),radial-gradient(2px 2px at 48% 80%,rgba(255,255,255,.9),transparent);filter:drop-shadow(0 0 4px rgba(180,195,255,.5));animation:auth-twinkle-bg 3.8s ease-in-out infinite 1.2s}@keyframes auth-twinkle-bg{0%,to{opacity:.35}50%{opacity:1}}@keyframes auth-drift{0%{transform:translateY(0)}to{transform:translateY(-40px)}}@media (prefers-reduced-motion: reduce){.auth-stars,.auth-stars:before,.auth-stars:after{animation:none}}.auth-layout{position:relative;z-index:1;width:100%;display:flex;align-items:center;justify-content:center}.auth-hero{display:none}.auth-card{width:100%;max-width:380px;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:18px;padding:34px 30px 28px;box-shadow:0 20px 60px #00000080}.auth-brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:600;color:var(--strong-text);letter-spacing:-.3px;margin-bottom:22px}.auth-brand-mark{display:inline-flex;align-items:center;color:var(--strong-text)}.auth-brand-name{line-height:1}.auth-title{font-size:24px;font-weight:600;color:var(--text);letter-spacing:-.4px}.auth-sub{margin-top:6px;font-size:14px;color:var(--text-muted);line-height:1.5}.auth-form{margin-top:22px;display:flex;flex-direction:column;gap:12px}.auth-field{display:flex;align-items:center;gap:10px;background:var(--input-bg);border:1px solid transparent;border-radius:12px;padding:0 14px;transition:border-color .15s ease}.auth-field:focus-within{border-color:#ffffff2e}.auth-field-icon{color:var(--text-muted);flex-shrink:0}.auth-field input{flex:1;background:none;border:none;outline:none;color:var(--text);font-size:15px;padding:13px 0}.auth-field input::placeholder{color:var(--text-muted)}.auth-error{display:flex;align-items:center;gap:8px;color:#ff8f8f;font-size:13px;background:#ff5a5a14;border:1px solid rgba(255,90,90,.2);border-radius:10px;padding:9px 12px}.auth-submit{margin-top:6px;height:46px;display:flex;align-items:center;justify-content:center;background:#fff;color:#0a0a0a;font-size:15px;font-weight:600;border-radius:12px;transition:opacity .15s ease}.auth-submit:hover{opacity:.9}.auth-submit:disabled{opacity:.6;cursor:default}.auth-spin{animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-divider{display:flex;align-items:center;text-align:center;margin:20px 0 16px;color:var(--text-muted);font-size:13px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.auth-divider span{padding:0 12px}.auth-google{display:flex;justify-content:center;min-height:44px;color-scheme:light}.auth-switch{margin-top:22px;text-align:center;font-size:14px;color:var(--text-muted)}.auth-switch button{color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:2px}.auth-hero-content{position:relative;z-index:1;max-width:460px}.auth-hero-brand{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;letter-spacing:.2px;color:#fff}.auth-hero-star{color:#cdd6ff;font-size:13px;filter:drop-shadow(0 0 5px rgba(170,185,255,.5))}.auth-hero-title{margin-top:22px;font-size:clamp(28px,3.2vw,42px);line-height:1.12;font-weight:600;letter-spacing:-.8px;color:var(--text)}.auth-hero-desc{margin-top:16px;font-size:16px;line-height:1.6;color:var(--text-muted);max-width:400px}.auth-hero-features{margin-top:28px;display:flex;flex-wrap:wrap;gap:10px}.auth-feature{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;font-size:13.5px;color:var(--text);background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:10px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.auth-feature svg{color:var(--text-muted);flex-shrink:0}.auth-hero-decor{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;overflow:hidden}.auth-halo{position:absolute;border-radius:50%;filter:blur(50px)}.auth-halo-1{width:320px;height:320px;top:-40px;left:-30px;background:radial-gradient(circle,rgba(110,120,170,.14),transparent 70%);animation:auth-float 16s ease-in-out infinite}.auth-halo-2{width:260px;height:260px;bottom:0;left:40%;background:radial-gradient(circle,rgba(90,110,150,.1),transparent 70%);animation:auth-float 20s ease-in-out infinite reverse}.auth-panel{position:absolute;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#ffffff04}.auth-panel-1{width:150px;height:96px;top:8%;right:12%;transform:rotate(-8deg);animation:auth-float 18s ease-in-out infinite}.auth-panel-2{width:110px;height:70px;bottom:14%;right:26%;transform:rotate(6deg);animation:auth-float 22s ease-in-out infinite 1.5s}.auth-panel-3{width:84px;height:84px;top:40%;left:4%;transform:rotate(10deg);animation:auth-float 24s ease-in-out infinite .8s}.auth-gridline{position:absolute;background:linear-gradient(90deg,transparent,rgba(255,255,255,.05),transparent)}.auth-gridline-1{height:1px;width:70%;top:30%;left:0}.auth-gridline-2{width:1px;height:55%;top:20%;right:20%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.05),transparent)}@keyframes auth-float{0%,to{transform:translateY(0) var(--auth-rot, rotate(0deg))}50%{transform:translateY(-14px) var(--auth-rot, rotate(0deg))}}.auth-panel-1{--auth-rot: rotate(-8deg)}.auth-panel-2{--auth-rot: rotate(6deg)}.auth-panel-3{--auth-rot: rotate(10deg)}@keyframes auth-hero-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 768px){.auth-screen{padding:32px}.auth-layout{max-width:1120px;display:grid;grid-template-columns:55fr 45fr;align-items:center;gap:40px}.auth-hero{position:relative;display:flex;align-items:center;min-height:420px;padding-right:16px;animation:auth-hero-in .7s ease-out both}.auth-card{justify-self:center}}@media (min-width: 768px) and (max-width: 1024px){.auth-layout{gap:28px}.auth-hero{min-height:360px}.auth-hero-desc{font-size:15px}.auth-panel-3,.auth-gridline-2{display:none}}@media (prefers-reduced-motion: reduce){.auth-hero,.auth-halo,.auth-panel{animation:none}}:root{--sidebar-bg: #0a0a0a;--main-bg: #000000;--item-hover: #1c1c1c;--item-active: #212121;--text: #ececec;--text-dim: #b4b4b4;--text-muted: #a6a6a6;--input-bg: #2a2a2a;--border: #2a2a2a;--surface-2: #2a2a2a;--surface-3: #3a3a3a;--bubble-user: #2f2f2f;--code-bg: #0d0d0d;--strong-text: #ffffff;--accent: #2f6fce;--shadow-strong: rgba(0, 0, 0, .5);--scrollbar-thumb: #1e1e1e;--scrollbar-thumb-hover: #2c2c2c}:root[data-theme=light]{--sidebar-bg: #f7f7f8;--main-bg: #ffffff;--item-hover: #ececed;--item-active: #e2e2e4;--text: #1a1a1a;--text-dim: #4a4a4a;--text-muted: #6b6b6b;--input-bg: #f0f0f2;--border: #e2e2e4;--surface-2: #ffffff;--surface-3: #ececed;--bubble-user: #ececed;--code-bg: #f4f4f6;--strong-text: #0a0a0a;--shadow-strong: rgba(0, 0, 0, .14);--scrollbar-thumb: #c9c9cd;--scrollbar-thumb-hover: #b0b0b4}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}button,.suggestion,.mobile-touch,.icon-btn,[role=button]{-webkit-user-select:none;user-select:none}html,body,#root{width:100%;height:100%}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--main-bg);color:var(--text);-webkit-font-smoothing:antialiased}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}.app{display:flex;width:100vw;height:100vh;overflow:hidden}.sidebar{width:260px;min-width:260px;height:100vh;background:var(--sidebar-bg);display:flex;flex-direction:column;border-right:1px solid var(--border)}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 6px 18px}.sidebar-logo{font-size:18px;font-weight:600;color:var(--strong-text);letter-spacing:-.2px}.sidebar-top-actions{display:flex;gap:2px}.icon-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim);transition:background-color .12s ease}.icon-btn:hover{background:var(--item-hover)}.sidebar-menu{display:flex;flex-direction:column;padding:12px 14px 4px;gap:1px}.sidebar-item{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:9px;color:var(--text);font-size:14px;text-align:left;transition:background-color .12s ease;position:relative}.sidebar-item:hover{background:var(--item-hover)}.sidebar-item.active{background:var(--item-active)}.sidebar-item-icon{flex-shrink:0;color:var(--text)}.sidebar-item-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-badge{font-size:9px;font-weight:600;letter-spacing:.3px;padding:2px 5px;border-radius:5px;background:var(--input-bg);color:var(--text-dim)}.sidebar-recents{flex:1;overflow-y:auto;padding:14px 14px 4px;min-height:0}.recents-label{font-size:12px;color:var(--text-muted);padding:0 10px 6px}.recents-list{list-style:none;display:flex;flex-direction:column;gap:1px}.recent-item{font-size:13.5px;color:var(--text);height:34px;line-height:34px;padding:0 10px;border-radius:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background-color .12s ease}.recent-item:hover{background:var(--item-hover)}.sidebar-recents::-webkit-scrollbar{width:6px}.sidebar-recents::-webkit-scrollbar-track{background:transparent}.sidebar-recents::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}.sidebar-recents{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.profile-section{position:relative;display:flex;align-items:center;padding:8px 12px 12px 10px;gap:4px}.profile-menu{position:absolute;left:12px;right:12px;bottom:56px;max-width:288px;background:var(--item-hover);border:1px solid var(--border);border-radius:12px;padding:5px;box-shadow:0 16px 40px var(--shadow-strong);z-index:30;transform-origin:bottom center;animation:profile-menu-in .13s ease-out}@keyframes profile-menu-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.profile-menu-header{display:flex;align-items:center;gap:10px;padding:9px 9px 10px}.profile-menu-user{display:flex;flex-direction:column;line-height:1.3;overflow:hidden}.profile-menu-name{font-size:14px;font-weight:600;color:var(--strong-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu-email{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu-plan{margin-top:4px;align-self:flex-start;font-size:11px;font-weight:600;color:var(--text-dim);background:var(--input-bg);border:1px solid var(--border);border-radius:6px;padding:1px 7px}.profile-menu-group{padding:4px 0;border-top:1px solid var(--border)}.profile-menu-header+.profile-menu-group,.profile-menu-group:first-child{border-top:none}.profile-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:7px;font-size:14px;color:var(--text);transition:background-color .12s ease}.profile-menu-item svg{color:var(--text-dim);flex-shrink:0}.profile-menu-item:hover{background:var(--item-hover)}.profile-menu-item:focus-visible{outline:none;background:var(--item-hover);box-shadow:inset 0 0 0 1px var(--border)}.profile-menu-item.danger,.profile-menu-item.danger svg{color:#ff7b7b}.profile-menu-item.danger:hover{background:#ff5a5a1a}@media (prefers-reduced-motion: reduce){.profile-menu{animation:none}}.profile-btn{flex:1;display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:9px;transition:background-color .12s ease}.profile-btn:hover{background:var(--item-hover)}.profile-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#12b886,#16c79a);color:#04231a;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;object-fit:cover}.profile-info{display:flex;flex-direction:column;line-height:1.25;overflow:hidden}.profile-name{font-size:14px;color:var(--strong-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-plan{font-size:12px;color:var(--text-muted)}.profile-store{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim);transition:background-color .12s ease}.profile-store:hover{background:var(--item-hover)}.main{flex:1;height:100vh;background:var(--main-bg);position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden}.main-topbar{height:52px;display:flex;align-items:center;justify-content:center;padding-top:8px;flex-shrink:0}.expand-btn{position:absolute;top:14px;left:14px;z-index:5}.status-corner{position:absolute;top:18px;right:20px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--text-dim);border-radius:50%;transition:background-color .12s ease}.status-corner:hover{background:var(--item-hover)}.mode-switch{width:228px;height:38px;display:flex;padding:3px;background:var(--item-hover);border:1px solid var(--border);border-radius:999px}.mode-option{flex:1;display:flex;align-items:center;justify-content:center;border-radius:999px;font-size:14px;color:var(--text-dim);transition:background-color .12s ease,color .12s ease}.mode-option.active{background:var(--item-active);color:var(--strong-text)}.main-content{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;padding:0 20px;margin-top:20vh}.welcome-title{font-size:26px;font-weight:500;color:var(--text);letter-spacing:-.2px;margin-bottom:26px}.composer{width:768px;max-width:100%;display:flex;flex-direction:column}.chat-input{width:100%;min-height:52px;background:var(--input-bg);border-radius:26px;display:flex;align-items:center;padding:0 8px;gap:6px}.input-plus{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--text-dim);flex-shrink:0;transition:background-color .12s ease}.input-plus:hover{background:var(--surface-3)}.input-field{flex:1;background:transparent;border:none;outline:none;color:var(--text);font-family:inherit;font-size:16px;line-height:24px;padding:14px 4px;margin:0;resize:none;max-height:200px;display:block}.input-field::placeholder{color:var(--text-muted)}.input-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.model-dropdown{position:relative}.model-trigger{display:flex;align-items:center;gap:3px;height:34px;padding:0 8px;border-radius:17px;font-size:14px;color:var(--text-dim);white-space:nowrap;transition:background-color .12s ease}.model-trigger:hover{background:var(--surface-3)}.model-menu{position:absolute;bottom:calc(100% + 8px);right:0;min-width:210px;background:var(--surface-2);border:1px solid var(--surface-3);border-radius:12px;padding:6px;box-shadow:0 8px 24px var(--shadow-strong);z-index:10;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.model-menu::-webkit-scrollbar{width:8px}.model-menu::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.model-menu-label{font-size:11px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--text-muted);padding:6px 10px 4px}.model-menu-left{display:flex;align-items:center;gap:10px;white-space:nowrap}.model-menu-item{white-space:nowrap}.model-menu-sep{height:1px;background:var(--surface-3);margin:6px 4px}.model-menu-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:8px;font-size:14px;color:var(--text);transition:background-color .12s ease}.model-menu-item:hover{background:var(--surface-3)}.model-menu-plus{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;background:#7d82ff29;color:#a9adff;flex-shrink:0}.model-menu-grid{column-count:2;column-gap:8px}.model-menu-grid .model-menu-group{break-inside:avoid}@media (max-width: 560px){.model-menu-grid{column-count:1}}.input-icon-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--text-dim);transition:background-color .12s ease}.input-icon-btn:hover{background:var(--surface-3)}.voice-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--accent);color:#fff;flex-shrink:0;transition:background-color .12s ease}.voice-btn:hover{background:#3a7be0}.suggestions{width:768px;max-width:100%;margin-top:20px;display:flex;flex-direction:column;padding-left:14px}.suggestion{display:flex;align-items:center;gap:14px;height:52px;text-align:left;color:var(--text-dim);font-size:15px;border-radius:10px;padding:0 8px;transition:background-color .12s ease}.suggestion:hover{background:var(--item-hover)}.suggestion-icon{display:flex;align-items:center;justify-content:center;width:22px;flex-shrink:0}.suggestion-text{line-height:1.3}.plus-wrap{position:relative;flex-shrink:0}.input-plus:disabled{opacity:.5;cursor:default}.plus-menu{position:absolute;bottom:calc(100% + 10px);left:0;min-width:180px;background:var(--surface-2);border:1px solid var(--surface-3);border-radius:12px;padding:6px;box-shadow:0 8px 24px var(--shadow-strong);z-index:20}.plus-menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;font-size:14px;color:var(--text);text-align:left;transition:background-color .12s ease}.plus-menu-item:hover{background:var(--surface-3)}.plus-menu-icon{flex-shrink:0;color:var(--text-dim)}.plus-menu-text{display:flex;flex-direction:column;gap:1px;min-width:0}.plus-menu-title{font-size:14px;color:var(--text);line-height:1.3}.plus-menu-sub{font-size:12px;color:var(--text-muted);line-height:1.3}.plus-menu-sep{height:1px;background:var(--surface-3);margin:6px 4px}.more-menu.nebula-popover{padding:6px}.more-menu .plus-menu-item{align-items:flex-start;gap:12px;min-height:0;padding:9px 10px}.more-menu .plus-menu-icon{margin-top:1px}.more-menu .plus-menu-title{font-size:14px}.more-menu .plus-menu-item:hover .plus-menu-icon,.more-menu .plus-menu-item:focus-visible .plus-menu-icon{color:var(--text)}.attachments{display:flex;flex-wrap:wrap;gap:8px;padding:4px 8px 10px}.attachment-chip{display:flex;align-items:center;gap:8px;max-width:220px;padding:6px 8px 6px 10px;background:var(--surface-2);border:1px solid var(--surface-3);border-radius:10px;font-size:13px;color:var(--text)}.attachment-thumb{position:relative;width:60px;height:60px;border-radius:12px;overflow:hidden;border:1px solid var(--surface-3);background:var(--item-hover);flex-shrink:0}.attachment-thumb-img{width:100%;height:100%;object-fit:cover;display:block}.attachment-thumb-remove{position:absolute;top:3px;right:3px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#000000a6;color:#fff;transition:background-color .12s ease}.attachment-thumb-remove:hover{background:#000000d9}.attachment-icon{display:flex;color:var(--text-dim);flex-shrink:0}.attachment-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-remove{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;color:var(--text-dim);flex-shrink:0;transition:background-color .12s ease}.attachment-remove:hover{background:var(--surface-3);color:#fff}.input-icon-btn.listening{color:#ff5b5b;background:#ff5b5b1f}.composer-notice{margin-top:8px;font-size:13px;color:var(--text-dim);text-align:center}.main-content.conversation-mode{margin-top:0;padding:0;justify-content:flex-start;min-height:0;position:relative}.main-content.work{margin-top:0;justify-content:center}.conversation{flex:1;min-height:0;width:100%;overflow-y:auto;display:flex;flex-direction:column;align-items:center}.conversation-inner{width:768px;max-width:100%;padding:24px 20px 12px}.conversation::-webkit-scrollbar{width:8px}.conversation::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.conversation{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.composer-dock{width:100%;display:flex;justify-content:center;padding:8px 20px 24px;background:var(--main-bg);flex-shrink:0}.composer-dock .composer{width:768px}.composer-dock.welcome-dock{padding:0;background:transparent}.scroll-to-bottom{position:absolute;bottom:96px;left:50%;transform:translate(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);color:var(--text);z-index:15;box-shadow:0 2px 10px var(--shadow-strong);transition:background-color .12s ease}.scroll-to-bottom:hover{background:var(--surface-3)}.msg-row{display:flex;width:100%;margin-bottom:22px}.msg-row.user{justify-content:flex-end}.msg-row.assistant{justify-content:flex-start}.msg-bubble-user{max-width:75%;background:var(--bubble-user);color:var(--text);padding:10px 16px;border-radius:20px;font-size:15px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.msg-assistant{width:100%;color:var(--text);font-size:15px;line-height:1.65}.msg-attachments,.msg-user-images{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.msg-user-image{max-width:200px;max-height:200px;width:auto;height:auto;border-radius:12px;display:block}.msg-attachment{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-dim);background:#00000040;padding:3px 8px;border-radius:8px}.typing-dots{display:inline-flex;gap:5px;padding:6px 0}.typing-dots span{width:7px;height:7px;border-radius:50%;background:#8e8e8e;animation:typing 1.2s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.18s}.typing-dots span:nth-child(3){animation-delay:.36s}@keyframes typing{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.msg-error{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:14px;color:#ff8080}.retry-btn{margin-left:4px;font-size:13px;color:var(--text);border:1px solid var(--surface-3);border-radius:8px;padding:3px 10px;transition:background-color .12s ease}.retry-btn:hover{background:var(--surface-2)}.msg-note{margin-top:6px;font-size:13px;color:var(--text-muted)}.msg-image-wrap{display:inline-block;max-width:100%}.msg-image{display:block;max-width:min(420px,100%);width:auto;height:auto;border-radius:14px;border:1px solid var(--border)}.image-loading{display:flex;align-items:center;gap:10px;padding:6px 0;color:var(--text-dim);font-size:14px}.image-loading-text{color:var(--text-dim)}.message-actions{display:flex;gap:2px;margin-top:6px;opacity:0;transition:opacity .12s ease}.msg-row.assistant:hover .message-actions{opacity:1}.msg-action-btn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim);text-decoration:none;transition:background-color .12s ease,color .12s ease}.msg-action-btn:hover{background:var(--surface-2);color:var(--text)}.msg-action-btn:disabled{opacity:.4;cursor:default}.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}.markdown p{margin:0 0 12px}.markdown h1,.markdown h2,.markdown h3{margin:18px 0 10px;font-weight:600;line-height:1.3}.markdown h1{font-size:20px}.markdown h2{font-size:18px}.markdown h3{font-size:16px}.markdown ul,.markdown ol{margin:0 0 12px;padding-left:22px}.markdown li{margin:4px 0}.markdown blockquote{margin:0 0 12px;padding:4px 14px;border-left:3px solid var(--surface-3);color:var(--text-dim)}.markdown a{color:#7ca7ff;text-decoration:underline}.markdown table{border-collapse:collapse;margin:0 0 12px;width:100%;font-size:14px}.markdown th,.markdown td{border:1px solid var(--border);padding:6px 10px;text-align:left}.markdown th{background:var(--item-hover)}.inline-code{background:var(--surface-2);border-radius:5px;padding:1px 5px;font-size:13.5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.code-block{margin:0 0 14px;border-radius:12px;overflow:hidden;border:1px solid var(--border)}.code-block-head{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:var(--item-hover);font-size:12px;color:var(--text-muted)}.code-block-lang{display:inline-flex;align-items:center;gap:6px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:600;text-transform:capitalize;color:var(--strong-text)}.code-block-lang svg{flex-shrink:0;opacity:.85}.code-block pre code{background:transparent!important}.code-block pre,.code-block pre code,.code-block pre code span{text-shadow:none!important}.code-copy-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--text-dim);border-radius:6px;transition:background-color .12s ease,color .12s ease}.code-copy-btn:hover{background:var(--surface-2);color:var(--text)}.code-card{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:12px 14px;text-align:left;background:var(--input-bg);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:border-color .12s ease,background-color .12s ease;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.code-card:hover{border-color:var(--surface-3);background:var(--item-hover)}.code-card-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--surface-2);color:var(--strong-text)}.code-card-info{display:flex;flex-direction:column;min-width:0;flex:1}.code-card-name{font-size:14px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.code-card-meta{font-size:12.5px;color:var(--text-muted);text-transform:capitalize}.code-card-open{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;font-size:13px;font-weight:500;color:var(--text-dim)}.code-viewer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000009e;display:flex;align-items:center;justify-content:center;padding:24px;z-index:300}.code-viewer{display:flex;flex-direction:column;width:900px;max-width:100%;height:82vh;background:var(--main-bg);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 30px 80px var(--shadow-strong);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.code-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;background:var(--sidebar-bg);border-bottom:1px solid var(--border);flex-shrink:0}.code-viewer-title{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.code-viewer-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.code-viewer-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;font-size:13px;font-weight:500;color:var(--text-dim);background:var(--input-bg);border:1px solid var(--border);transition:background-color .12s ease,color .12s ease}.code-viewer-btn:hover{background:var(--surface-3);color:var(--text)}.code-viewer-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim);transition:background-color .12s ease,color .12s ease}.code-viewer-close:hover{background:var(--surface-3);color:var(--text)}.code-viewer-body{flex:1;min-height:0;overflow:hidden}.code-viewer-tabs{display:flex;gap:8px;padding:8px 16px;border-bottom:1px solid var(--border);flex-shrink:0}.code-viewer-tabs .code-viewer-btn[aria-pressed=true]{background:var(--surface-3);color:var(--text);border-color:var(--text-muted)}.code-viewer-preview{display:block;width:100%;height:100%;border:0;background:#fff;color-scheme:light}.code-viewer-body>pre,.code-viewer-textarea{box-sizing:border-box;display:block;width:100%;height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.code-viewer-body>pre::-webkit-scrollbar,.code-viewer-textarea::-webkit-scrollbar{width:10px;height:10px}.code-viewer-body>pre::-webkit-scrollbar-track,.code-viewer-textarea::-webkit-scrollbar-track{background:transparent}.code-viewer-body>pre::-webkit-scrollbar-thumb,.code-viewer-textarea::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}.code-viewer-body>pre::-webkit-scrollbar-thumb:hover,.code-viewer-textarea::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.code-viewer-body pre code,.code-viewer-body pre,.code-viewer-body pre code span{text-shadow:none!important}.code-viewer-body pre code{background:transparent!important}.code-viewer-plain{margin:0;padding:16px;background:var(--main-bg);color:var(--text);font:13px/1.6 Fira Code,Fira Mono,ui-monospace,Menlo,Consolas,monospace;white-space:pre;-moz-tab-size:2;tab-size:2}.code-viewer-textarea{width:100%;height:100%;padding:16px;border:none;outline:none;resize:none;background:var(--main-bg);color:var(--text);font-family:Fira Code,Fira Mono,ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;white-space:pre;-moz-tab-size:2;tab-size:2}@media (max-width: 620px){.code-viewer{height:90vh}.code-viewer-btn span{display:none}.code-viewer-btn{padding:0 8px}}.recent-item{display:flex;align-items:center;height:34px;padding:0 4px 0 10px;border-radius:9px;cursor:pointer;position:relative;overflow:visible}.recent-item:hover,.recent-item.active{background:var(--item-hover)}.recent-item-btn{flex:1;text-align:left;font-size:13.5px;color:var(--text);line-height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-menu-trigger{width:26px;height:26px;display:none;align-items:center;justify-content:center;border-radius:7px;color:var(--text-dim);flex-shrink:0}.recent-item:hover .recent-menu-trigger,.recent-item.menu-open .recent-menu-trigger{display:flex}.recent-menu-trigger:hover{background:var(--surface-3);color:var(--text)}.recent-menu{position:absolute;top:32px;right:4px;min-width:150px;background:var(--surface-2);border:1px solid var(--surface-3);border-radius:10px;padding:5px;box-shadow:0 8px 24px var(--shadow-strong);z-index:30}.recent-menu-item{width:100%;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:7px;font-size:13.5px;color:var(--text);transition:background-color .12s ease}.recent-menu-item:hover{background:var(--surface-3)}.recent-menu-item.danger{color:#ff7b7b}.recent-item.editing{padding:0 6px}.recent-rename-input{width:100%;height:30px;background:var(--item-hover);border:1px solid var(--surface-3);border-radius:8px;color:var(--text);font-size:13.5px;font-family:inherit;padding:0 8px;outline:none}.search-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;z-index:100}.search-panel{width:560px;max-width:92vw;background:var(--item-hover);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 20px 60px var(--shadow-strong)}.search-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--border);color:var(--text-dim)}.search-input{flex:1;background:transparent;border:none;outline:none;color:var(--text);font-family:inherit;font-size:16px}.search-results{max-height:50vh;overflow-y:auto;padding:6px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.search-results::-webkit-scrollbar{width:8px}.search-results::-webkit-scrollbar-track{background:transparent}.search-results::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px;border:2px solid transparent;background-clip:padding-box}.search-results::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:padding-box}.search-result{width:100%;display:flex;flex-direction:column;gap:2px;text-align:left;padding:9px 12px;border-radius:9px;transition:background-color .12s ease}.search-result:hover{background:var(--item-hover)}.search-result-title{font-size:14px;color:var(--text)}.search-result-snippet{font-size:12.5px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-empty{padding:20px;text-align:center;color:var(--text-muted);font-size:14px}.work-view{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--text-muted);text-align:center}.work-title{font-size:22px;font-weight:500;color:var(--text)}.work-sub{font-size:14px;color:var(--text-muted)}.voice-mode-bar{position:absolute;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:8px 10px 8px 16px;background:var(--item-hover);border:1px solid var(--border);border-radius:999px;font-size:14px;color:var(--text);z-index:40}.voice-mode-pulse{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:pulse 1.2s infinite ease-in-out}@keyframes pulse{0%,to{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}.voice-mode-close{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:var(--text-dim);transition:background-color .12s ease}.voice-mode-close:hover{background:var(--surface-2);color:#fff}.work-root{flex:1;min-height:0;width:100%;display:flex;overflow:hidden}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.work-home{flex:1;min-height:0;width:100%;overflow-y:auto;display:flex;justify-content:center}.work-home-inner{width:100%;max-width:860px;padding:32px 24px 60px}.work-home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.work-home-title{font-size:26px;font-weight:600;color:var(--text)}.work-new-btn{display:flex;align-items:center;gap:8px;height:38px;padding:0 16px;border-radius:999px;background:var(--accent);color:#fff;font-size:14px;font-weight:500;transition:background-color .12s ease}.work-new-btn:hover{background:#3a7be0}.work-search{display:flex;align-items:center;gap:10px;height:42px;padding:0 14px;background:var(--item-hover);border:1px solid var(--border);border-radius:12px;color:var(--text-dim);margin-bottom:22px}.work-search-input{flex:1;background:transparent;border:none;outline:none;color:var(--text);font-family:inherit;font-size:15px}.work-empty{color:var(--text-muted);font-size:14px;padding:30px 4px;text-align:center}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.project-card{position:relative;display:flex;align-items:flex-start;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:14px;transition:border-color .12s ease,background-color .12s ease}.project-card:hover{background:var(--item-hover);border-color:var(--surface-3)}.project-card-main{flex:1;display:flex;gap:12px;padding:16px;text-align:left;min-width:0}.project-card-icon{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--item-active);color:var(--text-dim)}.project-card-body{display:flex;flex-direction:column;gap:4px;min-width:0}.project-card-name{font-size:15px;font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-card-desc{font-size:13px;color:var(--text-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card-meta{font-size:12px;color:var(--text-muted)}.project-rename-input{background:var(--item-hover);border:1px solid var(--surface-3);border-radius:8px;color:var(--text);font-family:inherit;font-size:15px;padding:4px 8px;outline:none;width:100%}.project-card-menu-trigger{width:34px;height:34px;margin:8px 8px 0 0;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim);flex-shrink:0}.project-card-menu-trigger:hover{background:var(--input-bg)}.project-menu,.source-menu{position:absolute;top:44px;right:10px;min-width:160px;background:var(--surface-2);border:1px solid var(--surface-3);border-radius:10px;padding:5px;box-shadow:0 8px 24px var(--shadow-strong);z-index:40}.project-menu-item,.source-menu-item{width:100%;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:7px;font-size:13.5px;color:var(--text);transition:background-color .12s ease}.project-menu-item:hover,.source-menu-item:hover{background:var(--surface-3)}.project-menu-item.danger,.source-menu-item.danger{color:#ff7b7b}.source-menu-item:disabled{opacity:.4;cursor:default}.workspace{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.workspace-header{display:flex;align-items:center;gap:8px;padding:8px 14px;flex-shrink:0}.workspace-title,.workspace-title-input{font-size:16px;font-weight:500;color:var(--text);background:transparent;border:none;text-align:left}.workspace-title-input{border:1px solid var(--surface-3);border-radius:8px;padding:4px 8px;outline:none;font-family:inherit}.workspace-tabs{display:none;gap:4px;padding:0 12px 8px;flex-shrink:0}.workspace-tab{flex:1;height:34px;border-radius:8px;font-size:14px;color:var(--text-dim);background:var(--sidebar-bg)}.workspace-tab.active{background:var(--item-active);color:var(--strong-text)}.workspace-panels{flex:1;min-height:0;display:grid;grid-template-columns:290px 1fr 320px}.panel-slot{min-height:0;min-width:0;display:flex;border-left:1px solid var(--border)}.panel-slot.sources{border-left:none}.work-panel{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;background:var(--main-bg)}.work-panel-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;flex-shrink:0}.work-panel-title{font-size:14px;font-weight:600;color:var(--text)}.work-panel-add{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--text-dim);padding:5px 9px;border-radius:8px;transition:background-color .12s ease}.work-panel-add:hover{background:var(--input-bg)}.work-panel-empty{color:var(--text-muted);font-size:13px;padding:14px;line-height:1.5}.sources-selectall{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-dim);padding:0 14px 8px}.sources-list{list-style:none;overflow-y:auto;padding:0 8px 12px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.sources-list::-webkit-scrollbar{width:8px}.sources-list::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.source-row{position:relative;display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px}.source-row:hover{background:var(--sidebar-bg)}.source-check{flex-shrink:0;accent-color:#2f6fce}.source-icon{display:flex;color:var(--text-dim);flex-shrink:0}.source-name{flex:1;min-width:0;text-align:left;font-size:13.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-status{color:var(--text-muted);font-size:12px}.source-status.error{color:#ff7b7b}.source-rename-input{flex:1;background:var(--item-hover);border:1px solid var(--surface-3);border-radius:6px;color:var(--text);font-family:inherit;font-size:13.5px;padding:3px 6px;outline:none}.source-menu-trigger{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:7px;color:var(--text-dim);flex-shrink:0;opacity:0}.source-row:hover .source-menu-trigger{opacity:1}.source-menu-trigger:hover{background:var(--surface-2)}.source-menu{top:auto;right:8px}.project-chat{background:var(--main-bg)}.pc-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:center;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.pc-scroll::-webkit-scrollbar{width:8px}.pc-scroll::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.pc-inner{width:100%;max-width:720px;padding:20px 20px 8px}.pc-welcome{color:var(--text-dim);text-align:center;margin-top:12vh}.pc-welcome h2{font-size:20px;color:var(--text);margin-bottom:8px}.pc-welcome p{font-size:14px;line-height:1.5}.pc-citations{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.pc-citation{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-dim);background:var(--sidebar-bg);border:1px solid var(--border);border-radius:8px;padding:4px 9px;transition:background-color .12s ease}.pc-citation:hover{background:var(--item-active)}.pc-citation-n{color:#7ca7ff;font-weight:600}.pc-composer-dock{flex-shrink:0;display:flex;justify-content:center;padding:8px 20px 18px;background:var(--main-bg)}.pc-input{width:100%;max-width:720px}.studio-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 14px 16px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.studio-scroll::-webkit-scrollbar{width:8px}.studio-scroll::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.studio-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.studio-tool{display:flex;align-items:center;gap:7px;padding:9px 10px;border-radius:10px;background:var(--sidebar-bg);border:1px solid var(--border);color:var(--text);font-size:13px;transition:background-color .12s ease}.studio-tool:hover:not(:disabled){background:var(--input-bg)}.studio-tool:disabled{opacity:.55;cursor:default}.studio-section{margin-bottom:18px}.studio-section-title{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-dim);margin-bottom:10px}.studio-note-add{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:12.5px;color:#7ca7ff}.studio-output,.studio-note{background:var(--sidebar-bg);border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:10px}.studio-output-head{display:flex;align-items:center;justify-content:space-between;font-size:13.5px;font-weight:600;color:var(--text);margin-bottom:8px}.studio-output-body{font-size:13.5px;color:var(--text-dim);max-height:320px;overflow-y:auto;overflow-x:auto;overflow-wrap:anywhere;word-break:break-word}.studio-output-body .markdown pre,.studio-note-body{overflow-wrap:anywhere;word-break:break-word}.studio-note-body{font-size:13px;color:var(--text-dim);white-space:pre-wrap}.note-editor{margin-bottom:12px}.source-modal{width:460px;max-width:100%;background:var(--input-bg);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 24px 64px var(--shadow-strong)}.source-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.source-tabs{display:flex;gap:6px;margin-bottom:14px}.source-tab{display:flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;font-size:13px;color:var(--text-dim);background:var(--sidebar-bg);border:1px solid var(--border)}.source-tab.active{background:var(--surface-2);color:var(--strong-text)}.source-tab-body{display:flex;flex-direction:column;gap:12px}.source-drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px;border:1px dashed var(--surface-3);border-radius:12px;color:var(--text-dim);font-size:14px}.source-drop:hover{border-color:#4a4a4a;background:var(--sidebar-bg)}.source-drop-hint{font-size:12px;color:var(--text-muted)}.source-input{height:40px;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:10px;color:var(--text);font-family:inherit;font-size:14px;padding:0 12px;outline:none}.source-textarea{min-height:140px;resize:vertical;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:10px;color:var(--text);font-family:inherit;font-size:14px;padding:10px 12px;outline:none}.source-viewer{width:760px;max-width:100%;height:80vh;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 64px var(--shadow-strong)}.source-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border)}.source-viewer-title{font-size:15px;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-viewer-actions{display:flex;gap:4px}.source-viewer-body{flex:1;min-height:0;overflow-y:auto;padding:16px 20px}.source-viewer-image{max-width:100%;border-radius:10px}.source-viewer-text{font-size:14px;line-height:1.6;color:var(--text-dim)}.source-chunk{margin-bottom:12px;padding:8px 10px;border-radius:8px;white-space:pre-wrap}.source-chunk.highlight{background:#7ca7ff24;border:1px solid rgba(124,167,255,.35)}.source-chunk-page{display:inline-block;font-size:11px;color:var(--text-muted);margin-right:8px}@media (max-width: 860px){.workspace-tabs{display:flex}.workspace-panels{grid-template-columns:1fr}.panel-slot{display:none;border-left:none}.panel-slot.active{display:flex}}.addons{flex:1;min-height:0;width:100%;overflow-y:auto;display:flex;justify-content:center;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.addons::-webkit-scrollbar{width:8px}.addons::-webkit-scrollbar-track{background:transparent}.addons::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.addons::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.addons-inner{width:100%;max-width:920px;padding:28px 24px 60px}.addons-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.addons-title{font-size:26px;font-weight:600;color:var(--text)}.addons-subtitle{font-size:14px;color:var(--text-muted);margin-top:4px}.addons-tabs{display:flex;gap:4px;margin:16px 0 14px;border-bottom:1px solid var(--border)}.addons-tab{padding:8px 12px;font-size:14px;color:var(--text-dim);border-bottom:2px solid transparent;margin-bottom:-1px}.addons-tab.active{color:var(--strong-text);border-bottom-color:#2f6fce}.addons-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.addons-cat{font-size:12.5px;color:var(--text-dim);padding:5px 12px;border-radius:999px;background:var(--sidebar-bg);border:1px solid var(--border);transition:background-color .12s ease}.addons-cat:hover{background:var(--input-bg)}.addons-cat.active{background:var(--surface-2);color:var(--strong-text);border-color:var(--surface-3)}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.skill-card{display:flex;flex-direction:column;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:14px;transition:border-color .12s ease,background-color .12s ease}.skill-card:hover{background:var(--item-hover);border-color:var(--surface-3)}.skill-card-main{text-align:left;padding:14px 14px 10px;display:flex;flex-direction:column;gap:8px}.skill-card-top{display:flex;align-items:center;gap:10px}.skill-card-icon{width:40px;height:40px;border-radius:11px;background:var(--item-active);color:var(--text);display:flex;align-items:center;justify-content:center;flex-shrink:0}.skill-card-head{display:flex;flex-direction:column;min-width:0}.skill-card-name{font-size:15px;font-weight:500;color:var(--text)}.skill-card-author{font-size:12px;color:var(--text-muted)}.skill-card-desc{font-size:13px;color:var(--text-dim);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.skill-card-caps{display:flex;flex-wrap:wrap;gap:6px}.skill-cap{font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text-dim);background:var(--item-hover);border:1px solid var(--border);border-radius:6px;padding:2px 6px}.skill-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 12px 14px}.skill-install-btn{display:flex;align-items:center;gap:6px;height:32px;padding:0 14px;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;transition:background-color .12s ease}.skill-install-btn:hover{background:#3a7be0}.skill-badge{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;padding:5px 10px;border-radius:999px}.skill-badge.on{color:#6ee7a8;background:#2ea0641f}.skill-badge.off{color:var(--text-dim);background:var(--item-hover)}.skill-badge.soon{color:var(--text-muted);background:var(--sidebar-bg);border:1px solid var(--border)}.skill-card-menu{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-dim)}.skill-card-menu:hover{background:var(--input-bg)}.skill-detail{width:560px;max-width:100%;max-height:82vh;background:var(--item-hover);border:1px solid var(--border);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 64px var(--shadow-strong)}.skill-detail-head{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--border)}.skill-detail-title{display:flex;align-items:center;gap:12px}.skill-detail-name{font-size:18px;font-weight:600;color:var(--text)}.skill-detail-body{flex:1;min-height:0;overflow-y:auto;padding:16px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.skill-detail-body::-webkit-scrollbar{width:8px}.skill-detail-body::-webkit-scrollbar-track{background:transparent}.skill-detail-body::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.skill-detail-body::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.skill-detail-desc{font-size:14px;color:var(--text-dim);line-height:1.5;margin-bottom:12px}.skill-detail-soon{font-size:13px;color:#e0b15a;background:#e0b15a1a;border:1px solid rgba(224,177,90,.25);border-radius:10px;padding:8px 12px;margin-bottom:14px}.skill-detail-section{margin-bottom:18px}.skill-detail-section h4{font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--text-muted);margin-bottom:8px}.skill-detail-muted{font-size:13px;color:var(--text-muted)}.skill-instructions{font-size:13.5px;color:var(--text-dim);line-height:1.5;white-space:pre-wrap}.skill-tools{display:flex;flex-direction:column;gap:8px}.skill-tool{display:flex;flex-direction:column;gap:2px;background:var(--sidebar-bg);border:1px solid var(--border);border-radius:10px;padding:8px 10px}.skill-tool code{font-size:12.5px;color:#7ca7ff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.skill-tool span{font-size:12.5px;color:var(--text-dim)}.skill-perms,.perm-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none}.skill-perm,.perm-item{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text-dim);background:var(--item-hover);border:1px solid var(--border);border-radius:8px;padding:5px 10px}.skill-toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--text)}.skill-toggle-row input{accent-color:#2f6fce;width:16px;height:16px}.skill-detail-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 16px;border-top:1px solid var(--border)}.confirm-btn.danger,.confirm-btn.primary{display:inline-flex;align-items:center;gap:6px}.create-perms{display:flex;flex-direction:column;gap:8px}.create-perms-label{font-size:13px;color:var(--text-dim)}.create-perms-list{display:flex;flex-wrap:wrap;gap:8px}.create-perm{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text-dim);background:var(--sidebar-bg);border:1px solid var(--border);border-radius:8px;padding:6px 10px;cursor:pointer}.create-perm.active{border-color:#2f6fce}.create-error{font-size:13px;color:#ff7b7b}.create-note{font-size:12px;color:var(--text-muted);line-height:1.5}.tool-activity{margin-bottom:8px}.tool-activity-head{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--text-dim);padding:5px 10px;border-radius:999px;background:var(--sidebar-bg);border:1px solid var(--border)}.tool-activity-head:hover{background:var(--item-hover)}.tool-activity-caret{transition:transform .12s ease}.tool-activity-caret.open{transform:rotate(90deg)}.tool-activity-list{margin-top:6px;display:flex;flex-direction:column;gap:4px}.tool-activity-item{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--text-dim)}.tool-activity-item code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text-dim)}.tool-activity-status{font-size:11px;padding:1px 6px;border-radius:5px}.tool-activity-status.running{color:#e0b15a}.tool-activity-status.done{color:#6ee7a8}.tool-activity-status.error{color:#ff7b7b}@media (max-width: 720px){.skills-grid,.project-grid{grid-template-columns:1fr}}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:20px;z-index:200}.confirm-dialog{width:400px;max-width:100%;background:var(--input-bg);border:1px solid var(--border);border-radius:16px;padding:22px 22px 18px;box-shadow:0 24px 64px var(--shadow-strong)}.confirm-title{font-size:18px;font-weight:600;color:var(--text);margin-bottom:8px}.confirm-message{font-size:14px;color:var(--text-dim);line-height:1.5;margin-bottom:20px}.upsell-body{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.upsell-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#7d82ff29;color:#a9adff}.upsell-lead{margin:0;font-size:15px;color:var(--text);line-height:1.5}.upsell-desc{margin:0;font-size:13.5px;color:var(--text-dim);line-height:1.5}.upsell-hint{margin:0;font-size:12.5px;color:var(--text-muted);line-height:1.5}.confirm-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-btn{height:38px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:500;transition:background-color .12s ease,border-color .12s ease}.confirm-btn.cancel{background:transparent;border:1px solid var(--surface-3);color:var(--text)}.confirm-btn.cancel:hover{background:var(--surface-2)}.confirm-btn.danger{background:#e5484d;color:#fff}.confirm-btn.danger:hover{background:#f05a5f}.confirm-btn.primary{background:var(--accent);color:#fff}.confirm-btn.primary:hover{background:#3a7be0}@media (max-width: 1000px){.composer,.suggestions{width:90%}}@media (max-width: 768px){.sidebar{display:none}.main-content{margin-top:16vh}.welcome-title{font-size:22px;text-align:center}}.generation-progress{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 14px;color:var(--text-muted);font-size:12px;line-height:1.6}.generation-progress-count{padding:2px 9px;border:1px solid var(--border);border-radius:999px;background:var(--sidebar-bg);color:var(--text-dim);font-variant-numeric:tabular-nums}.generation-progress-time{font-variant-numeric:tabular-nums}.generation-progress-hint{flex-basis:100%;padding-left:22px;font-size:11px}.chart-card{--chart-surface: #14171c;--chart-border: #2b3039;--chart-muted: #a3adbd;--chart-accent: #6ea8ff;margin:20px 0;padding:24px;border:1px solid var(--chart-border);border-radius:18px;background:var(--chart-surface);color:var(--text);overflow:hidden;white-space:normal;min-width:0;box-shadow:0 3px 16px #0000000a}.chart-card[data-chart-theme=light]{--chart-surface: #fff;--chart-border: #e5e9ef;--chart-muted: #667085;--chart-accent: #2563eb}.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.chart-head>div{min-width:0}.chart-eyebrow{color:var(--chart-muted);font-size:10px;letter-spacing:.12em;font-weight:600}.chart-card .chart-head h3{margin:7px 0 6px;font-size:20px;font-weight:600;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}.chart-card .chart-head p{margin:0;color:var(--chart-muted);font-size:12px;line-height:1.5}.chart-icon-btn{display:inline-flex;justify-content:center;align-items:center;width:32px;height:32px;border:1px solid transparent;border-radius:7px;color:var(--chart-muted);background:transparent;flex-shrink:0}.chart-icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text);border-color:var(--chart-border)}.chart-icon-btn:disabled{opacity:.3;cursor:default}.chart-icon-btn:focus-visible,.chart-legend button:focus-visible{outline:2px solid var(--chart-accent);outline-offset:2px}.chart-legend{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:18px 0 10px;font-size:12px;color:var(--chart-muted)}.chart-legend button{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:6px;border:1px solid var(--chart-border);font-size:12px;transition:opacity .12s,background .12s}.chart-legend button:hover{background:var(--surface-2)}.chart-legend button[aria-pressed=false]{opacity:.45;text-decoration:line-through}.chart-legend i,.chart-tooltip i{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%}.chart-legend b{margin-left:auto;font-size:10px;font-weight:400;color:var(--chart-muted)}.chart-toolbar{display:flex;align-items:center;gap:2px;margin:0 0 8px;border-bottom:1px solid var(--chart-border);padding-bottom:6px}.chart-toolbar>span{margin-right:auto;font-size:11px;color:var(--chart-muted);font-variant-numeric:tabular-nums}.chart-plot{position:relative;width:100%;min-width:0}.chart-plot>svg{display:block;width:100%;height:auto;overflow:visible}.chart-interaction{cursor:crosshair;touch-action:pan-y;outline:none}.chart-interaction:focus-visible{outline:2px solid var(--chart-accent);outline-offset:-2px}.chart-tooltip{position:absolute;width:180px;max-width:calc(100% - 16px);pointer-events:none;z-index:1;padding:12px;border:1px solid var(--chart-border);border-radius:10px;background:var(--chart-surface);box-shadow:0 6px 24px #00000024;font-size:12px;color:var(--text)}.chart-tooltip>strong{display:block;font-size:11px;font-weight:500;color:var(--chart-muted);margin-bottom:10px}.chart-tooltip>div{display:flex;justify-content:space-between;gap:8px;margin-top:7px;font-variant-numeric:tabular-nums}.chart-tooltip span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.chart-tooltip b{font-weight:600}.chart-tooltip small{display:block;margin-top:8px;font-size:10px;color:var(--chart-muted)}.chart-readout{min-height:40px;padding:12px 0;font-size:11px;line-height:1.5;color:var(--chart-muted);font-variant-numeric:tabular-nums}.chart-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--chart-border);font-size:11px;color:var(--chart-muted)}.chart-footer>span{overflow-wrap:anywhere;min-width:0}.chart-footer button{flex-shrink:0;font-size:11px;background:transparent}.chart-table{max-height:300px;overflow:auto;margin-top:14px;font-size:12px}.chart-table table{width:100%;border-collapse:collapse}.chart-table th,.chart-table td{padding:8px 12px;text-align:left;border-bottom:1px solid var(--chart-border)}.chart-table caption{text-align:left;padding:10px}.chart-pending{display:flex;gap:10px;border:1px solid var(--border);padding:18px;border-radius:14px;color:var(--text-dim);white-space:normal}.chart-pending pre{max-height:200px;overflow:auto}@media (max-width: 620px){.chart-card{padding:16px 12px;border-radius:14px}.chart-card .chart-head h3{font-size:18px}.chart-footer{align-items:flex-start}.chart-legend b{width:100%;margin:6px 0 0}}@media (max-width: 767px),(pointer: coarse) and (max-height: 500px) and (max-width: 1023px){:root{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px)}html,body,#root{width:100%;height:100%;overflow:hidden}.app{position:fixed;top:var(--mobile-viewport-top, 0px);left:0;width:100%;height:100dvh;height:var(--mobile-viewport-height, 100dvh);padding-left:var(--safe-left);padding-right:var(--safe-right)}.app .main{width:100%;min-width:0;height:100%}.mobile-touch{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:10px;color:var(--text)}.mobile-touch:active{background:var(--item-active)}.mobile-touch:focus-visible,.mobile-model-row:focus-visible,.mobile-settings-home button:focus-visible{outline:2px solid var(--text-dim);outline-offset:-3px}.mobile-app-header{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:calc(52px + var(--safe-top));padding:var(--safe-top) 6px 0;background:var(--main-bg);flex-shrink:0}.mobile-app-header>span{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app .main-content{margin:0;padding:0 12px;min-height:0;justify-content:flex-start}.app .main-content:not(.conversation-mode){display:grid;grid-template-rows:minmax(60px,1fr) auto;gap:18px;padding-bottom:calc(10px + var(--safe-bottom));overflow:hidden}.app .welcome-title{align-self:end;font-size:25px;line-height:1.25;max-width:290px;margin:0 auto 12px;text-wrap:balance}.app .main-content:not(.conversation-mode)>.composer-dock{grid-row:2;align-self:end}.app .main-content:not(.conversation-mode)>.suggestions{display:none}.app .composer,.app .composer-dock,.app .composer-dock .composer,.app .suggestions{width:100%;max-width:100%;min-width:0}.app .composer-dock{padding:8px 0 calc(10px + var(--safe-bottom));position:sticky;bottom:0;z-index:2}.app .conversation{overscroll-behavior:contain}.app .conversation-inner{padding:16px 2px 12px}.app .msg-bubble-user{max-width:92%}.app .msg-row{min-width:0}.app .msg-assistant{min-width:0;max-width:100%}.markdown{overflow-wrap:anywhere}.markdown table{display:block;overflow-x:auto;max-width:100%}.app .chat-input:not(.pc-input){display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:0 2px;padding:6px;border-radius:22px;align-items:center}.app .chat-input:not(.pc-input)>.input-field{grid-column:1 / -1;grid-row:1;width:100%;min-width:0;padding:8px 10px;font-size:16px;max-height:min(160px,26dvh)}.app .chat-input:not(.pc-input)>.plus-wrap,.app .chat-input:not(.pc-input)>.input-plus{grid-column:1;grid-row:2}.app .chat-input:not(.pc-input)>.input-actions{display:contents}.app .model-dropdown,.app .gallery-model{grid-column:2;grid-row:2;min-width:0}.app .model-trigger{width:100%;min-width:0;min-height:44px;font-size:12px;gap:4px;padding:0 5px;justify-content:flex-start}.app .model-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app .input-actions>.input-icon-btn{grid-column:3;grid-row:2}.app .input-actions>.voice-btn{grid-column:4;grid-row:2}.app .input-icon-btn,.app .voice-btn,.app .input-plus,.app .icon-btn{width:44px;height:44px;flex-shrink:0}.app textarea,.mobile-sheet textarea,.mobile-sheet input:not([type=checkbox]):not([type=range]),.app .work-search-input{font-size:16px;min-width:0}.app .input-field{overflow-y:auto}.app .attachments{max-height:90px;overflow:auto}.app .generation-progress-hint{display:none}.app .scroll-to-bottom{bottom:150px}dialog.mobile-sheet{position:fixed;inset:auto;top:var(--mobile-viewport-top, 0px);left:0;width:100%;height:100dvh;height:var(--mobile-viewport-height, 100dvh);max-height:none;max-width:none;margin:0;padding:0 var(--safe-right) 0 var(--safe-left);border:0;border-radius:0;color:var(--text);background:var(--main-bg);overflow:hidden}dialog.mobile-sheet[open]{display:flex;flex-direction:column;animation:mobile-screen-in .18s ease-out}dialog.mobile-sheet.is-closing{animation:mobile-screen-out .18s ease-in forwards;pointer-events:none}.mobile-sheet::backdrop{background:#0000008c}.mobile-header{position:sticky;top:0;display:flex;align-items:center;flex:0 0 auto;min-height:calc(56px + var(--safe-top));gap:8px;padding:var(--safe-top) 10px 0;background:var(--main-bg);border-bottom:1px solid var(--border);z-index:1}.mobile-header h1{font-size:16px;line-height:1.3;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.mobile-sheet-body{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:var(--safe-bottom);scrollbar-width:thin}.mobile-sheet-footer{flex-shrink:0;padding:12px 16px calc(12px + var(--safe-bottom));border-top:1px solid var(--border);background:var(--main-bg)}.mobile-sheet .icon-btn,.mobile-sheet .set-btn,.mobile-sheet .confirm-btn,.mobile-sheet .nebula-select-trigger,.mobile-sheet .viewer-btn{min-height:44px}.mobile-sheet .icon-btn{min-width:44px}.mobile-model-selector .mobile-sheet-body{padding:16px 12px calc(24px + var(--safe-bottom))}.mobile-model-row{width:100%;display:flex;align-items:center;gap:12px;padding:15px 10px;text-align:left;border-radius:12px;min-height:76px;border:1px solid transparent}.mobile-model-row:active,.mobile-model-row[aria-pressed=true]:not(.featured){background:var(--item-hover)}.mobile-model-row.featured{background:var(--sidebar-bg);border-color:var(--border);margin-bottom:20px;flex-wrap:wrap}.mobile-model-logo{display:flex;align-items:center;justify-content:center;width:32px;flex-shrink:0}.mobile-model-copy{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}.mobile-model-name{font-size:14px;font-weight:500;overflow-wrap:anywhere}.mobile-model-description{font-size:12px;color:var(--text-muted);line-height:1.5}.mobile-model-badge{font-size:10px;padding:4px 7px;border-radius:6px;border:1px solid var(--border);color:var(--text-dim)}.mobile-model-row.featured .mobile-model-badge{margin-left:44px}.mobile-model-row>svg{flex-shrink:0}.mobile-model-group{margin:0 0 16px}.mobile-model-group h2{margin:0;padding:10px;font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em}.mobile-settings-home{padding:16px;display:flex;flex-direction:column}.mobile-settings-home button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;min-height:64px;border-bottom:1px solid var(--border)}.mobile-settings-home button span{flex:1;font-size:15px}.mobile-settings-home button:active{background:var(--item-hover)}.mobile-settings-page.is-detail{padding:20px 14px;animation:mobile-screen-in .18s ease-out}.mobile-settings-page.is-home{animation:mobile-back-in .18s ease-out}.mobile-settings .set-row{padding:14px;gap:12px;flex-wrap:wrap}.mobile-settings .set-row-text{flex:1 1 150px}.mobile-settings .set-row-control{max-width:100%}.mobile-settings .set-row:has(.nebula-select-trigger,.model-dropdown){align-items:stretch;flex-direction:column}.mobile-settings .set-row:has(.nebula-select-trigger,.model-dropdown) .set-row-text{flex:none}.mobile-settings .model-trigger,.mobile-settings .nebula-select-trigger{width:100%;min-height:44px}.mobile-settings .theme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px}.mobile-settings .theme-card{min-width:0;padding:7px}.mobile-settings .theme-card-label{font-size:11px}.mobile-settings .plan-grid,.mobile-settings .help-grid{grid-template-columns:1fr;padding:12px}.mobile-settings .set-profile{padding:14px;gap:10px;flex-wrap:wrap}.mobile-settings .set-profile-email{overflow-wrap:anywhere}.mobile-settings .redeem-form{flex-direction:column}.mobile-settings .plan-current,.mobile-settings .usage-item-head{gap:12px;flex-wrap:wrap}.mobile-settings .accent-dot{width:44px;height:44px}.mobile-settings .set-toggle{min-width:44px;outline-offset:8px}.mobile-settings .set-row:has(.set-toggle){min-height:64px}.mobile-settings .set-toggle:before{content:"";position:absolute;top:-10px;right:0;bottom:-10px;left:0}dialog.mobile-drawer{width:min(340px,calc(100% - 36px));padding-right:0;background:var(--sidebar-bg);border-right:1px solid var(--border)}dialog.mobile-drawer[open]{animation:mobile-drawer-in .18s ease-out}dialog.mobile-drawer.is-closing{animation:mobile-drawer-out .18s ease-in forwards}.mobile-drawer .mobile-sheet-body{display:flex;overflow:hidden;padding:0}.mobile-drawer .sidebar{display:flex;width:100%;height:100%;min-width:0;padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);border:0}.mobile-drawer .sidebar-top{padding-left:14px}.mobile-drawer .sidebar-menu button,.mobile-drawer .recent-item,.mobile-drawer .profile-btn{min-height:46px}.mobile-drawer .icon-btn,.mobile-drawer .profile-store{width:44px;height:44px}.mobile-drawer .recent-actions{opacity:1}.mobile-drawer .sidebar-recents{min-height:0;overscroll-behavior:contain}.app .work-root{width:100%;min-width:0;min-height:0}.app .work-home-inner,.app .addons-inner,.app .gallery-inner{padding:20px 14px 24px;min-width:0}.app .work-home-header,.app .addons-header{flex-wrap:wrap}.app .work-home-title,.app .addons-title,.app .gallery-title{font-size:22px}.app .projects-grid,.app .skills-grid,.app .more-grid{grid-template-columns:minmax(0,1fr)}.app .work-search{width:100%;min-height:44px}.app .work-search-input{width:100%}.app .workspace-header{min-height:48px;padding:2px 10px}.app .workspace-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app .workspace-panels{display:flex;order:1;overflow:hidden}.app .workspace-panels .panel-slot{display:none;border:0;width:100%}.app .workspace-panels .panel-slot.active{display:flex}.app .workspace-tabs{display:flex;order:2;gap:4px;padding:6px 8px calc(6px + var(--safe-bottom));border-top:1px solid var(--border);background:var(--main-bg)}.app .workspace-tab{min-height:44px;font-size:13px;background:transparent}.app .workspace-tab.active{background:var(--item-hover)}.app .pc-composer-dock{padding:6px 10px 8px}.app .pc-input .input-field{min-width:0;width:100%}.app .pc-inner{padding:12px}.app .pc-welcome{margin-top:5vh}.app .addons-categories{flex-wrap:wrap;gap:6px}.app .addons-tab,.app .addons-cat,.app .skill-install-btn,.app .work-new-btn,.app .work-panel-add{min-height:44px}.app .addons-tab{flex:1;padding-left:6px;padding-right:6px;font-size:13px}.app .skill-card-menu{min-width:44px;min-height:44px}.mobile-complex-sheet .mobile-sheet-body{display:flex;flex-direction:column;overflow:hidden}.mobile-complex-sheet .skill-detail,.mobile-complex-sheet .source-modal,.mobile-complex-sheet .source-viewer{display:flex;flex-direction:column;width:100%;height:100%;max-height:none;border:0;border-radius:0;padding:0;background:var(--main-bg);box-shadow:none;min-height:0}.mobile-complex-sheet .skill-detail-head,.mobile-complex-sheet .source-modal-head,.mobile-complex-sheet .source-viewer-head{display:none}.mobile-complex-sheet .skill-detail-body,.mobile-complex-sheet .source-tab-body,.mobile-complex-sheet .source-viewer-body{flex:1;min-height:0;overflow-y:auto;padding:18px 16px;overscroll-behavior:contain}.mobile-complex-sheet .source-tabs{flex-shrink:0;padding:12px 16px 0}.mobile-complex-sheet .source-tab{min-height:44px}.mobile-complex-sheet .skill-detail-footer{flex-shrink:0;padding:12px 16px;border-top:1px solid var(--border)}.mobile-complex-sheet .skill-detail-footer button{width:100%;justify-content:center}.mobile-complex-sheet .skill-tool{overflow-wrap:anywhere}.mobile-complex-sheet .source-input{min-height:44px;flex-shrink:0}.mobile-complex-sheet .source-textarea{min-height:150px}.mobile-complex-sheet .source-original-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;color:var(--text)}.app .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app .gallery-card-menu-btn{opacity:1;width:44px;height:44px}.app .recent-carousel-track{scroll-snap-type:x mandatory;overscroll-behavior-x:contain}.app .recent-slide{flex-basis:74%;scroll-snap-align:start}.app .carousel-arrow{width:44px;height:44px}.app .gallery-dock{padding:8px 12px calc(10px + var(--safe-bottom))}.app .gallery-model{grid-column:2 / 4;font-size:11px;padding:6px;white-space:normal;border:0}.mobile-image-viewer .viewer{display:flex;flex-direction:column;width:100%;height:auto;max-height:none;background:var(--main-bg);border:0;border-radius:0;overflow:visible}.mobile-image-viewer .viewer-close{display:none}.mobile-image-viewer .viewer-stage{flex:none;height:clamp(220px,48dvh,520px);padding:12px;touch-action:pan-y pinch-zoom}.mobile-image-viewer .viewer-img{width:100%;height:100%;object-fit:contain}.mobile-image-viewer .viewer-side{width:100%;padding:18px 16px;overflow:visible;gap:18px;border-left:0}.mobile-image-viewer .viewer-actions{flex-direction:row;flex-wrap:wrap;gap:8px}.mobile-image-viewer .viewer-btn{flex:1 1 auto;justify-content:center;padding:10px}.mobile-image-viewer .viewer-nav{width:44px;height:44px}.mobile-search-sheet .search-panel{width:100%;max-height:none;height:100%;border:0;border-radius:0;box-shadow:none}.mobile-search-sheet .mobile-sheet-body{overflow:hidden}.mobile-search-sheet .search-head>button{display:none}.mobile-search-sheet .search-input{min-width:0;font-size:16px}.mobile-search-sheet .search-results{min-height:0;flex:1;max-height:none;overscroll-behavior:contain}.code-viewer-overlay{padding:0;top:var(--mobile-viewport-top, 0px);bottom:auto;height:var(--mobile-viewport-height, 100dvh)}.code-viewer-overlay .code-viewer{width:100%;height:100%;max-height:none;border:0;border-radius:0;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}.code-viewer-overlay .code-viewer-btn,.code-viewer-overlay .code-viewer-close{min-width:44px;min-height:44px}.code-viewer-overlay .code-viewer-btn span{display:none}.code-viewer-overlay .code-viewer-head{padding:4px 8px;gap:4px}.code-viewer-overlay .code-viewer-title{min-width:0}.app .more-head{padding:10px 12px;flex-wrap:wrap}.app .more-body{padding:16px 14px calc(20px + var(--safe-bottom))}.app .more-head-actions,.app .more-toolbar{flex-wrap:wrap}.app .more-split{grid-template-columns:minmax(0,1fr)}.app .more-inputbar{flex-wrap:wrap}.app .more-input,.app .more-editor,.app .more-doc-editor{min-width:0;font-size:16px}.app .more-btn,.app .more-icon-btn,.app .more-back,.app .more-close{min-height:44px}.nebula-popover{overscroll-behavior:contain}.nebula-menu button,.nebula-option{min-height:44px}.confirm-overlay{padding:12px}.confirm-dialog{max-height:calc(100dvh - 24px);overflow:auto}.confirm-actions{flex-wrap:wrap}.confirm-btn{min-height:44px}.ann-overlay{padding:0}.auth-screen{min-height:100dvh;height:100dvh;overflow-y:auto;padding:calc(20px + var(--safe-top)) max(16px,var(--safe-left)) calc(20px + var(--safe-bottom)) max(16px,var(--safe-right))}}@media (max-width: 349px){.app .gallery-grid{grid-template-columns:minmax(0,1fr)}}@media (min-width: 768px) and (max-width: 768px){.app>.sidebar{display:flex}}@media (max-width: 767px) and (max-height: 480px),(pointer: coarse) and (max-height: 500px) and (max-width: 1023px){.app .main-content:not(.conversation-mode){gap:4px;grid-template-rows:minmax(0,1fr) auto}.app .main-content:not(.conversation-mode)>.suggestions{display:none}.app .main-content:not(.conversation-mode)>.composer-dock{grid-row:2}.app .welcome-title{font-size:20px;margin-bottom:8px}.app .chat-input:not(.pc-input)>.input-field{max-height:72px}}@keyframes mobile-screen-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes mobile-screen-out{to{opacity:0;transform:translateY(8px)}}@keyframes mobile-back-in{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes mobile-drawer-in{0%{opacity:0;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}@keyframes mobile-drawer-out{to{opacity:0;transform:translate(-18px)}}@media (prefers-reduced-motion: reduce){dialog.mobile-sheet[open],.mobile-settings-page{animation:none!important}}:root[data-no-animations] dialog.mobile-sheet[open],:root[data-no-animations] .mobile-settings-page{animation:none}
