/* All conversation layout rules are scoped; legacy page layout stays intact. */
.chat202-mic svg{display:block;margin:auto;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.chat202-body #chat202 .chat202-import{background:none;border:0;padding:4px 0 10px;color:#87466e;font-size:12px;text-align:start;line-height:1.5}
.chat202-body{background:#faf7f1;color:#352332}.chat202-body>.product-shell,.chat202-body>footer,.chat202-body>.contact-footer116,.chat202-body #contact-floating116{display:none!important}.chat202-body .product-header{position:relative!important;flex-shrink:0}.chat202-body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.chat202-body #chat202{display:grid;grid-template-columns:280px minmax(0,1fr);flex:1;min-height:0;width:100%;max-width:1800px;margin:0 auto;background:#faf7f1;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}.chat202-body #chat202 button,.chat202-body #chat202 textarea{font:inherit}.chat202-body #chat202 button{cursor:pointer}.chat202-body #chat202 button:disabled{cursor:wait;opacity:.55}.chat202-body #chat202 button:focus-visible,.milo202-dialog button:focus-visible{outline:3px solid #9061bd;outline-offset:3px}.chat202-sidebar{border-inline-end:1px solid #e7ddd5;display:flex;flex-direction:column;gap:14px;padding:26px 22px;min-height:0}.chat202-new{background:#fffdfb;border:1px solid #eb4097;border-radius:28px;padding:14px 10px;color:#c93280}.chat202-sidebar h2{font-size:11px;font-weight:500;letter-spacing:.17em;text-transform:uppercase;color:#977b91;margin:30px 8px 0}.chat202-history{overflow:auto;flex:1;min-height:0}.chat202-history>button{display:block;width:100%;text-align:start;border:0;border-radius:12px;background:none;color:inherit;padding:12px 9px;font-size:14px}.chat202-history>button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat202-history>button[aria-current=page]{background:#eee6f2}.chat202-history p{font-size:13px;color:#907b8c;line-height:1.7}.chat202-settings{border:0;border-top:1px solid #e7ddd5;padding:16px 0 0;text-align:start;background:none;color:inherit}.chat202-main{min-width:0;min-height:0;display:flex;flex-direction:column}.chat202-top{display:flex;align-items:center;gap:12px;padding:12px 30px;border-bottom:1px solid #e7ddd5;min-height:72px;flex-wrap:wrap}.chat202-top>img{width:45px;height:45px;object-fit:contain}.chat202-top h1{font-family:Georgia,serif;font-size:28px;margin:0;font-weight:500}.chat202-top>span{font-size:11px;background:#fce6f0;color:#8f3a64;padding:5px 10px;border-radius:20px}.chat202-change{margin-inline-start:auto;border:1px solid #d6bdd0;border-radius:20px;background:#fffdfa;color:#623653;padding:8px 14px;font-size:12px!important}.chat202-menu{display:none}.chat202-log{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:30px clamp(20px,5vw,85px);scrollbar-gutter:stable}.chat202-welcome{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 0;box-sizing:border-box}.chat202-welcome>img{height:clamp(140px,24dvh,255px);width:260px;object-fit:contain;margin:0 0 22px}.chat202-welcome h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.8vw,52px);font-weight:400;margin:0 0 12px;line-height:1.2}.chat202-welcome p{color:#92758a;font-size:18px;margin:0 0 25px}.chat202-prompts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.chat202-prompts button{background:#fffdfb;border:1px solid #dca1c0;border-radius:26px;padding:10px 24px;color:#6c3658;font-size:14px}.chat202-turn{display:flex;align-items:flex-start;gap:16px;margin-bottom:30px;line-height:1.7;font-size:16px}.chat202-turn>img{width:40px;height:40px;object-fit:contain;flex:0 0 40px}.chat202-turn>div{min-width:0;max-width:88%}.chat202-message{white-space:pre-wrap;overflow-wrap:anywhere}.chat202-turn.is-user{justify-content:flex-end}.is-user .chat202-message{background:#fbe5f2;padding:14px 22px;border-radius:24px}.chat202-tools{display:flex;align-items:center;gap:8px;margin-top:7px}.chat202-tools button{padding:2px 6px;border:0;background:none;color:#84637c;font-size:20px!important}.chat202-tools audio{max-width:100%;height:36px}.chat202-bottom{padding:0 clamp(20px,5vw,85px) max(12px,env(safe-area-inset-bottom));flex-shrink:0}.chat202-bottom>[role=status]{font-size:13px;line-height:1.5;color:#8c456a;margin:0 0 8px;min-height:0}.chat202-composer{display:flex;align-items:flex-end;gap:10px;background:#fff;border:1px solid #e4cfde;border-radius:28px;padding:10px 12px;margin:0;box-shadow:0 3px 0 #e8ddd4}.chat202-input{flex:1;min-width:0;margin:0!important}.chat202-input textarea{display:block;width:100%;border:0!important;background:none!important;resize:none;min-height:32px!important;height:44px;max-height:140px;padding:9px 10px!important;box-sizing:border-box;color:#352332;outline:none;border-radius:0!important;font-size:16px!important;line-height:1.5}.chat202-input textarea::placeholder{color:#a58b9d}.chat202-composer button{border:0;border-radius:50%;height:44px;width:44px;flex:0 0 44px;padding:0}.chat202-mic{background:transparent;color:#6e4a5e;font-size:24px!important}.chat202-mic[aria-pressed=true]{background:#fde3ee;color:#c5296c}.chat202-send{background:#e93c96;color:white;font-size:22px!important}.chat202-foot{text-align:center;font-size:11px;color:#a48b9d;margin:14px 0 0}.chat202-thinking,.chat202-loading{color:#97748c;font-size:14px}.chat202-recorded{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;margin:8px 0}.chat202-recorded audio{height:34px;max-width:100%}.chat202-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.milo202-dialog{width:min(760px,calc(100vw - 32px));max-height:85dvh;box-sizing:border-box;overflow:auto;border:1px solid #e6d6e2;border-radius:24px;background:#fffcf8;color:#392338;padding:24px}.milo202-dialog::backdrop{background:#30223470}.milo202-dialog h2{font-family:Georgia,serif;font-weight:400;margin:0 0 16px}.milo202-dialog button{cursor:pointer;padding:9px 16px;border:1px solid #deb9d0;border-radius:24px;background:#fff9fc;color:#754567;margin:4px}.milo202-dialog p{line-height:1.7}.milo202-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:15px 0}.milo202-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:8px;border:1px solid #dfbcd3;border-radius:22px;padding:12px;background:#fff;color:#765c75;font:inherit}.milo202-grid button[aria-pressed=true]{border-color:#e83b96;background:#fff0f7;color:#bd2f7b}.milo202-grid img{width:100%;max-width:110px;height:110px;object-fit:contain}.milo202-grid span{font-size:13px;text-align:center}.milo202-actions{display:flex;align-items:center;gap:22px}.milo202-preview{width:150px;height:150px;object-fit:contain}.milo202-save{padding:12px 26px;border:1px solid #e63c92;border-radius:26px;background:#fff8fc;color:#ba307b;font:inherit}.mascot-settings>p{font-size:13px;color:#90798b}.milo202-dialog :focus-visible,.milo202-grid :focus-visible{outline:3px solid #a07bc0;outline-offset:2px}
@media(max-width:800px){.chat202-body #chat202{grid-template-columns:minmax(0,1fr);position:relative}.chat202-sidebar{display:none;position:absolute;inset:0 auto 0 0;width:min(280px,80vw);background:#fcf8f3;z-index:20;box-shadow:12px 0 25px #39253618;box-sizing:border-box}[dir=rtl] .chat202-sidebar{inset:0 0 0 auto}.chat202-sidebar.is-open{display:flex}.chat202-menu{display:block;border:0;background:transparent;color:#694360;padding:6px}.chat202-top{padding:9px 12px;gap:7px;min-height:60px}.chat202-top h1{font-size:23px}.chat202-top>img{width:36px;height:36px}.chat202-top>span{font-size:10px;padding:4px 6px}.chat202-change{padding:7px 9px;font-size:11px!important}.chat202-log{padding:22px 16px}.chat202-bottom{padding-inline:12px}.chat202-welcome h2{font-size:31px}.chat202-welcome p{font-size:15px}.chat202-turn{font-size:15px;gap:9px}.chat202-turn>img{width:30px;height:30px;flex-basis:30px}.chat202-turn>div{max-width:calc(100% - 40px)}.chat202-prompts button{font-size:12px;padding:9px 14px}.chat202-welcome>img{height:clamp(110px,22dvh,200px);margin-bottom:16px}.chat202-foot{font-size:10px;margin-top:10px}.chat202-tools{flex-wrap:wrap}.milo202-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.milo202-grid img{height:82px}.milo202-dialog{padding:16px}}
@media(prefers-reduced-motion:reduce){.chat202-body *{scroll-behavior:auto!important;animation:none!important}}
/* Override inherited product typography only inside the new conversation canvas. */

.chat202-body #chat202{font-family:system-ui,-apple-system,'Segoe UI','Microsoft YaHei',sans-serif!important}.chat202-body #chat202 button,.chat202-body #chat202 p,.chat202-body #chat202 textarea,.chat202-body #chat202 span,.chat202-body #chat202 .chat202-message{font-family:inherit!important}.chat202-body #chat202 .chat202-sidebar h2{font-family:inherit!important;font-size:11px!important;line-height:1.5!important;font-weight:500!important;letter-spacing:.12em!important}.chat202-body #chat202 .chat202-welcome h2{font-family:Georgia,'Microsoft YaHei',serif!important;font-size:clamp(30px,3.8vw,52px)!important;font-weight:400!important}.chat202-body #chat202 .chat202-new{background:#fffdfb!important;border-color:#eb4097!important;color:#c93280!important}.chat202-body #chat202 .chat202-send{background:#e93c96!important;color:#fff!important}.chat202-body #chat202 .chat202-settings{background:none!important;border:0!important;border-top:1px solid #e7ddd5!important;border-radius:0!important}.chat202-body #chat202 .chat202-change{background:#fffdfa!important}.chat202-body #chat202 .chat202-top h1{font-family:Georgia,'Microsoft YaHei',serif!important;font-size:28px!important;line-height:1.3!important}

/* Scoped fixes for companion settings, chat actions and the shared language control. */
.mascot-settings{display:flex;align-items:center;gap:22px;min-width:0;flex-wrap:wrap}.mascot-settings .milo203-current{width:140px;height:140px;object-fit:contain}.mascot-settings>div{min-width:0}.mascot-settings button{white-space:normal}.milo202-dialog .milo202-grid{max-height:50dvh;overflow:auto;overscroll-behavior:contain}.milo202-dialog .milo202-actions{position:sticky;bottom:0;background:#fffcf8;border-top:1px solid #ecdeea;padding:10px 0}.milo202-dialog .milo202-preview{width:100px;height:100px}.chat202-body #chat202 .chat203-delete{font-size:12px!important;border:1px solid #ddbdd2;border-radius:15px;background:#fff7fb;padding:5px 12px;color:#9c356a}.chat202-body #chat202 .chat202-turn.is-user .chat202-tools{justify-content:flex-end}.chat202-body #chat202 .chat202-tools>button{min-width:32px;min-height:32px}.chat202-body #chat202 [data-pending203]{opacity:.8}.chat202-body #chat202 .chat202-top>img,.chat202-body #chat202 .chat202-turn>img{object-fit:contain;aspect-ratio:1}.chat202-body #chat202 .chat202-welcome>img{object-fit:contain;object-position:center;aspect-ratio:1}
header.nav72-header .language73-button,header.nav72-header .language73-button .language73-name,header.nav72-header .language73-button .language73-caret,header.nav72-header .language73-menu button,header.nav72-header .language73-menu button span{font-size:14px!important;line-height:1.4!important;font-weight:400!important;letter-spacing:normal!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
header.nav72-header .language73-button{min-height:40px!important;padding:8px 14px!important;gap:8px!important;min-width:0!important;width:auto!important}header.nav72-header .language73-button svg{width:19px!important;height:19px!important;flex-shrink:0}header.nav72-header .language73-menu{width:190px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;padding:8px!important;box-sizing:border-box}header.nav72-header .language73-menu button{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;width:100%!important;height:auto!important;min-height:40px!important;padding:9px 12px!important;border-radius:12px!important}header.nav72-header .language73-menu button span:first-child{flex:1;min-width:0;text-align:start}
@media(max-width:600px){.mascot-settings .milo203-current{width:110px;height:110px}.milo202-dialog .milo202-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:48dvh}header.nav72-header .language73-button,header.nav72-header .language73-button .language73-name,header.nav72-header .language73-menu button,header.nav72-header .language73-menu button span{font-size:13px!important}.chat202-body #chat202 .chat202-tools{gap:4px}}

/* This section only affects the chat document and its companion picker. */
@media(max-width:600px){.chat202-body header.nav72-header .nav72-toggle{width:32px!important;min-width:32px!important;height:44px!important;padding:0!important;flex:0 0 32px!important;line-height:1!important}.chat202-body header.nav72-header .nav72-right{min-width:0!important;flex-wrap:nowrap!important}}
.chat202-body #chat202 .chat202-top{flex-wrap:nowrap;gap:10px;min-height:72px;box-sizing:border-box}
.chat205-identity{min-width:0;display:flex;flex-direction:column;gap:2px}.chat205-identity h1{margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat202-body #chat202 .chat205-identity>span{font-size:11px!important;color:#8b7486;background:none;padding:0;line-height:1.5;white-space:nowrap}
.chat202-body #chat202 .chat202-change{flex:0 0 auto;white-space:nowrap;margin-inline-start:auto}
.chat205-historyrow{position:relative;display:flex;align-items:center;flex-wrap:wrap;border-radius:12px}.chat205-historyrow:has([aria-current=page]){background:#eee6f2}.chat205-historyrow>[data-chat202=open]{min-width:0;flex:1;border:0;background:none;text-align:start;padding:12px 9px;font-size:14px!important;color:inherit}.chat205-historyrow>[data-chat202=open]>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat205-thread-menu{flex:0 0 36px;min-height:40px;border:0;background:none;color:#84637c;font-size:22px!important}.chat205-rename-row{margin:0 8px 8px auto;border:1px solid #dac4d4;border-radius:14px;background:#fffcfa;color:#633d58;padding:7px 12px;font-size:12px!important}.chat205-rename label{display:flex;flex-direction:column;gap:10px}.chat205-rename input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d8c3d4;border-radius:10px;color:#352332;background:#fff;font:inherit}.chat205-rename button{margin:10px 8px 0 0}
.chat202-body #chat202 .chat205-voice{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(var(--voice-width),100%);max-width:100%;min-width:104px;min-height:48px;border:1px solid #e2cddd;border-radius:22px;padding:10px 18px;background:#f0e9f3;color:#65435d;font-size:16px!important;box-sizing:border-box}.chat202-body #chat202 .is-user .chat205-voice{background:#fbe5f2;border-color:transparent;margin-inline-start:auto}.chat205-wave{font-size:20px!important;letter-spacing:2px;white-space:nowrap}.chat205-voice.is-playing .chat205-wave{animation:chat205-wave 1s ease-in-out infinite}.chat205-voice b{font-weight:400;font-size:14px}.chat205-transcript{margin:10px 0 0;padding:10px 12px;border-inline-start:2px solid #d9c3d6;white-space:pre-wrap;overflow-wrap:anywhere;color:#796274;font-size:14px;line-height:1.7}.chat205-voice-wait{padding:10px 0;display:flex;align-items:center;gap:10px;color:#8b7486;font-size:13px}.chat202-body #chat202 .chat202-thinking{display:flex;align-items:center;gap:16px;min-height:44px;margin:14px 0 22px}.chat202-thinking>img{width:40px;height:40px;object-fit:contain}.chat205-dots{display:inline-flex;align-items:center;gap:5px;min-width:40px;padding:10px 4px}.chat205-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#ac85a4;animation:chat205-dot 1.15s ease-in-out infinite}.chat205-dots i:nth-child(2){animation-delay:.16s}.chat205-dots i:nth-child(3){animation-delay:.32s}@keyframes chat205-dot{0%,65%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-5px);opacity:1}}@keyframes chat205-wave{50%{opacity:.4}}
.chat202-body #chat202 .chat205-text-toggle{font-size:12px!important;border:1px solid #dbc8d7;border-radius:15px;padding:5px 10px}
.chat202-body #chat202 .chat205-record-limit{font-size:12px!important;color:#8b7486;line-height:1.5;margin:4px 0 8px}
@media(max-width:600px){.chat202-body #chat202 .chat202-top{padding:10px 12px;gap:8px;min-height:66px}.chat202-body #chat202 .chat202-top>.chat202-menu{width:34px;height:34px;min-width:34px;min-height:34px;flex:0 0 34px;padding:0;border-radius:50%;font-size:17px!important}.chat202-body #chat202 .chat202-top>img{width:36px;height:36px;flex:0 0 36px}.chat202-body #chat202 .chat205-identity h1{font-size:21px!important;line-height:1.2!important}.chat202-body #chat202 .chat205-identity>span{font-size:10px!important}.chat202-body #chat202 .chat202-change{font-size:12px!important;padding:8px 10px;min-height:36px;max-width:100px}.chat202-body #chat202 .chat202-turn{gap:9px}.chat202-body #chat202 .chat202-turn>div{max-width:calc(100% - 46px)}.chat202-body #chat202 .chat202-turn.is-user>div{max-width:85%}.chat202-body #chat202 .chat202-recorded{flex-wrap:wrap}.chat202-recorded audio{max-width:100%}.chat205-rename-row{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.chat205-dots i,.chat205-voice.is-playing .chat205-wave{animation:none}}

.chat202-body #chat202 .chat205-historyrow{display:block;padding:7px 10px;margin-bottom:5px}.chat202-body #chat202 .chat205-historyrow>[data-chat202=open]{display:block;width:100%;padding:4px 0;background:none!important;min-height:0;border:0!important;border-radius:0;box-shadow:none}.chat202-body #chat202 .chat205-thread-menu{display:inline-flex;align-items:center;justify-content:flex-start;min-width:36px;width:auto;min-height:30px;height:30px;padding:0 6px;border:0!important;border-radius:0;background:none!important;box-shadow:none;font-size:20px!important;line-height:1}.chat202-body #chat202 .chat205-rename-row{display:inline-block;margin:0;padding:5px 8px;border:0;border-radius:0;background:none;font-size:12px!important;min-height:30px;box-shadow:none}.chat202-body #chat202 .chat206-save-plan{border:0;background:none;padding:5px 8px;font-size:12px!important;color:#92738b;border-radius:0;box-shadow:none}.chat206-source{padding:8px 18px;font-size:13px;color:#947187;overflow-wrap:anywhere}.chat205-thread-menu:focus-visible,.chat205-rename-row:focus-visible{outline:2px solid #c64a95;outline-offset:2px}
