
:root{
  --ease:cubic-bezier(.32,.72,0,1); --ease-out:cubic-bezier(.22,1,.36,1); --dur:.34s;
  --r-ctrl:10px; --radius:14px; --r-pill:99px;
  --brand:#0C55F4; --brand-d:#0942c4; --brand-soft:#EAF0FE;
  --bg:#FFFFFF; --rail:#FBFAF8; --rail-2:#F4F2EE;
  --ink:#23211C; --soft:#6B6760; --faint:#9A958B;
  --line:#ECE9E2; --line-2:#E0DCD3;
  --ok:#16A36B; --okbg:#E5F5EE; --warn:#C98309; --warnbg:#FBF1DD;
  --red:#D9453B; --redbg:#FBE9E7; --violet:#7A5BE0; --violetbg:#EFEAFB;
  --r-sm:9px;
  --shadow:0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05);
  --shadow-lg:0 8px 30px rgba(35,33,28,.12);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:"Plus Jakarta Sans",sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#dcd8cf;border-radius:var(--r-ctrl);border:3px solid transparent;background-clip:content-box}

.app{display:grid;grid-template-columns:248px 1fr;height:100vh;overflow:hidden;transition:grid-template-columns .28s cubic-bezier(.4,0,.2,1)}

/* ============ SIDEBAR ============ */
.rail{background:var(--rail);border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.site-switch{padding:13px 12px;border-bottom:1px solid var(--line);position:relative}
.ss-btn{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;padding:6px;border-radius:var(--r-ctrl);transition:.14s}
.agent-pick{display:flex;align-items:center;gap:10px;width:100%;background:var(--rail-2);border:1px solid var(--line);padding:5px 8px 5px 5px;border-radius:var(--r-ctrl);transition:.14s;margin-top:8px;cursor:pointer}
.agent-pick:hover{background:#fff;border-color:var(--line-2)}
.ap-av{width:30px;height:30px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--rail)}
.ap-av svg,.ap-av img{width:100%;height:100%;display:block;object-fit:cover}
.ap-meta{text-align:left;flex:1;min-width:0}
.ap-meta b{display:block;font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-meta span{font-size:10px;color:var(--faint);text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.agent-pick .chev{color:var(--faint);font-size:11px}
.app.mini .agent-pick{margin-top:8px;padding:5px;justify-content:center}
.app.mini .ap-meta,.app.mini .agent-pick .chev{display:none}
.ss-btn:hover{background:var(--rail-2)}
.ss-logo{width:30px;height:30px;border-radius:var(--r-ctrl);background:linear-gradient(140deg,var(--brand),#4a82ff);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;flex-shrink:0;overflow:hidden}
.ss-logo svg{width:100%;height:100%}
.ss-meta{text-align:left;flex:1;min-width:0}
.ss-meta b{display:block;font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-meta span{font-size:11px;color:var(--faint)}
.ss-btn .chev{color:var(--faint);font-size:11px}

.nav{flex:1;overflow-y:auto;padding:10px 10px 20px;scrollbar-width:none;-ms-overflow-style:none}
.nav::-webkit-scrollbar{width:0;height:0;display:none}
.nav .grp{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);height:34px;display:flex;align-items:flex-end;padding:0 10px 6px;box-sizing:border-box}
.nav a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-ctrl);color:var(--soft);font-weight:600;font-size:13.5px;transition:.13s;position:relative}
.nav a svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;flex-shrink:0}
.nav a:hover{background:var(--rail-2);color:var(--ink)}
.nav a.on{background:#fff;color:var(--brand);box-shadow:var(--shadow);font-weight:700}
.nav a.on svg{stroke:var(--brand)}
.nav a .badge{margin-left:auto;background:var(--brand);color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:var(--r-pill)}
.nav a .dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:var(--ok)}

.railfoot{padding:12px;border-top:1px solid var(--line)}
.planmini{display:none;width:42px;height:42px;border-radius:var(--radius);background:var(--brand-soft);color:var(--brand);place-items:center;cursor:pointer}
.planmini svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.planmini:hover{background:var(--brand);color:#fff}
.app.role-client .owner-only{display:none!important}
.rolechip{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--brand);background:var(--brand-soft);padding:3px 8px;border-radius:var(--r-pill);margin-bottom:8px}
.rolechip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.app.mini .rolechip{display:none}
.plan{background:#fff;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:12px;box-shadow:var(--shadow)}
.plan .pt{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}
.plan .pt b{font-size:13px}
.plan .pt .tag{font-size:10px;font-weight:800;color:var(--brand);background:var(--brand-soft);padding:2px 7px;border-radius:var(--r-ctrl)}
.meter{height:6px;border-radius:var(--r-pill);background:var(--rail-2);overflow:hidden;margin-bottom:5px}
.meter i{display:block;height:100%;border-radius:var(--r-pill);background:linear-gradient(90deg,var(--brand),#5b8bff)}
.plan small{font-size:11px;color:var(--faint)}
.plan .up{display:block;text-align:center;margin-top:10px;background:var(--ink);color:#fff;font-weight:700;font-size:12.5px;padding:8px;border-radius:var(--r-ctrl);transition:.15s}
.plan .up:hover{background:#000}

/* ============ MAIN ============ */
.main{display:flex;flex-direction:column;overflow:hidden}
.topbar{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 22px;flex-shrink:0;background:rgba(255,255,255,.85);backdrop-filter:blur(8px)}
.crumb{font-size:13px;color:var(--faint);font-weight:600}
.crumb b{color:var(--ink)}
.search{margin-left:8px;flex:1;max-width:360px;position:relative}
.search input{width:100%;border:1px solid var(--line);background:var(--rail);border-radius:var(--r-ctrl);padding:8px 12px 8px 34px;font-family:inherit;font-size:13px;outline:none;transition:.14s}
.search input:focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 3px var(--brand-soft)}
.search svg{position:absolute;left:11px;top:9px;width:16px;height:16px;stroke:var(--faint);fill:none;stroke-width:2}
.tbtns{margin-left:auto;display:flex;align-items:center;gap:8px}
.iconbtn{width:36px;height:36px;border-radius:var(--r-ctrl);border:1px solid var(--line);background:#fff;display:grid;place-items:center;transition:.14s;position:relative}
.iconbtn:hover{background:var(--rail);border-color:var(--line-2)}
.iconbtn svg{width:17px;height:17px;stroke:var(--soft);fill:none;stroke-width:1.9}
.iconbtn .n{position:absolute;top:-4px;right:-4px;background:var(--red);color:#fff;font-size:9px;font-weight:700;min-width:15px;height:15px;border-radius:var(--r-ctrl);display:grid;place-items:center;padding:0 3px}
.me{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:var(--r-ctrl);border:1px solid var(--line);background:#fff}
.me .av{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#7A5BE0,#c0a8ff);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.me b{font-size:12.5px}

.view{flex:1;overflow-y:auto;padding:20px 30px 56px}
.view:has(.wfeditor){overflow:hidden}
.view-inner{max-width:100%;margin:0}
/* collapsible sidebar — smooth, icons stay put */
.nav a span,.ss-meta,.ss-btn .chev{transition:opacity .15s ease,max-width .24s ease;white-space:nowrap;overflow:hidden}
.nav .grp{transition:opacity .15s ease,height .2s ease,padding .2s ease}
.app.mini{grid-template-columns:76px 1fr}
.app.mini .nav a span,.app.mini .ss-meta,.app.mini .ss-btn .chev{opacity:0;max-width:0;margin:0;pointer-events:none}
.app.mini .nav a .badge{display:none}
.app.mini .site-switch{padding:12px 0}
.app.mini .ss-btn{width:42px;min-width:42px;padding:0;justify-content:center;margin:0 auto}
.app.mini .ss-logo{margin:0 auto}
.app.mini .agent-pick{width:42px;min-width:42px;margin:10px auto 0;padding:4px;justify-content:center}
.app.mini .nav{padding:10px 0 20px;display:flex;flex-direction:column;align-items:center}
.app.mini .nav a{width:42px;min-width:42px;height:42px;padding:0;justify-content:center;align-items:center;gap:0;margin:0 auto 6px}
.app.mini .nav a svg{width:18px;height:18px;flex:none;margin:0}
.app.mini .nav .grp{width:100%;min-height:22px;height:22px;font-size:0;padding:0;margin:6px 0 2px;align-items:center;justify-content:center}
.app.mini .nav .grp::after{content:"";width:18px;height:1px;background:var(--line)}
.app.mini .nav .grp:first-child::after{display:none}
.app.mini .railfoot{opacity:1;pointer-events:auto;padding:10px 0 12px;display:flex;justify-content:center}
.app.mini .plan{display:none}
.app.mini .planmini{display:grid;margin:0 auto}
.collapse{width:34px;height:34px;border-radius:var(--r-ctrl);border:0;background:transparent;display:grid;place-items:center;transition:.14s;flex-shrink:0}
.collapse:hover{background:var(--rail)}
.collapse svg{width:19px;height:19px;stroke:var(--soft);fill:none;stroke-width:2}
.ph1{font-size:20px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.psub{color:var(--soft);margin-top:1px;font-size:12.5px}
.phead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:700;font-size:13px;padding:9px 15px;border-radius:var(--r-ctrl);transition:.14s}
.btn.sm{padding:6px 11px;font-size:12px;min-height:32px}
.tabbar.compact{padding:3px;background:var(--rail-2);border-radius:var(--r-ctrl);min-height:32px;align-items:center}
.tabbar.compact button{padding:5px 12px;font-size:12.5px;border-radius:var(--r-ctrl);border-bottom:0}
.tabbar.compact button.on{background:#fff;color:var(--brand);box-shadow:var(--shadow)}
.btn:hover{background:var(--rail);border-color:var(--line-2)}
.btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.btn.pri{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 3px 12px rgba(12,85,244,.28)}
.btn.pri:hover{background:var(--brand-d)}
.btn.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.btn.dark:hover{background:#000}
.btn.sm{padding:6px 11px;font-size:12px}
.btn.danger{color:var(--red);border-color:#f0cfcb}
.btn.danger:hover{background:var(--redbg)}

/* cards & grid */
.cards{display:grid;gap:14px}
.g4{grid-template-columns:repeat(4,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.g2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.kpi .lab{font-size:12.5px;color:var(--soft);font-weight:600;display:flex;align-items:center;gap:7px}
.kpi .lab .ci{width:26px;height:26px;border-radius:var(--r-ctrl);display:grid;place-items:center}
.kpi .ci svg{width:14px;height:14px;stroke-width:2;fill:none}
.kpi .val{font-size:28px;font-weight:800;letter-spacing:-.02em;margin-top:10px}
.kpi .delta{font-size:12px;font-weight:700;margin-top:3px}
.up-{color:var(--ok)}.down-{color:var(--red)}

.sect-h{display:flex;align-items:center;justify-content:space-between;margin:26px 0 13px}
.sect-h h3{font-size:15px;font-weight:800}
.sect-h a{font-size:12.5px;color:var(--brand);font-weight:700}

/* table */
.tbl{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.tbl th{text-align:left;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--faint);font-weight:700;padding:11px 14px;border-bottom:1px solid var(--line);background:var(--rail)}
.tbl td{padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl tr:hover td{background:#fcfbf9}
.tbl .nm{font-weight:700;display:flex;align-items:center;gap:9px}
.tbl .av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0}

.pill{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:var(--r-pill)}
.pill .pd{width:6px;height:6px;border-radius:50%}
.p-ok{background:var(--okbg);color:var(--ok)}.p-warn{background:var(--warnbg);color:var(--warn)}
.p-red{background:var(--redbg);color:var(--red)}.p-info{background:var(--brand-soft);color:var(--brand)}
.p-v{background:var(--violetbg);color:var(--violet)}.p-gray{background:var(--rail-2);color:var(--soft)}

/* tabs */
.tabbar{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow-x:auto}
.tabbar button{border:0;background:transparent;color:var(--soft);font-weight:700;font-size:13.5px;padding:11px 14px;border-bottom:2px solid transparent;white-space:nowrap;transition:.13s}
.tabbar button:hover{color:var(--ink)}
.tabbar button.on{color:var(--brand);border-color:var(--brand)}

/* form */
.field{margin-bottom:18px}
.field label{display:block;font-size:12.5px;font-weight:700;margin-bottom:6px}
.field .hint{font-size:11.5px;color:var(--faint);margin-top:5px;font-weight:500}
.inp,select.inp,textarea.inp{width:100%;border:1px solid var(--line-2);border-radius:var(--r-ctrl);padding:9px 12px;font-family:inherit;font-size:13.5px;outline:none;transition:.14s;background:#fff;color:var(--ink)}
.inp:focus,textarea.inp:focus,select.inp:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
textarea.inp{resize:vertical;min-height:90px;line-height:1.55}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}

/* toggle */
.toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid var(--line);border-radius:var(--r-ctrl);background:#fff;margin-bottom:10px}
.toggle .tt b{font-size:13.5px;font-weight:700;display:block}
.toggle .tt span{font-size:12px;color:var(--faint)}
.sw{width:40px;height:23px;border-radius:var(--r-pill);background:#d8d3ca;position:relative;flex-shrink:0;transition:.18s;border:0}
.sw::after{content:"";position:absolute;top:2px;left:2px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.18s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.sw.on{background:var(--brand)}.sw.on::after{left:19px}

/* range */
.range{display:flex;align-items:center;gap:12px}
.range input[type=range]{flex:1}
.range b{font-family:"JetBrains Mono",monospace;font-size:12px;min-width:34px;text-align:right}

/* swatches */
.swatches{display:flex;gap:8px;flex-wrap:wrap}
.swatch{width:30px;height:30px;border-radius:var(--r-ctrl);cursor:pointer;border:2px solid transparent;transition:.12s}
.swatch.on{border-color:var(--ink);transform:scale(1.08)}

/* chat preview */
.preview{position:sticky;top:0}
.phone{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);max-width:340px}
.cw-head{padding:14px 16px;color:#fff;display:flex;align-items:center;gap:11px}
.cw-head .ca{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.25);display:grid;place-items:center;font-weight:800}
.cw-head b{font-size:14px;display:block}.cw-head span{font-size:11px;opacity:.9}
.cw-body{padding:16px;background:#FAFAF8;height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
.msg{max-width:80%;padding:9px 13px;border-radius:var(--radius);font-size:13px;line-height:1.45}
.msg.bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}
.msg.user{align-self:flex-end;color:#fff;border-bottom-right-radius:4px}
.cw-input{padding:11px 14px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:center}
.cw-input .f{flex:1;background:var(--rail);border-radius:var(--r-pill);padding:9px 14px;color:var(--faint);font-size:12.5px}
.cw-input .s{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;flex-shrink:0}
.cw-input .s svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2}

/* conversation split */
.split{display:grid;grid-template-columns:300px 1fr;gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;height:calc(100vh - 184px);min-height:460px}
.clist{border-right:1px solid var(--line);overflow-y:auto}
.citem{padding:13px 15px;border-bottom:1px solid var(--line);cursor:pointer;transition:.12s}
.citem:hover{background:var(--rail)}
.citem.on{background:var(--brand-soft)}
.citem .r1{display:flex;align-items:center;gap:8px;margin-bottom:3px}
.citem .r1 b{font-size:13px;font-weight:700;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.citem .r1 time{font-size:10.5px;color:var(--faint)}
.citem p{font-size:12px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cdetail{display:flex;flex-direction:column;overflow:hidden}
.cd-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}
.cd-body{flex:1;overflow-y:auto;padding:18px;background:#FAFAF8;display:flex;flex-direction:column;gap:11px}
.cd-foot{padding:13px 16px;border-top:1px solid var(--line);display:flex;gap:9px}

/* calendar */
.cal{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.cal-grid .dh{padding:9px;text-align:center;font-size:11px;font-weight:700;color:var(--faint);text-transform:uppercase;border-bottom:1px solid var(--line);background:var(--rail)}
.cal-grid .cell{min-height:92px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px}
.cal-grid .cell .dn{font-size:12px;font-weight:700;color:var(--soft)}
.cal-grid .cell.out .dn{color:var(--faint);opacity:.5}
.ev{font-size:10.5px;font-weight:700;padding:2px 6px;border-radius:var(--r-ctrl);margin-top:4px;background:var(--brand-soft);color:var(--brand);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev.v{background:var(--violetbg);color:var(--violet)}.ev.g{background:var(--okbg);color:var(--ok)}

/* availability grid */
.avail{display:grid;grid-template-columns:90px 1fr;gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.avail .day{padding:13px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-weight:700;font-size:13px;display:flex;align-items:center}
.avail .slots{padding:11px 14px;border-bottom:1px solid var(--line);display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.slot{font-size:11.5px;font-weight:700;padding:5px 10px;border-radius:var(--r-ctrl);background:var(--brand-soft);color:var(--brand)}

/* empty/info */
.empty{text-align:center;padding:46px 20px;color:var(--faint)}
.empty .ei{width:50px;height:50px;border-radius:var(--radius);background:var(--rail-2);display:grid;place-items:center;margin:0 auto 14px}
.empty .ei svg{width:24px;height:24px;stroke:var(--faint);fill:none;stroke-width:1.8}
.empty b{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}

.banner{display:flex;gap:12px;align-items:center;background:var(--brand-soft);border:1px solid #cfe0ff;border-radius:var(--r-ctrl);padding:13px 16px;margin-bottom:20px}
.banner svg{width:19px;height:19px;stroke:var(--brand);fill:none;stroke-width:2;flex-shrink:0}
.banner b{color:var(--brand-d)}.banner span{font-size:13px;color:#2a4a8a}

/* plan cards */
.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.pcard{border:1.5px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff;position:relative;transition:.16s}
.pcard.cur{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.pcard .pn{font-weight:800;font-size:15px}
.pcard .pp{font-size:30px;font-weight:800;letter-spacing:-.02em;margin:8px 0 2px}
.pcard .pp small{font-size:13px;color:var(--faint);font-weight:600}
.pcard ul{list-style:none;margin:14px 0 18px;display:flex;flex-direction:column;gap:8px}
.pcard li{font-size:12.5px;color:var(--soft);display:flex;gap:8px}
.pcard li svg{width:15px;height:15px;stroke:var(--ok);fill:none;stroke-width:2.4;flex-shrink:0;margin-top:1px}
.pcard .cbadge{position:absolute;top:-10px;right:16px;background:var(--brand);color:#fff;font-size:10px;font-weight:800;padding:3px 9px;border-radius:var(--r-pill)}

/* modal */
.scrim{position:fixed;inset:0;background:rgba(35,33,28,.4);backdrop-filter:blur(3px);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .24s var(--ease)}
.scrim.on{opacity:1;pointer-events:auto}
.modal{background:#fff;border-radius:var(--radius);width:480px;max-width:100%;box-shadow:var(--shadow-lg);max-height:90vh;overflow:hidden;display:flex;flex-direction:column;opacity:0;transform:translateY(14px) scale(.97);transition:transform .3s var(--ease),opacity .22s ease}
.scrim.on .modal{opacity:1;transform:none}
.modal .mh{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center}
.modal .mh b{font-size:16px;font-weight:800}
.modal .mh .x{margin-left:auto;cursor:pointer;color:var(--faint);font-size:22px;width:30px;height:30px;display:grid;place-items:center;border-radius:var(--r-ctrl)}
.modal .mh .x:hover{background:var(--rail)}
.modal .mb{padding:22px;overflow-y:auto}
.modal .mf{padding:15px 22px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end}

/* side panel (slide-over right) */
.panel{position:fixed;top:0;right:0;bottom:0;width:440px;max-width:94vw;background:#fff;border-left:1px solid var(--line);z-index:160;transform:translateX(103%);transition:transform var(--dur) var(--ease);display:flex;flex-direction:column;box-shadow:-22px 0 60px rgba(35,33,28,.16)}
.panel.on{transform:none}
.panel .ph{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}
.panel .ph .x{margin-left:auto;cursor:pointer;color:var(--faint);font-size:22px;width:30px;height:30px;display:grid;place-items:center;border-radius:var(--r-ctrl)}
.panel .ph .x:hover{background:var(--rail)}
.panel .pbody{flex:1;overflow-y:auto;padding:20px 22px}
.panel .pfoot{padding:13px 22px;border-top:1px solid var(--line);display:flex;gap:9px;flex-wrap:wrap}
.pscrim{position:fixed;inset:0;background:rgba(35,33,28,.25);z-index:155;opacity:0;pointer-events:none;transition:opacity .24s var(--ease)}
.pscrim.on{opacity:1;pointer-events:auto}
.sec-t{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:700;margin:20px 0 9px}
.sec-t:first-child{margin-top:0}
.kvr{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.kvr:last-child{border-bottom:0}.kvr span{color:var(--soft)}.kvr b{text-align:right}
/* timeline */
.tl{position:relative;padding-left:22px}
.tl::before{content:"";position:absolute;left:6px;top:4px;bottom:4px;width:2px;background:var(--line)}
.tli{position:relative;padding:0 0 16px}
.tli::before{content:"";position:absolute;left:-19px;top:3px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid var(--brand)}
.tli.pg::before{border-color:var(--violet)}.tli.bot::before{border-color:var(--ok)}
.tli b{font-size:12.5px;display:block}.tli p{font-size:12.5px;color:var(--soft)}.tli time{font-size:10.5px;color:var(--faint);font-family:"JetBrains Mono",monospace}
.score-ring{display:flex;align-items:center;gap:14px}
.score-ring .rg{position:relative;width:64px;height:64px;flex-shrink:0}
.score-ring .rg b{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:800}
.chips{display:flex;flex-wrap:wrap;gap:6px}
/* conversation 3-pane */
.split.info3{grid-template-columns:280px minmax(0,1fr) var(--iw,316px);transition:grid-template-columns .34s var(--ease)}
.split.info3.noinfo{grid-template-columns:280px minmax(0,1fr) 0}
.split.info3.noinfo .cinfo{opacity:0;border-left:0}
.cinfo{border-left:1px solid var(--line);overflow-y:auto;overflow-x:hidden;background:#fff;position:relative;transition:opacity .2s var(--ease)}
.cinfo .grip{position:absolute;left:-3px;top:0;bottom:0;width:7px;cursor:col-resize;z-index:5}
.cinfo .grip:hover{background:linear-gradient(90deg,transparent,var(--brand-soft))}
.ci-ctrl{display:flex;align-items:center;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:4}
.ci-ctrl .ttl{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-right:auto;padding-left:6px}
.ci-ctrl .ib{width:28px;height:28px;border-radius:var(--r-ctrl);display:grid;place-items:center;cursor:pointer;color:var(--soft)}
.ci-ctrl .ib:hover{background:var(--rail);color:var(--ink)}
.ci-ctrl .ib svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.cinfo .cih{padding:18px;border-bottom:1px solid var(--line);text-align:center}
.cinfo .cih .big{display:flex;margin:0 auto 12px}
.cinfo .cibody{padding:16px 18px}
.convtop{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.convtop .cfilt{flex:1;min-width:0;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
.convtop .cfilt>*{flex-shrink:0}
.convtop .cact{flex-shrink:0}
.cdback{display:none!important}
.infopill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--soft);cursor:pointer;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:7px 11px;background:#fff}
.infopill:hover{background:var(--rail)}
.infopill svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
/* ============ RESPONSIVE ============ */
/* drawer sidebar base */
.navscrim{position:fixed;inset:0;background:rgba(35,33,28,.35);z-index:115;opacity:0;pointer-events:none;transition:.25s}

/* large desktop tweaks */
@media(max-width:1240px){.g4{grid-template-columns:repeat(2,1fr)}}

/* tablet: hide conversation info pane, denser */
@media(max-width:1100px){
  .split.info3{grid-template-columns:280px minmax(0,1fr)}
  .split.info3 .cinfo{display:none}
  .plans{grid-template-columns:repeat(2,1fr)}
}

/* small tablet / large phone: sidebar becomes a drawer */
@media(max-width:900px){
  .app,.app.mini{grid-template-columns:1fr;transition:none}
  .rail{position:fixed;left:0;top:0;bottom:0;width:268px;z-index:120;transform:translateX(-100%);transition:transform .28s cubic-bezier(.3,.8,.3,1);box-shadow:8px 0 40px rgba(35,33,28,.18)}
  .app.navopen .rail{transform:none}
  .app.navopen .navscrim{opacity:1;pointer-events:auto}
  /* always show full labels inside the drawer */
  /* inside the mobile drawer, ignore desktop-collapse styling */
  .app.mini .nav a span,.app.mini .ss-meta,.app.mini .ss-btn .chev,.app.mini .nav a .badge{opacity:1;max-width:none;margin:revert;pointer-events:auto}
  .app.mini .nav a .badge{display:inline-block}
  .app.mini .nav a{justify-content:flex-start;padding:8px 10px}
  .app.mini .nav .grp{opacity:1;font-size:10.5px;line-height:normal;height:34px;align-items:flex-end;padding:0 10px 6px}
  .app.mini .nav .grp::after{display:none}
  .app.mini .railfoot{display:block;padding:12px}
  .app.mini .plan{display:block}.app.mini .planmini{display:none}
  .view{padding:16px 18px 48px}
  .g3,.g4{grid-template-columns:repeat(2,1fr)}
  .tabbar{gap:0}
}

/* phone */
@media(max-width:640px){
  .topbar{padding:0 14px;gap:10px}
  .search{display:none}
  .me b{display:none}
  .g2,.g3,.g4,.row2,.plans{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr!important}
  .phead{gap:10px}
  .phead .flex{flex-wrap:wrap}
  /* tables scroll horizontally */
  .tbl{display:block;overflow-x:auto;white-space:nowrap}
  /* side panel & modal full width */
  .panel{width:100%;max-width:100%}
  .modal{width:100%}
  .psub{display:none}
  .view{padding:12px 12px 40px}
  .phead{margin-bottom:10px}
  .convtop{flex-direction:column;align-items:stretch;gap:8px}
  .convtop .cact{overflow-x:auto}
  .convtop .cact>*{flex-shrink:0}
  /* filter bars scroll horizontally instead of wrapping */
  .view .flex.wrap{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .view .flex.wrap>*{flex-shrink:0}
  /* compact chat header — single line on mobile */
  .cd-head{padding:9px 10px;gap:8px}
  .cd-head>.grow b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
  .cd-head .flex.gap6{gap:3px;flex-shrink:0}
  .cd-head .btn.sm{padding:5px 8px;font-size:11px}
  .cd-body{padding:12px}
  .cd-foot{padding:9px 10px;gap:6px}
  .cd-foot .btn{padding:8px 12px}
  .msg{max-width:88%}
  /* in-chat secondary action toolbar hidden on mobile (kept on desktop) */
  .cdetail .flex.wrap{display:none}
  /* conversations: single column, list↔detail */
  .view.noscroll{overflow:auto;display:block;height:auto}
  .view.noscroll>.view-inner{display:block}
  .split,.split.info3{display:block;height:auto!important;border:0}
  .split .clist{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px}
  .split .cdetail{display:none;border:1px solid var(--line);border-radius:var(--radius)}
  .split.detail .clist{display:none}
  .split.detail .cdetail{display:flex;height:calc(100vh - 92px);padding-top:0}
  .split.detail .cd-body{display:flex;flex-direction:column;justify-content:flex-end;min-height:0;flex:1}
  .split .cinfo{display:none!important}
  /* when a conversation is open, hide the filter/action row for full-screen chat */
  .view-inner:has(.split.detail)>.convtop{display:none}
  .view-inner:has(.split.detail)>.phead{display:none}
  /* back button lives inside the chat header on mobile */
  .cdback{display:inline-flex!important;padding:6px 9px}
  .mobbackfab{display:none!important}
  /* workflow editor stacks */
  .wfeditor{height:auto}
  .wfmain{flex-direction:column}
  .wfpal{width:auto;display:flex;gap:6px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:10px}
  .wfpal .pg{display:none}
  .palchip{margin-bottom:0;white-space:nowrap}
  .wfcanvas2{min-height:58vh}
  .wfcfg{width:auto;border-left:0;border-top:1px solid var(--line)}
  /* widget editor preview below */
  .preview{position:static}
}
.mobback,.mobbackfab{display:none}
/* dropdown popovers */
.pop{position:fixed;z-index:200;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);min-width:248px;max-width:330px;opacity:0;transform:translateY(-8px) scale(.97);transform-origin:top right;pointer-events:none;transition:opacity .18s var(--ease-out),transform .2s var(--ease-out);overflow:hidden}
.pop.on{opacity:1;transform:none;pointer-events:auto}
.pop .ph{padding:12px 15px;border-bottom:1px solid var(--line);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.pop .ph .lnk{font-size:11.5px;font-weight:600;color:var(--brand);cursor:pointer}
.pop .it{display:flex;gap:11px;align-items:center;padding:10px 15px;cursor:pointer;font-size:13px;color:var(--ink)}
.pop .it:hover{background:var(--rail)}
.pop .it svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;color:var(--soft);flex-shrink:0}
.pop .it.danger{color:var(--red)}.pop .it.danger svg{color:var(--red)}
.pop .empty2{padding:30px 16px;text-align:center;color:var(--faint);font-size:13px}
.pop .empty2 .ico{font-size:26px;display:block;margin-bottom:6px;opacity:.5}
.pop .sep{height:1px;background:var(--line);margin:5px 0}
.pop .nbody{max-height:340px;overflow-y:auto}
.popscrim{position:fixed;inset:0;z-index:199;display:none}
/* toast */
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(18px);background:var(--ink);color:#fff;padding:12px 20px;border-radius:var(--r-ctrl);font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:10px;z-index:2147483647;opacity:0;pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease);box-shadow:var(--shadow-lg)}
.toast.on{opacity:1;transform:translateX(-50%)}
.toast .ti{width:20px;height:20px;border-radius:var(--r-ctrl);background:var(--ok);display:grid;place-items:center}
.toast .ti svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:3}

/* workflow builder */
.wfcanvas{background:linear-gradient(var(--rail) 1px,transparent 1px),linear-gradient(90deg,var(--rail) 1px,transparent 1px);background-size:22px 22px;border:1px solid var(--line);border-radius:var(--radius);padding:30px 20px;display:flex;flex-direction:column;align-items:center}
.wfnode{width:340px;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:.14s}
.wfnode:hover{box-shadow:var(--shadow-lg);border-color:var(--line-2)}
.wfnode .wh{display:flex;align-items:center;gap:11px;padding:13px 15px}
.wfnode .wi{width:34px;height:34px;border-radius:var(--r-ctrl);display:grid;place-items:center;flex-shrink:0}
.wfnode .wi svg{width:17px;height:17px;fill:none;stroke-width:2}
.wfnode .wk{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.wfnode .wt{font-size:14px;font-weight:700;margin-top:1px}
.wfnode .wact{margin-left:auto;display:flex;gap:2px}
.wfnode .wact button{width:26px;height:26px;border:0;background:transparent;border-radius:var(--r-ctrl);cursor:pointer;color:var(--faint);display:grid;place-items:center}
.wfnode .wact button:hover{background:var(--rail);color:var(--ink)}
.wfnode .wsum{padding:0 15px 13px 60px;font-size:12.5px;color:var(--soft)}
.wfconn{width:2px;height:26px;background:var(--line-2);position:relative}
.wfadd{width:30px;height:30px;border-radius:50%;border:1.5px dashed var(--line-2);background:#fff;color:var(--brand);display:grid;place-items:center;cursor:pointer;transition:.14s;margin:6px 0}
.wfadd:hover{border-color:var(--brand);background:var(--brand-soft);transform:scale(1.1)}
.wfadd svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4}
.palette{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pitem{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-ctrl);cursor:pointer;transition:.12s;background:#fff}
.pitem:hover{border-color:var(--brand);background:var(--brand-soft)}
.pitem .pi{width:30px;height:30px;border-radius:var(--r-ctrl);display:grid;place-items:center;flex-shrink:0}
.pitem .pi svg{width:16px;height:16px;fill:none;stroke-width:2}
.pitem b{font-size:13px}.pitem span{font-size:11px;color:var(--faint);display:block}
/* widget list cards */
.wgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.wgcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.15s;cursor:pointer}
.wgcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px);border-color:var(--line-2)}
.wgcard .strip{height:64px;display:flex;align-items:center;padding:0 18px;gap:13px;position:relative}
.wgcard .strip .wgi{width:40px;height:40px;border-radius:var(--r-ctrl);background:rgba(255,255,255,.22);display:grid;place-items:center;backdrop-filter:blur(4px)}
.wgcard .strip .wgi svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2}
.wgcard .strip b{color:#fff;font-size:15px;font-weight:700}
.wgcard .strip .typ{position:absolute;top:12px;right:14px;background:rgba(255,255,255,.92);font-size:10px;font-weight:800;padding:3px 8px;border-radius:var(--r-pill)}
.wgcard .wgb{padding:15px 18px}
.wgcard .wgb .url{font-size:12.5px;color:var(--faint);font-family:"JetBrains Mono",monospace;margin-bottom:12px}
.wgstat{display:flex;gap:18px;margin-bottom:14px}
.wgstat div b{font-size:17px;font-weight:800;display:block}
.wgstat div span{font-size:11px;color:var(--faint)}
.wgcard .wgf{display:flex;align-items:center;gap:8px}
.wgnew{border:1.5px dashed var(--line-2);border-radius:var(--radius);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:30px;cursor:pointer;color:var(--soft);transition:.14s;min-height:200px}
.wgnew:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.wgnew .pl{width:42px;height:42px;border-radius:var(--radius);background:var(--rail-2);display:grid;place-items:center}
.wgnew:hover .pl{background:#fff}
.wgnew .pl svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
/* fill viewport (no page scroll) for tool pages */
.view.noscroll{overflow:hidden;display:flex;flex-direction:column;padding-bottom:16px}
.view.noscroll>.view-inner{display:flex;flex-direction:column;flex:1;min-height:0}
.view.noscroll .split{height:auto;flex:1;min-height:0}
.view.noscroll .wrapfill{flex:1;min-height:0;display:flex;flex-direction:column}
/* workflow canvas editor */
.wfeditor{display:flex;flex-direction:column;flex:1;min-height:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.wfbar{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--line);flex-shrink:0;background:var(--rail)}
.wfmain{display:flex;flex:1;min-height:0}
.wfpal{width:212px;border-right:1px solid var(--line);overflow-y:auto;padding:12px;flex-shrink:0;background:var(--rail)}
.wfpal .pg{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:14px 4px 6px}
.wfpal .pg:first-child{margin-top:0}
.palchip{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:var(--r-ctrl);background:#fff;border:1px solid var(--line);margin-bottom:6px;cursor:pointer;font-size:12.5px;font-weight:600;transition:.12s}
.palchip:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateX(2px)}
.palchip .pc{width:24px;height:24px;border-radius:var(--r-ctrl);display:grid;place-items:center;flex-shrink:0}
.palchip .pc svg{width:14px;height:14px;fill:none;stroke-width:2}
.wfcanvas2{flex:1;position:relative;overflow:auto;background:radial-gradient(var(--line-2) 1px,transparent 1px);background-size:22px 22px;min-height:0}
.wfedges{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}
.wnode{position:absolute;width:226px;background:#fff;border:1.5px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);user-select:none;transition:box-shadow .12s,border-color .12s}
.wnode:hover{box-shadow:var(--shadow-lg)}
.wnode.sel{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.wnode .wnh{display:flex;align-items:center;gap:9px;padding:10px 12px;cursor:grab}
.wnode .wnh:active{cursor:grabbing}
.wnode .wni{width:28px;height:28px;border-radius:var(--r-ctrl);display:grid;place-items:center;flex-shrink:0}
.wnode .wni svg{width:15px;height:15px;fill:none;stroke-width:2}
.wnode .wnk{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;display:block}
.wnode .wnt{font-size:13px;font-weight:700;line-height:1.15}
.wnode .wnx{margin-left:auto;width:22px;height:22px;border:0;background:transparent;color:var(--faint);border-radius:var(--r-ctrl);cursor:pointer;flex-shrink:0}
.wnode .wnx:hover{background:var(--redbg);color:var(--red)}
.wfcfg{width:290px;border-left:1px solid var(--line);overflow-y:auto;padding:16px;flex-shrink:0;background:#fff}
.wf-mod-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wf-mod{border:1px solid var(--line);border-radius:var(--r-ctrl);padding:11px 8px;text-align:center;cursor:pointer;font-size:11.5px;font-weight:600;transition:.12s}
.wf-mod:hover,.wf-mod.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.wfempty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--faint);text-align:center;gap:6px;padding:20px}
.stagger>*{opacity:0;animation:sr .42s var(--ease) forwards}
/* dashboard chart */
.chartwrap{position:relative;width:100%;height:150px}
.chartsvg{width:100%;height:150px;display:block}
.cdot{position:absolute;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid var(--brand);transform:translate(-50%,-50%);box-shadow:0 1px 3px rgba(12,85,244,.25)}
.chartdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;margin-top:10px;font-size:11px;color:var(--faint)}
@keyframes sr{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.stagger>*:nth-child(1){animation-delay:.03s}.stagger>*:nth-child(2){animation-delay:.08s}
.stagger>*:nth-child(3){animation-delay:.13s}.stagger>*:nth-child(4){animation-delay:.18s}
.stagger>*:nth-child(5){animation-delay:.23s}.stagger>*:nth-child(6){animation-delay:.28s}

/* themed native inputs */
input[type=color]{-webkit-appearance:none;appearance:none;width:38px;height:38px;padding:0;border:1px solid var(--line-2);border-radius:var(--r-ctrl);background:#fff;cursor:pointer;overflow:hidden}
input[type=color]::-webkit-color-swatch-wrapper{padding:3px}
input[type=color]::-webkit-color-swatch{border:0;border-radius:var(--r-ctrl)}
input[type=color]::-moz-color-swatch{border:0;border-radius:var(--r-ctrl)}
input[type=range]{-webkit-appearance:none;appearance:none;height:18px;background:transparent;outline:none;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:var(--r-pill);background:var(--line)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-5px;border-radius:50%;background:var(--brand);border:3px solid #fff;box-shadow:0 1px 4px rgba(35,33,28,.3)}
input[type=range]::-moz-range-track{height:6px;border-radius:var(--r-pill);background:var(--line)}
input[type=range]::-moz-range-progress{height:6px;border-radius:var(--r-pill);background:var(--brand)}
input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--brand);border:3px solid #fff;box-shadow:0 1px 4px rgba(35,33,28,.3)}
input[type=number].inp{font-family:inherit}
/* themed native inputs end */
.muted{color:var(--soft)}.mono{font-family:"JetBrains Mono",monospace}
/* unified avatar */
.av{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;color:#fff;font-weight:700;line-height:1;text-transform:uppercase;flex-shrink:0;letter-spacing:0;font-family:"Plus Jakarta Sans",sans-serif;font-size:12px;overflow:hidden}
.tbl .av{width:30px;height:30px;font-size:11px}
.me .av{width:28px;height:28px;font-size:10.5px}
.av.big{font-size:18px;font-weight:700}
/* no horizontal slide */
.view{overflow-x:hidden}
.split>*{min-width:0}
.cdetail,.clist,.cinfo{min-width:0}
.msg{word-break:break-word;overflow-wrap:anywhere}
.flex{display:flex;align-items:center;gap:10px}.gap6{gap:6px}.wrap{flex-wrap:wrap}.mt16{margin-top:16px}.mt24{margin-top:24px}
.grow{flex:1}

@media(max-width:1080px){.search{max-width:240px}}


/* WordPress fullscreen mount fixes */
#hd-root{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:9990!important;background:var(--bg)!important;overflow:hidden!important;display:block!important}
body.admin-bar #hd-root{top:32px!important;height:calc(100vh - 32px)!important}
#hd-root .app{width:100%!important;height:100%!important;max-width:none!important}
@media(max-width:782px){body.admin-bar #hd-root{top:46px!important;height:calc(100vh - 46px)!important}}
#hd-unavailable{display:none!important}

/* Round 2 fidelity */
.card pre{font-family:'JetBrains Mono',monospace}



/* ROUND 3 catalog restoration */
.catalog-card .tbl .nm{align-items:center;min-width:260px}
.cat-thumb{width:34px;height:34px;border-radius:var(--r-ctrl);background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.cat-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cat-thumb svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9}
.catalog-card .tbl small{display:block;color:var(--faint);font-family:"JetBrains Mono",monospace;font-size:10.5px;max-width:380px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog-tabs{overflow-x:auto;white-space:nowrap}
.catalog-tabs button{display:inline-flex;align-items:center;gap:0}
.btn[disabled]{opacity:.45;pointer-events:none}
/* V4: états réels des fenêtres topbar */
.pop .it.is-unread{background:var(--brand-soft)}
.pop .it button{flex-shrink:0}
.panel .pbody .tbl{display:table}
@media(max-width:640px){.panel .pbody .tbl{display:block}}

/* ROUND 5: popovers above fixed WordPress dashboard root */
#hd-root .pop,.pop{z-index:10040!important}
#hd-root .popscrim,.popscrim{z-index:10030!important}

/* V12 — animation visible au changement de site */
.ss-btn.switching .ss-logo{animation:hetoSitePulse .36s var(--ease) both}
.ss-btn.switching .ss-meta{opacity:.58;transition:opacity .2s var(--ease)}
@keyframes hetoSitePulse{0%{transform:scale(1)}45%{transform:scale(.88) rotate(-4deg)}100%{transform:scale(1)}}

/* V14 — transition réelle de changement de site */
.app.site-switching .view-inner{opacity:.34;transform:translateY(8px) scale(.995);filter:blur(1px);transition:opacity .24s var(--ease),transform .24s var(--ease),filter .24s var(--ease)}
.app.site-switching .ss-btn{background:var(--brand-soft);box-shadow:0 0 0 3px rgba(12,85,244,.10)}
.site-loader{position:fixed;left:50%;top:74px;z-index:10060;transform:translate(-50%,-10px) scale(.98);opacity:0;pointer-events:none;transition:opacity .24s var(--ease),transform .28s var(--ease);width:min(420px,calc(100vw - 28px))}
.site-loader.on{opacity:1;transform:translate(-50%,0) scale(1)}
.site-loader .sl-card{background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:var(--radius);padding:12px 14px;display:flex;align-items:center;gap:12px}
.site-loader .sl-logo{width:36px;height:36px;border-radius:var(--r-ctrl);color:#fff;display:grid;place-items:center;font-weight:800;animation:hetoSitePulse .68s var(--ease) infinite alternate}
.site-loader .sl-copy{min-width:0;flex:1}.site-loader .sl-copy b{display:block;font-size:13px}.site-loader .sl-copy span{display:block;font-size:12px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-loader .sl-copy i{display:block;height:4px;border-radius:var(--r-pill);background:var(--rail-2);margin-top:8px;overflow:hidden;position:relative}.site-loader .sl-copy i:before{content:"";position:absolute;inset:0;width:42%;background:linear-gradient(90deg,var(--brand),#7aa2ff);border-radius:inherit;animation:hetoSiteProgress 1s var(--ease) infinite}
@keyframes hetoSiteProgress{0%{transform:translateX(-105%)}100%{transform:translateX(245%)}}
@media(max-width:640px){.site-loader{top:64px}}


/* ===== V15 Agents IA & pages métier depuis index.html ===== */
/* ===== Agents IA ===== */
.aghero{display:flex;gap:14px;align-items:center;background:linear-gradient(120deg,var(--brand-soft),#fff 70%);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;margin-bottom:22px}
.aghero .hicon{width:46px;height:46px;border-radius:var(--r-ctrl);background:var(--brand);color:#fff;display:grid;place-items:center;flex-shrink:0}
.aghero .hicon svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2}
.sec-t{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--faint);margin:26px 0 12px}
.aggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.agcard{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;cursor:pointer;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),border-color .15s;display:flex;flex-direction:column}
.agcard:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--line-2)}
.agtop{padding:16px;display:flex;align-items:center;gap:12px;color:#fff}
.agav{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px;background:rgba(255,255,255,.22);flex-shrink:0;overflow:hidden}
.agav svg,.agav img,.cw-head .ca svg,.cw-head .ca img{width:100%;height:100%;display:block;object-fit:cover}
.cw-head .ca{overflow:hidden;padding:0}.agface-img{width:100%;height:100%;display:block;object-fit:cover}
.agtop .nm{font-weight:800;font-size:16px;line-height:1.15}
.agtop .rl{font-size:11.5px;opacity:.92}
.agbody{padding:14px 16px;flex:1;display:flex;flex-direction:column;gap:11px}
.agbody .tag{font-size:13px;color:var(--soft);line-height:1.45}
.agcaps{display:flex;flex-wrap:wrap;gap:6px}
.agcaps span{font-size:11px;font-weight:600;padding:3px 8px;border-radius:var(--r-pill);background:var(--rail-2);color:var(--soft)}
.agfoot{padding:12px 16px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px}
.vchip{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;letter-spacing:.02em;padding:3px 9px;border-radius:var(--r-pill)}
.vchip svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.menurow .mdel svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.pmenu .ph svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2.2}
.pmenu .pbtn svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2.2}
.agact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.agact .card{display:flex;align-items:center;gap:13px;cursor:pointer;transition:.15s}
.agact .card:hover{border-color:var(--line-2);box-shadow:var(--shadow)}
.agconf-head{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;margin-bottom:18px}
.agconf-head .agav{width:50px;height:50px}
/* menu builder */
.menucat{border:1px solid var(--line);border-radius:var(--r-ctrl);margin-bottom:12px;overflow:hidden}
.menucat>h4{margin:0;padding:11px 14px;font-size:13.5px;background:var(--rail);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.menurow{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line)}
.menurow:last-child{border-bottom:none}
.menurow .mname{font-weight:700;font-size:13.5px}
.menurow .mdesc{font-size:12px;color:var(--faint)}
.menurow .mprice{font-family:"JetBrains Mono",monospace;font-weight:600;font-size:13px;color:var(--ink)}
.menurow .mdel{color:var(--faint);cursor:pointer;width:26px;height:26px;border-radius:var(--r-ctrl);display:grid;place-items:center}
.menurow .mdel:hover{background:var(--redbg);color:var(--red)}
.zone{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.zone:last-child{border-bottom:none}
/* menu card inside phone preview */
.pmenu{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;align-self:flex-start;max-width:90%}
.pmenu .ph{padding:9px 12px;font-weight:800;font-size:12.5px;color:#fff;display:flex;align-items:center;gap:7px}
.pmenu .pc{padding:8px 12px}
.pmenu .pcz{font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin:2px 0 4px}
.pmenu .pr{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:2px 0}
.pmenu .pr b{font-weight:600}.pmenu .pr span{font-family:"JetBrains Mono",monospace;color:var(--soft)}
.pmenu .pbtn{margin:4px 12px 12px;text-align:center;font-size:12px;font-weight:700;padding:8px;border-radius:var(--r-ctrl);color:#fff;display:flex;align-items:center;justify-content:center;gap:6px}
.pchips{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start;max-width:90%}
.pchips span{font-size:12px;font-weight:700;padding:6px 11px;border-radius:var(--r-pill);border:1px solid var(--line);background:#fff;color:var(--ink)}
@media(max-width:900px){.agconfgrid{grid-template-columns:1fr!important}.agconfgrid .preview{position:static;order:-1}}
/* espace métier : pages opérationnelles */
.tgrid{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tch{width:48px;height:48px;border-radius:var(--r-ctrl);display:grid;place-items:center;font-weight:700;font-size:12px;border:1px solid var(--line);color:var(--soft)}
.tch.busy{background:var(--redbg);color:var(--red);border-color:transparent}
.tch.free{background:var(--okbg);color:var(--ok);border-color:transparent}
.occ{height:8px;border-radius:var(--r-pill);background:var(--rail-2);overflow:hidden;margin-top:6px}
.occ i{display:block;height:100%;background:var(--brand)}
.vbanner{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:var(--radius);padding:13px 16px;margin-bottom:20px;background:linear-gradient(120deg,var(--rail),#fff 70%)}
.vbanner .vi{width:40px;height:40px;border-radius:var(--r-ctrl);display:grid;place-items:center;color:#fff;flex-shrink:0}
.vbanner .vi svg{width:21px;height:21px;stroke:#fff;fill:none;stroke-width:2}
.aghero2{display:flex;gap:18px;align-items:center;margin-bottom:8px}
.agbig{width:88px;height:88px;border-radius:22px;overflow:hidden;flex-shrink:0;box-shadow:var(--shadow)}
.agbig svg,.agbig img{width:100%;height:100%;display:block;object-fit:cover}
.agcard.on{box-shadow:0 0 0 2px var(--brand);border-color:transparent}
@media(max-width:640px){.aghero2{flex-direction:column;text-align:center;align-items:center}.aghero2 .agcaps{justify-content:center}}
/* ---- éditeur de plan de salle ---- */
.fp-wrap{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
.fp-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.fp-canvas{position:relative;height:calc(100vh - 286px);min-height:480px;border:1px solid var(--line);border-radius:var(--radius);background:#FBFAF8;overflow:auto;touch-action:none}
.fp-stage{position:relative}
.fp-layer{position:absolute;top:0;left:0;transform-origin:0 0;background:#FBFAF8;background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:22px 22px}
.fp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0;border-radius:inherit}
.roomph{height:120px;border-radius:var(--r-ctrl);background:var(--rail-2);background-size:cover;background-position:center;margin-bottom:12px;cursor:pointer;display:grid;place-items:center;position:relative;overflow:hidden}
.roomph-add{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--faint)}
.roomph-add svg{width:18px;height:18px;stroke:var(--faint);fill:none;stroke-width:2}
.roomph-edit{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.5);display:grid;place-items:center}
.roomph-edit svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2}
.fp-zoom{display:flex;align-items:center;gap:2px;background:var(--rail);border:1px solid var(--line);border-radius:var(--r-pill);padding:2px}
.fp-zoom button{width:26px;height:26px;border:0;background:transparent;border-radius:50%;font-size:15px;line-height:1;cursor:pointer;color:var(--soft)}
.fp-zoom button:hover{background:var(--rail-2);color:var(--ink)}
.fp-zoom .zl{font-size:12px;font-weight:700;min-width:42px;text-align:center;color:var(--soft)}
.fp-el{position:absolute;cursor:grab;user-select:none}
.fp-el:active{cursor:grabbing}
.fp-el.sel .fp-shape,.fp-el.sel .fp-wall{box-shadow:0 0 0 2px var(--brand)}
.fp-shape{position:relative;display:grid;place-items:center;background:#fff;border:1.5px solid var(--line-2);color:var(--soft);font-weight:800;font-size:12px}
.fp-el[data-shape=round] .fp-shape{border-radius:50%}
.fp-el[data-shape=square] .fp-shape{border-radius:10px}
.fp-el.busy .fp-shape{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.fp-chair{position:absolute;width:13px;height:13px;border-radius:4px;background:#E3DED5}
.fp-el.busy .fp-chair{background:#aec6ff}
.fp-wall{background:#C7C1B6;border-radius:3px}
.fp-lbl{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:5px;font-size:11px;font-weight:700;white-space:nowrap;color:var(--soft);text-align:center}
.fp-lbl .who{display:block;color:var(--brand);font-size:10.5px}
.fp-cfg .field{margin-bottom:12px}
.fp-el[data-shape=square] .fp-shape,.fp-el[data-shape=rect] .fp-shape{border-radius:10px}
.fp-grid{display:grid;grid-template-columns:190px 1fr 300px;gap:16px;align-items:start}
.fp-pal{border:1px solid var(--line);border-radius:var(--radius);padding:10px;background:#fff;position:sticky;top:0}
.fp-pal .pg{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);margin:12px 4px 4px}
.fp-pal .pg:first-child{margin-top:0}
.fp-pi{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:var(--r-ctrl);cursor:grab;font-size:12.5px;font-weight:600;color:var(--soft);user-select:none;touch-action:none}
.fp-pi:hover{background:var(--rail-2);color:var(--ink)}
.fp-pi .pic{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:13px;background:var(--rail-2);flex-shrink:0;color:var(--soft)}
.fp-el{touch-action:none}
.fp-rs{position:absolute;right:-6px;bottom:-6px;width:14px;height:14px;border-radius:4px;background:#fff;border:2px solid var(--brand);cursor:nwse-resize;z-index:9}
.fp-deco{display:grid;place-items:center;border-radius:10px;width:100%;height:100%}
.fp-rug{width:100%;height:100%;border-radius:12px;border:2px dashed rgba(0,0,0,.12)}
.fp-bar2{width:100%;height:100%;display:grid;place-items:center;border-radius:8px;color:#fff;font-weight:800;font-size:11px;letter-spacing:.06em}
.fp-seat2{width:100%;height:100%;border-radius:5px;background:#DCC8AC;border:1px solid #c7b08c}
.fp-legend{display:flex;flex-wrap:wrap;gap:7px 13px;font-size:11px;color:var(--soft)}
.fp-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}
@media(max-width:1100px){.fp-grid{grid-template-columns:1fr}.fp-pal{position:static;display:flex;flex-wrap:wrap;gap:4px}.fp-pal .pg{width:100%}}
/* ---- configurateur de devis ---- */
.qb-wrap{display:grid;grid-template-columns:1fr 380px;gap:26px;align-items:start}
.qopt{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.qopt:last-child{border-bottom:none}
.qcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);max-width:360px}
.qcard .qh{padding:14px 16px;color:#fff}
.qcard .qh b{font-size:15px}.qcard .qh span{font-size:11.5px;opacity:.9}
.qcard .qb{padding:8px 16px 4px}
.qrow{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--line);cursor:pointer}
.qrow:last-child{border-bottom:none}
.qcheck{width:22px;height:22px;border-radius:7px;border:2px solid var(--line-2);display:grid;place-items:center;flex-shrink:0;transition:.15s}
.qrow.on .qcheck{border-color:transparent}
.qcheck svg{width:13px;height:13px;stroke:#fff;fill:none;stroke-width:3;opacity:0}
.qrow.on .qcheck svg{opacity:1}
.qrow .ql{flex:1;font-size:13.5px;font-weight:600}
.qrow .qp{font-family:"JetBrains Mono",monospace;font-size:12.5px;color:var(--soft);font-weight:600}
.qtot{padding:14px 16px;border-top:2px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.qtot b{font-size:13px;color:var(--soft);font-weight:700}
.qtot .qv{font-family:"JetBrains Mono",monospace;font-size:24px;font-weight:800}
.qmail{padding:0 16px 16px;display:flex;gap:8px}
.qmail input{flex:1;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 12px;font-size:13px}
.qsend{border-radius:var(--r-ctrl);color:#fff;font-weight:700;font-size:13px;padding:9px 14px;white-space:nowrap;cursor:pointer}
.qstep{border:1px solid var(--line);border-radius:var(--r-ctrl);padding:12px;margin-bottom:12px;background:#fff}
.qstep>.sh{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.qstep>input.inp{margin-bottom:6px}
.qq{border:1px solid var(--line);border-radius:var(--r-ctrl);padding:10px;margin:8px 0;background:var(--rail)}
.qopt2{display:flex;align-items:center;gap:7px;padding:4px 0}
.qb2{padding:14px 16px}
.qstept{font-weight:800;font-size:14px;margin-bottom:12px}
.qprog{height:5px;border-radius:99px;background:rgba(255,255,255,.3);margin-top:9px;overflow:hidden}
.qprog i{display:block;height:100%}
.qfoot{padding:12px 16px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}
.qrun{font-size:12.5px;color:var(--soft)}
.qfield{margin-bottom:14px}
.qfield>label{display:block;font-size:12.5px;font-weight:700;margin-bottom:7px}
.qpick{display:flex;flex-direction:column;gap:7px}
.qp-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1.5px solid var(--line);border-radius:var(--r-ctrl);padding:9px 12px;cursor:pointer;font-size:13.5px;font-weight:600;transition:.12s}
.qp-opt:hover{border-color:var(--line-2)}
.qp-opt .qp{font-family:"JetBrains Mono",monospace;font-size:12px;color:var(--soft);font-weight:600}
.qnum{display:flex;align-items:center;gap:12px}
.qnum button{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:16px;line-height:1;cursor:pointer}
.qrow2{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}
.qrow2:last-child{border-bottom:none}
@media(max-width:900px){.fp-wrap,.qb-wrap{grid-template-columns:1fr}}


/* ===== V19 — animations exactes changement site/agent (référence panel-switch-anim.html) ===== */
:root{--portal-ease:cubic-bezier(.66,0,.2,1);--ac:#0C55F4;--site:#0C55F4}
#hd-root .agent-pick .ap-av{box-shadow:0 0 0 2px color-mix(in srgb,var(--ac) 45%,#fff);transition:box-shadow .4s var(--ease)}
body.heto-switch-busy #hd-root .app{pointer-events:none!important;user-select:none!important}
body.heto-switch-busy #hd-root #heto-site-loader{display:none!important}
#hd-root .heto-switch-lock{position:fixed;inset:0;z-index:10050;display:none;background:transparent;pointer-events:auto;cursor:wait}
#hd-root .heto-switch-lock.on{display:block}
#hd-root .app{transform-origin:50% 48%;will-change:transform,filter}
#hd-root .heto-switch-portal{position:fixed;inset:0;z-index:10060;display:none;will-change:clip-path;overflow:hidden;pointer-events:auto}
#hd-root .heto-switch-portal .p-bg{position:absolute;inset:0;background:radial-gradient(55% 60% at 30% 24%,color-mix(in srgb,var(--site) 70%,#4a82ff),transparent 68%),radial-gradient(70% 80% at 78% 82%,var(--brand-d),transparent 76%),linear-gradient(135deg,var(--brand),#0a2f86 70%,#071f5c)}
#hd-root .heto-switch-portal .p-beams{position:absolute;left:50%;top:50%;width:200vmax;height:200vmax;margin:-100vmax 0 0 -100vmax;opacity:0;background:conic-gradient(from 0deg,transparent 0 6deg,#ffffff14 6deg 7deg,transparent 7deg 30deg,#ffffff10 30deg 31deg,transparent 31deg 60deg,#ffffff16 60deg 61deg,transparent 61deg 96deg,#ffffff14 96deg 97deg,transparent 97deg 120deg,#ffffff10 120deg 121deg,transparent 121deg 150deg,#ffffff16 150deg 151deg,transparent 151deg 270deg,#ffffff12 270deg 271deg,transparent 271deg 360deg)}
#hd-root .heto-switch-portal .p-grain{position:absolute;inset:0;opacity:.10;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
#hd-root .heto-switch-portal .p-vig{position:absolute;inset:0;background:radial-gradient(58% 58% at 50% 50%,transparent 40%,rgba(3,15,48,.6))}
#hd-root .heto-switch-portal .p-ring{position:absolute;left:50%;top:50%;border-radius:50%;-webkit-mask:radial-gradient(closest-side,transparent 70%,#000 71%);mask:radial-gradient(closest-side,transparent 70%,#000 71%);opacity:0}
#hd-root .heto-switch-portal .p-ring.r1{width:540px;height:540px;margin:-270px 0 0 -270px;background:conic-gradient(from 0deg,transparent,#ffffff70,transparent 28%,#ffffff22,transparent 58%,#ffffff55,transparent)}
#hd-root .heto-switch-portal .p-ring.r2{width:380px;height:380px;margin:-190px 0 0 -190px;background:conic-gradient(from 180deg,transparent,color-mix(in srgb,var(--site) 80%,#fff),transparent 26%,transparent 60%,#ffffff66,transparent)}
#hd-root .heto-switch-portal .p-shock{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;border:2px solid #ffffffcc;opacity:0}
#hd-root .heto-switch-portal .p-shock.s2{border-color:color-mix(in srgb,var(--site) 70%,#fff)}
#hd-root .heto-switch-portal .p-flash{position:absolute;left:50%;top:50%;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;opacity:0;background:radial-gradient(closest-side,#fff,rgba(255,255,255,.4) 40%,transparent 70%)}
#hd-root .heto-switch-portal .p-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;color:#fff}
#hd-root .heto-switch-portal .p-logo{position:relative;width:104px;height:104px;margin:0 auto;border-radius:28px;display:grid;place-items:center;font-weight:800;font-size:46px;color:#fff;background:linear-gradient(150deg,#ffffff38,#ffffff12);border:1px solid #ffffff66;backdrop-filter:blur(4px);box-shadow:0 30px 80px -16px rgba(0,0,0,.6),inset 0 0 40px #ffffff22}
#hd-root .heto-switch-portal .p-name{font-weight:800;font-size:clamp(28px,5vw,52px);margin-top:24px;letter-spacing:-.02em;background:linear-gradient(100deg,#ffffff,#dfe9ff 45%,#ffffff 60%);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:240% 100%;text-shadow:0 18px 56px rgba(0,0,0,.4)}
#hd-root .heto-switch-portal .p-url{margin-top:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;font-size:11px;opacity:.85}
#hd-root .heto-switch-portal .p-line{width:0;height:2px;margin:16px auto 0;border-radius:2px;background:color-mix(in srgb,var(--site) 80%,#fff)}
#hd-root .heto-switch-portal .spark{position:absolute;left:50%;top:50%;border-radius:50%;background:#fff;pointer-events:none;box-shadow:0 0 12px 2px #ffffffcc}
#hd-root .heto-agent-scrim{position:fixed;inset:0;z-index:10065;background:rgba(247,245,242,.55);backdrop-filter:blur(7px);opacity:0;pointer-events:none}
#hd-root .heto-agent-scrim.on{opacity:1;pointer-events:auto}
#hd-root .heto-agent-glow{position:fixed;left:50%;top:46%;z-index:10066;width:560px;height:560px;margin:-280px 0 0 -280px;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,color-mix(in srgb,var(--ac) 55%,transparent),transparent 70%);opacity:0}
#hd-root .heto-agent-card{position:fixed;left:50%;top:46%;z-index:10067;transform:translate(-50%,-50%);pointer-events:none;width:300px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 40px 90px -30px rgba(20,20,40,.45);padding:26px 26px 24px;text-align:center;overflow:hidden;opacity:0}
#hd-root .heto-agent-card .bar{position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,var(--ac),color-mix(in srgb,var(--ac) 55%,#fff))}
#hd-root .heto-agent-card .portrait{width:128px;height:128px;border-radius:50%;overflow:hidden;margin:6px auto 0;box-shadow:0 14px 34px -14px color-mix(in srgb,var(--ac) 80%,#000 10%);border:3px solid #fff}
#hd-root .heto-agent-card .portrait svg,#hd-root .heto-agent-card .portrait img{width:100%;height:100%;display:block;object-fit:cover}
#hd-root .heto-agent-card .an{font-size:23px;font-weight:800;margin-top:16px;letter-spacing:-.01em}
#hd-root .heto-agent-card .am{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ac);margin-top:5px}
#hd-root .heto-agent-card .at{font-size:13px;color:var(--soft);margin-top:12px;line-height:1.5}
#hd-root .heto-agent-card .pill{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:11.5px;font-weight:700;color:var(--ac);background:color-mix(in srgb,var(--ac) 12%,#fff);border:1px solid color-mix(in srgb,var(--ac) 30%,#fff);padding:6px 12px;border-radius:99px}
#hd-root .heto-agent-card .pill i{width:7px;height:7px;border-radius:50%;background:var(--ac)}
#hd-root .nav a.heto-nav-in{animation:hetoNavIn .42s var(--ease-out) both}
@keyframes hetoNavIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@media(max-width:760px){#hd-root .heto-agent-card{width:84vw}}

/* ===== V20 — animation agent harmonisée avec portail site ===== */
#hd-root .heto-switch-portal.is-agent .p-logo{width:168px;height:168px;border-radius:50%;overflow:hidden;padding:0;background:transparent;border:4px solid rgba(255,255,255,.90);box-shadow:0 30px 80px -16px rgba(0,0,0,.6),0 0 0 12px rgba(255,255,255,.08),inset 0 0 0 transparent}
#hd-root .heto-switch-portal.is-agent .p-logo svg{width:100%;height:100%;display:block}
#hd-root .heto-switch-portal.is-agent .p-url{letter-spacing:.14em}

/* ===== V22 — Grande roue d'agents autour de l'axe bas ===== */
#hd-root .heto-switch-portal.is-agent .p-core{top:49%}
#hd-root .heto-switch-portal.is-agent .p-logo.has-agent-wheel{width:min(860px,94vw);height:min(430px,58vh);min-height:360px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:visible;display:block}
#hd-root .heto-switch-portal.is-agent .p-logo.has-agent-wheel::before{content:none}
#hd-root .agent-wheel{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 8%,#000 86%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 8%,#000 86%,transparent 100%)}
#hd-root .agent-wheel-aura{position:absolute;left:50%;bottom:-52px;width:min(680px,86vw);height:210px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--site) 48%,transparent),transparent 72%);opacity:.62;filter:blur(6px);pointer-events:none}
#hd-root .agent-wheel-stage{--wheel-size:800px;--wheel-radius:330px;position:absolute;left:50%;bottom:-360px;width:var(--wheel-size);height:var(--wheel-size);margin-left:calc(var(--wheel-size) / -2);border-radius:50%;will-change:transform;z-index:2}
#hd-root .agent-wheel-rim{position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.32);box-shadow:0 0 0 12px rgba(255,255,255,.055),0 30px 120px rgba(0,0,0,.26),inset 0 0 80px rgba(255,255,255,.08);background:radial-gradient(circle at center,transparent 0 53%,rgba(255,255,255,.12) 53.3% 54%,transparent 54.3%),conic-gradient(from 0deg,rgba(255,255,255,.28) 0 1deg,transparent 1deg 29deg,rgba(255,255,255,.18) 29deg 30deg,transparent 30deg 59deg,rgba(255,255,255,.22) 59deg 60deg,transparent 60deg 89deg,rgba(255,255,255,.18) 89deg 90deg,transparent 90deg 119deg,rgba(255,255,255,.22) 119deg 120deg,transparent 120deg 149deg,rgba(255,255,255,.18) 149deg 150deg,transparent 150deg 179deg,rgba(255,255,255,.22) 179deg 180deg,transparent 180deg 209deg,rgba(255,255,255,.18) 209deg 210deg,transparent 210deg 239deg,rgba(255,255,255,.22) 239deg 240deg,transparent 240deg 269deg,rgba(255,255,255,.18) 269deg 270deg,transparent 270deg 299deg,rgba(255,255,255,.22) 299deg 300deg,transparent 300deg 329deg,rgba(255,255,255,.18) 329deg 330deg,transparent 330deg 360deg);opacity:.92}
#hd-root .agent-wheel-rim::before,#hd-root .agent-wheel-rim::after{content:"";position:absolute;left:50%;top:50%;width:2px;height:50%;transform-origin:50% 0;background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(255,255,255,0));border-radius:2px}
#hd-root .agent-wheel-rim::before{transform:rotate(0deg)}#hd-root .agent-wheel-rim::after{transform:rotate(90deg)}
#hd-root .agent-wheel-marker{position:absolute;left:50%;top:14px;width:0;height:0;transform:translateX(-50%);border-left:14px solid transparent;border-right:14px solid transparent;border-top:0;border-bottom:19px solid #fff;filter:drop-shadow(0 7px 13px rgba(0,0,0,.28));z-index:6}
#hd-root .agent-wheel-marker::after{content:"";position:absolute;left:-4px;top:23px;width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--site) 75%,#fff);box-shadow:0 0 18px color-mix(in srgb,var(--site) 90%,#fff)}
#hd-root .agent-wheel-card{position:absolute;left:50%;top:50%;width:128px;height:156px;margin:-78px 0 0 -64px;border-radius:26px;padding:9px 9px 12px;background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(255,255,255,.78));border:1px solid rgba(255,255,255,.74);box-shadow:0 28px 70px -30px rgba(0,0,0,.66);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;color:#23211C;opacity:.72;transform:rotate(var(--a,0deg)) translateY(calc(var(--wheel-radius,330px) * -1)) rotate(calc(var(--a,0deg) * -1)) scale(.9);transform-origin:50% 50%;will-change:transform,opacity,filter;z-index:3}
#hd-root .agent-wheel-card .awc-face{width:88px;height:88px;border-radius:50%;overflow:hidden;display:block;box-shadow:0 15px 32px -18px rgba(0,0,0,.58);border:3px solid #fff;flex:0 0 auto}
#hd-root .agent-wheel-card .awc-face svg,#hd-root .agent-wheel-card .awc-face img{width:100%;height:100%;display:block;object-fit:cover}
#hd-root .agent-wheel-card b{font-size:14px;font-weight:800;margin-top:9px;line-height:1.1;color:#23211C;max-width:104px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hd-root .agent-wheel-card span:not(.awc-face){font-size:9.5px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;color:#6B6760;margin-top:4px;max-width:108px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hd-root .p-logo.has-agent-wheel.is-settled .agent-wheel-card.target{opacity:1;z-index:5;box-shadow:0 38px 92px -26px color-mix(in srgb,var(--site) 80%,#000),0 0 0 5px rgba(255,255,255,.16);border-color:#fff;background:#fff;filter:none!important}
#hd-root .p-logo.has-agent-wheel.is-settled .agent-wheel-card.target .awc-face{box-shadow:0 18px 40px -16px color-mix(in srgb,var(--site) 80%,#000)}
#hd-root .p-logo.has-agent-wheel.is-settled .agent-wheel-card:not(.target){opacity:.38;filter:blur(.25px)}
#hd-root .agent-wheel-axle{position:absolute;left:50%;bottom:18px;width:78px;height:78px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,rgba(255,255,255,.68) 42%,rgba(255,255,255,.22));border:1px solid rgba(255,255,255,.64);box-shadow:0 22px 60px rgba(0,0,0,.28),inset 0 0 28px rgba(255,255,255,.20);z-index:4;display:grid;place-items:center}
#hd-root .agent-wheel-axle::before{content:"";width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--site) 72%,#fff);box-shadow:0 0 28px color-mix(in srgb,var(--site) 82%,#fff)}
#hd-root .agent-wheel-caption{position:absolute;left:50%;bottom:106px;transform:translateX(-50%);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.86);text-shadow:0 8px 24px rgba(0,0,0,.36);z-index:5;white-space:nowrap}
@media(max-width:760px){#hd-root .heto-switch-portal.is-agent .p-logo.has-agent-wheel{width:96vw;height:380px;min-height:330px}#hd-root .agent-wheel-stage{--wheel-size:680px;--wheel-radius:285px;bottom:-315px}#hd-root .agent-wheel-card{width:106px;height:136px;margin:-68px 0 0 -53px;border-radius:22px}#hd-root .agent-wheel-card .awc-face{width:72px;height:72px}#hd-root .agent-wheel-card b{font-size:12.5px;max-width:90px}#hd-root .agent-wheel-card span:not(.awc-face){font-size:8.5px;max-width:92px}#hd-root .agent-wheel-axle{width:62px;height:62px;bottom:16px}#hd-root .agent-wheel-caption{bottom:88px;font-size:9.5px}}

/* ===== V23 — Portail agent avec avatars, même univers que changement de site ===== */
#hd-root .heto-switch-portal.avatar-portal .p-core{top:50%;min-width:min(760px,96vw);isolation:isolate}
#hd-root .heto-switch-portal.avatar-portal .p-logo.agent-avatar-main{position:relative;z-index:4;width:136px;height:136px;border-radius:50%;overflow:hidden;padding:0;background:transparent;border:3px solid rgba(255,255,255,.92);box-shadow:0 26px 72px -22px color-mix(in srgb,var(--site) 70%,#000),0 0 0 10px rgba(255,255,255,.08),inset 0 0 0 transparent;transform-origin:50% 50%;will-change:transform,opacity,filter,box-shadow}
#hd-root .heto-switch-portal.avatar-portal .p-logo.agent-avatar-main svg{width:100%;height:100%;display:block}
#hd-root .heto-switch-portal.avatar-portal .p-logo.agent-avatar-main.is-avatar-settled{box-shadow:0 34px 96px -20px color-mix(in srgb,var(--site) 88%,#000),0 0 0 14px rgba(255,255,255,.12),0 0 58px color-mix(in srgb,var(--site) 58%,transparent)}
#hd-root .heto-switch-portal.avatar-portal .p-name{position:relative;z-index:5;margin-top:24px}
#hd-root .heto-switch-portal.avatar-portal .p-url{position:relative;z-index:5;letter-spacing:.14em}
#hd-root .heto-switch-portal.avatar-portal .p-line{position:relative;z-index:5}
#hd-root .agent-avatar-halo{position:absolute;left:50%;top:68px;width:min(620px,88vw);height:230px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--site) 44%,transparent),transparent 72%);filter:blur(4px);opacity:0;z-index:1;pointer-events:none}
#hd-root .agent-avatar-orbit{position:absolute;left:50%;top:68px;width:min(680px,92vw);height:300px;transform:translate(-50%,-50%);z-index:3;pointer-events:none;will-change:transform,opacity,filter;transform-origin:50% 50%}
#hd-root .agent-avatar-orbit::before{content:"";position:absolute;left:50%;top:50%;width:min(580px,84vw);height:190px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(255,255,255,.26);box-shadow:0 0 0 10px rgba(255,255,255,.045),inset 0 0 50px rgba(255,255,255,.06);opacity:.82}
#hd-root .agent-avatar-bubble{position:absolute;left:50%;top:50%;width:82px;height:102px;margin:0;transform:translate(-50%,-50%) translate(var(--x),var(--y)) scale(.94);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;opacity:0;will-change:transform,opacity,filter;z-index:3}
#hd-root .agent-avatar-bubble .aab-face{width:70px;height:70px;border-radius:50%;overflow:hidden;display:block;border:2px solid rgba(255,255,255,.92);box-shadow:0 22px 48px -22px rgba(0,0,0,.68),0 0 0 6px rgba(255,255,255,.08);background:var(--agent-color,#fff)}
#hd-root .agent-avatar-bubble .aab-face svg,#hd-root .agent-avatar-bubble .aab-face img{width:100%;height:100%;display:block;object-fit:cover}
#hd-root .agent-avatar-bubble b{max-width:88px;margin-top:8px;padding:3px 8px;border-radius:99px;background:rgba(255,255,255,.88);box-shadow:0 12px 28px -18px rgba(0,0,0,.6);color:#23211C;font-size:10.5px;font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){#hd-root .heto-switch-portal.is-agent .p-logo{width:134px;height:134px}#hd-root .heto-switch-portal.avatar-portal .p-core{min-width:98vw}#hd-root .heto-switch-portal.avatar-portal .p-logo.agent-avatar-main{width:112px;height:112px}#hd-root .agent-avatar-orbit{top:56px;height:260px;width:96vw}#hd-root .agent-avatar-orbit::before{width:84vw;height:170px}#hd-root .agent-avatar-halo{top:56px;width:88vw;height:190px}#hd-root .agent-avatar-bubble{width:64px;height:86px}#hd-root .agent-avatar-bubble .aab-face{width:56px;height:56px}#hd-root .agent-avatar-bubble b{font-size:9.5px;max-width:72px;padding:2px 7px}}

/* ===== V26 — portail agent : couleur dominante = agent sélectionné ===== */
#hd-root .heto-switch-portal.is-agent .p-bg{
  background:
    radial-gradient(62% 66% at 30% 22%, color-mix(in srgb,var(--site) 92%,#ffffff), transparent 68%),
    radial-gradient(78% 82% at 82% 82%, color-mix(in srgb,var(--site) 72%,#050816), transparent 74%),
    radial-gradient(72% 72% at 50% 44%, color-mix(in srgb,var(--site) 58%,#ffffff), transparent 72%),
    linear-gradient(135deg, color-mix(in srgb,var(--site) 94%,#111827), color-mix(in srgb,var(--site) 76%,#050816) 62%, color-mix(in srgb,var(--site) 52%,#020617));
}
#hd-root .heto-switch-portal.is-agent .p-vig{
  background:radial-gradient(58% 58% at 50% 50%,transparent 42%,color-mix(in srgb,var(--site) 24%,rgba(0,0,0,.70)));
}
#hd-root .heto-switch-portal.is-agent .p-name{
  background:linear-gradient(100deg,#ffffff,color-mix(in srgb,var(--site) 22%,#ffffff) 45%,#ffffff 60%);
  -webkit-background-clip:text;background-clip:text;color:transparent;background-size:240% 100%;
}

/* ===== V32 — builder devis avancé ===== */
.qb-wrap-pro{display:block}.qb-pro{display:block}.qb-pro-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;border-left:4px solid var(--brand)}.qb-pro-title{display:flex;flex-direction:column;gap:3px}.qb-pro-title b{font-size:17px}.qb-pro-title span{font-size:12.5px;color:var(--soft)}.qb-pro-save{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.qb-settings{margin-bottom:14px}.quote-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quote-mode-grid button{border:1px solid var(--line);background:#fff;border-radius:var(--r-ctrl);padding:12px;text-align:left;cursor:pointer;transition:.14s}.quote-mode-grid button:hover{border-color:var(--line-2);box-shadow:var(--shadow)}.quote-mode-grid button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.quote-mode-grid button b{display:block;font-size:13px}.quote-mode-grid button span{display:block;font-size:11.5px;color:var(--soft);margin-top:4px;line-height:1.35}.qb-pro-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}.qb-sticky{position:sticky;top:16px}.qb-step-pro{border:1px solid var(--line);border-radius:18px;background:#fff;padding:12px;margin-bottom:12px;box-shadow:var(--shadow)}.qb-step-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.drag{width:26px;height:26px;border-radius:9px;background:var(--rail);display:inline-grid;place-items:center;color:var(--faint);cursor:grab;font-weight:900}.qb-step-pro:active .drag,.qb-question-pro:active .drag,.qb-opt:active .drag{cursor:grabbing}.qb-question-list{display:grid;gap:10px;margin-top:10px}.qb-question-pro{border:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfaf8);border-radius:16px;padding:11px}.qb-q-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}.qb-q-head .inp{min-width:120px}.mini-check,.switchline{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--soft);white-space:nowrap}.qopt-list{display:grid;gap:8px;margin:8px 0}.qb-opt{align-items:center;gap:7px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:14px;padding:7px}.qb-opt-img{width:40px;height:40px;border-radius:11px;object-fit:cover;background:var(--rail);border:1px solid var(--line);display:grid;place-items:center;color:var(--faint);font-size:10px;font-weight:800;flex-shrink:0}.qb-opt-img.empty{display:grid}.qb-add-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.qb-add-row .btn{flex:1;min-width:112px}.qb-pro .danger{color:#ef4444;border-color:#fee2e2}.qb-pro .danger:hover{background:#fff5f5}@media(max-width:1100px){.qb-pro-layout{grid-template-columns:1fr}.qb-sticky{position:relative;top:auto}}@media(max-width:760px){.quote-mode-grid{grid-template-columns:1fr}.qb-pro-head{align-items:flex-start;flex-direction:column}.qb-pro-save{width:100%}.qb-pro-save .btn{flex:1}.qb-q-head{align-items:stretch}.qb-q-head .inp{max-width:none!important;width:100%}.qb-opt .inp{max-width:none!important;min-width:120px}.qb-add-row .btn{min-width:100%}}
.qp-opt.with-img{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px}.qb-prev-img{width:42px;height:42px;border-radius:12px;object-fit:cover;box-shadow:0 10px 22px -16px rgba(0,0,0,.55)}.qfield textarea.inp{min-height:76px;resize:vertical}


/* ===== V33 — builder devis conforme maquette ===== */
.qbv33{--pv:#7A5BE0;--pv-d:#5E45B8;position:relative}.qbv33 .card{overflow:visible}.qbv33-head{padding:22px;position:relative;margin-bottom:26px}.qbv33-head:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--brand)}.qbv33-headrow{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.qbv33-head h2{margin:0;font-size:19px;font-weight:800}.qbv33-head span{color:var(--soft);font-size:13px}.qbv33-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.qbv33-final{margin-top:18px}.qbv33-modes{display:grid;grid-template-columns:1fr 1fr;gap:14px}.qbv33-modes button{border:1.5px solid var(--line);border-radius:14px;background:#fff;text-align:left;padding:15px 16px;cursor:pointer}.qbv33-modes button.on{border-color:var(--brand);background:var(--brand-soft)}.qbv33-modes b{display:block;font-size:14px}.qbv33-modes .on b{color:var(--brand)}.qbv33-modes span{display:block;margin-top:5px;font-size:12.5px;color:var(--soft)}.qbv33-work{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.qbv33-preview-wrap{position:sticky;top:14px}.qbv33-phone{border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 18px 50px rgba(35,33,28,.18);background:#fff}.qbv33-step{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);margin-bottom:16px}.qbv33-step-h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.qbv33-step-h input{flex:1;min-width:130px;border:1px solid transparent;border-radius:8px;padding:8px 10px;font-weight:800;font-family:inherit}.qbv33-step-h input:focus{outline:none;border-color:var(--brand)}.qbv33-step-h button,.qbv33-qh button{width:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 10px;cursor:pointer;font-weight:700}.qbv33-step-h .danger,.qbv33-qh .danger{color:var(--red);border:0}.qbv33-step-body{padding:14px 16px}.qbv33-empty{border:1.5px dashed var(--line-2);border-radius:14px;padding:24px;text-align:center;color:var(--faint);margin-bottom:12px}.qbv33-addblock,.qbv33-addstep{width:100%;border:1.5px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:800;border-radius:14px;padding:13px;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px}.qbv33-addblock:hover,.qbv33-addstep:hover{background:var(--brand-soft)}.qbv33-addstep{margin-top:4px}.qbv33-drag{cursor:grab;color:var(--faint);background:var(--rail-2);width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.qbv33-q{border:1px solid var(--line);border-radius:14px;margin-bottom:14px;background:var(--rail);padding-bottom:12px}.qbv33-qh{display:flex;align-items:center;gap:8px;padding:14px 14px 10px;flex-wrap:wrap}.qbv33-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--soft);background:#fff;border:1px solid var(--line);border-radius:99px;padding:5px 10px}.qbv33-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}.qbv33-qh select{border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fff;font-weight:700}.qbv33-qh .label{flex:1;min-width:190px;border:1px solid var(--line);border-radius:10px;padding:11px 14px;font-weight:700;font-family:inherit;background:#fff}.qbv33-qh .label:focus{outline:none;border-color:var(--brand)}.qbv33-check{display:inline-flex;gap:6px;align-items:center;font-size:12.5px;color:var(--soft);font-weight:700}.qbv33-help{padding:2px 14px 14px}.qbv33-help label{display:block;font-size:11.5px;font-weight:800;color:var(--soft);margin-bottom:7px}.qbv33-help input{width:100%;border:1px dashed var(--line-2);border-radius:10px;padding:11px 14px;background:#fff;color:var(--soft);font-family:inherit}.qbv33-help input:focus{outline:none;border-style:solid;border-color:var(--brand);color:var(--ink)}.qbv33-options{padding:0 14px;display:flex;flex-direction:column;gap:9px}.qbv33-opt{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}.qbv33-opt input{border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-family:inherit}.qbv33-opt input:not(.price){flex:1;min-width:120px}.qbv33-opt .price{width:86px;text-align:right;font-family:'JetBrains Mono',monospace}.qbv33-opt b,.qbv33-opt em{color:var(--soft);font-style:normal;font-weight:800}.qbv33-opt .x{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--red);font-size:16px}.qbv33-img{width:46px;height:46px;border-radius:9px;border:1.5px dashed var(--line-2);background:var(--rail);display:grid;place-items:center;overflow:hidden;font-size:9px;font-weight:900;color:var(--faint);cursor:pointer;flex-shrink:0}.qbv33-img img{width:100%;height:100%;object-fit:cover}.qbv33-img i{display:none}.qbv33-addopt{align-self:flex-start;border:1px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:800;border-radius:10px;padding:9px 12px}.qbv33-erow{padding:0 14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.qbv33-erow label{font-size:12.5px;font-weight:800;color:var(--soft)}.qbv33-erow input,.qbv33-erow select{border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:#fff;font-family:inherit}.qbv33-erow input{width:90px}.qbv33-note{padding:2px 14px 0;font-size:12.5px;color:var(--faint)}.qbv33-scrim{position:fixed;inset:0;z-index:10080;background:rgba(20,18,14,.35);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:.2s}.qbv33-scrim.on{opacity:1;pointer-events:auto}.qbv33-modal{position:fixed;z-index:10081;left:50%;top:50%;transform:translate(-50%,-46%) scale(.97);opacity:0;pointer-events:none;transition:.22s var(--ease);width:min(760px,94vw);max-height:84vh;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(35,33,28,.18);overflow:hidden;display:flex;flex-direction:column}.qbv33-modal.on{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.qbv33-modal-h{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.qbv33-modal-h b{font-size:16px;font-weight:900}.qbv33-modal-h span{display:block;color:var(--faint);font-size:12.5px}.qbv33-modal-h button{margin-left:auto;width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:18px}.qbv33-block-grid{padding:18px 20px;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.qbv33-block-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;text-align:left;padding:0;font-family:inherit;transition:.14s}.qbv33-block-card:hover{border-color:var(--brand);box-shadow:0 10px 26px -16px rgba(12,85,244,.5);transform:translateY(-2px)}.qbv33-block-card .prev{height:104px;background:var(--rail);border-bottom:1px solid var(--line);padding:12px;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden}.qbv33-block-card .meta{padding:13px 15px}.qbv33-block-card .meta b{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:900;margin-bottom:5px}.qbv33-block-card .meta svg{width:15px;height:15px;fill:none;stroke:var(--brand);stroke-width:2}.qbv33-block-card .meta span{display:block;font-size:11.5px;color:var(--faint);line-height:1.35}.qbv33-mp-opt{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 7px;font-size:10.5px;font-weight:700}.qbv33-mp-opt i{width:12px;height:12px;border-radius:50%;border:2px solid var(--line-2)}.qbv33-mp-opt.box i{border-radius:4px}.qbv33-mp-opt.on i{background:var(--pv);border-color:var(--pv)}.qbv33-mp-opt span{margin-left:auto;font-family:'JetBrains Mono',monospace;font-size:9px;color:var(--soft)}.qbv33-mp-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.qbv33-mp-grid i{height:32px;border-radius:6px;border:1.5px solid var(--line);background:var(--rail-2)}.qbv33-mp-grid i.on{border-color:var(--pv);box-shadow:0 0 0 2px color-mix(in srgb,var(--pv) 25%,#fff)}.qbv33-mp-select{border:1px solid var(--line);border-radius:7px;padding:8px 9px;font-size:10.5px;color:var(--soft);display:flex;justify-content:space-between;background:#fff}.qbv33-mp-pills{display:flex;gap:6px}.qbv33-mp-pills span{flex:1;text-align:center;border:1.5px solid var(--line);border-radius:7px;padding:7px;font-weight:800}.qbv33-mp-pills .on{border-color:var(--pv);color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff)}.qbv33-mp-num{display:flex;align-items:center;gap:8px;justify-content:center}.qbv33-mp-num span{width:24px;height:24px;border-radius:6px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;font-weight:900}.qbv33-mp-range{height:5px;border-radius:99px;background:var(--line-2);position:relative}.qbv33-mp-range:after{content:"";position:absolute;left:0;top:0;height:100%;width:55%;background:var(--pv);border-radius:99px}.qbv33-mp-range i{position:absolute;left:53%;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--pv)}.qbv33-mp-scale{display:flex;justify-content:space-between;font-size:9px;color:var(--faint);margin-top:8px}.qbv33-mp-line{height:9px;border-radius:4px;background:var(--line-2);width:42%;margin-bottom:7px}.qbv33-mp-input{border:1px solid var(--line);border-radius:7px;height:28px;background:#fff;padding:7px 9px;font-size:10px;color:var(--faint)}.qbv33-mp-area{border:1px solid var(--line);border-radius:7px;height:46px;background:#fff}.qbv33-mp-head{font-weight:900;font-size:12px;border-left:3px solid var(--pv);padding-left:8px}.qbv33-mp-head span{display:block;font-weight:600;color:var(--faint);font-size:9.5px;margin-top:3px}.qbv33-pv-head{background:linear-gradient(135deg,var(--pv),var(--pv-d));color:#fff;padding:18px;position:relative}.qbv33-pv-head b{font-size:19px;font-weight:900;display:block}.qbv33-pv-head span{font-size:12px;opacity:.9}.qbv33-pv-head i{display:block;height:6px;background:#fff;border-radius:99px;margin-top:13px}.qbv33-pv-body{padding:18px;max-height:520px;overflow:auto}.qbv33-pv-step{font-weight:900;font-size:15px;margin:0 0 14px}.qbv33-pv-q{margin-bottom:20px}.qbv33-pv-q>b{display:block;font-size:14.5px;font-weight:900;margin-bottom:6px}.qbv33-pv-q .help{font-size:12px;color:var(--faint);margin-bottom:11px;line-height:1.4}.qbv33-pv-options{display:flex;flex-direction:column;gap:9px}.qbv33-pv-options button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;border:1.5px solid var(--line);border-radius:12px;background:#fff;padding:13px 15px;text-align:left;cursor:pointer}.qbv33-pv-options button.on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff)}.qbv33-pv-options img{width:38px;height:38px;border-radius:9px;object-fit:cover}.qbv33-pv-options span{font-weight:700}.qbv33-pv-options em,.qbv33-pv-grid em{font-style:normal;font-family:'JetBrains Mono',monospace;color:var(--soft);font-weight:800;font-size:12px}.qbv33-pv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qbv33-pv-grid button{border:1.5px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;padding:0;text-align:left}.qbv33-pv-grid button.on{border-color:var(--pv);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv) 18%,#fff)}.qbv33-pv-grid i{display:block;height:74px;background:var(--rail-2) center/cover}.qbv33-pv-grid span{display:flex;justify-content:space-between;gap:6px;padding:9px 10px;font-size:12.5px;font-weight:800}.qbv33-pv-q input,.qbv33-pv-q textarea,.qbv33-pv-q select{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-family:inherit}.qbv33-pv-q textarea{min-height:82px}.qbv33-pv-pills{display:flex;gap:10px}.qbv33-pv-pills button{flex:1;border:1.5px solid var(--line);border-radius:12px;background:#fff;padding:13px;text-align:center;font-weight:800}.qbv33-pv-pills .on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff);color:var(--pv)}.qbv33-pv-num{display:flex;align-items:center;gap:14px}.qbv33-pv-num button{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px}.qbv33-pv-num strong{min-width:26px;text-align:center;font-size:16px}.qbv33-pv-range{display:flex;justify-content:space-between;font-size:12.5px;color:var(--soft);font-weight:800;margin-top:6px}.qbv33-pv-headline{font-weight:900;font-size:17px;border-left:3px solid var(--pv);padding-left:12px;margin-bottom:18px}.qbv33-pv-headline span{display:block;font-weight:600;font-size:12.5px;color:var(--faint);margin-top:4px}.qbv33-pv-empty{text-align:center;color:var(--faint);padding:40px 10px;font-size:13.5px}.qbv33-pv-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.qbv33-pv-foot button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 14px;font-weight:800}.qbv33-pv-foot button.pri{border:0;background:var(--pv);color:#fff}.qbv33-pv-foot em{font-style:normal;margin-left:auto;font-size:13px;color:var(--soft)}.qbv33-pv-foot em b{font-family:'JetBrains Mono',monospace;color:var(--pv);font-size:16px}.qbv33-pv-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.qbv33-pv-total b{font-family:'JetBrains Mono',monospace;font-size:26px;color:var(--pv)}@media(max-width:1180px){.qbv33-work{grid-template-columns:1fr}.qbv33-preview-wrap{position:static}}@media(max-width:900px){.qbv33-block-grid{grid-template-columns:1fr 1fr}.qbv33-modes{grid-template-columns:1fr}}@media(max-width:620px){.qbv33-block-grid{grid-template-columns:1fr}.qbv33-qh{align-items:stretch}.qbv33-qh .label,.qbv33-qh select{width:100%;min-width:0}.qbv33-opt{flex-wrap:wrap}.qbv33-opt input:not(.price){min-width:calc(100% - 82px)}}


/* ===== V34 — corrections maquette devis-builder exacte ===== */
#hd-root .qbv33{--pv:#7A5BE0;--pv-d:#5E45B8}
#hd-root .qbv33 .row2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}
#hd-root .qbv33-head{padding:22px;border-radius:14px;margin-bottom:26px}
#hd-root .qbv33-head:before{border-top-left-radius:14px;border-bottom-left-radius:14px}
#hd-root .qbv33-actions .btn svg,
#hd-root .qbv33-addblock svg,
#hd-root .qbv33-addstep svg,
#hd-root .qbv33-empty-add svg{width:16px!important;height:16px!important;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:2.4}
#hd-root .qbv33-work{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start;margin-top:26px}
#hd-root .qbv33-step{border-radius:14px;overflow:hidden;background:#fff}
#hd-root .qbv33-step-h{padding:14px 16px;min-height:58px;background:#fff}
#hd-root .qbv33-step-body{padding:14px 16px;background:#fff}
#hd-root .qbv33-empty{border:1.5px dashed var(--line-2);border-radius:14px;padding:26px;text-align:center;color:var(--faint);margin:0;background:#fff;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
#hd-root .qbv33-empty p{margin:0;font-size:13.5px;font-weight:600;color:var(--faint)}
#hd-root .qbv33-empty-add{min-height:unset;width:auto;align-self:center;border-radius:10px;padding:9px 15px;display:inline-flex;align-items:center;gap:7px}
#hd-root .qbv33-addblock{min-height:unset;height:auto;padding:11px;border-radius:10px;margin-top:4px}
#hd-root .qbv33-addstep{min-height:unset;height:auto;padding:15px;border-radius:14px}
#hd-root .qbv33-q{padding-bottom:14px;margin-bottom:12px;border-radius:14px;background:var(--rail)}
#hd-root .qbv33-qh{padding:14px 18px 10px;gap:9px}
#hd-root .qbv33-help{padding:0 18px 12px}
#hd-root .qbv33-help input{padding:10px 13px}
#hd-root .qbv33-options{padding:0 18px 12px;gap:8px}
#hd-root .qbv33-erow{padding:0 18px 12px}
#hd-root .qbv33-note{padding:2px 18px 0}
#hd-root .qbv33-opt{padding:8px 9px;border-radius:10px}
#hd-root .qbv33-img{width:46px;height:46px}
#hd-root .qbv33-preview-wrap{position:sticky;top:14px}
#hd-root .qbv33-phone{border-radius:20px;overflow:hidden;background:#fff}
#hd-root .qbv33-block-card .prev{height:104px}
#hd-root .qbv33-block-card .meta{padding:11px 13px}
#hd-root .qbv33-modal button{font-family:inherit}
@media(max-width:1180px){#hd-root .qbv33-work{grid-template-columns:1fr}#hd-root .qbv33-preview-wrap{position:static}}
@media(max-width:900px){#hd-root .qbv33 .row2,#hd-root .qbv33-modes{grid-template-columns:1fr}}

/* ===== V35 — devis builder: reprise stricte de la maquette devis-builder ===== */
#hd-root .qbv35{--ease:cubic-bezier(.32,.72,0,1);--ease-out:cubic-bezier(.22,1,.36,1);--r-ctrl:10px;--radius:14px;--r-pill:99px;--brand:#0C55F4;--brand-d:#0942c4;--brand-soft:#EAF0FE;--pv:#7A5BE0;--pv-d:#5E45B8;--bg:#FFFFFF;--rail:#FBFAF8;--rail-2:#F4F2EE;--ink:#23211C;--soft:#6B6760;--faint:#9A958B;--line:#ECE9E2;--line-2:#E0DCD3;--ok:#16A36B;--red:#E5484D;--shadow:0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05);--shadow-lg:0 18px 50px rgba(35,33,28,.18);color:var(--ink);font-size:14px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;max-width:100%;}
#hd-root .qbv35 *,#hd-root .qbv35 *:before,#hd-root .qbv35 *:after{box-sizing:border-box}
#hd-root .qbv35 button,#hd-root .qbv35 input,#hd-root .qbv35 select,#hd-root .qbv35 textarea{font-family:inherit}
#hd-root .qbv35 .mono{font-family:"JetBrains Mono",monospace}
#hd-root .qbv35 h1{font-size:26px!important;font-weight:800!important;margin:0!important;letter-spacing:-.01em!important;line-height:1.15!important;color:var(--ink)!important}
#hd-root .qbv35 .lead{color:var(--soft);margin:6px 0 22px!important;font-size:14px!important;line-height:1.45!important}
#hd-root .qbv35 .card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:0;margin:0;overflow:visible}
#hd-root .qbv35 .bhead{padding:22px;position:relative;overflow:hidden;margin:0 0 26px;background:#fff;border-radius:var(--radius)}
#hd-root .qbv35 .bhead:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--brand);border-radius:0!important}
#hd-root .qbv35 .row1{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
#hd-root .qbv35 .bhead h2{margin:0!important;font-size:19px!important;font-weight:800!important;line-height:1.25;color:var(--ink)}
#hd-root .qbv35 .bhead .sub{color:var(--soft);font-size:13px;margin-top:3px;line-height:1.45}
#hd-root .qbv35 .hbtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#hd-root .qbv35 .pill-info{background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:800;padding:8px 13px;border-radius:var(--r-pill);line-height:1;white-space:nowrap}
#hd-root .qbv35 .btn{border:1px solid var(--line-2);background:#fff;border-radius:var(--r-ctrl);padding:9px 15px;font-weight:700;font-size:13px;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;gap:7px;line-height:1.15;min-height:36px;box-shadow:none;text-decoration:none}
#hd-root .qbv35 .btn:hover{background:var(--rail-2)}
#hd-root .qbv35 .btn.pri{background:var(--brand);color:#fff;border-color:transparent;box-shadow:0 10px 20px -12px color-mix(in srgb,var(--brand) 80%,#000)}
#hd-root .qbv35 .btn.pri:hover{background:var(--brand-d)}
#hd-root .qbv35 .btn svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;flex:0 0 16px!important}
#hd-root .qbv35 .grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}
#hd-root .qbv35 .field label{display:block;font-size:12.5px;font-weight:700;margin:0 0 7px;color:var(--ink)}
#hd-root .qbv35 .inp{width:100%;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:11px 13px;font-size:14px;font-family:inherit;outline:none;background:#fff;color:var(--ink);min-height:42px;box-shadow:none}
#hd-root .qbv35 .inp:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
#hd-root .qbv35 .final-label{margin-top:18px;font-size:12.5px;font-weight:700;color:var(--ink)}
#hd-root .qbv35 .modes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}
#hd-root .qbv35 .mode{border:1.5px solid var(--line);border-radius:var(--radius);padding:15px 16px;cursor:pointer;transition:.14s;background:#fff;text-align:left;width:100%;min-height:74px;color:var(--ink);box-shadow:none}
#hd-root .qbv35 .mode:hover{border-color:var(--line-2)}
#hd-root .qbv35 .mode.on{border-color:var(--brand);background:var(--brand-soft)}
#hd-root .qbv35 .mode b{font-size:14px;display:flex;align-items:center;gap:8px;font-weight:800;line-height:1.2;margin:0;color:var(--ink)}
#hd-root .qbv35 .mode.on b{color:var(--brand)}
#hd-root .qbv35 .mode span{display:block;color:var(--soft);font-size:12.5px;margin-top:5px;line-height:1.35}
#hd-root .qbv35 .mode svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;flex:0 0 16px}
#hd-root .qbv35 .work{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;margin-top:26px;align-items:start}
#hd-root .qbv35 .sect-t,#hd-root .qbv35 .pv-cap{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin:0 0 12px;line-height:1.2}
#hd-root .qbv35 .step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}
#hd-root .qbv35 .step.dragging,#hd-root .qbv35 .q.dragging,#hd-root .qbv35 .opt.dragging{opacity:.45}
#hd-root .qbv35 .step-h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);min-height:58px;background:#fff}
#hd-root .qbv35 .drag{cursor:grab;color:var(--faint);display:grid;place-items:center;width:26px;height:26px;border-radius:8px;flex-shrink:0;background:transparent}
#hd-root .qbv35 .drag:hover{background:var(--rail-2);color:var(--soft)}
#hd-root .qbv35 .drag svg{width:16px!important;height:16px!important;fill:currentColor!important;stroke:none!important;display:block}
#hd-root .qbv35 .stitle{flex:1;border:1px solid transparent;border-radius:8px;padding:6px 8px;font-size:15px;font-weight:800;font-family:inherit;background:transparent;min-width:0;outline:none;color:var(--ink);min-height:34px;box-shadow:none}
#hd-root .qbv35 .stitle:focus{border-color:var(--brand);background:#fff}
#hd-root .qbv35 .mini{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--soft);cursor:pointer;display:grid;place-items:center;padding:0;flex-shrink:0;box-shadow:none}
#hd-root .qbv35 .mini:hover{background:var(--rail-2)}
#hd-root .qbv35 .mini svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
#hd-root .qbv35 .del{color:var(--red);font-weight:700;font-size:12.5px;background:transparent;border:0;cursor:pointer;padding:6px 8px;border-radius:8px;height:30px;box-shadow:none;white-space:nowrap}
#hd-root .qbv35 .del:hover{background:#FCEBEC}
#hd-root .qbv35 .step-body{padding:14px 16px;background:#fff}
#hd-root .qbv35 .empty{border:1.5px dashed var(--line-2);border-radius:var(--radius);padding:26px;text-align:center;color:var(--faint);background:#fff;margin:0;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
#hd-root .qbv35 .empty p{margin:0;font-size:13.5px;font-weight:600;color:var(--faint);line-height:1.4}
#hd-root .qbv35 .q{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px;background:var(--rail);overflow:hidden;padding-bottom:12px}
#hd-root .qbv35 .q-h{display:flex;align-items:center;gap:8px;padding:15px 16px 11px;flex-wrap:wrap}
#hd-root .qbv35 .qbadge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--soft);background:#fff;border:1px solid var(--line);border-radius:99px;padding:4px 10px;line-height:1.1;white-space:nowrap}
#hd-root .qbv35 .qbadge svg{width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
#hd-root .qbv35 .qlabel{flex:1;min-width:160px;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 12px;font-size:14px;font-family:inherit;font-weight:600;background:#fff;outline:none;color:var(--ink);min-height:40px;box-shadow:none}
#hd-root .qbv35 .qlabel:focus{border-color:var(--brand)}
#hd-root .qbv35 .sel{border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 11px;font-size:13px;font-family:inherit;background:#fff;font-weight:600;cursor:pointer;color:var(--ink);min-height:38px}
#hd-root .qbv35 .chk{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--soft);font-weight:600;cursor:pointer;user-select:none;white-space:nowrap}
#hd-root .qbv35 .chk input{accent-color:var(--brand);width:16px;height:16px;margin:0}
#hd-root .qbv35 .q-help{padding:0 16px 11px}
#hd-root .qbv35 .q-help .hlab{font-size:11.5px;font-weight:700;color:var(--soft);margin:0 0 6px;line-height:1.2}
#hd-root .qbv35 .help-inp{width:100%;border:1px dashed var(--line-2);border-radius:var(--r-ctrl);padding:10px 13px;font-size:13px;font-family:inherit;outline:none;background:#fff;color:var(--soft);min-height:38px;box-shadow:none}
#hd-root .qbv35 .help-inp:focus{border-style:solid;border-color:var(--brand);color:var(--ink)}
#hd-root .qbv35 .opts{padding:0 16px 12px;display:flex;flex-direction:column;gap:8px}
#hd-root .qbv35 .opt{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:8px 9px;min-height:46px}
#hd-root .qbv35 .imgbox{width:46px;height:46px;border-radius:9px;border:1.5px dashed var(--line-2);flex-shrink:0;display:grid;place-items:center;cursor:pointer;overflow:hidden;background:var(--rail);position:relative;color:var(--faint)}
#hd-root .qbv35 .imgbox:hover{border-color:var(--brand);background:var(--brand-soft)}
#hd-root .qbv35 .imgbox img{width:100%;height:100%;object-fit:cover;display:block}
#hd-root .qbv35 .imgbox .ph{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--faint);font-size:9px;font-weight:800;line-height:1}
#hd-root .qbv35 .imgbox .ph svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
#hd-root .qbv35 .imgbox .rm{position:absolute;top:2px;right:2px;width:16px;height:16px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:none;place-items:center;font-size:10px;border:0;cursor:pointer;padding:0;line-height:1}
#hd-root .qbv35 .imgbox.has .rm{display:grid}
#hd-root .qbv35 .olabel{flex:1;min-width:80px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13.5px;font-family:inherit;outline:none;background:#fff;color:var(--ink);min-height:36px;box-shadow:none}
#hd-root .qbv35 .olabel:focus{border-color:var(--brand)}
#hd-root .qbv35 .plus{color:var(--faint);font-weight:800;font-size:15px;line-height:1}
#hd-root .qbv35 .price{width:78px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px;font-family:"JetBrains Mono",monospace;outline:none;text-align:right;background:#fff;color:var(--ink);min-height:36px;box-shadow:none}
#hd-root .qbv35 .price:focus{border-color:var(--brand)}
#hd-root .qbv35 .eur{color:var(--soft);font-weight:700}
#hd-root .qbv35 .opt .x{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--red);cursor:pointer;font-size:16px;line-height:1;flex-shrink:0;padding:0;box-shadow:none}
#hd-root .qbv35 .opt .x:hover{background:#FCEBEC}
#hd-root .qbv35 .addopt{align-self:flex-start;border:1px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:700;font-size:12.5px;border-radius:var(--r-ctrl);padding:8px 12px;cursor:pointer;box-shadow:none}
#hd-root .qbv35 .addopt:hover{background:var(--brand-soft)}
#hd-root .qbv35 .erow{padding:0 16px 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#hd-root .qbv35 .erow label{font-size:12.5px;font-weight:700;color:var(--soft)}
#hd-root .qbv35 .erow .price{width:90px}
#hd-root .qbv35 .qnote{padding:0 16px 12px;font-size:12.5px;color:var(--faint);line-height:1.45}
#hd-root .qbv35 .addblock{width:100%;border:1px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:700;font-size:13px;border-radius:var(--r-ctrl);padding:11px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;min-height:40px;box-shadow:none}
#hd-root .qbv35 .addblock:hover{background:var(--brand-soft)}
#hd-root .qbv35 .addblock svg,#hd-root .qbv35 .addstep svg,#hd-root .qbv35 .empty .btn svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;flex:0 0 16px}
#hd-root .qbv35 .addstep{width:100%;border:1.5px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:800;font-size:14px;border-radius:var(--radius);padding:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;min-height:49px;box-shadow:none}
#hd-root .qbv35 .addstep:hover{background:var(--brand-soft)}
#hd-root .qbv35 .preview-wrap{position:sticky;top:14px}
#hd-root .qbv35 .phone{border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);background:#fff}
#hd-root .qbv35 .pv-head{background:linear-gradient(135deg,var(--pv),var(--pv-d));color:#fff;padding:18px;position:relative}
#hd-root .qbv35 .pv-head b{font-size:19px;font-weight:800;line-height:1.2;display:block;color:#fff}
#hd-root .qbv35 .pv-head .st{font-size:12px;opacity:.9;margin-top:2px}
#hd-root .qbv35 .pv-prog{height:6px;background:rgba(255,255,255,.3);border-radius:99px;margin-top:13px;overflow:hidden}
#hd-root .qbv35 .pv-prog i{display:block;height:100%;background:#fff;border-radius:99px;transition:width .4s var(--ease)}
#hd-root .qbv35 .pv-body{padding:18px;max-height:520px;overflow:auto;background:#fff}
#hd-root .qbv35 .pv-empty{text-align:center;color:var(--faint);padding:40px 10px;font-size:13.5px;line-height:1.4}
#hd-root .qbv35 .pv-q{margin-bottom:20px}
#hd-root .qbv35 .pv-q>.lab{font-weight:800;font-size:14.5px;margin-bottom:4px;color:var(--ink)}
#hd-root .qbv35 .pv-q>.help{font-size:12px;color:var(--faint);margin-bottom:10px;line-height:1.4}
#hd-root .qbv35 .pv-headline{font-weight:800;font-size:17px;border-left:3px solid var(--pv);padding-left:10px;margin-bottom:18px;color:var(--ink)}
#hd-root .qbv35 .pv-headline span{display:block;font-weight:500;font-size:12.5px;color:var(--faint);margin-top:3px}
#hd-root .qbv35 .pv-opt{display:flex;align-items:center;gap:11px;border:1.5px solid var(--line);border-radius:12px;padding:11px 13px;margin-bottom:9px;cursor:pointer;transition:.12s;background:#fff;color:var(--ink);text-align:left;width:100%;box-shadow:none}
#hd-root .qbv35 .pv-opt:hover{border-color:#cfc6f0}
#hd-root .qbv35 .pv-opt.on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff)}
#hd-root .qbv35 .pv-opt .thumb{width:38px;height:38px;border-radius:9px;object-fit:cover;flex-shrink:0;border:1px solid var(--line)}
#hd-root .qbv35 .pv-opt .mk{width:20px;height:20px;border-radius:6px;border:2px solid var(--line-2);flex-shrink:0;display:grid;place-items:center}
#hd-root .qbv35 .pv-opt.radio .mk{border-radius:50%}
#hd-root .qbv35 .pv-opt.on .mk{border-color:var(--pv);background:var(--pv)}
#hd-root .qbv35 .pv-opt.on .mk svg{width:12px!important;height:12px!important;stroke:#fff!important;fill:none!important;stroke-width:3!important}
#hd-root .qbv35 .pv-opt .ol{flex:1;font-weight:600;font-size:13.5px}
#hd-root .qbv35 .pv-opt .op{font-family:"JetBrains Mono",monospace;font-size:12px;color:var(--soft);font-weight:700}
#hd-root .qbv35 .pv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#hd-root .qbv35 .pv-tile{border:1.5px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;transition:.12s;background:#fff;text-align:left;padding:0;box-shadow:none;color:var(--ink)}
#hd-root .qbv35 .pv-tile:hover{border-color:#cfc6f0}
#hd-root .qbv35 .pv-tile.on{border-color:var(--pv);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv) 18%,#fff)}
#hd-root .qbv35 .pv-tile .im{height:74px;background:var(--rail-2) center/cover;display:grid;place-items:center;color:var(--faint)}
#hd-root .qbv35 .pv-tile .im svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
#hd-root .qbv35 .pv-tile .tl{display:flex;justify-content:space-between;gap:6px;padding:8px 10px;font-size:12.5px;font-weight:700}
#hd-root .qbv35 .pv-tile .tl .op{font-family:"JetBrains Mono",monospace;color:var(--soft);font-weight:700;font-size:11px}
#hd-root .qbv35 .pv-num{display:flex;align-items:center;gap:14px}
#hd-root .qbv35 .pv-num button{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer;padding:0;color:var(--ink);box-shadow:none}
#hd-root .qbv35 .pv-num b{min-width:26px;text-align:center;font-size:16px}
#hd-root .qbv35 .pv-range input{width:100%;accent-color:var(--pv)}
#hd-root .qbv35 .pv-range .vv{display:flex;justify-content:space-between;font-size:12.5px;color:var(--soft);font-weight:700;margin-top:6px}
#hd-root .qbv35 .pv-pills{display:flex;gap:10px}
#hd-root .qbv35 .pv-pill{flex:1;border:1.5px solid var(--line);border-radius:12px;padding:12px;text-align:center;font-weight:700;font-size:14px;cursor:pointer;background:#fff;color:var(--ink);box-shadow:none}
#hd-root .qbv35 .pv-pill.on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff);color:var(--pv)}
#hd-root .qbv35 .pv-in{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:13.5px;font-family:inherit;outline:none;background:#fff;color:var(--ink);box-shadow:none}
#hd-root .qbv35 .pv-in:focus{border-color:var(--pv)}
#hd-root .qbv35 textarea.pv-in{min-height:80px;resize:vertical}
#hd-root .qbv35 select.pv-in{appearance:auto}
#hd-root .qbv35 .pv-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;background:#fff}
#hd-root .qbv35 .pv-total{margin-left:auto;font-size:13px;color:var(--soft);font-weight:600}
#hd-root .qbv35 .pv-total b{font-family:"JetBrains Mono",monospace;color:var(--pv);font-size:16px;margin-left:4px}
#hd-root .qbv35 .pv-btn{border:0;background:var(--pv);color:#fff;border-radius:10px;padding:10px 16px;font-weight:700;font-size:13.5px;cursor:pointer;min-width:92px;text-align:center;box-shadow:none}
#hd-root .qbv35 .pv-back{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 14px;font-weight:700;font-size:13px;cursor:pointer;color:var(--ink);box-shadow:none}
#hd-root .qbv35 .pv-recap .r{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:8px 0;border-bottom:1px solid var(--line)}
#hd-root .qbv35 .pv-grand{display:flex;justify-content:space-between;align-items:center;padding:14px 0 4px}
#hd-root .qbv35 .pv-grand .v{font-family:"JetBrains Mono",monospace;font-size:26px;font-weight:800;color:var(--pv)}
#hd-root .qbv35 .mscrim{position:fixed;inset:0;z-index:10090;background:rgba(20,18,14,.35);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:.2s}
#hd-root .qbv35 .mscrim.on{opacity:1;pointer-events:auto}
#hd-root .qbv35 .mwin{position:fixed;z-index:10091;left:50%;top:50%;transform:translate(-50%,-46%) scale(.97);opacity:0;pointer-events:none;transition:.22s var(--ease-out);width:min(760px,94vw);max-height:84vh;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);overflow:hidden}
#hd-root .qbv35 .mwin.on{opacity:1;transform:translate(-50%,-50%) scale(1);pointer-events:auto}
#hd-root .qbv35 .mwin-h{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
#hd-root .qbv35 .mwin-h b{font-size:16px;font-weight:800;color:var(--ink)}
#hd-root .qbv35 .mwin-h span{font-size:12.5px;color:var(--faint)}
#hd-root .qbv35 .mwin-h .close{margin-left:auto;width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:16px;color:var(--soft);padding:0;box-shadow:none}
#hd-root .qbv35 .bgrid{padding:18px 20px;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
#hd-root .qbv35 .bcard{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;cursor:pointer;background:#fff;transition:.14s;text-align:left;padding:0;font-family:inherit;box-shadow:none;color:var(--ink)}
#hd-root .qbv35 .bcard:hover{border-color:var(--brand);box-shadow:0 10px 26px -16px rgba(12,85,244,.5);transform:translateY(-2px)}
#hd-root .qbv35 .bcard .prev{height:104px;background:var(--rail);border-bottom:1px solid var(--line);padding:12px;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden}
#hd-root .qbv35 .bcard .meta{padding:15px 17px 14px}
#hd-root .qbv35 .bcard .nm{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:7px;line-height:1.25;color:var(--ink)}
#hd-root .qbv35 .bcard .nm svg{width:15px!important;height:15px!important;fill:none!important;stroke:var(--brand)!important;stroke-width:2!important;flex:0 0 15px}
#hd-root .qbv35 .bcard .ds{font-size:11.5px;color:var(--faint);margin-top:5px;line-height:1.4}
#hd-root .qbv35 .mp-opt{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 7px;font-size:10.5px;font-weight:600;color:var(--ink)}
#hd-root .qbv35 .mp-opt .d{width:12px;height:12px;border-radius:50%;border:2px solid var(--line-2);flex:0 0 12px}
#hd-root .qbv35 .mp-opt.on .d{border-color:var(--pv);background:var(--pv)}
#hd-root .qbv35 .mp-opt .b{width:12px;height:12px;border-radius:4px;border:2px solid var(--line-2);flex:0 0 12px}
#hd-root .qbv35 .mp-opt.on .b{border-color:var(--pv);background:var(--pv)}
#hd-root .qbv35 .mp-opt .p{margin-left:auto;font-family:"JetBrains Mono",monospace;font-size:9px;color:var(--soft)}
#hd-root .qbv35 .mp-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
#hd-root .qbv35 .mp-tile{height:32px;border-radius:6px;border:1.5px solid var(--line);background:var(--rail-2)}
#hd-root .qbv35 .mp-tile.on{border-color:var(--pv);box-shadow:0 0 0 2px color-mix(in srgb,var(--pv) 25%,#fff)}
#hd-root .qbv35 .mp-num{display:flex;align-items:center;gap:8px;justify-content:center}
#hd-root .qbv35 .mp-num span{width:24px;height:24px;border-radius:6px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;font-weight:800}
#hd-root .qbv35 .mp-num b{font-size:14px}
#hd-root .qbv35 .mp-range{height:5px;border-radius:99px;background:var(--line-2);position:relative}
#hd-root .qbv35 .mp-range:after{content:"";position:absolute;left:0;top:0;height:100%;width:55%;background:var(--pv);border-radius:99px}
#hd-root .qbv35 .mp-range i{position:absolute;left:53%;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--pv)}
#hd-root .qbv35 .mp-pills{display:flex;gap:6px}
#hd-root .qbv35 .mp-pills span{flex:1;text-align:center;border:1.5px solid var(--line);border-radius:7px;padding:6px;font-size:10.5px;font-weight:700}
#hd-root .qbv35 .mp-pills span.on{border-color:var(--pv);color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff)}
#hd-root .qbv35 .mp-sel{border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:10.5px;color:var(--soft);display:flex;justify-content:space-between;background:#fff}
#hd-root .qbv35 .mp-line{height:9px;border-radius:4px;background:var(--line-2)}
#hd-root .qbv35 .mp-input{border:1px solid var(--line);border-radius:7px;height:26px;background:#fff;display:flex;align-items:center;padding:0 8px;font-size:10px;color:var(--faint)}
#hd-root .qbv35 .mp-area{border:1px solid var(--line);border-radius:7px;height:46px;background:#fff}
#hd-root .qbv35 .mp-head{font-weight:800;font-size:12px;border-left:3px solid var(--pv);padding-left:8px;color:var(--ink)}
#hd-root .qbv35 .mp-head small{display:block;font-weight:500;color:var(--faint);font-size:9.5px;margin-top:2px}
#hd-root .qbv35 .mp-scale{display:flex;justify-content:space-between;font-size:9px;color:var(--faint);margin-top:8px}
@media(max-width:1180px){#hd-root .qbv35 .work{grid-template-columns:1fr}#hd-root .qbv35 .preview-wrap{position:static}}
@media(max-width:900px){#hd-root .qbv35 .grid2,#hd-root .qbv35 .modes{grid-template-columns:1fr}#hd-root .qbv35 .bgrid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){#hd-root .qbv35 .bgrid{grid-template-columns:1fr}#hd-root .qbv35 .q-h{align-items:stretch}#hd-root .qbv35 .qlabel,#hd-root .qbv35 .sel{width:100%;min-width:0}#hd-root .qbv35 .opt{flex-wrap:wrap}#hd-root .qbv35 .olabel{min-width:calc(100% - 86px)}}

/* ===== V36 — fixes builder devis strict : modale viewport, images, cohérence ===== */
body > .heto-q35-scrim{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(20,18,14,.35)!important;backdrop-filter:blur(3px)!important;opacity:0;pointer-events:none;transition:.2s!important}
body > .heto-q35-scrim.on{opacity:1!important;pointer-events:auto!important}
body > .heto-q35-modal{position:fixed!important;z-index:2147483001!important;left:50vw!important;top:50vh!important;transform:translate(-50%,-46%) scale(.97)!important;opacity:0;pointer-events:none;transition:.22s cubic-bezier(.22,1,.36,1)!important;width:min(760px,94vw)!important;max-height:min(84vh,760px)!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #ECE9E2!important;border-radius:18px!important;box-shadow:0 18px 50px rgba(35,33,28,.18)!important;overflow:hidden!important;font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;color:#23211C!important}
body > .heto-q35-modal.on{opacity:1!important;transform:translate(-50%,-50%) scale(1)!important;pointer-events:auto!important}
body > .heto-q35-modal .mwin-h{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #ECE9E2;background:#fff}
body > .heto-q35-modal .mwin-h b{font-size:16px;font-weight:800;color:#23211C}
body > .heto-q35-modal .mwin-h span{font-size:12.5px;color:#9A958B}
body > .heto-q35-modal .mwin-h .close{margin-left:auto;width:32px;height:32px;border-radius:8px;border:1px solid #ECE9E2;background:#fff;cursor:pointer;font-size:16px;color:#6B6760;padding:0;box-shadow:none}
body > .heto-q35-modal .bgrid{padding:18px 20px;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
body > .heto-q35-modal .bcard{border:1px solid #ECE9E2;border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;transition:.14s;text-align:left;padding:0;font-family:inherit;box-shadow:none;color:#23211C}
body > .heto-q35-modal .bcard:hover{border-color:#0C55F4;box-shadow:0 10px 26px -16px rgba(12,85,244,.5);transform:translateY(-2px)}
body > .heto-q35-modal .bcard .prev{height:104px;background:#FBFAF8;border-bottom:1px solid #ECE9E2;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden}
body > .heto-q35-modal .bcard .meta{padding:15px 17px 14px}
body > .heto-q35-modal .bcard .nm{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:7px;line-height:1.25;color:#23211C}
body > .heto-q35-modal .bcard .nm svg{width:15px!important;height:15px!important;fill:none!important;stroke:#0C55F4!important;stroke-width:2!important;flex:0 0 15px}
body > .heto-q35-modal .bcard .ds{font-size:11.5px;color:#9A958B;margin-top:5px;line-height:1.4}
body > .heto-q35-modal .mp-opt{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #ECE9E2;border-radius:7px;padding:5px 7px;font-size:10.5px;font-weight:600;color:#23211C}
body > .heto-q35-modal .mp-opt .d{width:12px;height:12px;border-radius:50%;border:2px solid #E0DCD3;flex:0 0 12px}body > .heto-q35-modal .mp-opt.on .d{border-color:#7A5BE0;background:#7A5BE0}body > .heto-q35-modal .mp-opt .b{width:12px;height:12px;border-radius:4px;border:2px solid #E0DCD3;flex:0 0 12px}body > .heto-q35-modal .mp-opt.on .b{border-color:#7A5BE0;background:#7A5BE0}body > .heto-q35-modal .mp-opt .p{margin-left:auto;font-family:"JetBrains Mono",monospace;font-size:9px;color:#6B6760}
body > .heto-q35-modal .mp-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}body > .heto-q35-modal .mp-tile{height:32px;border-radius:6px;border:1.5px solid #ECE9E2;background:#F4F2EE}body > .heto-q35-modal .mp-tile.on{border-color:#7A5BE0;box-shadow:0 0 0 2px rgba(122,91,224,.18)}body > .heto-q35-modal .mp-num{display:flex;align-items:center;gap:8px;justify-content:center}body > .heto-q35-modal .mp-num span{width:24px;height:24px;border-radius:6px;border:1px solid #ECE9E2;background:#fff;display:grid;place-items:center;font-weight:800}body > .heto-q35-modal .mp-num b{font-size:14px}body > .heto-q35-modal .mp-range{height:5px;border-radius:99px;background:#E0DCD3;position:relative}body > .heto-q35-modal .mp-range:after{content:"";position:absolute;left:0;top:0;height:100%;width:55%;background:#7A5BE0;border-radius:99px}body > .heto-q35-modal .mp-range i{position:absolute;left:53%;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #7A5BE0}body > .heto-q35-modal .mp-scale{display:flex;justify-content:space-between;font-size:9px;color:#9A958B;margin-top:8px}body > .heto-q35-modal .mp-pills{display:flex;gap:6px}body > .heto-q35-modal .mp-pills span{flex:1;text-align:center;border:1.5px solid #ECE9E2;border-radius:7px;padding:6px;font-size:10.5px;font-weight:700}body > .heto-q35-modal .mp-pills span.on{border-color:#7A5BE0;color:#7A5BE0;background:rgba(122,91,224,.08)}body > .heto-q35-modal .mp-sel{border:1px solid #ECE9E2;border-radius:7px;padding:7px 9px;font-size:10.5px;color:#6B6760;display:flex;justify-content:space-between;background:#fff}body > .heto-q35-modal .mp-line{height:9px;border-radius:4px;background:#E0DCD3}body > .heto-q35-modal .mp-input{border:1px solid #ECE9E2;border-radius:7px;height:26px;background:#fff;display:flex;align-items:center;padding:0 8px;font-size:10px;color:#9A958B}body > .heto-q35-modal .mp-area{border:1px solid #ECE9E2;border-radius:7px;height:46px;background:#fff}body > .heto-q35-modal .mp-head{font-weight:800;font-size:12px;border-left:3px solid #7A5BE0;padding-left:8px;color:#23211C}body > .heto-q35-modal .mp-head small{display:block;font-weight:500;color:#9A958B;font-size:9.5px;margin-top:2px}
#hd-root .qbv35 .imgbox{z-index:2}
#hd-root .qbv35 .imgbox *{pointer-events:none}
#hd-root .qbv35 .imgbox .rm{pointer-events:auto}
#hd-root .qbv35 .drag[draggable="true"]{cursor:grab}
#hd-root .qbv35 .drag[draggable="true"]:active{cursor:grabbing}
@media(max-width:900px){body > .heto-q35-modal .bgrid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){body > .heto-q35-modal{width:94vw!important;max-height:88vh!important}body > .heto-q35-modal .bgrid{grid-template-columns:1fr}}

/* HETO V39 — cohérence devis : flou modal, texte riche et images locales */
body > .heto-q35-scrim{background:rgba(20,18,14,.42)!important;backdrop-filter:blur(10px) saturate(1.08)!important;-webkit-backdrop-filter:blur(10px) saturate(1.08)!important}
body > .heto-q35-modal{border-radius:18px!important;box-shadow:0 28px 90px rgba(20,18,14,.26)!important}
html.heto-q35-modal-open #hd-root .app{filter:blur(1.5px);transition:filter .2s ease}
#hd-root .qbv35 .q35-rich-wrap{flex:1 1 320px;min-width:220px;display:flex;flex-direction:column;gap:7px}
#hd-root .qbv35 textarea.qlabel.q35-title-ta{height:auto!important;min-height:58px;resize:vertical;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
#hd-root .qbv35 textarea.help-inp.q35-help-ta{height:auto!important;min-height:76px;resize:vertical;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--soft)}
#hd-root .qbv35 .q35-format{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#hd-root .qbv35 .q35-format button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px 9px;font-size:11.5px;font-weight:800;color:var(--soft);cursor:pointer;box-shadow:none;line-height:1.1}
#hd-root .qbv35 .q35-format button:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
#hd-root .qbv35 .q35-format.small button{font-size:11px;padding:4px 8px}
#hd-root .qbv35 .pv-headline,#hd-root .qbv35 .pv-headline *{white-space:normal;overflow-wrap:anywhere;word-break:normal;max-width:100%}
#hd-root .qbv35 .pv-headline strong{display:block;font-weight:800;line-height:1.25}
#hd-root .qbv35 .pv-headline span{display:block;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
#hd-root .qbv35 .pv-q .lab,#hd-root .qbv35 .pv-q .help,#hd-root .qbv35 .pv-opt .ol,#hd-root .qbv35 .pv-tile .tl{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;min-width:0}
#hd-root .qbv35 .phone,#hd-root .qbv35 .pv-body{min-width:0;overflow-wrap:anywhere}
#hd-root .qbv35 .imgbox{cursor:pointer!important;position:relative!important}
#hd-root .qbv35 .imgbox:after{content:'Depuis ordinateur';position:absolute;left:50%;bottom:2px;transform:translateX(-50%);font-size:7px;font-weight:900;letter-spacing:-.02em;color:var(--faint);background:rgba(255,255,255,.86);border-radius:99px;padding:1px 4px;opacity:0;transition:.12s;white-space:nowrap;pointer-events:none}
#hd-root .qbv35 .imgbox:hover:after{opacity:1}
@media(max-width:620px){#hd-root .qbv35 .q35-rich-wrap{flex-basis:100%;min-width:0}#hd-root .qbv35 .q-h{gap:10px}}


/* ===== V40 — popup stable, flou propre, textes responsive ===== */
html.heto-q40-open body{overflow:hidden!important}
html.heto-q40-open #hd-root .app{filter:blur(1.5px);transition:filter .18s ease}
body > .heto-q40-scrim{position:fixed!important;inset:0!important;z-index:2147483400!important;background:rgba(20,18,14,.42)!important;backdrop-filter:blur(11px) saturate(1.08)!important;-webkit-backdrop-filter:blur(11px) saturate(1.08)!important;opacity:0;pointer-events:none;transition:opacity .2s ease!important}
body > .heto-q40-scrim.on{opacity:1!important;pointer-events:auto!important}
body > .heto-q40-modal{position:fixed!important;left:50vw!important;top:50vh!important;z-index:2147483401!important;width:min(760px,94vw)!important;max-height:min(84vh,760px)!important;background:#fff!important;border:1px solid #ECE9E2!important;border-radius:18px!important;box-shadow:0 28px 90px rgba(20,18,14,.26)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;color:#23211C!important;opacity:0!important;transform:translate(-50%,-46%) scale(.97)!important;pointer-events:none!important;transition:opacity .22s cubic-bezier(.22,1,.36,1), transform .22s cubic-bezier(.22,1,.36,1)!important}
body > .heto-q40-modal.on{opacity:1!important;transform:translate(-50%,-50%) scale(1)!important;pointer-events:auto!important}
body > .heto-q40-modal .heto-q40-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #ECE9E2;background:#fff;flex-shrink:0}
body > .heto-q40-modal .heto-q40-head b{display:block;font-size:16px;font-weight:800;line-height:1.25;color:#23211C}
body > .heto-q40-modal .heto-q40-head span{display:block;font-size:12.5px;color:#9A958B;margin-top:2px;line-height:1.35}
body > .heto-q40-modal .heto-q40-head .close{margin-left:auto;width:32px;height:32px;border-radius:8px;border:1px solid #ECE9E2;background:#fff;color:#6B6760;cursor:pointer;font-size:18px;line-height:1;display:grid;place-items:center;padding:0;box-shadow:none;flex-shrink:0}
body > .heto-q40-modal .heto-q40-grid{padding:18px 20px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body > .heto-q40-modal .heto-q40-card{border:1px solid #ECE9E2;border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;transition:.14s;text-align:left;padding:0;font-family:inherit;box-shadow:none;color:#23211C;min-width:0}
body > .heto-q40-modal .heto-q40-card:hover{border-color:#0C55F4;box-shadow:0 10px 26px -16px rgba(12,85,244,.5);transform:translateY(-2px)}
body > .heto-q40-modal .heto-q40-card .prev{height:104px;background:#FBFAF8;border-bottom:1px solid #ECE9E2;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden}
body > .heto-q40-modal .heto-q40-card .meta{padding:15px 17px 14px;min-width:0}
body > .heto-q40-modal .heto-q40-card .nm{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:7px;line-height:1.25;color:#23211C;min-width:0;overflow-wrap:anywhere}
body > .heto-q40-modal .heto-q40-card .nm i{width:18px;height:18px;border-radius:6px;background:#EAF0FE;color:#0C55F4;display:grid;place-items:center;font-style:normal;font-size:11px;flex:0 0 18px}
body > .heto-q40-modal .heto-q40-card .ds{font-size:11.5px;color:#9A958B;margin-top:5px;line-height:1.4;overflow-wrap:anywhere}
body > .heto-q40-modal .mp-opt{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #ECE9E2;border-radius:7px;padding:5px 7px;font-size:10.5px;font-weight:600;color:#23211C;min-width:0}
body > .heto-q40-modal .mp-opt .d{width:12px;height:12px;border-radius:50%;border:2px solid #E0DCD3;flex:0 0 12px}body > .heto-q40-modal .mp-opt.on .d{border-color:#7A5BE0;background:#7A5BE0}body > .heto-q40-modal .mp-opt .b{width:12px;height:12px;border-radius:4px;border:2px solid #E0DCD3;flex:0 0 12px}body > .heto-q40-modal .mp-opt.on .b{border-color:#7A5BE0;background:#7A5BE0}body > .heto-q40-modal .mp-opt .p{margin-left:auto;font-family:"JetBrains Mono",monospace;font-size:9px;color:#6B6760}
body > .heto-q40-modal .mp-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}body > .heto-q40-modal .mp-grid i{height:32px;border-radius:6px;border:1.5px solid #ECE9E2;background:#F4F2EE}body > .heto-q40-modal .mp-grid i.on{border-color:#7A5BE0;box-shadow:0 0 0 2px rgba(122,91,224,.18)}body > .heto-q40-modal .mp-sel{border:1px solid #ECE9E2;border-radius:7px;padding:7px 9px;font-size:10.5px;color:#6B6760;display:flex;justify-content:space-between;background:#fff}body > .heto-q40-modal .mp-pills{display:flex;gap:6px}body > .heto-q40-modal .mp-pills span{flex:1;text-align:center;border:1.5px solid #ECE9E2;border-radius:7px;padding:6px;font-size:10.5px;font-weight:700}body > .heto-q40-modal .mp-pills span.on{border-color:#7A5BE0;color:#7A5BE0;background:rgba(122,91,224,.08)}body > .heto-q40-modal .mp-num{display:flex;align-items:center;gap:8px;justify-content:center}body > .heto-q40-modal .mp-num span{width:24px;height:24px;border-radius:6px;border:1px solid #ECE9E2;background:#fff;display:grid;place-items:center;font-weight:800}body > .heto-q40-modal .mp-range{height:5px;border-radius:99px;background:#E0DCD3;position:relative}body > .heto-q40-modal .mp-range:after{content:"";position:absolute;left:0;top:0;height:100%;width:55%;background:#7A5BE0;border-radius:99px}body > .heto-q40-modal .mp-range i{position:absolute;left:53%;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #7A5BE0}body > .heto-q40-modal .mp-scale{display:flex;justify-content:space-between;font-size:9px;color:#9A958B;margin-top:8px}body > .heto-q40-modal .mp-line{height:9px;border-radius:4px;background:#E0DCD3;width:50%;margin-bottom:7px}body > .heto-q40-modal .mp-input{border:1px solid #ECE9E2;border-radius:7px;height:26px;background:#fff;display:flex;align-items:center;padding:0 8px;font-size:10px;color:#9A958B}body > .heto-q40-modal .mp-area{border:1px solid #ECE9E2;border-radius:7px;height:46px;background:#fff}body > .heto-q40-modal .mp-head{font-weight:800;font-size:12px;border-left:3px solid #7A5BE0;padding-left:8px;color:#23211C}body > .heto-q40-modal .mp-head span{display:block;font-weight:500;color:#9A958B;font-size:9.5px;margin-top:2px}
#hd-root .qbv35 .pv-head b,#hd-root .qbv35 .pv-headline,#hd-root .qbv35 .pv-headline strong,#hd-root .qbv35 .pv-headline span,#hd-root .qbv35 .pv-q .lab,#hd-root .qbv35 .pv-q .help,#hd-root .qbv35 .pv-opt .ol,#hd-root .qbv35 .pv-tile .tl,#hd-root .qbv35 .q .qlabel,#hd-root .qbv35 .q .help-inp{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;max-width:100%}
#hd-root .qbv35 .phone,#hd-root .qbv35 .pv-body,#hd-root .qbv35 .pv-foot{min-width:0;max-width:100%;overflow-wrap:anywhere}
#hd-root .qbv35 .pv-opt,#hd-root .qbv35 .pv-tile{min-width:0;text-align:left}
#hd-root .qbv35 textarea.qlabel,#hd-root .qbv35 textarea.help-inp{width:100%;box-sizing:border-box}
@media(max-width:900px){body > .heto-q40-modal .heto-q40-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){body > .heto-q40-modal{width:94vw!important;max-height:88vh!important}body > .heto-q40-modal .heto-q40-grid{grid-template-columns:1fr}}

/* ===== HETO FINAL — Configurateur de devis ===== */
.qbn-page{--ease:cubic-bezier(.32,.72,0,1);--r-ctrl:10px;--radius:14px;--r-pill:99px;--brand:#0C55F4;--brand-d:#0942c4;--brand-soft:#EAF0FE;--pv:#7A5BE0;--pv-d:#5E45B8;--bg:#FFFFFF;--rail:#FBFAF8;--rail-2:#F4F2EE;--ink:#23211C;--soft:#6B6760;--faint:#9A958B;--line:#ECE9E2;--line-2:#E0DCD3;--ok:#16A36B;--red:#E5484D;--shadow:0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05);--shadow-lg:0 18px 50px rgba(35,33,28,.16);font-family:"Plus Jakarta Sans",sans-serif;color:var(--ink);font-size:14px}.qbn-page *{box-sizing:border-box}.qbn-page button{font-family:inherit}.qbn-mono{font-family:"JetBrains Mono",monospace!important}.qbn-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.qbn-head-row h1{font-size:26px;font-weight:800;margin:0;letter-spacing:-.01em}.qbn-lead{color:var(--soft);margin:6px 0 0;font-size:14px}.qbn-hbtns{display:flex;gap:8px;align-items:center}.qbn-btn{border:1px solid var(--line-2);background:#fff;border-radius:var(--r-ctrl);padding:9px 15px;font-weight:700;font-size:13px;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;gap:7px}.qbn-btn:hover{background:var(--rail-2)}.qbn-btn.pri{background:var(--brand);color:#fff;border-color:transparent}.qbn-btn.pri:hover{background:var(--brand-d)}.qbn-btn:disabled{opacity:.65;cursor:not-allowed}.qbn-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.qbn-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.qbn-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:20px}.qbn-tab{padding:11px 16px;font-weight:700;font-size:13.5px;color:var(--soft);border-bottom:2px solid transparent;cursor:pointer;margin-bottom:-1px;display:flex;align-items:center;gap:8px}.qbn-tab.on{color:var(--brand);border-bottom-color:var(--brand)}.qbn-tab svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.qbn-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.qbn-pane{padding:22px}.qbn-field{margin:0}.qbn-field label{display:block;font-size:12.5px;font-weight:700;margin-bottom:7px}.qbn-inp{width:100%;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:11px 13px;font-size:14px;font-family:inherit;outline:none;background:#fff;color:var(--ink)}.qbn-inp:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.qbn-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.qbn-mt18{margin-top:18px}.qbn-modes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}.qbn-mode{border:1.5px solid var(--line);border-radius:var(--radius);padding:15px 16px;cursor:pointer;transition:.14s}.qbn-mode:hover{border-color:var(--line-2)}.qbn-mode.on{border-color:var(--brand);background:var(--brand-soft)}.qbn-mode b{font-size:14px;display:flex;align-items:center;gap:8px}.qbn-mode.on b{color:var(--brand)}.qbn-mode b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.qbn-mode span{display:block;color:var(--soft);font-size:12.5px;margin-top:5px}.qbn-step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}.qbn-step.qbn-dragging,.qbn-fcard.qbn-dragging{opacity:.4}.qbn-step-h{display:flex;align-items:center;gap:10px;padding:13px 16px;background:var(--rail);border-bottom:1px solid var(--line)}.qbn-step-tag{font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}.qbn-drag{cursor:grab;color:var(--faint);display:grid;place-items:center;width:26px;height:26px;border-radius:8px;flex-shrink:0}.qbn-drag:hover{background:var(--rail-2);color:var(--soft)}.qbn-drag svg{width:16px;height:16px;fill:currentColor;stroke:none}.qbn-stitle{flex:1;border:1px solid transparent;border-radius:8px;padding:6px 8px;font-size:14.5px;font-weight:800;font-family:inherit;background:transparent;min-width:0;color:var(--ink)}.qbn-stitle:focus{border-color:var(--brand);background:#fff;outline:none}.qbn-mini{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--soft);cursor:pointer;display:grid;place-items:center;flex-shrink:0}.qbn-mini:hover{background:#fff;border-color:var(--line-2)}.qbn-mini svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.qbn-mini.danger:hover{color:var(--red);border-color:#f3c6c8}.qbn-step-body{padding:14px 16px 16px}.qbn-empty{border:1.5px dashed var(--line-2);border-radius:var(--radius);padding:22px;text-align:center;color:var(--faint);font-size:13px;font-weight:600;margin-bottom:12px}.qbn-fcard{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;background:#fff;transition:.12s}.qbn-fcard:hover{border-color:var(--line-2)}.qbn-fcard.open{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.qbn-fhead{display:flex;align-items:center;gap:11px;padding:12px;cursor:pointer}.qbn-ficon{width:34px;height:34px;border-radius:9px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex-shrink:0}.qbn-ficon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.qbn-fmeta{flex:1;min-width:0}.qbn-fmeta b{font-size:13.5px;font-weight:700;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qbn-fmeta span{font-size:11.5px;color:var(--faint)}.qbn-factions{display:flex;align-items:center;gap:4px;opacity:0;transition:.12s}.qbn-fcard:hover .qbn-factions,.qbn-fcard.open .qbn-factions{opacity:1}.qbn-req-dot{font-size:10.5px;font-weight:800;color:var(--brand);background:var(--brand-soft);border-radius:99px;padding:2px 8px;margin-right:4px}.qbn-chev{color:var(--faint);transition:.2s;display:grid;place-items:center;width:26px;height:26px}.qbn-fcard.open .qbn-chev{transform:rotate(180deg);color:var(--brand)}.qbn-chev svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.qbn-fbody{border-top:1px solid var(--line);padding:14px 14px 16px;display:none}.qbn-fcard.open .qbn-fbody{display:block}.qbn-frow{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin-bottom:12px}.qbn-frow .qbn-field{flex:1;min-width:160px;margin:0}.qbn-smallinp{width:100%;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 11px;font-size:13.5px;font-family:inherit;outline:none;background:#fff;color:var(--ink)}.qbn-smallinp:focus{border-color:var(--brand)}.qbn-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--soft);cursor:pointer;user-select:none;padding-bottom:9px}.qbn-toggle input{display:none}.qbn-toggle i{width:34px;height:20px;border-radius:99px;background:var(--line-2);position:relative;transition:.16s}.qbn-toggle i:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.16s;box-shadow:0 1px 2px rgba(0,0,0,.2)}.qbn-toggle input:checked+i{background:var(--brand)}.qbn-toggle input:checked+i:after{left:16px}.qbn-reqwrap{display:flex;align-items:flex-end}.qbn-sub-t{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);margin:4px 0 9px}.qbn-opts{display:flex;flex-direction:column;gap:7px}.qbn-opt{display:flex;align-items:center;gap:8px;background:var(--rail);border:1px solid var(--line);border-radius:var(--r-ctrl);padding:6px 8px}.qbn-ohandle{cursor:grab;color:var(--faint);display:grid;place-items:center;width:22px}.qbn-ohandle svg{width:14px;height:14px;fill:currentColor;stroke:none}.qbn-imgbox{width:40px;height:40px;border-radius:8px;border:1.5px dashed var(--line-2);flex-shrink:0;display:grid;place-items:center;cursor:pointer;overflow:hidden;background:#fff;position:relative}.qbn-imgbox:hover{border-color:var(--brand);background:var(--brand-soft)}.qbn-imgbox img{width:100%;height:100%;object-fit:cover}.qbn-imgbox .qbn-ph{display:flex;flex-direction:column;align-items:center;color:var(--faint);font-size:8px;font-weight:800}.qbn-imgbox .qbn-ph svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.qbn-imgbox .qbn-rm{position:absolute;top:1px;right:1px;width:15px;height:15px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:none;place-items:center;font-size:10px;border:0;cursor:pointer}.qbn-imgbox.has .qbn-rm{display:grid}.qbn-olabel{flex:1;min-width:60px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:13px;font-family:inherit;outline:none;color:var(--ink)}.qbn-olabel:focus{border-color:var(--brand)}.qbn-plus{color:var(--faint);font-weight:800}.qbn-price{width:72px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:12.5px;font-family:"JetBrains Mono",monospace;outline:none;text-align:right;color:var(--ink)}.qbn-price:focus{border-color:var(--brand)}.qbn-eur{color:var(--soft);font-weight:700}.qbn-ox{width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--red);cursor:pointer;font-size:15px;line-height:1;flex-shrink:0}.qbn-ox:hover{background:#FCEBEC}.qbn-addopt{align-self:flex-start;border:1px dashed var(--line-2);background:#fff;color:var(--brand);font-weight:700;font-size:12px;border-radius:var(--r-ctrl);padding:7px 11px;cursor:pointer;margin-top:8px}.qbn-addopt:hover{background:var(--brand-soft)}.qbn-esel{border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 11px;font-size:13.5px;font-family:inherit;background:#fff;font-weight:600;width:100%;color:var(--ink)}.qbn-note{font-size:12.5px;color:var(--faint);margin:0}.qbn-w90{max-width:90px}.qbn-w120{max-width:120px}.qbn-w160{max-width:160px}.qbn-w220{max-width:220px}.qbn-insert-btn{width:100%;border:1.5px dashed var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:800;font-size:13.5px;border-radius:var(--radius);padding:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.qbn-insert-btn:hover{background:#dfe9ff}.qbn-insert-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4}.qbn-picker{border:1px solid var(--line-2);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:14px;margin-top:10px}.qbn-picker-h{display:flex;align-items:center;margin-bottom:10px}.qbn-picker-h b{font-size:13px;font-weight:800}.qbn-picker-h .qbn-x{margin-left:auto;border:0;background:transparent;color:var(--faint);font-size:18px;cursor:pointer}.qbn-pcat{font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);margin:10px 0 8px}.qbn-pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.qbn-ptile{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:var(--r-ctrl);padding:9px 10px;cursor:pointer;background:#fff;text-align:left;font-family:inherit;transition:.12s}.qbn-ptile:hover{border-color:var(--brand);background:var(--brand-soft)}.qbn-ptile .qbn-pic{width:28px;height:28px;border-radius:7px;background:var(--rail-2);color:var(--brand);display:grid;place-items:center;flex-shrink:0}.qbn-ptile:hover .qbn-pic{background:#fff}.qbn-ptile .qbn-pic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.qbn-ptile b{font-size:12.5px;font-weight:700;display:block;line-height:1.1;color:var(--ink)}.qbn-ptile span span{font-size:10px;color:var(--faint)}.qbn-addstep{width:100%;border:1.5px dashed var(--line-2);background:#fff;color:var(--soft);font-weight:700;font-size:13.5px;border-radius:var(--radius);padding:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px}.qbn-addstep:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.qbn-addstep svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.4}.qbn-preview-wrap{position:sticky;top:14px}.qbn-pv-cap{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin:0 0 12px}.qbn-phone{border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);background:#fff}.qbn-pv-head{background:linear-gradient(135deg,var(--pv),var(--pv-d));color:#fff;padding:18px}.qbn-pv-head b{font-size:19px;font-weight:800}.qbn-pv-head .qbn-st{font-size:12px;opacity:.9;margin-top:2px}.qbn-pv-prog{height:6px;background:rgba(255,255,255,.3);border-radius:99px;margin-top:13px;overflow:hidden}.qbn-pv-prog i{display:block;height:100%;background:#fff;border-radius:99px;transition:width .4s var(--ease)}.qbn-pv-body{padding:18px;max-height:520px;overflow:auto}.qbn-pv-empty{text-align:center;color:var(--faint);padding:40px 10px;font-size:13.5px}.qbn-pv-q{margin-bottom:20px}.qbn-pv-q>.qbn-lab{font-weight:800;font-size:14.5px;margin-bottom:4px}.qbn-pv-q>.qbn-help{font-size:12px;color:var(--faint);margin-bottom:10px}.qbn-pv-headline{font-weight:800;font-size:17px;border-left:3px solid var(--pv);padding-left:10px;margin-bottom:18px}.qbn-pv-headline span{display:block;font-weight:500;font-size:12.5px;color:var(--faint);margin-top:3px}.qbn-pv-opt{display:flex;align-items:center;gap:11px;border:1.5px solid var(--line);border-radius:12px;padding:11px 13px;margin-bottom:9px;cursor:pointer;transition:.12s}.qbn-pv-opt:hover{border-color:#cfc6f0}.qbn-pv-opt.on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff)}.qbn-pv-opt .qbn-thumb{width:38px;height:38px;border-radius:9px;object-fit:cover;flex-shrink:0;border:1px solid var(--line)}.qbn-pv-opt .qbn-mk{width:20px;height:20px;border-radius:6px;border:2px solid var(--line-2);flex-shrink:0;display:grid;place-items:center}.qbn-pv-opt.radio .qbn-mk{border-radius:50%}.qbn-pv-opt.on .qbn-mk{border-color:var(--pv);background:var(--pv)}.qbn-pv-opt.on .qbn-mk svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:3}.qbn-pv-opt .qbn-ol{flex:1;font-weight:600;font-size:13.5px}.qbn-op{font-family:"JetBrains Mono",monospace;font-size:12px;color:var(--soft);font-weight:700}.qbn-pv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qbn-pv-tile{border:1.5px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;transition:.12s}.qbn-pv-tile:hover{border-color:#cfc6f0}.qbn-pv-tile.on{border-color:var(--pv);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv) 18%,#fff)}.qbn-pv-tile .qbn-im{height:74px;background:var(--rail-2) center/cover;display:grid;place-items:center;color:var(--faint)}.qbn-pv-tile .qbn-im svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.qbn-pv-tile .qbn-tl{display:flex;justify-content:space-between;gap:6px;padding:8px 10px;font-size:12.5px;font-weight:700}.qbn-pv-num{display:flex;align-items:center;gap:14px}.qbn-pv-num button{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}.qbn-pv-num b{min-width:26px;text-align:center;font-size:16px}.qbn-muted-price{color:var(--faint)!important}.qbn-pv-range input{width:100%;accent-color:var(--pv)}.qbn-pv-range .qbn-vv{display:flex;justify-content:space-between;font-size:12.5px;color:var(--soft);font-weight:700;margin-top:6px}.qbn-pv-range .qbn-vv b{color:var(--pv)}.qbn-pv-pills{display:flex;gap:10px}.qbn-pv-pill{flex:1;border:1.5px solid var(--line);border-radius:12px;padding:12px;text-align:center;font-weight:700;font-size:14px;cursor:pointer}.qbn-pv-pill.on{border-color:var(--pv);background:color-mix(in srgb,var(--pv) 8%,#fff);color:var(--pv)}.qbn-pv-in{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:13.5px;font-family:inherit;outline:none;color:var(--ink)}.qbn-pv-in:focus{border-color:var(--pv)}textarea.qbn-pv-in{min-height:80px;resize:vertical}.qbn-pv-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.qbn-pv-total{margin-left:auto;font-size:13px;color:var(--soft);font-weight:600}.qbn-pv-total b{font-family:"JetBrains Mono",monospace;color:var(--pv);font-size:16px;margin-left:4px}.qbn-pv-btn{border:0;background:var(--pv);color:#fff;border-radius:10px;padding:10px 16px;font-weight:700;font-size:13.5px;cursor:pointer}.qbn-pv-back{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 14px;font-weight:700;font-size:13px;cursor:pointer}.qbn-pv-recap .qbn-r{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:8px 0;border-bottom:1px solid var(--line)}.qbn-pv-grand{display:flex;justify-content:space-between;align-items:center;padding:14px 0 4px}.qbn-pv-grand .qbn-v{font-family:"JetBrains Mono",monospace;font-size:26px;font-weight:800;color:var(--pv)}.qbn-pv-step-title{font-weight:800;font-size:15px;margin-bottom:14px}.qbn-mail-desc{font-size:13.5px;color:var(--soft);margin:0 0 14px}.qbn-recap-title{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);margin-bottom:8px}@media(max-width:1100px){.qbn-layout{grid-template-columns:1fr}.qbn-preview-wrap{position:static}.qbn-pgrid{grid-template-columns:1fr 1fr}}@media(max-width:900px){.qbn-grid2,.qbn-modes{grid-template-columns:1fr}}@media(max-width:680px){.qbn-pgrid{grid-template-columns:1fr}.qbn-head-row{display:block}.qbn-hbtns{margin-top:14px;flex-wrap:wrap}.qbn-hbtns .qbn-btn{flex:1}.qbn-step-h{flex-wrap:wrap}.qbn-stitle{flex-basis:100%}.qbn-opt{flex-wrap:wrap}.qbn-price{width:90px}}
/* HETO devis — affichage conditionnel */
.qbn-cond{margin-top:14px;border-top:1px solid var(--line);padding-top:13px}.qbn-cond-grid{display:grid;grid-template-columns:.9fr .9fr 1.2fr 1.1fr 1fr;gap:10px;align-items:end}.qbn-cond-help{margin:8px 0 0;color:var(--faint);font-size:12px;line-height:1.35}.qbn-cond .qbn-esel:disabled{opacity:.55;background:var(--rail-2);cursor:not-allowed}@media(max-width:900px){.qbn-cond-grid{grid-template-columns:1fr}}

/* HETO devis — aperçu cohérent avec la couleur du widget public */
.qbn-page{--pv:var(--qbn-widget-color,#0C55F4);--pv-d:var(--qbn-widget-color-2,var(--qbn-widget-color,#0C55F4))}
.qbn-page .qbn-pv-head{background:linear-gradient(135deg,var(--qbn-widget-color,#0C55F4),var(--qbn-widget-color-2,var(--qbn-widget-color,#0C55F4)))!important}
.qbn-page .qbn-pv-prog i{background:#fff!important}
.qbn-page .qbn-pv-btn{background:var(--qbn-widget-color,#0C55F4)!important;color:#fff!important}
.qbn-page .qbn-pv-total b,.qbn-page .qbn-pv-grand .qbn-v,.qbn-page .qbn-pv-range .qbn-vv b{color:var(--qbn-widget-color,#0C55F4)!important}
.qbn-page .qbn-pv-opt.on,.qbn-page .qbn-pv-tile.on,.qbn-page .qbn-pv-pill.on{border-color:var(--qbn-widget-color,#0C55F4)!important;background:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 8%,#fff)!important;color:var(--qbn-widget-color,#0C55F4)!important}
.qbn-page .qbn-pv-opt.on .qbn-mk{border-color:var(--qbn-widget-color,#0C55F4)!important;background:var(--qbn-widget-color,#0C55F4)!important}
.qbn-page .qbn-pv-range input{accent-color:var(--qbn-widget-color,#0C55F4)!important}
.qbn-preview-wrap.qbn-flash .qbn-phone{animation:qbn-preview-flash .55s cubic-bezier(.32,.72,0,1) both}
@keyframes qbn-preview-flash{0%{transform:translateY(0);box-shadow:0 0 0 0 color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 28%,transparent),var(--shadow-lg)}45%{transform:translateY(-3px);box-shadow:0 0 0 5px color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 16%,transparent),var(--shadow-lg)}100%{transform:translateY(0);box-shadow:var(--shadow-lg)}}

/* HETO quote mail designer */
.qbn-page .qbn-phone,.qbn-page .qbn-mail-paper{font-family:var(--qbn-widget-font,Inter,system-ui,sans-serif)!important}
.qbn-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.qbn-section-head b{display:block;font-size:16px;font-weight:800;color:var(--ink)}.qbn-section-head span{display:block;margin-top:4px;color:var(--soft);font-size:12.5px}.qbn-pill{display:inline-flex!important;align-items:center;margin-top:0!important;padding:5px 10px;border-radius:99px;background:var(--brand-soft);color:var(--brand)!important;font-size:11px!important;font-weight:800;white-space:nowrap}.qbn-mail-settings{margin-top:16px}.qbn-style-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.qbn-style-card{border:1.5px solid var(--line);border-radius:14px;background:#fff;padding:10px;text-align:left;cursor:pointer;transition:.14s;color:var(--ink)}.qbn-style-card:hover{border-color:var(--brand);transform:translateY(-1px)}.qbn-style-card.on{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:linear-gradient(180deg,#fff,var(--brand-soft))}.qbn-style-card strong{display:block;font-size:13px;font-weight:800;margin-top:8px}.qbn-style-card small{display:block;font-size:11px;color:var(--faint);margin-top:2px;line-height:1.3}.qbn-style-thumb{height:62px;border-radius:12px;background:#f8fafc;border:1px solid var(--line);display:block;position:relative;overflow:hidden}.qbn-style-thumb:before{content:"";position:absolute;left:0;right:0;top:0;height:18px;background:var(--qbn-widget-color,#0C55F4)}.qbn-style-thumb i{position:absolute;left:10px;top:26px;width:46%;height:7px;border-radius:5px;background:#111827;opacity:.82}.qbn-style-thumb b{position:absolute;left:10px;right:10px;top:40px;height:5px;border-radius:5px;background:#d1d5db}.qbn-style-thumb em{position:absolute;right:10px;bottom:9px;width:32%;height:8px;border-radius:8px;background:var(--qbn-widget-color,#0C55F4)}.qbn-style-thumb.premium{background:#111827}.qbn-style-thumb.premium:before{background:linear-gradient(90deg,#111827,var(--qbn-widget-color,#0C55F4))}.qbn-style-thumb.premium i{background:#fff}.qbn-style-thumb.premium b{background:rgba(255,255,255,.35)}.qbn-style-thumb.minimal:before{height:4px}.qbn-style-thumb.minimal em{display:none}.qbn-style-thumb.boxed b{height:16px;border:1px solid #d1d5db;background:#fff}.qbn-color-row{display:flex;gap:8px}.qbn-color-row .qbn-inp{flex:1}.qbn-textarea{min-height:104px;resize:vertical;line-height:1.45}.qbn-textarea.small{min-height:78px;font-family:"JetBrains Mono",monospace;font-size:12px}.qbn-mail-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-top:18px}.qbn-mail-tools .qbn-toggle{padding-bottom:0}.qbn-importbox{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:16px}.qbn-import-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.qbn-mail-preview-title{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);margin:18px 0 10px}.qbn-mail-paper{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden;padding:0;color:#172033}.qbn-mail-paper .qbn-mail-top{display:flex;align-items:center;gap:12px;padding:18px 20px;background:linear-gradient(135deg,var(--mail-accent),color-mix(in srgb,var(--mail-accent) 68%,#fff));color:#fff}.qbn-mail-paper.minimal .qbn-mail-top{background:#fff;color:#172033;border-top:5px solid var(--mail-accent);border-bottom:1px solid var(--line)}.qbn-mail-paper.premium{background:#111827;color:#f9fafb;border-color:#111827}.qbn-mail-paper.premium p,.qbn-mail-paper.premium small,.qbn-mail-paper.premium .qbn-mail-footer{color:#d1d5db!important}.qbn-mail-paper.premium table{background:#fff;color:#172033}.qbn-mail-paper.boxed .qbn-mail-top{border-radius:14px;margin:12px}.qbn-mail-logo,.qbn-mail-logo-fake{width:42px;height:42px;border-radius:12px;object-fit:cover;display:grid;place-items:center;color:#fff;font-weight:900;background:#fff2;border:1px solid rgba(255,255,255,.35);flex-shrink:0}.qbn-mail-paper .qbn-mail-top b{display:block;font-size:18px;font-weight:900}.qbn-mail-paper .qbn-mail-top span{display:block;font-size:12px;opacity:.86;margin-top:2px}.qbn-mail-paper p{font-size:13px;line-height:1.55;margin:16px 20px;color:#475569}.qbn-mail-paper table{width:calc(100% - 40px);margin:0 20px 14px;border-collapse:collapse;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;font-size:12.5px}.qbn-mail-paper td{padding:9px 10px;border-bottom:1px solid #e5e7eb}.qbn-mail-paper td:nth-child(2){text-align:center;color:#64748b}.qbn-mail-paper td:nth-child(3){text-align:right;font-weight:800}.qbn-mail-paper tfoot td{font-weight:900;background:#f8fafc}.qbn-mail-paper tfoot td:last-child{color:var(--mail-accent);font-size:15px}.qbn-mail-paper>small{display:block;margin:0 20px 14px;color:#64748b;font-size:11.5px}.qbn-mail-footer{border-top:1px solid #e5e7eb;padding-top:14px!important;margin-top:8px!important}.qbn-mail-cta{display:inline-flex;margin:0 20px 14px;color:#fff;border-radius:10px;padding:9px 14px;font-weight:800;font-size:12.5px}@media(max-width:900px){.qbn-style-grid{grid-template-columns:1fr 1fr}.qbn-importbox{grid-template-columns:1fr}.qbn-import-actions{justify-content:flex-start}}@media(max-width:560px){.qbn-style-grid{grid-template-columns:1fr}.qbn-color-row{display:block}.qbn-color-row .qbn-btn{margin-top:8px;width:100%}}


/* ===== HETO Widget Studio V2 — styles adaptés au dashboard global ===== */
.hws-acc{background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:16px;margin-bottom:12px;overflow:hidden;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05));}
.hws-head{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:12px;padding:15px 16px;cursor:pointer;text-align:left;color:var(--ink,#23211C);font-family:inherit;}
.hws-head:hover{background:var(--rail,#FBFAF8)}.hws-head span:nth-child(2){flex:1;min-width:0}.hws-head b{display:block;font-size:14px;font-weight:800}.hws-head small{display:block;color:var(--faint,#9A958B);font-size:12px;font-weight:500;margin-top:2px}.hws-head em{font-style:normal;background:var(--brand-soft,#EAF0FE);color:var(--brand,#0C55F4);border-radius:999px;padding:3px 9px;font-size:11px;font-weight:800}.hws-head i{font-style:normal;color:var(--faint,#9A958B);transition:.18s}.hws-acc.open .hws-head i{transform:rotate(180deg)}.hws-ico{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--brand,#0C55F4),#5b87ff);display:grid;place-items:center;color:#fff;flex:0 0 auto}.hws-body{display:none;border-top:1px solid var(--line,#ECE9E2);padding:16px}.hws-acc.open .hws-body{display:block}.hws-group{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--faint,#9A958B);display:flex;align-items:center;gap:8px;margin:16px 0 10px}.hws-group:first-child{margin-top:0}.hws-group:after{content:"";height:1px;background:var(--line,#ECE9E2);flex:1}.hws-colorgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hws-color{display:flex;align-items:center;gap:10px;border:1px solid var(--line,#ECE9E2);border-radius:12px;padding:8px 10px;background:var(--rail,#FBFAF8)}.hws-color b{flex:1;font-size:12.5px;color:var(--soft,#6B6760)}.hws-color .inp{max-width:92px;font-size:11px;padding:6px 8px}.hws-dot{width:28px;height:28px;border-radius:9px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.15);flex:0 0 auto}.hws-dot input{position:absolute;inset:0;opacity:0;cursor:pointer}.hws-themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hws-theme{border:1.5px solid var(--line,#ECE9E2);background:#fff;border-radius:12px;overflow:hidden;text-align:left;padding:0;cursor:pointer;transition:.16s}.hws-theme:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.hws-theme.on{border-color:var(--brand,#0C55F4);box-shadow:0 0 0 3px var(--brand-soft,#EAF0FE)}.hws-theme span{display:grid;grid-template-rows:20px 24px 20px}.hws-theme i{display:block}.hws-theme b{display:block;padding:8px 10px;font-size:12px}.hws-fonts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hws-font{border:1.5px solid var(--line,#ECE9E2);border-radius:12px;background:#fff;padding:12px 14px;text-align:left;cursor:pointer;transition:.14s}.hws-font.on{border-color:var(--brand,#0C55F4);background:var(--brand-soft,#EAF0FE)}.hws-font b{display:block;font-size:13px}.hws-font span{display:block;font-size:23px;font-weight:800;color:var(--faint,#9A958B);line-height:1;margin-top:5px}.hws-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.hws-chip{border:1.5px solid var(--line,#ECE9E2);border-radius:12px;background:#fff;padding:8px 13px;font-weight:700;color:var(--soft,#6B6760);cursor:pointer}.hws-chip.on{background:var(--brand,#0C55F4);color:#fff;border-color:var(--brand,#0C55F4)}.hws-ta{min-height:96px!important}.hws-imgprev{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;overflow:hidden!important}.hws-imgprev img{width:100%;height:100%;object-fit:cover;border-radius:50%}.hws-snips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.hws-snip{display:flex;align-items:center;gap:9px;border:1px solid var(--line,#ECE9E2);border-radius:12px;background:#fff;padding:10px;cursor:pointer;text-align:left}.hws-snip span{background:var(--brand,#0C55F4);color:#fff;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:800}.hws-snip b{font-size:12px}.hws-stats .card{padding:14px}.hws-stats b{display:block;font-size:22px}.hws-stats span{display:block;color:var(--faint,#9A958B);font-size:12px;margin-top:3px}.hws-tool{display:flex;align-items:center;gap:12px;border:1px solid var(--line,#ECE9E2);border-radius:13px;background:#fff;padding:12px;margin-bottom:8px}.hws-tool>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--rail,#FBFAF8);font-size:18px}.hws-tool div{flex:1}.hws-tool b{display:block;font-size:13.5px}.hws-tool small{display:block;color:var(--faint,#9A958B);font-size:11.5px;margin-top:2px}.hws-tool em{font-style:normal;font-weight:800;font-size:10px;color:var(--faint,#9A958B);background:var(--rail,#FBFAF8);border-radius:7px;padding:3px 8px}.hws-phone{background:#fff;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line,#ECE9E2);max-width:100%;margin:auto}.hws-phead{display:flex;align-items:center;gap:11px;padding:0 16px;flex-shrink:0}.hws-phead b{display:block;color:inherit;font-weight:800}.hws-phead small{display:block;color:rgba(255,255,255,.82);font-weight:600;margin-top:1px}.hws-pav{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-weight:800;color:#fff;overflow:hidden;flex:0 0 auto}.hws-pav img{width:100%;height:100%;object-fit:cover}.hws-pbody{flex:1;padding:16px;display:flex;flex-direction:column;gap:10px;overflow:auto}.hws-msg{max-width:86%;padding:10px 13px;line-height:1.45;box-shadow:0 1px 4px rgba(0,0,0,.06);font-weight:500}.hws-msg.bot{align-self:flex-start}.hws-msg.user{align-self:flex-end}.hws-homecards{display:flex;flex-direction:column;gap:8px;margin-top:4px}.hws-homecards div{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:13px;padding:11px 13px;box-shadow:0 1px 4px rgba(0,0,0,.04)}.hws-homecards b{display:block;font-size:12.5px}.hws-homecards small{display:block;color:#94a3b8;margin-top:2px}.hws-pinput{display:flex;gap:8px;padding:12px 14px;flex-shrink:0;border-top:1px solid rgba(0,0,0,.06)}.hws-pinput span{flex:1;border:1px solid;padding:11px 13px;font-size:12.5px}.hws-pinput button{width:42px;border:0;color:#fff;font-weight:800}.hws-pnav{display:flex;gap:6px;padding:8px 10px;border-top:1px solid rgba(0,0,0,.06);flex-shrink:0}.hws-pnav span{flex:1;text-align:center;border-radius:11px;padding:9px 6px;font-size:12px;font-weight:800;color:#94a3b8}.hws-pnav span.on{background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c)}@media(max-width:1100px){.hws-themes{grid-template-columns:repeat(3,1fr)}.hws-colorgrid{grid-template-columns:1fr}}@media(max-width:760px){.hws-themes,.hws-fonts,.hws-snips{grid-template-columns:1fr}.hws-colorgrid{grid-template-columns:1fr}}

/* ============================================================
   HETO Widget Studio — preview fidèle à droite
   La prévisualisation utilise le même vocabulaire de classes que le widget public.
   ============================================================ */
.hws-studio-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 470px!important;gap:22px!important;align-items:start!important;position:relative!important}
.hws-studio-panel{min-width:0!important}
.hws-studio-preview{position:sticky!important;top:18px!important;align-self:start!important;min-width:0!important;background:linear-gradient(180deg,#fff,#fbfaf8)!important;border:1px solid var(--line,#ECE9E2)!important;border-radius:18px!important;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;overflow:hidden!important}
.hws-studio-preview-head{height:54px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 14px!important;border-bottom:1px solid var(--line,#ECE9E2)!important;background:#fff!important}
.hws-studio-preview-title{font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--faint,#9A958B)!important;white-space:nowrap!important}
.hws-studio-preview-sp{flex:1!important}
.hws-studio-preview-tabs{display:flex!important;align-items:center!important;gap:4px!important;background:var(--rail,#FBFAF8)!important;border:1px solid var(--line,#ECE9E2)!important;padding:3px!important;border-radius:11px!important}
.hws-studio-preview-tabs button{border:0!important;background:transparent!important;color:var(--soft,#6B6760)!important;border-radius:8px!important;padding:7px 9px!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;font-family:inherit!important}
.hws-studio-preview-tabs button.on{background:#fff!important;color:var(--brand,#0C55F4)!important;box-shadow:0 1px 3px rgba(0,0,0,.05)!important}
.hws-site-stage{position:relative!important;min-height:690px!important;overflow:hidden!important;background:linear-gradient(180deg,#f8fafc,#eef3fb)!important;padding:18px!important;display:flex!important;align-items:flex-end!important;justify-content:flex-end!important}
.hws-site-stage.is-left{justify-content:flex-start!important}
.hws-site-stage:before{content:""!important;position:absolute!important;inset:0!important;background-image:radial-gradient(rgba(12,85,244,.09) 1.2px,transparent 1.2px)!important;background-size:22px 22px!important;pointer-events:none!important}
.hws-site-mock{position:absolute!important;left:18px!important;top:18px!important;right:90px!important;bottom:18px!important;opacity:.12!important;display:flex!important;flex-direction:column!important;gap:12px!important;pointer-events:none!important}
.hws-site-mock div{background:#0f172a!important;border-radius:14px!important}
.hws-site-mock .m1{height:70px!important}.hws-site-mock .m2{height:160px!important;width:72%!important}.hws-site-mock .m3{height:90px!important;width:52%!important}.hws-site-mock .m4{flex:1!important;width:82%!important}
.hws-preview-stack{position:relative!important;z-index:2!important;display:flex!important;align-items:flex-end!important;gap:16px!important;max-width:100%!important}
.hws-preview-stack.is-left{flex-direction:row-reverse!important}
.hws-launcher-preview{width:62px!important;height:62px!important;border-radius:999px!important;background:var(--hws-preview-primary,#0C55F4)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 12px 36px rgba(15,23,42,.22)!important;flex:0 0 auto!important;overflow:hidden!important}
.hws-launcher-preview img{width:100%!important;height:100%!important;object-fit:cover!important}
.hws-launcher-preview svg{width:28px!important;height:28px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important}
.hws-preview-real-root{--ac-primary:#0C55F4;--ac-font-size:14px;width:auto!important;max-width:100%!important}
.hws-preview-real-root .hw-window{position:relative!important;width:min(var(--hws-w,430px),calc(100vw - 620px))!important;min-width:340px!important;height:min(var(--hws-h,620px),620px)!important;max-height:620px!important;background:#fff!important;border:1px solid var(--hws-border,#e2e8f0)!important;border-radius:var(--hws-radius,24px)!important;box-shadow:var(--hws-shadow,0 24px 80px rgba(15,23,42,.22))!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;font-family:var(--hws-font,Inter,system-ui,sans-serif)!important;color:var(--hws-text,#1e293b)!important}
.hws-preview-real-root .hw-view{display:none!important;min-height:0!important;flex:1!important;overflow:hidden!important;background:var(--hws-bg,#f8fafc)!important}
.hws-preview-real-root .hw-view.hw-active{display:flex!important;flex-direction:column!important}
.hws-preview-real-root .hw-home-hero{padding:26px 22px 58px!important;position:relative!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;overflow:hidden!important;flex-shrink:0!important}
.hws-preview-real-root .hw-home-hero:after{content:""!important;position:absolute!important;right:-50px!important;top:-70px!important;width:200px!important;height:200px!important;border-radius:50%!important;background:rgba(255,255,255,.13)!important}
.hws-preview-real-root .hw-home-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;z-index:1!important;margin-bottom:18px!important}
.hws-preview-real-root .hw-home-brand{font-size:15px!important;font-weight:800!important;letter-spacing:-.02em!important;color:inherit!important}
.hws-preview-real-root .hw-home-close,.hws-preview-real-root .hw-hbtn,.hws-preview-real-root .hw-hdr-back{width:34px!important;height:34px!important;border-radius:11px!important;border:0!important;background:rgba(255,255,255,.18)!important;color:inherit!important;display:grid!important;place-items:center!important;cursor:default!important}
.hws-preview-real-root .hw-home-close svg,.hws-preview-real-root .hw-hbtn svg,.hws-preview-real-root .hw-hdr-back svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important}
.hws-preview-real-root .hw-home-greeting{position:relative!important;z-index:1!important}
.hws-preview-real-root .hw-home-avatars{display:flex!important;margin-bottom:14px!important}
.hws-preview-real-root .hw-av{width:40px!important;height:40px!important;border-radius:50%!important;border:2.5px solid rgba(255,255,255,.9)!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;color:#fff!important;font-weight:800!important;overflow:hidden!important;margin-right:-10px!important}
.hws-preview-real-root .hw-av img{width:100%!important;height:100%!important;object-fit:cover!important}
.hws-preview-real-root .hw-home-title{font-weight:800!important;font-size:20px!important;line-height:1.28!important;letter-spacing:-.03em!important;margin-bottom:8px!important;color:inherit!important}
.hws-preview-real-root .hw-home-sub{font-size:13.5px!important;line-height:1.5!important;opacity:.82!important;color:inherit!important}
.hws-preview-real-root .hw-home-body{flex:1!important;background:var(--hws-bg,#f8fafc)!important;border-radius:22px 22px 0 0!important;margin-top:-28px!important;position:relative!important;z-index:2!important;overflow:auto!important;padding:20px 16px!important}
.hws-preview-real-root .hw-home-cards{display:flex!important;flex-direction:column!important;gap:10px!important}
.hws-preview-real-root .hw-home-section-title{font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#94a3b8!important;margin:3px 0 2px!important}
.hws-preview-real-root .hw-card{display:flex!important;align-items:center!important;gap:14px!important;width:100%!important;border:1px solid rgba(15,23,42,.08)!important;background:var(--hws-card,#fff)!important;border-radius:15px!important;box-shadow:0 1px 4px rgba(15,23,42,.06)!important;padding:14px 15px!important;text-align:left!important;color:var(--hws-text,#1e293b)!important;font-family:inherit!important}
.hws-preview-real-root .hw-card-icon{width:44px!important;height:44px!important;border-radius:13px!important;display:grid!important;place-items:center!important;color:#fff!important;flex:0 0 auto!important}
.hws-preview-real-root .hw-card-icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
.hws-preview-real-root .hw-card-text{flex:1!important;min-width:0!important}.hws-preview-real-root .hw-card-title{font-size:13.5px!important;font-weight:800!important;line-height:1.25!important}.hws-preview-real-root .hw-card-desc{font-size:12px!important;color:#94a3b8!important;margin-top:2px!important;line-height:1.35!important}.hws-preview-real-root .hw-card-arrow{color:#cbd5e1!important}
.hws-preview-real-root .hw-header{height:var(--hws-header-h,68px)!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;display:flex!important;align-items:center!important;gap:11px!important;padding:0 14px!important;flex-shrink:0!important}
.hws-preview-real-root .hw-hdr-av{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#fff!important;font-weight:800!important;flex:0 0 auto!important;position:relative!important}.hws-preview-real-root .hw-hdr-av img{width:100%!important;height:100%!important;object-fit:cover!important}.hws-preview-real-root .hw-hdr-av:after{content:""!important;position:absolute!important;right:1px!important;bottom:1px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#22d3a0!important;border:2px solid #fff!important}
.hws-preview-real-root .hw-hdr-info{flex:1!important;min-width:0!important}.hws-preview-real-root .hw-hdr-name{font-size:14.5px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hws-preview-real-root .hw-hdr-status{font-size:11.5px!important;opacity:.82!important;margin-top:2px!important;display:flex!important;align-items:center!important;gap:6px!important}.hws-preview-real-root .hw-hdr-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important}.hws-preview-real-root .hw-hdr-btns{display:flex!important;gap:5px!important}
.hws-preview-real-root .hw-messages{flex:1!important;min-height:0!important;overflow:auto!important;padding:16px!important;background:var(--hws-bg,#f8fafc)!important;display:flex!important;flex-direction:column!important;gap:9px!important}
.hws-preview-real-root .aichat-msg,.hws-preview-real-root .hw-msg{display:flex!important;gap:8px!important;max-width:88%!important}.hws-preview-real-root .aichat-msg.aichat-user{align-self:flex-end!important;flex-direction:row-reverse!important}.hws-preview-real-root .aichat-msg.aichat-bot{align-self:flex-start!important}.hws-preview-real-root .aichat-msg-bubble{padding:10px 14px!important;font-size:var(--hws-msg-fs,14px)!important;line-height:1.52!important;font-weight:500!important;box-shadow:0 1px 4px rgba(15,23,42,.07)!important}.hws-preview-real-root .aichat-bot .aichat-msg-bubble{background:var(--hws-bot-bg,#fff)!important;color:var(--hws-bot-text,#1e293b)!important;border-radius:var(--hws-bubble-r,16px) var(--hws-bubble-r,16px) var(--hws-bubble-r,16px) 4px!important;border:1px solid rgba(15,23,42,.06)!important}.hws-preview-real-root .aichat-user .aichat-msg-bubble{background:var(--hws-user-bg,#0C55F4)!important;color:var(--hws-user-text,#fff)!important;border-radius:var(--hws-bubble-r,16px) var(--hws-bubble-r,16px) 4px var(--hws-bubble-r,16px)!important}
.hws-preview-real-root .hw-input-area{background:var(--hws-footer,#fff)!important;padding:12px 14px!important;flex-shrink:0!important;border-top:1px solid rgba(15,23,42,.07)!important}.hws-preview-real-root .hw-input-row{display:flex!important;align-items:flex-end!important;gap:8px!important}.hws-preview-real-root .hw-textarea{flex:1!important;min-height:44px!important;height:44px!important;max-height:44px!important;resize:none!important;border:1.5px solid var(--hws-input-border,#e2e8f0)!important;background:var(--hws-input-bg,#f8fafc)!important;color:var(--hws-input-text,#1e293b)!important;border-radius:var(--hws-input-r,16px)!important;padding:11px 14px!important;font-family:inherit!important;font-size:13.5px!important;outline:none!important}.hws-preview-real-root .hw-send-btn{width:44px!important;height:44px!important;border:0!important;background:var(--hws-send,#0C55F4)!important;color:#fff!important;border-radius:var(--hws-send-r,13px)!important;display:grid!important;place-items:center!important}.hws-preview-real-root .hw-send-btn svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important}.hws-preview-real-root .hw-footer{background:var(--hws-footer,#fff)!important;border-top:1px solid rgba(15,23,42,.07)!important;padding:7px!important;text-align:center!important;font-size:10.5px!important;color:#b0bac8!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hws-preview-real-root .hw-footer a{color:var(--hws-primary,#0C55F4)!important;font-weight:800!important;text-decoration:none!important}
.hws-preview-real-root .heto-tool-shell{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1!important;background:var(--hws-bg,#f8fafc)!important}.hws-preview-real-root .heto-tool-head{height:var(--hws-header-h,68px)!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;display:flex!important;align-items:center!important;gap:12px!important;padding:0 14px!important;flex-shrink:0!important}.hws-preview-real-root .heto-tool-head button{width:34px!important;height:34px!important;border:0!important;border-radius:11px!important;background:rgba(255,255,255,.18)!important;color:inherit!important;display:grid!important;place-items:center!important}.hws-preview-real-root .heto-tool-head b{display:block!important;font-size:16px!important;font-weight:900!important}.hws-preview-real-root .heto-tool-head span{display:block!important;font-size:12px!important;opacity:.82!important;margin-top:1px!important}.hws-preview-real-root .heto-tool-body{flex:1!important;min-height:0!important;overflow:auto!important;padding:18px 16px!important;background:var(--hws-bg,#f8fafc)!important}.hws-preview-real-root .heto-tool-foot{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;background:var(--hws-footer,#fff)!important;border-top:1px solid rgba(15,23,42,.07)!important;flex-shrink:0!important}.hws-preview-real-root .heto-tool-foot em{margin-left:auto!important;font-style:normal!important;color:#64748b!important;font-weight:700!important}.hws-preview-real-root .heto-tool-foot button{border:1px solid var(--hws-input-border,#e2e8f0)!important;background:#fff!important;border-radius:12px!important;padding:10px 14px!important;font-weight:800!important;color:#334155!important}.hws-preview-real-root .heto-tool-foot .is-primary{background:var(--hws-primary,#0C55F4)!important;color:#fff!important;border-color:transparent!important}
.hws-preview-real-root .heto-q-flow{background:var(--hws-card,#fff)!important;border:1px solid rgba(15,23,42,.08)!important;border-radius:20px!important;padding:18px!important;box-shadow:0 12px 32px rgba(15,23,42,.08)!important}.hws-preview-real-root .heto-q-flow-head span{font-size:11px!important;font-weight:900!important;color:#94a3b8!important;letter-spacing:.1em!important;text-transform:uppercase!important}.hws-preview-real-root .heto-q-progress{height:5px!important;background:#e2e8f0!important;border-radius:999px!important;overflow:hidden!important;margin-top:10px!important}.hws-preview-real-root .heto-q-progress i{display:block!important;height:100%!important;border-radius:999px!important;background:var(--hws-primary,#0C55F4)!important}.hws-preview-real-root .heto-q-step{font-size:15px!important;font-weight:900!important;margin:18px 0 14px!important;color:var(--hws-text,#1e293b)!important}.hws-preview-real-root .heto-q-field{margin-bottom:16px!important}.hws-preview-real-root .heto-q-field label{display:block!important;font-size:14px!important;font-weight:900!important;margin-bottom:8px!important;color:var(--hws-text,#1e293b)!important}.hws-preview-real-root .heto-q-muted{border:1.5px dashed #cbd5e1!important;border-radius:14px!important;padding:14px!important;color:#64748b!important;background:#fff!important}.hws-preview-real-root .heto-q-option{width:100%!important;border:1.5px solid #e2e8f0!important;background:#fff!important;border-radius:14px!important;padding:11px 12px!important;margin-bottom:8px!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;font-weight:800!important;color:var(--hws-text,#1e293b)!important}.hws-preview-real-root .heto-q-option-img{width:44px!important;height:44px!important;border-radius:12px!important;object-fit:cover!important;flex:0 0 auto!important}.hws-preview-real-root .heto-q-option em{margin-left:auto!important;font-style:normal!important;color:#64748b!important;font-size:12px!important}.hws-preview-real-root .heto-q-input{width:100%!important;border:1.5px solid #e2e8f0!important;border-radius:14px!important;padding:12px 14px!important;background:#fff!important;color:var(--hws-text,#1e293b)!important;font:inherit!important}.hws-preview-real-root .heto-q-pills{display:flex!important;gap:8px!important}.hws-preview-real-root .heto-q-pills button{flex:1!important;border:1.5px solid #e2e8f0!important;background:#fff!important;border-radius:14px!important;padding:12px!important;font-weight:900!important}.hws-preview-real-root .heto-q-pills button.is-on{border-color:var(--hws-primary,#0C55F4)!important;background:color-mix(in srgb,var(--hws-primary,#0C55F4) 10%,#fff)!important;color:var(--hws-primary,#0C55F4)!important}
.hws-preview-real-root .hw-navbar{display:flex!important;gap:5px!important;padding:8px 10px!important;background:var(--hws-nav-bg,#fff)!important;border-top:1px solid rgba(15,23,42,.07)!important;order:99!important;flex-shrink:0!important}.hws-preview-real-root .hw-nav-tab{flex:1!important;border:0!important;background:transparent!important;color:#94a3b8!important;border-radius:13px!important;padding:7px 6px!important;min-height:48px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;font-family:inherit!important;font-weight:800!important}.hws-preview-real-root .hw-nav-tab--active{background:color-mix(in srgb,var(--hws-nav-active,#0C55F4) 12%,#fff)!important;color:var(--hws-nav-active,#0C55F4)!important}.hws-preview-real-root .hw-nav-icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important}.hws-preview-real-root .hw-nav-label{font-size:11px!important;line-height:1!important}
@media(max-width:1280px){.hws-studio-shell{grid-template-columns:1fr!important}.hws-studio-preview{position:relative!important;top:auto!important}.hws-preview-real-root .hw-window{width:min(var(--hws-w,430px),100%)!important}.hws-site-stage{min-height:660px!important}}
@media(max-width:760px){.hws-site-stage{padding:12px!important}.hws-preview-stack{gap:10px!important}.hws-launcher-preview{display:none!important}.hws-preview-real-root .hw-window{min-width:0!important;width:100%!important}.hws-studio-preview-tabs{display:none!important}}

/* ===== HETO Widget Studio V3.1 — preview droite propre + navigation interactive ===== */
.hws-site-stage{padding:18px!important;align-items:flex-end!important;overflow:hidden!important}
.hws-preview-stack{position:relative!important;z-index:2!important;display:block!important;width:min(var(--hws-w,430px),calc(100% - 82px))!important;max-width:calc(100% - 82px)!important;margin-right:82px!important}
.hws-preview-stack.is-left{margin-right:0!important;margin-left:82px!important}
.hws-launcher-preview{position:absolute!important;right:-78px!important;bottom:0!important;z-index:4!important}
.hws-preview-stack.is-left .hws-launcher-preview{right:auto!important;left:-78px!important}
.hws-preview-real-root{width:100%!important;max-width:100%!important}
.hws-preview-real-root .hw-window{width:100%!important;min-width:0!important;max-width:100%!important}
.hws-preview-real-root .hw-nav-tab,.hws-preview-real-root .hw-card,.hws-preview-real-root .hw-hdr-back,.hws-preview-real-root .heto-tool-head button{cursor:pointer!important;pointer-events:auto!important}
.hws-preview-real-root .hw-nav-tab:hover{background:color-mix(in srgb,var(--hws-nav-active,#0C55F4) 8%,#fff)!important;color:var(--hws-nav-active,#0C55F4)!important}
.hws-preview-real-root .hw-card:hover{transform:translateY(-1px)!important;box-shadow:0 5px 18px rgba(15,23,42,.10)!important}
@media(max-width:1280px){.hws-preview-stack{width:min(var(--hws-w,430px),calc(100% - 82px))!important;max-width:calc(100% - 82px)!important}.hws-preview-real-root .hw-window{width:100%!important}}
@media(max-width:760px){.hws-preview-stack{width:100%!important;max-width:100%!important;margin-right:0!important;margin-left:0!important}.hws-launcher-preview{display:none!important}}


/* HETO final — aperçu widget studio sans launcher parasite */
.hws-studio-preview .hws-launcher-preview{display:none!important}
.hws-studio-preview .hws-preview-stack{width:min(var(--hws-w,430px),100%)!important;max-width:100%!important;margin-right:0!important;margin-left:0!important}
.hws-studio-preview .hws-preview-stack.is-left{margin-left:0!important;margin-right:0!important}
.hws-studio-preview .hws-preview-real-root,.hws-studio-preview .hws-preview-real-root .hw-window{width:100%!important;max-width:100%!important}
.hws-studio-preview .hws-site-stage{justify-content:center!important}

/* HETO rescue — preview devis identique en imagegrid et icône retour propre */
.hws-preview-real-root .heto-q-field--imagegrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important}
.hws-preview-real-root .heto-q-field--imagegrid>label{grid-column:1/-1!important;margin-bottom:0!important}
.hws-preview-real-root .heto-q-field--imagegrid .heto-q-option{width:100%!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:0!important;overflow:hidden!important;min-height:124px!important;border-radius:14px!important;background:#fff!important;position:relative!important;text-align:left!important}
.hws-preview-real-root .heto-q-field--imagegrid .heto-q-option-img{width:100%!important;height:78px!important;border-radius:0!important;object-fit:cover!important;display:block!important;flex:0 0 auto!important;border:0!important;background:#f1f5f9!important}
.hws-preview-real-root .heto-q-field--imagegrid .heto-q-option b{display:block!important;padding:10px 11px!important;font-size:13px!important;line-height:1.15!important;min-height:42px!important}
.hws-preview-real-root .heto-q-field--imagegrid .heto-q-option em{position:absolute!important;right:9px!important;bottom:10px!important;margin:0!important;background:rgba(255,255,255,.92)!important;border-radius:999px!important;padding:2px 6px!important;font-size:10.5px!important}
.hws-preview-real-root .heto-tool-head button svg,.hws-preview-real-root .hw-hdr-back svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.hws-preview-real-root .heto-tool-head button{font-size:0!important;line-height:0!important;color:inherit!important}

/* ═══════════════════════════════════════════════════════════════
   HETO Widget Studio FINAL — CSS scoped
   ═══════════════════════════════════════════════════════════════ */
.hws3-editor{min-height:calc(100vh - 120px)}
.hws3-top{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.hws3-top .grow{flex:1}
.hws3-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line,#ECE9E2);margin-bottom:18px;overflow-x:auto;scrollbar-width:none}.hws3-tabs::-webkit-scrollbar{display:none}.hws3-tabs button{border:0;background:transparent;padding:11px 13px;font-weight:800;font-size:12.5px;color:var(--soft,#6B6760);border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;margin-bottom:-1px}.hws3-tabs button.on{color:var(--brand,#0C55F4);border-bottom-color:var(--brand,#0C55F4)}
.hws3-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,480px);gap:22px;align-items:start}.hws3-panel{min-width:0}.hws3-preview{position:sticky;top:16px;border:1px solid var(--line,#ECE9E2);background:var(--rail,#FBFAF8);border-radius:20px;overflow:hidden;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05));min-height:680px}.hws3-preview-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line,#ECE9E2)}.hws3-preview-head>b{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--faint,#9A958B)}.hws3-preview-head>span{flex:1}.hws3-screen-tabs{display:flex;gap:4px;background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:999px;padding:3px}.hws3-screen-tabs button{border:0;background:transparent;border-radius:999px;padding:7px 10px;font-weight:800;color:var(--soft,#6B6760);cursor:pointer}.hws3-screen-tabs button.on{background:var(--brand,#0C55F4);color:#fff}
.hws3-stage{min-height:620px;position:relative;display:flex;align-items:flex-end;justify-content:flex-end;padding:22px;background:linear-gradient(135deg,#eef2f7,#dfe7f3);overflow:hidden}.hws3-stage:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(12,85,244,.10) 1.4px,transparent 1.4px);background-size:22px 22px;pointer-events:none}.hws3-site-mock{position:absolute;inset:22px 22px auto 22px;height:220px;pointer-events:none;opacity:.38}.hws3-site-mock div{border-radius:24px;background:rgba(15,23,42,.11);margin-bottom:20px}.hws3-site-mock .m1{height:70px;width:76%}.hws3-site-mock .m2{height:120px;width:36%}.hws3-site-mock .m3{height:80px;width:42%}
.hws3-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.hws3-card{background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:16px;overflow:hidden;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05));cursor:pointer;transition:.16s}.hws3-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(35,33,28,.10)}.hws3-card-strip{height:112px;color:#fff;padding:16px;display:flex;flex-direction:column;gap:10px}.hws3-card-strip svg{width:24px;height:24px}.hws3-card-strip b{font-size:18px}.hws3-card-body{padding:14px}.hws3-card-meta{font-size:12px;color:var(--soft,#6B6760);margin-bottom:12px}.hws3-card-actions{display:flex;align-items:center;gap:8px}.hws3-card-actions .pill{margin-right:auto}.hws3-card-new{display:grid;place-items:center;min-height:190px;border:1.5px dashed var(--line-2,#E0DCD3);color:var(--brand,#0C55F4)}.hws3-card-new span{display:block;color:var(--faint,#9A958B);font-size:12px;margin-top:4px}
.hws3-panel h2{font-size:22px;margin:0 0 4px;font-weight:900;letter-spacing:-.02em}.hws3-panel .lead{margin:0 0 16px;color:var(--soft,#6B6760);font-size:13px}.hws3-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hws3-field{margin-bottom:13px}.hws3-field>label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;color:var(--ink,#23211C)}.hws3-hint{font-size:11px;color:var(--faint,#9A958B);margin-top:5px}.hws3-field .inp{width:100%}.hws3-field textarea.inp{min-height:100px;resize:vertical}.hws3-color{display:flex;align-items:center;gap:8px}.hws3-color input[type=color]{width:38px;height:38px;border:1px solid var(--line,#ECE9E2);border-radius:9px;background:#fff;padding:3px}.hws3-color input.mono{max-width:130px;font-size:12px}.hws3-range{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:12px;padding:9px 12px}.hws3-range input{flex:1;accent-color:var(--brand,#0C55F4)}.hws3-range b{font-family:ui-monospace,monospace;color:var(--brand,#0C55F4);min-width:36px;text-align:right}.hws3-range span{font-size:11px;color:var(--faint,#9A958B)}.hws3-toggle{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:12px;padding:12px 14px;margin-bottom:8px}.hws3-toggle b{display:block;font-size:13px}.hws3-toggle span{display:block;color:var(--faint,#9A958B);font-size:11.5px;margin-top:2px}.hws3-sw{width:40px;height:23px;border:0;border-radius:999px;background:var(--line-2,#E0DCD3);position:relative;cursor:pointer;flex-shrink:0}.hws3-sw:after{content:"";position:absolute;top:2px;left:2px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:.16s}.hws3-sw.on{background:var(--brand,#0C55F4)}.hws3-sw.on:after{left:19px}.hws3-pills{display:flex;flex-wrap:wrap;gap:7px}.hws3-pills button{border:1px solid var(--line,#ECE9E2);background:#fff;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer;color:var(--soft,#6B6760)}.hws3-pills button.on{border-color:var(--brand,#0C55F4);background:var(--brand-soft,#EAF0FE);color:var(--brand,#0C55F4)}.hws3-swatches{display:flex;flex-wrap:wrap;gap:8px}.hws3-swatches button{width:30px;height:30px;border:2px solid #fff;border-radius:9px;box-shadow:0 0 0 1px var(--line,#ECE9E2);cursor:pointer}.hws3-font-demo{border:1px solid var(--line,#ECE9E2);background:#fff;border-radius:14px;padding:18px;font-weight:800;font-size:22px;margin:8px 0 16px}.hws3-presets{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.hws3-preset{border:2px solid var(--line,#ECE9E2);background:#fff;border-radius:14px;padding:0;overflow:hidden;text-align:left;cursor:pointer;transition:.16s}.hws3-preset:hover{transform:translateY(-2px)}.hws3-preset.on{border-color:var(--brand,#0C55F4);box-shadow:0 0 0 3px var(--brand-soft,#EAF0FE)}.hws3-preset>span{display:block;height:82px}.hws3-preset>b{display:block;padding:10px 12px 2px;font-size:13px}.hws3-preset>small{display:block;padding:0 12px 10px;color:var(--faint,#9A958B);font-size:11px}.hws3-listform h3{font-size:12px;text-transform:uppercase;color:var(--faint,#9A958B);letter-spacing:.08em;margin:18px 0 10px}.hws3-item{display:grid;grid-template-columns:auto auto 1fr auto;gap:10px;align-items:start;background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:14px;padding:12px;margin-bottom:9px}.hws3-emoji{width:46px!important;text-align:center;font-size:20px;padding:8px!important}.hws3-x{width:30px;height:30px;border-radius:9px;border:1px solid var(--line,#ECE9E2);background:#fff;color:#E5484D;cursor:pointer}.hws3-chips{display:flex;flex-wrap:wrap;gap:7px}.hws3-chips span,.hws3-chips button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#ECE9E2);border-radius:999px;background:#fff;padding:7px 11px;font-size:12px;font-weight:800}.hws3-chips span button{border:0;padding:0;color:#E5484D;background:transparent}.hws3-ok{display:block;color:#16A36B;margin-top:4px}.hws3-ko{display:block;color:#E5484D;margin-top:4px}.add{width:100%;border:1.5px dashed var(--line-2,#E0DCD3);background:#fff;color:var(--brand,#0C55F4);font-weight:800;border-radius:12px;padding:10px;cursor:pointer}
.hws3-widget{position:relative;z-index:2;background:var(--w-bg);border-radius:var(--w-r);box-shadow:var(--w-shadow);border:var(--w-ow);overflow:hidden;display:flex;flex-direction:column;font-family:var(--w-font);color:var(--w-cardtxt)}.hws3-w-hero{padding:var(--w-headpad);background:var(--w-hd);color:var(--w-hdt);position:relative;overflow:hidden}.hws3-w-hero:after{content:"";position:absolute;right:-70px;top:-70px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.14)}.hws3-w-top{display:flex;align-items:center;gap:10px;position:relative;z-index:1}.hws3-w-top b{font-size:15px}.hws3-w-top button{margin-left:auto;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.18);color:currentColor;display:grid;place-items:center}.hws3-w-top svg{width:16px;height:16px}.hws3-avs{display:flex;margin-top:18px;position:relative;z-index:1}.hws3-avs span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.22);border:2px solid rgba(255,255,255,.86);margin-right:-8px;color:#fff;font-weight:900}.hws3-title{font-size:var(--w-tsize);font-weight:900;line-height:1.22;margin-top:18px;position:relative;z-index:1}.hws3-sub{display:flex;align-items:center;gap:6px;margin-top:8px;opacity:.9}.hws3-sub i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e}.hws3-w-head.compact{min-height:68px;background:var(--w-hd);color:var(--w-hdt);display:flex;align-items:center;gap:12px;padding:0 16px}.hws3-w-head.compact button{width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.18);color:currentColor}.hws3-w-head.compact svg{width:18px}.hws3-w-head.compact b{display:block;font-size:15px}.hws3-w-head.compact small{opacity:.85}.hws3-w-body{flex:1;min-height:0;overflow:auto;padding:var(--w-pad);background:var(--w-body);display:flex;flex-direction:column;gap:var(--w-gap)}.hws3-st{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8;margin-top:2px}.hws3-home-card{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;background:var(--w-card);border:var(--w-bw) solid var(--w-cardbr);border-radius:var(--w-cardr);padding:var(--w-cardpad);box-shadow:0 1px 6px rgba(0,0,0,.06);cursor:pointer;text-align:left}.hws3-home-card>span{width:44px;height:44px;border-radius:13px;background:var(--w-accent);color:#fff;display:grid;place-items:center;font-size:20px;grid-row:span 2}.hws3-home-card b{font-size:14px}.hws3-home-card small{grid-column:2;color:#94a3b8;font-size:12px}.hws3-home-card em{font-style:normal;color:#cbd5e1;font-size:18px;grid-row:1/3;grid-column:3}.hws3-recent{background:var(--w-card);border-radius:var(--w-cardr);padding:13px;color:#64748b;border:var(--w-bw) solid var(--w-cardbr)}
.hws3-msgs{flex:1;overflow:auto;padding:var(--w-pad);background:var(--w-body);display:flex;flex-direction:column;gap:10px}.hws3-row{display:flex;align-items:flex-end;gap:8px;max-width:88%}.hws3-row.usr{margin-left:auto}.hws3-row p{margin:0;padding:10px 13px;font-size:var(--w-msize);line-height:1.48}.hws3-row.bot p{background:var(--w-card);color:var(--w-cardtxt);border-radius:var(--w-botr);border:var(--w-bw) solid var(--w-cardbr);box-shadow:0 1px 5px rgba(0,0,0,.06)}.hws3-row.usr p{background:var(--w-accent);color:#fff;border-radius:var(--w-usrr)}.hws3-bav{width:28px;height:28px;min-width:28px;border-radius:50%;background:var(--w-accent);color:#fff;display:grid;place-items:center;font-weight:900;font-size:11px}.hws3-quick{display:flex;gap:7px;flex-wrap:wrap;padding:8px var(--w-pad);background:var(--w-body)}.hws3-quick button{border:0;background:rgba(12,85,244,.10);color:var(--w-accent);border-radius:999px;padding:7px 10px;font-weight:800;font-size:12px}.hws3-composer{display:flex;align-items:center;gap:8px;padding:11px 13px;background:var(--w-foot);border-top:1px solid var(--w-cardbr)}.hws3-composer .hws3-tools{display:flex;gap:8px;color:#94a3b8}.hws3-composer span{flex:1;background:var(--w-input);border:1px solid var(--w-cardbr);border-radius:14px;padding:10px 13px;color:#94a3b8}.hws3-composer button{width:40px;height:40px;border:0;border-radius:13px;background:var(--w-accent);color:#fff;display:grid;place-items:center}.hws3-composer svg{width:18px}.hws3-nav{display:flex;gap:4px;padding:8px 10px;background:var(--w-nav);border-top:1px solid var(--w-cardbr)}.hws3-nav button{flex:1;border:0;background:transparent;border-radius:13px;padding:7px 4px;color:#94a3b8;display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:900;cursor:pointer}.hws3-nav button.on{background:var(--w-navon);color:var(--w-accent)}.hws3-nav svg{width:19px;height:19px}.hws3-nav span{font-size:10.5px}.hws3-powered{text-align:center;font-size:10px;color:#94a3b8;background:var(--w-foot);padding:6px;border-top:1px solid var(--w-cardbr)}
.hws3-simple{flex:1;background:var(--w-body);padding:38px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.hws3-simple>span{font-size:40px}.hws3-simple b{font-size:20px}.hws3-simple p{color:#64748b;margin:0}.hws3-simple button{border:0;border-radius:13px;background:var(--w-accent);color:#fff;font-weight:900;padding:11px 16px}.hws3-quote{display:flex;flex-direction:column;min-height:0;height:100%;background:#fff}.hws3-q-head{min-height:74px;background:var(--w-hd);color:var(--w-hdt);display:flex;align-items:center;gap:13px;padding:0 16px}.hws3-q-head button{width:38px;height:38px;border:0;border-radius:11px;background:rgba(255,255,255,.18);color:currentColor}.hws3-q-head b{display:block;font-size:15px}.hws3-q-head small{opacity:.9}.hws3-q-body{flex:1;overflow:auto;background:var(--w-body);padding:22px}.hws3-q-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:22px;box-shadow:0 14px 34px rgba(15,23,42,.08)}.hws3-q-step{font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8}.hws3-q-progress{height:6px;border-radius:99px;background:rgba(12,85,244,.14);overflow:hidden;margin:16px 0 24px}.hws3-q-progress i{display:block;height:100%;width:100%;background:var(--w-accent)}.hws3-q-card h3{margin:0 0 18px;font-size:19px}.hws3-q-field{margin-bottom:20px}.hws3-q-field label{display:block;font-size:16px;font-weight:900;margin-bottom:10px}.hws3-q-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hws3-q-grid button{overflow:hidden;border:2px solid #e2e8f0;border-radius:18px;background:#fff;text-align:left;padding:0;cursor:pointer}.hws3-q-grid .im{height:98px;background:#f1f5f9;display:grid;place-items:center;color:#94a3b8}.hws3-q-grid img{width:100%;height:100%;object-fit:cover}.hws3-q-grid b{display:block;padding:12px 14px;font-size:14px}.hws3-q-grid em{display:block;padding:0 14px 12px;color:#64748b;font-style:normal;font-size:12px}.hws3-q-line{width:100%;display:flex;align-items:center;justify-content:space-between;border:2px solid #e2e8f0;border-radius:14px;background:#fff;padding:12px 14px;margin-bottom:8px}.hws3-q-line em{font-style:normal;color:#64748b}.hws3-q-field input{width:100%;border:2px solid #e2e8f0;border-radius:14px;padding:13px 14px;font-size:14px}.hws3-q-field input[type=range]{padding:0;accent-color:var(--w-accent);border:0}.hws3-num,.hws3-yesno{display:flex;gap:8px}.hws3-num button,.hws3-yesno button{border:2px solid #e2e8f0;border-radius:14px;background:#fff;padding:10px 14px;font-weight:900}.hws3-num b{display:grid;place-items:center;min-width:38px}.hws3-q-foot{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#fff;border-top:1px solid #e2e8f0}.hws3-q-foot button{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:11px 15px;font-weight:900}.hws3-q-foot button.pri{background:var(--w-accent);color:#fff;border-color:transparent}.hws3-q-foot span{margin-left:auto;color:#64748b}.hws3-q-foot b{color:var(--w-accent)}
@media(max-width:1200px){.hws3-grid{grid-template-columns:1fr}.hws3-preview{position:relative;top:auto}.hws3-stage{min-height:620px}.hws3-section{grid-template-columns:1fr}}


/* ===== HETO V31 — Agents IA spécialistes d'options ===== */
#hd-root .agent-pick.heto-agent-stack-sidebar{min-height:52px;align-items:center;background:#fff;border-color:var(--line);}
#hd-root .heto-side-stack{display:flex;align-items:center;padding-left:12px;min-width:62px;flex-shrink:0;}
#hd-root .heto-side-face{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2.5px solid #fff;margin-left:-12px;background:var(--rail-2);box-shadow:0 1px 4px rgba(0,0,0,.14);display:grid;place-items:center;color:var(--soft);font-size:11px;font-weight:800;}
#hd-root .heto-side-face:first-child{margin-left:0;}
#hd-root .heto-side-face img{width:100%;height:100%;object-fit:cover;display:block;}
#hd-root .heto-side-face.more{background:#eef2ff;color:var(--brand);}
#hd-root .heto-agent-page .teambar{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);padding:18px 20px;display:flex;align-items:center;gap:18px;margin:18px 0 26px;}
#hd-root .heto-agent-page .bstack{display:flex;align-items:center;padding-left:14px;}
#hd-root .heto-agent-page .bface{width:48px;height:48px;border-radius:50%;overflow:hidden;border:3px solid #fff;margin-left:-15px;background:var(--rail-2);box-shadow:0 2px 8px rgba(0,0,0,.12);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--soft);}
#hd-root .heto-agent-page .bface:first-child{margin-left:0;}
#hd-root .heto-agent-page .bface img{width:100%;height:100%;object-fit:cover;}
#hd-root .heto-agent-page .gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;}
#hd-root .heto-agent-page .acard{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:.18s;position:relative;}
#hd-root .heto-agent-page .acard:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px);}
#hd-root .heto-agent-page .acard.on{border-color:var(--agent-color,#0C55F4);box-shadow:0 0 0 2px color-mix(in srgb,var(--agent-color,#0C55F4) 18%,transparent),var(--shadow);}
#hd-root .heto-agent-page .acard .top{height:62px;background:linear-gradient(135deg,var(--agent-color,#0C55F4),color-mix(in srgb,var(--agent-color,#0C55F4) 52%,#fff));position:relative;}
#hd-root .heto-agent-page .acard .face{position:absolute;left:18px;bottom:-22px;width:54px;height:54px;border-radius:50%;border:3px solid #fff;background:var(--rail-2);box-shadow:var(--shadow);overflow:hidden;display:grid;place-items:center;}
#hd-root .heto-agent-page .acard .face img{width:100%;height:100%;object-fit:cover;}
#hd-root .heto-agent-page .acard .badge{position:absolute;top:11px;right:12px;font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:99px;background:rgba(255,255,255,.92);color:var(--ink);display:inline-flex;align-items:center;gap:5px;}
#hd-root .heto-agent-page .acard .badge i{width:6px;height:6px;border-radius:50%;background:var(--ok);}
#hd-root .heto-agent-page .acard .bd{padding:30px 18px 14px;}
#hd-root .heto-agent-page .acard .nm{font-size:16px;font-weight:800;}
#hd-root .heto-agent-page .acard .rl{font-size:11.5px;font-weight:700;letter-spacing:.4px;color:var(--agent-color,#0C55F4);text-transform:uppercase;margin-top:2px;}
#hd-root .heto-agent-page .acard .tag{font-size:12.5px;color:var(--soft);margin-top:9px;line-height:1.45;min-height:36px;}
#hd-root .heto-agent-page .acard .caps{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
#hd-root .heto-agent-page .acard .chip{font-size:11px;font-weight:600;padding:4px 9px;border-radius:99px;background:var(--rail-2);color:var(--soft);}
#hd-root .heto-agent-page .acard.on .chip{background:color-mix(in srgb,var(--agent-color,#0C55F4) 12%,#fff);color:var(--agent-color,#0C55F4);}
#hd-root .heto-agent-page .acard .ft{margin-top:auto;padding:12px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;}
#hd-root .heto-agent-page .cfgbar{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:12px 16px;margin-bottom:18px;position:relative;overflow:hidden;}
#hd-root .heto-agent-page .cfgbar::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--agent-color,#0C55F4);}
#hd-root .heto-agent-page .cfgbar .face{width:46px;height:46px;border-radius:50%;overflow:hidden;background:var(--rail-2);display:grid;place-items:center;}
#hd-root .heto-agent-page .cfgbar .face img{width:100%;height:100%;object-fit:cover;}
#hd-root .heto-agent-page .module{border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow);margin-bottom:14px;overflow:hidden;}
#hd-root .heto-agent-page .mhead{display:flex;align-items:center;gap:13px;padding:15px 17px;}
#hd-root .heto-agent-page .mic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;background:color-mix(in srgb,var(--agent-color,#0C55F4) 12%,#fff);flex-shrink:0;}
#hd-root .heto-agent-page .mbody{border-top:1px solid var(--line);padding:16px 17px;display:grid;gap:14px;}
#hd-root .heto-agent-page .locked{border:1px dashed var(--line-2);border-radius:16px;background:var(--rail);padding:40px 28px;text-align:center;color:var(--soft);}

/* ============================================================
   V33 — Alignement page Agents IA sur le fichier index.html
   ============================================================ */
#hd-root .app{grid-template-columns:264px 1fr;background:var(--rail-2)}
#hd-root .rail{background:var(--rail);border-right:1px solid var(--line)}
#hd-root .site-switch{padding:0;border-bottom:0;position:relative}
#hd-root .ss-btn{display:flex;align-items:center;gap:11px;margin:14px 14px 4px;width:calc(100% - 28px);padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}
#hd-root .ss-btn:hover{background:#fff;border-color:var(--line)}
#hd-root .ss-logo{width:34px;height:34px;border-radius:9px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;flex-shrink:0}
#hd-root .ss-meta b{font-size:13.5px;font-weight:700;line-height:1.15;display:block;color:var(--ink)}
#hd-root .ss-meta span{font-size:11px;color:var(--faint);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none;letter-spacing:0;font-weight:500}
#hd-root .ss-btn .chev{color:var(--faint);font-size:13px;line-height:1}
#hd-root .agent-pick.team,#hd-root .agent-pick.heto-agent-stack-sidebar{display:flex;align-items:center;gap:12px;margin:8px 14px 12px;width:calc(100% - 28px);padding:10px 12px;border:0;border-radius:13px;background:transparent;cursor:pointer;transition:.15s;min-height:56px;box-shadow:none}
#hd-root .agent-pick.team:hover,#hd-root .agent-pick.heto-agent-stack-sidebar:hover{background:var(--rail-2);border:0}
#hd-root .agent-pick .stack{display:flex;align-items:center;flex-shrink:0}
#hd-root .agent-pick .sface{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:17px;border:2.5px solid var(--rail);margin-left:-12px;box-shadow:0 1px 4px rgba(0,0,0,.14);overflow:hidden;background:var(--rail-2);color:var(--soft)}
#hd-root .agent-pick .sface:first-child{margin-left:0}
#hd-root .agent-pick:hover .sface{border-color:var(--rail-2)}
#hd-root .agent-pick .sface img{width:100%;height:100%;object-fit:cover;display:block}
#hd-root .agent-pick .sface.more{background:var(--rail-2);color:var(--soft);font-size:12px;font-weight:700}
#hd-root .agent-pick .teamtx{flex:1;min-width:0;text-align:left}
#hd-root .agent-pick .teamtx b{font-size:13.5px;font-weight:700;display:block;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
#hd-root .agent-pick .teamtx span{font-size:10.5px;font-weight:700;letter-spacing:.3px;color:var(--faint);text-transform:uppercase;display:block;margin-top:2px}
#hd-root .nav{padding:4px 12px 20px;overflow:auto;flex:1}
#hd-root .nav .grp{font-size:10.5px;font-weight:700;letter-spacing:.6px;color:var(--faint);text-transform:uppercase;padding:13px 10px 5px;height:auto;display:block}
#hd-root .nav a{display:flex;align-items:center;gap:11px;padding:8px 11px;border-radius:10px;color:var(--soft);font-weight:600;font-size:13.5px;box-shadow:none;background:transparent}
#hd-root .nav a:hover{background:var(--rail-2);color:var(--ink)}
#hd-root .nav a.on{background:var(--brand-soft);color:var(--brand);box-shadow:none;font-weight:700}
#hd-root .nav a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0}
#hd-root .railfoot{padding:12px;border-top:1px solid var(--line)}
#hd-root .rolechip{font-size:10.5px;font-weight:700;letter-spacing:.4px;color:var(--ok);background:transparent;padding:4px 4px 10px;margin:0;text-transform:none;border-radius:0;display:flex;align-items:center;gap:6px}
#hd-root .rolechip::before{width:7px;height:7px;background:var(--ok)}
#hd-root .plan{border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px;margin-bottom:10px;box-shadow:none}
#hd-root .plan .pt{display:flex;justify-content:space-between;font-size:12.5px;font-weight:700;margin-bottom:0}
#hd-root .plan .pt .tag{font-size:12.5px;background:transparent;color:var(--ink);padding:0;border-radius:0}
#hd-root .meter{height:6px;border-radius:99px;background:var(--rail-2);margin:8px 0;overflow:hidden}
#hd-root .meter i{display:block;height:100%;background:var(--brand);border-radius:99px}
#hd-root .plan small{font-size:11px;color:var(--faint)}
#hd-root .plan .up{width:100%;background:#1a1a1a;color:#fff;border:0;border-radius:11px;padding:12px;font-family:inherit;font-weight:700;font-size:13px;margin-top:12px}

#hd-root.heto-agents-active-page .topbar{height:60px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:12px;padding:0 26px;backdrop-filter:none}
#hd-root.heto-agents-active-page .collapse,
#hd-root.heto-agents-active-page .search,
#hd-root.heto-agents-active-page .tbtns{display:none!important}
#hd-root.heto-agents-active-page .crumb{font-size:14px;color:var(--soft);font-weight:500}
#hd-root.heto-agents-active-page .crumb b{color:var(--ink);font-weight:800}
#hd-root.heto-agents-active-page .view{background:var(--rail-2);padding:26px 30px 60px}
#hd-root.heto-agents-active-page .view-inner{max-width:none;margin:0}
#hd-root .heto-agent-page .phead{display:block;margin-bottom:18px}
#hd-root .heto-agent-page .ph1{font-size:23px;font-weight:800;letter-spacing:-.4px;line-height:1.15}
#hd-root .heto-agent-page .psub{font-size:13.5px;color:var(--soft);margin-top:4px;max-width:620px;display:block;line-height:1.25}
#hd-root .heto-agent-page .teambar{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);padding:18px 20px;display:flex;align-items:center;gap:18px;margin:18px 0 26px}
#hd-root .heto-agent-page .teambar .bstack{display:flex;align-items:center;padding-left:12px}
#hd-root .heto-agent-page .teambar .bface{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:22px;border:3px solid #fff;margin-left:-15px;box-shadow:0 2px 8px rgba(0,0,0,.12);overflow:hidden;background:var(--rail-2);color:var(--soft);font-weight:700}
#hd-root .heto-agent-page .teambar .bface:first-child{margin-left:0}
#hd-root .heto-agent-page .teambar .bface img{width:100%;height:100%;object-fit:cover;display:block}
#hd-root .heto-agent-page .teambar .info{flex:1;min-width:0}
#hd-root .heto-agent-page .teambar .info .t{font-size:17px;font-weight:800;color:var(--ink)}
#hd-root .heto-agent-page .teambar .info .s{font-size:12.5px;color:var(--soft);margin-top:3px}
#hd-root .heto-agent-page .secttl{font-size:12px;font-weight:700;letter-spacing:.5px;color:var(--faint);text-transform:uppercase;margin:0 0 13px}
#hd-root .heto-agent-page .gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
#hd-root .heto-agent-page .acard{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:.18s;position:relative;min-height:0}
#hd-root .heto-agent-page .acard:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
#hd-root .heto-agent-page .acard.on{border-color:var(--agent-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--agent-color) 18%,transparent),var(--shadow)}
#hd-root .heto-agent-page .acard .top{height:62px;background:linear-gradient(135deg,var(--agent-color),color-mix(in srgb,var(--agent-color) 52%,#fff));position:relative}
#hd-root .heto-agent-page .acard .face{position:absolute;left:18px;bottom:-22px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:25px;border:3px solid #fff;background:var(--rail-2);box-shadow:var(--shadow);overflow:hidden}
#hd-root .heto-agent-page .acard .face img{width:100%;height:100%;object-fit:cover;display:block}
#hd-root .heto-agent-page .acard .badge{position:absolute;top:11px;right:12px;font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:99px;background:rgba(255,255,255,.92);color:var(--ink);display:inline-flex;align-items:center;gap:5px}
#hd-root .heto-agent-page .acard .badge i{width:6px;height:6px;border-radius:50%;background:var(--ok)}
#hd-root .heto-agent-page .acard .bd{padding:30px 18px 14px}
#hd-root .heto-agent-page .acard .nm{font-size:16px;font-weight:800;color:var(--ink)}
#hd-root .heto-agent-page .acard .rl{font-size:11.5px;font-weight:700;letter-spacing:.4px;color:var(--agent-color);text-transform:uppercase;margin-top:2px}
#hd-root .heto-agent-page .acard .tag{font-size:12.5px;color:var(--soft);margin-top:9px;line-height:1.45;min-height:36px}
#hd-root .heto-agent-page .acard .caps{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
#hd-root .heto-agent-page .acard .chip{font-size:11px;font-weight:600;padding:4px 9px;border-radius:99px;background:var(--rail-2);color:var(--soft)}
#hd-root .heto-agent-page .acard .chip.on{background:color-mix(in srgb,var(--agent-color) 12%,#fff);color:var(--agent-color)}
#hd-root .heto-agent-page .acard .ft{margin-top:auto;padding:12px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:9px}
#hd-root .heto-agent-page .acard .ft .lab{font-size:13px;font-weight:700;flex:1;color:var(--ink)}
#hd-root .heto-agent-page .acard .ft .cfgb{font-size:12.5px;font-weight:700;color:var(--agent-color);cursor:pointer;background:none;border:0;font-family:inherit}
#hd-root .heto-agent-page .acard .ft .sw{width:42px;height:24px;border-radius:99px;background:var(--line-2);border:0;position:relative;cursor:pointer;flex-shrink:0;transition:.2s;padding:0}
#hd-root .heto-agent-page .acard .ft .sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
#hd-root .heto-agent-page .acard .ft .sw.on{background:var(--agent-color)}
#hd-root .heto-agent-page .acard .ft .sw.on::after{transform:translateX(18px)}

/* V35 — Studio contenu : distinction Accueil / nouvelle conversation */
.hws3-note{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);background:var(--rail);border-radius:13px;padding:12px 14px;margin:0 0 14px;color:var(--soft);font-size:12.5px;line-height:1.4}.hws3-note b{color:var(--ink);font-size:13px}.hws3-note span b{font-size:12.5px}

/* ============================================================
   V40 — animation uniquement quand une section agent apparaît
   ============================================================ */
#hd-root .nav .grp.heto-section-added,
#hd-root .nav a.heto-section-added{
  animation:hetoSectionAddedIn .72s cubic-bezier(.16,1,.3,1) both;
  animation-delay:var(--heto-section-delay,0ms);
}
#hd-root .nav .grp.heto-section-added{
  color:var(--brand)!important;
}
#hd-root .nav a.heto-section-added{
  position:relative!important;
  overflow:hidden!important;
}
#hd-root .nav a.heto-section-added::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(12,85,244,.16), rgba(12,85,244,0));
  pointer-events:none;
  animation:hetoSectionAddedShine .82s cubic-bezier(.16,1,.3,1) both;
  animation-delay:var(--heto-section-delay,0ms);
}
@keyframes hetoSectionAddedIn{
  0%{opacity:0;transform:translateX(-18px) scale(.985);filter:blur(4px)}
  58%{opacity:1;transform:translateX(4px) scale(1);filter:blur(0)}
  100%{opacity:1;transform:translateX(0) scale(1);filter:blur(0)}
}
@keyframes hetoSectionAddedShine{
  0%{opacity:0;transform:translateX(-30%)}
  28%{opacity:1}
  100%{opacity:0;transform:translateX(72%)}
}
@media (prefers-reduced-motion: reduce){
  #hd-root .nav .grp.heto-section-added,
  #hd-root .nav a.heto-section-added,
  #hd-root .nav a.heto-section-added::after{animation:none!important;transition:none!important;transform:none!important;filter:none!important}
}

/* V39 — preview widget fidèle au rendu public : quick replies, outils compacts, powered puis navigation */
.hws3-quick{padding:10px var(--w-pad) 9px!important;gap:7px!important}
.hws3-composer{gap:7px!important;padding:10px 14px!important;align-items:center!important}
.hws3-composer .hws3-tools{display:flex!important;gap:7px!important;align-items:center!important;flex:0 0 auto!important}
.hws3-composer .hws3-tool{width:36px!important;height:36px!important;min-width:36px!important;border:1px solid var(--w-cardbr)!important;background:var(--w-input)!important;color:#94a3b8!important;border-radius:12px!important;display:grid!important;place-items:center!important;font-size:16px!important;box-shadow:none!important;padding:0!important}
.hws3-composer span{min-width:0!important;height:42px!important;display:flex!important;align-items:center!important;padding:0 13px!important}
.hws3-composer .hws3-send{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 auto!important}
.hws3-powered{order:18!important;border-top:1px solid var(--w-cardbr)!important;padding:6px 8px!important;background:var(--w-foot)!important}
.hws3-nav{order:20!important;box-shadow:none!important;border-top:1px solid var(--w-cardbr)!important}

/* V45 — Aperçu widget isolé et stable */
.hws3-stage .hws3-widget,.hws3-stage .hws3-widget *{box-sizing:border-box!important}
.hws3-stage .hws3-widget button{font:inherit}
.hws3-stage .hws3-widget .hws3-w-body,.hws3-stage .hws3-widget .hws3-msgs,.hws3-stage .hws3-widget .hws3-simple{min-width:0!important}
.hws3-stage .hws3-widget .hws3-home-card{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;text-decoration:none!important}
.hws3-stage .hws3-widget .hws3-home-card>span{grid-row:span 2!important}
.hws3-stage .hws3-widget .hws3-home-card small{grid-column:2!important}
.hws3-stage .hws3-widget .hws3-home-card em{grid-column:3!important;grid-row:1/3!important}
#humanReplyInput{transition:none!important}
#humanReplyInput:focus{transition:none!important;animation:none!important}

/* ============================================================
   V56 — animations plus cohérentes : fade discret, sans glow/shine
   ============================================================ */
#hd-root .nav .grp.heto-section-added,
#hd-root .nav a.heto-section-added{
  animation:hetoV56SectionSoftIn .28s ease-out both!important;
  animation-delay:var(--heto-section-delay,0ms)!important;
  filter:none!important;
}
#hd-root .nav .grp.heto-section-added{color:var(--faint)!important}
#hd-root .nav a.heto-section-added::after{display:none!important;content:none!important}
@keyframes hetoV56SectionSoftIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
#hd-root .heto-widgets-loading .skstrip:after,
#hd-root .heto-widgets-loading .skline:after,
#hd-root .heto-widgets-loading .skpill:after,
#hd-root .heto-widgets-loading .skstat:after{display:none!important;content:none!important}
#hd-root .heto-widgets-loading .skstrip,
#hd-root .heto-widgets-loading .skline,
#hd-root .heto-widgets-loading .skpill,
#hd-root .heto-widgets-loading .skstat{animation:hetoV56SkeletonPulse 1.25s ease-in-out infinite alternate;background:#F1F0EC!important}
#hd-root .heto-widgets-loading .skcard{box-shadow:0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05)!important}
@keyframes hetoV56SkeletonPulse{from{opacity:.58}to{opacity:1}}

/* ============================================================
   V69 — Correctif réduction sidebar dashboard actuel
   Le design V33 réécrivait #hd-root .app en 264px après .app.mini.
   Résultat : textes cachés mais rail encore large. On resynchronise
   largeur, contenus et état mobile en fin de fichier avec une spécificité
   supérieure.
   ============================================================ */
#hd-root .app.mini{
  grid-template-columns:76px minmax(0,1fr) !important;
}
#hd-root .app.mini .rail{
  width:76px !important;
  min-width:76px !important;
  max-width:76px !important;
  overflow:hidden !important;
}
#hd-root .app.mini .site-switch{
  padding:0 !important;
}
#hd-root .app.mini .ss-btn{
  width:42px !important;
  height:42px !important;
  min-height:42px !important;
  margin:14px auto 8px !important;
  padding:0 !important;
  justify-content:center !important;
  gap:0 !important;
}
#hd-root .app.mini .ss-logo{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
}
#hd-root .app.mini .ss-meta,
#hd-root .app.mini .ss-btn .chev,
#hd-root .app.mini .ap-meta,
#hd-root .app.mini .agent-pick .chev,
#hd-root .app.mini .agent-pick .teamtx{
  display:none !important;
  opacity:0 !important;
  max-width:0 !important;
  margin:0 !important;
  pointer-events:none !important;
}
#hd-root .app.mini .agent-pick,
#hd-root .app.mini .agent-pick.team,
#hd-root .app.mini .agent-pick.heto-agent-stack-sidebar{
  width:42px !important;
  height:42px !important;
  min-height:42px !important;
  margin:6px auto 10px !important;
  padding:0 !important;
  justify-content:center !important;
  gap:0 !important;
  overflow:visible !important;
}
#hd-root .app.mini .agent-pick .stack{
  justify-content:center !important;
  width:34px !important;
  min-width:34px !important;
}
#hd-root .app.mini .agent-pick .sface{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  margin-left:0 !important;
  border-width:2px !important;
}
#hd-root .app.mini .agent-pick .sface:not(:first-child){
  display:none !important;
}
#hd-root .app.mini .nav{
  padding:6px 10px 14px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
#hd-root .app.mini .nav .grp{
  height:20px !important;
  min-height:20px !important;
  padding:8px 0 5px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:0 !important;
  line-height:0 !important;
  letter-spacing:0 !important;
  color:transparent !important;
}
#hd-root .app.mini .nav .grp::after{
  content:"" !important;
  display:block !important;
  width:24px !important;
  height:1px !important;
  border-radius:99px !important;
  background:var(--line) !important;
}
#hd-root .app.mini .nav .grp:first-child::after{
  display:none !important;
}
#hd-root .app.mini .nav a{
  width:44px !important;
  height:40px !important;
  min-height:40px !important;
  margin:0 auto 4px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  border-radius:12px !important;
}
#hd-root .app.mini .nav a svg{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
}
#hd-root .app.mini .nav a span,
#hd-root .app.mini .nav a .badge,
#hd-root .app.mini .nav a .dot{
  display:none !important;
  opacity:0 !important;
  max-width:0 !important;
  margin:0 !important;
  pointer-events:none !important;
}
#hd-root .app.mini .railfoot{
  padding:10px 0 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-top:1px solid var(--line) !important;
}
#hd-root .app.mini .rolechip,
#hd-root .app.mini .plan{
  display:none !important;
}
#hd-root .app.mini .planmini{
  display:grid !important;
  width:42px !important;
  height:42px !important;
  margin:0 auto !important;
}

@media(max-width:900px){
  #hd-root .app,
  #hd-root .app.mini{
    grid-template-columns:1fr !important;
  }
  #hd-root .app.mini .rail{
    width:268px !important;
    min-width:268px !important;
    max-width:268px !important;
    overflow:hidden !important;
  }
  #hd-root .app.mini .ss-btn{
    width:calc(100% - 28px) !important;
    height:auto !important;
    min-height:0 !important;
    margin:14px 14px 4px !important;
    padding:11px 12px !important;
    justify-content:flex-start !important;
    gap:11px !important;
  }
  #hd-root .app.mini .ss-meta,
  #hd-root .app.mini .ss-btn .chev,
  #hd-root .app.mini .agent-pick .teamtx,
  #hd-root .app.mini .ap-meta,
  #hd-root .app.mini .agent-pick .chev{
    display:block !important;
    opacity:1 !important;
    max-width:none !important;
    margin:0 !important;
    pointer-events:auto !important;
  }
  #hd-root .app.mini .agent-pick,
  #hd-root .app.mini .agent-pick.team,
  #hd-root .app.mini .agent-pick.heto-agent-stack-sidebar{
    width:calc(100% - 28px) !important;
    height:auto !important;
    min-height:56px !important;
    margin:8px 14px 12px !important;
    padding:10px 12px !important;
    justify-content:flex-start !important;
    gap:12px !important;
  }
  #hd-root .app.mini .agent-pick .stack{
    width:auto !important;
    min-width:0 !important;
  }
  #hd-root .app.mini .agent-pick .sface{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    margin-left:-12px !important;
    border-width:2.5px !important;
  }
  #hd-root .app.mini .agent-pick .sface:first-child{
    margin-left:0 !important;
  }
  #hd-root .app.mini .agent-pick .sface:not(:first-child){
    display:grid !important;
  }
  #hd-root .app.mini .nav{
    padding:4px 12px 20px !important;
  }
  #hd-root .app.mini .nav .grp{
    height:auto !important;
    min-height:0 !important;
    padding:13px 10px 5px !important;
    display:block !important;
    font-size:10.5px !important;
    line-height:1.5 !important;
    letter-spacing:.6px !important;
    color:var(--faint) !important;
  }
  #hd-root .app.mini .nav .grp::after{
    display:none !important;
  }
  #hd-root .app.mini .nav a{
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:8px 11px !important;
    justify-content:flex-start !important;
    gap:11px !important;
  }
  #hd-root .app.mini .nav a span,
  #hd-root .app.mini .nav a .badge,
  #hd-root .app.mini .nav a .dot{
    display:inline-flex !important;
    opacity:1 !important;
    max-width:none !important;
    pointer-events:auto !important;
  }
  #hd-root .app.mini .nav a .badge,
  #hd-root .app.mini .nav a .dot{
    margin-left:auto !important;
  }
  #hd-root .app.mini .railfoot{
    display:block !important;
    padding:12px !important;
  }
  #hd-root .app.mini .rolechip,
  #hd-root .app.mini .plan{
    display:block !important;
  }
  #hd-root .app.mini .rolechip{
    display:flex !important;
  }
  #hd-root .app.mini .planmini{
    display:none !important;
  }
}


/* ============================================================
   V70 — Réduction sidebar sans déplacement du dashboard
   La sidebar se compacte visuellement, mais la colonne réservée au
   contenu reste identique : les cartes, tableaux et topbar ne glissent
   plus au clic sur le bouton menu.
   ============================================================ */
@media (min-width:901px){
  #hd-root .app,
  #hd-root .app.mini{
    grid-template-columns:264px minmax(0,1fr) !important;
  }
  #hd-root .app.mini .rail{
    width:76px !important;
    min-width:76px !important;
    max-width:76px !important;
    justify-self:start !important;
  }
  #hd-root .app.mini .main{
    grid-column:2 !important;
    min-width:0 !important;
  }
  #hd-root .app.mini .topbar,
  #hd-root .app.mini .view{
    transform:none !important;
  }
}

/* ============================================================
   V72 — Réduction sidebar sans déplacement vertical
   On garde exactement les espacements verticaux du menu ouvert.
   Seuls la largeur, le centrage horizontal et les textes changent.
   ============================================================ */
#hd-root .app.mini{
  grid-template-columns:76px minmax(0,1fr) !important;
}
#hd-root .app.mini .rail{
  width:76px !important;
  min-width:76px !important;
  max-width:76px !important;
  overflow:hidden !important;
}
#hd-root .app.mini .site-switch{
  padding:13px 12px !important;
}
#hd-root .app.mini .ss-btn{
  width:42px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:6px !important;
  justify-content:center !important;
  gap:0 !important;
}
#hd-root .app.mini .ss-logo{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  margin:0 !important;
}
#hd-root .app.mini .agent-pick,
#hd-root .app.mini .agent-pick.team,
#hd-root .app.mini .agent-pick.heto-agent-stack-sidebar{
  width:42px !important;
  height:auto !important;
  min-height:0 !important;
  margin:8px auto 0 !important;
  padding:5px !important;
  justify-content:center !important;
  align-items:center !important;
  gap:0 !important;
  overflow:visible !important;
}
#hd-root .app.mini .agent-pick .stack{
  width:30px !important;
  min-width:30px !important;
  height:30px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
#hd-root .app.mini .agent-pick .sface{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  margin-left:0 !important;
  border-width:2px !important;
}
#hd-root .app.mini .agent-pick .sface:not(:first-child){
  display:none !important;
}
#hd-root .app.mini .nav{
  padding:10px 10px 20px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
#hd-root .app.mini .nav .grp{
  height:34px !important;
  min-height:34px !important;
  padding:0 10px 6px !important;
  margin:0 !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  font-size:0 !important;
  line-height:1.5 !important;
  letter-spacing:0 !important;
  color:transparent !important;
}
#hd-root .app.mini .nav .grp::after{
  content:"" !important;
  display:block !important;
  width:24px !important;
  height:1px !important;
  border-radius:99px !important;
  background:var(--line) !important;
  margin-bottom:3px !important;
}
#hd-root .app.mini .nav .grp:first-child::after{
  display:none !important;
}
#hd-root .app.mini .nav a{
  width:42px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:8px 0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  border-radius:var(--r-ctrl) !important;
  font-size:13.5px !important;
  line-height:1.5 !important;
}
#hd-root .app.mini .nav a svg{
  width:17px !important;
  height:17px !important;
  min-width:17px !important;
  margin:0 !important;
  flex-shrink:0 !important;
}
#hd-root .app.mini .ss-meta,
#hd-root .app.mini .ss-btn .chev,
#hd-root .app.mini .ap-meta,
#hd-root .app.mini .agent-pick .chev,
#hd-root .app.mini .agent-pick .teamtx,
#hd-root .app.mini .nav a span,
#hd-root .app.mini .nav a .badge,
#hd-root .app.mini .nav a .dot{
  display:none !important;
  opacity:0 !important;
  max-width:0 !important;
  margin:0 !important;
  pointer-events:none !important;
}
#hd-root .app.mini .railfoot{
  padding:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-top:1px solid var(--line) !important;
}
#hd-root .app.mini .rolechip,
#hd-root .app.mini .plan{
  display:none !important;
}
#hd-root .app.mini .planmini{
  display:grid !important;
  width:42px !important;
  height:42px !important;
  margin:0 auto !important;
}

@media(max-width:900px){
  #hd-root .app,
  #hd-root .app.mini{
    grid-template-columns:1fr !important;
  }
  #hd-root .app.mini .rail{
    width:268px !important;
    min-width:268px !important;
    max-width:268px !important;
  }
}

/* ===== V80 — Devis : moteur de calcul avancé ===== */
.qbn-rules-panel{margin-top:18px}
.qbn-rule-examples{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 14px}
.qbn-rule-examples span{font-size:11px;font-weight:700;color:var(--brand);background:var(--brand-soft);border:1px solid color-mix(in srgb,var(--brand) 16%,#fff);border-radius:999px;padding:5px 9px}
.qbn-rule-card{border:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfaf8);border-radius:16px;padding:12px;margin-top:10px;box-shadow:var(--shadow)}
.qbn-rule-head{display:grid;grid-template-columns:auto minmax(160px,1fr) 30px 30px 30px;gap:8px;align-items:center;margin-bottom:10px}
.qbn-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.qbn-rule-card .qbn-field{margin:0}.qbn-rule-card .qbn-inp,.qbn-rule-card .qbn-esel{min-height:36px}
.qbn-rule-help{font-size:11px;color:var(--soft);margin:10px 0 0;line-height:1.45;background:var(--rail);border-radius:12px;padding:8px 10px}
.qbn-r-rule{background:color-mix(in srgb,var(--brand) 7%,#fff);border-radius:10px;padding:7px 9px;margin-top:4px}
@media(max-width:1100px){.qbn-rule-grid{grid-template-columns:1fr 1fr}.qbn-rule-head{grid-template-columns:1fr 30px 30px 30px}.qbn-rule-head .qbn-toggle{grid-column:1/-1}}
@media(max-width:720px){.qbn-rule-grid{grid-template-columns:1fr}.qbn-rule-head{grid-template-columns:1fr 30px 30px 30px}}


/* HETO v81 — Calculateur de devis : vrai moteur de calcul avancé */
.qbn-calc-hero{border:1px solid color-mix(in srgb,var(--brand) 18%,#fff);background:linear-gradient(135deg,var(--brand-soft),#fff);border-radius:16px;padding:14px 16px;margin:-4px 0 14px;color:var(--ink)}
.qbn-calc-hero b{display:block;font-size:14px;font-weight:900;margin-bottom:4px}.qbn-calc-hero span{display:block;font-size:12.5px;color:var(--soft);line-height:1.45}.qbn-rule-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 12px}.qbn-rule-presets button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 10px;text-align:left;font-size:12px;font-weight:800;color:var(--ink);cursor:pointer;box-shadow:var(--shadow)}.qbn-rule-presets button:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.qbn-formula-field{grid-column:1/-1}.qbn-var-help{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.qbn-var-help span,.qbn-var-help b{font-size:11px;line-height:1.2;border-radius:999px;padding:5px 8px;background:var(--rail);color:var(--soft);font-weight:700}.qbn-var-help b{background:var(--brand-soft);color:var(--brand)}.qbn-r-rule span{font-weight:800}.qbn-r-rule{background:linear-gradient(90deg,var(--brand-soft),transparent);padding-left:8px!important;border-radius:8px}
@media(max-width:1100px){.qbn-rule-presets{grid-template-columns:1fr 1fr}}@media(max-width:620px){.qbn-rule-presets{grid-template-columns:1fr}}


/* ===== V84 — devis : apparence cohérente et personnalisable ===== */
.qbn-page{--qbn-ui-radius:18px;--qbn-btn-radius:14px;--qbn-phone-radius:26px;--qbn-phone-shadow:0 18px 50px rgba(35,33,28,.16);--qbn-soft-accent:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 11%,#fff);--qbn-soft-surface:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 4%,#fff)}
.qbn-page .qbn-card,.qbn-page .qbn-step,.qbn-page .qbn-fcard,.qbn-page .qbn-mode,.qbn-page .qbn-picker,.qbn-page .qbn-empty,.qbn-page .qbn-insert-btn,.qbn-page .qbn-addstep,.qbn-page .qbn-rule-card,.qbn-page .qbn-calc-hero{border-radius:var(--qbn-ui-radius)!important}
.qbn-page .qbn-btn,.qbn-page .qbn-pv-btn,.qbn-page .qbn-pv-back,.qbn-page .qbn-inp,.qbn-page .qbn-smallinp,.qbn-page .qbn-esel,.qbn-page .qbn-opt,.qbn-page .qbn-pv-opt,.qbn-page .qbn-pv-tile,.qbn-page .qbn-pv-pill{border-radius:var(--qbn-btn-radius)!important}
.qbn-page .qbn-phone{border-radius:var(--qbn-phone-radius)!important;box-shadow:var(--qbn-phone-shadow)!important;background:var(--qbn-soft-surface)}
.qbn-page .qbn-step-h,.qbn-page .qbn-fcard,.qbn-page .qbn-opt,.qbn-page .qbn-card{transition:border-color .15s ease, box-shadow .18s ease, background .18s ease}
.qbn-page .qbn-step:hover,.qbn-page .qbn-fcard:hover,.qbn-page .qbn-card:hover{box-shadow:0 12px 30px rgba(12,85,244,.07)}
.qbn-page .qbn-head-row h1{letter-spacing:-.03em}
.qbn-page .qbn-lead{max-width:780px}
.qbn-ui-pane .qbn-style-grid{margin-top:4px}
.qbn-ui-thumb{display:block;height:64px;border-radius:14px;border:1px solid var(--line);background:linear-gradient(180deg,#fff,#f7f7f7);position:relative;overflow:hidden}
.qbn-ui-thumb i{position:absolute;left:0;right:0;top:0;height:20px;background:linear-gradient(135deg,var(--qbn-widget-color,#0C55F4),color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 64%,#ffffff))}
.qbn-ui-thumb b{position:absolute;left:10px;right:10px;top:28px;height:10px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.qbn-ui-thumb em{position:absolute;left:10px;right:24px;bottom:10px;height:8px;border-radius:6px;background:#E8E8E8}
.qbn-ui-thumb.minimal{background:#fff}
.qbn-ui-thumb.soft{background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 4%,#ffffff))}
.qbn-ui-thumb.soft b{background:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 7%,#ffffff)}
.qbn-ui-thumb.contrast{background:#141517;border-color:#20232b}
.qbn-ui-thumb.contrast i{background:linear-gradient(135deg,var(--qbn-widget-color,#0C55F4),#1f2937)}
.qbn-ui-thumb.contrast b,.qbn-ui-thumb.contrast em{background:#2b3140}
.qbn-toggle-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}
.qbn-color-row{display:flex;gap:8px;align-items:center}
.qbn-color-row .qbn-inp{flex:1}
.qbn-page[data-qbn-density="compact"] .qbn-pane{padding:18px}
.qbn-page[data-qbn-density="compact"] .qbn-step-body,.qbn-page[data-qbn-density="compact"] .qbn-fbody,.qbn-page[data-qbn-density="compact"] .qbn-pv-body{padding:14px}
.qbn-page[data-qbn-density="compact"] .qbn-fhead,.qbn-page[data-qbn-density="compact"] .qbn-step-h{padding:10px 12px}
.qbn-phone[data-qbn-header="solid"] .qbn-pv-head{background:var(--qbn-widget-color,#0C55F4)!important}
.qbn-phone[data-qbn-header="light"] .qbn-pv-head{background:linear-gradient(180deg,color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 10%,#ffffff),#ffffff)!important;color:#23211C!important;border-bottom:1px solid var(--line)}
.qbn-phone[data-qbn-header="light"] .qbn-pv-head .qbn-st{color:var(--soft)!important;opacity:1}
.qbn-phone[data-qbn-header="light"] .qbn-pv-head b{color:#23211C!important}
.qbn-phone[data-qbn-header="light"] .qbn-pv-prog{background:var(--line)!important}
.qbn-phone[data-qbn-header="light"] .qbn-pv-prog i{background:var(--qbn-widget-color,#0C55F4)!important}
.qbn-phone[data-qbn-button="soft"] .qbn-pv-btn{background:var(--qbn-soft-accent)!important;color:var(--qbn-widget-color,#0C55F4)!important;border:1px solid color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 22%,#ffffff)!important}
.qbn-phone[data-qbn-button="outline"] .qbn-pv-btn{background:#fff!important;color:var(--qbn-widget-color,#0C55F4)!important;border:1px solid var(--qbn-widget-color,#0C55F4)!important}
.qbn-phone[data-qbn-shadow="flat"]{box-shadow:0 1px 2px rgba(35,33,28,.08)!important}
.qbn-phone[data-qbn-shadow="strong"]{box-shadow:0 28px 70px rgba(12,85,244,.18)!important}
.qbn-page[data-qbn-theme="soft"] .qbn-card,.qbn-page[data-qbn-theme="soft"] .qbn-step,.qbn-page[data-qbn-theme="soft"] .qbn-fcard{background:linear-gradient(180deg,#fff,var(--qbn-soft-surface))}
.qbn-page[data-qbn-theme="contrast"] .qbn-card,.qbn-page[data-qbn-theme="contrast"] .qbn-step,.qbn-page[data-qbn-theme="contrast"] .qbn-fcard{border-color:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 16%,var(--line));box-shadow:0 14px 36px rgba(12,85,244,.10)}
.qbn-page[data-qbn-theme="minimal"] .qbn-card,.qbn-page[data-qbn-theme="minimal"] .qbn-step,.qbn-page[data-qbn-theme="minimal"] .qbn-fcard{box-shadow:none}
@media(max-width:900px){.qbn-toggle-row,.qbn-color-row{flex-direction:column;align-items:stretch}.qbn-color-row .qbn-btn{width:100%}}


/* ===== V86 — Widget Studio : onglet Devis + preview fidèle ===== */
.hws3-quote-presets .hws3-preset span.hws3-q-mini{display:block;width:100%;height:48px;border-radius:12px;border:1px solid rgba(15,23,42,.08);position:relative;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.hws3-q-mini i{position:absolute;left:0;right:0;top:0;height:18px;background:linear-gradient(135deg,var(--w-accent,#0C55F4),rgba(12,85,244,.55))}
.hws3-q-mini b{position:absolute;left:8px;right:8px;top:24px;height:8px;border-radius:8px;background:#eef2ff}
.hws3-q-mini em{position:absolute;left:8px;right:30px;bottom:7px;height:6px;border-radius:8px;background:#e2e8f0}
.hws3-q-mini.minimal i{background:#f8fafc}.hws3-q-mini.minimal b,.hws3-q-mini.minimal em{background:#e5e7eb}
.hws3-q-mini.soft{background:#f8fbff}.hws3-q-mini.soft i{background:linear-gradient(135deg,rgba(12,85,244,.14),rgba(12,85,244,.05))}
.hws3-q-mini.premium i{background:linear-gradient(135deg,#111827,var(--w-accent,#0C55F4))}
.hws3-q-mini.contrast{background:#111827}.hws3-q-mini.contrast i{background:linear-gradient(135deg,var(--w-accent,#0C55F4),#111827)}.hws3-q-mini.contrast b,.hws3-q-mini.contrast em{background:#334155}
.hws3-quote{--q-accent:var(--w-accent);--q-bg:var(--w-body);--q-card:var(--w-card);--q-text:var(--w-cardtxt);--q-radius:18px;background:var(--q-bg)!important;color:var(--q-text)!important}
.hws3-quote .hws3-q-head{background:var(--w-hd);color:var(--w-hdt)}
.hws3-quote.qhead-gradient .hws3-q-head,.hws3-quote.qhead-widget .hws3-q-head{background:linear-gradient(135deg,var(--q-accent),color-mix(in srgb,var(--q-accent) 68%,#111827));color:#fff}
.hws3-quote.qhead-solid .hws3-q-head{background:var(--q-accent);color:#fff}
.hws3-quote.qhead-light .hws3-q-head{background:color-mix(in srgb,var(--q-accent) 8%,#fff);color:var(--q-text);border-bottom:1px solid rgba(15,23,42,.08)}
.hws3-quote .hws3-q-body{background:var(--q-bg)!important}
.hws3-quote .hws3-q-card{background:var(--q-card)!important;color:var(--q-text)!important;border-radius:calc(var(--q-radius) + 4px)!important}
.hws3-quote .hws3-q-progress{background:color-mix(in srgb,var(--q-accent) 14%,#fff)}
.hws3-quote .hws3-q-progress i{background:var(--q-accent)}
.hws3-quote .hws3-q-grid button,.hws3-quote .hws3-q-line,.hws3-quote .hws3-q-field input,.hws3-quote .hws3-num button,.hws3-quote .hws3-yesno button{border-radius:var(--q-radius)!important}
.hws3-quote .hws3-q-line:hover,.hws3-quote .hws3-q-grid button:hover{border-color:var(--q-accent)}
.hws3-quote .hws3-q-foot{background:var(--q-card)!important;border-top:1px solid rgba(15,23,42,.08)}
.hws3-quote .hws3-q-foot b{color:var(--q-accent)!important}
.hws3-quote .hws3-q-foot button{border-radius:var(--q-radius)!important}
.hws3-quote .hws3-q-foot button.pri{background:var(--q-accent)!important;color:#fff!important}
.hws3-quote.qbtn-soft .hws3-q-foot button.pri{background:color-mix(in srgb,var(--q-accent) 12%,#fff)!important;color:var(--q-accent)!important;border:1px solid color-mix(in srgb,var(--q-accent) 24%,#fff)!important}
.hws3-quote.qbtn-outline .hws3-q-foot button.pri{background:#fff!important;color:var(--q-accent)!important;border:1px solid var(--q-accent)!important}
.hws3-quote.qdensity-compact .hws3-q-body{padding:14px}.hws3-quote.qdensity-compact .hws3-q-card{padding:16px}.hws3-quote.qdensity-compact .hws3-q-field{margin-bottom:14px}
.hws3-quote.qdensity-airy .hws3-q-body{padding:28px}.hws3-quote.qdensity-airy .hws3-q-card{padding:28px}.hws3-quote.qdensity-airy .hws3-q-field{margin-bottom:24px}
.hws3-quote.qtheme-minimal .hws3-q-card{box-shadow:none!important;border:1px solid #e5e7eb}
.hws3-quote.qtheme-soft .hws3-q-card{box-shadow:0 14px 34px color-mix(in srgb,var(--q-accent) 10%,transparent)}
.hws3-quote.qtheme-premium .hws3-q-card{box-shadow:0 22px 55px rgba(15,23,42,.16)}
.hws3-quote.qtheme-contrast .hws3-q-card{border-color:color-mix(in srgb,var(--q-accent) 32%,#e5e7eb);box-shadow:0 18px 42px color-mix(in srgb,var(--q-accent) 16%,transparent)}

/* HETO V90 — preview Devis : header identique à Messages */
.hws-preview-real-root .heto-quote-msg-style .heto-tool-head{min-height:var(--hws-header-h,68px)!important;height:var(--hws-header-h,68px)!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;gap:11px!important;padding:0 14px!important}
.hws-preview-real-root .heto-quote-msg-style .heto-tool-ico{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;position:relative!important;flex:0 0 auto!important}
.hws-preview-real-root .heto-quote-msg-style .heto-tool-ico:after{content:""!important;position:absolute!important;right:1px!important;bottom:1px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#22d3a0!important;border:2px solid #fff!important;box-shadow:0 0 7px rgba(34,211,160,.75)!important}
.hws-preview-real-root .heto-quote-msg-style .heto-tool-ico svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
.hws-preview-real-root .heto-quote-msg-style .heto-tool-title{flex:1!important;min-width:0!important}.hws-preview-real-root .heto-quote-msg-style .heto-tool-title b{font-size:14.5px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hws-preview-real-root .heto-quote-msg-style .heto-tool-title span{display:flex!important;align-items:center!important;gap:5px!important;font-size:11.5px!important;opacity:.86!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hws-preview-real-root .heto-quote-msg-style .heto-tool-title span i{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important;flex:0 0 auto!important}.hws-preview-real-root .heto-quote-msg-style .heto-tool-actions{display:flex!important;align-items:center!important;gap:5px!important;margin-left:auto!important;flex:0 0 auto!important}.hws-preview-real-root .heto-quote-msg-style .heto-tool-actions button{width:32px!important;height:32px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.16)!important;color:inherit!important;display:grid!important;place-items:center!important}
.hws3-quote-msg .hws3-q-head{min-height:68px!important;height:68px!important;gap:11px!important;padding:0 14px!important}.hws3-quote-msg .hws3-q-avatar{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;color:currentColor!important;position:relative!important;flex:0 0 auto!important}.hws3-quote-msg .hws3-q-avatar:after{content:""!important;position:absolute!important;right:1px!important;bottom:1px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#22d3a0!important;border:2px solid #fff!important;box-shadow:0 0 7px rgba(34,211,160,.75)!important}.hws3-quote-msg .hws3-q-avatar svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}.hws3-quote-msg .hws3-q-head>div:not(.hws3-q-actions){flex:1!important;min-width:0!important}.hws3-quote-msg .hws3-q-head b{font-size:14.5px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hws3-quote-msg .hws3-q-head small{display:flex!important;align-items:center!important;gap:5px!important;font-size:11.5px!important;opacity:.86!important}.hws3-quote-msg .hws3-q-head small i{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important;display:inline-block!important}.hws3-quote-msg .hws3-q-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important}.hws3-quote-msg .hws3-q-actions button{width:32px!important;height:32px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.16)!important;color:currentColor!important;display:grid!important;place-items:center!important}.hws3-quote-msg .hws3-q-actions svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}


/* HETO V91 — Preview panel : Devis sur la même base que Messages */
.hws-preview-real-root .heto-quote-shell{font-family:var(--hws-font,var(--w-font),inherit)!important;background:var(--hws-bg,#f7f8fb)!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-head.heto-quote-chat-head,
.hws-preview-real-root .heto-quote-shell .heto-tool-head.heto-quote-head{height:var(--hws-header-h,68px)!important;min-height:var(--hws-header-h,68px)!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;display:flex!important;align-items:center!important;gap:11px!important;padding:0 14px!important;box-shadow:none!important;border-radius:0!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-head:after{display:none!important}
.hws-preview-real-root .heto-quote-shell .heto-quote-chat-avatar,.hws-preview-real-root .heto-quote-shell .heto-tool-ico{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;color:inherit!important;box-shadow:none!important;font-weight:900!important;overflow:hidden!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-ico:after{display:none!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-title{flex:1!important;min-width:0!important}.hws-preview-real-root .heto-quote-shell .heto-tool-title b{font-size:14.5px!important;font-weight:800!important;color:inherit!important}.hws-preview-real-root .heto-quote-shell .heto-tool-title span{font-size:11.5px!important;display:flex!important;align-items:center!important;gap:5px!important;color:inherit!important;opacity:.86!important}.hws-preview-real-root .heto-quote-shell .heto-tool-title span i{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important;display:inline-block!important}.hws-preview-real-root .heto-quote-shell .heto-tool-actions{margin-left:auto!important;display:flex!important}.hws-preview-real-root .heto-quote-shell .heto-tool-actions button{width:40px!important;height:40px!important;border-radius:13px!important;background:rgba(255,255,255,.16)!important;color:inherit!important;border:0!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-body{padding:22px 20px 16px!important;background:var(--hws-bg,#f7f8fb)!important}.hws-preview-real-root .heto-quote-shell .heto-q-flow,.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary,.hws-preview-real-root .heto-quote-shell .heto-tool-success{position:relative!important;margin-left:42px!important;max-width:calc(100% - 42px)!important;background:var(--hws-card,#fff)!important;color:var(--hws-text,#1e293b)!important;border:1px solid rgba(15,23,42,.06)!important;border-radius:18px!important;border-bottom-left-radius:6px!important;padding:15px 16px!important;box-shadow:0 1px 5px rgba(15,23,42,.06)!important}.hws-preview-real-root .heto-quote-shell .heto-q-flow:before,.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary:before,.hws-preview-real-root .heto-quote-shell .heto-tool-success:before{content:"IA";position:absolute;left:-42px;bottom:2px;width:28px;height:28px;border-radius:50%;background:var(--hws-primary,#0C55F4);color:#fff;display:grid;place-items:center;font-weight:900;font-size:10.5px}.hws-preview-real-root .heto-quote-shell .heto-q-step{font-size:15px!important;font-weight:850!important;color:var(--hws-text,#1e293b)!important;margin:0 0 14px!important}.hws-preview-real-root .heto-quote-shell .heto-tool-foot{min-height:62px!important;padding:11px 13px!important;background:var(--hws-footer,#fff)!important;border-top:1px solid rgba(15,23,42,.08)!important}.hws-preview-real-root .heto-quote-shell .heto-tool-foot button{border-radius:999px!important}.hws-preview-real-root .heto-quote-shell .heto-tool-foot .is-primary{background:var(--hws-primary,#0C55F4)!important;color:#fff!important;border-color:transparent!important}

.hws3-quote-msg-v91{background:var(--w-body)!important;font-family:var(--w-font)!important}.hws3-quote-msg-v91 .hws3-q-head{height:68px!important;min-height:68px!important;background:var(--w-hd)!important;color:var(--w-hdt)!important;padding:0 14px!important;gap:11px!important}.hws3-quote-msg-v91 .hws3-q-head>button{display:none!important}.hws3-quote-msg-v91 .hws3-q-avatar{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(255,255,255,.22)!important;display:grid!important;place-items:center!important;color:inherit!important;font-weight:900!important}.hws3-quote-msg-v91 .hws3-q-avatar:after{display:none!important}.hws3-quote-msg-v91 .hws3-q-head b{font-size:14.5px!important;font-weight:800!important}.hws3-quote-msg-v91 .hws3-q-head small{display:flex!important;align-items:center!important;gap:5px!important;font-size:11.5px!important;opacity:.86!important}.hws3-quote-msg-v91 .hws3-q-actions{margin-left:auto!important}.hws3-quote-msg-v91 .hws3-q-actions button{width:40px!important;height:40px!important;border-radius:13px!important;background:rgba(255,255,255,.16)!important}.hws3-quote-msg-v91 .hws3-q-body{background:var(--w-body)!important;padding:22px 20px 16px!important}.hws3-quote-msg-v91 .hws3-q-card{position:relative!important;margin-left:42px!important;max-width:calc(100% - 42px)!important;background:var(--w-card)!important;color:var(--w-cardtxt)!important;border:var(--w-bw) solid var(--w-cardbr)!important;border-radius:var(--w-botr)!important;border-bottom-left-radius:6px!important;padding:15px 16px!important;box-shadow:0 1px 5px rgba(15,23,42,.06)!important}.hws3-quote-msg-v91 .hws3-q-card:before{content:"IA";position:absolute;left:-42px;bottom:2px;width:28px;height:28px;border-radius:50%;background:var(--w-accent);color:#fff;display:grid;place-items:center;font-weight:900;font-size:10.5px}.hws3-quote-msg-v91 .hws3-q-step{font-size:11px!important;font-weight:850!important;letter-spacing:.05em!important;text-transform:none!important;color:#64748b!important}.hws3-quote-msg-v91 .hws3-q-progress{height:5px!important;margin:10px 0 15px!important;background:color-mix(in srgb,var(--w-accent) 12%,#e5e7eb)!important}.hws3-quote-msg-v91 .hws3-q-card h3{font-size:15px!important;margin:0 0 14px!important}.hws3-quote-msg-v91 .hws3-q-field label{font-size:14px!important;font-weight:800!important}.hws3-quote-msg-v91 .hws3-q-foot{min-height:62px!important;background:var(--w-foot)!important;border-top:1px solid var(--w-cardbr)!important;padding:11px 13px!important}.hws3-quote-msg-v91 .hws3-q-foot button{border-radius:999px!important}.hws3-quote-msg-v91 .hws3-q-foot button.pri{border-radius:var(--w-sndr)!important;background:var(--w-accent)!important;color:#fff!important}


/* HETO V92 — Devis : en-tête preview identique à la page Messages */
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head{
  height:68px!important;min-height:68px!important;background:var(--w-hd)!important;color:var(--w-hdt)!important;border-radius:var(--w-r) var(--w-r) 0 0!important;padding:0 14px!important;gap:11px!important;display:flex!important;align-items:center!important;box-shadow:none!important;overflow:hidden!important;flex:0 0 auto!important;
}
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head>button,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head>button{display:none!important}
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-avatar,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-avatar{width:40px!important;height:40px!important;border-radius:50%!important;background:transparent!important;border:3px solid currentColor!important;color:currentColor!important;display:grid!important;place-items:center!important;font-weight:900!important;font-size:14px!important;box-shadow:none!important;overflow:hidden!important;flex:0 0 auto!important}
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-avatar:after,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-avatar:after{display:none!important}
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-title,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-title{flex:1!important;min-width:0!important}.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-title b,.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-title b{display:block!important;color:currentColor!important;font-size:14.5px!important;font-weight:900!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-title small,.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-title small{display:flex!important;align-items:center!important;gap:5px!important;color:currentColor!important;opacity:.86!important;font-size:11.5px!important;font-weight:650!important;margin-top:2px!important}.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-title small i,.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-title small i{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important;display:inline-block!important;flex:0 0 auto!important}
.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-actions,
.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important}.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-actions button,.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-actions button{width:40px!important;height:40px!important;border-radius:13px!important;background:rgba(255,255,255,.16)!important;color:currentColor!important;border:0!important;display:grid!important;place-items:center!important}.hws3-quote-msg-v91 .hws3-q-head.hws3-q-chat-head .hws3-q-actions svg,.hws3-quote-msg .hws3-q-head.hws3-q-chat-head .hws3-q-actions svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head.hw-header{height:var(--hws-header-h,68px)!important;min-height:var(--hws-header-h,68px)!important;background:var(--hws-head,linear-gradient(135deg,#0C55F4,#0C55F4))!important;color:var(--hws-head-text,#fff)!important;display:flex!important;align-items:center!important;gap:11px!important;padding:0 14px!important;box-shadow:none!important;border-radius:0!important;overflow:hidden!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .heto-quote-chat-avatar.hw-hdr-av{width:40px!important;height:40px!important;border-radius:50%!important;background:transparent!important;border:3px solid currentColor!important;color:currentColor!important;display:grid!important;place-items:center!important;font-weight:900!important;box-shadow:none!important;overflow:hidden!important;flex:0 0 auto!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .heto-quote-chat-avatar.hw-hdr-av:after{display:none!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .hw-hdr-name{font-size:14.5px!important;font-weight:900!important;color:currentColor!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .hw-hdr-status{display:flex!important;align-items:center!important;gap:5px!important;color:currentColor!important;opacity:.86!important;font-size:11.5px!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .hw-hdr-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#22d3a0!important;box-shadow:0 0 6px #22d3a0!important}.hws-preview-real-root .heto-quote-shell .heto-quote-chat-head .heto-quote-close.hw-hbtn{width:40px!important;height:40px!important;border-radius:13px!important;background:rgba(255,255,255,.16)!important;color:currentColor!important}

/* HETO V94 — Preview panel : Devis pleine largeur, sans bulle IA */
.hws-preview-real-root .heto-quote-shell .heto-tool-body,
.hws-preview-real-root .heto-quote-shell .heto-quote-chat-body{
  padding:18px 20px 16px!important;
  background:var(--hws-bg,#f7f8fb)!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-flow,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary,
.hws-preview-real-root .heto-quote-shell .heto-tool-success{
  margin-left:0!important;
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-flow:before,
.hws-preview-real-root .heto-quote-shell .heto-q-flow:after,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary:before,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary:after,
.hws-preview-real-root .heto-quote-shell .heto-tool-success:before,
.hws-preview-real-root .heto-quote-shell .heto-tool-success:after{
  content:none!important;
  display:none!important;
}
.hws3-quote-msg-v91 .hws3-q-body,
.hws3-quote-msg .hws3-q-body{
  padding:18px 20px 16px!important;
  background:var(--w-body)!important;
}
.hws3-quote-msg-v91 .hws3-q-card,
.hws3-quote-msg .hws3-q-card{
  margin-left:0!important;
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.hws3-quote-msg-v91 .hws3-q-card:before,
.hws3-quote-msg .hws3-q-card:before,
.hws3-quote-msg-v91 .hws3-q-card:after,
.hws3-quote-msg .hws3-q-card:after{
  content:none!important;
  display:none!important;
}

/* HETO V95 — Preview panel : formulaire Devis calé sur les options de personnalisation du widget */
.hws-preview-real-root .heto-quote-shell{
  --heto-q-accent:var(--hws-primary,#0C55F4);
  --heto-q-body:var(--hws-bg,#f7f8fb);
  --heto-q-text:var(--hws-bot-text,var(--hws-text,#1e293b));
  --heto-q-muted:color-mix(in srgb,var(--heto-q-text) 54%,transparent);
  --heto-q-field-bg:var(--hws-input-bg,#fff);
  --heto-q-field-text:var(--hws-input-text,var(--heto-q-text));
  --heto-q-field-border:var(--hws-input-border,#e2e8f0);
  --heto-q-radius:var(--hws-input-r,var(--hws-bubble-r,16px));
  --heto-q-btn-radius:var(--hws-send-r,14px);
  font-family:var(--hws-font,Inter,system-ui,sans-serif)!important;
  background:var(--heto-q-body)!important;
  color:var(--heto-q-text)!important;
}
.hws-preview-real-root .heto-quote-shell .heto-tool-body,
.hws-preview-real-root .heto-quote-shell .heto-quote-chat-body{
  padding:18px 18px 14px!important;
  background:var(--heto-q-body)!important;
  color:var(--heto-q-text)!important;
  font-family:inherit!important;
  font-size:var(--hws-msg-fs,14px)!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-flow,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary,
.hws-preview-real-root .heto-quote-shell .heto-tool-success{
  display:flex!important;flex-direction:column!important;gap:15px!important;margin-left:0!important;max-width:none!important;width:100%!important;box-sizing:border-box!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;color:var(--heto-q-text)!important;font-family:inherit!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-flow:before,
.hws-preview-real-root .heto-quote-shell .heto-q-flow:after,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary:before,
.hws-preview-real-root .heto-quote-shell .heto-q-body.is-summary:after,
.hws-preview-real-root .heto-quote-shell .heto-tool-success:before,
.hws-preview-real-root .heto-quote-shell .heto-tool-success:after{content:none!important;display:none!important}
.hws-preview-real-root .heto-quote-shell .heto-q-flow-head{margin:0 0 2px!important;padding:0!important}
.hws-preview-real-root .heto-quote-shell .heto-q-flow-head>span{color:var(--heto-q-muted)!important;font-size:calc(var(--hws-msg-fs,14px) - 3px)!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important;margin-bottom:8px!important}
.hws-preview-real-root .heto-quote-shell .heto-q-progress{height:6px!important;border-radius:999px!important;background:color-mix(in srgb,var(--heto-q-accent) 13%,var(--heto-q-field-border))!important;overflow:hidden!important}
.hws-preview-real-root .heto-quote-shell .heto-q-progress i{height:100%!important;border-radius:999px!important;background:var(--heto-q-accent)!important;display:block!important}
.hws-preview-real-root .heto-quote-shell .heto-q-step{color:var(--heto-q-text)!important;font-size:calc(var(--hws-msg-fs,14px) + 3px)!important;font-weight:900!important;line-height:1.22!important;letter-spacing:-.025em!important;margin:2px 0 0!important}
.hws-preview-real-root .heto-quote-shell .heto-q-field{margin:0!important;display:flex!important;flex-direction:column!important;gap:9px!important;color:var(--heto-q-text)!important}
.hws-preview-real-root .heto-quote-shell .heto-q-field label{color:var(--heto-q-text)!important;font-size:calc(var(--hws-msg-fs,14px) + 1px)!important;font-weight:850!important;line-height:1.22!important;letter-spacing:-.015em!important;margin:0!important}
.hws-preview-real-root .heto-quote-shell .heto-q-help{color:var(--heto-q-muted)!important;font-size:calc(var(--hws-msg-fs,14px) - 2px)!important;line-height:1.35!important;margin:-4px 0 0!important}
.hws-preview-real-root .heto-quote-shell .heto-q-options,.hws-preview-real-root .heto-quote-shell .heto-q-pills{display:flex!important;flex-direction:column!important;gap:8px!important}.hws-preview-real-root .heto-quote-shell .heto-q-pills{flex-direction:row!important}
.hws-preview-real-root .heto-quote-shell .heto-q-option,
.hws-preview-real-root .heto-quote-shell .heto-q-pills button,
.hws-preview-real-root .heto-quote-shell .heto-q-number,
.hws-preview-real-root .heto-quote-shell .heto-q-input{
  appearance:none!important;width:100%!important;box-sizing:border-box!important;font-family:inherit!important;font-size:var(--hws-msg-fs,14px)!important;line-height:1.35!important;color:var(--heto-q-field-text)!important;background:var(--heto-q-field-bg)!important;border:1.5px solid var(--heto-q-field-border)!important;border-radius:var(--heto-q-radius)!important;box-shadow:none!important;outline:none!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-input{padding:12px 13px!important;min-height:46px!important}.hws-preview-real-root .heto-quote-shell .heto-q-input:focus{border-color:var(--heto-q-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--heto-q-accent) 14%,transparent)!important}
.hws-preview-real-root .heto-quote-shell .heto-q-option,.hws-preview-real-root .heto-quote-shell .heto-q-pills button{min-height:48px!important;padding:11px 13px!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;cursor:pointer!important;font-weight:800!important}
.hws-preview-real-root .heto-quote-shell .heto-q-option b,.hws-preview-real-root .heto-quote-shell .heto-q-option span{flex:1!important;color:var(--heto-q-field-text)!important;font-size:var(--hws-msg-fs,14px)!important;font-weight:850!important;line-height:1.24!important;padding:0!important}
.hws-preview-real-root .heto-quote-shell .heto-q-option em,
.hws-preview-real-root .heto-quote-shell .heto-q-option b{margin-left:auto!important;color:var(--heto-q-accent)!important;font-style:normal!important;font-size:calc(var(--hws-msg-fs,14px) - 2px)!important;font-weight:850!important;white-space:nowrap!important}
.hws-preview-real-root .heto-quote-shell .heto-q-option:hover,.hws-preview-real-root .heto-quote-shell .heto-q-option.is-on,.hws-preview-real-root .heto-quote-shell .heto-q-pills button.is-on{border-color:var(--heto-q-accent)!important;background:color-mix(in srgb,var(--heto-q-accent) 8%,var(--heto-q-field-bg))!important;color:var(--heto-q-accent)!important}
.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid label{grid-column:1/-1!important}.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid .heto-q-option{min-height:0!important;flex-direction:column!important;align-items:stretch!important;overflow:hidden!important;padding:0!important}.hws-preview-real-root .heto-quote-shell .heto-q-option-img{width:100%!important;height:78px!important;border-radius:calc(var(--heto-q-radius) - 2px) calc(var(--heto-q-radius) - 2px) 0 0!important;object-fit:cover!important;box-shadow:none!important;display:block!important;border:0!important;margin:0!important}.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid .heto-q-option b{padding:10px 12px 2px!important}.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid .heto-q-option em{padding:0 12px 11px!important;margin-left:0!important}
.hws-preview-real-root .heto-quote-shell input[type="range"]{accent-color:var(--heto-q-accent)!important;width:100%!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-foot,.hws-preview-real-root .heto-quote-shell .heto-quote-chat-foot{background:var(--hws-footer,#fff)!important;border-top:1px solid var(--heto-q-field-border)!important;padding:11px 13px!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:62px!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-foot button,.hws-preview-real-root .heto-quote-shell .heto-quote-chat-foot button{appearance:none!important;border:1.5px solid var(--heto-q-field-border)!important;background:var(--heto-q-field-bg)!important;color:var(--heto-q-text)!important;border-radius:var(--heto-q-radius)!important;padding:10px 14px!important;font-family:inherit!important;font-size:calc(var(--hws-msg-fs,14px) - 1px)!important;font-weight:850!important;cursor:pointer!important;box-shadow:none!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-foot button.is-primary,.hws-preview-real-root .heto-quote-shell .heto-quote-chat-foot button.is-primary{border-color:transparent!important;background:var(--hws-send,var(--heto-q-accent))!important;color:#fff!important;border-radius:var(--heto-q-btn-radius)!important}
.hws-preview-real-root .heto-quote-shell .heto-tool-foot em,.hws-preview-real-root .heto-quote-shell .heto-quote-chat-foot em{margin-left:auto!important;color:var(--heto-q-muted)!important;font-style:normal!important;font-size:calc(var(--hws-msg-fs,14px) - 2px)!important;white-space:nowrap!important}.hws-preview-real-root .heto-quote-shell .heto-tool-foot em b,.hws-preview-real-root .heto-quote-shell .heto-quote-chat-foot em b{color:var(--heto-q-accent)!important}


/* HETO V97 — Preview dashboard : devis plus proche de la présentation Messages */
.hws-preview-real-root .heto-quote-shell,
.hws-preview-real-root .heto-tool-shell.heto-quote-shell{background:var(--hws-bg,var(--ac-body-bg,#f7f8fb))!important;color:var(--hws-text,var(--ac-card-text,#1e293b))!important;font-family:var(--hws-font,var(--ac-font,"Inter",system-ui,sans-serif))!important;}
.hws-preview-real-root .heto-quote-shell .heto-tool-body{padding:16px 20px 14px!important;background:var(--hws-bg,var(--ac-body-bg,#f7f8fb))!important;color:var(--hws-text,var(--ac-card-text,#1e293b))!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-flow{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;max-width:none!important;width:100%!important;display:flex!important;flex-direction:column!important;gap:var(--hws-q-gap,11px)!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-options,
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid,
.hws-preview-real-root .heto-quote-shell .heto-q-field--imagegrid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:8px!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;min-height:48px!important;padding:10px 13px!important;overflow:visible!important;text-align:left!important;background:var(--hws-field-bg,var(--ac-input-bg,#fff))!important;border:1.5px solid var(--hws-field-border,var(--ac-card-border,#e2e8f0))!important;border-radius:var(--hws-field-radius,var(--ac-input-radius,14px))!important;box-shadow:none!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-option img,
.hws-preview-real-root .heto-quote-shell .heto-q-option-img{width:46px!important;height:46px!important;border-radius:12px!important;object-fit:cover!important;flex:0 0 auto!important;margin:0!important;border:1px solid var(--hws-field-border,var(--ac-card-border,#e2e8f0))!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-option span{padding:0!important;font-weight:850!important;line-height:1.25!important;}
.hws-preview-real-root .heto-quote-shell .heto-q-option em,
.hws-preview-real-root .heto-quote-shell .heto-q-option b{padding:0!important;margin-left:auto!important;color:var(--hws-accent,var(--ac-accent,#0C55F4))!important;white-space:nowrap!important;}


/* HETO V98 — Preview Devis : même rendu que le widget public */
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid,
.hws-preview-real-root .heto-quote-shell .heto-q-imagegrid{
  display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:8px!important;margin:0!important;width:100%!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option,
.hws-preview-real-root .heto-quote-shell .heto-q-imagegrid button{
  width:100%!important;min-height:52px!important;height:auto!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;padding:10px 13px!important;overflow:visible!important;text-align:left!important;background:var(--heto-q-field-bg,var(--hws-input-bg,#fff))!important;color:var(--heto-q-field-text,var(--hws-input-text,#1e293b))!important;border:1.5px solid var(--heto-q-field-border,var(--hws-input-border,#e2e8f0))!important;border-radius:var(--heto-q-radius,var(--hws-input-r,14px))!important;box-shadow:none!important;transform:none!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option-img,
.hws-preview-real-root .heto-quote-shell .heto-q-imagegrid button>i{
  width:46px!important;height:46px!important;min-width:46px!important;flex:0 0 46px!important;display:block!important;margin:0!important;border:1px solid var(--heto-q-field-border,var(--hws-input-border,#e2e8f0))!important;border-radius:12px!important;object-fit:cover!important;background-color:#f1f5f9!important;background-position:center!important;background-size:cover!important;box-shadow:none!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option:not(.has-img)::before{content:none!important;display:none!important}
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option span,
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option b,
.hws-preview-real-root .heto-quote-shell .heto-q-imagegrid button>span{
  min-width:0!important;flex:1 1 auto!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:var(--heto-q-field-text,var(--hws-input-text,#1e293b))!important;font-size:var(--heto-q-font-size,var(--hws-msg-fs,14px))!important;font-weight:850!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option>em,
.hws-preview-real-root .heto-quote-shell .heto-q-options-grid .heto-q-option>b,
.hws-preview-real-root .heto-quote-shell .heto-q-imagegrid button>span>b{
  flex:0 0 auto!important;margin-left:auto!important;padding:0!important;color:var(--heto-q-accent,var(--hws-primary,#0C55F4))!important;font-size:calc(var(--heto-q-font-size,var(--hws-msg-fs,14px)) - 2px)!important;font-weight:850!important;font-style:normal!important;white-space:nowrap!important;font-family:inherit!important;
}
.hws-preview-real-root .heto-quote-shell .heto-q-input,
.hws-preview-real-root .heto-quote-shell input[type="date"].heto-q-input{width:100%!important;min-height:48px!important;box-sizing:border-box!important;padding:0 14px!important;background:var(--heto-q-field-bg,var(--hws-input-bg,#fff))!important;color:var(--heto-q-field-text,var(--hws-input-text,#1e293b))!important;border:1.5px solid var(--heto-q-field-border,var(--hws-input-border,#e2e8f0))!important;border-radius:var(--heto-q-radius,var(--hws-input-r,14px))!important;font-family:inherit!important;font-size:var(--heto-q-font-size,var(--hws-msg-fs,14px))!important}
.hws-preview-real-root .heto-quote-shell .heto-q-field input[type="range"]{width:100%!important;height:20px!important;padding:0!important;margin:2px 0 0!important;accent-color:var(--heto-q-accent,var(--hws-primary,#0C55F4))!important}


/* HETO V99 — Aperçu configurateur devis synchronisé avec le widget réel */
.qbn-page .qbn-phone-widget{
  background:var(--qbn-msg-bg,#f7f8fb)!important;
  border:1px solid var(--line)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:var(--qbn-phone-shadow,0 18px 50px rgba(35,33,28,.16))!important;
  font-family:var(--qbn-widget-font,"Plus Jakarta Sans",Inter,system-ui,sans-serif)!important;
}
.qbn-page .qbn-widget-head{
  display:flex!important;align-items:center!important;gap:12px!important;
  margin:14px!important;padding:14px 16px!important;
  background:#070a11!important;color:#fff!important;border-radius:18px!important;
}
.qbn-page .qbn-widget-avatar{width:42px!important;height:42px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.86)!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:900!important;letter-spacing:-.03em!important;flex:0 0 auto!important}
.qbn-page .qbn-widget-head div{min-width:0!important;flex:1!important}.qbn-page .qbn-widget-head b{display:block!important;color:#fff!important;font-size:18px!important;font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.qbn-page .qbn-widget-head small{display:flex!important;align-items:center!important;gap:7px!important;color:rgba(255,255,255,.9)!important;font-size:13px!important;font-weight:650!important;margin-top:4px!important}.qbn-page .qbn-widget-head small i{width:9px!important;height:9px!important;border-radius:50%!important;background:#2ed390!important;box-shadow:0 0 12px rgba(46,211,144,.65)!important}.qbn-page .qbn-widget-close{width:42px!important;height:42px!important;border-radius:13px!important;background:rgba(255,255,255,.15)!important;display:grid!important;place-items:center!important;font-size:28px!important;line-height:1!important;color:#fff!important;flex:0 0 auto!important}
.qbn-page #qbn-preview{background:var(--qbn-body-bg,#f7f8fb)!important;color:#1e293b!important}
.qbn-page .qbn-pv-head{background:transparent!important;color:#1e293b!important;padding:14px 18px 8px!important;border:0!important}
.qbn-page .qbn-pv-head>b{display:none!important}.qbn-page .qbn-pv-head .qbn-st{margin:0 0 8px!important;opacity:1!important;color:#7b8494!important;font-size:11px!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important}.qbn-page .qbn-pv-prog{height:6px!important;margin:0!important;background:#e6e9ef!important;border-radius:999px!important}.qbn-page .qbn-pv-prog i{background:#0f172a!important;border-radius:inherit!important}
.qbn-page .qbn-pv-body{padding:14px 18px 18px!important;background:transparent!important;max-height:520px!important;overflow:auto!important}.qbn-page .qbn-pv-step-title{font-size:18px!important;font-weight:900!important;letter-spacing:-.025em!important;color:#1e293b!important;margin:0 0 16px!important}.qbn-page .qbn-pv-q{margin:0 0 16px!important;display:flex!important;flex-direction:column!important;gap:8px!important}.qbn-page .qbn-pv-q>.qbn-lab{margin:0!important;font-size:16px!important;font-weight:900!important;letter-spacing:-.02em!important;color:#1e293b!important}.qbn-page .qbn-pv-q>.qbn-help{margin:0!important;font-size:12px!important;color:#6b7280!important}
.qbn-page .qbn-pv-grid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:8px!important}.qbn-page .qbn-pv-tile{min-height:52px!important;width:100%!important;display:flex!important;align-items:center!important;gap:11px!important;padding:10px 13px!important;border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;overflow:visible!important;box-shadow:none!important}.qbn-page .qbn-pv-tile.on{border-color:var(--qbn-widget-color,#0C55F4)!important;background:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 7%,#fff)!important;box-shadow:none!important}.qbn-page .qbn-pv-tile .qbn-im{width:46px!important;height:46px!important;min-width:46px!important;flex:0 0 46px!important;border-radius:12px!important;border:1px solid #dce2eb!important;background:#f3f4f6 center/cover!important;display:grid!important;place-items:center!important}.qbn-page .qbn-pv-tile .qbn-tl{flex:1!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0!important;color:#1e293b!important;font-size:15px!important;font-weight:850!important;line-height:1.25!important}.qbn-page .qbn-pv-tile .qbn-op{margin-left:auto!important;color:var(--qbn-widget-color,#0C55F4)!important;font-family:inherit!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
.qbn-page .qbn-pv-opt{min-height:52px!important;border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;margin:0 0 8px!important;padding:10px 13px!important;box-shadow:none!important}.qbn-page .qbn-pv-opt.on{border-color:var(--qbn-widget-color,#0C55F4)!important;background:color-mix(in srgb,var(--qbn-widget-color,#0C55F4) 7%,#fff)!important}.qbn-page .qbn-pv-opt .qbn-thumb{width:46px!important;height:46px!important;border-radius:12px!important}.qbn-page .qbn-pv-opt .qbn-ol{font-size:15px!important;font-weight:850!important;color:#1e293b!important}.qbn-page .qbn-op{color:var(--qbn-widget-color,#0C55F4)!important;font-family:inherit!important;font-weight:850!important}
.qbn-page .qbn-pv-in{min-height:52px!important;border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;padding:0 14px!important;font-size:15px!important;color:#1e293b!important}.qbn-page textarea.qbn-pv-in{padding:13px 14px!important;min-height:86px!important}.qbn-page .qbn-pv-range input{width:100%!important;height:22px!important;accent-color:var(--qbn-widget-color,#0C55F4)!important}.qbn-page .qbn-pv-range .qbn-vv b{color:var(--qbn-widget-color,#0C55F4)!important}
.qbn-page .qbn-pv-foot{background:#fff!important;border-top:1px solid #e5e7eb!important;padding:14px 18px!important;display:flex!important;align-items:center!important;gap:10px!important}.qbn-page .qbn-pv-back{border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;color:#1e293b!important;font-weight:850!important;padding:11px 16px!important}.qbn-page .qbn-pv-btn{margin-left:auto!important;background:var(--qbn-widget-color,#0C55F4)!important;color:#fff!important;border-radius:18px!important;border:0!important;font-weight:900!important;padding:13px 19px!important}.qbn-page .qbn-pv-total{margin-left:auto!important}.qbn-page .qbn-pv-total:empty{display:block!important}


/* HETO V100 — Devis : aperçu configurateur au même rendu que le widget */
#hd-root .qbv35 .phone.q35-phone-widget,
.qbn-page .qbn-phone-widget{
  background:#f7f8fb!important;
  border:1px solid #e5e7eb!important;
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:0 18px 50px rgba(15,23,42,.16)!important;
  font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif!important;
}
#hd-root .qbv35 .q35-widget-head,
.qbn-page .qbn-widget-head{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:14px!important;
  padding:14px 16px!important;
  min-height:78px!important;
  background:#070a11!important;
  color:#fff!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
#hd-root .qbv35 .q35-widget-avatar,
.qbn-page .qbn-widget-avatar{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;
  border:3px solid rgba(255,255,255,.86)!important;background:transparent!important;color:#fff!important;
  display:grid!important;place-items:center!important;font-size:15px!important;font-weight:900!important;letter-spacing:-.03em!important;
}
#hd-root .qbv35 .q35-widget-head>div,
.qbn-page .qbn-widget-head>div{min-width:0!important;flex:1!important;display:block!important}
#hd-root .qbv35 .q35-widget-head b,
.qbn-page .qbn-widget-head b{display:block!important;color:#fff!important;font-size:18px!important;font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#hd-root .qbv35 .q35-widget-head small,
.qbn-page .qbn-widget-head small{display:flex!important;align-items:center!important;gap:7px!important;color:rgba(255,255,255,.9)!important;font-size:13px!important;font-weight:650!important;margin-top:4px!important;line-height:1.2!important}
#hd-root .qbv35 .q35-widget-head small i,
.qbn-page .qbn-widget-head small i{width:9px!important;height:9px!important;border-radius:50%!important;background:#2ed390!important;box-shadow:0 0 12px rgba(46,211,144,.65)!important;display:inline-block!important}
#hd-root .qbv35 .q35-widget-close,
.qbn-page .qbn-widget-close{width:42px!important;height:42px!important;border-radius:13px!important;background:rgba(255,255,255,.15)!important;display:grid!important;place-items:center!important;font-size:28px!important;line-height:1!important;color:#fff!important;flex:0 0 auto!important}
#hd-root .qbv35 #q35Preview,
.qbn-page #qbn-preview{background:#f7f8fb!important;color:#1e293b!important;display:flex!important;flex-direction:column!important;min-height:0!important}
#hd-root .qbv35 .pv-head,
.qbn-page .qbn-pv-head{background:transparent!important;color:#1e293b!important;padding:14px 18px 8px!important;border:0!important}
#hd-root .qbv35 .pv-head>b,
.qbn-page .qbn-pv-head>b{display:none!important}
#hd-root .qbv35 .pv-head .st,
.qbn-page .qbn-pv-head .qbn-st{margin:0 0 8px!important;opacity:1!important;color:#7b8494!important;font-size:11px!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important}
#hd-root .qbv35 .pv-prog,
.qbn-page .qbn-pv-prog{height:6px!important;margin:0!important;background:#e6e9ef!important;border-radius:999px!important;overflow:hidden!important}
#hd-root .qbv35 .pv-prog i,
.qbn-page .qbn-pv-prog i{background:#0f172a!important;border-radius:inherit!important}
#hd-root .qbv35 .pv-body,
.qbn-page .qbn-pv-body{padding:14px 18px 18px!important;background:transparent!important;max-height:520px!important;overflow:auto!important}
#hd-root .qbv35 .pv-headline,
.qbn-page .qbn-pv-step-title{font-size:18px!important;font-weight:900!important;letter-spacing:-.025em!important;color:#1e293b!important;margin:0 0 16px!important;border-left:0!important;padding-left:0!important}
#hd-root .qbv35 .pv-headline strong{font-size:inherit!important;color:inherit!important;font-weight:inherit!important}
#hd-root .qbv35 .pv-q,
.qbn-page .qbn-pv-q{margin:0 0 16px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
#hd-root .qbv35 .pv-q>.lab,
.qbn-page .qbn-pv-q>.qbn-lab{margin:0!important;font-size:16px!important;font-weight:900!important;letter-spacing:-.02em!important;color:#1e293b!important;line-height:1.22!important}
#hd-root .qbv35 .pv-q>.help,
.qbn-page .qbn-pv-q>.qbn-help{margin:0!important;font-size:12px!important;color:#6b7280!important;line-height:1.35!important}
#hd-root .qbv35 .pv-grid,
.qbn-page .qbn-pv-grid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:8px!important}
#hd-root .qbv35 .pv-tile,
.qbn-page .qbn-pv-tile,
#hd-root .qbv35 .pv-opt,
.qbn-page .qbn-pv-opt{min-height:52px!important;width:100%!important;display:flex!important;align-items:center!important;gap:11px!important;padding:10px 13px!important;margin:0!important;border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;overflow:visible!important;box-shadow:none!important;text-align:left!important;color:#1e293b!important}
#hd-root .qbv35 .pv-tile.on,
.qbn-page .qbn-pv-tile.on,
#hd-root .qbv35 .pv-opt.on,
.qbn-page .qbn-pv-opt.on{border-color:var(--qbn-widget-color,var(--pv,#0C55F4))!important;background:color-mix(in srgb,var(--qbn-widget-color,var(--pv,#0C55F4)) 7%,#fff)!important;box-shadow:none!important}
#hd-root .qbv35 .pv-tile .im,
.qbn-page .qbn-pv-tile .qbn-im,
#hd-root .qbv35 .pv-opt .thumb,
.qbn-page .qbn-pv-opt .qbn-thumb{width:46px!important;height:46px!important;min-width:46px!important;flex:0 0 46px!important;border-radius:12px!important;border:1px solid #dce2eb!important;background:#f3f4f6 center/cover!important;display:grid!important;place-items:center!important;object-fit:cover!important;margin:0!important}
#hd-root .qbv35 .pv-tile .tl,
.qbn-page .qbn-pv-tile .qbn-tl{flex:1!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0!important;color:#1e293b!important;font-size:15px!important;font-weight:850!important;line-height:1.25!important}
#hd-root .qbv35 .pv-opt .mk{display:none!important}
#hd-root .qbv35 .pv-opt .ol,
.qbn-page .qbn-pv-opt .qbn-ol{flex:1!important;font-size:15px!important;font-weight:850!important;color:#1e293b!important;line-height:1.25!important}
#hd-root .qbv35 .pv-tile .tl .op,
.qbn-page .qbn-pv-tile .qbn-op,
#hd-root .qbv35 .pv-opt .op,
.qbn-page .qbn-op{margin-left:auto!important;color:var(--qbn-widget-color,var(--pv,#0C55F4))!important;font-family:inherit!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
#hd-root .qbv35 .pv-in,
.qbn-page .qbn-pv-in{min-height:52px!important;border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;padding:0 14px!important;font-size:15px!important;color:#1e293b!important;width:100%!important;box-shadow:none!important}
#hd-root .qbv35 textarea.pv-in,
.qbn-page textarea.qbn-pv-in{padding:13px 14px!important;min-height:86px!important}
#hd-root .qbv35 .pv-range input,
.qbn-page .qbn-pv-range input{width:100%!important;height:22px!important;accent-color:var(--qbn-widget-color,var(--pv,#0C55F4))!important}
#hd-root .qbv35 .pv-range .vv b,
.qbn-page .qbn-pv-range .qbn-vv b{color:var(--qbn-widget-color,var(--pv,#0C55F4))!important}
#hd-root .qbv35 .pv-foot,
.qbn-page .qbn-pv-foot{background:#fff!important;border-top:1px solid #e5e7eb!important;padding:14px 18px!important;display:flex!important;align-items:center!important;gap:10px!important}
#hd-root .qbv35 .pv-back,
.qbn-page .qbn-pv-back{border:1.5px solid #dce2eb!important;border-radius:16px!important;background:#fff!important;color:#1e293b!important;font-weight:850!important;padding:11px 16px!important}
#hd-root .qbv35 .pv-btn,
.qbn-page .qbn-pv-btn{margin-left:auto!important;background:var(--qbn-widget-color,var(--pv,#0C55F4))!important;color:#fff!important;border-radius:18px!important;border:0!important;font-weight:900!important;padding:13px 19px!important}
#hd-root .qbv35 .pv-total,
.qbn-page .qbn-pv-total{margin-left:auto!important;color:#7b8494!important;font-size:12px!important;font-weight:800!important}

/* HETO V344 — Configurateur devis : aperçu identique à la preview Devis du Widget Studio */
.qbn-page .qbn-layout-pixel-preview{grid-template-columns:minmax(0,1fr) minmax(390px,430px)!important;align-items:start!important}
.qbn-page .qbn-preview-wrap-pixel{background:#fff!important;border:1px solid var(--line,#ece9e2)!important;border-radius:24px!important;padding:18px!important;box-shadow:0 18px 55px rgba(15,23,42,.10)!important;overflow:visible!important}
.qbn-page .qbn-widget-devis-only{width:100%!important;max-width:430px!important;min-height:520px!important;margin:0 auto!important;border:1px solid var(--hws-border,#e2e8f0)!important;border-radius:var(--hws-radius,24px)!important;overflow:hidden!important;background:var(--hws-bg,#f7f8fb)!important;box-shadow:var(--hws-shadow,0 24px 80px rgba(15,23,42,.22))!important;font-family:var(--hws-font,Inter,system-ui,sans-serif)!important;color:var(--hws-text,#1e293b)!important;display:flex!important;flex-direction:column!important}
.qbn-page .qbn-widget-devis-only .heto-quote-shell{min-height:520px!important;height:100%!important;display:flex!important;flex-direction:column!important;background:var(--hws-bg,#f7f8fb)!important;color:var(--hws-text,#1e293b)!important;font-family:inherit!important}
.qbn-page .qbn-widget-devis-only .heto-tool-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;background:var(--hws-bg,#f7f8fb)!important}
.qbn-page .qbn-widget-devis-only .heto-tool-foot{flex:0 0 auto!important;margin-top:auto!important}
.qbn-page .qbn-widget-devis-only .heto-q-flow-head span{font-size:11px!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:color-mix(in srgb,var(--hws-text,#1e293b) 55%,transparent)!important}
.qbn-page .qbn-widget-devis-only .heto-q-step{font-size:18px!important;font-weight:900!important;letter-spacing:-.025em!important;line-height:1.22!important;color:var(--hws-text,#1e293b)!important;margin:0!important}
.qbn-page .qbn-widget-devis-only .heto-q-field label{font-size:15px!important;font-weight:850!important;line-height:1.22!important;letter-spacing:-.015em!important;color:var(--hws-text,#1e293b)!important;margin:0!important}
.qbn-page .qbn-widget-devis-only .heto-q-options,.qbn-page .qbn-widget-devis-only .heto-q-options-grid{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;margin:0!important}
.qbn-page .qbn-widget-devis-only .heto-q-option{width:100%!important;min-height:52px!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;padding:10px 13px!important;border:1.5px solid var(--hws-input-border,#e2e8f0)!important;border-radius:var(--hws-input-r,16px)!important;background:var(--hws-input-bg,#fff)!important;color:var(--hws-input-text,#1e293b)!important;text-align:left!important;box-shadow:none!important;overflow:visible!important;box-sizing:border-box!important;font-family:inherit!important}
.qbn-page .qbn-widget-devis-only .heto-q-option-img{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;flex:0 0 46px!important;border:1px solid var(--hws-input-border,#e2e8f0)!important;border-radius:12px!important;object-fit:cover!important;background:#f1f5f9!important;margin:0!important;box-shadow:none!important}
.qbn-page .qbn-widget-devis-only .heto-q-option span{min-width:0!important;flex:1 1 auto!important;padding:0!important;margin:0!important;color:var(--hws-input-text,#1e293b)!important;font-size:var(--hws-msg-fs,14px)!important;font-weight:850!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
.qbn-page .qbn-widget-devis-only .heto-q-option em,.qbn-page .qbn-widget-devis-only .heto-q-option b{flex:0 0 auto!important;margin-left:auto!important;padding:0!important;color:var(--hws-primary,#0C55F4)!important;font-size:calc(var(--hws-msg-fs,14px) - 2px)!important;font-weight:850!important;font-style:normal!important;white-space:nowrap!important;font-family:inherit!important}
.qbn-page .qbn-widget-devis-only .heto-q-option.is-on,.qbn-page .qbn-widget-devis-only .heto-q-option:hover{border-color:var(--hws-primary,#0C55F4)!important;background:color-mix(in srgb,var(--hws-primary,#0C55F4) 8%,var(--hws-input-bg,#fff))!important}
.qbn-page .qbn-widget-devis-only .heto-q-input{width:100%!important;min-height:48px!important;box-sizing:border-box!important;padding:0 14px!important;background:var(--hws-input-bg,#fff)!important;color:var(--hws-input-text,#1e293b)!important;border:1.5px solid var(--hws-input-border,#e2e8f0)!important;border-radius:var(--hws-input-r,16px)!important;font-family:inherit!important;font-size:var(--hws-msg-fs,14px)!important;box-shadow:none!important;outline:none!important}
.qbn-page .qbn-widget-devis-only textarea.heto-q-input{padding:13px 14px!important;min-height:86px!important}
.qbn-page .qbn-widget-devis-only input[type=range].heto-q-input{height:22px!important;min-height:22px!important;padding:0!important;border:0!important;background:transparent!important;accent-color:var(--hws-primary,#0C55F4)!important}
.qbn-page .qbn-widget-devis-only .heto-q-pills{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
.qbn-page .qbn-widget-devis-only .heto-q-pills button{appearance:none!important;border:1.5px solid var(--hws-input-border,#e2e8f0)!important;background:var(--hws-input-bg,#fff)!important;color:var(--hws-input-text,#1e293b)!important;border-radius:var(--hws-input-r,16px)!important;padding:10px 14px!important;font-family:inherit!important;font-size:var(--hws-msg-fs,14px)!important;font-weight:850!important;cursor:pointer!important;box-shadow:none!important}
.qbn-page .qbn-widget-devis-only .heto-q-pills button.is-on{border-color:var(--hws-primary,#0C55F4)!important;background:color-mix(in srgb,var(--hws-primary,#0C55F4) 8%,var(--hws-input-bg,#fff))!important;color:var(--hws-primary,#0C55F4)!important}
.qbn-page .qbn-widget-devis-only .heto-tool-foot button.is-primary{background:var(--hws-send,var(--hws-primary,#0C55F4))!important;color:#fff!important;border-color:transparent!important;border-radius:var(--hws-send-r,13px)!important}
@media(max-width:1100px){.qbn-page .qbn-layout-pixel-preview{grid-template-columns:1fr!important}.qbn-page .qbn-preview-wrap-pixel{padding:14px!important}.qbn-page .qbn-widget-devis-only{max-width:100%!important}}

/* HETO V345 — Configuration devis : aperçu = Widget Studio / écran Devis pixel-perfect */
.qbn-page .qbn-layout-pixel-preview{
  grid-template-columns:minmax(0,1fr) minmax(390px,430px)!important;
  align-items:start!important;
}
.qbn-page .qbn-preview-wrap-pixel{
  position:relative!important;
  min-height:690px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#f8fafc,#eef3fb)!important;
  border:0!important;
  border-radius:0!important;
  padding:18px!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
}
.qbn-page .qbn-preview-wrap-pixel:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(12,85,244,.09) 1.2px,transparent 1.2px)!important;
  background-size:22px 22px!important;
  pointer-events:none!important;
}
.qbn-page #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{
  position:relative!important;
  z-index:2!important;
  width:min(var(--hws-w,430px),100%)!important;
  max-width:430px!important;
  margin:0 auto!important;
  background:transparent!important;
  display:block!important;
  min-height:0!important;
  color:var(--hws-text,#1e293b)!important;
  font-family:var(--hws-font,Inter,system-ui,sans-serif)!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-window{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(var(--hws-h,620px),620px)!important;
  max-height:620px!important;
  margin:0!important;
  box-shadow:var(--hws-shadow,0 24px 80px rgba(15,23,42,.22))!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-view.hw-active{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-quote-shell{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-tool-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-tool-foot{
  flex:0 0 auto!important;
  margin-top:auto!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-navbar{
  order:99!important;
  flex-shrink:0!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-nav-tab,
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-hdr-back,
.qbn-page #qbn-preview.qbn-widget-preview-same .hw-hbtn{
  pointer-events:none!important;
  cursor:default!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-options-grid,
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-imagegrid{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:8px!important;
  width:100%!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-options-grid .heto-q-option,
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-option{
  flex-direction:row!important;
  align-items:center!important;
  min-height:52px!important;
  height:auto!important;
  padding:10px 13px!important;
}
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-options-grid .heto-q-option-img,
.qbn-page #qbn-preview.qbn-widget-preview-same .heto-q-option-img{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  border-radius:12px!important;
  object-fit:cover!important;
  border:1px solid var(--heto-q-field-border,var(--hws-input-border,#e2e8f0))!important;
  margin:0!important;
}
@media(max-width:1100px){
  .qbn-page .qbn-layout-pixel-preview{grid-template-columns:1fr!important}
  .qbn-page .qbn-preview-wrap-pixel{padding:18px!important;align-items:flex-end!important;justify-content:center!important}
  .qbn-page #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{width:min(var(--hws-w,430px),100%)!important;max-width:430px!important}
}

/* V36 — Agents désactivés temporairement */
.agcard.heto-agent-disabled{filter:grayscale(1);opacity:.55;background:#f5f6f8!important;cursor:not-allowed!important;box-shadow:none!important;border-color:#d8dde6!important}
.agcard.heto-agent-disabled:hover{transform:none!important;box-shadow:none!important;border-color:#d8dde6!important}
.agcard.heto-agent-disabled .agtop{background:#e5e7eb!important}
.agcard.heto-agent-disabled .agav,.agcard.heto-agent-disabled .agface-img{filter:grayscale(1)!important}
.agcard.heto-agent-disabled .agcaps span{background:#edf0f4!important;color:#7b8492!important;border-color:#d7dde6!important}
.agcard.heto-agent-disabled .heto-agent-lock-btn,.agcard.heto-agent-disabled button[disabled]{opacity:.75!important;cursor:not-allowed!important;background:#e5e7eb!important;color:#6b7280!important;border-color:#d1d5db!important;box-shadow:none!important}
.agcard.heto-agent-disabled .pill{background:#e5e7eb!important;color:#6b7280!important;border-color:#d1d5db!important}

/* ============================================================
   V350 — Hugo/Tom verrouillés avec l'apparence agent précédente
   ============================================================ */
#hd-root .heto-agent-page .heto-dev-title{margin-top:26px;color:#6b7280!important}
#hd-root .heto-agent-page .acard.locked,
#hd-root .heto-agent-page .acard.heto-agent-disabled{filter:grayscale(1);opacity:.62;background:#f6f7f9!important;border-color:#d8dde6!important;box-shadow:none!important;cursor:not-allowed!important}
#hd-root .heto-agent-page .acard.locked:hover,
#hd-root .heto-agent-page .acard.heto-agent-disabled:hover{transform:none!important;box-shadow:none!important}
#hd-root .heto-agent-page .acard.locked .top,
#hd-root .heto-agent-page .acard.heto-agent-disabled .top{background:linear-gradient(135deg,#d9dee7,#eef1f6)!important}
#hd-root .heto-agent-page .acard.locked .rl,
#hd-root .heto-agent-page .acard.heto-agent-disabled .rl{color:#6b7280!important}
#hd-root .heto-agent-page .acard.locked .badge.soon{background:#fff;color:#6b7280}
#hd-root .heto-agent-page .acard.locked .chip,
#hd-root .heto-agent-page .acard.heto-agent-disabled .chip{background:#edf0f4!important;color:#7b8492!important}
#hd-root .heto-agent-page .acard .ft .sw.locked,
#hd-root .heto-agent-page .acard .ft .sw:disabled{cursor:not-allowed!important;opacity:.65!important;background:#d1d5db!important}
#hd-root .heto-agent-page .acard .ft .sw.locked::after,
#hd-root .heto-agent-page .acard .ft .sw:disabled::after{background:#fff!important;transform:none!important}

/* HETO 2.1.351 — Configurateur de devis calé visuellement sur Mes widgets */
.qbn-widget-like{padding-top:2px}
.qbn-widget-editor{min-height:calc(100vh - 120px)}
.qbn-top-shell{margin-bottom:12px}
.qbn-topbar{background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:20px;padding:10px 14px;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05));margin-bottom:0}
.qbn-topbar .btn svg{width:15px;height:15px;vertical-align:-2px;margin-right:4px;fill:none;stroke:currentColor;stroke-width:2}
.qbn-widget-shell{background:#fff;border:1px solid var(--line,#ECE9E2);border-radius:20px;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05));overflow:hidden}
.qbn-widget-shell-tabs{display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid var(--line,#ECE9E2);min-height:46px;background:#fff}
.qbn-widget-shell-tab{padding:13px 0 12px;font-size:14px;font-weight:800;color:var(--brand,#0C55F4);border-bottom:2px solid var(--brand,#0C55F4)}
.qbn-widget-grid{padding:18px;grid-template-columns:minmax(0,1fr) minmax(370px,460px);gap:22px}
.qbn-widget-panel{min-width:0}
.qbn-section-intro{margin-bottom:18px}
.qbn-section-intro h2{font-size:18px;line-height:1.15;font-weight:900;margin:0 0 6px;letter-spacing:-.02em;color:var(--ink,#23211C)}
.qbn-section-intro .lead{margin:0;color:var(--soft,#6B6760);font-size:13px;max-width:880px}
.qbn-widget-tabs{margin-bottom:18px}
.qbn-widget-panel .qbn-card,.qbn-widget-panel .qbn-step{box-shadow:none}
.qbn-widget-preview-panel{min-height:760px}
.qbn-widget-stage{min-height:720px;padding:18px;background:linear-gradient(180deg,#eef2f7 0%,#dce5f1 100%)}
.qbn-widget-stage:before{background-image:radial-gradient(rgba(12,85,244,.08) 1.2px,transparent 1.2px);background-size:20px 20px}
.qbn-widget-stage #qbn-preview{position:relative;z-index:2;margin-left:auto}
.qbn-widget-stage .hws3-site-mock{opacity:.3}
.qbn-widget-like .qbn-tabs{border-bottom:1px solid var(--line,#ECE9E2)}
.qbn-widget-like .qbn-addstep{margin-top:12px}
@media(max-width:1200px){
  .qbn-widget-grid{grid-template-columns:1fr}
  .qbn-widget-preview-panel{min-height:unset}
  .qbn-widget-stage{min-height:620px}
}

/* HETO 2.1.352 — Configurateur devis : disposition alignée Mes widgets */
.qbn-config-like-widget{padding-top:0!important}
.qbn-config-like-widget .qbn-widget-editor{min-height:calc(100vh - 120px)!important;background:#fff!important;border:1px solid var(--line,#ECE9E2)!important;border-radius:20px!important;box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;overflow:hidden!important}
.qbn-config-like-widget .qbn-config-top{margin:0!important;padding:12px 16px!important;border-bottom:1px solid var(--line,#ECE9E2)!important;background:#fff!important;min-height:58px!important}
.qbn-config-like-widget .qbn-config-top .ph1{font-size:14px!important;font-weight:900!important;line-height:1.1!important;margin:0!important;color:var(--ink,#23211C)!important}
.qbn-config-like-widget .qbn-config-top .psub{font-size:12px!important;color:var(--soft,#6B6760)!important;margin-top:3px!important;line-height:1.25!important}
.qbn-config-like-widget .qbn-config-tabs{margin:0!important;padding:0 20px!important;border-bottom:1px solid var(--line,#ECE9E2)!important;background:#fff!important;min-height:48px!important;align-items:flex-end!important}
.qbn-config-like-widget .qbn-config-tabs button{padding:15px 14px 13px!important;font-size:12.5px!important;font-weight:900!important}
.qbn-config-like-widget .qbn-config-grid{padding:0!important;gap:0!important;grid-template-columns:minmax(0,1fr) minmax(390px,480px)!important;align-items:stretch!important}
.qbn-config-like-widget .qbn-config-panel{padding:22px 24px 24px!important;min-width:0!important;border-right:1px solid var(--line,#ECE9E2)!important;background:#fff!important}
.qbn-config-like-widget .qbn-config-preview-panel{position:sticky!important;top:16px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--rail,#FBFAF8)!important;min-height:720px!important;align-self:stretch!important}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head{height:62px!important;padding:14px 18px!important;border-bottom:1px solid var(--line,#ECE9E2)!important;background:#fff!important}
.qbn-config-like-widget .qbn-config-stage{min-height:658px!important;height:calc(100vh - 260px)!important;max-height:780px!important;padding:18px!important;align-items:flex-end!important;justify-content:flex-end!important;background:linear-gradient(135deg,#eef2f7,#dfe7f3)!important}
.qbn-config-like-widget .qbn-config-stage:before{background-image:radial-gradient(rgba(12,85,244,.10) 1.4px,transparent 1.4px)!important;background-size:22px 22px!important}
.qbn-config-like-widget .qbn-section-intro h2{font-size:22px!important;line-height:1.15!important;font-weight:900!important;margin:0 0 4px!important;letter-spacing:-.02em!important;color:var(--ink,#23211C)!important}
.qbn-config-like-widget .qbn-section-intro .lead{margin:0 0 18px!important;color:var(--soft,#6B6760)!important;font-size:13px!important;line-height:1.35!important;max-width:760px!important}
.qbn-config-like-widget .qbn-step{border-radius:14px!important;border-color:var(--line,#ECE9E2)!important;box-shadow:none!important;margin-bottom:14px!important}
.qbn-config-like-widget .qbn-step-h{background:#fff!important;padding:13px 16px!important;border-bottom:1px solid var(--line,#ECE9E2)!important}
.qbn-config-like-widget .qbn-step-body{padding:14px 16px 16px!important;background:#fff!important}
.qbn-config-like-widget .qbn-fcard{border-radius:14px!important;border-color:var(--line,#ECE9E2)!important;background:#fff!important;margin-bottom:10px!important;box-shadow:none!important}
.qbn-config-like-widget .qbn-fhead{padding:13px 14px!important}
.qbn-config-like-widget .qbn-fcard.open{border-color:var(--brand,#0C55F4)!important;box-shadow:0 0 0 3px var(--brand-soft,#EAF0FE)!important}
.qbn-config-like-widget .qbn-insert-btn{border-radius:12px!important;background:#fff!important;border:1.5px dashed var(--brand,#0C55F4)!important;color:var(--brand,#0C55F4)!important;padding:13px!important}
.qbn-config-like-widget .qbn-insert-btn:hover{background:var(--brand-soft,#EAF0FE)!important}
.qbn-config-like-widget .qbn-addstep{border-radius:12px!important;background:#fff!important;border:1.5px dashed var(--line-2,#E0DCD3)!important;color:var(--soft,#6B6760)!important;padding:13px!important;margin-top:12px!important;font-weight:900!important}
.qbn-config-like-widget .qbn-addstep:hover{border-color:var(--brand,#0C55F4)!important;color:var(--brand,#0C55F4)!important;background:var(--brand-soft,#EAF0FE)!important}
.qbn-config-like-widget .qbn-widget-stage #qbn-preview{margin-left:auto!important;position:relative!important;z-index:2!important}
.qbn-config-like-widget .qbn-widget-stage .hws3-site-mock{opacity:.38!important}
@media(max-width:1200px){.qbn-config-like-widget .qbn-config-grid{grid-template-columns:1fr!important}.qbn-config-like-widget .qbn-config-panel{border-right:0!important;border-bottom:1px solid var(--line,#ECE9E2)!important}.qbn-config-like-widget .qbn-config-preview-panel{position:relative!important;top:auto!important}.qbn-config-like-widget .qbn-config-stage{height:auto!important;max-height:none!important;min-height:620px!important}}


/* HETO 2.1.353 — Configurateur de devis : ossature copiée de Mes widgets / Personnalisation */
.qbn-config-like-widget{padding-top:0!important}
.qbn-config-like-widget .qbn-widget-editor{
  min-height:calc(100vh - 120px)!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:20px!important;
  box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;
  overflow:hidden!important;
}
.qbn-config-like-widget .qbn-config-top{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  padding:12px 16px!important;
  min-height:58px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  flex-wrap:wrap!important;
}
.qbn-config-like-widget .qbn-config-top .grow{flex:1!important}
.qbn-config-like-widget .qbn-config-top .ph1{font-size:14px!important;font-weight:900!important;line-height:1.1!important;margin:0!important;color:var(--ink,#23211C)!important}
.qbn-config-like-widget .qbn-config-top .psub{font-size:12px!important;color:var(--soft,#6B6760)!important;margin-top:3px!important;line-height:1.25!important}
.qbn-config-like-widget .qbn-config-tabs{
  display:flex!important;
  gap:4px!important;
  margin:0!important;
  padding:0 20px!important;
  min-height:48px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
  align-items:flex-end!important;
}
.qbn-config-like-widget .qbn-config-tabs::-webkit-scrollbar{display:none!important}
.qbn-config-like-widget .qbn-config-tabs button{
  border:0!important;
  background:transparent!important;
  padding:15px 14px 13px!important;
  font-weight:800!important;
  font-size:12.5px!important;
  color:var(--soft,#6B6760)!important;
  border-bottom:2px solid transparent!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  margin-bottom:-1px!important;
}
.qbn-config-like-widget .qbn-config-tabs button.on{color:var(--brand,#0C55F4)!important;border-bottom-color:var(--brand,#0C55F4)!important}
.qbn-config-like-widget .qbn-config-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(390px,480px)!important;
  gap:22px!important;
  align-items:start!important;
  padding:18px!important;
  background:#fff!important;
}
.qbn-config-like-widget .qbn-config-panel{
  min-width:0!important;
  padding:0!important;
  border-right:0!important;
  background:#fff!important;
}
.qbn-config-like-widget .qbn-config-preview-panel{
  position:sticky!important;
  top:16px!important;
  border:1px solid var(--line,#ECE9E2)!important;
  background:var(--rail,#FBFAF8)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;
  min-height:680px!important;
  align-self:start!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  height:auto!important;
  min-height:0!important;
  padding:14px 16px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head>b{font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--faint,#9A958B)!important}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head>span{flex:1!important}
.qbn-config-like-widget .qbn-config-stage{
  min-height:620px!important;
  height:auto!important;
  max-height:none!important;
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  padding:22px!important;
  background:linear-gradient(135deg,#eef2f7,#dfe7f3)!important;
  overflow:hidden!important;
}
.qbn-config-like-widget .qbn-config-stage:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(12,85,244,.10) 1.4px,transparent 1.4px)!important;
  background-size:22px 22px!important;
  pointer-events:none!important;
}
.qbn-config-like-widget .qbn-config-stage .hws3-site-mock{display:none!important}
.qbn-config-like-widget .qbn-section-intro{margin-bottom:18px!important}
.qbn-config-like-widget .qbn-section-intro h2{font-size:22px!important;line-height:1.15!important;font-weight:900!important;margin:0 0 4px!important;letter-spacing:-.02em!important;color:var(--ink,#23211C)!important}
.qbn-config-like-widget .qbn-section-intro .lead{margin:0 0 16px!important;color:var(--soft,#6B6760)!important;font-size:13px!important;line-height:1.35!important;max-width:880px!important}
.qbn-config-like-widget .qbn-widget-stage #qbn-preview,
.qbn-config-like-widget #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{
  position:relative!important;
  z-index:2!important;
  width:min(var(--hws-w,430px),100%)!important;
  max-width:430px!important;
  margin:0!important;
  background:transparent!important;
  display:block!important;
  min-height:0!important;
}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .hw-window{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(var(--hws-h,620px),620px)!important;
  max-height:620px!important;
  margin:0!important;
}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .qbn-config-clean-head .hw-hdr-av{
  width:40px!important;
  height:40px!important;
  border-radius:50%!important;
  background:transparent!important;
  border:3px solid currentColor!important;
  box-shadow:none!important;
  font-weight:900!important;
}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .qbn-config-clean-head .hw-hdr-av:after{display:none!important}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .qbn-config-clean-head .hw-hbtn-close{
  width:40px!important;
  height:40px!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.16)!important;
  color:currentColor!important;
}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .qbn-config-clean-head .hw-hbtn-close svg{
  width:20px!important;
  height:20px!important;
  stroke-width:2.4!important;
}
@media(max-width:1200px){
  .qbn-config-like-widget .qbn-config-grid{grid-template-columns:1fr!important}
  .qbn-config-like-widget .qbn-config-preview-panel{position:relative!important;top:auto!important}
}

/* HETO 2.1.354 — Configurateur devis : vraie disposition copiée de l'éditeur widget */
.qbn-config-like-widget .qbn-widget-editor{
  display:flex!important;
  flex-direction:column!important;
  min-height:calc(100vh - 120px)!important;
  height:calc(100vh - 120px)!important;
  max-height:none!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;
}
.qbn-config-like-widget .qbn-config-top{
  flex:0 0 56px!important;
  min-height:56px!important;
  height:56px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 16px!important;
  margin:0!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  flex-wrap:nowrap!important;
}
.qbn-config-like-widget .qbn-config-top .btn{
  height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.qbn-config-like-widget .qbn-config-top .ph1{
  font-size:14px!important;
  line-height:1!important;
  font-weight:900!important;
  margin:0!important;
}
.qbn-config-like-widget .qbn-config-top .psub{display:none!important}
.qbn-config-like-widget .qbn-config-top .grow{flex:1 1 auto!important}
.qbn-config-like-widget .qbn-config-tabs{
  flex:0 0 48px!important;
  min-height:48px!important;
  height:48px!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:4px!important;
  padding:0 20px!important;
  margin:0!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
.qbn-config-like-widget .qbn-config-tabs::-webkit-scrollbar{display:none!important}
.qbn-config-like-widget .qbn-config-tabs button{
  flex:0 0 auto!important;
  border:0!important;
  background:transparent!important;
  height:48px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:12.5px!important;
  font-weight:800!important;
  color:var(--soft,#6B6760)!important;
  border-bottom:2px solid transparent!important;
  margin:0 0 -1px!important;
  white-space:nowrap!important;
}
.qbn-config-like-widget .qbn-config-tabs button.on{
  color:var(--brand,#0C55F4)!important;
  border-bottom-color:var(--brand,#0C55F4)!important;
}
.qbn-config-like-widget .qbn-config-grid{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 470px!important;
  gap:0!important;
  align-items:stretch!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  overflow:hidden!important;
}
.qbn-config-like-widget .qbn-config-panel{
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  overflow:auto!important;
  padding:18px 22px 80px!important;
  border:0!important;
  background:#fff!important;
  scrollbar-width:none!important;
}
.qbn-config-like-widget .qbn-config-panel::-webkit-scrollbar{display:none!important}
.qbn-config-like-widget .qbn-section-intro{
  margin:0 0 16px!important;
}
.qbn-config-like-widget .qbn-section-intro h2{
  font-size:19px!important;
  line-height:1.15!important;
  font-weight:900!important;
  margin:0 0 4px!important;
  letter-spacing:-.025em!important;
}
.qbn-config-like-widget .qbn-section-intro .lead{
  margin:0!important;
  color:var(--soft,#6B6760)!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  max-width:820px!important;
}
.qbn-config-like-widget .qbn-config-preview-panel{
  position:relative!important;
  top:auto!important;
  align-self:stretch!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  border-left:1px solid var(--line,#ECE9E2)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:var(--rail,#FBFAF8)!important;
  overflow:hidden!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head{
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0!important;
  margin:0 0 14px!important;
  border:0!important;
  background:transparent!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head>b{
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  color:var(--faint,#9A958B)!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-preview-head>span{flex:1 1 auto!important}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-screen-tabs{
  margin-left:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  padding:3px!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:999px!important;
  background:#fff!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-screen-tabs button{
  height:30px!important;
  min-width:54px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:var(--soft,#6B6760)!important;
  font-size:12px!important;
  font-weight:800!important;
}
.qbn-config-like-widget .qbn-config-preview-panel .hws3-screen-tabs button.on{
  background:var(--brand,#0C55F4)!important;
  color:#fff!important;
}
.qbn-config-like-widget .qbn-config-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  padding:20px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#e9edf5,#dfe5ef)!important;
}
.qbn-config-like-widget .qbn-config-stage:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(12,85,244,.10) 1.2px,transparent 1.2px)!important;
  background-size:20px 20px!important;
  pointer-events:none!important;
  z-index:0!important;
}
.qbn-config-like-widget .qbn-config-stage .hws3-site-mock{display:block!important;opacity:.24!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important}
.qbn-config-like-widget .qbn-config-stage #qbn-preview,
.qbn-config-like-widget #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{
  position:relative!important;
  z-index:2!important;
  width:min(var(--hws-w,430px),100%)!important;
  max-width:430px!important;
  margin:0!important;
  background:transparent!important;
}
.qbn-config-like-widget #qbn-preview.qbn-widget-preview-same .hw-window{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(var(--hws-h,620px),100%)!important;
  max-height:none!important;
  margin:0!important;
}
.qbn-config-like-widget .qbn-step{
  border-radius:14px!important;
  border:1px solid var(--line,#ECE9E2)!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  margin:0 0 14px!important;
}
.qbn-config-like-widget .qbn-step-h{
  padding:13px 16px!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
}
.qbn-config-like-widget .qbn-step-body{padding:14px 16px 16px!important;background:#fff!important}
.qbn-config-like-widget .qbn-fcard{
  border-radius:13px!important;
  border:1px solid var(--line,#ECE9E2)!important;
  background:#fff!important;
  box-shadow:none!important;
  margin:0 0 10px!important;
  overflow:hidden!important;
}
.qbn-config-like-widget .qbn-fhead{min-height:64px!important;padding:12px 14px!important}
.qbn-config-like-widget .qbn-insert-btn{
  width:100%!important;
  border:1.5px dashed var(--brand,#0C55F4)!important;
  border-radius:12px!important;
  padding:13px!important;
  background:#fff!important;
  color:var(--brand,#0C55F4)!important;
  font-weight:900!important;
}
.qbn-config-like-widget .qbn-addstep{
  width:100%!important;
  margin-top:12px!important;
  border:1.5px dashed var(--line-2,#E0DCD3)!important;
  border-radius:12px!important;
  padding:13px!important;
  background:#fff!important;
  color:var(--soft,#6B6760)!important;
  font-weight:900!important;
}
@media(max-width:1200px){
  .qbn-config-like-widget .qbn-widget-editor{height:auto!important;min-height:calc(100vh - 120px)!important}
  .qbn-config-like-widget .qbn-config-grid{grid-template-columns:1fr!important;overflow:visible!important}
  .qbn-config-like-widget .qbn-config-panel{height:auto!important;overflow:visible!important;border-bottom:1px solid var(--line,#ECE9E2)!important}
  .qbn-config-like-widget .qbn-config-preview-panel{border-left:0!important;min-height:680px!important}
}

/* HETO 2.1.358 — Configurateur devis : même ossature que Personnalisation widget */
.qbn-config-exact-widget{
  padding:0!important;
  font-family:var(--qbn-widget-font,"Plus Jakarta Sans",Inter,system-ui,sans-serif)!important;
}
.qbn-config-exact-widget .hws3-editor{
  min-height:calc(100vh - 120px)!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;
}
.qbn-config-exact-widget .hws3-top{
  height:60px!important;
  min-height:60px!important;
  padding:0 16px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  background:#fff!important;
  flex-wrap:nowrap!important;
}
.qbn-config-exact-widget .hws3-top .grow{flex:1 1 auto!important}
.qbn-config-exact-widget .hws3-top .ph1{
  margin:0!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:900!important;
  color:var(--ink,#23211C)!important;
}
.qbn-config-exact-widget .hws3-top .btn{
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:10px!important;
}
.qbn-config-exact-widget .qbn-editor-grid-same{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 544px!important;
  gap:0!important;
  align-items:stretch!important;
  min-height:calc(100vh - 181px)!important;
  background:#fff!important;
}
.qbn-config-exact-widget .qbn-left-editor-same{
  min-width:0!important;
  background:#fff!important;
  display:flex!important;
  flex-direction:column!important;
}
.qbn-config-exact-widget .qbn-left-editor-same .hws3-tabs{
  height:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:0 24px!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:4px!important;
  background:#fff!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
.qbn-config-exact-widget .qbn-left-editor-same .hws3-tabs::-webkit-scrollbar{display:none!important}
.qbn-config-exact-widget .qbn-left-editor-same .hws3-tabs button{
  height:52px!important;
  padding:0 14px!important;
  margin:0 0 -1px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  background:transparent!important;
  border-radius:0!important;
  font-size:12.5px!important;
  font-weight:800!important;
  color:var(--soft,#6B6760)!important;
  white-space:nowrap!important;
}
.qbn-config-exact-widget .qbn-left-editor-same .hws3-tabs button.on{
  color:var(--brand,#0C55F4)!important;
  border-bottom-color:var(--brand,#0C55F4)!important;
}
.qbn-config-exact-widget .qbn-exact-panel{
  flex:1 1 auto!important;
  min-width:0!important;
  padding:18px 24px 60px!important;
  margin:0!important;
  background:#fff!important;
  overflow:auto!important;
}
.qbn-config-exact-widget .qbn-section-intro{margin:0 0 16px!important}
.qbn-config-exact-widget .qbn-section-intro h2{
  margin:0 0 4px!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  color:var(--ink,#23211C)!important;
}
.qbn-config-exact-widget .qbn-section-intro .lead{
  margin:0!important;
  color:var(--soft,#6B6760)!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.qbn-config-exact-widget .qbn-exact-preview{
  position:relative!important;
  top:auto!important;
  align-self:stretch!important;
  min-width:0!important;
  width:auto!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid var(--line,#ECE9E2)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:var(--rail,#FBFAF8)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.qbn-config-exact-widget .qbn-exact-preview .hws3-preview-head{
  height:67px!important;
  min-height:67px!important;
  padding:0 18px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
}
.qbn-config-exact-widget .qbn-exact-preview .hws3-preview-head>b{
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:var(--faint,#9A958B)!important;
}
.qbn-config-exact-widget .qbn-exact-preview .hws3-preview-head>span{flex:1 1 auto!important}
.qbn-config-exact-widget .qbn-exact-preview .hws3-screen-tabs{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:3px!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.qbn-config-exact-widget .qbn-exact-preview .hws3-screen-tabs button{
  border:0!important;
  background:transparent!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
  color:var(--soft,#6B6760)!important;
}
.qbn-config-exact-widget .qbn-exact-preview .hws3-screen-tabs button.on{
  background:var(--brand,#0C55F4)!important;
  color:#fff!important;
}
.qbn-config-exact-widget .qbn-exact-stage{
  flex:1 1 auto!important;
  min-height:620px!important;
  height:auto!important;
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  padding:22px!important;
  background:linear-gradient(135deg,#eef2f7,#dfe7f3)!important;
  overflow:hidden!important;
}
.qbn-config-exact-widget .qbn-exact-stage:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(12,85,244,.10) 1.4px,transparent 1.4px)!important;
  background-size:22px 22px!important;
  pointer-events:none!important;
  z-index:0!important;
}
.qbn-config-exact-widget .hws3-site-mock{
  position:absolute!important;
  inset:22px 22px auto 22px!important;
  height:220px!important;
  pointer-events:none!important;
  opacity:.38!important;
  z-index:0!important;
}
.qbn-config-exact-widget .hws3-site-mock div{border-radius:24px!important;background:rgba(15,23,42,.11)!important;margin-bottom:20px!important}
.qbn-config-exact-widget .hws3-site-mock .m1{height:70px!important;width:76%!important}
.qbn-config-exact-widget .hws3-site-mock .m2{height:120px!important;width:36%!important}
.qbn-config-exact-widget .hws3-site-mock .m3{height:80px!important;width:42%!important}
.qbn-config-exact-widget #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{
  position:relative!important;
  z-index:2!important;
  width:min(var(--hws-w,430px),100%)!important;
  max-width:430px!important;
  margin:0!important;
  background:transparent!important;
  display:block!important;
}
.qbn-config-exact-widget #qbn-preview.qbn-widget-preview-same .hw-window{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(var(--hws-h,620px),620px)!important;
  max-height:620px!important;
  margin:0!important;
}
.qbn-config-exact-widget .qbn-step{
  margin:0 0 14px!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.qbn-config-exact-widget .qbn-step-h{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 16px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
}
.qbn-config-exact-widget .qbn-step-body{padding:14px 16px 16px!important;background:#fff!important}
.qbn-config-exact-widget .qbn-fcard{
  margin:0 0 10px!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:13px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.qbn-config-exact-widget .qbn-fhead{min-height:64px!important;padding:12px 14px!important}
.qbn-config-exact-widget .qbn-insert-btn{
  width:100%!important;
  padding:13px!important;
  border:1.5px dashed var(--brand,#0C55F4)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--brand,#0C55F4)!important;
  font-weight:900!important;
}
.qbn-config-exact-widget .qbn-addstep{
  width:100%!important;
  margin-top:12px!important;
  padding:13px!important;
  border:1.5px dashed var(--line-2,#E0DCD3)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--soft,#6B6760)!important;
  font-weight:900!important;
}
@media(max-width:1200px){
  .qbn-config-exact-widget .qbn-editor-grid-same{grid-template-columns:1fr!important;min-height:auto!important}
  .qbn-config-exact-widget .qbn-exact-preview{border-left:0!important;border-top:1px solid var(--line,#ECE9E2)!important;min-height:680px!important}
  .qbn-config-exact-widget .qbn-exact-panel{overflow:visible!important}
}


/* HETO 2.1.359 — Configuration devis : interface index intégrée exactement, sans onglets Champs/Calcul */
#hd-root .qbn-page.qbn-config-exact-widget.qbn-index-interface{
  padding-top:0!important;
  font-family:var(--qbn-widget-font,"Plus Jakarta Sans",Inter,system-ui,sans-serif)!important;
  color:var(--ink,#23211C)!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-editor{
  min-height:calc(100vh - 120px)!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:20px!important;
  box-shadow:var(--shadow,0 1px 2px rgba(35,33,28,.04),0 4px 14px rgba(35,33,28,.05))!important;
  overflow:hidden!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-top{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-height:58px!important;
  height:58px!important;
  margin:0!important;
  padding:10px 16px!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  background:#fff!important;
  flex-wrap:nowrap!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-top .grow{flex:1 1 auto!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-top .ph1{
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:900!important;
  margin:0!important;
  color:var(--ink,#23211C)!important;
  white-space:nowrap!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-top .btn{
  height:38px!important;
  min-height:38px!important;
  border-radius:10px!important;
  padding:0 14px!important;
  font-size:13px!important;
  font-weight:800!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-grid.qbn-config-grid-final{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 480px!important;
  gap:0!important;
  align-items:stretch!important;
  min-height:calc(100vh - 178px)!important;
  background:#fff!important;
  overflow:hidden!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-panel.qbn-exact-panel{
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  padding:22px 24px 56px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-panel.qbn-exact-panel::-webkit-scrollbar{width:0!important;height:0!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface #qbn-config-tabs,
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-tabs{display:none!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-section-intro{
  margin:0 0 16px!important;
  padding:0!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-section-intro h2{
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  margin:0 0 5px!important;
  color:var(--ink,#23211C)!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-section-intro .lead{
  margin:0!important;
  color:var(--soft,#6B6760)!important;
  font-size:13px!important;
  line-height:1.35!important;
  max-width:880px!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-step{
  margin:0 0 14px!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-step-h{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 16px!important;
  background:#fff!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-step-body{padding:14px 16px 16px!important;background:#fff!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-fcard{
  margin:0 0 10px!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-fhead{
  min-height:64px!important;
  padding:12px 14px!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-insert-btn{
  width:100%!important;
  min-height:52px!important;
  border:1.5px dashed var(--brand,#0C55F4)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--brand,#0C55F4)!important;
  font-weight:900!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .qbn-addstep{
  width:100%!important;
  min-height:52px!important;
  margin-top:12px!important;
  border:1.5px dashed var(--line-2,#E0DCD3)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--soft,#6B6760)!important;
  font-weight:900!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-preview.qbn-exact-preview{
  position:relative!important;
  top:auto!important;
  align-self:stretch!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid var(--line,#ECE9E2)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-preview-head{
  flex:0 0 52px!important;
  min-height:52px!important;
  height:52px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:0 18px!important;
  border:0!important;
  border-bottom:1px solid var(--line,#ECE9E2)!important;
  background:#fff!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-preview-head>b{
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:var(--faint,#9A958B)!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-preview-head>span{flex:1 1 auto!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-screen-tabs{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  background:#fff!important;
  border:1px solid var(--line,#ECE9E2)!important;
  border-radius:999px!important;
  padding:3px!important;
  box-shadow:none!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-screen-tabs button{
  border:0!important;
  background:transparent!important;
  border-radius:999px!important;
  height:auto!important;
  min-width:0!important;
  padding:7px 10px!important;
  color:var(--soft,#6B6760)!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
  cursor:pointer!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-screen-tabs button.on{
  background:var(--brand,#0C55F4)!important;
  color:#fff!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-stage.qbn-exact-stage{
  flex:1 1 auto!important;
  min-height:620px!important;
  height:auto!important;
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  margin:22px 18px 18px!important;
  padding:22px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#eef2f7,#dfe7f3)!important;
  overflow:hidden!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-stage.qbn-exact-stage:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background-image:radial-gradient(rgba(12,85,244,.10) 1.4px,transparent 1.4px)!important;
  background-size:22px 22px!important;
  pointer-events:none!important;
  z-index:0!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-site-mock{
  position:absolute!important;
  inset:22px 22px auto 22px!important;
  height:220px!important;
  pointer-events:none!important;
  opacity:.38!important;
  z-index:0!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-site-mock div{border-radius:24px!important;background:rgba(15,23,42,.11)!important;margin-bottom:20px!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-site-mock .m1{height:70px!important;width:76%!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-site-mock .m2{height:120px!important;width:36%!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-site-mock .m3{height:80px!important;width:42%!important}
#hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-stage #qbn-preview,
#hd-root .qbn-config-exact-widget.qbn-index-interface #qbn-preview.hws-preview-real-root.qbn-widget-preview-same{
  position:relative!important;
  z-index:2!important;
  width:min(var(--hws-w,430px),100%)!important;
  max-width:430px!important;
  margin:0 0 0 auto!important;
  background:transparent!important;
  display:block!important;
}
#hd-root .qbn-config-exact-widget.qbn-index-interface #qbn-preview.qbn-widget-preview-same .hw-window{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(var(--hws-h,620px),calc(100vh - 300px))!important;
  min-height:560px!important;
  max-height:620px!important;
  margin:0!important;
}
@media(max-width:1200px){
  #hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-grid.qbn-config-grid-final{grid-template-columns:1fr!important;overflow:visible!important}
  #hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-panel.qbn-exact-panel{height:auto!important;overflow:visible!important}
  #hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-preview.qbn-exact-preview{border-left:0!important;border-top:1px solid var(--line,#ECE9E2)!important;min-height:680px!important}
  #hd-root .qbn-config-exact-widget.qbn-index-interface .hws3-stage.qbn-exact-stage{min-height:620px!important}
}

/* V390 — widget contenu : champ formulaire visible et pleine largeur */
.hws3-form-target{display:block;margin-top:8px;grid-column:1/-1}.hws3-form-target .hws3-field{margin-bottom:0}.hws3-form-target .inp{width:100%}

/* V440 — Mon compte : avatars proposés + fond personnalisable */
#hd-root .heto-avatar-v440{display:flex;flex-direction:column;gap:16px}
#hd-root .heto-avatar-current{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line,#ECE9E2);border-radius:18px;background:#fff}
#hd-root .heto-avatar-current b{display:block;font-size:14px;color:var(--ink,#1f1b16);margin-bottom:3px}
#hd-root .heto-avatar-current span{display:block;font-size:12.5px;color:var(--soft,#6B6760);line-height:1.35}
#hd-root .heto-avatar-preset-wrap{border:1px solid var(--line,#ECE9E2);border-radius:20px;background:#fff;padding:14px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
#hd-root .heto-avatar-preset-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
#hd-root .heto-avatar-preset-head b{display:block;font-size:14px;color:var(--ink,#1f1b16)}
#hd-root .heto-avatar-preset-head span{display:block;font-size:12px;color:var(--soft,#6B6760);margin-top:2px}
#hd-root .heto-avatar-bg-options{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:320px}
#hd-root .heto-avatar-bg{height:30px;padding:0 9px;border:1px solid var(--line,#ECE9E2);border-radius:999px;background:#fff;color:var(--soft,#6B6760);font-size:11.5px;font-weight:800;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
#hd-root .heto-avatar-bg i{width:13px;height:13px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
#hd-root .heto-avatar-bg.on{border-color:rgba(12,85,244,.28);background:rgba(12,85,244,.08);color:var(--brand,#0C55F4)}
#hd-root .heto-avatar-live{height:112px;border-radius:18px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;overflow:hidden;color:#fff;box-shadow:inset 0 -30px 70px rgba(0,0,0,.12);position:relative}
#hd-root .heto-avatar-live img{width:112px;height:112px;object-fit:contain;position:absolute;bottom:0;left:50%;transform:translateX(-50%)}
#hd-root .heto-avatar-live b{font-size:15px;font-weight:900;text-shadow:0 2px 8px rgba(0,0,0,.18)}
#hd-root .heto-avatar-live span{font-size:12px;font-weight:700;opacity:.88;text-shadow:0 2px 8px rgba(0,0,0,.18)}
#hd-root .heto-avatar-live img+span{position:absolute;left:12px;bottom:10px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(8px);border-radius:999px;padding:5px 9px;color:#fff}
#hd-root .heto-avatar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#hd-root .heto-avatar-preset{position:relative;border:1px solid var(--line,#ECE9E2);border-radius:18px;height:112px;overflow:hidden;cursor:pointer;padding:0;box-shadow:0 4px 12px rgba(15,23,42,.05);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
#hd-root .heto-avatar-preset:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.12)}
#hd-root .heto-avatar-preset.on{border-color:var(--brand,#0C55F4);box-shadow:0 0 0 3px rgba(12,85,244,.16),0 12px 26px rgba(12,85,244,.14)}
#hd-root .heto-avatar-preset img{width:100%;height:100%;object-fit:contain;display:block;position:absolute;inset:0;z-index:1}
#hd-root .heto-avatar-preset span{position:absolute;left:6px;right:6px;bottom:6px;z-index:2;border-radius:999px;padding:4px 6px;background:rgba(255,255,255,.82);backdrop-filter:blur(6px);font-size:10px;font-weight:900;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hd-root .heto-file-drop{border:1.5px dashed var(--line,#ECE9E2);border-radius:18px;background:var(--rail,#F8F7F4);min-height:92px;display:flex;align-items:center;justify-content:center;gap:12px;text-align:left;cursor:pointer;padding:14px;transition:.15s ease}
#hd-root .heto-file-drop:hover{background:#fff;border-color:rgba(12,85,244,.28)}
#hd-root .heto-file-drop input{display:none}
#hd-root .heto-file-ico{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#fff;color:var(--brand,#0C55F4);box-shadow:0 2px 8px rgba(15,23,42,.06)}
#hd-root .heto-file-drop b{display:block;font-size:13px;color:var(--ink,#1f1b16)}
#hd-root .heto-file-drop em{display:block;font-size:11.5px;font-style:normal;color:var(--soft,#6B6760);margin-top:2px}
#hd-root .heto-avatar-preview{align-items:center;gap:10px;padding:10px;border:1px solid var(--line,#ECE9E2);border-radius:16px;background:#fff;font-size:12px;font-weight:800;color:var(--soft,#6B6760)}
#hd-root .heto-avatar-preview img{width:44px;height:44px;border-radius:14px;object-fit:cover}
@media(max-width:760px){#hd-root .heto-avatar-preset-head{display:block}#hd-root .heto-avatar-bg-options{justify-content:flex-start;margin-top:10px;max-width:none}#hd-root .heto-avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* HETO v447 — Preview widget/formulaire : restitution des arrondis bas */
#hd-root .hws-studio-preview .hws-preview-real-root .hw-window,
#hd-root .hws-preview-real-root .hw-window,
.hws-preview-real-root .hw-window{
  border-radius:var(--hws-radius,24px)!important;
  overflow:hidden!important;
  clip-path:inset(0 round var(--hws-radius,24px))!important;
  isolation:isolate!important;
}
#hd-root .hws-studio-preview .hws-preview-real-root .hw-navbar,
#hd-root .hws-preview-real-root .hw-navbar,
.hws-preview-real-root .hw-navbar{
  border-radius:0 0 calc(var(--hws-radius,24px) - 1px) calc(var(--hws-radius,24px) - 1px)!important;
  overflow:hidden!important;
  margin:0!important;
}
#hd-root .hws-studio-preview .hws-preview-real-root .hw-navbar .hw-nav-tab:first-child,
#hd-root .hws-preview-real-root .hw-navbar .hw-nav-tab:first-child,
.hws-preview-real-root .hw-navbar .hw-nav-tab:first-child{
  border-bottom-left-radius:max(13px,calc(var(--hws-radius,24px) - 8px))!important;
}
#hd-root .hws-studio-preview .hws-preview-real-root .hw-navbar .hw-nav-tab:last-child,
#hd-root .hws-preview-real-root .hw-navbar .hw-nav-tab:last-child,
.hws-preview-real-root .hw-navbar .hw-nav-tab:last-child{
  border-bottom-right-radius:max(13px,calc(var(--hws-radius,24px) - 8px))!important;
}
#hd-root .heto-fe-page #fePvStage > .heto-fe-real-stage,
#hd-root .heto-fe-page #fePvStage > .hf-stage{
  border-radius:var(--radius,14px)!important;
  overflow:hidden!important;
}
#hd-root .heto-fe-page .heto-fe-real-widget{
  border-radius:22px!important;
  overflow:hidden!important;
  clip-path:inset(0 round 22px)!important;
  isolation:isolate!important;
}
#hd-root .heto-fe-page .heto-fe-real-widget .heto-fe-real-nav{
  border-radius:0 0 22px 22px!important;
  overflow:hidden!important;
  margin:0!important;
}
#hd-root .heto-fe-page .heto-fe-real-widget .heto-fe-real-nav button:first-child{
  border-bottom-left-radius:16px!important;
}
#hd-root .heto-fe-page .heto-fe-real-widget .heto-fe-real-nav button:last-child{
  border-bottom-right-radius:16px!important;
}

/* HETO v502 — suppression de la petite pastille Vue admin / Vue client */
#hd-root .rolechip,.rolechip[data-role-label]{display:none!important}


/* HETO 2.1.506 — stabilité hauteur personnalisation widget au changement de site */
#hd-root.heto-v506-widget-editor .view{
  overflow:hidden!important;
  padding-top:20px!important;
  padding-bottom:20px!important;
}
#hd-root.heto-v506-widget-editor .view-inner{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}
#hd-root.heto-v506-widget-editor .wfeditor.hws15-studio,
#hd-root.heto-v506-widget-editor .heto-ws-frame,
#hd-root.heto-v506-widget-editor #ws-wrap{
  flex:1 1 auto!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
}
#hd-root.heto-v506-widget-editor #ws-frame{
  flex:1 1 auto!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  display:block!important;
}
#hd-root .heto-v506-stable-widget-list{
  min-height:calc(100dvh - 154px);
  display:flex;
  flex-direction:column;
}
#hd-root .heto-v506-stable-widget-list .wrapfill,
#hd-root .heto-v506-stable-widget-list .empty,
#hd-root .heto-v506-stable-widget-list .heto-widgets-loading{
  flex:1 1 auto;
  min-height:460px;
}
