/* 모든 회원 화면의 공통 헤더입니다. 회원별 메뉴 노출 조건은 뷰에서 유지합니다. */
body .app-header{
  position:relative;
  height:auto;
  min-height:80px;
  border-color:#ededed;
}
body .app-header.app-header .wrap{
  width:calc(100% - 80px);
  max-width:1840px;
  min-height:79px;
  margin-left:max(40px, calc((100vw - 1840px) / 2));
  margin-right:0;
  padding:12px 0;
  gap:24px;
}
body .app-header .brand{flex-shrink:0;}
body .app-header.app-header .brand-logo{
  display:block;
  width:220px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
body .app-header .header-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  min-width:0;
  gap:12px;
}
body .app-header.app-header .header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
}
body .app-header.app-header .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:auto;
  height:40px;
  min-height:40px;
  padding:0 16px;
  border:1px solid #7271c3;
  border-radius:3px;
  background:#fff;
  color:#2e3191;
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  text-align:center;
}
body .app-header.app-header .btn:hover{background:#f0f2fa;}
body .app-header .header-account{
  position:relative;
  flex:0 0 auto;
}
body .app-header .header-user{
  display:flex;
  align-items:center;
  min-width:0;
  max-width:100%;
  gap:8px;
  padding:0 0 0 12px;
  border:0;
  border-left:1px solid #e8e8e8;
  border-radius:0;
  background:none;
  color:#292929;
  font-family:inherit;
  font-size:16px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  appearance:none;
}
body .app-header .header-user:hover,
body .app-header .header-user:focus-visible{color:#2e3191;}
body .app-header .header-user .role-chip{
  order:-1;
  max-width:180px;
  padding:4px 10px;
  border-radius:2px;
  background:#608aff;
  color:#fff;
  font-size:12px;
  font-weight:600;
}
body .app-header .header-user .header-avatar{
  width:26px;
  height:26px;
  flex:0 0 26px;
  border:1px solid #d2d5e6;
  background:#fff;
}
body .app-header .header-user .header-name{max-width:200px;}
body .app-header .header-menu-chevron{
  width:8px;
  height:8px;
  margin:0 3px 4px 1px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
  transition:transform .15s ease,margin .15s ease;
}
body .app-header .header-user[aria-expanded="true"] .header-menu-chevron{
  margin-top:4px;
  margin-bottom:0;
  transform:rotate(225deg);
}
body .app-header .header-user-menu{
  position:absolute;
  z-index:100;
  top:calc(100% + 10px);
  right:0;
  width:148px;
  padding:6px;
  border:1px solid #dfe2ec;
  border-radius:4px;
  background:#fff;
  box-shadow:0 10px 28px rgba(24,31,80,.14);
}
body .app-header .header-user-menu[hidden]{display:none;}
body .app-header .header-user-menu a,
body .app-header .header-user-menu button{
  display:flex;
  align-items:center;
  width:100%;
  min-height:40px;
  padding:0 12px;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#292929;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
body .app-header .header-user-menu a:hover,
body .app-header .header-user-menu a:focus-visible,
body .app-header .header-user-menu button:hover,
body .app-header .header-user-menu button:focus-visible{
  outline:0;
  background:#f0f2fa;
  color:#2e3191;
}
body .app-header .header-user-menu button{color:#c43d4b;}

@media(max-width:1024px){
  body .app-header.app-header .wrap{
    width:calc(100% - 48px);
    max-width:none;
    margin-left:24px;
    flex-wrap:wrap;
    gap:12px;
  }
  body .app-header.app-header .brand-logo{width:180px;}
  body .app-header .header-right{margin-left:auto;gap:12px;}
}

@media(max-width:600px){
  body .app-header{min-height:72px;}
  body .app-header.app-header .wrap{
    width:calc(100% - 32px);
    min-height:72px;
    margin-left:16px;
    padding:16px 0;
    gap:12px 8px;
  }
  body .app-header.app-header .brand-logo{width:150px;}
  body .app-header .header-right{
    width:100%;
    margin-left:0;
    justify-content:space-between;
    gap:12px 8px;
  }
  body .app-header.app-header .header-actions{gap:6px;}
  body .app-header.app-header .btn{
    height:40px;
    min-height:40px;
    padding:0 10px;
    font-size:12px;
    line-height:1;
  }
  body .app-header .header-user{
    padding-left:0;
    border-left:0;
    flex-wrap:wrap;
    gap:6px;
    font-size:14px;
  }
  body .app-header .header-account{margin-left:auto;}
  body .app-header .header-user-menu{top:calc(100% + 8px);}
  body .app-header .header-user .role-chip{max-width:120px;font-size:11px;}
  body .app-header .header-user .header-name{max-width:140px;}
}

@media(max-width:380px){
  body .app-header.app-header .wrap{width:calc(100% - 24px);margin-left:12px;}
  body .app-header.app-header .brand-logo{width:130px;}
}
