
/* ══════════════════ Theme tokens ══════════════════ */
.bw-root{
  --bwt-panel:#fff;
  --bwt-text:#111114;
  --bwt-muted:#8a8a8e;
  --bwt-faint:#b5b5ba;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(0,0,0,.09);
  --bwt-card-shadow-hover:0 0 0 1px rgba(0,0,0,.18);
  --bwt-chip-shadow:0 0 0 1px rgba(0,0,0,.1);
  --bwt-ico-bg:#f4f4f5;
  --bwt-bot-bg:#f4f4f5;
  --bwt-bot-text:#111114;
  --bwt-bot-border:0;
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.14);
  --bwt-on-accent-muted:rgba(255,255,255,.6);
  --bwt-accent-shadow:inset 0 1.5px 0 rgba(255,255,255,.36),inset 0 -2px 0 rgba(0,0,0,.46),0 2px 5px rgba(0,0,0,.09),0 1px 2px rgba(0,0,0,.06);
  --bwt-accent-shadow-sm:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1.5px 0 rgba(0,0,0,.4),0 1px 3px rgba(0,0,0,.08);
  --bwt-accent-shadow-hover:inset 0 1.5px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.48),0 3px 8px rgba(0,0,0,.11),0 1px 3px rgba(0,0,0,.07);
  --bwt-me-bg:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-me-text:#fff;
  --bwt-me-shadow:var(--bwt-accent-shadow-sm);
  --bwt-field-bg:#f4f4f5;
  --bwt-field-shadow:none;
  --bwt-hover:rgba(0,0,0,.05);
  --bwt-slider-fill:#0a0a0a;
  --bwt-slider-track:#ececee;
  --bwt-bg-scrim:rgba(255,255,255,.38);
  --bwt-roi-line:#0a0a0a;
  --bwt-roi-baseline:#d6d6d3;
  --bwt-roi-label:#aeaeb2;
  --bwt-roi-grad-color:#0a0a0a;
  --bwt-roi-grad-opacity:.1;
  --bwt-roi-dot-ring:var(--bwt-panel,#fbfbfa);
}

.bw-root{
  position:fixed;z-index:9990;bottom:0;right:0;font-family:var(--sans);-webkit-font-smoothing:antialiased;pointer-events:none;
}
.bw-root *{box-sizing:border-box}
.bw-root button{font-family:var(--sans)}

/* ── Launcher ── */
.bw-launcher{
  position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;border:0;cursor:pointer;
  background:var(--bwt-accent);color:var(--bwt-accent-text);display:grid;place-items:center;pointer-events:auto;
  box-shadow:var(--bwt-accent-shadow);
  transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s ease;
  animation:bwLauncherIn .6s cubic-bezier(.16,1,.3,1) .8s both;
}
.bw-launcher:hover{transform:scale(1.06)}
.bw-launcher:active{transform:scale(.96)}
.bw-launcher .bw-ico-chat svg,
.bw-launcher .bw-ico-x svg{display:block;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .2s ease}
.bw-launcher .bw-ico-chat svg{width:28px;height:28px;stroke-width:1.85}
.bw-launcher .bw-ico-x svg{width:26px;height:26px;stroke-width:2}
.bw-launcher .bw-ico-x{position:absolute;opacity:0;transform:rotate(-90deg) scale(.5)}
.bw-launcher.is-open .bw-ico-chat{opacity:0;transform:rotate(90deg) scale(.5)}
.bw-launcher.is-open .bw-ico-x{opacity:1;transform:rotate(0) scale(1)}
@keyframes bwLauncherIn{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}

/* ── Teaser (sort du launcher, humain) — suit le thème ; Brift LP = style unique (.bw-brift-lp) ── */
.bw-teaser{
  position:fixed;right:22px;bottom:88px;width:min(300px,calc(100vw - 44px));pointer-events:auto;
  background:var(--bwt-panel);border-radius:18px;padding:20px 16px 13px;
  border:var(--bwt-bot-border,0);
  box-shadow:var(--bwt-card-shadow),0 14px 40px rgba(0,0,0,.14);
  opacity:0;transform:translateY(18px) scale(.9);transform-origin:bottom right;
  visibility:hidden;z-index:9989;overflow:visible;
}
.bw-try-pill{
  position:absolute;top:0;left:50%;z-index:12;
  transform:translate(-50%,-50%);
  display:none;align-items:center;gap:6px;
  padding:6px 12px 6px 9px;border-radius:999px;
  border:1px solid rgba(0,0,0,.09);
  font-family:var(--sans);font-size:11.5px;font-weight:650;letter-spacing:-.012em;
  color:rgba(24,23,15,.82);white-space:nowrap;pointer-events:none;
  background:linear-gradient(168deg,#fcfcfc 0%,#f0f0f3 100%);
  box-shadow:
    0 1.4px 0 rgba(255,255,255,.97) inset,
    0 -1.8px 2.2px rgba(0,0,0,.12) inset,
    inset 1.3px 0 1px rgba(255,255,255,.56),
    inset -1.3px 0 1px rgba(0,0,0,.06),
    0 2px 7px rgba(24,23,15,.08);
}
.bw-try-pill .bw-dot{flex:0 0 6px}
.bw-teaser.is-in > .bw-try-pill{display:inline-flex}
.bw-panel-wrap{
  position:fixed;right:22px;bottom:92px;width:386px;
  pointer-events:none;overflow:visible;z-index:9988;
}
.bw-panel-wrap > .bw-try-pill{display:none;pointer-events:none}
.bw-panel-wrap:has(.bw-panel.is-open) > .bw-try-pill{display:inline-flex}
.bw-root.bw-brift-lp .bw-try-pill{
  background:linear-gradient(168deg,#fcfcfc 0%,#f0f0f3 100%);
  color:rgba(24,23,15,.82);
}
.bw-teaser::after{
  content:'';position:absolute;bottom:-5px;right:22px;width:11px;height:11px;background:var(--bwt-panel);
  transform:rotate(45deg);box-shadow:var(--bwt-chip-shadow);
}
.bw-teaser.is-in{
  opacity:1;transform:none;visibility:visible;
  animation:bwTeaserPop .62s cubic-bezier(.16,1,.3,1) both;
}
@keyframes bwTeaserPop{
  0%{opacity:0;transform:translateY(22px) scale(.86)}
  55%{opacity:1;transform:translateY(-6px) scale(1.03)}
  78%{transform:translateY(2px) scale(.99)}
  100%{opacity:1;transform:none}
}
.bw-teaser-close{
  position:absolute;top:8px;right:8px;width:22px;height:22px;border:0;border-radius:50%;cursor:pointer;
  background:transparent;color:var(--bwt-faint);display:grid;place-items:center;font-size:14px;line-height:1;
  transition:background .24s cubic-bezier(.16,1,.3,1),color .24s cubic-bezier(.16,1,.3,1);
}
.bw-teaser-close:hover{background:var(--bwt-hover);color:var(--bwt-text)}
.bw-teaser-close svg{
  display:block;
  transition:transform .48s cubic-bezier(.16,1,.3,1);
  transform-origin:center;
}
.bw-teaser-close:hover svg{transform:rotate(90deg)}
.bw-teaser-from{display:flex;align-items:center;gap:7px;margin-bottom:8px}
.bw-teaser-from img{width:20px;height:20px;border-radius:50%}
.bw-teaser-from span{font-size:11px;font-weight:600;letter-spacing:-.01em;color:var(--bwt-muted)}
.bw-teaser-q{font-size:14.5px;font-weight:600;letter-spacing:-.02em;line-height:1.4;color:var(--bwt-text);padding-right:10px}
.bw-teaser-chips{display:flex;gap:8px;margin-top:12px}
.bw-teaser-chip{
  flex:1;padding:9px 10px;border-radius:11px;cursor:pointer;font-size:12.5px;font-weight:600;letter-spacing:-.015em;
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.bw-teaser-chip:hover{transform:translateY(-1px);filter:brightness(.98)}
.bw-teaser-chip:first-child{
  border:0;
  background:var(--bwt-accent);color:var(--bwt-accent-text);box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-teaser-chip:not(:first-child){
  background:var(--bwt-bot-bg);color:var(--bwt-bot-text);
  border:var(--bwt-bot-border,0);
  box-shadow:var(--bwt-bot-shadow,var(--bwt-chip-shadow));
}

/* Widget Brift (landing) — hors thèmes, style teaser d’origine */
.bw-root.bw-brift-lp .bw-teaser{
  background:#fff;border:0;
  box-shadow:0 0 0 1px rgba(0,0,0,.06),0 14px 40px rgba(0,0,0,.1);
}
.bw-root.bw-brift-lp .bw-teaser::after{
  background:#fff;
  box-shadow:2px 2px 4px rgba(0,0,0,.04);
}
.bw-root.bw-brift-lp .bw-teaser-chip:first-child{
  background:linear-gradient(180deg,#2c2c2c,#0a0a0a);color:#fff;border:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1.5px 0 rgba(0,0,0,.4),0 1px 3px rgba(0,0,0,.08);
}
.bw-root.bw-brift-lp .bw-teaser-chip:not(:first-child){
  background:#fff;color:#18170f;
  border:1px solid rgba(0,0,0,.04);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.95),inset 0 -2px 0 rgba(0,0,0,.07),inset 2px 0 0 rgba(255,255,255,.55),inset -2px 0 0 rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.03);
}

/* ── Panel ── */
.bw-panel{
  position:relative;width:100%;
  height:auto;max-height:min(540px,calc(100dvh - 120px));
  pointer-events:auto;
  display:flex;flex-direction:column;background:var(--bwt-panel);border-radius:24px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(0,0,0,.06),0 6px 18px rgba(0,0,0,.08),0 28px 80px rgba(0,0,0,.14);
  opacity:0;transform:translateY(16px) scale(.94);transform-origin:bottom right;visibility:hidden;
  transition:opacity .32s cubic-bezier(.16,1,.3,1),transform .38s cubic-bezier(.16,1,.3,1),visibility 0s .38s;
}
/* Home — hauteur contenu seulement, jamais coupé en bas */
.bw-panel[data-view="home"]{
  height:auto;max-height:min(460px,calc(100dvh - 120px));
}
.bw-panel[data-view="home"] .bw-body{flex:0 1 auto;overflow:visible}
.bw-panel[data-view="home"] .bw-home{flex:0 0 auto}
.bw-panel[data-view="home"] .bw-proof{padding-bottom:2px}
/* Chat / ROI — hauteur modérée, chrome (tabs, input) toujours visible */
.bw-panel[data-view="chat"],
.bw-panel[data-view="roi"]{
  height:auto;max-height:min(520px,calc(100dvh - 120px));
}
.bw-panel[data-view="chat"] .bw-body,
.bw-panel[data-view="roi"] .bw-body{flex:1 1 auto;min-height:0;overflow:hidden}
.bw-panel[data-view="chat"] .bw-view{min-height:0}
.bw-panel[data-view="chat"] .bw-msgs{min-height:0;padding-bottom:10px}
.bw-panel[data-view="roi"] .bw-view{min-height:0}
.bw-panel[data-view="roi"] .bw-roi{min-height:0;overflow-y:auto}
.bw-head,.bw-tabs,.bw-inputbar,.bw-foot{flex-shrink:0}
.bw-panel-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.bw-root.bw-has-bg .bw-panel{
  background:transparent;
}
.bw-root.bw-has-bg .bw-panel-bg{
  display:block;
}
.bw-root:not(.bw-has-bg) .bw-panel-bg{
  display:none;
}
.bw-root.bw-has-bg .bw-panel::after{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:var(--bwt-bg-scrim,rgba(255,255,255,.38));
}
.bw-root.bw-has-bg.bw-theme-porcelain,
.bw-root.bw-has-bg.bw-theme-default,
.bw-root.bw-has-bg.bw-theme-atelier,
.bw-root.bw-has-bg.bw-theme-linen,
.bw-root.bw-has-bg.bw-theme-mist,
.bw-root.bw-has-bg.bw-theme-verdant,
.bw-root.bw-has-bg.bw-theme-ultraviolet,
.bw-root.bw-has-bg.bw-theme-sunset,
.bw-root.bw-has-bg.bw-theme-ocean,
.bw-root.bw-has-bg.bw-brift-lp{
  --bwt-bg-scrim:transparent;
}
/* Photo background — auto light/dark text from sampled luminance */
.bw-root.bw-has-bg.bw-bg-tone-light{
  --bwt-on-bg-text:#111114;
  --bwt-on-bg-muted:rgba(17,17,20,.74);
  --bwt-on-bg-faint:rgba(17,17,20,.5);
  --bwt-on-bg-hover:rgba(17,17,20,.08);
}
.bw-root.bw-has-bg.bw-bg-tone-dark{
  --bwt-on-bg-text:#f5f5f3;
  --bwt-on-bg-muted:rgba(245,245,243,.8);
  --bwt-on-bg-faint:rgba(245,245,243,.58);
  --bwt-on-bg-hover:rgba(255,255,255,.12);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-home-hi,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-home-hi,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-name,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-name,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-back,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-back{
  color:var(--bwt-on-bg-text);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-home-sub,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-home-sub,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-status,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-status,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-foot-brand-name,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-foot-brand-name,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-foot b,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-foot b{
  color:var(--bwt-on-bg-muted);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-proof,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-proof,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-foot-meta,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-foot-meta,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-foot,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-foot,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-close,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-close{
  color:var(--bwt-on-bg-faint);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-close:hover,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-close:hover,
.bw-root.bw-has-bg.bw-bg-tone-light .bw-head-back:hover,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-head-back:hover{
  background:var(--bwt-on-bg-hover);
  color:var(--bwt-on-bg-text);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-tab:not(.is-active),
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-tab:not(.is-active){
  color:var(--bwt-on-bg-muted);
}
.bw-root.bw-has-bg.bw-bg-tone-light .bw-tab:not(.is-active):hover,
.bw-root.bw-has-bg.bw-bg-tone-dark .bw-tab:not(.is-active):hover{
  background:var(--bwt-on-bg-hover);
  color:var(--bwt-on-bg-text);
}
.bw-head,.bw-body,.bw-tabs,.bw-inputbar,.bw-foot{position:relative;z-index:1}
.bw-panel.is-open{opacity:1;transform:none;visibility:visible;transition:opacity .32s cubic-bezier(.16,1,.3,1),transform .38s cubic-bezier(.16,1,.3,1)}
/* Mobile / tablette — responsive (landing + onboarding) */
@media(max-width:767px){
  .bw-panel-wrap{
    right:10px;left:10px;width:auto;bottom:max(78px,calc(68px + env(safe-area-inset-bottom,0px)));
  }
  .bw-panel{
    max-height:calc(100dvh - 86px - env(safe-area-inset-bottom,0px));
  }
  .bw-panel[data-view="home"]{
    height:auto;
    max-height:calc(100dvh - 86px - env(safe-area-inset-bottom,0px));
  }
  .bw-panel[data-view="home"] .bw-home{padding:16px 16px 10px}
  .bw-panel[data-view="home"] .bw-cards{margin-top:12px;gap:8px}
  .bw-panel[data-view="home"] .bw-proof{margin-top:8px;padding-bottom:4px}
  .bw-panel[data-view="chat"],
  .bw-panel[data-view="roi"]{
    height:auto;
    max-height:calc(100dvh - 86px - env(safe-area-inset-bottom,0px));
    min-height:min(340px,calc(100dvh - 160px));
  }
  .bw-panel[data-view="chat"] .bw-body{overflow:hidden}
  .bw-panel[data-view="roi"] .bw-body{overflow:hidden}
  .bw-panel[data-view="roi"] .bw-roi{padding:16px 16px 10px}
  .bw-panel[data-view="roi"] .bw-roi-grp{margin-top:14px}
  .bw-panel[data-view="roi"] .bw-roi-grp:first-of-type{margin-top:16px}
  .bw-panel[data-view="roi"] .bw-roi-chips{margin-top:10px;gap:6px}
  .bw-panel[data-view="roi"] .bw-roi-go{margin-top:36px!important}
  .bw-panel[data-view="roi"] .bw-tabs{padding:6px 12px max(2px,env(safe-area-inset-bottom,0px))}
  .bw-panel[data-view="roi"] .bw-foot{padding:2px 12px max(10px,env(safe-area-inset-bottom,0px))}
  .bw-panel[data-view="chat"] .bw-inputbar{padding-bottom:max(6px,env(safe-area-inset-bottom,0px))}
  .bw-panel[data-view="home"] .bw-foot,
  .bw-panel[data-view="chat"] .bw-foot{padding:0 10px max(12px,env(safe-area-inset-bottom,0px))}
  .bw-panel[data-view="home"] .bw-foot-meta,
  .bw-panel[data-view="chat"] .bw-foot-meta{padding-top:12px}
  .bw-panel[data-view="home"] .bw-tabs,
  .bw-panel[data-view="chat"] .bw-tabs{padding-bottom:4px}
  .bw-teaser{right:12px}
  .bw-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom,0px))}
}
@media(max-width:767px) and (max-height:700px){
  .bw-panel[data-view="home"] .bw-home-hi{font-size:18px}
  .bw-panel[data-view="home"] .bw-home-sub{font-size:12px;margin-top:4px}
  .bw-panel[data-view="home"] .bw-card{padding:11px 12px}
  .bw-panel[data-view="roi"] .bw-roi-go{margin-top:28px!important}
}

/* head */
.bw-head{display:flex;align-items:center;gap:10px;padding:14px 16px 12px;background:transparent;border-bottom:0;flex-shrink:0}
.bw-head-back{
  width:28px;height:28px;border:0;border-radius:50%;cursor:pointer;background:transparent;color:var(--bwt-text);
  display:none;place-items:center;flex-shrink:0;
}
.bw-head-back:hover{background:var(--bwt-hover)}
.bw-head-back svg{width:14px;height:14px}
.bw-panel[data-view="roi"] .bw-head-back{display:grid}
.bw-head-av{width:32px;height:32px;border-radius:50%;flex-shrink:0}
.bw-mark-letter{
  display:inline-grid;place-items:center;flex-shrink:0;
  font-family:var(--sans,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);
  font-weight:700;letter-spacing:-.04em;line-height:1;color:#fff;
  background:linear-gradient(165deg,#3a3a3c 0%,#101010 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 1px 2px rgba(0,0,0,.1);
  text-transform:uppercase;user-select:none;
}
.bw-head-av.bw-mark-letter{width:32px;height:32px;border-radius:6px;font-size:14px}
.bw-teaser-from .bw-mark-letter{width:20px;height:20px;border-radius:4px;font-size:10px}
.bw-head-meta{flex:1;min-width:0}
.bw-head-name{font-size:13.5px;font-weight:650;letter-spacing:-.02em;color:var(--bwt-text);line-height:1.2}
.bw-head-status{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--bwt-muted);margin-top:1px}
.bw-dot{width:6px;height:6px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 2.5px rgba(74,222,128,.2)}
.bw-head-close{
  width:28px;height:28px;border:0;border-radius:50%;cursor:pointer;background:transparent;color:var(--bwt-faint);
  display:grid;place-items:center;flex-shrink:0;
  transition:background .24s cubic-bezier(.16,1,.3,1),color .24s cubic-bezier(.16,1,.3,1);
}
.bw-head-close:hover{background:var(--bwt-hover);color:var(--bwt-text)}
.bw-head-close svg{
  width:14px;height:14px;
  display:block;
  transition:transform .48s cubic-bezier(.16,1,.3,1);
  transform-origin:center;
}
.bw-head-close:hover svg{transform:rotate(90deg)}

/* body / views */
.bw-body{flex:1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;background:transparent}
.bw-view{display:none;flex-direction:column;flex:1;min-height:0}
.bw-view.is-active{display:flex;animation:bwViewIn .44s cubic-bezier(.16,1,.3,1) both}
@keyframes bwViewIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* home */
.bw-home{padding:22px 18px 14px;display:flex;flex-direction:column;flex:1;background:transparent}
.bw-home-hi{font-size:21px;font-weight:680;letter-spacing:-.035em;color:var(--bwt-text);line-height:1.18;animation:bwRise .5s cubic-bezier(.16,1,.3,1) both}
.bw-home-sub{font-size:13px;color:var(--bwt-muted);letter-spacing:-.015em;line-height:1.45;margin-top:8px;margin-bottom:20px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .05s both;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:2.9em}
.bw-home-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .08s both}
.bw-home-chip{
  appearance:none;border:1px solid var(--bwt-border,rgba(0,0,0,.08));background:var(--bwt-panel,#fff);color:var(--bwt-text);
  border-radius:999px;padding:7px 11px;font-size:11.5px;font-weight:560;letter-spacing:-.01em;line-height:1.2;cursor:pointer;
  box-shadow:0 1px 0 rgba(0,0,0,.04);transition:transform .16s ease,background .16s ease;
}
.bw-home-chip:hover{transform:translateY(-1px);background:var(--bwt-soft,#f5f5f4)}
.bw-card--hero{width:100%;padding:16px 14px;margin-bottom:2px}
.bw-card--hero .bw-card-t{font-size:15px}
.bw-card--hero .bw-card-s{font-size:12px;opacity:.88}
.bw-cards{display:flex;flex-direction:column;gap:10px;margin-top:0}
.bw-card{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 14px;border:0;border-radius:16px;cursor:pointer;
  background:var(--bwt-surface);color:var(--bwt-surface-text,var(--bwt-text));
  box-shadow:var(--bwt-card-shadow);
  transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s ease;text-decoration:none;
  animation:bwRise .5s cubic-bezier(.16,1,.3,1) both;
}
.bw-card:nth-child(1){animation-delay:.08s}
.bw-card:nth-child(2){animation-delay:.14s}
.bw-card:nth-child(3){animation-delay:.2s}
.bw-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--bwt-card-shadow-hover);
}
.bw-card:active{transform:translateY(0)}
.bw-card--dark{
  border:0;
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow);
}
.bw-card--dark:hover{
  transform:translateY(-2px);filter:none;
  box-shadow:var(--bwt-accent-shadow-hover,var(--bwt-accent-shadow));
}
.bw-card[data-bw-go="chat"],
.bw-card--static{
  background:var(--bwt-bot-bg);color:var(--bwt-bot-text);
  border:var(--bwt-bot-border);box-shadow:var(--bwt-bot-shadow);
}
.bw-card--static:hover{transform:none}
.bw-card-ico{
  width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;
  background:var(--bwt-ico-bg);color:var(--bwt-surface-text,var(--bwt-text));
}
.bw-card--dark .bw-card-ico{
  background:var(--bwt-accent-soft);color:var(--bwt-accent-text);
}
.bw-card[data-bw-go="chat"] .bw-card-ico,
.bw-card--static .bw-card-ico{
  background:var(--bwt-ico-bg);color:var(--bwt-bot-text,var(--bwt-text));
}
.bw-card-ico svg{width:19px;height:19px;stroke-width:2.1}
.bw-card[data-bw-go="chat"] .bw-card-ico,
.bw-card[data-bw-go="roi"] .bw-card-ico{width:37px;height:37px}
.bw-card[data-bw-go="chat"] .bw-card-ico svg,
.bw-card[data-bw-go="roi"] .bw-card-ico svg{width:21px;height:21px;stroke-width:2.25}
.bw-card-txt{flex:1;min-width:0}
.bw-card-t{font-size:13.5px;font-weight:640;letter-spacing:-.02em;line-height:1.25}
.bw-card-s{font-size:11.5px;letter-spacing:-.01em;color:var(--bwt-on-surface-muted,var(--bwt-muted));margin-top:1px}
.bw-card--dark .bw-card-s{color:var(--bwt-on-accent-muted)}
.bw-card--static .bw-card-s{color:var(--bwt-on-bot-muted,var(--bwt-muted))}
.bw-card-arr{flex-shrink:0;color:var(--bwt-faint)}
.bw-card--dark .bw-card-arr{color:var(--bwt-on-accent-muted)}
.bw-card--static .bw-card-arr{color:var(--bwt-faint)}
.bw-card-arr svg{width:13px;height:13px;display:block}
.bw-proof{margin-top:auto;padding-top:14px;text-align:center;font-size:11px;color:var(--bwt-faint);letter-spacing:-.005em;border-top:0}
@keyframes bwRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* chat */
.bw-msgs{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:8px;background:transparent}
.bw-msg{display:flex;max-width:88%;animation:bwBubble .38s cubic-bezier(.16,1,.3,1) both}
.bw-msg--bot{align-self:flex-start}
.bw-msg--me{align-self:flex-end}
@keyframes bwBubble{from{opacity:0;transform:translateY(9px) scale(.96)}to{opacity:1;transform:none}}
.bw-bubble{
  padding:10px 13px;border-radius:16px;font-size:13px;letter-spacing:-.012em;line-height:1.5;
}
.bw-msg--bot .bw-bubble{
  position:relative;z-index:1;
  background:var(--bwt-bot-bg);color:var(--bwt-bot-text);border-bottom-left-radius:6px;border:var(--bwt-bot-border);
  box-shadow:var(--bwt-bot-shadow);
}
.bw-msg--bot .bw-bubble strong{font-weight:650;letter-spacing:-.012em}
.bw-msg--me .bw-bubble{
  position:relative;z-index:1;
  background:var(--bwt-me-bg);color:var(--bwt-me-text);border-bottom-right-radius:6px;
  box-shadow:var(--bwt-me-shadow);
}
.bw-typing{display:inline-flex;gap:4px;align-items:center;padding:13px 14px}
.bw-typing i{width:6px;height:6px;border-radius:50%;background:var(--bwt-faint);animation:bwDot 1.2s ease-in-out infinite}
.bw-typing i:nth-child(2){animation-delay:.15s}
.bw-typing i:nth-child(3){animation-delay:.3s}
@keyframes bwDot{0%,60%,100%{transform:none;opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.bw-chiprow{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0 4px;animation:bwBubble .38s cubic-bezier(.16,1,.3,1) .05s both}
.bw-chip{
  padding:8px 13px;border:var(--bwt-bot-border);border-radius:99px;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:-.015em;
  background:var(--bwt-bot-bg);color:var(--bwt-bot-text);
  box-shadow:var(--bwt-bot-shadow);
  transition:transform .15s ease,filter .15s ease;
}
.bw-chip:hover{transform:translateY(-1px);filter:brightness(.98)}
.bw-chip:active{transform:none}
.bw-msgs .bw-card--chat{
  width:100%;margin:8px 0 4px;text-align:left;
  animation:bwBubble .42s cubic-bezier(.16,1,.3,1) .06s both;
}
.bw-chat-roi{
  display:flex;align-items:center;gap:10px;width:100%;margin:6px 0 4px;padding:11px 12px 11px 11px;
  border:0;border-radius:14px;cursor:pointer;text-align:left;font-family:var(--sans);
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
  animation:bwBubble .42s cubic-bezier(.16,1,.3,1) .06s both;
}
.bw-chat-roi:hover{
  transform:translateY(-2px);
  box-shadow:var(--bwt-accent-shadow-hover,var(--bwt-accent-shadow));
}
.bw-chat-roi:active{transform:translateY(0)}
.bw-chat-roi-ico{
  width:36px;height:36px;border-radius:11px;flex:0 0 36px;display:grid;place-items:center;
  background:var(--bwt-accent-soft);color:var(--bwt-accent-text);
}
.bw-chat-roi-ico svg{width:20px;height:20px;stroke-width:2.2}
.bw-chat-roi-txt{flex:1;min-width:0}
.bw-chat-roi-t{display:block;font-size:13.5px;font-weight:650;letter-spacing:-.02em;line-height:1.25}
.bw-chat-roi-s{display:block;margin-top:2px;font-size:11.5px;font-weight:500;letter-spacing:-.01em;color:var(--bwt-on-accent-muted);line-height:1.3}
.bw-chat-roi-arr{flex:0 0 auto;display:inline-flex;align-items:center;color:var(--bwt-on-accent-muted)}
.bw-chat-roi-arr svg{width:13px;height:13px;display:block}
.bw-ctacard{align-self:stretch;margin:2px 0 4px;animation:bwBubble .4s cubic-bezier(.16,1,.3,1) both}
.bw-ctacard a,
.bw-ctacard-static,
.bw-roi-go,
.bw-roi-cta a,
.bw-roi-cta-static{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 16px;border-radius:14px;text-decoration:none;
  font-size:13px;font-weight:650;letter-spacing:-.02em;border:0;
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.bw-roi-go{font-size:13.5px;width:100%;cursor:pointer;font-family:var(--sans)}
.bw-roi-cta a,
.bw-roi-cta-static{padding:13px;border-radius:14px;font-size:13.5px}
.bw-ctacard a:hover,
.bw-roi-go:hover,
.bw-roi-cta a:hover{
  transform:translateY(-1px);
  box-shadow:var(--bwt-accent-shadow-hover,var(--bwt-accent-shadow));
  filter:none;
}
.bw-ctacard-arr{display:inline-flex;align-items:center;flex-shrink:0;color:var(--bwt-on-accent-muted,var(--bwt-muted))}
.bw-ctacard-arr svg{width:13px;height:13px;display:block}
.bw-lead-capture{align-self:stretch;display:flex;gap:8px;margin:2px 0 6px;animation:bwBubble .4s cubic-bezier(.16,1,.3,1) both}
.bw-lead-input{flex:1;min-width:0;padding:11px 12px;border-radius:12px;border:1px solid var(--bwt-border,#e8e8e6);font-size:13px;font-family:var(--sans);background:var(--bwt-surface,#fff);color:var(--bwt-text,#111)}
.bw-lead-input:focus{outline:none;border-color:var(--bwt-accent,#111);box-shadow:0 0 0 3px color-mix(in srgb,var(--bwt-accent,#111) 12%,transparent)}
.bw-lead-submit{flex:0 0 auto;padding:11px 14px;border-radius:12px;border:0;background:var(--bwt-accent,#111);color:var(--bwt-accent-text,#fff);font-size:13px;font-weight:650;cursor:pointer;font-family:var(--sans)}
.bw-lead-submit:disabled{opacity:.55;cursor:default}

/* input bar */
.bw-chat-roibar{
  display:none;padding:0 12px 8px;flex-shrink:0;
}
.bw-panel[data-view="chat"] .bw-chat-roibar:not([hidden]){display:block}
.bw-chat-roibar-btn{
  width:100%;padding:11px 14px;border:0;border-radius:12px;cursor:pointer;
  font-family:var(--sans);font-size:13px;font-weight:650;letter-spacing:-.02em;
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.bw-chat-roibar-btn:hover{
  transform:translateY(-1px);
  box-shadow:var(--bwt-accent-shadow-hover,var(--bwt-accent-shadow));
}
.bw-inputbar{display:none;align-items:center;gap:8px;padding:10px 12px;background:transparent;border-top:0;flex-shrink:0}
.bw-panel[data-view="chat"] .bw-inputbar{display:flex}
.bw-input{
  flex:1;border:0;outline:none;background:var(--bwt-field-bg);border-radius:12px;padding:10px 14px;font-family:var(--sans);
  font-size:13px;letter-spacing:-.01em;color:var(--bwt-field-text,var(--bwt-text));
  box-shadow:var(--bwt-field-shadow);
}
.bw-input::placeholder{color:var(--bwt-faint)}
.bw-send{
  width:36px;height:36px;border:0;border-radius:11px;cursor:pointer;display:grid;place-items:center;flex-shrink:0;
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow-sm);
  transition:transform .15s ease,opacity .15s ease;
}
.bw-send:hover{transform:scale(1.05)}
.bw-send:active{transform:scale(.95)}
.bw-send svg{width:15px;height:15px}

/* tabs + foot */
.bw-tabs{display:flex;gap:6px;padding:6px 12px 4px;background:transparent;border-top:0;flex-shrink:0}
.bw-tab{
  flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:0;border-radius:11px;cursor:pointer;
  font-size:11.5px;font-weight:640;letter-spacing:-.01em;background:transparent;color:var(--bwt-muted);
  transition:background .15s ease,color .15s ease;
}
.bw-tab svg{width:14px;height:14px}
.bw-tab:hover{background:var(--bwt-hover);color:var(--bwt-text)}
.bw-tab.is-active{
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-foot{
  padding:0 12px 18px;background:transparent;border-top:0;
  flex-shrink:0;box-shadow:none;border-radius:0;
}
.bw-foot-meta{
  display:flex;align-items:center;justify-content:center;
  padding:24px 2px 0;text-align:center;
}
.bw-foot-line{
  display:flex;flex-wrap:nowrap;align-items:baseline;justify-content:center;
  gap:0;margin:0;max-width:100%;
  font-size:10px;line-height:1.35;letter-spacing:.006em;
  color:color-mix(in srgb,var(--bwt-muted) 68%,transparent);
}
.bw-foot-brand-link{
  display:inline;flex:0 0 auto;color:inherit;text-decoration:none;white-space:nowrap;
}
.bw-foot-brand-pre{font-weight:500}
.bw-foot-brand-name{font-weight:650;color:color-mix(in srgb,var(--bwt-text) 40%,var(--bwt-muted))}
.bw-foot-brand-link:hover .bw-foot-brand-name{color:var(--bwt-text)}
.bw-foot-sep{
  flex:0 0 auto;margin:0 .38em;
  font-size:1.14em;line-height:1;font-weight:620;
  opacity:.52;user-select:none;
}
.bw-panel[data-view="chat"] .bw-inputbar{padding-top:6px}
.bw-foot-legal{
  display:inline;flex:1 1 auto;min-width:0;
  font-weight:450;white-space:nowrap;
}
.bw-foot-privacy-link{
  color:inherit;font-weight:560;
  text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;
  text-decoration-color:color-mix(in srgb,var(--bwt-muted) 40%,transparent);
}
.bw-foot-privacy-link:hover{
  color:var(--bwt-text);
  text-decoration-color:color-mix(in srgb,var(--bwt-text) 35%,transparent);
}
.bw-foot-privacy.is-static .bw-foot-privacy-link,
.bw-root.bw-preview .bw-foot-privacy-link{
  pointer-events:none;cursor:default;text-decoration:none;
}
.bw-panel[data-view="home"] .bw-tabs,
.bw-panel[data-view="chat"] .bw-tabs,
.bw-panel[data-view="chat"] .bw-inputbar,
.bw-panel[data-view="home"] .bw-foot,
.bw-panel[data-view="chat"] .bw-foot{
  background:transparent;
  box-shadow:none;
}
/* Home/Chat nav + footer stay visible in chat so visitors can always go back Home */
.bw-panel[data-view="chat"] .bw-tabs{display:flex}
.bw-panel[data-view="chat"] .bw-foot{display:block}
.bw-panel[data-view="home"] .bw-proof{position:relative;z-index:2;background:transparent;box-shadow:none}

/* ── ROI view ── */
.bw-roi{padding:20px 18px 16px;display:flex;flex-direction:column;flex:1;background:transparent}
.bw-roi-form{display:flex;flex-direction:column;flex:1;min-height:0}
.bw-view[data-bw-view="roi"].is-active .bw-roi-t{font-size:18px;font-weight:680;letter-spacing:-.03em;color:var(--bwt-text);line-height:1.2;animation:bwRoiFade .5s cubic-bezier(.22,1,.36,1) both}
.bw-view[data-bw-view="roi"].is-active .bw-roi-s{font-size:12px;color:var(--bwt-muted);letter-spacing:-.01em;margin-top:4px;margin-bottom:14px;animation:bwRoiFade .5s cubic-bezier(.22,1,.36,1) .04s both}
.bw-view[data-bw-view="roi"].is-active .bw-roi-grp{margin-top:18px;animation:bwRoiFade .52s cubic-bezier(.22,1,.36,1) both}
.bw-view[data-bw-view="roi"].is-active .bw-roi-grp:nth-of-type(2){animation-delay:.07s}
.bw-view[data-bw-view="roi"].is-active .bw-roi-grp:nth-of-type(3){animation-delay:.13s}
.bw-view[data-bw-view="roi"].is-active .bw-roi-grp:nth-of-type(4){animation-delay:.19s}
.bw-roi-t{font-size:18px;font-weight:680;letter-spacing:-.03em;color:var(--bwt-text);line-height:1.2}
.bw-roi-s{font-size:12px;color:var(--bwt-muted);letter-spacing:-.01em;margin-top:4px;margin-bottom:14px}
.bw-roi-grp{margin-top:18px}
@keyframes bwRoiFade{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
.bw-view[data-bw-view="roi"].is-active .bw-roi-go{animation:bwRoiFade .52s cubic-bezier(.22,1,.36,1) .24s both}
.bw-roi-lab{display:flex;align-items:baseline;justify-content:space-between;font-size:12px;font-weight:600;letter-spacing:-.015em;color:var(--bwt-text)}
.bw-roi-val{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.bw-slider{
  appearance:none;-webkit-appearance:none;width:100%;height:6px;border-radius:99px;margin-top:12px;cursor:pointer;outline:none;
  background:linear-gradient(90deg,var(--bwt-slider-fill) 0%,var(--bwt-slider-fill) 50%,var(--bwt-slider-track) 50%,var(--bwt-slider-track) 100%);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.07);
}
.bw-slider::-webkit-slider-thumb{
  appearance:none;-webkit-appearance:none;width:22px;height:22px;border-radius:50%;border:0;cursor:grab;
  background:var(--bwt-accent);
  box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-slider::-moz-range-thumb{
  width:22px;height:22px;border-radius:50%;border:0;cursor:grab;
  background:var(--bwt-accent);
  box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-roi-chips{
  display:grid;grid-template-columns:repeat(var(--bw-chip-cols,2),minmax(0,1fr));gap:7px;margin-top:10px;
}
.bw-roi-chip{
  width:100%;padding:9px 6px;border:0;border-radius:10px;cursor:pointer;font-size:11.5px;font-weight:620;letter-spacing:-.015em;
  background:var(--bwt-surface);color:var(--bwt-surface-text,var(--bwt-text));
  box-shadow:var(--bwt-chip-shadow);
  transition:all .15s ease;white-space:normal;text-align:center;line-height:1.2;
}
.bw-roi-chip.is-on{
  background:var(--bwt-accent);color:var(--bwt-accent-text);
  box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-roi-go{
  margin-top:auto;
  flex-shrink:0;
}
.bw-roi-go:hover{transform:translateY(-1.5px)}

/* ══ Desktop uniquement — largeur uniforme, tabs visibles, ROI compact ══ */
@media (min-width:768px){
  /* Même largeur Home / Chat / ROI (landing) — ne pas élargir le ROI */
  .bw-panel,
  .bw-panel[data-view="home"],
  .bw-panel[data-view="chat"],
  .bw-panel[data-view="roi"]{
    width:386px;
    max-width:calc(100vw - 48px);
  }
  .bw-root.bw-embed .bw-panel{
    width:auto;
  }
  /* Home & Chat — onglets + footer toujours visibles en bas */
  .bw-panel[data-view="home"],
  .bw-panel[data-view="chat"]{
    display:flex;
    flex-direction:column;
    min-height:0;
    max-height:min(500px,calc(100dvh - 120px));
  }
  .bw-panel[data-view="home"] .bw-body,
  .bw-panel[data-view="chat"] .bw-body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
  }
  .bw-panel[data-view="home"] .bw-home{
    flex:0 0 auto;
    min-height:0;
  }
  .bw-panel[data-view="home"] .bw-proof{
    margin-top:12px;
  }
  .bw-panel[data-view="chat"]{
    max-height:min(500px,calc(100dvh - 120px));
  }
  /* ROI — même largeur, layout horizontal interne */
  .bw-panel[data-view="roi"]{
    max-height:min(480px,calc(100dvh - 120px));
  }
  .bw-root.bw-embed .bw-panel[data-view="roi"]{
    max-height:min(480px,calc(100% - 72px));
  }
  .bw-panel[data-view="roi"] .bw-body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
  }
  .bw-panel[data-view="roi"] .bw-roi{
    padding:14px 18px 10px;
    overflow:visible;
    flex:0 0 auto;
  }
  .bw-panel[data-view="roi"] .bw-roi-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:14px;
    row-gap:0;
    flex:0 0 auto;
    min-height:0;
  }
  .bw-panel[data-view="roi"] .bw-roi-t{
    grid-column:1 / -1;
    font-size:17px;
    line-height:1.15;
  }
  .bw-panel[data-view="roi"] .bw-roi-s{
    grid-column:1 / -1;
    font-size:11.5px;
    margin-top:3px;
    margin-bottom:14px;
    line-height:1.35;
  }
  /* Eyebrow "Vos chiffres actuels" — toujours pleine largeur (sinon décale la grille) */
  .bw-panel[data-view="roi"] .bw-roi-cureb{
    grid-column:1 / -1;
  }
  /* Jauges — emboîtées 2 par rangée, quel que soit leur nombre */
  .bw-panel[data-view="roi"] .bw-roi-grp--slider{
    grid-column:span 1;
    margin-top:16px;
    min-width:0;
  }
  .bw-panel[data-view="roi"] .bw-roi-grp--slider.bw-roi-grp--wide{
    grid-column:1 / -1;
  }
  .bw-panel[data-view="roi"] .bw-roi-grp--slider .bw-roi-lab{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    font-size:11px;
    line-height:1.25;
  }
  .bw-panel[data-view="roi"] .bw-roi-grp--slider.bw-roi-grp--wide .bw-roi-lab{
    flex-direction:row;
    align-items:baseline;
  }
  .bw-panel[data-view="roi"] .bw-roi-grp--slider .bw-roi-val{
    font-size:15px;
    font-weight:700;
  }
  .bw-panel[data-view="roi"] .bw-slider{
    margin-top:8px;
    height:5px;
  }
  .bw-panel[data-view="roi"] .bw-slider::-webkit-slider-thumb{
    width:18px;height:18px;
  }
  .bw-panel[data-view="roi"] .bw-slider::-moz-range-thumb{
    width:18px;height:18px;
  }
  /* Groupes à chips (conversion, etc.) — toujours pleine largeur */
  .bw-panel[data-view="roi"] .bw-roi-grp--chips{
    grid-column:1 / -1;
    margin-top:12px;
  }
  .bw-panel[data-view="roi"] .bw-roi-grp--chips .bw-roi-lab{
    font-size:11px;
    margin-bottom:0;
  }
  .bw-panel[data-view="roi"] .bw-roi-chips{
    gap:6px;
    margin-top:8px;
  }
  .bw-panel[data-view="roi"] .bw-roi-chip{
    padding:8px 4px;
    font-size:11px;
    border-radius:9px;
  }
  /* CTA — pleine largeur, espace fixe au-dessus */
  .bw-panel[data-view="roi"] .bw-roi-go{
    grid-column:1 / -1;
    margin-top:14px;
    padding:12px 16px;
    font-size:13px;
  }
  /* Résultat ROI (estimated added revenue) — compact, même largeur */
  .bw-panel[data-view="roi"] .bw-roi.is-done{
    padding:10px 16px 6px;
  }
  .bw-panel[data-view="roi"] .bw-roi-kick{
    margin-top:4px;
    font-size:10px;
  }
  .bw-panel[data-view="roi"] .bw-roi-num{
    font-size:36px;
    margin-top:3px;
  }
  .bw-panel[data-view="roi"] .bw-roi-numlab{
    margin-top:2px;
    font-size:11.5px;
  }
  .bw-panel[data-view="roi"] .bw-roi-curve{
    max-width:220px;
    margin-top:8px;
  }
  .bw-panel[data-view="roi"] .bw-roi-rows{
    margin-top:8px;
    gap:14px;
  }
  .bw-panel[data-view="roi"] .bw-roi-cta{
    padding-top:8px;
    margin-top:6px;
    gap:6px;
  }
  .bw-panel[data-view="roi"] .bw-roi-note{
    margin-top:4px;
  }
}
/* result */
.bw-roi-res{display:none;flex-direction:column;flex:1;text-align:center}
.bw-roi.is-done .bw-roi-form{display:none}
.bw-roi.is-done .bw-roi-res{display:flex}
.bw-roi-kick{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bwt-muted);margin-top:6px;animation:bwRise .45s cubic-bezier(.16,1,.3,1) both}
.bw-roi-num{
  font-size:40px;font-weight:700;letter-spacing:-.045em;color:var(--bwt-text);line-height:1.05;margin-top:4px;
  font-variant-numeric:tabular-nums;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .05s both;
}
.bw-roi-numlab{font-size:11.5px;color:var(--bwt-muted);letter-spacing:-.01em;margin-top:3px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .1s both}
.bw-roi-curve{margin:10px auto 0;width:100%;max-width:240px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .15s both}
.bw-roi-curve svg{width:100%;height:auto;display:block}
.bw-roi-curve .bw-draw{stroke:var(--bwt-roi-line);stroke-dasharray:340;stroke-dashoffset:340}
.bw-roi-curve .bw-roi-base{stroke:var(--bwt-roi-baseline);opacity:.85;stroke-dasharray:300;stroke-dashoffset:300}
.bw-roi-curve .bw-roi-base-dot{fill:var(--bwt-roi-baseline);opacity:0}
.bw-roi-curve .bw-roi-dot{fill:var(--bwt-roi-line);stroke:var(--bwt-roi-dot-ring)}
.bw-roi-curve .bw-roi-axis{fill:var(--bwt-roi-label)}
.bw-roi.is-done .bw-roi-curve .bw-roi-base{animation:bwDraw 1s cubic-bezier(.3,0,.2,1) .2s forwards}
.bw-roi.is-done .bw-roi-curve .bw-roi-base-dot{animation:bwDot .3s ease 1.05s forwards}
.bw-roi.is-done .bw-roi-curve .bw-draw{animation:bwDraw 1.1s cubic-bezier(.3,0,.2,1) .35s forwards}
.bw-roi.bw-roi--compact .bw-roi-curve,.bw-roi.bw-roi--compact .bw-roi-legend{display:none}
@keyframes bwDraw{to{stroke-dashoffset:0}}
@keyframes bwDot{to{opacity:.7}}
.bw-roi-legend{display:flex;justify-content:center;gap:14px;margin-top:7px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .18s both}
.bw-roi-leg{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;color:var(--bwt-muted);letter-spacing:-.01em}
.bw-roi-leg i{font-style:normal;width:14px;height:2.5px;border-radius:2px;flex-shrink:0}
.bw-roi-leg--today i{background:var(--bwt-roi-baseline)}
.bw-roi-leg--with i{background:var(--bwt-roi-line)}
.bw-roi-basis{font-size:10.5px;line-height:1.35;color:var(--bwt-muted);text-align:center;margin-top:9px;letter-spacing:-.01em;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .15s both}
.bw-roi-basis:empty{display:none}
.bw-roi-compare{font-size:11px;line-height:1.4;font-weight:600;color:var(--bwt-text);text-align:center;margin-top:8px;letter-spacing:-.01em;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .2s both}
.bw-roi-compare:empty{display:none}
.bw-roi-cureb{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--bwt-muted);margin:2px 0 9px}
.bw-roi-rows{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin-top:10px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .2s both}
.bw-roi-row{font-size:11.5px;color:var(--bwt-text);font-weight:600;letter-spacing:-.015em;display:flex;align-items:center;gap:5px}
.bw-roi-row i{font-style:normal;width:6px;height:6px;border-radius:50%;background:#1d9e75;flex-shrink:0}
.bw-roi-cta{
  margin-top:auto;padding-top:12px;display:flex;flex-direction:column;gap:6px;animation:bwRise .5s cubic-bezier(.16,1,.3,1) .25s both;
}
.bw-roi-cta a:hover{transform:translateY(-1.5px)}
.bw-roi-cta a svg,
.bw-roi-cta-static svg{width:13px;height:13px}
.bw-roi-again{border:0;background:transparent;cursor:pointer;font-size:11.5px;font-weight:600;color:var(--bwt-muted);padding:4px}
.bw-roi-again:hover{color:var(--bwt-text)}
.bw-roi-note{display:none}
.bw-roi.is-done{padding-bottom:10px}

@media(prefers-reduced-motion:reduce){
  .bw-root *,.bw-launcher,.bw-teaser,.bw-panel{animation:none!important;transition:none!important}
}

.bw-root.bw-no-roi .bw-card[data-bw-go="roi"],
.bw-root.bw-no-roi [data-bw-view="roi"]{display:none!important}

.bw-root.bw-no-close .bw-head-close,
.bw-root.bw-no-close .bw-teaser-close{pointer-events:none;opacity:.28;cursor:default}

.bw-root.bw-embed{
  position:relative!important;z-index:auto!important;inset:auto!important;bottom:auto!important;right:auto!important;
  width:100%;min-height:620px;height:min(720px,calc(100vh - 180px));
  pointer-events:auto;font-family:var(--sans,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);
}
.bw-root.bw-embed.bw-preview{
  position:relative;min-height:0;height:100%;
}
.bw-root.bw-embed .bw-launcher{position:absolute;right:12px;bottom:12px;top:auto;left:auto;animation:none}
.bw-root.bw-embed .bw-teaser{position:absolute;right:12px;bottom:76px;top:auto;left:auto;width:min(300px,calc(100% - 24px))}
.bw-root.bw-embed .bw-panel-wrap{
  position:absolute;right:12px;bottom:68px;left:12px;top:auto;width:auto;
}
.bw-root.bw-embed .bw-panel{
  position:relative;right:auto;bottom:auto;left:auto;width:auto;
  height:auto;max-height:calc(100% - 80px);
}
.bw-root.bw-embed .bw-panel[data-view="home"]{
  height:auto;max-height:calc(100% - 80px);
}
.bw-root.bw-embed .bw-panel[data-view="chat"],
.bw-root.bw-embed .bw-panel[data-view="roi"]{
  height:auto;max-height:calc(100% - 80px);
  min-height:min(360px,calc(100% - 120px));
}
@media(max-width:767px){
  .bw-root.bw-embed{min-height:0;height:auto;padding-bottom:56px}
  .bw-root.bw-embed .bw-panel-wrap{
    right:8px;left:8px;bottom:52px;
  }
  .bw-root.bw-embed .bw-panel{
    max-height:calc(100% - 72px);
  }
  .bw-root.bw-embed .bw-panel[data-view="home"]{
    height:auto;max-height:calc(100% - 72px);
  }
  .bw-root.bw-embed .bw-panel[data-view="chat"],
  .bw-root.bw-embed .bw-panel[data-view="roi"]{
    height:auto;max-height:calc(100% - 72px);
    min-height:min(320px,calc(100% - 120px));
  }
  .bw-root.bw-embed .bw-teaser{right:8px}
  .bw-root.bw-embed .bw-launcher{right:8px;bottom:8px}
}
@media(min-width:768px){
  .bw-root.bw-embed .bw-panel[data-view="chat"]{
    max-height:min(500px,calc(100% - 80px));
  }
  /* Agent preview (/app) — même largeur & layout desktop que landing */
  .bw-root.bw-embed.bw-preview .bw-panel,
  .bw-root.bw-embed.bw-preview .bw-teaser{
    width:386px;
    max-width:calc(100% - 24px);
  }
  .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"],
  .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"]{
    display:flex;
    flex-direction:column;
    min-height:0;
    max-height:min(500px,calc(100% - 88px));
  }
  .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"] .bw-body,
  .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"] .bw-body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
  }
  .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"]{
    max-height:min(480px,calc(100% - 88px));
  }
}

/* Embed canvas — même widget que landing, contenu dans un conteneur (onboarding 7, /app preview) */
.bw-embed-canvas,
.bw-embed-canvas > .bw-root.bw-embed.bw-preview{
  position:relative;width:100%;height:100%;min-height:0;overflow:visible;pointer-events:auto;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-teaser{
  position:absolute;right:12px;left:auto;top:auto;bottom:76px;
  width:min(300px,calc(100% - 24px));z-index:35;
  transform-origin:bottom right;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-launcher{
  position:absolute;right:12px;left:auto;top:auto;bottom:12px;z-index:34;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel-wrap{
  position:absolute;right:12px;left:auto!important;top:auto;bottom:76px;
  width:386px;max-width:calc(100% - 24px);
  transform-origin:bottom right;
  z-index:40;
}
.brift-agent-v2-preview-mount.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel-wrap,
.brift-agent-v2-preview-mount .bw-root.bw-embed.bw-preview .bw-panel-wrap{
  position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;
  right:auto!important;left:auto!important;width:100%!important;max-width:386px!important;
  margin:0 auto!important;z-index:1!important;pointer-events:auto!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel{
  position:relative;right:auto;left:auto!important;top:auto;bottom:auto;
  width:100%;height:auto;max-height:none!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview.bw-always-open .bw-teaser{display:none!important}
.bw-embed-canvas .bw-root.bw-embed.bw-preview.bw-always-open .bw-launcher{
  display:grid!important;pointer-events:none!important;cursor:default!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview.bw-always-open .bw-panel-wrap{
  bottom:76px!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview.bw-always-open .bw-panel{
  opacity:1!important;transform:none!important;visibility:visible!important;
  transition:none!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"]{
  height:auto!important;max-height:none!important;overflow:visible!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"].is-open{
  height:auto!important;max-height:none!important;overflow:visible!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"] .bw-body{
  flex:0 1 auto!important;overflow:visible!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"] .bw-home{
  flex:0 0 auto;padding:22px 18px 14px;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"],
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"]{
  height:auto;max-height:calc(100% - 72px)!important;min-height:min(380px,calc(100% - 120px));overflow:hidden;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"] .bw-body,
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"] .bw-body{
  flex:1 1 auto;min-height:0;overflow:hidden;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-card--static,
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-ctacard-static,
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-roi-cta-static{
  pointer-events:none!important;cursor:default!important;
}
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-card--static:hover,
.bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-card--static:active{
  transform:none!important;filter:none!important;
}
@media (min-width:768px){
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel,
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-teaser{
    width:386px;max-width:calc(100% - 24px);
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"]{
    display:flex;flex-direction:column;min-height:0;max-height:none!important;overflow:visible!important;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"]{
    display:flex;flex-direction:column;min-height:0;
    max-height:calc(100% - 72px)!important;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"] .bw-body{
    flex:0 0 auto;min-height:auto;overflow:visible!important;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"] .bw-body{
    flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"]{
    max-height:calc(100% - 72px)!important;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"] .bw-body{
    flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
  }
}
@media (max-width:767px){
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel{
    right:10px;left:10px!important;width:auto!important;max-width:none;
    bottom:max(78px,calc(68px + env(safe-area-inset-bottom,0px)));
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"]{
    height:auto;max-height:none;overflow:visible;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="home"] .bw-body{
    overflow:visible;
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-teaser{right:12px}
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-launcher{
    right:16px;bottom:max(16px,env(safe-area-inset-bottom,0px));
  }
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="chat"],
  .bw-embed-canvas .bw-root.bw-embed.bw-preview .bw-panel[data-view="roi"]{
    max-height:calc(100% - 86px - env(safe-area-inset-bottom,0px));
    min-height:min(340px,calc(100% - 160px));
  }
}

/* Legacy ob-demo — conservé pour compat */
.bw-root.bw-embed.bw-ob-demo{
  min-height:0;height:100%;padding-bottom:0;
}

/* ══════════════════ Themes ══════════════════
   Each class fully redefines the token set so it works both
   on the live widget root and on standalone preview swatches. */

/* Porcelain (default) — flat minimal surfaces, CTA noir inset classique */
.bw-theme-porcelain,
.bw-theme-default,
.bw-theme-atelier{
  --bwt-panel:#fff;
  --bwt-text:#111114;
  --bwt-muted:#8a8a8e;
  --bwt-faint:#b5b5ba;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(0,0,0,.09);
  --bwt-card-shadow-hover:0 0 0 1px rgba(0,0,0,.18);
  --bwt-chip-shadow:0 0 0 1px rgba(0,0,0,.1);
  --bwt-ico-bg:#f4f4f5;
  --bwt-bot-bg:#f4f4f5;
  --bwt-bot-text:#111114;
  --bwt-bot-border:0;
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.14);
  --bwt-on-accent-muted:rgba(255,255,255,.6);
  --bwt-accent-shadow:inset 0 1.5px 0 rgba(255,255,255,.36),inset 0 -2px 0 rgba(0,0,0,.46),0 2px 5px rgba(0,0,0,.09),0 1px 2px rgba(0,0,0,.06);
  --bwt-accent-shadow-sm:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1.5px 0 rgba(0,0,0,.4),0 1px 3px rgba(0,0,0,.08);
  --bwt-accent-shadow-hover:inset 0 1.5px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.48),0 3px 8px rgba(0,0,0,.11),0 1px 3px rgba(0,0,0,.07);
  --bwt-me-bg:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-me-text:#fff;
  --bwt-me-shadow:var(--bwt-accent-shadow-sm);
  --bwt-field-bg:#f4f4f5;
  --bwt-field-shadow:none;
  --bwt-hover:rgba(0,0,0,.05);
  --bwt-slider-fill:#0a0a0a;
  --bwt-slider-track:#ececee;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Carbon — graphite dark panel, mid gray received UI */
.bw-theme-carbon{
  --bwt-panel:#161615;
  --bwt-text:#f5f5f3;
  --bwt-muted:#a3a39e;
  --bwt-faint:#6f6f6a;
  --bwt-surface:#5e5e5b;
  --bwt-surface-text:#f5f5f3;
  --bwt-on-surface-muted:#b8b8b4;
  --bwt-card-shadow:0 0 0 1px rgba(255,255,255,.08),0 2px 8px rgba(0,0,0,.28);
  --bwt-card-shadow-hover:0 0 0 1px rgba(255,255,255,.12),0 8px 20px rgba(0,0,0,.36);
  --bwt-chip-shadow:0 0 0 1px rgba(255,255,255,.09);
  --bwt-ico-bg:#62625f;
  --bwt-bot-bg:#6a6a67;
  --bwt-bot-text:#f5f5f3;
  --bwt-on-bot-muted:#c4c4c0;
  --bwt-bot-border:1px solid rgba(255,255,255,.1);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#e4e4e1,#cacac6);
  --bwt-accent-text:#141414;
  --bwt-accent-soft:rgba(0,0,0,.07);
  --bwt-on-accent-muted:rgba(0,0,0,.54);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.72) inset,0 -2px 0 rgba(0,0,0,.12) inset,0 1px 3px rgba(0,0,0,.16);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.66) inset,0 -1.5px 0 rgba(0,0,0,.1) inset,0 1px 2px rgba(0,0,0,.12);
  --bwt-me-bg:linear-gradient(180deg,#e4e4e1,#cacac6);
  --bwt-me-text:#141414;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.66) inset,0 -1.5px 0 rgba(0,0,0,.1) inset,0 1px 2px rgba(0,0,0,.12);
  --bwt-field-bg:#565653;
  --bwt-field-text:#f5f5f3;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(0,0,0,.28);
  --bwt-hover:rgba(255,255,255,.08);
  --bwt-slider-fill:#d8d8d4;
  --bwt-slider-track:#3a3a37;
  --bwt-bg-scrim:rgba(0,0,0,.34);
}

/* Midnight — deep navy panel, mid blue-gray received UI */
.bw-theme-midnight{
  --bwt-panel:#0d1326;
  --bwt-text:#edf0fc;
  --bwt-muted:#8d96bd;
  --bwt-faint:#5a628a;
  --bwt-surface:#404868;
  --bwt-surface-text:#edf0fc;
  --bwt-on-surface-muted:#a8b0cc;
  --bwt-card-shadow:0 0 0 1px rgba(125,140,255,.12),0 2px 8px rgba(0,0,0,.3);
  --bwt-card-shadow-hover:0 0 0 1px rgba(125,140,255,.22),0 8px 22px rgba(0,0,0,.4);
  --bwt-chip-shadow:0 0 0 1px rgba(125,140,255,.14);
  --bwt-ico-bg:#444e72;
  --bwt-bot-bg:#4a5478;
  --bwt-bot-text:#edf0fc;
  --bwt-on-bot-muted:#b8c0dc;
  --bwt-bot-border:1px solid rgba(125,140,255,.14);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#7c88e8,#5666d8);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.16);
  --bwt-on-accent-muted:rgba(255,255,255,.66);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -2px 6px rgba(0,0,0,.28) inset,0 1px 3px rgba(71,87,230,.18);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(71,87,230,.14);
  --bwt-me-bg:linear-gradient(180deg,#7c88e8,#5666d8);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(71,87,230,.14);
  --bwt-field-bg:#3a4462;
  --bwt-field-text:#edf0fc;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(0,0,0,.32);
  --bwt-hover:rgba(125,140,255,.12);
  --bwt-slider-fill:#8f9cff;
  --bwt-slider-track:#2a3458;
  --bwt-bg-scrim:rgba(0,0,0,.34);
}

/* Plum — deep violet panel, purple received bubbles */
.bw-theme-plum{
  --bwt-panel:#1a1324;
  --bwt-text:#f2ebfc;
  --bwt-muted:#b39dcc;
  --bwt-faint:#7a6494;
  --bwt-surface:#3d2d52;
  --bwt-surface-text:#f2ebfc;
  --bwt-on-surface-muted:#c4b0dc;
  --bwt-card-shadow:0 0 0 1px rgba(167,139,250,.12),0 2px 8px rgba(0,0,0,.32);
  --bwt-card-shadow-hover:0 0 0 1px rgba(167,139,250,.22),0 8px 22px rgba(0,0,0,.42);
  --bwt-chip-shadow:0 0 0 1px rgba(167,139,250,.14);
  --bwt-ico-bg:#4a3568;
  --bwt-bot-bg:#5c4080;
  --bwt-bot-text:#f2ebfc;
  --bwt-on-bot-muted:#d4c4ec;
  --bwt-bot-border:1px solid rgba(167,139,250,.16);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#a78bfa,#7c3aed);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.16);
  --bwt-on-accent-muted:rgba(255,255,255,.66);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -2px 6px rgba(0,0,0,.28) inset,0 1px 3px rgba(124,58,237,.22);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(124,58,237,.16);
  --bwt-me-bg:linear-gradient(180deg,#a78bfa,#7c3aed);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(124,58,237,.16);
  --bwt-field-bg:#342648;
  --bwt-field-text:#f2ebfc;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(0,0,0,.32);
  --bwt-hover:rgba(167,139,250,.12);
  --bwt-slider-fill:#a78bfa;
  --bwt-slider-track:#2a1e3c;
  --bwt-bg-scrim:rgba(0,0,0,.34);
}

/* Ember — warm dark panel, orange received bubbles */
.bw-theme-ember{
  --bwt-panel:#1a1410;
  --bwt-text:#f8f0ea;
  --bwt-muted:#c4a894;
  --bwt-faint:#8a7264;
  --bwt-surface:#4a3528;
  --bwt-surface-text:#f8f0ea;
  --bwt-on-surface-muted:#d4b8a8;
  --bwt-card-shadow:0 0 0 1px rgba(251,146,60,.12),0 2px 8px rgba(0,0,0,.32);
  --bwt-card-shadow-hover:0 0 0 1px rgba(251,146,60,.22),0 8px 22px rgba(0,0,0,.42);
  --bwt-chip-shadow:0 0 0 1px rgba(251,146,60,.14);
  --bwt-ico-bg:#5c4434;
  --bwt-bot-bg:#6b4530;
  --bwt-bot-text:#f8f0ea;
  --bwt-on-bot-muted:#e0c8b8;
  --bwt-bot-border:1px solid rgba(251,146,60,.16);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#fb923c,#ea580c);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.16);
  --bwt-on-accent-muted:rgba(255,255,255,.66);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -2px 6px rgba(0,0,0,.28) inset,0 1px 3px rgba(234,88,12,.22);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(234,88,12,.16);
  --bwt-me-bg:linear-gradient(180deg,#fb923c,#ea580c);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(234,88,12,.16);
  --bwt-field-bg:#3a2a20;
  --bwt-field-text:#f8f0ea;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(0,0,0,.32);
  --bwt-hover:rgba(251,146,60,.12);
  --bwt-slider-fill:#fb923c;
  --bwt-slider-track:#2a1e16;
  --bwt-bg-scrim:rgba(0,0,0,.34);
}

/* Blush — dark rose panel, pink received bubbles */
.bw-theme-blush{
  --bwt-panel:#1a1216;
  --bwt-text:#fceef4;
  --bwt-muted:#c49aad;
  --bwt-faint:#8a6478;
  --bwt-surface:#4a2838;
  --bwt-surface-text:#fceef4;
  --bwt-on-surface-muted:#dcb8c8;
  --bwt-card-shadow:0 0 0 1px rgba(244,114,182,.12),0 2px 8px rgba(0,0,0,.32);
  --bwt-card-shadow-hover:0 0 0 1px rgba(244,114,182,.22),0 8px 22px rgba(0,0,0,.42);
  --bwt-chip-shadow:0 0 0 1px rgba(244,114,182,.14);
  --bwt-ico-bg:#5c3448;
  --bwt-bot-bg:#6b3d52;
  --bwt-bot-text:#fceef4;
  --bwt-on-bot-muted:#e8c4d4;
  --bwt-bot-border:1px solid rgba(244,114,182,.16);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#f472b6,#db2777);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.16);
  --bwt-on-accent-muted:rgba(255,255,255,.66);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -2px 6px rgba(0,0,0,.28) inset,0 1px 3px rgba(219,39,119,.22);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(219,39,119,.16);
  --bwt-me-bg:linear-gradient(180deg,#f472b6,#db2777);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.26) inset,0 -1.5px 4px rgba(0,0,0,.24) inset,0 1px 2px rgba(219,39,119,.16);
  --bwt-field-bg:#3a222c;
  --bwt-field-text:#fceef4;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(0,0,0,.32);
  --bwt-hover:rgba(244,114,182,.12);
  --bwt-slider-fill:#f472b6;
  --bwt-slider-track:#2a1820;
  --bwt-bg-scrim:rgba(0,0,0,.34);
}

/* Dark themes — light ROI curve on dark panels */
.bw-theme-carbon,
.bw-theme-midnight,
.bw-theme-plum,
.bw-theme-ember,
.bw-theme-blush{
  --bwt-roi-line:#f0f0ee;
  --bwt-roi-baseline:rgba(255,255,255,.24);
  --bwt-roi-label:rgba(255,255,255,.48);
  --bwt-roi-grad-color:#ffffff;
  --bwt-roi-grad-opacity:.14;
  --bwt-roi-dot-ring:var(--bwt-panel);
}

/* Linen — warm cream, terracotta accent */
.bw-theme-linen{
  --bwt-panel:#fff;
  --bwt-text:#2b2114;
  --bwt-muted:#92836d;
  --bwt-faint:#b6a98f;
  --bwt-surface:#fffdf7;
  --bwt-card-shadow:0 0 0 1px rgba(80,60,30,.08),0 2px 8px rgba(80,60,30,.06);
  --bwt-card-shadow-hover:0 0 0 1px rgba(80,60,30,.12),0 8px 20px rgba(80,60,30,.1);
  --bwt-chip-shadow:0 0 0 1px rgba(80,60,30,.1),0 1px 3px rgba(80,60,30,.05);
  --bwt-ico-bg:#fcf8f2;
  --bwt-bot-bg:#faf6ef;
  --bwt-bot-text:#2b2114;
  --bwt-bot-border:1px solid rgba(157,79,38,.06);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#c06a3e,#9d4f26);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.16);
  --bwt-on-accent-muted:rgba(255,255,255,.65);
  --bwt-accent-shadow:0 1.5px 0 rgba(255,255,255,.3) inset,0 -2.5px 3px rgba(80,30,0,.35) inset,0 1px 3px rgba(157,79,38,.16);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 2px rgba(80,30,0,.3) inset,0 1px 2px rgba(157,79,38,.12);
  --bwt-me-bg:linear-gradient(180deg,#c06a3e,#9d4f26);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 2px rgba(80,30,0,.3) inset,0 1px 2px rgba(157,79,38,.12);
  --bwt-field-bg:#efe8d6;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(80,60,30,.07);
  --bwt-hover:rgba(80,60,30,.07);
  --bwt-slider-fill:#9d4f26;
  --bwt-slider-track:#e6dcc3;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Mist — cool slate blue, calm and corporate */
.bw-theme-mist{
  --bwt-panel:#fff;
  --bwt-text:#1b2330;
  --bwt-muted:#76829a;
  --bwt-faint:#a7b1c4;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(40,60,100,.07),0 2px 8px rgba(40,60,100,.06);
  --bwt-card-shadow-hover:0 0 0 1px rgba(40,60,100,.11),0 8px 22px rgba(40,60,100,.1);
  --bwt-chip-shadow:0 0 0 1px rgba(40,60,100,.09),0 1px 3px rgba(40,60,100,.05);
  --bwt-ico-bg:#f5f9fd;
  --bwt-bot-bg:#f3f8fc;
  --bwt-bot-text:#1b2330;
  --bwt-bot-border:1px solid rgba(43,57,80,.06);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#48586f,#2b3950);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.13);
  --bwt-on-accent-muted:rgba(255,255,255,.6);
  --bwt-accent-shadow:0 1.5px 0 rgba(255,255,255,.22) inset,0 -2.5px 3px rgba(10,20,40,.4) inset,0 1px 3px rgba(43,57,80,.16);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.2) inset,0 -1.5px 2px rgba(10,20,40,.35) inset,0 1px 2px rgba(43,57,80,.12);
  --bwt-me-bg:linear-gradient(180deg,#48586f,#2b3950);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 -1.5px 2px rgba(10,20,40,.35) inset,0 1px 2px rgba(43,57,80,.12);
  --bwt-field-bg:#e8edf5;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(40,60,100,.07);
  --bwt-hover:rgba(40,60,100,.06);
  --bwt-slider-fill:#2b3950;
  --bwt-slider-track:#dde4ee;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Verdant — sage and forest green */
.bw-theme-verdant{
  --bwt-panel:#fff;
  --bwt-text:#18241b;
  --bwt-muted:#74836f;
  --bwt-faint:#a3b09e;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(30,70,40,.07),0 2px 8px rgba(30,70,40,.05);
  --bwt-card-shadow-hover:0 0 0 1px rgba(30,70,40,.12),0 8px 22px rgba(30,70,40,.09);
  --bwt-chip-shadow:0 0 0 1px rgba(30,70,40,.09),0 1px 3px rgba(30,70,40,.05);
  --bwt-ico-bg:#f6faf4;
  --bwt-bot-bg:#f4f9f1;
  --bwt-bot-text:#18241b;
  --bwt-bot-border:1px solid rgba(28,94,56,.06);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#2f8052,#1c5e38);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.15);
  --bwt-on-accent-muted:rgba(255,255,255,.62);
  --bwt-accent-shadow:0 1.5px 0 rgba(255,255,255,.25) inset,0 -2.5px 3px rgba(0,40,15,.4) inset,0 1px 3px rgba(28,94,56,.16);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.22) inset,0 -1.5px 2px rgba(0,40,15,.35) inset,0 1px 2px rgba(28,94,56,.12);
  --bwt-me-bg:linear-gradient(180deg,#2f8052,#1c5e38);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.22) inset,0 -1.5px 2px rgba(0,40,15,.35) inset,0 1px 2px rgba(28,94,56,.12);
  --bwt-field-bg:#e8efe4;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(30,70,40,.06);
  --bwt-hover:rgba(30,70,40,.06);
  --bwt-slider-fill:#1c5e38;
  --bwt-slider-track:#dde7d6;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Ultraviolet — lavender white, vivid violet gradient */
.bw-theme-ultraviolet{
  --bwt-panel:#fff;
  --bwt-text:#1c1430;
  --bwt-muted:#877fa6;
  --bwt-faint:#b3acce;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(109,40,217,.1),0 2px 8px rgba(109,40,217,.06);
  --bwt-card-shadow-hover:0 0 0 1px rgba(109,40,217,.2),0 8px 22px rgba(109,40,217,.12);
  --bwt-chip-shadow:0 0 0 1px rgba(109,40,217,.12),0 1px 3px rgba(109,40,217,.06);
  --bwt-ico-bg:#faf8fe;
  --bwt-bot-bg:#f8f5fe;
  --bwt-bot-text:#1c1430;
  --bwt-bot-border:1px solid rgba(109,40,217,.07);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(135deg,#8b5cf6,#6022d6);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.18);
  --bwt-on-accent-muted:rgba(255,255,255,.68);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -2px 5px rgba(50,10,120,.35) inset,0 1px 3px rgba(109,40,217,.18);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 3px rgba(50,10,120,.3) inset,0 1px 2px rgba(109,40,217,.14);
  --bwt-me-bg:linear-gradient(135deg,#8b5cf6,#6022d6);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 3px rgba(50,10,120,.3) inset,0 1px 2px rgba(109,40,217,.14);
  --bwt-field-bg:#f0eafd;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(109,40,217,.07);
  --bwt-hover:rgba(109,40,217,.07);
  --bwt-slider-fill:#7c3aed;
  --bwt-slider-track:#e6ddfa;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Sunset — warm peach, coral fire gradient */
.bw-theme-sunset{
  --bwt-panel:#fff;
  --bwt-text:#2d1a10;
  --bwt-muted:#a08577;
  --bwt-faint:#c8b1a4;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(200,80,40,.1),0 2px 8px rgba(200,80,40,.06);
  --bwt-card-shadow-hover:0 0 0 1px rgba(200,80,40,.18),0 8px 22px rgba(200,80,40,.12);
  --bwt-chip-shadow:0 0 0 1px rgba(200,80,40,.12),0 1px 3px rgba(200,80,40,.06);
  --bwt-ico-bg:#fef7f2;
  --bwt-bot-bg:#fdf5ef;
  --bwt-bot-text:#2d1a10;
  --bwt-bot-border:1px solid rgba(232,71,46,.07);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(135deg,#ff8a4c,#e8472e);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.2);
  --bwt-on-accent-muted:rgba(255,255,255,.7);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 -2px 5px rgba(140,20,0,.3) inset,0 1px 3px rgba(232,71,46,.18);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.3) inset,0 -1.5px 3px rgba(140,20,0,.28) inset,0 1px 2px rgba(232,71,46,.14);
  --bwt-me-bg:linear-gradient(135deg,#ff8a4c,#e8472e);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 -1.5px 3px rgba(140,20,0,.28) inset,0 1px 2px rgba(232,71,46,.14);
  --bwt-field-bg:#fbeede;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(200,80,40,.07);
  --bwt-hover:rgba(200,80,40,.07);
  --bwt-slider-fill:#e8472e;
  --bwt-slider-track:#f6e2d2;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* Ocean — airy blue, deep sea gradient */
.bw-theme-ocean{
  --bwt-panel:#fff;
  --bwt-text:#0e2330;
  --bwt-muted:#6d8694;
  --bwt-faint:#9fb3bf;
  --bwt-surface:#fff;
  --bwt-card-shadow:0 0 0 1px rgba(6,113,168,.1),0 2px 8px rgba(6,113,168,.06);
  --bwt-card-shadow-hover:0 0 0 1px rgba(6,113,168,.18),0 8px 22px rgba(6,113,168,.12);
  --bwt-chip-shadow:0 0 0 1px rgba(6,113,168,.12),0 1px 3px rgba(6,113,168,.06);
  --bwt-ico-bg:#f4fafd;
  --bwt-bot-bg:#f2f9fd;
  --bwt-bot-text:#0e2330;
  --bwt-bot-border:1px solid rgba(6,113,168,.07);
  --bwt-bot-shadow:none;
  --bwt-accent:linear-gradient(180deg,#15a7e0,#0671a8);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.18);
  --bwt-on-accent-muted:rgba(255,255,255,.68);
  --bwt-accent-shadow:0 1px 0 rgba(255,255,255,.32) inset,0 -2px 5px rgba(0,50,80,.35) inset,0 1px 3px rgba(6,113,168,.18);
  --bwt-accent-shadow-sm:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 3px rgba(0,50,80,.3) inset,0 1px 2px rgba(6,113,168,.14);
  --bwt-me-bg:linear-gradient(180deg,#15a7e0,#0671a8);
  --bwt-me-text:#fff;
  --bwt-me-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 -1.5px 3px rgba(0,50,80,.3) inset,0 1px 2px rgba(6,113,168,.14);
  --bwt-field-bg:#e4eff6;
  --bwt-field-shadow:inset 0 1.5px 2px rgba(6,113,168,.07);
  --bwt-hover:rgba(6,113,168,.07);
  --bwt-slider-fill:#0671a8;
  --bwt-slider-track:#d9e8f1;
  --bwt-bg-scrim:rgba(255,255,255,.38);
}

/* ══════════════════ Widget Brift landing (hors thèmes — style Atelier d’origine) ══════════════════ */
.bw-root.bw-brift-lp{
  --bwt-panel:#fff;
  --bwt-text:#18170f;
  --bwt-muted:#86868b;
  --bwt-faint:#aeaeb2;
  --bwt-surface:#fff;
  --bwt-inset-white-bg:#fff;
  --bwt-inset-white-border:1px solid rgba(0,0,0,.04);
  --bwt-inset-white-shadow:inset 0 2px 0 rgba(255,255,255,.95),inset 0 -2px 0 rgba(0,0,0,.07),inset 2px 0 0 rgba(255,255,255,.55),inset -2px 0 0 rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.03);
  --bwt-card-shadow:var(--bwt-inset-white-shadow);
  --bwt-card-shadow-hover:inset 0 2.5px 0 rgba(255,255,255,.96),inset 0 -2.5px 0 rgba(0,0,0,.08),inset 2px 0 0 rgba(255,255,255,.58),inset -2px 0 0 rgba(0,0,0,.05),0 2px 5px rgba(0,0,0,.05);
  --bwt-chip-shadow:var(--bwt-inset-white-shadow);
  --bwt-ico-bg:transparent;
  --bwt-bot-bg:var(--bwt-inset-white-bg);
  --bwt-bot-text:var(--bwt-text);
  --bwt-bot-border:var(--bwt-inset-white-border);
  --bwt-bot-shadow:var(--bwt-inset-white-shadow);
  --bwt-accent:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-accent-text:#fff;
  --bwt-accent-soft:rgba(255,255,255,.12);
  --bwt-on-accent-muted:rgba(255,255,255,.55);
  --bwt-accent-shadow:inset 0 1.5px 0 rgba(255,255,255,.36),inset 0 -2px 0 rgba(0,0,0,.46),0 2px 5px rgba(0,0,0,.09),0 1px 2px rgba(0,0,0,.06);
  --bwt-accent-shadow-sm:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1.5px 0 rgba(0,0,0,.4),0 1px 3px rgba(0,0,0,.08);
  --bwt-accent-shadow-hover:inset 0 1.5px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.48),0 3px 8px rgba(0,0,0,.11),0 1px 3px rgba(0,0,0,.07);
  --bwt-me-bg:linear-gradient(180deg,#2c2c2c,#0a0a0a);
  --bwt-me-text:#fff;
  --bwt-me-shadow:var(--bwt-accent-shadow-sm);
  --bwt-field-bg:#fff;
  --bwt-field-shadow:0 0 0 1px rgba(0,0,0,.06);
  --bwt-hover:rgba(0,0,0,.04);
  --bwt-slider-fill:#0a0a0a;
  --bwt-slider-track:#ebebea;
  --bwt-bg-scrim:rgba(255,255,255,.42);
}
.bw-root.bw-brift-lp .bw-card[data-bw-go="chat"]:hover,
.bw-root.bw-brift-lp .bw-card--static:hover{box-shadow:var(--bwt-card-shadow-hover);filter:none}
.bw-root.bw-brift-lp .bw-home .bw-card-ico{
  background:transparent;
  background-image:linear-gradient(142deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,.16) 100%);
  backdrop-filter:blur(10px) saturate(1.4);
  -webkit-backdrop-filter:blur(10px) saturate(1.4);
  border:1px solid rgba(0,0,0,.085);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(0,0,0,.04),
    0 2px 6px rgba(0,0,0,.05);
}
.bw-root.bw-brift-lp .bw-home .bw-card--dark .bw-card-ico{
  background:transparent;
  background-image:linear-gradient(142deg,rgba(255,255,255,.3) 0%,rgba(255,255,255,.02) 46%,rgba(255,255,255,.12) 100%);
  border:1px solid rgba(255,255,255,.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(0,0,0,.16),
    0 1px 3px rgba(0,0,0,.1);
  color:var(--bwt-accent-text);
}
.bw-root.bw-brift-lp .bw-msg--me .bw-bubble{box-shadow:var(--bwt-me-shadow)}
.bw-root.bw-brift-lp .bw-roi-chip:not(.is-on){
  background:var(--bwt-inset-white-bg);border:var(--bwt-inset-white-border);
  box-shadow:var(--bwt-inset-white-shadow);color:var(--bwt-text);
}
.bw-root.bw-brift-lp .bw-roi-chip.is-on{
  background:var(--bwt-accent);color:var(--bwt-accent-text);border:0;
  box-shadow:var(--bwt-accent-shadow-sm);
}
.bw-root.bw-brift-lp .bw-card--dark:hover,
.bw-root.bw-brift-lp .bw-roi-go:hover,
.bw-root.bw-brift-lp .bw-send:hover,
.bw-root.bw-brift-lp .bw-tab.is-active,
.bw-root.bw-brift-lp .bw-ctacard a:hover,
.bw-root.bw-brift-lp .bw-roi-cta a:hover{box-shadow:var(--bwt-accent-shadow-hover)}

/* /app agent preview — scoped embed (no viewport-fixed launcher layout) */
.brift-agent-v2-preview-mount .bw-root,
.brift-agent-v2-preview-stash .bw-root,
#brift-agent-v2-preview-mount .bw-root{
  position:relative!important;
  inset:auto!important;
  bottom:auto!important;
  right:auto!important;
  z-index:auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
}
.brift-agent-v2-preview-mount .bw-panel-wrap,
.brift-agent-v2-preview-stash .bw-panel-wrap,
#brift-agent-v2-preview-mount .bw-panel-wrap{
  position:relative!important;
  inset:auto!important;
  bottom:auto!important;
  right:auto!important;
  left:auto!important;
  top:auto!important;
  z-index:auto!important;
  width:100%!important;
  max-width:386px!important;
  margin:0 auto!important;
}
.brift-agent-v2-preview-stash .bw-root.bw-embed,
.brift-agent-v2-preview-stash .bw-root.bw-embed.bw-preview{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  visibility:hidden!important;
}
