#assistant-open{white-space:nowrap;border:1px solid #c8d8c9;background:#eef5ee;color:#254c3e;border-radius:12px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer}#assistant-open:hover{background:#e1eee2}.ca-overlay{position:fixed;inset:0;z-index:2000;display:none}.ca-overlay.open{display:block}.ca-backdrop{position:absolute;inset:0;background:#15282188}.ca-panel{position:absolute;right:0;top:0;bottom:0;width:min(560px,100%);background:#f6f8f4;box-shadow:-16px 0 45px #0c241c33;display:flex;flex-direction:column;color:#203b32}.ca-head{padding:24px 26px 18px;background:#fff;border-bottom:1px solid #dce5da;display:flex;justify-content:space-between;gap:20px}.ca-head small{color:#5c886a;font-size:11px;font-weight:800;letter-spacing:.14em}.ca-head h2{margin:5px 0 2px;font-size:25px}.ca-head p{margin:0;color:#718275;font-size:13px}.ca-close{width:37px;height:37px;border:1px solid #d8e2d8;border-radius:10px;background:white;font-size:25px;cursor:pointer}.ca-feed{flex:1;overflow:auto;padding:22px 24px}.ca-empty{background:white;border:1px solid #dce5da;border-radius:18px;padding:22px;line-height:1.6}.ca-empty p{margin:8px 0 0;color:#697b70}.ca-turn{margin-bottom:20px}.ca-question{background:#dcebe0;border-radius:15px 15px 3px 15px;padding:13px 16px;margin:0 0 9px 20%;font-weight:650}.ca-answer{background:white;border:1px solid #dce5da;border-radius:15px 15px 15px 3px;padding:15px 16px;line-height:1.6}.ca-answer p{margin:0 0 8px;white-space:pre-wrap}.ca-answer small{color:#73847a}.ca-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ca-links a,.ca-success a{color:#1d6545;font-weight:700;text-decoration:none}.ca-links a{background:#edf5ef;border-radius:8px;padding:7px 10px}.ca-action{margin-top:12px;border:0;border-radius:10px;background:#2f6149;color:white;padding:11px 13px;font:inherit;font-weight:700;cursor:pointer}.ca-success{color:#21664a;margin-top:10px}.ca-compose{background:white;border-top:1px solid #dce5da;padding:15px 22px 18px}.ca-samples{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.ca-samples button{border:1px solid #d6e2d7;background:#f7faf7;color:#355b44;border-radius:999px;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}.ca-compose label{display:block;font-weight:700;margin-bottom:6px}.ca-entry{display:flex;gap:8px;align-items:stretch}.ca-entry textarea{flex:1;min-width:0;border:1px solid #bfcfc2;border-radius:11px;padding:10px 12px;resize:vertical;font:inherit}.ca-entry button{border:0;border-radius:11px;background:#315d48;color:white;padding:0 18px;font:inherit;font-weight:700;cursor:pointer}.ca-compose>small{display:block;color:#73847a;margin-top:10px}.ca-error{background:#fff1ed;color:#a44d35;border-radius:9px;padding:9px 11px;margin:0 0 10px}@media(max-width:640px){#assistant-open{padding:8px 9px;font-size:12px}.ca-head{padding:17px}.ca-head h2{font-size:21px}.ca-feed{padding:14px}.ca-compose{padding:12px}.ca-samples button{font-size:11px}}

/* Nút trợ lý nổi: biểu tượng thư ký có tai nghe, luôn nằm góc phải dưới. */
#assistant-open{position:fixed;right:24px;bottom:24px;z-index:1999;width:66px;height:66px;display:grid;place-items:center;border:3px solid #f7faf5;border-radius:50%;padding:0;background:#315b46;color:#fff;box-shadow:0 9px 28px #173b2c55;transition:transform .18s,box-shadow .18s}#assistant-open:hover{background:#264a39;transform:translateY(-3px);box-shadow:0 13px 31px #173b2c66}#assistant-open:focus-visible{outline:3px solid #e1a755;outline-offset:3px}#assistant-open svg{display:block}#assistant-open::after{content:"";position:absolute;right:1px;top:3px;width:10px;height:10px;border-radius:50%;background:#e0a751;border:2px solid #f7faf5}@media(max-width:640px){#assistant-open{right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:58px;height:58px;padding:0}#assistant-open svg{width:33px;height:33px}}
