/* R167-D — dashboard greeting, support trigger and chat continuity polish. */

body:has(.dashboard-hero) .app-head{
  min-height:70px;
  margin:6px 0 18px!important;
  padding:11px 13px 11px 15px;
  border:1px solid rgba(214,170,78,.15);
  border-radius:19px;
  background:linear-gradient(145deg,rgba(12,24,40,.84),rgba(4,11,21,.72));
  box-shadow:0 14px 38px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.035);
}
body:has(.dashboard-hero) .app-head .avatar{display:none!important}
body:has(.dashboard-hero) .app-head .title{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:9px;
}
body:has(.dashboard-hero) .app-head .title:before{
  content:"";
  width:7px;height:35px;border-radius:99px;
  background:linear-gradient(#f1d58d,#9b641f);
  box-shadow:0 0 18px rgba(214,170,78,.25);
  grid-row:1/3;
}
body:has(.dashboard-hero) #helloName{
  font-size:.96rem;
  line-height:1.55;
  color:#f8f3e8;
  letter-spacing:0!important;
}
body:has(.dashboard-hero) .app-head .title small{
  font-size:.74rem;
  color:#8f9aaa;
  line-height:1.6;
}
body:has(.dashboard-hero) .app-head .icon-btn{
  width:38px;height:38px;border-radius:13px;
  color:#e6c878;
  background:rgba(214,170,78,.055);
  border-color:rgba(214,170,78,.18);
}

.r162-support-link{
  left:max(14px,calc(50% - 304px))!important;
  bottom:max(94px,calc(env(safe-area-inset-bottom) + 86px))!important;
  min-width:76px!important;
  height:43px!important;
  padding:0 13px!important;
  gap:8px!important;
  border-radius:14px!important;
  background:rgba(5,13,24,.94)!important;
  color:#e8d49d!important;
  border:1px solid rgba(214,170,78,.28)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.04)!important;
  backdrop-filter:blur(16px);
  font-size:11px!important;
  font-weight:700!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
.r162-support-link:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(235,204,126,.55)!important;
  background:rgba(12,24,39,.97)!important;
}
.r162-support-dot{
  width:7px!important;height:7px!important;
  background:#d8ad54!important;
  box-shadow:0 0 0 4px rgba(214,170,78,.08),0 0 15px rgba(214,170,78,.38);
}

.r167d-history-divider{
  align-self:center;
  margin:2px 0 8px;
  padding:5px 11px;
  border:1px solid rgba(214,170,78,.14);
  border-radius:999px;
  color:#8995a5;
  background:rgba(4,11,20,.7);
  font-size:.7rem;
}
.bubble.r167d-history{animation:r167dHistoryIn .22s ease both}
@keyframes r167dHistoryIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
body:has(#chatForm) .app-shell{padding-bottom:118px!important}
body:has(#chatForm) .card.glass{padding-bottom:22px}
body:has(#chatForm) .composer{position:relative;z-index:2}

@media(max-width:620px){
  .r162-support-link{
    left:10px!important;
    bottom:max(92px,calc(env(safe-area-inset-bottom) + 84px))!important;
    min-width:62px!important;
    height:39px!important;
    padding-inline:10px!important;
  }
  body:has(.dashboard-hero) .app-head{padding:10px 11px}
}
