/* ThinkEasy Support Hub — isolated frontend UI */
.tesh{
  --tesh-accent:#ff6200;
  --tesh-ink:#151515;
  --tesh-muted:#767676;
  --tesh-line:#e9e9e7;
  --tesh-soft:#f6f6f3;
  position:fixed!important;
  bottom:22px!important;
  z-index:999999!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:1.4!important;
  color:var(--tesh-ink)!important;
}
.tesh--left{left:22px!important;right:auto!important}
.tesh--right{right:22px!important;left:auto!important}
.tesh,.tesh *,.tesh *:before,.tesh *:after{box-sizing:border-box!important}
.tesh a,.tesh button{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important}
.tesh a{text-decoration:none!important}
.tesh button{appearance:none!important;-webkit-appearance:none!important}
.tesh svg{display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Launcher — deliberately one simple orange circle */
.tesh__launcher{
  display:grid!important;
  place-items:center!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:50%!important;
  background:var(--tesh-accent)!important;
  color:#fff!important;
  box-shadow:0 10px 30px rgba(0,0,0,.22)!important;
  cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.tesh__launcher:hover{transform:translateY(-2px)!important;box-shadow:0 14px 34px rgba(0,0,0,.27)!important}
.tesh__launcher:focus-visible{outline:3px solid rgba(255,98,0,.26)!important;outline-offset:4px!important}
.tesh__launcher-icon{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;color:#fff!important}
.tesh__launcher-icon svg{width:24px!important;height:24px!important}

/* Panel */
.tesh__panel{
  position:absolute!important;
  bottom:66px!important;
  width:min(378px,calc(100vw - 28px))!important;
  max-height:min(650px,calc(100vh - 100px))!important;
  margin:0!important;
  padding:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  border:1px solid rgba(0,0,0,.08)!important;
  border-radius:18px!important;
  background:#fff!important;
  color:var(--tesh-ink)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.24)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(8px) scale(.988)!important;
  transform-origin:bottom left!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
}
.tesh--left .tesh__panel{left:0!important;right:auto!important}
.tesh--right .tesh__panel{right:0!important;left:auto!important;transform-origin:bottom right!important}
.tesh.is-open .tesh__panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}

/* Compact header */
.tesh__head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 36px!important;
  gap:16px!important;
  align-items:start!important;
  margin:0!important;
  padding:21px 20px 19px!important;
  border:0!important;
  background:#161616!important;
  color:#fff!important;
}
.tesh__head:before{
  content:""!important;
  position:absolute!important;
  left:20px!important;
  top:0!important;
  width:54px!important;
  height:3px!important;
  background:var(--tesh-accent)!important;
  border-radius:0 0 99px 99px!important;
}
.tesh__head-copy{min-width:0!important}
.tesh__brand{
  margin:0 0 7px!important;
  padding:0!important;
  color:#a9a9a9!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.tesh__head h2{
  margin:0 0 6px!important;
  padding:0!important;
  border:0!important;
  color:#fff!important;
  font-size:20px!important;
  line-height:1.14!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
}
.tesh__head p{
  margin:0!important;
  padding:0!important;
  color:#c7c7c7!important;
  font-size:12px!important;
  line-height:1.48!important;
  font-weight:400!important;
}
.tesh__close{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.04)!important;
  color:#fff!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.tesh__close:hover{background:rgba(255,255,255,.09)!important}
.tesh__close svg{width:16px!important;height:16px!important}

.tesh__body{margin:0!important;padding:14px!important;background:#fff!important}
.tesh__primary-actions{display:grid!important;gap:8px!important}

/* Primary rows */
.tesh__route{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 20px!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  min-height:66px!important;
  margin:0!important;
  padding:11px 12px!important;
  border:1px solid var(--tesh-line)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:var(--tesh-ink)!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
.tesh__route:hover{border-color:#d7d7d4!important;background:#fafaf8!important;transform:translateY(-1px)!important}
.tesh__route--client{border-color:rgba(255,98,0,.2)!important;background:#fffaf6!important}
.tesh__route-icon{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:11px!important;
  background:var(--tesh-soft)!important;
  color:#222!important;
}
.tesh__route--client .tesh__route-icon{background:#fff0e6!important;color:var(--tesh-accent)!important}
.tesh__route-icon svg{width:20px!important;height:20px!important}
.tesh__route-copy,.tesh__kb-copy{display:block!important;min-width:0!important}
.tesh__route-copy strong,.tesh__kb-copy strong,.tesh__client-kb-copy strong{
  display:block!important;
  margin:0 0 3px!important;
  padding:0!important;
  color:#171717!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:720!important;
  letter-spacing:0!important;
}
.tesh__route-copy small,.tesh__kb-copy small,.tesh__client-kb-copy small{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#7b7b7b!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
.tesh__route-arrow{display:grid!important;place-items:center!important;width:20px!important;height:20px!important;color:#9b9b9b!important}
.tesh__route-arrow svg{width:15px!important;height:15px!important}
.tesh__route:hover .tesh__route-arrow,.tesh__kb:hover .tesh__route-arrow{color:var(--tesh-accent)!important;transform:translateX(1px)!important}

/* Quiet section divider */
.tesh__divider{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:16px 0 7px!important;
  color:#999!important;
}
.tesh__divider:after{content:""!important;display:block!important;flex:1!important;height:1px!important;background:#ececea!important}
.tesh__divider span{
  color:#8a8a8a!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}

/* Public knowledge = text rows, not cards */
.tesh__kb-list{display:grid!important;gap:0!important}
.tesh__kb{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 18px!important;
  gap:10px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
  padding:10px 4px!important;
  border:0!important;
  border-bottom:1px solid #efefed!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--tesh-ink)!important;
  box-shadow:none!important;
}
.tesh__kb:last-child{border-bottom:0!important}
.tesh__kb:hover{background:#fafaf8!important}
.tesh__kb-icon{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  border-radius:9px!important;
  background:#f4f4f1!important;
  color:#666!important;
}
.tesh__kb-icon svg{width:15px!important;height:15px!important}
.tesh__kb-copy strong{font-size:12px!important;margin-top:1px!important}
.tesh__kb-copy small{font-size:10.5px!important;line-height:1.38!important}

/* Client-only hint */
.tesh__client-kb{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:10px!important;
  margin:13px 0 0!important;
  padding:12px!important;
  border:1px solid #ececea!important;
  border-radius:12px!important;
  background:#f7f7f5!important;
  color:var(--tesh-ink)!important;
}
.tesh__client-kb-icon{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#ececea!important;
  color:#5c5c5c!important;
}
.tesh__client-kb-icon svg{width:17px!important;height:17px!important}
.tesh__client-kb-copy strong{font-size:12px!important}
.tesh__client-only{
  display:inline-flex!important;
  align-items:center!important;
  margin-left:6px!important;
  padding:2px 5px!important;
  border:1px solid #dededb!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#868686!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  vertical-align:1px!important;
}
.tesh__client-kb-copy small{font-size:10.5px!important}
.tesh__client-kb-link{
  grid-column:2!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:max-content!important;
  margin:4px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--tesh-accent)!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.tesh__client-kb-link svg{width:13px!important;height:13px!important}

@media(max-width:600px){
  .tesh{bottom:12px!important}
  .tesh--left{left:12px!important}
  .tesh--right{right:12px!important}
  .tesh__launcher{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important}
  .tesh__panel{bottom:62px!important;width:calc(100vw - 24px)!important;max-height:calc(100vh - 86px)!important;border-radius:16px!important}
  .tesh__head{padding:19px 18px 17px!important}
  .tesh__body{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){.tesh *{transition:none!important}}
