
/* =========================================================
   EMPLOYEE HOME — DESKTOP PROPORTIONS V3
   Final visual override for consistent desktop sizing.
   ========================================================= */
@media (min-width:900px){
  /* Top bar: slim desktop header */
  #empScreen > header.topnav{
    height:52px!important;
    min-height:52px!important;
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin:6px 12px 0!important;
    padding:0 12px!important;
    border-radius:14px!important;
    gap:9px!important;
  }
  #empScreen > header.topnav .topnav-logo{
    width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:10px!important;
  }
  #empScreen > header.topnav .topnav-info h1{font-size:16px!important;line-height:1!important;}
  #empScreen > header.topnav .topnav-info p{font-size:9px!important;line-height:1.05!important;margin-top:2px!important;}
  #empScreen > header.topnav .topnav-right{gap:6px!important;}
  #empScreen > header.topnav .icon-btn{
    width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:10px!important;
  }
  #empScreen > header.topnav .icon-btn svg{width:16px!important;height:16px!important;}
  #empScreen > header.topnav .user-av{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:11px!important;
  }

  /* Full desktop content width, all sections aligned to same column */
  #empScreen:not(.page-open) main.page{
    width:100%!important;
    max-width:1180px!important;
    margin:10px auto 0!important;
    padding:0 18px 86px!important;
  }
  #empScreen #dt17EmpHomePro{
    width:100%!important;
    max-width:none!important;
    margin:0 auto 12px!important;
  }

  /* Employee card */
  #empScreen #dt17EmpHomePro .dt17-eh-profile{
    min-height:74px!important;
    padding:11px 16px!important;
    border-radius:18px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-avatar{
    width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-name{font-size:16px!important;}
  #empScreen #dt17EmpHomePro .dt17-eh-meta{font-size:10px!important;}
  #empScreen #dt17EmpHomePro .dt17-eh-att{min-height:28px!important;font-size:10px!important;padding:5px 10px 5px 20px!important;}

  /* Summary: one consistent row */
  #empScreen #dt17EmpHomePro .dt17-eh-stats{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    margin:10px 0 12px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-stat{
    height:68px!important;min-height:68px!important;padding:8px 8px!important;border-radius:15px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-stat b{font-size:23px!important;}
  #empScreen #dt17EmpHomePro .dt17-eh-stat span{font-size:9px!important;margin-top:4px!important;}

  /* Task block */
  #empScreen #dt17EmpHomePro .dt17-eh-tasks{
    min-height:146px!important;
    padding:14px 16px!important;
    border-radius:18px!important;
    margin-bottom:12px!important;
  }

  /* Actions: full desktop row width, perfectly equal */
  #empScreen #dt17EmpHomePro .dt17-eh-actions{
    width:100%!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:12px!important;
    margin:0 auto 12px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-action{
    width:100%!important;
    height:72px!important;min-height:72px!important;max-height:72px!important;
    padding:7px 8px!important;
    border-radius:16px!important;
    gap:5px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-action .ico{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:11px!important;
  }
  #empScreen #dt17EmpHomePro .dt17-eh-action .ico svg{width:19px!important;height:19px!important;}
  #empScreen #dt17EmpHomePro .dt17-eh-action .lbl{font-size:10.5px!important;line-height:1.05!important;white-space:nowrap!important;}

  /* IN/OUT bar: balanced desktop width */
  #empScreen.active > #dt17SimpleTopAtt.dt17-simple-top-att{
    width:760px!important;
    max-width:calc(100% - 40px)!important;
    height:50px!important;min-height:50px!important;
    bottom:12px!important;
    padding:6px 9px!important;
    border-radius:15px!important;
  }
  #empScreen.active #dt17SimpleTopAtt .dt17-simple-top-att-icon{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;flex-basis:34px!important;
  }
  #empScreen.active #dt17SimpleTopAtt .dt17-simple-top-att-title{font-size:11.5px!important;}
  #empScreen.active #dt17SimpleTopAtt .dt17-simple-top-att-sub{font-size:8.5px!important;max-width:340px!important;}
  #empScreen.active #dt17SimpleTopAtt .dt17-simple-top-att-mini{font-size:8.5px!important;padding:3px 7px!important;}
  #empScreen.active #dt17SimpleTopAtt .dt17-simple-top-att-btn{
    width:106px!important;min-width:106px!important;height:36px!important;min-height:36px!important;border-radius:11px!important;font-size:10.5px!important;
  }
}
