:root{--bg: #eef4fb;--bg-elevated: #dde7f6;--surface: rgba(255, 255, 255, .98);--surface-subtle: #f7faff;--surface-muted: #edf3fb;--surface-active: #e8f0ff;--ink: #1f2937;--text-primary: #1f2937;--text-secondary: #607083;--text-tertiary: #94a3b8;--accent: #2563eb;--accent-strong: #1d4ed8;--accent-soft: rgba(37, 99, 235, .1);--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--border: #dce6f4;--border-strong: #c6d4e8;--shadow-soft: 0 calc(10cqw / 7.5) calc(28cqw / 7.5) rgba(15, 23, 42, .06);--shadow-card: 0 2.4cqw 5.6cqw rgba(15, 23, 42, .1);--shadow-panel: 0 calc(28cqw / 7.5) 9.6cqw rgba(15, 23, 42, .12)}page{height:100%;min-height:100%;background:radial-gradient(circle at top left,rgba(255,255,255,.94),transparent 28%),radial-gradient(circle at top right,rgba(96,165,250,.08),transparent 22%),linear-gradient(180deg,#f8fbff 0%,var(--bg) 58%,var(--bg-elevated) 100%);color:var(--text-primary);font-family:Plus Jakarta Sans,Inter,SF Pro Display,PingFang SC,Hiragino Sans GB,sans-serif}view,text,button,input,scroll-view,image{box-sizing:border-box}button{margin:0;padding:0;line-height:inherit;background:transparent}button:after{border:none}.app-shell{height:100%;min-height:100%;padding:calc(20cqw / 7.5)}.app-shell-welcome{display:flex;align-items:stretch;justify-content:center}.app-shell-settings,.app-shell-chat{padding:calc(16cqw / 7.5)}.welcome-shell,.settings-shell,.desktop-chat-shell{width:100%;height:100%;max-width:calc(1000cqw / 7.5);margin:0 auto}.welcome-shell{background:#ffffffc7;border:1px solid rgba(220,230,244,.96);border-radius:4cqw;box-shadow:var(--shadow-panel);overflow:hidden;-webkit-backdrop-filter:blur(2.4cqw);backdrop-filter:blur(2.4cqw)}.window-chrome{display:flex;align-items:center}.welcome-chrome{min-height:calc(56cqw / 7.5);padding:0 3.2cqw;border-bottom:1px solid rgba(220,230,244,.92);background:#ffffffd6}.window-dots{display:flex;align-items:center;gap:calc(10cqw / 7.5)}.window-dot{width:2.4cqw;height:2.4cqw;border-radius:133.2cqw;opacity:.95}.window-dot-red{background:#f46f67}.window-dot-yellow{background:#f7c84f}.window-dot-green{background:#4ac76a}.welcome-body{padding:4cqw 3.2cqw calc(28cqw / 7.5);display:flex;flex-direction:column;gap:3.2cqw}.welcome-header,.page-header{display:flex;flex-direction:column;gap:calc(8cqw / 7.5)}.page-title{color:var(--text-primary);font-size:calc(46cqw / 7.5);line-height:1.18;font-weight:700;letter-spacing:-.02em}.page-subtitle{color:var(--text-secondary);font-size:4cqw;line-height:1.55}.content-stack,.stack,.section-block,.settings-content-grid,.settings-info-list,.desktop-list,.desktop-chat-utilities,.desktop-conversation,.desktop-empty-state,.desktop-compose-card,.desktop-auth-form,.mission-copy{display:flex;flex-direction:column}.content-stack,.stack{gap:2.4cqw}.desktop-auth-screen{display:flex;flex-direction:column;gap:calc(22cqw / 7.5)}.desktop-auth-intro{display:flex;flex-direction:column;gap:calc(10cqw / 7.5)}.desktop-auth-kicker-row,.desktop-auth-highlight-list{display:flex;align-items:center;flex-wrap:wrap;gap:calc(10cqw / 7.5)}.desktop-auth-kicker,.desktop-auth-kicker-meta,.desktop-auth-highlight{min-height:calc(52cqw / 7.5);padding:0 2.4cqw;border-radius:133.2cqw;display:inline-flex;align-items:center;justify-content:center;font-size:calc(22cqw / 7.5);font-weight:600}.desktop-auth-kicker{color:var(--accent-strong);background:#ffffffeb;border:1px solid rgba(37,99,235,.16)}.desktop-auth-kicker-meta,.desktop-auth-highlight{color:var(--text-secondary);background:#f7fafff5;border:1px solid rgba(220,230,244,.9)}.desktop-auth-title{color:var(--text-primary);font-size:calc(46cqw / 7.5);font-weight:700;line-height:1.16;letter-spacing:-.02em}.desktop-auth-subtitle{color:var(--text-secondary);font-size:4cqw;line-height:1.55}.desktop-auth-card,.mission-card,.settings-card,.panel-card,.note-card,.desktop-chat-error,.desktop-compose-card,.desktop-row-card,.desktop-empty-state{background:#fffffff0;border:1px solid var(--border);border-radius:3.2cqw;box-shadow:var(--shadow-soft)}.desktop-auth-card,.settings-card,.panel-card{padding:calc(28cqw / 7.5)}.desktop-auth-tabs{display:flex;align-items:center;gap:calc(8cqw / 7.5);padding:calc(8cqw / 7.5);border-radius:2.4cqw;background:#f7fafff5;border:1px solid var(--border);margin-bottom:2.4cqw}.desktop-auth-tab{flex:1;min-height:10.4cqw;border-radius:calc(14cqw / 7.5);display:flex;align-items:center;justify-content:center;color:var(--text-secondary);font-size:calc(26cqw / 7.5);font-weight:500}.desktop-auth-tab-active{background:var(--surface);color:var(--text-primary);box-shadow:0 calc(8cqw / 7.5) 2.4cqw #0f172a0f}.desktop-auth-form{gap:calc(16cqw / 7.5)}.input-shell{display:flex;flex-direction:column;gap:calc(8cqw / 7.5)}.input-label{color:var(--text-secondary);font-size:3.2cqw;font-weight:600}.input-control,.desktop-compose-input{width:100%;min-height:calc(88cqw / 7.5);padding:0 3.2cqw;border-radius:calc(16cqw / 7.5);border:1px solid var(--border);background:#fffffffa;color:var(--text-primary);font-size:4cqw;box-shadow:inset 0 calc(1cqw / 7.5) 0 #ffffffd1}.input-control::placeholder,.desktop-compose-input::placeholder{color:var(--text-tertiary)}.primary-btn,.ghost-btn,.chat-utility-btn,.settings-card-action-btn,.settings-tab-btn,.desktop-row-btn,.desktop-compose-send{min-height:calc(88cqw / 7.5);padding:0 calc(22cqw / 7.5);border-radius:2.4cqw;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;font-size:calc(28cqw / 7.5);font-weight:500}.primary-btn,.desktop-compose-send{background:linear-gradient(135deg,var(--accent),var(--accent-strong));border-color:#2563ebd6;color:#fff;box-shadow:0 calc(14cqw / 7.5) 3.2cqw #2563eb38}.ghost-btn,.chat-utility-btn,.settings-card-action-btn{background:#fffffff5;border-color:var(--border);color:var(--text-secondary)}.desktop-auth-submit{width:100%}.desktop-auth-hint{margin-top:calc(16cqw / 7.5);color:var(--text-tertiary);font-size:3.2cqw;line-height:1.5;padding-top:calc(14cqw / 7.5);border-top:1px solid rgba(220,230,244,.86)}.desktop-auth-inline-error{color:var(--danger);font-size:3.2cqw;line-height:1.5}.mission-card{position:relative;overflow:hidden;min-height:calc(316cqw / 7.5);background:#10203c;border-color:#1d4ed824}.mission-image{position:absolute;inset:0;width:100%;height:100%}.mission-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#0a122224,#0a1222bd),linear-gradient(90deg,#0b1425f0,#16397e3d)}.mission-copy{position:relative;z-index:1;min-height:calc(316cqw / 7.5);justify-content:flex-end;gap:calc(10cqw / 7.5);padding:calc(26cqw / 7.5)}.mission-badge{align-self:flex-start;padding:calc(8cqw / 7.5) calc(14cqw / 7.5);border-radius:133.2cqw;background:#ffffff24;color:#ffffffeb;font-size:2.4cqw;font-weight:600}.mission-title{max-width:calc(520cqw / 7.5);color:#fff;font-size:calc(56cqw / 7.5);line-height:1.08;font-weight:700;letter-spacing:-.03em}.settings-shell{min-height:100%;display:flex;background:#ffffffd1;border:1px solid rgba(220,230,244,.9);border-radius:4cqw;overflow:hidden;box-shadow:var(--shadow-panel)}.settings-shell-standalone{padding:calc(20cqw / 7.5)}.settings-main-standalone{width:100%;border-radius:3.2cqw;overflow:hidden}.settings-topbar{min-height:9.6cqw;padding:0 calc(28cqw / 7.5);display:flex;align-items:center;gap:calc(16cqw / 7.5);border-bottom:1px solid rgba(220,230,244,.88);background:#ffffffe0}.settings-topbar-brand{color:var(--text-primary);font-size:3.2cqw;font-weight:700}.settings-topbar-meta{color:var(--text-tertiary);font-size:calc(20cqw / 7.5);margin-left:auto}.settings-sidebar{width:calc(226cqw / 7.5);flex-shrink:0;display:flex;flex-direction:column;padding:calc(20cqw / 7.5) calc(14cqw / 7.5) calc(14cqw / 7.5);border-right:1px solid rgba(220,230,244,.9);background:linear-gradient(180deg,#f8fbff,#eff4fc)}.settings-sidebar-top{display:flex;flex-direction:column;gap:calc(10cqw / 7.5);padding-bottom:1.6cqw}.settings-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:1.6cqw}.settings-sidebar-chrome{min-height:calc(22cqw / 7.5)}.settings-sidebar-brand{color:var(--text-primary);font-size:calc(22cqw / 7.5);font-weight:600;padding-left:calc(2cqw / 7.5)}.settings-sidebar-toggle{width:calc(20cqw / 7.5);height:calc(20cqw / 7.5);border-radius:.8cqw;border:1px solid rgba(198,212,232,.94);background:linear-gradient(180deg,#fffffff5,#f1f6fdeb);box-shadow:inset 0 calc(1cqw / 7.5) 0 #ffffffbf}.settings-nav,.settings-sidebar-footer{display:flex;flex-direction:column;gap:.8cqw}.settings-nav{flex:1;padding-top:calc(8cqw / 7.5)}.settings-nav-item{min-height:calc(68cqw / 7.5);display:flex;align-items:center;gap:1.6cqw;padding:0 calc(14cqw / 7.5);border-radius:calc(16cqw / 7.5);color:var(--text-secondary)}.settings-nav-item-clickable,.settings-chat-item-clickable{cursor:pointer}.settings-nav-item-active{background:#2563eb1a;color:var(--text-primary);box-shadow:inset 0 0 0 calc(1cqw / 7.5) #2563eb14}.settings-nav-icon{width:3.2cqw;height:3.2cqw;border-radius:calc(8cqw / 7.5);border:1px solid rgba(198,212,232,.88);background:linear-gradient(180deg,#fffffff5,#f2f7ffeb);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.settings-nav-icon-active{background:#fffffffa;border-color:#2563eb33;color:var(--accent-strong)}.settings-nav-spacer{flex:1}.layout-icon{position:relative;width:calc(16cqw / 7.5);height:calc(16cqw / 7.5)}.layout-icon-account-head,.layout-icon-account-body,.layout-icon-device-screen,.layout-icon-device-base,.layout-icon-chat-bubble,.layout-icon-chat-tail,.layout-icon-settings-ring,.layout-icon-settings-dot{position:absolute;border-color:currentColor}.layout-icon-account-head{top:calc(1cqw / 7.5);left:calc(4cqw / 7.5);width:calc(8cqw / 7.5);height:calc(8cqw / 7.5);border:1px solid currentColor;border-radius:133.2cqw}.layout-icon-account-body{left:calc(2cqw / 7.5);bottom:0;width:1.6cqw;height:calc(7cqw / 7.5);border:1px solid currentColor;border-radius:calc(8cqw / 7.5) calc(8cqw / 7.5) .8cqw .8cqw}.layout-icon-device-screen{top:calc(1cqw / 7.5);left:calc(1cqw / 7.5);width:calc(14cqw / 7.5);height:calc(10cqw / 7.5);border:1px solid currentColor;border-radius:calc(4cqw / 7.5)}.layout-icon-device-base{left:calc(5cqw / 7.5);bottom:0;width:.8cqw;height:calc(2cqw / 7.5);border-top:1px solid currentColor}.layout-icon-chat-bubble{top:calc(1cqw / 7.5);left:calc(1cqw / 7.5);width:calc(14cqw / 7.5);height:calc(10cqw / 7.5);border:1px solid currentColor;border-radius:.8cqw}.layout-icon-chat-tail{left:calc(4cqw / 7.5);bottom:0;width:calc(4cqw / 7.5);height:calc(4cqw / 7.5);border-left:1px solid currentColor;border-bottom:1px solid currentColor;background:#eff4fc;transform:rotate(-20deg)}.settings-nav-icon-active .layout-icon-chat-tail{background:#fffffffa}.layout-icon-settings-ring{top:calc(2cqw / 7.5);left:calc(2cqw / 7.5);width:1.6cqw;height:1.6cqw;border:1px solid currentColor;border-radius:133.2cqw}.layout-icon-settings-dot{top:.8cqw;left:.8cqw;width:calc(4cqw / 7.5);height:calc(4cqw / 7.5);border-radius:133.2cqw;background:currentColor}.settings-nav-label{font-size:calc(22cqw / 7.5);line-height:1.1;font-weight:500}.settings-chat-section{display:flex;flex-direction:column;gap:calc(8cqw / 7.5);padding:1.6cqw 0}.settings-chat-section-primary{flex:1;justify-content:flex-end}.settings-chat-title{padding:0 1.6cqw;color:var(--text-tertiary);font-size:calc(20cqw / 7.5);line-height:1.2;font-weight:600;letter-spacing:.08em}.settings-chat-list{display:flex;flex-direction:column;gap:calc(4cqw / 7.5)}.settings-chat-item{min-height:calc(62cqw / 7.5);display:flex;align-items:center;padding:0 1.6cqw;border-radius:calc(14cqw / 7.5);color:var(--text-secondary)}.settings-chat-item-active{background:#2563eb14;color:var(--text-primary)}.settings-chat-label,.settings-chat-empty{color:inherit;font-size:calc(22cqw / 7.5);line-height:1.35}.settings-chat-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-chat-empty{padding:0 1.6cqw;color:var(--text-tertiary)}.settings-main{flex:1;min-width:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#ffffffa8,#f8fbffeb)}.settings-main-header{padding:calc(34cqw / 7.5) calc(28cqw / 7.5) 2.4cqw;display:flex;flex-direction:column;gap:calc(14cqw / 7.5)}.settings-page-title{color:var(--text-primary);font-size:calc(52cqw / 7.5);line-height:1.08;font-weight:700;letter-spacing:-.03em}.settings-page-subtitle{color:var(--text-secondary);font-size:3.2cqw;line-height:1.5}.settings-tab-strip{display:flex;align-items:center;gap:calc(8cqw / 7.5)}.settings-tab-btn{min-width:17.6cqw;min-height:calc(64cqw / 7.5);padding:0 calc(20cqw / 7.5);border-radius:calc(14cqw / 7.5);background:#fffffff0;border-color:#c6d4e8cc;color:var(--text-secondary);font-size:3.2cqw;font-weight:600}.settings-tab-btn.active{background:#fff;border-color:#2563eb61;color:var(--accent-strong);box-shadow:0 calc(10cqw / 7.5) calc(20cqw / 7.5) #2563eb14}.settings-main-scroll{flex:1;min-height:0;height:0}.settings-main-body{min-height:100%;padding:0 calc(28cqw / 7.5) calc(28cqw / 7.5)}.settings-content-grid{gap:calc(16cqw / 7.5)}.settings-card{gap:2.4cqw;padding:3.2cqw}.settings-card-header,.settings-card-footer{display:flex;align-items:center;justify-content:space-between;gap:calc(14cqw / 7.5)}.settings-card-title{color:var(--text-primary);font-size:calc(28cqw / 7.5);line-height:1.28;font-weight:500}.settings-card-description,.note-text,.desktop-row-meta,.desktop-empty-text,.desktop-empty-prompt,.desktop-compose-hint,.desktop-compose-session,.error-text{color:var(--text-secondary);font-size:3.2cqw;line-height:1.46}.settings-info-list{gap:1.6cqw}.settings-info-row{display:flex;flex-direction:column;gap:.8cqw;padding:2.4cqw calc(20cqw / 7.5);border-radius:calc(16cqw / 7.5);border:1px solid var(--border);background:var(--surface)}.settings-info-label{color:var(--text-tertiary);font-size:2.8cqw}.settings-info-value{color:var(--text-primary);font-size:calc(28cqw / 7.5);line-height:1.42}.break-all{word-break:break-all}.desktop-list{gap:calc(10cqw / 7.5)}.desktop-row-card{display:flex;flex-direction:column;gap:calc(10cqw / 7.5);padding:2.4cqw}.desktop-row-card.active{border-color:#2563eb47;box-shadow:0 calc(14cqw / 7.5) calc(28cqw / 7.5) #2563eb14,inset 0 0 0 1px #2563eb0f}.desktop-row-card.clickable{border-color:#2563eb2e}.desktop-row-top{display:flex;align-items:center;justify-content:space-between;gap:1.6cqw}.desktop-row-title{flex:1;color:var(--text-primary);font-size:calc(28cqw / 7.5);line-height:1.25;font-weight:500}.desktop-status{padding:calc(8cqw / 7.5) calc(14cqw / 7.5);border-radius:133.2cqw;font-size:calc(20cqw / 7.5);font-weight:600;line-height:1;border:1px solid transparent}.desktop-status.online{color:#0f8a5f;background:#10b9811f;border-color:#10b98138}.desktop-status.offline{color:var(--text-secondary);background:var(--surface-subtle);border-color:var(--border)}.desktop-row-id{color:var(--text-tertiary);font-size:calc(20cqw / 7.5);line-height:1.25}.desktop-row-hint{color:var(--accent);font-size:calc(22cqw / 7.5);line-height:1.25;font-weight:500}.note-card{display:flex;flex-direction:column;gap:calc(8cqw / 7.5);padding:calc(16cqw / 7.5)}.note-title{color:var(--text-primary);font-size:calc(28cqw / 7.5);font-weight:500}.desktop-chat-shell{height:100%;min-height:100%;display:flex;background:#ffffffdb;border:1px solid rgba(220,230,244,.95);border-radius:calc(28cqw / 7.5);box-shadow:var(--shadow-panel);overflow:hidden}.chat-workspace{position:relative;height:100%;min-height:0}.chat-workspace-frame{height:100%;min-height:0;display:flex}.chat-workspace-main{display:flex;flex-direction:column}.chat-workspace-backdrop{position:absolute;inset:0;background:#0f172a3d;z-index:20}.chat-drawer-panel{min-height:0}.chat-drawer-panel-side{height:100%}.chat-drawer-panel-preview-side{width:calc(320cqw / 7.5);flex-shrink:0;border-left:1px solid rgba(220,230,244,.9);background:linear-gradient(180deg,#f7fafffa,#eff4fcfa)}.chat-drawer-panel-overlay{position:absolute;z-index:24}.chat-drawer-panel-session-overlay{top:0;left:0;bottom:0}.chat-drawer-panel-session-overlay .desktop-chat-sidebar{width:82vw;max-width:calc(560cqw / 7.5);height:100%;border-right:none;box-shadow:2.4cqw 0 5.6cqw #0f172a1f}.chat-drawer-panel-preview-overlay{left:calc(16cqw / 7.5);right:calc(16cqw / 7.5);bottom:calc(16cqw / 7.5);max-height:calc(100% - 16cqw)}.chat-toolbar-leading{min-width:0;flex:1;display:flex;align-items:center;gap:1.6cqw}.chat-toolbar-toggle{min-width:14.4cqw;flex-shrink:0}.chat-toolbar-title-stack{flex:1}.chat-toolbar-subtitle{padding-left:0}.chat-toolbar-utilities{flex-wrap:wrap;justify-content:flex-end}.chat-context-pill{min-height:calc(52cqw / 7.5);padding:0 calc(16cqw / 7.5);border-radius:133.2cqw;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(37,99,235,.12);background:#2563eb14;color:var(--accent-strong);font-size:calc(20cqw / 7.5);font-weight:600}.chat-context-pill-muted{border-color:#dce6f4eb;background:#fffffff0;color:var(--text-secondary)}.chat-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:1.6cqw}.chat-drawer-close-btn{min-height:calc(56cqw / 7.5);padding:0 2.4cqw;border-radius:calc(14cqw / 7.5);border:1px solid rgba(220,230,244,.92);background:#fffffff5;color:var(--text-secondary);font-size:calc(22cqw / 7.5);font-weight:600}.chat-preview-drawer{height:100%;min-height:0;display:flex;flex-direction:column;gap:calc(16cqw / 7.5);padding:calc(20cqw / 7.5) 2.4cqw}.chat-preview-heading{min-width:0;display:flex;flex-direction:column;gap:.8cqw}.chat-preview-title{color:var(--text-primary);font-size:calc(26cqw / 7.5);font-weight:700;line-height:1.2}.chat-preview-subtitle{color:var(--text-secondary);font-size:calc(20cqw / 7.5);line-height:1.4}.chat-preview-list-scroll{flex:0 0 auto;height:calc(220cqw / 7.5);min-height:0}.chat-preview-list{display:flex;flex-direction:column;gap:calc(8cqw / 7.5);padding-right:calc(2cqw / 7.5)}.chat-preview-item{display:flex;flex-direction:column;gap:.8cqw;padding:calc(16cqw / 7.5);border-radius:calc(16cqw / 7.5);border:1px solid rgba(220,230,244,.92);background:#fffffff5}.chat-preview-item-active{border-color:#2563eb38;box-shadow:0 1.6cqw 3.2cqw #0f172a0d,inset 0 0 0 calc(1cqw / 7.5) #2563eb0f}.chat-preview-item-name{color:var(--text-primary);font-size:3.2cqw;font-weight:600;line-height:1.3}.chat-preview-item-meta{color:var(--text-secondary);font-size:calc(20cqw / 7.5);line-height:1.35}.chat-preview-empty,.chat-preview-detail{display:flex;flex-direction:column;gap:calc(8cqw / 7.5);padding:2.4cqw;border-radius:2.4cqw;border:1px solid rgba(220,230,244,.92);background:#fffffff5}.chat-preview-body{flex:1;min-height:0;display:flex}.chat-preview-status-copy{color:var(--text-secondary);font-size:calc(22cqw / 7.5);line-height:1.5}.chat-preview-richtext-wrap,.chat-preview-image-wrap,.chat-preview-code-shell,.chat-preview-sheet-shell{flex:1;min-height:0;display:flex;flex-direction:column;gap:1.6cqw;border-radius:2.4cqw;border:1px solid rgba(220,230,244,.92);background:#fffffff5;padding:2.4cqw}.chat-preview-richtext-wrap,.chat-preview-code-shell{overflow:auto}.chat-preview-richtext-wrap :where(h1,h2,h3,h4,h5,h6){margin:0 0 1.6cqw;color:var(--text-primary);line-height:1.25}.chat-preview-richtext-wrap :where(h1){font-size:4cqw}.chat-preview-richtext-wrap :where(h2){font-size:calc(28cqw / 7.5)}.chat-preview-richtext-wrap :where(h3,h4,h5,h6){font-size:calc(26cqw / 7.5)}.chat-preview-richtext-wrap :where(p,li,blockquote){margin:0 0 1.6cqw;color:var(--text-secondary);font-size:calc(22cqw / 7.5);line-height:1.55}.chat-preview-richtext-wrap :where(ul,ol){margin:0 0 1.6cqw calc(28cqw / 7.5);padding:0}.chat-preview-richtext-wrap :where(code){padding:0 calc(8cqw / 7.5);border-radius:calc(8cqw / 7.5);background:#0f172a14;color:var(--text-primary)}.chat-preview-richtext-wrap :where(pre){margin:0 0 1.6cqw;padding:calc(14cqw / 7.5) calc(16cqw / 7.5);border-radius:calc(14cqw / 7.5);overflow:auto;background:#0f172a0d;color:var(--text-primary)}.chat-preview-image-wrap{align-items:center;justify-content:center}.chat-preview-image{width:100%;border-radius:calc(14cqw / 7.5)}.chat-preview-code-shell{background:#0f172af5}.chat-preview-code-text{color:#e2e8f0;font-size:calc(20cqw / 7.5);line-height:1.6;white-space:pre-wrap;word-break:break-word}.chat-preview-sheet-tabs-scroll{flex:0 0 auto;min-height:0}.chat-preview-sheet-tabs{display:flex;gap:calc(8cqw / 7.5);padding-bottom:calc(4cqw / 7.5)}.chat-preview-sheet-tab{min-height:calc(52cqw / 7.5);padding:0 calc(16cqw / 7.5);border-radius:133.2cqw;border:1px solid rgba(220,230,244,.92);background:#fffffff5;color:var(--text-secondary);font-size:calc(20cqw / 7.5);font-weight:600}.chat-preview-sheet-tab-active{border-color:#2563eb38;background:#2563eb14;color:var(--accent-strong)}.chat-preview-sheet-scroll{flex:1;min-height:0;margin-top:calc(8cqw / 7.5)}.chat-preview-sheet-table{min-width:100%;display:flex;flex-direction:column;gap:calc(1cqw / 7.5);background:#dce6f4eb}.chat-preview-sheet-row{display:flex;gap:calc(1cqw / 7.5);background:#dce6f4eb}.chat-preview-sheet-row-head{position:sticky;top:0}.chat-preview-sheet-index,.chat-preview-sheet-cell{min-width:16cqw;flex:1;padding:1.6cqw calc(10cqw / 7.5);background:#fffffffa;color:var(--text-primary);font-size:calc(20cqw / 7.5);line-height:1.4;word-break:break-word}.chat-preview-sheet-index{min-width:9.6cqw;max-width:9.6cqw;flex:0 0 9.6cqw;text-align:center;font-weight:700;color:var(--text-secondary)}.chat-preview-sheet-cell-head{background:#f7fafffa;font-weight:700;color:var(--text-secondary);text-align:center}.chat-preview-action-row{display:flex;justify-content:flex-end}.chat-preview-action-btn{min-height:calc(52cqw / 7.5);padding:0 2.4cqw;border-radius:calc(14cqw / 7.5);border:1px solid rgba(37,99,235,.18);background:#2563eb14;color:var(--accent-strong);font-size:calc(20cqw / 7.5);font-weight:700}.chat-preview-body .chat-preview-empty{flex:1;min-height:0}.chat-preview-empty-title,.chat-preview-detail-title{color:var(--text-primary);font-size:calc(26cqw / 7.5);font-weight:700;line-height:1.2}.chat-preview-empty-copy,.chat-preview-detail-copy,.chat-preview-detail-path{color:var(--text-secondary);font-size:calc(22cqw / 7.5);line-height:1.5}.chat-preview-detail-kicker{align-self:flex-start;min-height:calc(44cqw / 7.5);padding:0 1.6cqw;border-radius:133.2cqw;display:inline-flex;align-items:center;justify-content:center;background:#2563eb1a;color:var(--accent-strong);font-size:2.4cqw;font-weight:700}.chat-preview-detail-path{word-break:break-all}.chat-drawer-panel-preview-side .chat-preview-drawer{background:transparent}.chat-drawer-panel-preview-overlay .chat-preview-drawer{max-height:calc(100vh - calc(140cqw / 7.5));border-radius:3.2cqw;border:1px solid rgba(220,230,244,.94);background:#f7fafffa;box-shadow:var(--shadow-panel)}.chat-workspace-compact .desktop-chat-head{align-items:stretch;flex-direction:column}.chat-workspace-compact .chat-toolbar-utilities{justify-content:flex-start}.desktop-chat-layout{height:100%;min-height:0;display:flex;flex:1}.desktop-chat-sidebar{width:36.8cqw;flex-shrink:0;display:flex;flex-direction:column;gap:calc(10cqw / 7.5);padding:calc(20cqw / 7.5) calc(14cqw / 7.5) calc(14cqw / 7.5);border-right:1px solid rgba(220,230,244,.9);background:linear-gradient(180deg,#f8fbff,#eff4fc)}.desktop-chat-sidebar-top{display:flex;flex-direction:column;gap:calc(10cqw / 7.5)}.desktop-chat-sidebar-brand{color:var(--text-primary);font-size:calc(22cqw / 7.5);font-weight:600;padding-left:calc(2cqw / 7.5)}.desktop-chat-sidebar-device{display:flex;flex-direction:column;gap:.8cqw;padding:calc(14cqw / 7.5) 1.6cqw;border-radius:calc(16cqw / 7.5);background:#ffffffeb;border:1px solid rgba(220,230,244,.94);box-shadow:0 calc(10cqw / 7.5) calc(20cqw / 7.5) #0f172a0a}.desktop-chat-sidebar-device-name{color:var(--text-primary);font-size:3.2cqw;line-height:1.28;font-weight:600}.desktop-chat-sidebar-device-meta{color:var(--text-secondary);font-size:calc(20cqw / 7.5);line-height:1.35}.desktop-chat-sidebar-title{padding:0 calc(4cqw / 7.5);color:var(--text-tertiary);font-size:calc(20cqw / 7.5);line-height:1.2;font-weight:600;letter-spacing:.08em}.desktop-chat-session-scroll{flex:1;min-height:0;height:0}.desktop-chat-session-list,.desktop-chat-sidebar-footer,.desktop-chat-main{display:flex;flex-direction:column}.desktop-chat-session-list{gap:.8cqw;padding-right:calc(2cqw / 7.5)}.desktop-chat-session-item{display:flex;flex-direction:column;gap:.8cqw;padding:calc(16cqw / 7.5);border-radius:calc(16cqw / 7.5);border:1px solid transparent;background:transparent}.desktop-chat-session-item-clickable{cursor:pointer}.desktop-chat-session-item-active{background:#fffffffa;border-color:#2563eb2e;box-shadow:0 1.6cqw 3.2cqw #0f172a0d,inset 0 0 0 calc(1cqw / 7.5) #2563eb0f}.desktop-chat-session-name{color:var(--text-primary);font-size:calc(22cqw / 7.5);line-height:1.28;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-chat-session-meta,.desktop-chat-session-empty{color:var(--text-secondary);font-size:2.4cqw;line-height:1.42}.desktop-chat-session-empty{padding:calc(8cqw / 7.5) .8cqw 0 calc(4cqw / 7.5);color:var(--text-tertiary)}.desktop-chat-sidebar-footer{gap:calc(8cqw / 7.5);padding-top:calc(10cqw / 7.5);border-top:1px solid rgba(220,230,244,.82)}.desktop-chat-sidebar-btn{min-height:calc(64cqw / 7.5);padding:0 calc(16cqw / 7.5);border-radius:calc(14cqw / 7.5);border:1px solid rgba(220,230,244,.92);background:#fffffff5;color:var(--text-primary);font-size:calc(22cqw / 7.5);font-weight:600}.desktop-chat-sidebar-btn-muted{color:var(--text-secondary);background:#f7fafff5}.desktop-chat-main{flex:1;min-width:0;background:linear-gradient(180deg,#ffffffad,#f7fafff5)}.desktop-chat-head{padding:calc(22cqw / 7.5) 3.2cqw calc(16cqw / 7.5);display:flex;align-items:center;justify-content:space-between;gap:calc(20cqw / 7.5);border-bottom:1px solid rgba(220,230,244,.9)}.desktop-chat-headline{min-width:0;display:flex;align-items:center;gap:1.6cqw}.desktop-chat-dots{flex-shrink:0}.desktop-chat-title{color:var(--text-primary);font-size:calc(28cqw / 7.5);font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-chat-title-stack{min-width:0;display:flex;flex-direction:column;gap:calc(4cqw / 7.5)}.desktop-chat-subtitle{color:var(--text-secondary);font-size:calc(20cqw / 7.5);line-height:1.2;padding-left:calc(58cqw / 7.5)}.desktop-chat-utilities{flex-direction:row;align-items:center;gap:calc(8cqw / 7.5)}.chat-utility-btn{min-height:calc(56cqw / 7.5);padding:0 calc(14cqw / 7.5);border-radius:1.6cqw;font-size:calc(22cqw / 7.5)}.chat-utility-btn[disabled]{opacity:.58}.desktop-chat-error{margin:calc(16cqw / 7.5) 2.4cqw 0;padding:calc(16cqw / 7.5) 2.4cqw;gap:.8cqw;border-color:#ef44442e;background:#ef44440d}.desktop-chat-error-title{color:var(--text-primary);font-size:calc(26cqw / 7.5);font-weight:500}.desktop-chat-error-text{color:var(--danger);font-size:3.2cqw;line-height:1.55}.desktop-chat-scroll{flex:1;min-height:0;height:0}.desktop-conversation{gap:2.4cqw;padding:calc(32cqw / 7.5) calc(28cqw / 7.5) 3.2cqw}.desktop-message-block{max-width:86%;display:flex;flex-direction:column;gap:calc(8cqw / 7.5)}.desktop-message-assistant{align-self:flex-start;padding:calc(16cqw / 7.5) 2.4cqw;border-radius:calc(20cqw / 7.5);border:1px solid rgba(220,230,244,.9);background:#fffffff0;box-shadow:var(--shadow-soft)}.desktop-message-user{align-self:flex-end;align-items:flex-end}.desktop-message-copy{color:var(--text-primary);font-size:calc(28cqw / 7.5);line-height:1.78;white-space:pre-wrap;word-break:break-word}.desktop-message-user-chip{padding:calc(14cqw / 7.5) calc(16cqw / 7.5);border-radius:2.4cqw;background:linear-gradient(135deg,#eef4ff,#e5eeff);border:1px solid rgba(37,99,235,.1);min-width:9.6cqw;box-shadow:inset 0 calc(1cqw / 7.5) 0 #ffffffc7}.desktop-message-time{color:var(--text-tertiary);font-size:calc(20cqw / 7.5);line-height:1}.desktop-message-pending{opacity:.72}.desktop-message-time-left{padding-left:calc(4cqw / 7.5)}.desktop-empty-state{gap:calc(10cqw / 7.5);padding:calc(20cqw / 7.5)}.desktop-empty-title{color:var(--text-primary);font-size:4cqw;font-weight:500}.desktop-empty-prompt{color:var(--text-tertiary)}.desktop-compose-shell{padding:0 calc(20cqw / 7.5) calc(20cqw / 7.5)}.desktop-compose-card{gap:1.6cqw;padding:calc(20cqw / 7.5) calc(20cqw / 7.5) 2.4cqw;border-color:#dce6f4f5;background:linear-gradient(180deg,#fffffffa,#f6fafff5);box-shadow:var(--shadow-card)}.desktop-compose-hint{color:var(--text-tertiary);font-size:calc(20cqw / 7.5)}.desktop-compose-footer{display:flex;align-items:center;gap:1.6cqw}.desktop-compose-mode{display:flex;align-items:center;gap:calc(8cqw / 7.5);padding:0 1.6cqw;min-height:calc(52cqw / 7.5);border-radius:133.2cqw;border:1px solid rgba(220,230,244,.9);background:#f7fafff5;color:var(--text-secondary);font-size:calc(22cqw / 7.5)}.desktop-compose-mode-icon{width:calc(20cqw / 7.5);height:calc(20cqw / 7.5);border-radius:.8cqw;border:1px solid rgba(37,99,235,.28);background:linear-gradient(180deg,#60a5faeb,#2563ebeb)}.desktop-compose-mode-text{font-size:calc(22cqw / 7.5)}.desktop-compose-session{flex:1;color:var(--text-tertiary);font-size:calc(20cqw / 7.5)}.desktop-compose-send{width:9.6cqw;min-width:9.6cqw;height:9.6cqw;min-height:9.6cqw;padding:0;border-radius:133.2cqw;font-size:calc(28cqw / 7.5)}.desktop-empty-options{display:flex;flex-direction:column;gap:2.4cqw}.desktop-empty-option{display:flex;flex-direction:column;gap:.8cqw;padding:calc(16cqw / 7.5) 2.4cqw;border-radius:2.4cqw;border:1px solid rgba(220,230,244,.92);background:#fffffff5;box-shadow:0 1.6cqw 3.2cqw #0f172a0a}.desktop-empty-option-title{color:var(--text-primary);font-size:calc(28cqw / 7.5);line-height:1.42;font-weight:600}.desktop-empty-option-subtitle{color:var(--text-secondary);font-size:calc(22cqw / 7.5);line-height:1.46}.starter-assistant-block{gap:calc(14cqw / 7.5);padding-top:calc(4cqw / 7.5)}.starter-option-clickable{padding:0}.compose-action-cluster{display:flex;align-items:center;gap:calc(10cqw / 7.5);justify-content:flex-end}.page-grid,.info-card,.card-list,.chat-screen,.chat-toolbar-copy,.chat-message-list,.starter-card,.starter-option,.sticky-compose,.compose-card{display:flex;flex-direction:column}.page-grid{gap:2.4cqw}.row{display:flex;align-items:center;justify-content:space-between;gap:calc(16cqw / 7.5)}.row-end{justify-content:flex-end}.section-block{display:flex;flex-direction:column;gap:calc(8cqw / 7.5)}.section-caption{color:var(--text-secondary);font-size:2.4cqw;line-height:1.56}.compact-btn,.toolbar-btn{min-height:calc(50cqw / 7.5);padding:0 calc(16cqw / 7.5);border-radius:calc(14cqw / 7.5);border:1px solid rgba(127,132,138,.28);background:#fffffff5;color:var(--text-primary);font-size:2.4cqw;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.toolbar-btn{min-height:5.6cqw;padding:0 1.6cqw;border-radius:1.6cqw;color:var(--text-secondary);font-size:calc(16cqw / 7.5);font-weight:500}.toolbar-btn-muted{background:#f5f3eff5}.info-card{gap:.8cqw;padding:calc(14cqw / 7.5) calc(16cqw / 7.5);border-radius:calc(20cqw / 7.5);background:#f8f7f3f5;border:1px solid rgba(221,216,207,.82)}.info-row{display:grid;grid-template-columns:calc(148cqw / 7.5) minmax(0,1fr);gap:1.6cqw;align-items:start;padding:1.6cqw 0}.info-row+.info-row{border-top:1px solid rgba(221,216,207,.66)}.info-label{color:var(--text-tertiary);font-size:calc(17cqw / 7.5);line-height:1.44}.info-value{color:var(--text-primary);font-size:2.8cqw;line-height:1.5;word-break:break-word}.card-list{gap:1.6cqw}.select-card{display:flex;flex-direction:column;gap:calc(10cqw / 7.5);padding:2.4cqw 2.4cqw calc(16cqw / 7.5);border-radius:calc(22cqw / 7.5);background:#fffffff5;border:1px solid rgba(221,216,207,.92);box-shadow:var(--shadow-soft)}.select-card.active{border-color:#191c2029;box-shadow:var(--shadow-card),inset 0 0 0 calc(1cqw / 7.5) #191c200a}.select-card.clickable{background:linear-gradient(180deg,#fffffffa,#faf9f6f5)}.desktop-device-title{flex:1;min-width:0}.status-pill{padding:.8cqw 1.6cqw;border-radius:133.2cqw;font-size:calc(16cqw / 7.5);line-height:1;font-weight:600;color:var(--text-secondary);background:#ece7dddb;border:1px solid rgba(221,216,207,.92)}.status-pill.active{color:#4d7f45;background:#91cb8029;border-color:#91cb8047}.device-entry-hint{color:var(--accent);font-size:calc(17cqw / 7.5);line-height:1.4;font-weight:500}.chat-screen{min-height:calc(100vh - calc(32cqw / 7.5))}.chat-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:calc(16cqw / 7.5);padding:calc(16cqw / 7.5) 2.4cqw calc(14cqw / 7.5);border-bottom:1px solid rgba(221,216,207,.82);background:#fffffff0}.chat-toolbar-title{color:var(--text-primary);font-size:2.4cqw;line-height:1.2;font-weight:600}.chat-toolbar-meta{color:var(--text-secondary);font-size:calc(16cqw / 7.5);line-height:1.4}.chat-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:calc(8cqw / 7.5)}.chat-inline-error{display:flex;flex-direction:column;gap:calc(8cqw / 7.5);margin:calc(16cqw / 7.5) 2.4cqw 0;padding:calc(16cqw / 7.5) 2.4cqw;border-radius:calc(20cqw / 7.5);border:1px solid rgba(249,75,75,.2);background:#f94b4b0f}.chat-inline-error-title{color:var(--text-primary);font-size:calc(20cqw / 7.5);font-weight:600}.chat-inline-error-text{color:var(--danger);font-size:2.4cqw;line-height:1.56}.chat-scroll-region{flex:1;min-height:0}.chat-message-list{gap:calc(20cqw / 7.5);min-height:100%;padding:calc(28cqw / 7.5) 3.2cqw calc(14cqw / 7.5)}.message-bubble{max-width:86%;display:flex;flex-direction:column;gap:calc(8cqw / 7.5);color:var(--text-primary);font-size:2.8cqw;line-height:1.72;white-space:pre-wrap;word-break:break-word}.message-bubble.assistant{align-self:flex-start}.message-bubble.user{align-self:flex-end;align-items:flex-end;padding:calc(14cqw / 7.5) 2.4cqw;border-radius:2.4cqw;background:#eceef1;box-shadow:inset 0 0 0 calc(1cqw / 7.5) #191c2008}.message-bubble.pending{opacity:.72}.starter-card{gap:calc(14cqw / 7.5);padding-top:3.2cqw;border-top:1px solid rgba(221,216,207,.88)}.starter-kicker{color:var(--text-secondary);font-size:2.4cqw;line-height:1.5}.starter-text{color:var(--text-primary);font-size:3.2cqw;line-height:1.64}.starter-option{gap:.8cqw}.starter-option-title{color:var(--text-primary);font-size:calc(22cqw / 7.5);line-height:1.44;font-weight:600}.starter-option-subtitle,.starter-footer{color:var(--text-secondary);font-size:2.4cqw;line-height:1.5}.sticky-compose{gap:1.6cqw;padding:0 2.4cqw 2.4cqw}.compose-card{gap:calc(14cqw / 7.5);padding:calc(16cqw / 7.5) 2.4cqw calc(14cqw / 7.5);border-radius:3.2cqw;border:1px solid rgba(221,216,207,.9);background:#fffffff7;box-shadow:0 2.4cqw calc(44cqw / 7.5) #1d212614,inset 0 calc(1cqw / 7.5) 0 #ffffffc2}.compose-header{display:flex;align-items:center;justify-content:space-between;gap:1.6cqw}.compose-title{color:var(--text-secondary);font-size:calc(17cqw / 7.5);line-height:1.4}.compose-meta{color:var(--text-tertiary);font-size:calc(16cqw / 7.5);line-height:1.3}.compose-input-control{min-height:calc(70cqw / 7.5);padding:0;border:none;background:transparent;color:var(--text-primary);font-size:calc(22cqw / 7.5)}.compose-input-control::placeholder{color:var(--text-tertiary)}.primary-btn-compact{width:7.2cqw;min-width:7.2cqw;height:7.2cqw;min-height:7.2cqw;padding:0;border-radius:133.2cqw;font-size:calc(22cqw / 7.5)}.section-title{color:var(--text-primary);font-size:3.2cqw;font-weight:500}.error-text{color:var(--danger)}html,body,#root{min-height:100%}body{margin:0;background:radial-gradient(circle at top left,rgba(255,255,255,.92),transparent 24%),linear-gradient(180deg,#ebe9e4,#d9d4cb);font-family:Inter,SF Pro Display,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}button,input{font:inherit}.debug-root{display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;min-height:100vh;padding:28px;box-sizing:border-box}.debug-panel{display:flex;flex-direction:column;gap:20px;padding:22px;border-radius:24px;background:#ffffffdb;border:1px solid rgba(145,141,132,.22);box-shadow:0 18px 44px #1d212614;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.debug-panel h1,.debug-panel h2,.debug-panel p{margin:0}.debug-panel h1{font-size:24px;line-height:1.2}.debug-panel p{color:#6f757d;font-size:14px;line-height:1.6}.debug-group{display:flex;flex-direction:column;gap:12px}.debug-actions{display:flex;flex-wrap:wrap;gap:10px}.debug-chip{min-height:38px;padding:0 14px;border:1px solid #d8d4cb;border-radius:999px;background:#f8f7f3;color:#585d64;cursor:pointer}.debug-chip.active{background:#111;border-color:#111;color:#fff}.debug-phone-wrap{display:flex;align-items:flex-start;justify-content:center}.public-root{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:28px;box-sizing:border-box}.public-phone{width:min(430px,calc(100vw - 56px))}.debug-phone{width:min(430px,100%);padding:18px;border-radius:40px;background:linear-gradient(180deg,#26292f,#15171b);box-shadow:0 28px 80px #13161b42,inset 0 0 0 1px #ffffff0f}.debug-phone-screen{overflow:hidden;border-radius:32px;background:#f4f4f1;container-type:inline-size;height:min(860px,calc(100vh - 72px));min-height:760px;overflow-y:auto}.debug-phone-screen .app-shell,.debug-phone-screen .chat-frame{min-height:100%}@media(max-width:980px){.debug-root{grid-template-columns:1fr}.debug-phone-wrap{justify-content:stretch}.debug-phone{width:100%}.public-root{padding:18px}.public-phone{width:100%}}
