/* MAX shares the existing chat. The document editor keeps its native controls and layout. */
html:root body [data-lxc-max-hidden]{display:none!important}
html:root body .batch-smart-mode.lxc-standard-with-max .batch-smart-switch{display:none!important}
html:root body .lxc-max-mode{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 24px;padding:19px 22px;border:1px solid rgba(31,86,55,.16);border-radius:22px;background:rgba(255,255,255,.72);color:#153823}
html:root body .lxc-max-mode.is-enabled{border-color:rgba(41,105,51,.34);background:linear-gradient(120deg,rgba(223,244,191,.8),rgba(251,255,245,.94))}
html:root body .lxc-max-mode>div>strong{font-size:16px;font-weight:650;letter-spacing:-.02em}
html:root body .lxc-max-mode strong>span{display:inline-block;margin-left:5px;padding:3px 6px;border-radius:6px;font-size:10px;letter-spacing:.08em;background:#224932;color:#e9ffcb;vertical-align:2px}
html:root body .lxc-max-mode p{margin:5px 0 0;font-size:13px;line-height:1.5;color:#506655}
html:root body .lxc-max-mode>label{display:flex;flex:none;align-items:center;gap:9px;position:relative;margin:0;cursor:pointer}
html:root body .lxc-max-mode label>b{min-width:66px;font-size:12px;font-weight:500}
html:root body .lxc-max-mode input{position:absolute;z-index:1;opacity:0;width:40px;height:24px;margin:0;cursor:pointer}
html:root body .lxc-max-mode label>span{position:relative;display:block;width:40px;height:24px;border-radius:99px;background:#d5ddd3;transition:background .2s}
html:root body .lxc-max-mode label>span:after{position:absolute;content:'';left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #1233;transition:transform .2s}
html:root body .lxc-max-mode input:checked+span{background:#315b3c}
html:root body .lxc-max-mode input:checked+span:after{transform:translateX(16px)}
html:root body .lxc-max-mode input:focus-visible+span{outline:3px solid #83ad58;outline-offset:3px}
html:root body .lxc-max-mode input:disabled+span{opacity:.5}
html:root body .lxc-max-foot{flex:0 1 auto;min-height:0;max-height:min(36vh,320px);overflow-y:auto;overscroll-behavior:contain;margin:4px 16px 0;padding:14px 15px;border:1px solid rgba(31,86,55,.14);border-radius:18px;background:rgba(238,247,227,.68);scrollbar-width:thin;font-size:12px;line-height:1.5;color:#244532}
html:root body .lxc-max-foot[hidden]{display:none}
html:root body .lxc-max-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
html:root body .lxc-max-heading>strong{font-size:13px;line-height:1.3}
html:root body .lxc-max-heading>span{font-size:11px;color:#536b56}
html:root body .lxc-max-foot p{margin:6px 0;overflow-wrap:anywhere;font-size:12px;line-height:1.45}
html:root body .lxc-max-file{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root body .lxc-max-track{height:3px;overflow:hidden;margin:10px 0;border-radius:8px;background:#d4e0cb}
html:root body .lxc-max-track i{display:block;width:30%;height:100%;border-radius:8px;background:#56804b;animation:lxc-max-progress 1.7s ease-in-out infinite alternate}
@keyframes lxc-max-progress{to{transform:translateX(230%)}}
html:root body .lxc-max-foot .lxc-max-partial{color:#785d21}
html:root body .lxc-max-foot details{margin:10px 0 0;border-top:1px solid #285b3020;padding-top:8px}
html:root body .lxc-max-foot summary{cursor:pointer;font-weight:600}
html:root body .lxc-max-foot ul{list-style:none;margin:8px 0 0;padding:0}
html:root body .lxc-max-foot li{padding:9px 0;border-bottom:1px solid #285b3018;overflow-wrap:anywhere}
html:root body .lxc-max-foot li:last-child{border-bottom:0}
html:root body .lxc-max-foot li>strong{font-size:12px}
html:root body .lxc-max-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
html:root body .lxc-max-foot button{appearance:none;border:1px solid rgba(31,86,55,.18);border-radius:10px;padding:7px 10px;background:#fff;color:#264b32;cursor:pointer;font:inherit;font-size:11px;line-height:1.4;font-weight:600;white-space:normal;text-align:left}
html:root body .lxc-max-foot button:hover:enabled{background:#f8fdef;border-color:#609151}
html:root body .lxc-max-foot button:focus-visible{outline:2px solid #609151;outline-offset:2px}
html:root body .lxc-max-foot button:disabled{opacity:.45;cursor:default}
html:root body .lxc-max-foot .lxc-max-download{background:#214c32;border-color:#214c32;color:#fff}
html:root body .lxc-max-foot .lxc-max-download:hover:enabled{background:#316541}
html:root body .lxc-max-target{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:10px 0;padding:8px;border-radius:10px;background:#fff9;border:1px solid #91b678;overflow-wrap:anywhere}
html:root body .lxc-max-target>span{min-width:0}
html:root body .lxc-max-target>button{flex:none;max-width:90px}
html:root body .lxc-max-foot .lxc-max-notice{padding-top:7px;color:#755525}
html:root body .lxc.is-max .lxc-empty{min-height:60px;overflow:auto;padding:18px 25px}
html:root body .lxc.is-max .lxc-empty strong{font-size:26px}
html:root body .lxc.is-max .lxc-empty .lxc-orb{display:none}
html:root body .lxc.is-max .lxc-form{flex-shrink:0}
html:root body .lxc.is-max .lxc-head,html:root body .lxc.is-max .lxc-bar{flex-shrink:0}
html:root body .lxc.is-max .lxc-list{min-height:70px}
@media(max-width:600px){
 html:root body .lxc-max-mode{align-items:flex-start;padding:16px;gap:12px;flex-direction:column}
 html:root body .lxc.is-max:not(#lxc-x){max-height:calc(100dvh - 24px);top:12px;bottom:12px}
 html:root body .lxc.is-max .lxc-head{padding:15px 16px 8px}
 html:root body .lxc.is-max .lxc-tt h2{font-size:25px}
 html:root body .lxc.is-max .lxc-tt p{font-size:11px}
 html:root body .lxc.is-max .lxc-bar{padding:0 16px 8px}
 html:root body .lxc-max-foot{max-height:30dvh;padding:11px 12px;margin:3px 12px 0}
 html:root body .lxc.is-max .lxc-form{margin:8px 12px 12px}
 html:root body .lxc.is-max .lxc-form textarea{max-height:100px}
}
@media(prefers-reduced-motion:reduce){html:root body .lxc-max-track i{animation:none}html:root body .lxc-max-mode label>span,html:root body .lxc-max-mode label>span:after{transition:none}}

/* MAX 189 — a luminous, unmistakable workspace, within Ali Gator's light theme. */
html:root body .lxc .lxc-mode-eyebrow,
html:root body .lxc .lxc-max-hero,
html:root body .lxc .lxc-max-capabilities{display:none}
html:root body .lxc.is-max:not(#lxc-x){
 --max-ink:#153d2b;--max-muted:#4c6756;--max-line:#b8d5b9;--max-lime:#cef987;
 border:1px solid transparent;border-radius:32px;color:var(--max-ink);
 background:radial-gradient(ellipse at 95% 0%,rgba(207,249,134,.46),transparent 44%) padding-box,
 linear-gradient(155deg,#fffffd 5%,#f7fcf2 48%,#fff 100%) padding-box,
 linear-gradient(135deg,#d9efb1 5%,#75a889 38%,#e5f7c9 72%,#96bf92 100%) border-box;
 box-shadow:0 0 0 4px rgba(225,240,207,.68),0 0 42px -12px rgba(158,215,92,.36),0 30px 80px -26px rgba(20,64,39,.29),inset 0 1px 0 #fff;
 -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);isolation:isolate;
}
html:root body .lxc.is-max .lxc-head{position:relative;gap:14px;padding:24px 22px 14px;background:linear-gradient(115deg,rgba(255,255,255,.72),rgba(223,248,185,.28));border-radius:31px 31px 0 0}
html:root body .lxc.is-max .lxc-head:after{content:'';position:absolute;left:22px;right:22px;top:0;height:2px;background:linear-gradient(90deg,transparent,#a9de68 35%,#3d8a61 75%,transparent);opacity:.8;pointer-events:none}
html:root body .lxc.is-max .lxc-mark{position:relative;width:54px;height:54px;border-radius:18px;color:#194d2d;background:radial-gradient(circle at 24% 20%,#fff 0,#f2ffd4 12%,#d8fc9d 44%,#a8df69 100%);border:1px solid #fff;box-shadow:0 0 0 1px #a9d88b,0 8px 22px -9px #74b84588,inset 0 1px 4px #fff;transform:rotate(-5deg)}
html:root body .lxc.is-max .lxc-mark svg{width:27px;height:27px;transform:rotate(5deg)}
html:root body .lxc.is-max .lxc-mode-eyebrow{display:block;margin:0 0 6px;font-family:var(--lx-mono,ui-monospace,monospace);font-size:9px;font-weight:600;line-height:1.1;letter-spacing:.16em;text-transform:uppercase;color:#4f7855}
html:root body .lxc.is-max .lxc-tt h2{font-family:var(--lx-sans,system-ui,sans-serif);font-size:31px;font-weight:720;line-height:1.03;letter-spacing:-.065em;color:#163f2c}
html:root body .lxc.is-max .lxc-tt p{display:block;margin-top:7px;font-size:11.5px;line-height:1.4;color:#4c6856;letter-spacing:0}
html:root body .lxc.is-max .lxc-min{align-self:flex-start;margin-top:5px;border:1px solid #dae8d3;background:#ffffffb8;color:#426448;border-radius:12px;box-shadow:0 2px 3px #244a2410}
html:root body .lxc.is-max .lxc-min:hover{background:#fff;border-color:#aac994}
html:root body .lxc.is-max .lxc-bar{padding:2px 22px 15px;border-bottom:1px solid rgba(128,173,119,.2);background:linear-gradient(90deg,#ffffff45,#e5f5d12b)}
html:root body .lxc.is-max .lxc-chip{min-height:26px;height:auto;padding:5px 10px;border:1px solid #ccdfbc;background:#f7fdec;font-size:10.5px;font-weight:600;line-height:1.2;letter-spacing:.015em;color:#36583b;box-shadow:0 1px 0 #fff}
html:root body .lxc.is-max .lxc-chip:before{width:6px;height:6px;background:#78a94f;box-shadow:0 0 0 3px #d6ebc48a}
html:root body .lxc.is-max .lxc-chip.is-busy{color:#245c3d;background:#edf9df;border-color:#bad89b}
html:root body .lxc.is-max .lxc-chip.is-busy:before{background:#2e8151;animation:none}
html:root body .lxc.is-max .lxc-chip.is-ask{background:#fff7df;border-color:#e9dba9;color:#745921}
html:root body .lxc.is-max .lxc-chip.is-ask:before{background:#ad7f29;box-shadow:0 0 0 3px #eecf8160}
html:root body .lxc.is-max .lxc-chip.is-ok{background:#effbdc;border-color:#b4d990;color:#365e25}
html:root body .lxc.is-max .lxc-reset{font-size:11px;color:#5a705f;padding:7px 8px}
/* A static glass sphere, orbital trace and small constellation. No perpetual decorative animation. */
html:root body .lxc.is-max .lxc-empty{position:relative;justify-content:flex-start;justify-content:safe center;gap:13px;padding:22px 28px 26px;min-height:80px;overflow:auto;background:radial-gradient(ellipse at 50% 30%,#dbf5b534,transparent 66%)}
html:root body .lxc.is-max .lxc-empty .lxc-orb{display:none}
html:root body .lxc.is-max .lxc-max-hero{display:block;position:relative;flex:none;width:176px;height:150px;margin:-4px 0 0;background:radial-gradient(circle at 13% 31%,#79ac65 0 2px,transparent 3px),radial-gradient(circle at 84% 24%,#b0d982 0 3px,transparent 4px),radial-gradient(circle at 89% 71%,#508c64 0 2px,transparent 3px),radial-gradient(circle at 23% 87%,#aacd94 0 2px,transparent 3px),radial-gradient(ellipse at 50% 68%,#bcde9052,transparent 61%);pointer-events:none}
html:root body .lxc.is-max .lxc-max-hero:before{content:'';position:absolute;z-index:1;left:43px;top:24px;width:90px;height:90px;border-radius:32px;transform:rotate(-14deg);border:1px solid #fff;background:radial-gradient(circle at 29% 20%,#fffffd 0,rgba(255,255,255,.96) 10%,rgba(241,255,217,.88) 19%,transparent 47%),radial-gradient(circle at 78% 80%,#8ab87b70,transparent 54%),linear-gradient(145deg,#e7ffc1 5%,#c1f282 44%,#a4d785 77%,#d6f6ba 100%);box-shadow:inset 0 0 0 5px #ffffff30,inset -8px -10px 19px #508d4238,inset 8px 8px 12px #ffffffe6,0 0 0 1px #8eb67555,0 15px 28px -8px #5b954459}
html:root body .lxc.is-max .lxc-max-hero:after{content:'✦';position:absolute;z-index:2;inset:12px 7px 19px;display:grid;place-items:center;border:1px solid #8fbd8290;border-radius:50%;transform:rotate(-24deg) scaleY(.59);font-family:Georgia,serif;font-size:73px;line-height:1;color:#306443;text-shadow:0 2px 1px #fff9;box-shadow:0 0 0 9px #d9efc62e,0 0 0 10px #a6ce9340}
html:root body .lxc.is-max .lxc-empty>strong{max-width:12ch;margin:0;font-family:var(--lx-serif,Georgia,serif);font-size:38px;font-weight:400;line-height:1.03;letter-spacing:-.032em;color:#1b442d;text-wrap:balance}
html:root body .lxc.is-max .lxc-empty>p{max-width:34ch;margin:0;font-size:12.5px;line-height:1.6;letter-spacing:0;color:#4a6853;text-wrap:pretty}
html:root body .lxc.is-max .lxc-max-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:min(100%,310px);margin-top:6px}
html:root body .lxc.is-max .lxc-max-capabilities>span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:35px;border:1px solid #dceace;border-radius:11px;background:linear-gradient(180deg,#ffffffe6,#f9fff1ba);box-shadow:0 2px 3px #365b2c05;font-size:10.5px;font-weight:550;line-height:1.2;color:#3d6548}
html:root body .lxc.is-max .lxc-max-capabilities>span:before{content:'◎';font-size:16px;font-family:var(--lx-sans,system-ui,sans-serif);font-weight:500;line-height:1;color:#5e8850}
html:root body .lxc.is-max .lxc-max-capabilities>span:nth-child(2):before{content:'✧';font-size:18px}
html:root body .lxc.is-max .lxc-max-capabilities>span:nth-child(3):before{content:'✓';font-size:13px}
/* Clear conversational hierarchy: light emerald user messages, white assistant cards. */
html:root body .lxc.is-max .lxc-list{padding:22px 20px 15px;gap:16px;min-height:64px;background:linear-gradient(180deg,#ffffff00,#ffffff6b)}
html:root body .lxc.is-max .lxc-msg{font-size:13.5px;line-height:1.65}
html:root body .lxc.is-max .lxc-msg.is-ai{position:relative;max-width:100%;padding:16px 17px;background:#fffffff2;border:1px solid #dce8d5;border-radius:19px 19px 19px 7px;color:#234531;box-shadow:0 2px 4px #244a2510,0 12px 30px -25px #274b26}
html:root body .lxc.is-max .lxc-msg.is-user{max-width:88%;padding:13px 16px;background:linear-gradient(145deg,#eaf9d2,#d7edc5);color:#214b31;border:1px solid #bdd9a5;border-radius:19px 19px 7px 19px;box-shadow:inset 0 1px 0 #ffffffe6,0 3px 8px #294b1b08}
html:root body .lxc.is-max .lxc-msg.is-error{padding:12px 15px;background:#fff7ee;border-color:#edd4b6;color:#76522c;border-radius:14px}
html:root body .lxc.is-max .lxc-msg b{color:#1d492e}
html:root body .lxc.is-max .lxc-msg.is-typing{border-style:dashed;background:#ffffffb3;box-shadow:none}
html:root body .lxc.is-max .lxc-dots i{animation:none!important;background:#74a153}
html:root body .lxc.is-max .lxc-dots i:nth-child(2){opacity:.65}
html:root body .lxc.is-max .lxc-dots i:nth-child(3){opacity:.35}
/* Results remain a compact, separately scrollable control card. */
html:root body .lxc.is-max .lxc-max-foot{margin:5px 18px 0;padding:14px 15px;border:1px solid #c7ddba;border-radius:18px;background:linear-gradient(125deg,#f2f9eafa,#fcfff9fa);box-shadow:inset 0 1px 0 #fff,0 4px 10px #284b1e06;color:#31533b;max-height:min(34vh,300px)}
html:root body .lxc.is-max .lxc-max-heading>strong{font-size:12px;font-weight:650;letter-spacing:-.01em;color:#2a5135}
html:root body .lxc.is-max .lxc-max-heading>span{font-size:10px;color:#58754f}
html:root body .lxc.is-max .lxc-max-foot p{font-size:11.5px;line-height:1.5}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-partial{color:#795c25}
html:root body .lxc.is-max .lxc-max-track{height:4px;margin:10px 0;background:#dceacf;border-radius:4px}
html:root body .lxc.is-max .lxc-max-track i{width:100%;background:repeating-linear-gradient(100deg,#80af655c 0 10px,#b9d89566 10px 20px);animation:none;transform:none}
html:root body .lxc.is-max .lxc-max-foot button{min-height:33px;padding:7px 10px;border-color:#c4d8b6;border-radius:10px;background:#fff;color:#365b40;font-size:10.5px;font-weight:600;box-shadow:0 1px 2px #2549230a;transition:background .15s,border-color .15s,transform .15s}
html:root body .lxc.is-max .lxc-max-foot button:hover:enabled{background:#f7ffe9;border-color:#8dbb72;transform:translateY(-1px)}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-download{color:#173f29;border-color:#a2c777;background:linear-gradient(180deg,#ddf7b4,#c1e694);box-shadow:inset 0 1px 0 #f5ffe9,0 4px 10px #70a13516}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-download:hover:enabled{background:#d8f4ad}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-notice{color:#785425}
html:root body .lxc.is-max .lxc-max-target{background:#fff;border-color:#a7c78c;color:#315737}
/* The composer becomes the main action surface, without any dark backdrop. */
html:root body .lxc.is-max .lxc-form{position:relative;flex-shrink:0;margin:14px 18px 18px;padding:10px 10px 10px 15px;border:1px solid #a8c791;border-radius:21px;background:#fffffff5;box-shadow:0 0 0 3px #e7f2dc80,inset 0 1px 0 #fff,0 7px 17px -10px #395b334d;gap:10px;transition:border-color .2s,box-shadow .2s}
html:root body .lxc.is-max .lxc-form:focus-within{border-color:#629457;box-shadow:0 0 0 4px #c8e89c80,0 9px 23px -12px #395b334d}
html:root body .lxc.is-max .lxc-form textarea{font-size:14px;line-height:1.5;color:#244c31;padding:8px 0;max-height:140px;caret-color:#388652}
html:root body .lxc.is-max .lxc-form textarea::placeholder{color:#607957;opacity:1}
html:root body .lxc.is-max .lxc-send{width:42px;height:42px;border-radius:14px;border:1px solid #a8d076;background:linear-gradient(145deg,#e1ffb6,#b1e472);color:#285137;box-shadow:inset 0 1px 0 #f9ffed,0 4px 10px #6b9d3426;transition:transform .15s,background .15s}
html:root body .lxc.is-max .lxc-send:hover:enabled{transform:translateY(-1px);background:#d5fca0}
html:root body .lxc.is-max .lxc-send:disabled{opacity:.45;box-shadow:none}
html:root body .lxc.is-max :is(button,summary,a):focus-visible{outline:2px solid #357b4e!important;outline-offset:3px}
/* Make the MAX choice itself feel distinct from the ordinary intelligent mode. */
html:root body .lxc-max-mode{position:relative;border-color:#cedfc0;background:linear-gradient(125deg,#fff,#f4fbe8);box-shadow:inset 0 1px 0 #fff,0 3px 9px #38512605}
html:root body .lxc-max-mode.is-enabled{border-color:#a1c279;background:radial-gradient(ellipse at 0% 0%,#d9f7ab9c,transparent 68%),linear-gradient(120deg,#f7ffe9,#fdfff8);box-shadow:0 0 0 3px #e6f2d47a,inset 0 1px 0 #fff,0 9px 23px -18px #4e743d80}
html:root body .lxc-max-mode>div>strong{font-weight:650;color:#284d32;letter-spacing:-.035em}
html:root body .lxc-max-mode strong>span{padding:4px 7px;border:1px solid #b4d28c;border-radius:7px;color:#355c23;background:linear-gradient(150deg,#eeffd3,#c4e99a);font-size:10px;letter-spacing:.04em;box-shadow:inset 0 1px 0 #fff}
html:root body .lxc-max-mode input:checked+span{background:#699945;box-shadow:0 0 0 3px #e5f2d4}
/* Only entry is animated; decorative elements settle immediately after opening. */
@media(prefers-reduced-motion:no-preference){
 html:root body .lxc.is-max:not(.lxc-out) .lxc-max-hero{animation:lxc-max-hero-enter .7s cubic-bezier(.2,.8,.2,1) both}
 html:root body .lxc.is-max:not(.lxc-out) .lxc-max-capabilities{animation:lxc-max-capabilities-enter .5s .14s ease both}
}
@keyframes lxc-max-hero-enter{from{opacity:0;transform:translateY(10px) scale(.93)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lxc-max-capabilities-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1180px){html:root body .lxc.is-max:not(#lxc-x){top:90px;right:20px;bottom:20px}}
@media(max-width:760px){
 html:root body .lxc.is-max .lxc-tt p{display:none}
 html:root body .lxc.is-max .lxc-head{padding:19px 19px 13px}
 html:root body .lxc.is-max .lxc-mark{width:46px;height:46px;border-radius:16px}
 html:root body .lxc.is-max .lxc-tt h2{font-size:29px;letter-spacing:-.06em}
 html:root body .lxc.is-max .lxc-mode-eyebrow{font-size:8px;letter-spacing:.14em}
 html:root body .lxc.is-max .lxc-bar{padding:0 19px 12px}
 html:root body .lxc.is-max .lxc-empty{gap:10px;padding:15px 24px 20px}
 html:root body .lxc.is-max .lxc-max-hero{width:150px;height:121px;margin:-2px 0 0;background-size:100% 100%}
 html:root body .lxc.is-max .lxc-max-hero:before{width:72px;height:72px;left:39px;top:20px;border-radius:27px}
 html:root body .lxc.is-max .lxc-max-hero:after{inset:10px 5px 10px;font-size:60px}
 html:root body .lxc.is-max .lxc-empty>strong{font-size:34px;max-width:13ch}
 html:root body .lxc.is-max .lxc-empty>p{font-size:12px;max-width:32ch}
 html:root body .lxc.is-max .lxc-max-capabilities{gap:7px;margin-top:4px;width:min(100%,280px)}
 html:root body .lxc.is-max .lxc-max-capabilities>span{min-height:32px;font-size:10px;gap:5px}
 html:root body .lxc.is-max .lxc-max-foot{margin:4px 14px 0;padding:12px 13px;max-height:29dvh}
 html:root body .lxc.is-max .lxc-form{margin:12px 14px 15px;padding:8px 8px 8px 13px;border-radius:19px}
 html:root body .lxc.is-max .lxc-form textarea{font-size:16px;max-height:110px;padding:6px 0}
 html:root body .lxc.is-max .lxc-send{width:39px;height:39px;border-radius:13px}
 html:root body .lxc.is-max .lxc-list{padding:18px 15px 12px;gap:13px}
}
@media(max-width:600px){
 html:root body .lxc.is-max:not(#lxc-x){border-radius:27px;top:max(10px,env(safe-area-inset-top));bottom:max(10px,env(safe-area-inset-bottom));left:10px;right:10px;max-height:calc(100dvh - 20px)}
 html:root body .lxc.is-max .lxc-head{border-radius:26px 26px 0 0}
}
@media(max-height:740px){
 html:root body .lxc.is-max .lxc-empty{gap:8px;padding-top:12px;padding-bottom:14px}
 html:root body .lxc.is-max .lxc-max-hero{height:96px;width:132px;margin-top:-5px}
 html:root body .lxc.is-max .lxc-max-hero:before{width:60px;height:60px;left:36px;top:17px;border-radius:23px}
 html:root body .lxc.is-max .lxc-max-hero:after{inset:8px 2px 1px;font-size:49px}
 html:root body .lxc.is-max .lxc-empty>strong{font-size:30px;line-height:1.04}
 html:root body .lxc.is-max .lxc-empty>p{font-size:11.5px;line-height:1.5}
 html:root body .lxc.is-max .lxc-max-capabilities{margin-top:3px}
 html:root body .lxc.is-max .lxc-max-foot{max-height:27dvh}
}
@media(prefers-reduced-motion:reduce){
 html:root body .lxc.is-max *,html:root body .lxc.is-max *:before,html:root body .lxc.is-max *:after{animation:none!important;transition:none!important}
}
/* The decoration can use the chat's existing SVG without introducing another icon asset. */
html:root body .lxc.is-max .lxc-max-hero:after{content:''}
html:root body .lxc.is-max .lxc-max-hero>svg{position:absolute;z-index:3;top:50px;left:calc(50% - 18px);width:36px;height:36px;color:#37613e;filter:drop-shadow(0 1px 1px #ffffffb3);transform:rotate(-5deg)}
html:root body .lxc:not(#lxc-x){transition:border-color .55s ease,box-shadow .55s ease,background-color .55s ease}
/* Mode transition uses children, so panel open/close animation remains independent. */
html:root body .lxc[data-mode-transition="out"]>:is(.lxc-head,.lxc-bar,.lxc-list,.lxc-empty,.lxc-max-foot,.lxc-form){animation:lxc-mode-leave .18s ease-in both;pointer-events:none}
html:root body .lxc[data-mode-transition="in"]>:is(.lxc-head,.lxc-bar,.lxc-list,.lxc-empty,.lxc-max-foot,.lxc-form){animation:lxc-mode-arrive .32s cubic-bezier(.2,.75,.2,1) both}
@keyframes lxc-mode-leave{from{opacity:1;filter:blur(0);transform:translateY(0)}to{opacity:0;filter:blur(4px);transform:translateY(-6px)}}
@keyframes lxc-mode-arrive{from{opacity:0;filter:blur(4px);transform:translateY(6px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@media(max-width:760px){html:root body .lxc.is-max .lxc-max-hero>svg{top:42px;left:calc(50% - 14px);width:28px;height:28px}}
@media(max-height:740px){html:root body .lxc.is-max .lxc-max-hero>svg{top:35px;left:calc(50% - 12px);width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){
 html:root body .lxc:not(#lxc-x),html:root body .lxc[data-mode-transition]>:is(.lxc-head,.lxc-bar,.lxc-list,.lxc-empty,.lxc-max-foot,.lxc-form){animation:none!important;transition:none!important;filter:none!important;transform:none!important;opacity:1;pointer-events:auto}
}
@media(max-width:760px){html:root body .lxc.is-max .lxc-form textarea::placeholder{font-size:12.5px;letter-spacing:-.01em}}
