#tenedim-help-root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142038;position:relative;z-index:2147483000}#tenedim-help-root *{box-sizing:border-box}.th-rail{position:fixed;right:18px;top:88px;z-index:2147483001;display:flex;gap:7px;align-items:center}.th-tool{height:40px;border:1px solid #dce2e9;border-radius:12px;background:#fff;color:var(--th-navy);box-shadow:0 7px 25px rgba(13,31,60,.11);display:flex;align-items:center;gap:7px;padding:0 11px;font:700 11px/1 inherit;cursor:pointer}.th-tool:hover{border-color:#aeb9c7;transform:translateY(-1px)}.th-tool>span{font-size:19px;line-height:1}.th-tool b{white-space:nowrap}.th-tool em,.th-botline em{font-style:normal;background:#edf2f7;color:#687487;border-radius:999px;padding:2px 5px;font-size:7px;letter-spacing:.08em;margin-left:3px}.th-assistant{border-color:color-mix(in srgb,var(--th-brand) 35%,#fff);background:#fff}.th-avatar{width:26px;height:26px;border-radius:9px;display:inline-grid;place-items:center;background:var(--th-navy);color:#fff;font-style:normal;font-size:11px;font-weight:900;flex:0 0 auto}.th-overlay{position:fixed;inset:0;background:rgba(10,22,42,.2);backdrop-filter:blur(2px);z-index:2147483002}.th-drawer{position:fixed;z-index:2147483003;right:0;top:0;bottom:0;width:min(460px,96vw);background:#fff;border-left:1px solid #dde3ea;box-shadow:-20px 0 55px rgba(13,31,60,.13);transform:translateX(102%);transition:transform .22s ease;display:grid;grid-template-rows:auto 1fr}.th-drawer.open{transform:translateX(0)}.th-drawer>header{padding:20px 20px 17px;border-bottom:1px solid #e8ecf1;display:flex;justify-content:space-between;align-items:start;background:#fff}.th-drawer header small{display:block;color:var(--th-brand);font-size:9px;font-weight:900;letter-spacing:.12em}.th-drawer header h2{margin:5px 0 0;font-size:22px;color:var(--th-navy);letter-spacing:-.02em}.th-drawer header h2 .th-beta{font-size:8px;vertical-align:middle;background:#edf2f7;color:#637083;border-radius:999px;padding:4px 6px;letter-spacing:.08em}.th-drawer header button{width:36px;height:36px;border:0;border-radius:10px;background:#f3f5f8;color:#4b596c;font-size:23px;cursor:pointer}.th-drawer>#th-body{overflow:auto;padding:18px 20px 30px}.th-lead,.th-assistant-card{border:1px solid #e3e8ee;background:#f9fafc;border-radius:15px;padding:16px}.th-lead span{font-size:8px;color:var(--th-brand);font-weight:900;letter-spacing:.1em}.th-lead h3{margin:5px 0 6px;color:var(--th-navy);font-size:18px}.th-lead p,.th-assistant-card p{margin:0;color:#5e6979;font-size:12px;line-height:1.55}.th-page h4,.th-support-home h4{margin:20px 0 9px;font-size:11px;color:#596578;text-transform:uppercase;letter-spacing:.08em}.th-steps{display:grid;gap:7px}.th-steps>div{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;border:1px solid #e4e8ed;border-radius:11px;padding:9px;background:#fff}.th-steps b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--th-brand) 10%,#fff);color:var(--th-brand);font-size:10px}.th-steps span{font-size:12px}.th-primary,.th-secondary{width:100%;min-height:44px;border-radius:11px;font-weight:800;font-size:11px;cursor:pointer;margin-top:12px}.th-primary{border:0;background:var(--th-navy);color:#fff}.th-secondary{border:1px solid #dce2e9;background:#fff;color:var(--th-navy)}.th-guide details{border-bottom:1px solid #e6eaf0}.th-guide summary{list-style:none;padding:14px 2px;display:flex;justify-content:space-between;font-size:13px;font-weight:800;cursor:pointer}.th-guide summary::-webkit-details-marker{display:none}.th-guide summary i{font-style:normal;color:var(--th-brand)}.th-guide details p{margin:0 0 14px;color:#637083;font-size:12px;line-height:1.55}.th-searchbox{display:grid;grid-template-columns:28px 1fr;align-items:center;border:1px solid #ccd5df;border-radius:12px;padding:0 10px;height:48px}.th-searchbox span{font-size:20px}.th-searchbox input{border:0;outline:0;font:500 13px inherit;min-width:0}.th-result{width:100%;text-align:left;border:0;border-bottom:1px solid #e6eaf0;background:#fff;padding:13px 4px;cursor:pointer}.th-result b,.th-result span{display:block}.th-result b{font-size:12px;color:var(--th-navy)}.th-result span{font-size:11px;color:#687487;line-height:1.45;margin-top:4px}.th-empty,.th-loading{text-align:center;color:#687487;padding:28px 10px;font-size:12px}.th-empty b{display:block;color:var(--th-navy);margin-bottom:5px}.th-empty p{margin:0}.th-botline{display:flex;align-items:center;gap:7px}.th-botline b{font-size:11px;color:var(--th-navy)}.th-support-home input,.th-support-home textarea,.th-compose textarea{width:100%;border:1px solid #d7dee7;border-radius:11px;padding:11px;font:500 12px/1.45 inherit;outline:0}.th-support-home input:focus,.th-support-home textarea:focus,.th-compose textarea:focus{border-color:var(--th-brand)}.th-support-home textarea,.th-compose textarea{min-height:110px;resize:vertical;margin-top:8px}.th-profile-note{display:block;color:#8a94a2;font-size:9px;margin-top:8px;text-align:center}.th-thread-list{display:grid;gap:7px}.th-thread-list button{width:100%;text-align:left;border:1px solid #e1e6ec;background:#fff;border-radius:11px;padding:10px;cursor:pointer}.th-thread-list b,.th-thread-list span{display:block}.th-thread-list b{font-size:11px}.th-thread-list span{font-size:9px;color:#788393;margin-top:3px}.th-back{border:0;background:transparent;padding:0;color:var(--th-brand);font-size:10px;font-weight:800;cursor:pointer}.th-thread-head{margin:12px 0;border-bottom:1px solid #e5e9ee;padding-bottom:10px}.th-thread-head b,.th-thread-head span{display:block}.th-thread-head b{font-size:14px}.th-thread-head span{font-size:9px;color:#788393;margin-top:3px}.th-msgs{display:grid;gap:9px}.th-msg{max-width:88%;border-radius:13px;padding:10px 11px;background:#f0f3f7}.th-msg.client{justify-self:end;background:var(--th-navy);color:#fff}.th-msg.team{background:#f5f0f2;border:1px solid color-mix(in srgb,var(--th-brand) 18%,#fff)}.th-msg.bot{background:#f7f9fb;border:1px solid #e1e6ec}.th-msg>small{font-size:8px;font-weight:800}.th-msg p{margin:5px 0;font-size:11px;line-height:1.5;white-space:pre-wrap}.th-msg time{font-size:8px;opacity:.65}.th-compose{margin-top:14px;border-top:1px solid #e6eaf0;padding-top:12px}.th-closed{margin-top:14px;border:1px solid #d7e7dd;background:#f4faf6;border-radius:12px;padding:12px}.th-closed b{font-size:11px;color:#316044}.th-closed p{margin:4px 0 0;color:#657565;font-size:10px}
@media(max-width:780px){.th-rail{top:auto;right:10px;bottom:16px;gap:5px}.th-tool{width:43px;height:43px;padding:0;justify-content:center;border-radius:14px}.th-tool b{display:none}.th-tool>span{font-size:20px}.th-assistant{width:47px}.th-assistant .th-avatar{width:29px;height:29px}.th-drawer{width:100vw;max-width:none;top:max(6px,env(safe-area-inset-top));border-radius:18px 18px 0 0}.th-drawer>#th-body{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}

.prism-help-fab{display:none!important}
/* TENEDIM Guide Standard · inspired by MODEL contextual documentation */
.th-doc-page{display:grid;gap:14px}.th-doc-hero{border:1px solid #dce3eb;background:linear-gradient(145deg,#fff,#f7f9fc);border-radius:16px;padding:18px}.th-doc-hero>span,.th-guide-intro>span{display:block;color:var(--th-brand);font-size:8px;font-weight:900;letter-spacing:.12em}.th-doc-hero h3,.th-guide-intro h3{margin:6px 0 7px;color:var(--th-navy);font-size:20px;line-height:1.18;letter-spacing:-.025em}.th-doc-hero p,.th-guide-intro p{margin:0;color:#586679;font-size:12px;line-height:1.65}.th-doc-hero>div{margin-top:14px;padding-top:12px;border-top:1px solid #e6eaf0;display:flex;justify-content:space-between;gap:10px;align-items:center}.th-doc-hero>div b{font-size:8px;letter-spacing:.1em;color:var(--th-brand)}.th-doc-hero>div small{font-size:8px;color:#8b96a5}.th-doc-section{border:1px solid #e2e7ed;border-radius:14px;padding:13px 14px;background:#fff}.th-doc-section>h4,.th-search-group>h4,.th-term-detail>h4{margin:0 0 9px;font-size:9px;color:#536176;letter-spacing:.09em;text-transform:uppercase}.th-doc-list{display:grid;gap:7px}.th-doc-list>div{display:grid;grid-template-columns:25px 1fr;gap:8px;align-items:start}.th-doc-list i{width:25px;height:25px;border-radius:8px;background:#f1f4f8;color:#56657a;display:grid;place-items:center;font-style:normal;font-size:8px;font-weight:800}.th-doc-list p{margin:2px 0 0;color:#344054;font-size:11px;line-height:1.52}.th-doc-section.workflow{border-color:color-mix(in srgb,var(--th-brand) 20%,#e2e7ed);background:color-mix(in srgb,var(--th-brand) 2.5%,#fff)}.th-doc-section.workflow .th-doc-list i{background:color-mix(in srgb,var(--th-brand) 10%,#fff);color:var(--th-brand)}.th-doc-section.impact{background:#f8fbff}.th-doc-section.granularity{background:#fbfaf7}.th-doc-section.power{background:#f6faf8;border-color:#d9e9df}.th-doc-section.watch{background:#fffaf5;border-color:#f0dfca}.th-doc-section.watch .th-doc-list i{background:#fff1df;color:#9a5b12}.th-term-grid{display:grid;gap:9px}.th-term{border:1px solid #dde4eb;border-radius:12px;padding:12px;background:#fff}.th-term header{display:flex;justify-content:space-between;gap:8px;align-items:start}.th-term header b{color:var(--th-navy);font-size:12px}.th-term header small{font-size:7px;color:#8b96a5;text-align:right}.th-term>p{margin:7px 0 0;color:#4f5e71;font-size:11px;line-height:1.5}.th-term>div{margin-top:9px;display:grid;gap:3px}.th-term strong{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#788596}.th-term span{font-size:10px;line-height:1.45;color:#475467}.th-term code,.th-term-result code{display:block;margin-top:9px;padding:8px 9px;border-radius:8px;background:#0d1f3c;color:#fff;font:600 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:normal}.th-term .example{padding-top:8px;border-top:1px dashed #e2e7ed}.th-doc-actions{display:grid;gap:8px}.th-support-link{border:0;background:transparent;color:var(--th-brand);font:800 10px/1.3 inherit;padding:7px;cursor:pointer}.th-guide-intro{padding:4px 2px 15px}.th-guide-pages{display:grid;gap:9px}.th-guide-pages>button{display:block;width:100%;text-align:left;border:1px solid #dfe5ec;background:#fff;border-radius:13px;padding:13px;cursor:pointer}.th-guide-pages>button:hover{border-color:var(--th-brand);box-shadow:0 5px 16px rgba(13,31,60,.07)}.th-guide-pages span{display:block;color:var(--th-brand);font-size:7px;font-weight:900;letter-spacing:.1em}.th-guide-pages b{display:block;color:var(--th-navy);font-size:13px;margin-top:4px}.th-guide-pages p{margin:5px 0 0;color:#667085;font-size:10px;line-height:1.45}.th-guide-pages em{display:block;text-align:right;color:#667085;font-size:9px;font-style:normal;font-weight:800;margin-top:7px}.th-search-hint{font-size:9px;color:#8792a2;margin:7px 2px 15px}.th-search-group{margin-top:14px}.th-result small{display:block;color:var(--th-brand);font-size:7px;font-weight:900;letter-spacing:.08em;margin-bottom:4px}.th-related{display:grid;gap:7px}.th-related button{border:1px solid #e1e6ec;background:#fff;border-radius:10px;padding:9px;text-align:left;cursor:pointer}.th-related b,.th-related span{display:block}.th-related b{font-size:11px}.th-related span{font-size:8px;color:#7d8998;margin-top:2px}.th-term-detail .th-term{margin:14px 0 18px}.th-drawer{width:min(520px,96vw)}
.th-doc-focus{border:1px solid color-mix(in srgb,var(--th-brand) 28%,#dfe5ec);background:color-mix(in srgb,var(--th-brand) 4%,#fff);border-radius:15px;padding:14px}.th-doc-focus>span{display:block;color:var(--th-brand);font-size:8px;font-weight:900;letter-spacing:.12em}.th-doc-focus>h3{margin:5px 0 6px;color:var(--th-navy);font-size:16px}.th-doc-focus>p{margin:0 0 12px;color:#586679;font-size:11px;line-height:1.55}.th-doc-focus .th-doc-section{margin-top:8px;background:rgba(255,255,255,.75)}

/* Support send-state v6: never hide a draft before server confirmation */
.th-send-state{min-height:18px;margin:8px 2px -4px;font-size:10px;line-height:1.4;color:#667085}
.th-send-state.sending{color:#475467}
.th-send-state.error{color:#b42318;font-weight:700}
.th-support-home .th-primary:disabled,.th-compose .th-primary:disabled{opacity:.62;cursor:wait}
.th-send-confirm{margin:0 0 12px;padding:11px 13px;border:1px solid #b7dfc7;background:#f2fbf5;border-radius:11px;color:#21613a;font-size:11px;font-weight:800}
/* Floating feedback + assistant pins */
.th-side-pins{position:fixed;right:0;top:38%;z-index:2147483001;display:grid;gap:8px;transform:translateY(-50%)}.th-feedback-pin,.th-assistant-pin{min-width:154px;border:0;border-radius:18px 0 0 18px;padding:12px 12px 12px 14px;color:#fff;box-shadow:0 16px 42px rgba(15,23,42,.25);cursor:pointer;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;transition:transform .18s ease,box-shadow .18s ease}.th-feedback-pin{background:linear-gradient(145deg,#111827,#26364f)}.th-assistant-pin{background:linear-gradient(145deg,var(--th-navy),color-mix(in srgb,var(--th-brand) 45%,var(--th-navy)))}.th-feedback-pin:hover,.th-assistant-pin:hover{transform:translateX(-5px);box-shadow:0 20px 54px rgba(15,23,42,.34)}.th-feedback-pin>span,.th-assistant-pin>.th-avatar{grid-row:1/3;width:34px;height:34px;border-radius:999px;background:#fff;color:var(--th-navy);display:grid;place-items:center;font-size:15px;font-weight:900}.th-side-pins b{font-size:11px;line-height:1.05;letter-spacing:.08em}.th-side-pins small{font-size:9px;font-weight:700;opacity:.8;margin-top:4px}.th-side-pins em{font-style:normal;font-size:7px;background:rgba(255,255,255,.18);border-radius:999px;padding:2px 5px;letter-spacing:.06em}.th-feedback-panel{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:2147483004;width:min(430px,calc(100vw - 28px));background:#fff;border:1px solid #e0e6ed;border-radius:18px;padding:15px;box-shadow:0 26px 78px rgba(13,31,60,.24)}.th-feedback-panel[hidden]{display:none}.th-feedback-panel>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.th-feedback-panel>header b{display:block;font-size:15px;color:var(--th-navy)}.th-feedback-panel>header small{display:block;font-size:9px;color:#718096;margin-top:3px}.th-feedback-panel>header button{width:30px;height:30px;border:0;border-radius:9px;background:#f1f4f7;color:#59677a;font-size:20px;cursor:pointer}.th-feedback-panel form{display:grid;gap:9px}.th-feedback-panel label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#56657a}.th-feedback-panel textarea,.th-feedback-panel select{width:100%;border:1px solid #d7dfe8;border-radius:10px;padding:9px;background:#fff;font:inherit;font-size:10px;color:#253b58}.th-feedback-panel textarea{min-height:76px;resize:vertical}.th-feedback-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.th-feedback-row button{height:39px;padding:0 14px;border:0;border-radius:10px;background:var(--th-navy);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.th-feedback-panel p{min-height:18px;margin:0;font-size:9px;font-weight:800}.th-feedback-panel p.success{color:#147a50}.th-feedback-panel p.error{color:#b42318}.th-feedback-panel p.sending{color:#667085}
.th-drawer.support-mode{top:auto;right:18px;bottom:18px;width:min(420px,calc(100vw - 28px));height:min(650px,calc(100vh - 36px));border:1px solid #dce3eb;border-radius:20px;box-shadow:0 28px 90px rgba(13,31,60,.25);overflow:hidden}.th-drawer.support-mode>header{padding:15px 16px 13px;background:linear-gradient(120deg,#fff,color-mix(in srgb,var(--th-brand) 4%,#fff))}.th-drawer.support-mode>#th-body{padding:14px 15px 18px}.th-drawer.support-mode+.none{display:none}
@media(max-width:780px){.th-side-pins{right:10px;top:auto;bottom:16px;transform:none;gap:6px}.th-feedback-pin,.th-assistant-pin{min-width:auto;width:46px;height:46px;border-radius:999px;padding:0;display:grid;place-items:center}.th-feedback-pin>span,.th-assistant-pin>.th-avatar{grid-row:auto;width:30px;height:30px}.th-side-pins b,.th-side-pins small{display:none}.th-rail{bottom:126px}.th-feedback-panel{right:8px;top:auto;bottom:72px;transform:none;width:calc(100vw - 16px)}.th-drawer.support-mode{right:8px;bottom:8px;width:calc(100vw - 16px);height:min(78vh,650px);border-radius:18px}}


/* TENEDIM CANONICAL UI SHELL v2.0.0 — assistance chrome contract */
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-side-pins{display:none!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-rail{position:fixed!important;top:max(8px,env(safe-area-inset-top))!important;right:max(14px,env(safe-area-inset-right))!important;left:auto!important;bottom:auto!important;z-index:2147483002!important;display:flex!important;align-items:center!important;gap:4px!important;padding:4px!important;border:1px solid #e1e7ef!important;border-radius:12px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 4px 16px rgba(15,31,60,.08)!important;backdrop-filter:blur(10px)!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-tool{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;display:grid!important;place-items:center!important;color:var(--th-navy)!important;box-shadow:none!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-tool:hover{background:#f3f6fa!important;color:var(--th-brand)!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-tool span{font-size:16px!important;line-height:1!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-tool b{display:none!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab{position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;top:auto!important;z-index:2147483003!important;width:52px!important;height:52px!important;min-width:52px!important;padding:0!important;border:0!important;border-radius:999px!important;background:var(--th-navy)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 10px 28px rgba(13,31,60,.24)!important;cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab:hover{transform:translateY(-2px)!important;box-shadow:0 14px 34px rgba(13,31,60,.3)!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab .th-avatar{width:34px!important;height:34px!important;border-radius:999px!important;background:#fff!important;color:var(--th-brand)!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:13px!important;font-weight:900!important}
#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab b,#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab small{display:none!important}
body #model-feedback-launch{display:none!important}
body #model-assist-launcher{position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;top:auto!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;padding:0!important;border-radius:999px!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important;gap:0!important;text-align:center!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(13,31,60,.24)!important}
body #model-assist-launcher span{grid-row:auto!important;font-size:21px!important;line-height:1!important;align-self:auto!important}
body #model-assist-launcher b,body #model-assist-launcher small{display:none!important}
@media(max-width:680px){#tenedim-help-root[data-ui-contract="canonical-v2"] .th-rail{top:max(6px,env(safe-area-inset-top))!important;right:max(8px,env(safe-area-inset-right))!important}#tenedim-help-root[data-ui-contract="canonical-v2"] .th-assistant-fab,body #model-assist-launcher{right:max(12px,env(safe-area-inset-right))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important}}

/* MODEL keeps its native close/action zone at the extreme top-right. */
#tenedim-help-root[data-ui-contract="canonical-v2"][data-product="MODEL"] .th-rail{right:max(76px,calc(env(safe-area-inset-right) + 76px))!important}

@media(max-width:680px){#tenedim-help-root[data-ui-contract="canonical-v2"][data-product="MODEL"] .th-rail{right:max(58px,calc(env(safe-area-inset-right) + 58px))!important}}


/* TENEDIM CANONICAL UI SHELL v3.0.0 — reserved assistance rail, never overlays the working area at rest */
html.tenedim-shell-v3{overflow-x:hidden!important}
@media(min-width:681px){
  body.tenedim-shell-reserved{width:calc(100vw - 58px)!important;max-width:calc(100vw - 58px)!important;min-width:0!important;margin-left:0!important;margin-right:58px!important;box-sizing:border-box!important;overflow-x:hidden!important}
  body.tenedim-shell-reserved>#root,body.tenedim-shell-reserved>#__next{width:100%!important;max-width:100%!important;min-width:0!important}
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail{position:fixed!important;z-index:2147483006!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;width:58px!important;height:auto!important;padding:10px 0!important;border:0!important;border-left:1px solid #dfe5ec!important;border-radius:0!important;background:#fff!important;box-shadow:-6px 0 18px rgba(13,31,60,.045)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;transform:none!important;backdrop-filter:none!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool{position:relative!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border:1px solid #d9e1e9!important;border-radius:999px!important;background:#fff!important;color:var(--th-navy)!important;box-shadow:none!important;display:grid!important;place-items:center!important;cursor:pointer!important;transform:none!important;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:hover,#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:focus-visible{background:#f3f6fa!important;border-color:#aebdce!important;color:var(--th-brand)!important;transform:translateX(-1px)!important;outline:none!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool.th-chat-tool{background:var(--th-navy)!important;border-color:var(--th-navy)!important;color:#fff!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool.th-chat-tool:hover,#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool.th-chat-tool:focus-visible{background:color-mix(in srgb,var(--th-brand) 35%,var(--th-navy))!important;border-color:color-mix(in srgb,var(--th-brand) 35%,var(--th-navy))!important;color:#fff!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:disabled{opacity:.35!important;cursor:not-allowed!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool>span{width:19px!important;height:19px!important;display:grid!important;place-items:center!important;font-size:0!important;line-height:1!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool svg circle[r=".7"]{fill:currentColor!important;stroke:none!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool>b{display:none!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-overlay{inset:0 58px 0 0!important;z-index:2147483002!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-drawer{right:58px!important;top:0!important;bottom:0!important;width:min(520px,calc(100vw - 78px))!important;max-width:calc(100vw - 78px)!important;z-index:2147483005!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-drawer.support-mode{right:70px!important;bottom:18px!important;top:auto!important;width:min(420px,calc(100vw - 92px))!important;height:min(650px,calc(100vh - 36px))!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-feedback-panel{right:70px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:2147483005!important;width:min(430px,calc(100vw - 92px))!important}
body.tenedim-shell-reserved #model-assist-launcher,body.tenedim-shell-reserved #model-feedback-launch,body.tenedim-shell-reserved .model-feedback-launch{display:none!important}
@media(max-width:680px){
  body.tenedim-shell-reserved{width:100%!important;max-width:100%!important;margin:0!important;padding-bottom:60px!important;box-sizing:border-box!important;overflow-x:hidden!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;height:60px!important;padding:0 max(10px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;border-left:0!important;border-top:1px solid #dfe5ec!important;box-shadow:0 -6px 18px rgba(13,31,60,.055)!important;flex-direction:row!important;justify-content:center!important;gap:16px!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:hover{transform:none!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-overlay{inset:0 0 60px 0!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-drawer,#tenedim-help-root[data-ui-contract="canonical-v3"] .th-drawer.support-mode{left:0!important;right:0!important;top:max(6px,env(safe-area-inset-top))!important;bottom:60px!important;width:100%!important;max-width:100%!important;height:auto!important;border-radius:16px 16px 0 0!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-feedback-panel{left:8px!important;right:8px!important;top:auto!important;bottom:68px!important;transform:none!important;width:auto!important;max-width:none!important}
}


/* CANONICAL V3.1 visual polish + hard suppression of legacy launchers */
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-assistant-fab,
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-side-pins,
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-assistant-pin,
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-feedback-pin,
body.tenedim-shell-reserved .prism-help-fab,
body.tenedim-shell-reserved #model-assist-launcher,
body.tenedim-shell-reserved #model-feedback-launch,
body.tenedim-shell-reserved .model-feedback-launch{display:none!important}

#tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail{
  background:linear-gradient(180deg,#10233f 0%,#162e51 48%,#10233f 100%)!important;
  border-left:1px solid rgba(255,255,255,.08)!important;
  box-shadow:-8px 0 24px rgba(13,31,60,.14)!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool{
  border:0!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.16)!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:nth-child(1){background:#315b85!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:nth-child(2){background:#d76532!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:nth-child(3){background:#8c3144!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:nth-child(4){background:#2f7d77!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:hover,
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:focus-visible{
  color:#fff!important;
  filter:brightness(1.12)!important;
  transform:translateX(-3px) scale(1.06)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool>b{
  display:block!important;
  position:absolute!important;
  right:47px!important;
  top:50%!important;
  transform:translate(8px,-50%)!important;
  opacity:0!important;
  pointer-events:none!important;
  white-space:nowrap!important;
  background:#0d1f3c!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:8px!important;
  padding:6px 8px!important;
  font:700 10px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:.01em!important;
  box-shadow:0 7px 18px rgba(13,31,60,.2)!important;
  transition:opacity .12s ease,transform .12s ease!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:hover>b,
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:focus-visible>b{
  opacity:1!important;
  transform:translate(0,-50%)!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:disabled{filter:saturate(.3)!important;opacity:.42!important;box-shadow:none!important}

@media(max-width:680px){
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail{
    background:linear-gradient(90deg,#10233f 0%,#162e51 50%,#10233f 100%)!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:hover,
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool:focus-visible{transform:scale(1.06)!important}
  #tenedim-help-root[data-ui-contract="canonical-v3"] .th-tool>b{display:none!important}
}

/* Catch legacy assistant buttons that survive from an older product layer. */
body.tenedim-shell-reserved button[title^="Ouvrir le chat "]:not(.th-tool),
body.tenedim-shell-reserved button[aria-label^="Ouvrir le chat "]:not(.th-tool),
body.tenedim-shell-reserved button[title="Assistant"]:not(.th-tool),
body.tenedim-shell-reserved button[aria-label="Assistant"]:not(.th-tool){display:none!important}

/* CANONICAL V3.2 — motto + exact MODEL legacy assistant suppression */
body.tenedim-shell-reserved #model-assistant-launch,
body.tenedim-shell-reserved .model-assistant-launch{display:none!important;visibility:hidden!important;pointer-events:none!important}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail-motto{
  position:absolute!important;
  top:22px!important;
  left:50%!important;
  transform:translateX(-50%) rotate(180deg)!important;
  writing-mode:vertical-rl!important;
  text-orientation:mixed!important;
  color:rgba(255,255,255,.76)!important;
  font:800 8px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:.16em!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
  user-select:none!important;
  pointer-events:none!important;
}
#tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail-motto::before{
  content:""!important;
  display:inline-block!important;
  width:5px!important;
  height:5px!important;
  margin:0 0 8px!important;
  border-radius:999px!important;
  background:#55d6c7!important;
  box-shadow:0 0 0 4px rgba(85,214,199,.10)!important;
}
@media(max-width:680px){#tenedim-help-root[data-ui-contract="canonical-v3"] .th-rail-motto{display:none!important}}
