/* A more personal welcome without new screens, excessive decoration, or layout jumps. */
#yap-empty-hero{isolation:isolate}
#yap-empty-hero #yap-personal-intro{
  margin:12px auto 0;
  max-width:590px;
  min-height:1.65em;
  color:var(--fg);
  opacity:.66;
  font-size:clamp(14px,1.25vw,16px);
  font-weight:450;
  line-height:1.65;
  text-align:center;
  text-wrap:balance;
}
#yap-empty-hero #yap-personal-resume{
  display:block;
  width:fit-content;
  margin:18px auto 0;
  border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));
  background:var(--panel);
  color:var(--fg);
  border-radius:999px;
  padding:9px 16px;
  font-size:13px;
  font-weight:600;
  box-shadow:none;
}
#yap-empty-hero #yap-personal-resume[hidden]{display:none!important}
#yap-empty-hero #yap-personal-resume:hover{background:var(--bubble)}
#yap-empty-hero #yap-personal-resume:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:560px){#yap-empty-hero #yap-personal-intro{font-size:14px;line-height:1.55;padding:0 8px}}
@media(prefers-reduced-motion:reduce){#yap-empty-hero #yap-personal-resume{transition:none}}

/* The previous first-result panel floated above the welcome on reload,
   making the app feel like separate pages. One calm welcome owns the empty state. */
body>main>.workspace.yap-empty-chat #yap-first-result{display:none!important}
#yap-empty-hero .yap-studio-starters{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:center;justify-content:center;gap:10px!important;
  width:min(770px,100%)!important;margin:27px auto 0!important;
}
#yap-empty-hero .yap-studio-starter{
  display:inline-flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:center!important;
  gap:8px!important;flex:0 0 auto!important;
  width:auto!important;min-width:0!important;min-height:44px!important;
  padding:10px 16px!important;margin:0!important;
  border:1px solid var(--border)!important;border-radius:999px!important;
  background:var(--panel)!important;color:var(--fg)!important;
  box-shadow:0 2px 10px #00000009!important;
  text-align:center!important;transform:none!important;
  transition:background .16s ease,border-color .16s ease!important;
}
#yap-empty-hero .yap-studio-starter:hover{background:var(--bubble)!important;border-color:var(--accent)!important}
#yap-empty-hero .yap-studio-starter .yap-starter-icon{
  display:inline-grid!important;place-items:center;flex:none!important;
  grid-row:auto!important;width:20px!important;height:20px!important;
  font-size:14px!important;margin:0!important;border-radius:50%!important;
  background:transparent!important;
}
#yap-empty-hero .yap-studio-starter strong{
  font-size:13px!important;font-weight:650!important;line-height:1.2!important;
}
#yap-empty-hero .yap-studio-starter small{display:none!important}
@media(max-width:560px){
  #yap-empty-hero .yap-studio-starters{margin-top:20px!important;gap:7px!important;padding-inline:4px}
  #yap-empty-hero .yap-studio-starter{min-height:40px!important;padding:8px 11px!important}
  #yap-empty-hero .yap-studio-starter strong{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){#yap-empty-hero .yap-studio-starter{transition:none!important}}

/* YapMobile remains in the navigation; remove its redundant floating chip from an empty chat. */
body>main>.workspace.yap-empty-chat .ymc-chat-entry{display:none!important}

/* YapMobile can mount directly into the existing composer bridge instead of a wrapper. */
body>main>.workspace.yap-empty-chat #yapmobile-chat-open{display:none!important}
