*{box-sizing:border-box}body{background:#f3f4f6;margin:0}:root{--bg:#f3f4f8;--card:#fff;--line:#e6e8f0;--text:#141826;--muted:#6d7385;--brand:#5a4bff;--brand-2:#7a6bff}.layout{background:var(--page-bg,var(--bg));min-height:100vh;color:var(--text);grid-template-columns:1fr 320px;gap:24px;padding:20px;display:grid}.leftPanel{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:30px 20px;display:flex}.avatarWrap{border:6px solid #f4ecff;border-radius:999px;width:128px;height:128px;overflow:hidden;box-shadow:0 10px 34px #5a4bff3d,inset 0 0 0 1px #ffffffb3}.avatarWrap.small{border-width:4px;width:84px;height:84px;margin:0 auto}.avatarWrap img{object-fit:cover;width:100%;height:100%}.leftPanel h1{letter-spacing:-.4px;max-width:760px;margin:22px 0 8px;font-size:36px;line-height:1.25}.leftPanel p{color:var(--muted);max-width:720px;margin:0}.actionRow{gap:10px;margin-top:26px;display:flex}button{color:#fff;cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-weight:600;transition:transform .15s,box-shadow .2s,opacity .2s}button:hover{transform:translateY(-1px)}button:disabled{cursor:not-allowed;background:#94a3b8}.primary{background:linear-gradient(135deg, var(--brand), var(--brand-2));box-shadow:0 10px 24px #5a4bff47}.secondary{background:linear-gradient(135deg,#2f6dff,#2250d9);box-shadow:0 10px 24px #2b60e740}.ghost{color:#344054;background:#eef1f8;box-shadow:0 4px 12px #10182814}.danger{background:linear-gradient(135deg,#4f46e5,#3640ff);box-shadow:0 10px 24px #4f46e540}.error{color:#b91c1c;margin-top:12px}.rightPanel{border-left:1px solid var(--line);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:10px 0 10px 20px}.rightPanel h3{letter-spacing:-.2px;margin-top:8px;margin-bottom:14px;font-size:20px}.rightPanel label{color:#485063;flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px;display:flex}.rightPanel input,.rightPanel select,.rightPanel textarea{font:inherit;background:#ffffffe6;border:1px solid #d7dcea;border-radius:10px;padding:8px}.rightPanel input:focus,.rightPanel select:focus,.rightPanel textarea:focus{border-color:#8175ff;outline:none;box-shadow:0 0 0 3px #7e6bff29}.ready{color:#6b7280;margin-top:8px;font-size:12px}.chatPage{background:var(--chat-page-bg,#f6f7fb);border:1px solid #e3e6f0;border-radius:20px;grid-template-columns:170px 1fr;gap:22px;width:min(1280px,100vw - 32px);height:min(900px,100vh - 32px);margin:16px auto;padding:18px;display:grid;overflow:hidden;box-shadow:0 18px 42px #161c2d1f,0 2px 8px #161c2d0f}.profileCard{background:#ffffffe0;border:1px solid #e3e8f5;border-radius:16px;height:fit-content;padding:14px;box-shadow:0 8px 22px #19223a12}.profileCard h4{text-align:center;margin:10px 0;font-size:24px}.profileCard p{color:var(--muted);margin:6px 0;font-size:14px}.chatMain{grid-template-rows:1fr auto;min-height:0;display:grid}.chatList{flex-direction:column;gap:16px;padding-bottom:12px;display:flex;overflow:auto}.msgRow{flex-direction:column;gap:6px;max-width:72%;display:flex}.msgRow.user{align-items:flex-end;margin-left:auto}.msgRow.bot{align-items:flex-start}.msgName{color:var(--muted);font-size:13px}.bubble{background:#ffffffeb;border:1px solid #e8eaf2;border-radius:16px;padding:12px 14px;line-height:1.6;box-shadow:0 6px 16px #1118270f}.msgRow.user .bubble{background:linear-gradient(#f3f6ff 0%,#eef2ff 100%);border-color:#dde4ff}.bottomBar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffeb;border:1px solid #e0e5f2;border-radius:16px;align-items:center;gap:10px;margin:0 auto;padding:10px 14px;display:flex;position:sticky;bottom:0;box-shadow:0 12px 28px #1118271a}.statusDot{background:#6d5eff;border-radius:999px;width:9px;height:9px}.modalMask{background:#0000001f;justify-content:flex-end;align-items:flex-end;padding:24px;display:flex;position:fixed;inset:0}.modalBox{background:#fff;border:1px solid #e4e8f2;border-radius:12px;width:300px;padding:14px;box-shadow:0 18px 36px #0f172a29}.modalBox h3{margin:0;font-size:18px}.modalBox p{color:#6b7280;margin:8px 0 0}.modalActions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}@media (width<=1080px){.layout{grid-template-columns:1fr}.rightPanel{border-top:1px solid #e5e7eb;border-left:none;padding:18px 0 0}.leftPanel h1{font-size:28px}.chatPage{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 32px)}.bottomBar{box-sizing:border-box;width:calc(100% - 16px);position:sticky;bottom:0}}@media (width<=768px){.layout{min-height:100svh;padding:10px 10px calc(14px + env(safe-area-inset-bottom));background:radial-gradient(420px 220px at 50% -10%, #ebe8ff 0%, transparent 64%), var(--bg);gap:10px}.leftPanel{background:#ffffffdb;border:1px solid #e6e8f2;border-radius:16px;padding:16px 8px;box-shadow:0 8px 20px #14182614}.avatarWrap{border-width:4px;width:96px;height:96px}.leftPanel h1{letter-spacing:-.2px;margin-top:14px;font-size:22px;line-height:1.35}.leftPanel p{color:#616a7f;font-size:14px;line-height:1.55}.actionRow{width:100%;margin-top:18px}.actionRow button{border-radius:12px;width:100%;min-height:46px;font-size:15px}.rightPanel{background:#ffffffe6;border:1px solid #e6e8f2;border-radius:14px;padding:12px;box-shadow:0 8px 18px #1418260f}.rightPanel h3{margin-top:0;font-size:18px}.rightPanel textarea,.rightPanel input,.rightPanel select{font-size:16px}.chatPage{width:calc(100vw - 12px);height:calc(100svh - 12px - env(safe-area-inset-bottom));border-color:#e2e5f2;border-radius:14px;gap:8px;margin:6px auto;padding:10px}.profileCard{grid-template-columns:56px 1fr 56px;align-items:center;padding:10px;display:grid}.profileCard .avatarWrap.small{justify-self:start;width:56px;height:56px;margin:0}.profileCard h4{text-align:center;justify-self:center;margin:0;font-size:18px}.profileCard p{display:none}.msgRow{max-width:88%}.bubble{border-radius:14px;padding:10px 12px;font-size:15px;line-height:1.55}.bottomBar{width:100%;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-color:#dfe4f2;border-radius:14px;justify-content:space-between;gap:8px;box-shadow:0 10px 22px #0e142324}.bottomBar button{min-height:40px;padding-inline:12px;font-size:14px}.modalMask{align-items:flex-end;padding:10px}.modalBox{width:100%;padding:16px 14px calc(14px + env(safe-area-inset-bottom));border-radius:14px}}
