/* SENSEL UI R1F11 — laptop viewport fit. Narrow layout-only override. */

/* The left drawer no longer needs a label above the actual actions. Keep only the close control on drawer layouts. */
.sidebar-head{justify-content:flex-end}

/* Desktop/laptop: keep the account and project area inside the visible viewport at 100% zoom. */
@media (min-width:1080px){
  .sidebar-head{display:none!important}
  .left-sidebar{
    height:100%;
    max-height:100%;
    min-height:0;
    overflow:hidden;
  }
  .recent-projects{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
  }
  .recent-projects-list{
    flex:1 1 auto;
    min-height:64px;
    max-height:none!important;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  .sidebar-tip{
    flex:0 0 auto;
    margin-top:0!important;
  }
  .sidebar-account{
    flex:0 0 auto;
    margin-top:0;
  }

  /* The founder/help line is part of the composer contract and must remain visible on laptops. */
  .chat-bottom{
    padding-bottom:10px!important;
    overflow:visible;
  }
  .composer{
    padding-bottom:1px;
  }
  .composer-note{
    display:block!important;
    min-height:11px;
    margin-top:4px!important;
    padding-bottom:1px;
    line-height:1.25;
  }
}

/* Short laptops previously hid the founder/help line entirely. R1F11 explicitly keeps it visible. */
@media (min-width:1080px) and (max-height:820px){
  .composer-note{display:block!important}
  .recent-projects-list{min-height:56px}
}

/* Drawer layouts: the redundant title stays removed, but the close button remains reachable. */
@media (max-width:1079px){
  .sidebar-head{justify-content:flex-end;padding-block:0}
}
