:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:var(--color-text-primary);background:var(--color-page);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--color-page: #e5e6eb;--color-surface: #ffffff;--color-surface-soft: #f7f8fa;--color-surface-muted: #f2f3f5;--color-text-primary: #1d2129;--color-text-secondary: #4e5969;--color-text-muted: #86909c;--color-text-disabled: #c9cdd4;--color-border: #e5e6eb;--color-border-soft: #f2f3f5;--color-primary: #165dff;--color-primary-active: #0e42d2;--color-primary-soft: #e8f3ff;--color-success: #00b42a;--radius-sm: 2px;--radius-md: 6px;--radius-lg: 8px;--duration-fast: .16s;--duration-screen: .18s;--ease-screen: cubic-bezier(.2, .8, .2, 1);--safe-area-bottom: max(18px, env(safe-area-inset-bottom))}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;min-height:0;margin:0}body{overflow:hidden;overflow-x:hidden}button,input,textarea{font:inherit}button{border:0;cursor:pointer;background:transparent}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.app-shell{width:100%;height:100vh;height:100dvh;min-height:0;display:grid;place-items:center;padding:16px;overflow:hidden;background:var(--color-page)}.phone-frame{position:relative;width:min(375px,calc(100vw - 32px));height:min(812px,calc(100vh - 32px));height:min(812px,calc(100dvh - 32px));overflow:hidden;background:var(--color-surface);border:1px solid rgba(0,0,0,.1);border-radius:36px;box-shadow:0 20px 48px #1d21292e}.screen-layer{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--color-surface);will-change:transform,opacity}.route-enter-active,.route-leave-active{transition:transform var(--duration-screen) var(--ease-screen),opacity var(--duration-screen) ease-out}.route-enter-from,.route-leave-to{opacity:0}.route-forward .route-enter-from{transform:translate3d(18px,0,0)}.route-forward .route-leave-to{transform:translate3d(-10px,0,0)}.route-back .route-enter-from{transform:translate3d(-18px,0,0)}.route-back .route-leave-to{transform:translate3d(10px,0,0)}.screen{width:100%;height:100%;overflow:hidden}.app-icon{display:block;flex:0 0 auto;color:currentColor;transition:transform .2s ease}.phone-header{flex:0 0 auto;background:var(--color-surface);--van-nav-bar-height: 44px;--van-nav-bar-background: var(--color-surface);--van-nav-bar-title-text-color: var(--color-text-primary);--van-nav-bar-title-font-size: 17px;--van-nav-bar-icon-color: var(--color-text-primary);--van-nav-bar-arrow-size: 20px;--van-nav-bar-text-color: var(--color-text-primary)}.nav-bar{flex:0 0 auto}.custom-nav-bar{position:relative;height:44px;display:grid;grid-template-columns:56px 1fr 56px;align-items:center;color:var(--color-text-primary);background:var(--color-surface)}.custom-nav-bar h1{min-width:0;margin:0;overflow:hidden;font-size:17px;font-weight:500;line-height:44px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.custom-nav-left{width:44px;height:44px;display:grid;place-items:center;color:var(--color-text-primary)}.custom-nav-left span{width:10px;height:10px;display:block;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}.custom-nav-right{width:56px;height:44px}.nav-bar .van-nav-bar__title{font-weight:500;letter-spacing:0}.nav-bar .van-nav-bar__left{padding-left:16px;padding-right:8px}.home-screen{display:flex;flex-direction:column;background:var(--color-surface-soft)}.home-content{flex:1;display:flex;flex-direction:column;min-height:0}.brand-panel{position:relative;overflow:hidden;padding:20px 20px 12px;background:var(--color-surface);border-bottom:1px solid var(--color-border-soft)}.grid-mask{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.05;background-image:linear-gradient(var(--color-primary) 1px,transparent 1px),linear-gradient(90deg,var(--color-primary) 1px,transparent 1px);background-size:20px 20px;-webkit-mask-image:linear-gradient(180deg,#000000 0%,transparent 100%);mask-image:linear-gradient(180deg,#000000 0%,transparent 100%)}.brand-row{position:relative;display:flex;align-items:center;gap:12px}.brand-logo{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}.brand-logo img{width:40px;max-height:32px;display:block;object-fit:contain}.brand-copy{min-width:0;flex:1}.brand-title{display:flex;align-items:center;gap:8px}.brand-title strong{color:var(--color-text-primary);font-size:16px;font-weight:600}.brand-title span{height:18px;display:inline-flex;align-items:center;padding:0 6px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:var(--radius-sm);font-size:11px}.brand-copy p{margin:2px 0 0;color:var(--color-text-muted);font-size:12px}.online-pill{height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;color:var(--color-success);background:#e8ffea;border-radius:var(--radius-sm);font-size:11px}.online-pill i,.chat-session i{width:6px;height:6px;display:block;background:var(--session-status-color, var(--color-success));border-radius:999px}.service-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px}.service-grid article{min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 4px;color:var(--color-primary);background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:var(--radius-md)}.service-grid strong{color:var(--color-text-primary);font-size:13px;font-weight:500}.service-grid small,.service-grid span{color:var(--color-text-muted);font-size:11px}.service-hours-inline{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:14px;padding:10px 16px;border-radius:var(--radius-sm)}.service-hours-inline .service-hours-title{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:1}.service-hours-inline .service-hours-list{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;margin-top:6px}.service-hours-inline .service-hours-list span{color:var(--color-text-muted);font-size:11px;font-variant-numeric:tabular-nums}.welcome-panel{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 32px;margin-top:-16px}.welcome-panel h2{margin:0;color:var(--color-text-primary);font-size:18px;font-weight:600;line-height:1.25}.welcome-panel p{margin:8px 0 0;color:var(--color-text-muted);font-size:13px;line-height:1.5;text-align:center}.primary-action,.secondary-action,.submit-btn{width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius-md);transition:background-color var(--duration-fast) ease,border-color var(--duration-fast) ease,opacity var(--duration-fast) ease}.primary-action{height:48px;margin-top:32px;color:#fff;background:var(--color-primary);font-size:15px;font-weight:500}.primary-action:active,.submit-btn:active{background:var(--color-primary-active)}.secondary-action{height:44px;margin-top:12px;color:var(--color-text-primary);background:var(--color-surface);border:1px solid var(--color-border);font-size:14px}.secondary-action:active{background:var(--color-surface-soft)}.service-phone-bottom{width:100%;flex:0 0 auto;margin-top:auto;padding:0 28px calc(var(--safe-area-bottom) + 8px);display:flex;align-items:center;justify-content:center;gap:6px;color:var(--color-text-disabled);font-size:12px;line-height:1;text-align:center}.service-phone-bottom .app-icon{color:var(--color-text-disabled)}.service-phone-bottom strong{color:var(--color-text-secondary);font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.verify-screen{display:flex;flex-direction:column;background:var(--color-surface)}.verify-form{flex:1;min-height:0;display:flex;flex-direction:column;padding:28px 20px 24px}.form-heading{display:flex;align-items:center;gap:8px}.form-heading i{width:4px;height:16px;background:var(--color-primary);border-radius:var(--radius-sm)}.form-heading h2{margin:0;color:var(--color-text-primary);font-size:20px;font-weight:600;line-height:1.2}.verify-form>p{margin:8px 0 0;color:var(--color-text-muted);font-size:13px}.field-stack{display:grid;gap:20px;margin-top:28px}.field{display:grid;gap:8px}.field>span{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--color-text-secondary);font-size:13px}.field>span em{color:var(--color-text-muted);font-style:normal;font-size:12px;font-variant-numeric:tabular-nums}.field-control{height:44px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);transition:border-color var(--duration-fast) ease}.field-control:focus-within{border-color:var(--color-primary)}.field-control.error{border-color:#f53f3f;background:#fffafa}.field-control input{width:100%;min-width:0;color:var(--color-text-primary);background:transparent;border:0;outline:0;font-size:14px}.field-control input::placeholder{color:var(--color-text-disabled)}.field-control .code-action{flex:0 0 auto;height:28px;padding:0 8px;margin-right:-4px;color:var(--color-primary);border-left:1px solid var(--color-border);font-size:13px;font-variant-numeric:tabular-nums}.field-control .code-action:disabled{color:var(--color-text-disabled)}.clear-btn{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;margin-right:-4px;color:var(--color-text-disabled);border-radius:999px}.clear-btn:active{color:var(--color-text-muted);background:var(--color-surface-soft)}.code-input:not(:placeholder-shown){letter-spacing:4px}.field-message{margin:-2px 0 0;color:var(--color-text-muted);font-size:12px;line-height:1.35}.field-message.error{color:#f53f3f}.field-message.success{color:#00a129}.agreement{display:flex;align-items:flex-start;gap:8px;margin-top:24px;color:var(--color-text-muted);font-size:12px;line-height:1.5}.agreement-toggle{width:14px;height:18px;display:grid;place-items:center;flex:0 0 auto;padding:0;margin-top:1px}.agreement-text{color:var(--color-text-muted)}.checkbox{width:14px;height:14px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--color-text-disabled);border-radius:var(--radius-sm)}.checkbox.checked{background:var(--color-primary);border-color:var(--color-primary)}.checkbox i{width:7px;height:4px;display:none;border-left:1.6px solid #ffffff;border-bottom:1.6px solid #ffffff;transform:rotate(-45deg) translateY(-1px)}.checkbox.checked i{display:block}.agreement-link{color:var(--color-primary);padding:0;font-weight:400;text-decoration:none}.agreement-link:active{color:var(--color-primary-active)}.privacy-note{display:flex;align-items:flex-start;gap:6px;margin-top:12px;color:var(--color-text-muted);font-size:12px;line-height:1.5}.privacy-note .app-icon{margin-top:2px;color:#165dffb3}.submit-btn{margin-top:auto;color:#fff;background:var(--color-primary);font-size:14px;font-weight:500}.submit-btn:disabled{background:#bedaff}.chat-screen{display:flex;flex-direction:column;background:var(--color-surface-muted)}.chat-header{flex:0 0 auto;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.chat-session{--session-status-color: var(--color-success);height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;color:var(--color-text-secondary);background:var(--color-surface-soft);border-top:1px solid var(--color-border-soft);font-size:12px}.chat-session span{display:inline-flex;align-items:center;gap:6px}.chat-session i{position:relative}.chat-session i:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--session-status-color, var(--color-success));border-radius:inherit;opacity:.6;animation:statusPing 1.2s ease-out infinite}.chat-session.status-connecting,.chat-session.status-queuing{--session-status-color: var(--color-primary)}.chat-session.status-busy{--session-status-color: #ff7d00}.chat-session.status-away{--session-status-color: #f7ba1e}.chat-session.status-offline,.chat-session.status-closed,.chat-session.status-timeout{--session-status-color: var(--color-text-disabled)}.chat-session.status-busy i:before,.chat-session.status-away i:before,.chat-session.status-offline i:before,.chat-session.status-closed i:before,.chat-session.status-timeout i:before{display:none}.message-list{flex:1;min-height:0;overflow-y:auto;padding:14px 16px;scrollbar-width:none}.history-screen .message-list{padding-bottom:calc(var(--safe-area-bottom) + 14px)}.message-list::-webkit-scrollbar{display:none}.time-badge{width:max-content;margin:0 auto 12px;padding:2px 8px;color:var(--color-text-muted);background:rgba(229,230,235,.6);border-radius:var(--radius-sm);font-size:11px;font-variant-numeric:tabular-nums}.assign-tip{margin:0 0 16px;color:var(--color-text-muted);font-size:12px;text-align:center}.bubble-stack{display:flex;flex-direction:column;gap:12px}.bubble-row{position:relative;max-width:78%;display:flex;flex-direction:column;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.bubble-row.user{align-self:flex-end;align-items:flex-end}.bubble-row.agent{align-self:flex-start;align-items:flex-start}.bubble-row.recalled,.bubble-row.system{max-width:none;align-self:center}.message-time{margin:0 0 4px;padding:0 2px;color:var(--color-text-muted);font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}.bubble-row.system .message-time,.bubble-row.recalled .message-time{align-self:center;margin-bottom:6px;padding:2px 8px;background:rgba(229,230,235,.6);border-radius:var(--radius-sm)}.message-author{margin:0 0 4px;padding:0 2px;color:var(--color-text-muted);font-size:11px;line-height:1.3}.bubble{padding:8px 12px;border-radius:var(--radius-lg);font-size:14px;line-height:1.55;letter-spacing:0;word-break:break-word}.reply-card{max-width:100%;margin-bottom:4px;padding:5px 8px;overflow:hidden;color:var(--color-text-muted);background:rgba(255,255,255,.72);border-left:2px solid var(--color-border);border-radius:var(--radius-sm);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.reply-card.user-reply{align-self:flex-end;background:rgba(22,93,255,.08);border-left-color:#165dff52}.agent-bubble{color:var(--color-text-primary);background:var(--color-surface);border:1px solid var(--color-border);border-top-left-radius:var(--radius-sm)}.user-bubble{color:#fff;background:var(--color-primary);border-top-right-radius:var(--radius-sm)}.voice-bubble{width:var(--voice-width, 94px);min-width:94px;max-width:212px;height:38px;display:inline-flex;align-items:center;justify-content:space-between;gap:14px;padding:0 13px 0 14px;color:#fff;background:var(--color-primary);border-radius:var(--radius-lg);border-top-right-radius:var(--radius-sm);font-size:14px;font-variant-numeric:tabular-nums}.voice-wave{width:26px;height:18px;display:inline-flex;align-items:center;gap:3px}.voice-wave i{width:3px;display:block;background:currentColor;border-radius:999px;opacity:.9}.voice-wave i:nth-child(1){height:8px}.voice-wave i:nth-child(2){height:14px}.voice-wave i:nth-child(3){height:18px}.image-bubble{width:164px;min-height:112px;max-height:220px;overflow:hidden;margin:0;background:var(--color-border);border:1px solid rgba(29,33,41,.08);border-radius:var(--radius-lg)}.image-bubble img{width:100%;height:100%;max-height:220px;display:block;object-fit:cover}.image-bubble.pending,.video-bubble.pending{opacity:.72}.video-bubble{position:relative;width:208px;max-width:100%;min-height:118px;overflow:hidden;background:#111827;border:1px solid var(--color-border);border-radius:var(--radius-lg)}.video-bubble video{width:100%;max-height:240px;display:block}.video-time{position:absolute;padding:2px 6px;color:#fff;background:rgba(0,0,0,.45);border-radius:var(--radius-sm);font-size:10px;right:6px;bottom:6px;font-variant-numeric:tabular-nums}.file-bubble{width:230px;max-width:100%;min-height:62px;display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--color-text-primary);text-align:left;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.file-bubble:disabled{opacity:.68}.file-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;color:var(--color-primary);background:var(--color-primary-soft);border-radius:var(--radius-md)}.file-info{min-width:0;display:grid;gap:3px}.file-info strong{overflow:hidden;color:var(--color-text-primary);font-size:13px;font-weight:500;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.file-info em{color:var(--color-text-muted);font-size:12px;font-style:normal;line-height:1.3}.quote-highlight{animation:quoteFlash .9s ease}.message-side-status{position:absolute;right:calc(100% + 8px);top:50%;z-index:2;width:22px;height:22px;transform:translateY(-50%)}.message-side-status.sending{border:2px solid rgba(134,144,156,.28);border-top-color:var(--color-text-muted);border-radius:999px;animation:messageSpin .72s linear infinite}.message-side-status.failed{display:grid;place-items:center;color:#fff;background:#f53f3f;border-radius:999px;font-size:15px;font-weight:700;line-height:1;box-shadow:0 4px 10px #f53f3f47}.message-side-status.failed:active{background:#cb2634}.recall-tip{padding:3px 10px;color:var(--color-text-muted);background:rgba(229,230,235,.62);border-radius:999px;font-size:12px;line-height:1.5}.rating-result-card{min-width:210px;max-width:280px;display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--color-text-primary);background:rgba(255,255,255,.92);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:0 6px 16px #1d21290f}.rating-result-card>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;background:var(--color-surface-soft);border-radius:999px;font-size:23px}.rating-result-card img{width:28px;height:28px;display:block}.rating-result-card div{min-width:0}.rating-result-card strong{display:block;font-size:13px;font-weight:500;line-height:1.35}.rating-result-card p{margin:2px 0 0;color:var(--color-text-muted);font-size:12px;line-height:1.35}.message-actions{position:absolute;z-index:6;top:-58px;display:inline-flex;align-items:stretch;overflow:hidden;color:#fff;background:rgba(29,33,41,.92);border-radius:12px;box-shadow:0 8px 18px #1d212938}.bubble-row.user .message-actions{right:0}.bubble-row.agent .message-actions{left:0}.message-actions button{min-width:52px;height:54px;display:grid;place-items:center;align-content:center;gap:4px;padding:6px 8px;color:inherit;font-size:11px;white-space:nowrap}.message-actions button+button{border-left:1px solid rgba(255,255,255,.14)}.message-actions .app-icon{color:currentColor}.message-actions button:active{background:rgba(255,255,255,.12)}.message-read-state{align-self:flex-end;margin-top:4px;padding-right:2px;color:var(--color-text-muted);font-size:11px;line-height:1.2}.copy-toast{position:absolute;left:50%;bottom:132px;z-index:12;padding:7px 12px;color:#fff;background:rgba(29,33,41,.84);border-radius:999px;font-size:13px;transform:translate(-50%)}.image-preview-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.88)}.image-preview-mask img{max-width:100%;max-height:100%;display:block;object-fit:contain}.app-global-toast{position:fixed;left:50%;bottom:88px;z-index:9999;max-width:min(320px,calc(100vw - 40px));padding:8px 13px;color:#fff;background:rgba(29,33,41,.86);border-radius:999px;font-size:13px;line-height:1.4;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .16s ease,transform .16s ease}.app-global-toast.show{opacity:1;transform:translate(-50%)}.rating-strip{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:14px 10px 12px;background:var(--color-surface);border-bottom:1px solid var(--color-border-soft)}.rating-strip button{min-width:0;height:72px;display:grid;place-items:center;align-content:center;gap:6px;color:var(--color-text-muted);border-radius:12px;font-size:12px;white-space:nowrap;transition:color var(--duration-fast) ease,background-color var(--duration-fast) ease,opacity var(--duration-fast) ease}.rating-strip button:active{background:var(--color-surface-soft)}.rating-strip button.selected{color:var(--color-primary);background:var(--color-primary-soft);font-weight:500}.rating-strip img{width:42px;height:42px;display:block;opacity:.45;filter:grayscale(1);transition:filter var(--duration-fast) ease,opacity var(--duration-fast) ease}.rating-strip button.selected img{opacity:1;filter:drop-shadow(0 5px 10px rgba(22,93,255,.18))}.chat-footer{flex:0 0 auto;display:flex;flex-direction:column;background:var(--color-surface);border-top:1px solid var(--color-border);padding-bottom:calc(var(--safe-area-bottom) + 2px)}.quick-replies{min-height:38px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:center;padding:7px 16px 6px;border-bottom:1px solid var(--color-border-soft)}.quick-replies button{min-width:0;height:25px;padding:0 8px;color:var(--color-text-secondary);background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:12px;line-height:25px;white-space:nowrap}.quick-replies button:active{background:var(--color-surface-muted)}.quote-preview{min-height:44px;display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fbfcfe;border-bottom:1px solid var(--color-border-soft)}.quote-preview>div{min-width:0;flex:1}.quote-preview span{display:block;color:var(--color-text-secondary);font-size:12px;line-height:1.3}.quote-preview p{margin:2px 0 0;overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.quote-preview button{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;color:var(--color-text-muted);border-radius:999px}.quote-preview button:active{background:var(--color-surface-soft)}.composer{min-height:52px;display:flex;align-items:center;gap:8px;padding:8px 12px}.icon-btn{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;color:#50657e;border-radius:999px}.icon-btn:active{background:var(--color-surface-soft)}.icon-btn:disabled{color:var(--color-text-disabled);cursor:not-allowed}.message-input{width:100%;min-width:0;height:36px;max-height:96px;padding:8px 12px;color:var(--color-text-primary);background:var(--color-surface-soft);border:0;border-radius:var(--radius-md);outline:0;font-size:14px;line-height:20px;resize:none;overflow-y:hidden;scrollbar-width:none;word-break:break-word;white-space:pre-wrap}.message-input::-webkit-scrollbar{display:none}.message-input:focus,.message-input:focus-visible{outline:0;box-shadow:none}.message-input::placeholder{color:var(--color-text-disabled)}.message-input:disabled{color:var(--color-text-muted);background:var(--color-surface-muted);cursor:not-allowed}.send-btn{height:32px;flex:0 0 auto;padding:0 12px;color:#fff;background:var(--color-primary);border-radius:var(--radius-md);font-size:13px}.send-btn:disabled{opacity:.55;cursor:not-allowed}.footer-panel{display:grid;grid-template-rows:0fr;overflow:hidden;border-top:0 solid transparent;opacity:0;transition:grid-template-rows .22s var(--ease-screen),opacity .16s ease-out,border-top-color .16s ease-out;will-change:grid-template-rows,opacity}.footer-panel.open{grid-template-rows:1fr;border-top:1px solid var(--color-border-soft);opacity:1}.emoji-panel,.plus-panel{min-height:0;overflow:hidden}.emoji-panel{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:12px 16px 8px;opacity:1;transition:opacity .12s ease-out}.emoji-panel button{width:42px;height:42px;display:grid;place-items:center;justify-self:center;background:var(--color-surface-soft);border-radius:12px;font-size:25px;line-height:1}.emoji-panel button:active{background:var(--color-surface-muted)}.plus-panel{opacity:1;transition:opacity .12s ease-out}.emoji-panel[style*="display: none"],.plus-panel[style*="display: none"]{opacity:0}.plus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 18px 4px}.plus-grid button{min-width:0;display:grid;justify-items:center;gap:7px;color:var(--color-text-secondary);font-size:12px}.plus-grid span{width:44px;height:44px;display:grid;place-items:center;color:#5f6f84;background:#f1f4f8;border:0;border-radius:12px}.plus-grid button:active span{background:#e6ebf1}.media-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.toast-enter-active,.toast-leave-active{transition:opacity .16s ease,transform .16s ease}.toast-enter-from,.toast-leave-to{opacity:0;transform:translate(-50%,8px)}.preview-enter-active,.preview-leave-active{transition:opacity .16s ease}.preview-enter-from,.preview-leave-to{opacity:0}@keyframes statusPing{0%{transform:scale(1);opacity:.6}to{transform:scale(2.4);opacity:0}}@keyframes voiceBar{0%,to{transform:scaleY(.55)}50%{transform:scaleY(1)}}@keyframes messageSpin{to{transform:translateY(-50%) rotate(360deg)}}@keyframes quoteFlash{0%,to{filter:none}35%{filter:drop-shadow(0 0 .75rem rgba(22,93,255,.36))}}.sso-screen{display:flex;align-items:center;justify-content:center;background:var(--color-surface)}.sso-loading{display:flex;flex-direction:column;align-items:center;gap:12px}.sso-loading p{margin:0;color:var(--color-text-muted);font-size:14px}.sso-spinner{width:32px;height:32px;border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:999px;animation:ssoSpin .8s linear infinite}@keyframes ssoSpin{to{transform:rotate(360deg)}}.enterprise-screen{display:flex;flex-direction:column;background:var(--color-surface)}.enterprise-content{flex:1;min-height:0;display:flex;flex-direction:column;padding:28px 20px 24px}.enterprise-heading{display:flex;align-items:center;gap:8px}.enterprise-heading i{width:4px;height:16px;background:var(--color-primary);border-radius:var(--radius-sm)}.enterprise-heading h2{margin:0;color:var(--color-text-primary);font-size:20px;font-weight:600;line-height:1.2}.enterprise-desc{margin:8px 0 0;color:var(--color-text-muted);font-size:13px}.enterprise-list{display:grid;gap:10px;margin-top:24px}.enterprise-item{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;text-align:left;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);transition:border-color var(--duration-fast) ease,background-color var(--duration-fast) ease}.enterprise-item:active{background:var(--color-surface-soft)}.enterprise-item.selected{border-color:var(--color-primary);background:var(--color-primary-soft)}.enterprise-info{min-width:0;flex:1}.enterprise-info strong{display:block;color:var(--color-text-primary);font-size:14px;font-weight:500;line-height:1.4;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.enterprise-info span{display:block;margin-top:2px;color:var(--color-text-muted);font-size:12px;line-height:1.3;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.enterprise-item .radio{width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto;border:2px solid var(--color-text-disabled);border-radius:999px;transition:border-color var(--duration-fast) ease,background-color var(--duration-fast) ease}.enterprise-item.selected .radio{border-color:var(--color-primary)}.enterprise-item .radio i{width:10px;height:10px;display:none;background:var(--color-primary);border-radius:999px}.enterprise-item.selected .radio i{display:block}.enterprise-confirm-btn{margin-top:auto;min-height:44px;color:#fff;background:var(--color-primary);border-radius:var(--radius-md);font-size:14px;font-weight:500;transition:background-color var(--duration-fast) ease}.enterprise-confirm-btn:active{background:var(--color-primary-active)}.enterprise-confirm-btn:disabled{background:#bedaff}.confirm-modal-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:40px 24px;background:rgba(0,0,0,.4)}.confirm-modal{width:100%;max-width:300px;background:var(--color-surface);border-radius:12px;overflow:hidden}.confirm-modal-text{margin:0;padding:24px 20px;color:var(--color-text-primary);font-size:15px;line-height:1.5;text-align:center}.confirm-modal-actions{display:flex;border-top:1px solid var(--color-border-soft)}.confirm-modal-actions button{flex:1;height:44px;font-size:15px}.confirm-modal-cancel{color:var(--color-text-muted);border-right:1px solid var(--color-border-soft)}.confirm-modal-cancel:active{background:var(--color-surface-soft)}.confirm-modal-ok{color:var(--color-primary);font-weight:500}.confirm-modal-ok:active{background:var(--color-primary-soft)}.confirm-modal-enter-active,.confirm-modal-leave-active{transition:opacity .2s ease}.confirm-modal-enter-from,.confirm-modal-leave-to{opacity:0}.confirm-modal-enter-active .confirm-modal,.confirm-modal-leave-active .confirm-modal{transition:transform .2s var(--ease-screen)}.confirm-modal-enter-from .confirm-modal{transform:scale(.9)}.confirm-modal-leave-to .confirm-modal{transform:scale(.95)}.switch-enterprise-btn{flex-shrink:0;height:26px;padding:0 10px;margin-left:8px;border:1px solid var(--color-border);border-radius:13px;background:var(--color-surface-soft);color:var(--color-text-secondary);font-size:12px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.switch-enterprise-btn:active{background:var(--color-primary-soft);color:var(--color-primary)}.enterprise-switch-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.4)}.switch-confirm-mask{z-index:70!important}.enterprise-switch-modal{width:100%;max-width:400px;max-height:70%;display:flex;flex-direction:column;background:var(--color-surface);border-radius:16px 16px 0 0;overflow:hidden}.enterprise-switch-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid var(--color-border-soft)}.enterprise-switch-header h3{margin:0;font-size:16px;font-weight:600;color:var(--color-text-primary)}.enterprise-switch-header button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;border-radius:50%;transition:background .15s ease}.enterprise-switch-header button:active{background:var(--color-surface-soft)}.enterprise-switch-list{flex:1;overflow-y:auto;padding:8px 0;-webkit-overflow-scrolling:touch}.enterprise-switch-item{display:flex;align-items:center;width:100%;padding:14px 20px;border:none;background:transparent;cursor:pointer;transition:background .15s ease;text-align:left}.enterprise-switch-item:active{background:var(--color-surface-soft)}.enterprise-switch-item.selected{background:var(--color-primary-soft)}.enterprise-switch-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.enterprise-switch-info strong{font-size:14px;font-weight:500;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-switch-info span{font-size:12px;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-switch-item .radio{flex-shrink:0;width:20px;height:20px;margin-left:12px;border:2px solid var(--color-border);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:border-color .15s ease}.enterprise-switch-item .radio.checked{border-color:var(--color-primary)}.enterprise-switch-item .radio.checked i{width:10px;height:10px;border-radius:50%;background:var(--color-primary)}.enterprise-switch-confirm{margin:12px 20px 20px;height:44px;border:none;border-radius:10px;background:var(--color-primary);color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:opacity .15s ease}.enterprise-switch-confirm:disabled{background:var(--color-border);cursor:not-allowed}.enterprise-switch-confirm:not(:disabled):active{opacity:.8}.enterprise-switch-mask{transition:opacity .2s ease}.enterprise-switch-modal{transition:transform .28s var(--ease-screen)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important;scroll-behavior:auto!important}}@media (max-width: 430px){.app-shell{padding:0}.phone-frame{width:100vw;height:100vh;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}}
