/* =================================
   ROOT MODULE
   ================================= */

.module-zar{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}


/* =================================
   CORE STRUCTURE
   ================================= */

.sanity-ai,
.sanity-ai-card{
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
}


/* =================================
   HEADER
   ================================= */

.sanity-ai-header{
  flex:0 0 auto;
}


/* =================================
   WORKSPACE
   ================================= */

.sanity-ai-workspace{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}


/* =================================
   GUARD AREA
   ================================= */

.sanity-guard-workspace{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}


/* =================================
   PANEL
   ================================= */

.genebean_guard_panel{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}


/* =================================
   ANSWER STREAM (ONLY SCROLL AREA)
   ================================= */

.genebean_guard_qa_stack {
    align-self: center;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}


/* =================================
   INPUT
   ================================= */

.genebean_guard_input{
  flex:0 0 auto;
}


/* =================================
   SYSTEM CONSOLE
   ================================= */

.sanity-console {
    align-self: anchor-center;
    width: 690px;
    flex: 0 0 auto;
}


/* =================================
   FOOTER
   ================================= */

.sanity-ai-footer{
  flex:0 0 auto;
}