.assistant-page{background:linear-gradient(180deg,#f8f7ff 0,#fff 46%);min-height:75vh}.assistant-page-wrap{max-width:1180px}.assistant-page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.assistant-page-head h1{font-size:clamp(30px,4vw,50px);margin:7px 0 10px;color:#202844}.assistant-page-head p{max-width:760px;color:#64708a;font-size:18px;line-height:1.9}.assistant-kicker{display:inline-flex;background:#eee9ff;color:#6b52dc;padding:7px 13px;border-radius:999px;font-weight:800}.assistant-unit-pill{background:#fff;border:1px solid #e5e0ff;border-radius:18px;padding:12px 18px;font-weight:800;color:#5545b8;box-shadow:0 10px 30px rgba(71,59,145,.08)}.assistant-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.assistant-side-card,.assistant-chat-card{background:#fff;border:1px solid #ece9f8;border-radius:26px;box-shadow:0 18px 55px rgba(38,45,79,.08)}.assistant-side-card{padding:18px;height:max-content;position:sticky;top:18px}.assistant-side-card h3{margin:3px 0 14px}.assistant-side-card button{width:100%;text-align:right;border:0;background:#f7f6fd;color:#303a58;padding:12px 14px;border-radius:14px;margin:5px 0;font-weight:800;cursor:pointer}.assistant-side-card button:hover{background:#eeeaff}.assistant-aware-note,.assistant-login-note{display:block;margin-top:14px;padding:12px;border-radius:14px;background:#f0faf6;color:#35765f;font-size:13px;line-height:1.7}.assistant-login-note{background:#fff7e8;color:#8b6424;text-decoration:none}.assistant-chat-card{padding:18px;min-height:590px;display:flex;flex-direction:column}.assistant-chat-log{flex:1;min-height:360px;max-height:610px;overflow:auto;padding:5px 4px 14px;scroll-behavior:smooth}.assistant-chat-log.compact{min-height:220px;max-height:330px}.assistant-msg{display:flex;gap:10px;align-items:flex-start;margin:12px 0}.assistant-msg>span{width:36px;height:36px;display:grid;place-items:center;background:#f0edff;border-radius:12px;flex:0 0 auto}.assistant-msg>div{max-width:min(760px,88%);background:#f7f7fb;border-radius:6px 18px 18px 18px;padding:11px 14px;color:#39435f}.assistant-msg-user{direction:ltr}.assistant-msg-user>div{background:#6f58e8;color:#fff;border-radius:18px 6px 18px 18px}.assistant-msg b{display:block;margin-bottom:4px}.assistant-msg p{margin:0;line-height:1.8;white-space:normal}.assistant-msg em{display:block;margin-top:8px;background:#fff9e9;color:#7d6428;padding:8px 10px;border-radius:10px;font-style:normal;font-size:13px}.assistant-msg a{display:inline-flex;margin-top:8px;background:#6f58e8;color:#fff;text-decoration:none;padding:8px 12px;border-radius:10px;font-weight:800}.assistant-quick{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid #eeeaf8;padding-top:12px}.assistant-quick button{border:1px solid #ded8fa;background:#faf9ff;color:#5d49c2;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}.assistant-compose{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.assistant-compose input{min-width:0;border:1px solid #ddd9ed;border-radius:15px;padding:13px 15px;font:inherit;outline:none}.assistant-compose input:focus{border-color:#8b75f0;box-shadow:0 0 0 3px #eeeaff}.assistant-compose button{border:0;background:#6f58e8;color:#fff;border-radius:14px;padding:0 19px;font-weight:800;cursor:pointer}.assistant-grounding{display:block;color:#8991a7;margin-top:10px}.assistant-thinking{margin:10px 48px;color:#8a80a8;font-size:13px}.assistant-quiz-options{display:grid;gap:7px;margin-top:10px}.assistant-quiz-options button{border:1px solid #e1ddf4;background:#fff;padding:9px 12px;border-radius:12px;text-align:right;cursor:pointer}.assistant-quiz-result{padding:9px 10px;border-radius:10px;margin:3px 0 0!important}.assistant-quiz-result.good{background:#eaf9f2;color:#257052}.assistant-quiz-result.bad{background:#fff0f0;color:#a24444}.assistant-fab-wrap{position:fixed;left:22px;bottom:22px;z-index:9998;direction:rtl}.assistant-fab{border:0;border-radius:999px;background:#6f58e8;color:#fff;padding:11px 15px;display:flex;gap:8px;align-items:center;box-shadow:0 14px 38px rgba(77,60,172,.34);cursor:pointer}.assistant-fab span{font-size:20px}.assistant-popover{position:absolute;left:0;bottom:58px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid #e8e4f7;border-radius:22px;box-shadow:0 24px 70px rgba(30,32,55,.22);padding:14px}.assistant-popover header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eeeaf6;padding-bottom:10px}.assistant-popover header>div{display:flex;gap:9px;align-items:center}.assistant-popover header span{font-size:24px}.assistant-popover header small{display:block;color:#8a91a6}.assistant-popover header>button{border:0;background:#f1eff8;width:32px;height:32px;border-radius:10px;font-size:20px;cursor:pointer}.assistant-open-full{display:block;text-align:center;margin-top:9px;color:#6652cf;font-weight:800;text-decoration:none}@media(max-width:820px){.assistant-layout{grid-template-columns:1fr}.assistant-side-card{position:static;display:grid;grid-template-columns:1fr 1fr;gap:6px}.assistant-side-card h3,.assistant-aware-note,.assistant-login-note{grid-column:1/-1}.assistant-page-head{flex-direction:column}.assistant-chat-card{min-height:520px}}@media(max-width:560px){.assistant-fab-wrap{left:10px;bottom:10px}.assistant-fab b{display:none}.assistant-fab{width:52px;height:52px;justify-content:center;padding:0}.assistant-popover{width:calc(100vw - 20px)}.assistant-side-card{grid-template-columns:1fr}.assistant-side-card h3,.assistant-aware-note,.assistant-login-note{grid-column:auto}.assistant-chat-card{padding:12px}.assistant-msg>div{max-width:84%}}

/* V3.18.1 conversation isolation */
.assistant-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.assistant-new-chat{border:1px solid #ddd6ff;background:#fff;color:#5d49c2;border-radius:14px;padding:11px 14px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(71,59,145,.07)}.assistant-new-chat:hover{background:#f5f2ff}.assistant-context-note{background:#f5f3ff;color:#6558a9;border:1px solid #e9e4ff;padding:10px 11px;border-radius:13px;font-size:12px;line-height:1.65;margin-bottom:9px}.assistant-context-note b{color:#3e347d}@media(max-width:820px){.assistant-head-actions{justify-content:flex-start;width:100%}.assistant-new-chat{width:100%}}
