:root{color:#17233c;background:#eef2f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}h1,h2,p{margin:0}.app-shell{min-height:100vh;padding:10px}.copilot-card{position:relative;width:min(100%,460px);min-height:calc(100vh - 20px);margin:0 auto;overflow:hidden;background:#fff;border:1px solid #e5eaf1;border-radius:18px;box-shadow:0 14px 34px #192b4a1a}.app-header{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid #ebeff4}.brand-logo{width:50px;height:50px;border-radius:14px;box-shadow:0 6px 15px #2874e033}.app-header h1{font-size:21px;letter-spacing:-.3px}.app-header p{margin-top:6px;color:#7b8799;font-size:13px}.customer-card{display:grid;grid-template-columns:46px minmax(0,1fr) 12px;align-items:center;gap:12px;margin:18px 20px 0;padding:14px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:14px}.customer-avatar{display:grid;width:46px;height:46px;place-items:center;color:#fff;background:#35a97f;border-radius:14px;font-size:20px;font-weight:750}.customer-copy{min-width:0}.customer-copy strong,.customer-copy span{display:block}.customer-copy strong{font-size:16px}.customer-copy span{margin-top:6px;color:#7a879b;font-size:12px}.connection-dot{width:9px;height:9px;background:#27a66d;border-radius:50%}.connection-dot[data-state=starting],.connection-dot[data-state=generating]{background:#3984ef}.connection-dot[data-state=error]{background:#e58b1d}.action-card,.reply-card,.error-card,.empty-card{margin:14px 20px 0;padding:17px;border-radius:14px}.action-card{background:#f8fbff;border:1px solid #dceaff}.action-card h2,.reply-card h2{font-size:16px}.action-card>p{margin-top:7px;color:#718096;font-size:12px;line-height:1.55}.generate-button{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;gap:8px;margin-top:14px;color:#fff;background:#347fec;border:0;border-radius:10px;font-weight:700;cursor:pointer}.generate-button:disabled{cursor:wait;opacity:.72}.generate-button svg{width:20px;height:20px}.reply-card{background:#fff;border:1px solid #bcd5ff;box-shadow:0 7px 18px #2f6fce14}.reply-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reply-heading h2{color:#2672dc}.reply-heading p{margin-top:5px;color:#8793a5;font-size:11px}.reply-heading>span{padding:5px 8px;color:#4d6f9e;background:#edf5ff;border-radius:8px;font-size:10px;font-weight:700}.style-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:14px;padding:4px;background:#f1f5fa;border-radius:10px}.style-tabs button{min-height:35px;padding:6px 4px;color:#63728a;background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:650;cursor:pointer}.style-tabs button.active{color:#236bd1;background:#fff;box-shadow:0 2px 7px #234d871f}.reply-editor{position:relative;display:block;margin-top:14px}.reply-editor textarea{display:block;width:100%;min-height:148px;resize:vertical;padding:13px 13px 28px;color:#25334b;background:#f9fbfe;border:1px solid #dce5f0;border-radius:10px;outline:none;line-height:1.65}.reply-editor textarea:focus{border-color:#74a9f5;box-shadow:0 0 0 3px #347fec1a}.reply-editor small{position:absolute;right:10px;bottom:9px;color:#9aa5b5;font-size:10px}.reply-actions{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;margin-top:12px}.reply-actions button{display:flex;min-height:42px;align-items:center;justify-content:center;gap:7px;border-radius:10px;font-weight:700;cursor:pointer}.send-button{color:#fff;background:#347fec;border:1px solid #347fec}.copy-button{color:#2e6fc9;background:#fff;border:1px solid #c9dcf7}.reply-actions svg{width:18px;height:18px}.empty-card{display:grid;min-height:155px;place-items:center;align-content:center;gap:9px;color:#718096;text-align:center;background:#fafbfd;border:1px dashed #dce3ec}.empty-card svg{width:28px;height:28px;color:#3984ef}.empty-card strong{color:#42516a;font-size:14px}.empty-card p{max-width:280px;font-size:11px;line-height:1.55}.error-card{color:#955914;background:#fff8ed;border:1px solid #f4d29a}.error-card strong{font-size:15px}.error-card p{margin-top:8px;font-size:12px;line-height:1.55}.error-card button{margin-top:12px;padding:8px 13px;color:#955914;background:#fff;border:1px solid #e8c17e;border-radius:8px;cursor:pointer}footer{padding:18px 20px 22px;color:#9aa5b4;text-align:center;font-size:11px}.toast{position:fixed;bottom:24px;left:50%;z-index:20;max-width:calc(100vw - 40px);padding:10px 15px;color:#fff;background:#141f31eb;border-radius:9px;transform:translate(-50%);font-size:12px;box-shadow:0 8px 18px #00000029}.spinning{animation:spin .9s linear infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:520px){.app-shell{padding:0}.copilot-card{min-height:100vh;border:0;border-radius:0;box-shadow:none}}
