/* 由 scripts/build-home.mjs 自 source/home/index.html 抽出，勿手改——改源檔後重跑 pnpm build:home */
.ewx-scope{--font-sans:Inter,"Noto Sans TC","PingFang TC","Microsoft JhengHei",-apple-system,BlinkMacSystemFont,sans-serif;font-family:var(--font-sans);}
.ewx-scope .ewx-ui{overflow-x:auto;padding:38px 0 74px;
    --color-primary:#9578d3;--color-primary-hover:#7f5fc4;--color-primary-active:#6b4caf;--color-primary-fg:#fff;
    --color-primary-subtle:#f4f1fb;--color-primary-subtle-fg:#6b4caf;--color-primary-border:#d6cbf0;
    --color-surface:#ffffff;--color-surface-sunken:#f1eff7;--color-surface-hover:#f4f2f9;--color-app-bg:#f7f6fb;
    --color-border:#e6e3ef;--color-border-strong:#d2cee0;--color-divider:#f1eff7;
    --color-text:#1c1a24;--color-text-muted:#6b6781;--color-text-subtle:#9a95ab;
    --shadow-sm:0 1px 2px rgba(40,28,74,.05),0 1px 3px rgba(40,28,74,.06);
    --shadow-md:0 4px 14px rgba(40,28,74,.1),0 2px 6px rgba(40,28,74,.06);
    --shadow-lg:0 18px 50px rgba(34,22,64,.2),0 6px 18px rgba(34,22,64,.12);
    --radius-sm:10px;--radius-control:12px;--radius-md:14px;--radius-lg:18px;--radius-pill:9999px;
    --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;
    --control-h-sm:32px;--control-h-md:38px;--sidebar-w-user:262px;
    --weight-medium:500;--weight-semibold:600;--weight-bold:700;
    --text-eyebrow:11px;--text-sm:13px;--text-body:14px;--text-title:22px;
    --purple-400:#a78fdb;--purple-600:#7f5fc4;}
.ewx-scope .ewx-ui .ds-eyebrow{font-size:var(--text-eyebrow);font-weight:var(--weight-semibold);letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-subtle);}
.ewx-scope .ewx-ui .ewx-sb__switchrow__text .ds-eyebrow{display:block;}
.ewx-scope .ewx-window{position:relative;max-width:1060px;min-width:840px;aspect-ratio:16/10;margin:0 auto;border-radius:20px;overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-lg);}
@media (min-width:1120px){
.ewx-scope .ewx-ui{overflow:visible;padding:44px 0 82px;}
.ewx-scope .ewx-window{max-width:1300px;}
}
.ewx-scope .ewx-app{display:flex;height:100%;background:var(--color-app-bg);font-family:var(--font-sans);}
.ewx-scope .ewx-main{flex:1;display:flex;flex-direction:column;min-width:0;}
.ewx-scope .ewx-sidebar{display:flex;flex-direction:column;width:var(--sidebar-w-user);background:var(--color-surface);border-right:1px solid var(--color-border);overflow:hidden;flex:0 0 auto;}
.ewx-scope .ewx-sb__brand{display:flex;align-items:center;justify-content:space-between;height:58px;padding:0 var(--space-4);flex:0 0 auto;}
.ewx-scope .ewx-sb__brand img{height:19px;}
.ewx-scope .ewx-sb__scroll{flex:1;overflow:hidden;padding:0 var(--space-3) var(--space-3);display:flex;flex-direction:column;gap:var(--space-2);}
.ewx-scope .ewx-sb__scroll>*{flex:0 0 auto;}
.ewx-scope .ewx-sb__switchcard{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-sm);overflow:hidden;}
.ewx-scope .ewx-sb__switchrow{display:flex;align-items:center;gap:var(--space-2);padding:9px 10px;width:100%;border:0;background:none;text-align:left;cursor:pointer;}
.ewx-scope .ewx-sb__switchrow+.ewx-sb__switchrow{border-top:1px solid var(--color-divider);}
.ewx-scope .ewx-sb__switchrow__text{flex:1;min-width:0;}
.ewx-scope .ewx-sb__switchrow__name{font-size:var(--text-body);font-weight:var(--weight-semibold);color:var(--color-text);margin-top:1px;}
.ewx-scope .ewx-sb__switchrow__chev{flex:0 0 auto;color:var(--color-text-subtle);width:16px;height:16px;}
.ewx-scope .ewx-sb__nav{display:flex;flex-direction:column;gap:1px;}
.ewx-scope .ewx-sb__item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);border:0;background:none;width:100%;text-align:left;cursor:pointer;font-family:inherit;font-size:var(--text-body);color:var(--color-text-muted);}
.ewx-scope .ewx-sb__item svg{width:18px;height:18px;flex:0 0 auto;}
.ewx-scope .ewx-sb__item--active{background:var(--color-primary-subtle);color:var(--color-primary);font-weight:var(--weight-medium);}
.ewx-scope .ewx-sb__item__label{flex:1;}
.ewx-scope .ewx-sb__seg{padding:var(--space-2) var(--space-1) var(--space-1);}
.ewx-scope .ewx-segmented{display:flex;width:100%;padding:3px;background:var(--color-surface-sunken);border-radius:var(--radius-pill);gap:2px;}
.ewx-scope .ewx-segment{flex:1;border:0;cursor:pointer;padding:6px 16px;border-radius:var(--radius-pill);background:transparent;color:var(--color-text-muted);font-family:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);}
.ewx-scope .ewx-segment--active{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-sm);}
.ewx-scope .ewx-btnsec{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;height:var(--control-h-md);border-radius:var(--radius-control);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-text);font-family:inherit;font-size:var(--text-body);font-weight:var(--weight-semibold);cursor:pointer;box-shadow:var(--shadow-sm);}
.ewx-scope .ewx-btnsec svg{width:16px;height:16px;color:var(--color-primary);}
.ewx-scope .ewx-sb__history{display:flex;flex-direction:column;gap:1px;margin-top:var(--space-3);}
.ewx-scope .ewx-sb__history-label{padding:6px 10px 4px;}
.ewx-scope .ewx-sb__history-item{padding:8px 10px;border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--color-text-muted);border:0;background:none;width:100%;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ewx-scope .ewx-sb__history-item--active{background:var(--color-surface-sunken);color:var(--color-text);}
.ewx-scope .ewx-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);background:linear-gradient(150deg,var(--purple-400),var(--purple-600));color:#fff;font-weight:var(--weight-semibold);flex:0 0 auto;width:28px;height:28px;font-size:11px;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 2px rgba(74,54,116,.3);}
.ewx-scope .ewx-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:var(--control-h-sm);height:var(--control-h-sm);border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--color-text-muted);cursor:pointer;}
.ewx-scope .ewx-iconbtn svg{width:16px;height:16px;}
.ewx-scope .ewx-main__body{flex:1;min-height:0;display:flex;flex-direction:column;}
.ewx-scope .ewx-hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;text-align:center;}
.ewx-scope .ewx-main__title{font-size:var(--text-title);font-weight:var(--weight-bold);color:var(--color-text);}
.ewx-scope .ewx-main__sub{font-size:var(--text-sm);color:var(--color-text-muted);}
.ewx-scope .ewx-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px;}
.ewx-scope .ewx-chip{font-family:inherit;font-size:13px;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-pill);padding:8px 14px;cursor:pointer;box-shadow:var(--shadow-sm);transition:border-color .15s,color .15s,transform .15s;}
.ewx-scope .ewx-chip:hover{border-color:var(--color-primary);color:var(--color-primary-active);transform:translateY(-1px);}
.ewx-scope .ewx-chat{flex:1;min-height:0;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:12px;}
.ewx-scope .ewx-hero[hidden],.ewx-scope .ewx-chat[hidden]{display:none;}
.ewx-scope .ewx-explain{flex:1;min-height:0;overflow-y:auto;padding:26px 30px 22px;display:grid;grid-template-rows:auto 1fr;gap:18px;}
.ewx-scope .ewx-explain[hidden]{display:none;}
.ewx-scope .ewx-explain__visual{min-height:0;}
.ewx-scope .ewx-explain__eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--color-primary);}
.ewx-scope .ewx-explain__title{font-size:clamp(23px,2.3vw,31px);font-weight:800;color:var(--color-text);margin:8px 0 0;letter-spacing:-.01em;}
.ewx-scope .ewx-explain__why{font-size:16px;color:var(--color-text-muted);line-height:1.7;margin:11px 0 0;max-width:92ch;}
.ewx-scope .ewx-explain__points{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 22px;}
@media (max-width:760px){
.ewx-scope .ewx-explain__points{grid-template-columns:1fr;}
}
.ewx-scope .ewx-explain__points li{display:flex;gap:9px;font-size:15px;color:var(--color-text);line-height:1.55;}
.ewx-scope .ewx-explain__points li svg{width:18px;height:18px;color:var(--color-primary);flex:0 0 auto;margin-top:2px;}
.ewx-scope .ewx-explain__ph{display:flex;align-items:center;justify-content:center;height:100%;min-height:200px;border:1px dashed var(--color-border-strong);border-radius:16px;color:var(--color-text-subtle);font-size:13px;}
.ewx-scope .exs{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;height:100%;}
.ewx-scope .exs__stage{position:relative;width:100%;max-width:880px;flex:1;min-height:190px;border-radius:18px;border:1px solid var(--color-primary-border);overflow:hidden;
    background:radial-gradient(115% 95% at 50% 40%,#f8f5fd,#ece5f7);}
.ewx-scope .exs__stage::before{content:"";position:absolute;inset:0;
    background:radial-gradient(circle at 1px 1px, rgba(120,90,190,.16) 1px, transparent 1.7px) 0 0/17px 17px;
    -webkit-mask-image:radial-gradient(120% 110% at 50% 45%, #000 38%, transparent 80%);
    mask-image:radial-gradient(120% 110% at 50% 45%, #000 38%, transparent 80%);}
.ewx-scope .exs__foot{font-size:13.5px;color:var(--color-text-muted);letter-spacing:.02em;}
.ewx-scope .exs__wire{position:absolute;inset:0;width:100%;height:100%;z-index:0;}
.ewx-scope .exs__wire path{fill:none;stroke-linecap:round;}
.ewx-scope .exs__wire-base path{stroke:#8b6fd0;stroke-opacity:.32;stroke-width:1.2px;stroke-dasharray:1;stroke-dashoffset:1;animation:exsDraw .8s cubic-bezier(.4,0,.2,1) forwards;}
.ewx-scope .exs__wire-base path:nth-child(2){animation-delay:.07s;}
.ewx-scope .exs__wire-base path:nth-child(3){animation-delay:.14s;}
.ewx-scope .exs__wire-base path:nth-child(4){animation-delay:.21s;}
.ewx-scope .exs__wire-base path:nth-child(5){animation-delay:.28s;}
.ewx-scope .exs__wire-base path:nth-child(6){animation-delay:.35s;}
.ewx-scope .exs__wire-pulse path{stroke:#9578d3;stroke-opacity:.9;stroke-width:2.6px;stroke-dasharray:.045 .955;stroke-dashoffset:1;animation:exsPulseRun 2.8s linear 1s infinite;}
.ewx-scope .exs__wire-pulse path:nth-child(2){animation-delay:1.45s;}
.ewx-scope .exs__wire-pulse path:nth-child(3){animation-delay:1.9s;}
.ewx-scope .exs__wire-pulse path:nth-child(4){animation-delay:2.35s;}
.ewx-scope .exs__wire-pulse path:nth-child(5){animation-delay:2.8s;}
.ewx-scope .exs__wire-pulse path:nth-child(6){animation-delay:3.25s;}
.ewx-scope .exs__node{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;background:linear-gradient(180deg,#fff,#fbf9ff);border:1px solid #e7e0f5;border-radius:12px;padding:9px 14px;font-size:14px;font-weight:600;color:#3c3552;box-shadow:0 1px 2px rgba(30,20,60,.05),0 10px 22px rgba(88,58,158,.10);white-space:nowrap;z-index:1;
    animation:exsIn .5s ease both, exsFloat 5.4s ease-in-out 1.2s infinite alternate;}
.ewx-scope .exs__node svg{width:16px;height:16px;color:#7f5fc4;flex:0 0 auto;}
.ewx-scope .exs__node--em{border-color:#d6cbf0;color:#6b4caf;font-weight:700;}
.ewx-scope .exs__node--q{background:#f1ecfa;border-color:#dcd2f0;color:#584a7e;}
.ewx-scope .exs__node:nth-of-type(2){animation-delay:.08s,1.7s;}
.ewx-scope .exs__node:nth-of-type(3){animation-delay:.16s,2.3s;}
.ewx-scope .exs__node:nth-of-type(4){animation-delay:.24s,2.9s;}
.ewx-scope .exs__node:nth-of-type(5){animation-delay:.32s,3.4s;}
.ewx-scope .exs__node:nth-of-type(6){animation-delay:.4s,3.9s;}
.ewx-scope .exs__node:nth-of-type(7){animation-delay:.48s,4.5s;}
.ewx-scope .exs__hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#fff,#fcfbff);border:1px solid #d6cbf0;border-radius:14px;padding:11px 16px;box-shadow:0 1px 2px rgba(30,20,60,.05),0 12px 30px rgba(120,70,200,.2);font-weight:800;color:#6b4caf;font-size:16px;white-space:nowrap;z-index:2;animation:exsHubIn .5s ease both, exsPulse 2.8s ease-in-out 1s infinite;}
.ewx-scope .exs__hub svg{width:21px;height:21px;flex:0 0 auto;}
.ewx-scope .exs__halo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(129,95,201,.26);width:126px;height:126px;z-index:0;animation:exsFade 1s ease both;}
.ewx-scope .exs__halo--lg{width:200px;height:200px;border-color:rgba(129,95,201,.13);animation-delay:.15s;}
.ewx-scope .exs__tag{position:absolute;transform:translate(-50%,-50%);background:#7f5fc4;color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.08em;padding:5px 12px;border-radius:999px;z-index:2;box-shadow:0 4px 12px rgba(120,70,200,.3);white-space:nowrap;animation:exsIn .45s .4s ease both;}
.ewx-scope .exs__tag--soft{display:flex;align-items:center;gap:6px;background:#fff;color:#6b4caf;border:1px solid #d6cbf0;box-shadow:0 4px 12px rgba(120,70,200,.14);letter-spacing:.03em;animation-delay:.55s;}
.ewx-scope .exs__tag--soft svg{width:12px;height:12px;flex:0 0 auto;}
.ewx-scope .exs__ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:66%;aspect-ratio:1;border:1.6px dashed rgba(139,111,208,.45);border-radius:50%;z-index:0;animation:exsSpin 26s linear infinite, exsFade .9s ease both;}
.ewx-scope .exs__tile-ic{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;background:#f1ecfa;flex:0 0 auto;}
.ewx-scope .exs__tile-ic svg{width:13px;height:13px;color:#6b4caf;}
.ewx-scope .ewx-explain>div:first-child{animation:ewx-in .45s ease both;}
.ewx-scope .ewx-explain__visual{animation:ewx-in .5s .1s ease both;}
.ewx-scope .ewx-explain__points li svg{background:rgba(149,120,211,.14);border-radius:50%;padding:3.5px;width:19px;height:19px;margin-top:0;}
@media (prefers-reduced-motion:reduce){
.ewx-scope .exs__node,.ewx-scope .exs__hub,.ewx-scope .exs__ring,.ewx-scope .exs__halo,.ewx-scope .exs__tag,.ewx-scope .exs__wire-base path,.ewx-scope .exs__wire-pulse path{animation:none!important;}
.ewx-scope .exs__wire-base path{stroke-dashoffset:0;}
.ewx-scope .exs__wire-pulse path{display:none;}
}
.ewx-scope .ewx-msg--user{align-self:flex-end;max-width:82%;background:var(--color-primary);color:#fff;border-radius:16px 16px 4px 16px;padding:10px 14px;font-size:14px;line-height:1.5;box-shadow:var(--shadow-sm);animation:ewx-in .35s ease both;}
.ewx-scope .ewx-arow{align-self:flex-start;display:flex;gap:10px;max-width:88%;animation:ewx-in .35s ease both;}
.ewx-scope .ewx-arow .ewx-avatar{margin-top:2px;}
.ewx-scope .ewx-abody{min-width:0;display:flex;flex-direction:column;gap:8px;}
.ewx-scope .ewx-think{background:var(--color-surface);border:1px solid var(--color-border);border-radius:14px;padding:12px 14px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:8px;}
.ewx-scope .ewx-skillpill{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;font-size:12px;font-weight:600;color:var(--color-primary-subtle-fg);background:var(--color-primary-subtle);border-radius:999px;padding:4px 11px;}
.ewx-scope .ewx-skillpill .dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:ewx-blink 1s infinite;}
.ewx-scope .ewx-step{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-text-muted);animation:ewx-in .3s ease both;}
.ewx-scope .ewx-step__i{width:14px;height:14px;flex:0 0 auto;border-radius:50%;border:2px solid var(--color-border-strong);position:relative;}
.ewx-scope .ewx-step.done .ewx-step__i{border-color:var(--color-primary);background:var(--color-primary);}
.ewx-scope .ewx-msgtxt{background:var(--color-surface);border:1px solid var(--color-border);border-radius:4px 16px 16px 16px;padding:10px 14px;font-size:14px;line-height:1.55;color:var(--color-text);}
.ewx-scope .ewx-card{width:100%;background:var(--color-surface);border:1px solid var(--color-primary-border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-md);animation:ewx-in .4s ease both;}
.ewx-scope .ewx-card__h{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--color-divider);font-weight:700;font-size:13px;color:var(--color-text);}
.ewx-scope .ewx-card__h svg{width:16px;height:16px;color:var(--color-primary);}
.ewx-scope .ewx-card__b{padding:12px 14px;font-size:13px;color:var(--color-text-muted);line-height:1.55;}
.ewx-scope .ewx-work{align-self:flex-start;animation:ewx-in .3s ease both;}
.ewx-scope .ewx-card__h span:first-of-type{flex:1;}
.ewx-scope .ewx-card__tag{margin-left:auto;flex:0 0 auto;font-size:11px;font-weight:600;color:var(--color-primary-subtle-fg);background:var(--color-primary-subtle);padding:3px 9px;border-radius:999px;}
.ewx-scope .ewx-card__foot{margin-top:8px;font-size:12px;color:var(--color-text-subtle);}
.ewx-scope .ewx-qrow{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px dashed var(--color-divider);}
.ewx-scope .ewx-qrow--total{font-weight:700;color:var(--color-text);border-bottom:0;padding-top:8px;}
.ewx-scope .ewx-check{display:flex;align-items:flex-start;gap:8px;padding:4px 0;color:var(--color-text);}
.ewx-scope .ewx-check svg{width:16px;height:16px;color:var(--color-primary);flex:0 0 auto;margin-top:2px;}
.ewx-scope .ewx-kv{display:flex;gap:8px;padding:3px 0;}
.ewx-scope .ewx-kv b{flex:0 0 52px;color:var(--color-text);font-weight:600;}
.ewx-scope .ewx-reset{align-self:center;margin-top:2px;font-size:12px;color:var(--color-text-muted);background:none;border:0;cursor:pointer;padding:6px;display:inline-flex;align-items:center;gap:5px;}
.ewx-scope .ewx-reset:hover{color:var(--color-primary-active);}
.ewx-scope .ewx-reset svg{width:13px;height:13px;}
.ewx-scope .ewx-ack{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--color-text);animation:ewx-in .3s ease both;}
.ewx-scope .ewx-ack__sp{width:14px;height:14px;flex:0 0 auto;border-radius:50%;border:2px solid var(--color-primary);border-top-color:transparent;animation:ewx-spin .7s linear infinite;}
.ewx-scope .ewx-fetch{align-self:flex-start;display:flex;align-items:center;gap:10px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:9px 14px;box-shadow:var(--shadow-sm);animation:ewx-in .3s ease both;}
.ewx-scope .ewx-fetch__ava{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--color-primary);flex:0 0 auto;}
.ewx-scope .ewx-fetch__ava svg{width:14px;height:14px;color:#fff;}
.ewx-scope .ewx-fetch__arm{position:relative;width:60px;height:2px;border-radius:2px;background:rgba(149,120,211,.3);flex:0 0 auto;transform-origin:left center;animation:ewxArm .5s ease both;}
.ewx-scope .ewx-fetch__arm i{position:absolute;top:50%;left:100%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:var(--color-primary);opacity:0;animation:ewxFlow 1.1s linear infinite;animation-delay:.55s;}
.ewx-scope .ewx-fetch__arm i:nth-child(2){animation-delay:.92s;}
.ewx-scope .ewx-fetch__arm i:nth-child(3){animation-delay:1.29s;}
.ewx-scope .ewx-fetch__db{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--color-primary-subtle);flex:0 0 auto;animation:ewxDbPulse 1.6s ease-in-out infinite;}
.ewx-scope .ewx-fetch__db svg{width:16px;height:16px;color:var(--color-primary-active);}
.ewx-scope .ewx-fetch__lbl{font-size:12.5px;color:var(--color-text-muted);white-space:nowrap;}
.ewx-scope .ewx-fetch.done .ewx-fetch__arm i{display:none;}
.ewx-scope .ewx-fetch.done .ewx-fetch__db{animation:none;}
.ewx-scope .ewx-decide{position:relative;}
.ewx-scope .ewx-mail-fly{position:absolute;right:18px;top:50%;width:38px;height:38px;margin-top:-19px;border-radius:11px;background:#fff;border:1px solid #d6cbf0;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(120,70,200,.28);pointer-events:none;z-index:3;animation:ewxMailFly 2.6s cubic-bezier(.35,.5,.35,1) forwards;}
.ewx-scope .ewx-mail-fly svg{width:20px;height:20px;color:#7f5fc4;}
@media (prefers-reduced-motion:reduce){
.ewx-scope .ewx-fetch__arm,.ewx-scope .ewx-fetch__arm i,.ewx-scope .ewx-fetch__db{animation:none!important;}
.ewx-scope .ewx-mail-fly{display:none!important;}
}
.ewx-scope .ewx-risk{position:relative;width:100%;background:var(--color-surface);border:1px solid var(--color-border);border-left:3px solid #e0902a;border-radius:6px 14px 14px 6px;padding:14px 16px 15px;box-shadow:var(--shadow-md);animation:ewx-rise .45s cubic-bezier(.2,.7,.2,1) both;}
.ewx-scope .ewx-risk.pulse{animation:ewx-rise .45s cubic-bezier(.2,.7,.2,1) both,ewx-riskpulse 1.1s ease .5s 1;}
.ewx-scope .ewx-risk__tag{position:absolute;top:10px;right:12px;font-size:10.5px;font-weight:600;color:var(--color-text-subtle);background:var(--color-surface-sunken);border-radius:999px;padding:3px 9px;}
.ewx-scope .ewx-risk__h{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;color:#b06d15;letter-spacing:.02em;}
.ewx-scope .ewx-risk__h svg{width:15px;height:15px;flex:0 0 auto;}
.ewx-scope .ewx-risk__line{margin-top:7px;font-size:15px;font-weight:700;color:var(--color-text);line-height:1.45;max-width:90%;}
.ewx-scope .ewx-tips{margin-top:13px;display:flex;flex-direction:column;gap:9px;}
.ewx-scope .ewx-tip{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:var(--color-text);line-height:1.5;opacity:0;transform:translateY(4px);}
.ewx-scope .ewx-tip.in{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease;}
.ewx-scope .ewx-tip__ic{width:18px;height:18px;flex:0 0 auto;border-radius:50%;border:2px solid var(--color-border-strong);margin-top:1px;display:grid;place-items:center;transition:background .25s,border-color .25s;}
.ewx-scope .ewx-tip__ic svg{width:11px;height:11px;color:#fff;opacity:0;transition:opacity .2s;}
.ewx-scope .ewx-tip.lock .ewx-tip__ic{background:var(--color-primary);border-color:var(--color-primary);}
.ewx-scope .ewx-tip.lock .ewx-tip__ic svg{opacity:1;}
.ewx-scope .ewx-tip b{font-weight:700;}
.ewx-scope .ewx-scale{margin-top:13px;font-size:11.5px;color:var(--color-text-subtle);display:flex;align-items:center;gap:6px;}
.ewx-scope .ewx-scale svg{width:13px;height:13px;flex:0 0 auto;}
.ewx-scope .ewx-decide{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;padding:11px 12px 11px 16px;background:var(--color-surface-sunken);border:1px solid var(--color-border);border-radius:14px;animation:ewx-rise .4s ease both;}
.ewx-scope .ewx-decide__txt{font-size:14px;font-weight:800;color:var(--color-text);line-height:1.35;}
.ewx-scope .ewx-decide__txt small{display:block;font-size:11.5px;font-weight:500;color:var(--color-text-muted);margin-top:2px;}
.ewx-scope .ewx-confirm{flex:0 0 auto;font-family:inherit;font-size:13.5px;font-weight:700;color:#fff;background:var(--color-primary);border:0;border-radius:var(--radius-pill);padding:10px 18px;cursor:pointer;display:inline-flex;align-items:center;gap:7px;box-shadow:0 1px 3px rgba(107,76,175,.35);transition:background .15s,transform .15s;}
.ewx-scope .ewx-confirm:hover{background:var(--color-primary-hover);transform:translateY(-1px);}
.ewx-scope .ewx-confirm.sent{background:#16a34a;pointer-events:none;box-shadow:none;}
.ewx-scope .ewx-confirm svg{width:15px;height:15px;}
.ewx-scope .ewx-done{display:flex;align-items:center;gap:9px;width:100%;margin-top:2px;padding:12px 15px;border-radius:12px;background:var(--color-primary-subtle);color:var(--color-primary-subtle-fg);font-size:13.5px;font-weight:700;line-height:1.5;animation:ewx-in .4s ease both;}
.ewx-scope .ewx-done svg{width:17px;height:17px;flex:0 0 auto;}
.ewx-scope .ewx-main__composer{padding:0 24px 24px;}
.ewx-scope .ewx-composer{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-3) var(--space-4) var(--space-2);}
.ewx-scope .ewx-composer__input{font-size:var(--text-body);color:var(--color-text-subtle);padding:var(--space-2) var(--space-1);}
.ewx-scope .ewx-composer__bar{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-1);}
.ewx-scope .ewx-composer__spacer{flex:1;}
.ewx-scope .ewx-composer__pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:var(--radius-pill);border:1px solid var(--color-border);background:var(--color-surface);font-family:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--color-text-muted);}
.ewx-scope .ewx-composer__pill svg{width:16px;height:16px;}
.ewx-scope .ewx-composer__send{width:34px;height:34px;border-radius:var(--radius-pill);border:0;display:inline-flex;align-items:center;justify-content:center;background:var(--color-surface-sunken);color:var(--color-text-muted);cursor:pointer;}
.ewx-scope .ewx-composer__send svg{width:18px;height:18px;}
.ewx-scope .annot-layer{position:absolute;inset:0;pointer-events:none;}
.ewx-scope .annot-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;}
.ewx-scope .annot-lines line{stroke:var(--color-primary);stroke-width:1.5;stroke-dasharray:5 4;}
.ewx-scope .annot-lines circle{fill:var(--color-primary);}
.ewx-scope .annot-dot{position:absolute;width:22px;height:22px;border-radius:50%;border:2px solid #fff;cursor:pointer;pointer-events:auto;
    background:var(--color-primary);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;z-index:2;padding:0;
    box-shadow:0 2px 8px rgba(136,96,224,.5);animation:annot-pulse 2.2s ease-in-out infinite;}
.ewx-scope .annot-dot.is-open,.ewx-scope .annot-dot:hover{animation:none;transform:scale(1.14);}
.ewx-scope .annot-pop{position:absolute;z-index:3;width:250px;pointer-events:auto;opacity:0;transform:translateY(6px) scale(.98);transition:opacity .25s ease,transform .25s ease;
    background:var(--color-surface);border:1px solid var(--color-primary-border);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow-lg);}
.ewx-scope .annot-pop.is-open{opacity:1;transform:none;}
.ewx-scope .annot-pop__t{font-weight:800;font-size:15px;color:var(--color-text);}
.ewx-scope .annot-pop__b{margin-top:6px;font-size:13px;line-height:1.55;color:var(--color-text-muted);}
.ewx-scope .annot-hint{display:inline-block;margin-left:6px;font-size:.9em;color:var(--color-primary-active);}
@media (max-width:820px){
.ewx-scope .annot-dot,.ewx-scope .annot-pop,.ewx-scope .annot-lines{display:none;}
}
@keyframes exsDraw{to{stroke-dashoffset:0;}}
@keyframes exsPulseRun{from{stroke-dashoffset:1;}to{stroke-dashoffset:0;}}
@keyframes exsIn{from{opacity:0;transform:translate(-50%,-42%);}to{opacity:1;transform:translate(-50%,-50%);}}
@keyframes exsFloat{from{margin-top:0;}to{margin-top:-3px;}}
@keyframes exsHubIn{from{opacity:0;transform:translate(-50%,-50%) scale(.92);}to{opacity:1;transform:translate(-50%,-50%) scale(1);}}
@keyframes exsPulse{0%,100%{box-shadow:0 1px 2px rgba(30,20,60,.05),0 12px 30px rgba(120,70,200,.18);}50%{box-shadow:0 1px 2px rgba(30,20,60,.05),0 12px 38px rgba(120,70,200,.34);}}
@keyframes exsFade{from{opacity:0;}to{opacity:1;}}
@keyframes exsSpin{to{transform:translate(-50%,-50%) rotate(360deg);}}
@keyframes ewx-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes ewx-blink{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes ewx-spin{to{transform:rotate(360deg)}}
@keyframes ewx-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes ewxArm{from{transform:scaleX(.15);}to{transform:scaleX(1);}}
@keyframes ewxFlow{0%{left:100%;opacity:0;}12%{opacity:1;}88%{opacity:1;}100%{left:0%;opacity:0;}}
@keyframes ewxDbPulse{0%,100%{box-shadow:0 0 0 0 rgba(149,120,211,.35);}50%{box-shadow:0 0 0 6px rgba(149,120,211,0);}}
@keyframes ewxMailFly{
    0%{transform:translate(0,0) scale(.5) rotate(0deg);opacity:0;}
    12%{transform:translate(0,-8px) scale(1.1) rotate(-4deg);opacity:1;}
    32%{transform:translate(-8px,-14px) scale(1) rotate(-6deg);opacity:1;}
    78%{opacity:1;}
    100%{transform:translate(-215px,-135px) scale(.8) rotate(-14deg);opacity:0;}
  }
@keyframes ewx-riskpulse{0%,100%{box-shadow:var(--shadow-md)}45%{box-shadow:0 0 0 4px rgba(224,144,42,.16),var(--shadow-md)}}
