/* IRIS HALCONES · compact, accessible mobile navigation.
 * Two intentional header rows prevent oversized desktop controls from
 * extending the viewport, without hiding the signed-in account controls.
 */
@media screen and (max-width:700px){
 #application .workspace,#student-shell .workspace{width:100%;min-width:0;max-width:100%}
 #application .topbar,#student-shell .topbar{
  box-sizing:border-box;width:100%;max-width:100%;
  height:auto!important;min-height:110px;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr);
  grid-template-rows:38px 40px;
  gap:7px 10px!important;
  padding:9px 12px 10px!important;
  align-items:center;align-content:center;
 }
 #application .topbar > .iconbutton,
 #student-shell .topbar > .iconbutton{
  grid-column:1;grid-row:1;place-self:center;
  width:38px;height:38px;min-width:38px;
 }
 #application .topbar > .crumb,
 #student-shell .topbar > .crumb{
  grid-column:2;grid-row:1;
  min-width:0;max-width:100%;margin:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  line-height:1.4;font-size:12px;
 }
 #application .topbar > .top-right,
 #student-shell .topbar > .top-right{
  grid-column:1/-1;grid-row:2;
  box-sizing:border-box;display:flex;
  width:100%;max-width:100%;min-width:0;margin:0;
  flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px!important;
 }
 #application .topbar .iris-global-search,
 #student-shell .topbar .iris-global-search{
  position:relative;min-width:0!important;max-width:none!important;
  width:auto!important;flex:1 1 0!important;
 }
 #application .topbar .iris-global-search-label,
 #student-shell .topbar .iris-global-search-label{
  display:flex;align-items:center;box-sizing:border-box;
  width:100%!important;min-width:0!important;max-width:100%;
  margin:0;padding:0 8px;overflow:hidden;
 }
 #application .topbar #iris-global-query,
 #student-shell .topbar #iris-global-query{
  box-sizing:border-box;display:block;flex:1 1 auto;
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:13px;text-overflow:ellipsis;
 }
 #application .topbar .iris-module-version,
 #student-shell .topbar .iris-module-version{display:none!important}
 #application .topbar .popover-wrap,
 #student-shell .topbar .popover-wrap{flex:0 0 auto;min-width:0}
 #application .topbar .iconbutton,
 #student-shell .topbar .iconbutton{width:36px;height:36px;min-width:36px;flex-shrink:0}
 #application .topbar .accountbutton,
 #student-shell .topbar .accountbutton{
  box-sizing:border-box;min-width:47px;
  max-width:80px;height:38px;gap:2px;padding:3px 5px;
 }
 #application .topbar .account-text,
 #student-shell .topbar .account-text{display:none!important}
 #application .topbar .avatar,
 #student-shell .topbar .avatar{width:30px;height:30px;min-width:30px}
 #application .topbar .iris-global-results,
 #student-shell .topbar .iris-global-results{
  box-sizing:border-box;max-width:calc(100vw - 24px);
  width:min(360px,calc(100vw - 24px));left:0;right:auto;
 }
}
@media screen and (max-width:380px){
 #application .topbar,#student-shell .topbar{padding-left:9px!important;padding-right:9px!important;gap:6px!important}
 #application .topbar > .top-right,#student-shell .topbar > .top-right{gap:4px!important}
 #application .topbar > .crumb,#student-shell .topbar > .crumb{font-size:11px}
 #application .topbar #iris-global-query,#student-shell .topbar #iris-global-query{font-size:12px}
 #application .topbar .accountbutton,#student-shell .topbar .accountbutton{min-width:40px;padding:3px}
}
